Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2024 17:02:52 GMT
From:      Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 39c95ceb6cd2 - main - www/pydio-cells: unbreak
Message-ID:  <202401071702.407H2qC8045716@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=39c95ceb6cd2e39808d5b58c67ed9b10a0b05689

commit 39c95ceb6cd2e39808d5b58c67ed9b10a0b05689
Author:     Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
AuthorDate: 2024-01-07 17:01:10 +0000
Commit:     Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
CommitDate: 2024-01-07 17:02:40 +0000

    www/pydio-cells: unbreak
    
    Properly patch go.mod
---
 www/pydio-cells/Makefile | 9 +++++----
 www/pydio-cells/distinfo | 4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/www/pydio-cells/Makefile b/www/pydio-cells/Makefile
index c3e6dad716c8..53c11ef43e1a 100644
--- a/www/pydio-cells/Makefile
+++ b/www/pydio-cells/Makefile
@@ -33,11 +33,12 @@ BASH_PLIST_FILES=	etc/bash_completion.d/${PORTNAME}
 ZSH_PLIST_FILES=	share/zsh/site-functions/_${PORTNAME}
 
 post-fetch:
-	# `sourcegraph/appdash-data` doesn't fetch from the proxy, so replace it with the direct GitHub link
-	# remove when no longer required for a successful `fetch`
+	# `sourcegraph/appdash-data` doesn't fetch from the proxy, so replace it with the direct GitHub link.
+	# Remove when no longer required for a successful `fetch`
 	#
-	${ECHO} "replace sourcegraph.com/sourcegraph/appdash-data => github.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67" \
-	>> ${DISTDIR}/${DIST_SUBDIR}/${GO_MODFILE}
+	(cd ${DISTDIR}/${DIST_SUBDIR}; \
+		[ -e go.mod ] || (${CP} ${GO_MODFILE} go.mod; \
+			${GO_CMD} mod edit -replace "sourcegraph.com/sourcegraph/appdash-data=github.com/sourcegraph/appdash-data@v0.0.0-20151005221446-73f23eafcf67"))
 
 post-build-BASH-on:
 	${SETENV} CELLS_WORKING_DIR=${WRKDIR}/wrkdir \
diff --git a/www/pydio-cells/distinfo b/www/pydio-cells/distinfo
index aa3d157d7c84..23d7909957a7 100644
--- a/www/pydio-cells/distinfo
+++ b/www/pydio-cells/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1704036950
-SHA256 (go/www_pydio-cells/cells-v4.3.2/v4.3.2.mod) = 8f0f3efa1d944b15d24ff25849f82e112f71e8cf31699db24cac931f5ecd347a
+TIMESTAMP = 1704328896
+SHA256 (go/www_pydio-cells/cells-v4.3.2/v4.3.2.mod) = 54805af624883c608b90df56eb911a3a0ad603e7a7c11375429e57f5d1b169d1
 SIZE (go/www_pydio-cells/cells-v4.3.2/v4.3.2.mod) = 26127
 SHA256 (go/www_pydio-cells/cells-v4.3.2/v4.3.2.zip) = a01e3fcd104677b1dccb2bbbb5768dae5490a93d6087fe7c942b2ab7e20477ca
 SIZE (go/www_pydio-cells/cells-v4.3.2/v4.3.2.zip) = 58112824



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