Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2024 06:32:43 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8d03cff7a669 - main - devel/gitlab-shell: manually create the distinfo as `make makesum` fails
Message-ID:  <202404220632.43M6WhqU093904@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8d03cff7a66959dde5e749483ddb4a4e1c38ab7d

commit 8d03cff7a66959dde5e749483ddb4a4e1c38ab7d
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-04-22 06:31:59 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-04-22 06:32:28 +0000

    devel/gitlab-shell: manually create the distinfo as `make makesum` fails
---
 devel/gitlab-shell/Makefile | 6 ++++++
 devel/gitlab-shell/distinfo | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/devel/gitlab-shell/Makefile b/devel/gitlab-shell/Makefile
index eba451dc0fc3..461e78ca25c1 100644
--- a/devel/gitlab-shell/Makefile
+++ b/devel/gitlab-shell/Makefile
@@ -43,6 +43,12 @@ go-post-fetch:
 		[ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \
 		${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all)
 # ---------------------------
+# WARNING, maybe bug in core ports framework (work fine in the past for very long time
+# For an unkown reason, the downloaded go.mod is modified and therefor the distinfo is generated wrongly
+# Execute this, to fix it:
+# curl -v https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v14.35.0/go.mod 2>&1 | grep content-length
+# curl -v https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v14.35.0/go.mod | sha256
+# Correct this in distinfo
 
 VARLOGDIR=	/var/log/gitlab-shell
 
diff --git a/devel/gitlab-shell/distinfo b/devel/gitlab-shell/distinfo
index 37305ca621cc..97ea4607034d 100644
--- a/devel/gitlab-shell/distinfo
+++ b/devel/gitlab-shell/distinfo
@@ -1,5 +1,5 @@
 TIMESTAMP = 1713637949
-SHA256 (go/devel_gitlab-shell/gitlab-shell-v14.35.0/go.mod) = cd69a1200be427a08520bfbe7287c215bdd5791278367c741c6720d8f56995aa
-SIZE (go/devel_gitlab-shell/gitlab-shell-v14.35.0/go.mod) = 5395
+SHA256 (go/devel_gitlab-shell/gitlab-shell-v14.35.0/go.mod) = 05d82b61970ed59f55594e4457c0560f9de928ea0439bf6e40c0b7cf81ee9c14
+SIZE (go/devel_gitlab-shell/gitlab-shell-v14.35.0/go.mod) = 5375
 SHA256 (go/devel_gitlab-shell/gitlab-shell-v14.35.0/gitlab-shell-v14.35.0.tar.bz2) = 962b98f04de977e3699820bbe06f51e68c0effa9f65953da9be248321ff4b046
 SIZE (go/devel_gitlab-shell/gitlab-shell-v14.35.0/gitlab-shell-v14.35.0.tar.bz2) = 149964



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404220632.43M6WhqU093904>