git: 4bff6a5c6459 - main - security/git-credential-gopass: Unbreak by fetching fixed go.mod separately

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 07:55:57 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4bff6a5c645978b20d6326e71953cfa34c0f7942

commit 4bff6a5c645978b20d6326e71953cfa34c0f7942
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-03-23 07:55:46 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-03-23 07:55:55 +0000

    security/git-credential-gopass: Unbreak by fetching fixed go.mod separately
---
 security/git-credential-gopass/Makefile | 9 ++++-----
 security/git-credential-gopass/distinfo | 8 +++-----
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/security/git-credential-gopass/Makefile b/security/git-credential-gopass/Makefile
index b063096cd53f..8d89e890dd8a 100644
--- a/security/git-credential-gopass/Makefile
+++ b/security/git-credential-gopass/Makefile
@@ -1,7 +1,10 @@
 PORTNAME=	git-credential-gopass
-PORTVERSION=	1.15.12
 DISTVERSIONPREFIX=	v
+DISTVERSION=	1.15.12
+PORTREVISION=	1
 CATEGORIES=	security
+MASTER_SITES=	https://raw.githubusercontent.com/${GH_ACCOUNT}/${PORTNAME}/88d11d2b1b49f00b7fba9a917cf90f7ea14c9d1b/:gomod
+DISTFILES=	go.mod:gomod
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Manage git credentials using gopass
@@ -10,10 +13,6 @@ WWW=		https://github.com/gopasspw/git-credential-gopass
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-# port fails to fetch even though makesum works without any checksum
-# changes, this is currently under investigation
-BROKEN=		does not fetch
-
 USES=		go:1.22,modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	gopasspw
diff --git a/security/git-credential-gopass/distinfo b/security/git-credential-gopass/distinfo
index 6e265e3d7520..3dc2ee1221f9 100644
--- a/security/git-credential-gopass/distinfo
+++ b/security/git-credential-gopass/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1710973760
-SHA256 (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/v1.15.12.mod) = 674e443069d9a7e0d28187deb1cb483f819a9dde7bfa3b1b4be9109f39d7b6d4
-SIZE (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/v1.15.12.mod) = 4208
-SHA256 (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/v1.15.12.zip) = 1ce4ff2c2ba6dd8d4e9d5d82e54d5d906e76263da3e0f178bf3502e71ab9ef31
-SIZE (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/v1.15.12.zip) = 30626
+TIMESTAMP = 1711179095
+SHA256 (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/go.mod) = 5a1cc86fefed618ebfccb6578b2d2634026671aff8e8305bede991de509e2c80
+SIZE (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/go.mod) = 1835
 SHA256 (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/gopasspw-git-credential-gopass-v1.15.12_GH0.tar.gz) = 896cb56ea64abe4808bf46ad19fbc32d809d292253c116dce6f4c3433f4d6a6e
 SIZE (go/security_git-credential-gopass/gopasspw-git-credential-gopass-v1.15.12_GH0/gopasspw-git-credential-gopass-v1.15.12_GH0.tar.gz) = 24647