head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.2
	pkgsrc-2026Q1-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2026.03.10.16.29.34;	author pin;	state Exp;
branches;
next	;
commitid	uy6EI1BK5tzaPrxG;


desc
@@


1.1
log
@security/cargo-auditable: import package

Know the exact crate versions used to build your Rust executable. Audit binaries
for known bugs or security vulnerabilities in production, at scale, with zero
bookkeeping.

This works by embedding data about the dependency tree in JSON format into a
dedicated linker section of the compiled executable.
@
text
@# $NetBSD$

DISTNAME=	cargo-auditable-0.7.4
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GITHUB:=rust-secure-code/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/rust-secure-code/cargo-auditable/
COMMENT=	Make production Rust binaries auditable
LICENSE=	apache-2.0 OR mit

.include "cargo-depends.mk"

#RUST_REQ=		1.91.1
#Upstream does not state the required MSRV.
#This package is confirmed to build with Rust 1.91.0 and Rust 1.94.0 on amd64
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/cargo-auditable \
		${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/cargo-auditable/cargo-auditable.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/cargo-auditable.1

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@
