Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2024 15:21:45 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 385101b201d2 - 2024Q2 - www/mattermost-server: Update to 8.1.12
Message-ID:  <202406241521.45OFLjb2051454@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=385101b201d2d65d7284f521b7a6533f856e17e1

commit 385101b201d2d65d7284f521b7a6533f856e17e1
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2024-04-23 18:14:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-06-24 15:21:04 +0000

    www/mattermost-server: Update to 8.1.12
    
    The old hack to overwrite go.mod and replace some unsupported keywords
    did not work anymore so we roll our own distfile now including
    vendorized dependencies.
    
    PR:             278462
    Approved by:    maintainer (implicit)
    
    (cherry picked from commit 6b177df5fcb8048b66d24a1cab847338e6aa34ac)
---
 www/mattermost-server/Makefile | 15 +++------------
 www/mattermost-server/distinfo |  8 +++-----
 2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile
index 9358167b184f..27cbc5203ed2 100644
--- a/www/mattermost-server/Makefile
+++ b/www/mattermost-server/Makefile
@@ -1,11 +1,8 @@
 PORTNAME=	mattermost
-DISTVERSION=	8.1.11
-DISTVERSIONPREFIX=	v
-PORTREVISION=	5
+PORTVERSION=	8.1.12
 CATEGORIES=	www
-MASTER_SITES=	LOCAL/decke/${PORTNAME}-${DISTVERSIONFULL}/:gomod
+MASTER_SITES=	LOCAL/decke
 PKGNAMESUFFIX=	-server
-DISTFILES=	go.mod:gomod
 
 # implicit-approval+ for decke
 MAINTAINER=	bofh@FreeBSD.org
@@ -20,12 +17,9 @@ ONLY_FOR_ARCHS=	aarch64 amd64 armv6 armv7 i386
 RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \
 		mattermost-webapp>=${PORTVERSION}:www/mattermost-webapp
 
-USES=		go:modules
-USE_GITHUB=	yes
-GH_ACCOUNT=	mattermost
+USES=		go:modules tar:xz
 USE_RC_SUBR=	mattermostd
 
-GO_MODULE=	github.com/mattermost/mattermost/server/v8
 GO_TARGET=	./cmd/mattermost ./scripts/config_generator
 GO_BUILDFLAGS=	-ldflags="-X github.com/mattermost/mattermost/server/public/model.BuildNumber=${PORTVERSION}"
 
@@ -38,9 +32,6 @@ MATTERMOSTD_GROUP=	mattermost
 USERS=		${MATTERMOSTD_USER}
 GROUPS=		${MATTERMOSTD_GROUP}
 
-post-extract:
-	@${RM} ${WRKSRC}/vendor/modules.txt
-
 post-install:
 	${MV} ${STAGEDIR}${PREFIX}/bin/mattermost ${STAGEDIR}${PREFIX}/bin/mattermostd
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost
diff --git a/www/mattermost-server/distinfo b/www/mattermost-server/distinfo
index 904a531af8c8..4a4c7068ec05 100644
--- a/www/mattermost-server/distinfo
+++ b/www/mattermost-server/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1711285484
-SHA256 (go/www_mattermost-server/mattermost-mattermost-v8.1.11_GH0/go.mod) = f374df2f7ee6321214990b4de5d14fbd93c02a52e951de7fac0c2eb0b18fb247
-SIZE (go/www_mattermost-server/mattermost-mattermost-v8.1.11_GH0/go.mod) = 12109
-SHA256 (go/www_mattermost-server/mattermost-mattermost-v8.1.11_GH0/mattermost-mattermost-v8.1.11_GH0.tar.gz) = 17f329839085c11afd857bac763dc006523791f19753b1bd4db829dd7b36e56d
-SIZE (go/www_mattermost-server/mattermost-mattermost-v8.1.11_GH0/mattermost-mattermost-v8.1.11_GH0.tar.gz) = 148727055
+TIMESTAMP = 1713884988
+SHA256 (mattermost-8.1.12.tar.xz) = f4f89d118657a2fd3b3b6c389f9806f69934a6c42b3fafd55f454d42e93dea7b
+SIZE (mattermost-8.1.12.tar.xz) = 137143560



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