2020-08-31 18:38:01 +02:00
|
|
|
PORTNAME= gitleaks
|
|
|
|
DISTVERSIONPREFIX= v
|
2023-03-16 03:24:23 +01:00
|
|
|
DISTVERSION= 8.16.1
|
2023-04-07 15:14:58 +02:00
|
|
|
PORTREVISION= 2
|
2020-08-31 18:38:01 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Tool for detecting hardcoded secrets in git repositories
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/zricethezav/gitleaks
|
2020-08-31 18:38:01 +02:00
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USES= go:modules
|
2023-03-18 02:31:21 +01:00
|
|
|
USE_GITHUB= nodefault
|
|
|
|
GH_TUPLE= golang:sys:v0.6.0:sys
|
2021-09-15 10:01:52 +02:00
|
|
|
|
2022-06-19 06:37:11 +02:00
|
|
|
GO_MODULE= github.com/zricethezav/gitleaks/v8
|
2021-09-15 10:01:52 +02:00
|
|
|
GO_TARGET= .
|
2020-08-31 18:38:01 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2023-03-18 02:31:21 +01:00
|
|
|
pre-patch:
|
|
|
|
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
|
|
|
|
${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
|
|
|
|
|
2020-08-31 18:38:01 +02:00
|
|
|
.include <bsd.port.mk>
|