diff --git a/security/trivy/Makefile b/security/trivy/Makefile index b66a4dcf5211..9608da52105a 100644 --- a/security/trivy/Makefile +++ b/security/trivy/Makefile @@ -1,34 +1,35 @@ PORTNAME= trivy DISTVERSIONPREFIX= v -DISTVERSION= 0.59.1 -PORTREVISION= 2 +DISTVERSION= 0.60.0 CATEGORIES= security MAINTAINER= mfechner@FreeBSD.org COMMENT= Security scanner written in go WWW= https://github.com/aquasecurity/trivy LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +# trivy uses go 1.24 which is not available yet in FreeBSD +#USES= go:modules,1.24 USES= go:modules,1.23 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 7b18ef566313..0c278c426bb7 100644 --- a/security/trivy/distinfo +++ b/security/trivy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1738742503 -SHA256 (go/security_trivy/trivy-v0.59.1/v0.59.1.mod) = 6c3019de3fbf1c28a65861db692ce0882b83bd774617818d61781e40bee040d5 -SIZE (go/security_trivy/trivy-v0.59.1/v0.59.1.mod) = 22785 -SHA256 (go/security_trivy/trivy-v0.59.1/v0.59.1.zip) = 7676375d3625b7b62253053c2961cbc73f3cb4c36f8b8f25ff13382b91aa53de -SIZE (go/security_trivy/trivy-v0.59.1/v0.59.1.zip) = 58662400 +TIMESTAMP = 1741238334 +SHA256 (go/security_trivy/trivy-v0.60.0/v0.60.0.mod) = 87d2d1a9c42f5d0bb3a457ed0aa6c17cb549b98abf28902cfc5d14aaa9f1befe +SIZE (go/security_trivy/trivy-v0.60.0/v0.60.0.mod) = 23069 +SHA256 (go/security_trivy/trivy-v0.60.0/v0.60.0.zip) = c6c1c4329d3c836c81712bb4b8e4e6795c8e157da1033adad49d22cd5925fcd1 +SIZE (go/security_trivy/trivy-v0.60.0/v0.60.0.zip) = 58694803