blob: 1de8843c89b063a6a9317c81e4ae821e2986f4bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
PORTNAME= cargo-audit
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.5
CATEGORIES= security
MAINTAINER= mikael@FreeBSD.org
COMMENT= Audit Cargo.lock for crates with security vulnerabilities
WWW= https://rustsec.org/
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
LIB_DEPENDS= libgit2.so:devel/libgit2 \
libssh2.so:security/libssh2
USES= cargo localbase ssl
USE_GITHUB= yes
GH_ACCOUNT= RustSec
GH_PROJECT= rustsec
GH_TAGNAME= ${PORTNAME}/v${DISTVERSION}
NO_TEST= yes
PLIST_FILES= bin/cargo-audit
WRKSRC_SUBDIR= cargo-audit
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cargo-audit
.include <bsd.port.mk>
|