git: 2d49ba53c0e1 - main - =?utf-8?Q?devel/gitleaks: update 8.24.0 =E2=86=92 8.28.0; add support for gitleaks =Q?devel/gitleaks: update 8.24.0 =E2=86=92 8.28.0; add support for gitleaks =

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 22 Jul 2025 07:40:16 UTC
version command?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: yuri
X-Git-Repository: ports
X-Git-Refname: refs/heads/main
X-Git-Reftype: branch
X-Git-Commit: 2d49ba53c0e1a08cf3cb8d441b1956ec6c3a3e48
Auto-Submitted: auto-generated

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d49ba53c0e1a08cf3cb8d441b1956ec6c3a3e48

commit 2d49ba53c0e1a08cf3cb8d441b1956ec6c3a3e48
Author:     Andre Rikkert de Koe - ARK-ICT <freebsd-ports@andre.rikkertdekoe.nl>
AuthorDate: 2025-07-22 07:39:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-22 07:39:33 +0000

    devel/gitleaks: update 8.24.0 → 8.28.0; add support for gitleaks version command
    
    PR:     288363
---
 devel/gitleaks/Makefile |  9 +++++----
 devel/gitleaks/distinfo | 14 +++++++-------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/devel/gitleaks/Makefile b/devel/gitleaks/Makefile
index 51907eeb2332..eecfaa47518c 100644
--- a/devel/gitleaks/Makefile
+++ b/devel/gitleaks/Makefile
@@ -1,22 +1,23 @@
 PORTNAME=	gitleaks
 DISTVERSIONPREFIX=	v
-DISTVERSION=	8.24.0
-PORTREVISION=	3
+DISTVERSION=	8.28.0
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Tool for detecting hardcoded secrets in git repositories
-WWW=		https://github.com/zricethezav/gitleaks
+WWW=		https://github.com/gitleaks/gitleaks
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:1.23,modules
+USES=		go:modules
 USE_GITHUB=	nodefault
 GH_TUPLE=	golang:sys:v0.6.0:sys
 
 GO_MODULE=	github.com/zricethezav/gitleaks/v8
 GO_TARGET=	.
+GO_BUILDFLAGS=	-ldflags="-X github.com/zricethezav/gitleaks/v8/cmd.Version=${DISTVERSION}"
+
 PLIST_FILES=	bin/${PORTNAME}
 
 pre-patch:
diff --git a/devel/gitleaks/distinfo b/devel/gitleaks/distinfo
index 2545ba78a46c..131918c1b4a7 100644
--- a/devel/gitleaks/distinfo
+++ b/devel/gitleaks/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1740047392
-SHA256 (go/devel_gitleaks/gitleaks-v8.24.0/v8.24.0.mod) = a12042964fad321bd9e072adac4cde00160034e7863178629e5f61e44053e004
-SIZE (go/devel_gitleaks/gitleaks-v8.24.0/v8.24.0.mod) = 2515
-SHA256 (go/devel_gitleaks/gitleaks-v8.24.0/v8.24.0.zip) = 1ad09db95c72c13f00decbe81eaf2eb776e0d0eba2ec73f5edc5485df4117c5b
-SIZE (go/devel_gitleaks/gitleaks-v8.24.0/v8.24.0.zip) = 395097
-SHA256 (go/devel_gitleaks/gitleaks-v8.24.0/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
-SIZE (go/devel_gitleaks/gitleaks-v8.24.0/golang-sys-v0.6.0_GH0.tar.gz) = 1434234
+TIMESTAMP = 1753101875
+SHA256 (go/devel_gitleaks/gitleaks-v8.28.0/v8.28.0.mod) = 45fd7e161fc7b00335210044d6964fa432b6305b564521ac54ae4d61640093e7
+SIZE (go/devel_gitleaks/gitleaks-v8.28.0/v8.28.0.mod) = 3636
+SHA256 (go/devel_gitleaks/gitleaks-v8.28.0/v8.28.0.zip) = 5c3fb83483666522e3ada55995f50c69b0a257d2b6cffa8754171be30b9bec90
+SIZE (go/devel_gitleaks/gitleaks-v8.28.0/v8.28.0.zip) = 493803
+SHA256 (go/devel_gitleaks/gitleaks-v8.28.0/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (go/devel_gitleaks/gitleaks-v8.28.0/golang-sys-v0.6.0_GH0.tar.gz) = 1434234