diff --git a/security/trivy/Makefile b/security/trivy/Makefile index 862dba088fd4..90177f1da7d7 100644 --- a/security/trivy/Makefile +++ b/security/trivy/Makefile @@ -1,35 +1,34 @@ PORTNAME= trivy -DISTVERSION= 0.49.1 -PORTREVISION= 1 +DISTVERSION= 0.50.0 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= mfechner@FreeBSD.org COMMENT= Security scanner written in go WWW= https://github.com/aquasecurity/trivy LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.21 GO_MODULE= github.com/aquasecurity/trivy GO_TARGET= ./cmd/trivy GO_BUILDFLAGS= -ldflags=" \ -extldflags '-static' \ -X github.com/aquasecurity/trivy/pkg/version.ver=${DISTVERSION} \ -s -w" PLIST_FILES= bin/${PORTNAME} post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/contrib/*.tpl ${STAGEDIR}${DATADIR}/ ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ ${SED} -E -e '/sample$$/ s#^#@sample #; \ s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} cat ${TMPPLIST} .include diff --git a/security/trivy/distinfo b/security/trivy/distinfo index 61d83462dc59..631c263b15b3 100644 --- a/security/trivy/distinfo +++ b/security/trivy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1709899091 -SHA256 (go/security_trivy/trivy-v0.49.1/v0.49.1.mod) = 49e23b72ebeef255b19969704ddf58c118888efad7058ae732cb5701b15b1145 -SIZE (go/security_trivy/trivy-v0.49.1/v0.49.1.mod) = 22827 -SHA256 (go/security_trivy/trivy-v0.49.1/v0.49.1.zip) = 71fd4e3d5abf9e7fdcff4b844cdfdd28cac91a78d36c22de1f581e4bafbe567f -SIZE (go/security_trivy/trivy-v0.49.1/v0.49.1.zip) = 40379854 +TIMESTAMP = 1710841676 +SHA256 (go/security_trivy/trivy-v0.50.0/v0.50.0.mod) = 32ce0514fc8f6e68c9ddde14e7c2b16b72d955869db88439a3ec1b4be63b306d +SIZE (go/security_trivy/trivy-v0.50.0/v0.50.0.mod) = 22504 +SHA256 (go/security_trivy/trivy-v0.50.0/v0.50.0.zip) = 854c4455b32337ff1b5e7c92b349b30b71bb0587a45f61f5dd2d58bdb296ef15 +SIZE (go/security_trivy/trivy-v0.50.0/v0.50.0.zip) = 54798155