aboutsummaryrefslogtreecommitdiff
path: root/devel/gitleaks
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gitleaks')
-rw-r--r--devel/gitleaks/Makefile10
-rw-r--r--devel/gitleaks/distinfo12
-rw-r--r--devel/gitleaks/pkg-descr2
3 files changed, 16 insertions, 8 deletions
diff --git a/devel/gitleaks/Makefile b/devel/gitleaks/Makefile
index 26e6c6d5189f..060454e9195a 100644
--- a/devel/gitleaks/Makefile
+++ b/devel/gitleaks/Makefile
@@ -1,18 +1,26 @@
PORTNAME= gitleaks
DISTVERSIONPREFIX= v
-DISTVERSION= 8.8.11
+DISTVERSION= 8.18.2
+PORTREVISION= 4
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Tool for detecting hardcoded secrets in git repositories
+WWW= https://github.com/zricethezav/gitleaks
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
+USE_GITHUB= nodefault
+GH_TUPLE= golang:sys:v0.6.0:sys
GO_MODULE= github.com/zricethezav/gitleaks/v8
GO_TARGET= .
PLIST_FILES= bin/${PORTNAME}
+pre-patch:
+ ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
+ ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
+
.include <bsd.port.mk>
diff --git a/devel/gitleaks/distinfo b/devel/gitleaks/distinfo
index 2e741ad5e2db..738a9d5f6df6 100644
--- a/devel/gitleaks/distinfo
+++ b/devel/gitleaks/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1656727876
-SHA256 (go/devel_gitleaks/gitleaks-v8.8.11/v8.8.11.mod) = 1b5404745bc6b401322116638ec8b2b9bf6f9fd835613abb9c0769ecda4596b1
-SIZE (go/devel_gitleaks/gitleaks-v8.8.11/v8.8.11.mod) = 1398
-SHA256 (go/devel_gitleaks/gitleaks-v8.8.11/v8.8.11.zip) = 33432d59d98446879affbf3ca7ac481b5686bcc0a732382e86e2368b2892495f
-SIZE (go/devel_gitleaks/gitleaks-v8.8.11/v8.8.11.zip) = 175505
+TIMESTAMP = 1706860350
+SHA256 (go/devel_gitleaks/gitleaks-v8.18.2/v8.18.2.mod) = c7eda8e68e18a63d92009f408c4f7bad6099f2f5771ffcd80b128787297482a4
+SIZE (go/devel_gitleaks/gitleaks-v8.18.2/v8.18.2.mod) = 1765
+SHA256 (go/devel_gitleaks/gitleaks-v8.18.2/v8.18.2.zip) = 3ddbcfd8af270b77b43a559bc634ce3ac776e50b52cb53eb01160238e3a60a2f
+SIZE (go/devel_gitleaks/gitleaks-v8.18.2/v8.18.2.zip) = 282492
+SHA256 (go/devel_gitleaks/gitleaks-v8.18.2/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (go/devel_gitleaks/gitleaks-v8.18.2/golang-sys-v0.6.0_GH0.tar.gz) = 1434234
diff --git a/devel/gitleaks/pkg-descr b/devel/gitleaks/pkg-descr
index b29471657700..0411fb1677f3 100644
--- a/devel/gitleaks/pkg-descr
+++ b/devel/gitleaks/pkg-descr
@@ -1,5 +1,3 @@
Gitleaks is a SAST tool for detecting hardcoded secrets like passwords,
api keys, and tokens in git repos. Gitleaks aims to be the easy-to-use,
all-in-one solution for finding secrets, past or present, in your code.
-
-WWW: https://github.com/zricethezav/gitleaks