git: 3faa6aacbedd - main - www/mattermost-server: Update to 9.5.3

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Thu, 25 Apr 2024 11:26:31 UTC
The branch main has been updated by decke:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3faa6aacbedd7f95e13a5f2b5f272bda4c6d329b

commit 3faa6aacbedd7f95e13a5f2b5f272bda4c6d329b
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2024-04-25 11:25:09 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2024-04-25 11:25:09 +0000

    www/mattermost-server: Update to 9.5.3
    
    Approved by:    maintainer (implicit)
---
 www/mattermost-server/Makefile  |  9 ++++++---
 www/mattermost-server/distinfo  |  6 +++---
 www/mattermost-server/pkg-plist | 43 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+), 6 deletions(-)

diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile
index 27cbc5203ed2..b4d1c62165cc 100644
--- a/www/mattermost-server/Makefile
+++ b/www/mattermost-server/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mattermost
-PORTVERSION=	8.1.12
+PORTVERSION=	9.5.3
 CATEGORIES=	www
 MASTER_SITES=	LOCAL/decke
 PKGNAMESUFFIX=	-server
@@ -17,11 +17,14 @@ 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 tar:xz
+USES=		go:1.22,modules tar:xz
 USE_RC_SUBR=	mattermostd
 
 GO_TARGET=	./cmd/mattermost ./scripts/config_generator
-GO_BUILDFLAGS=	-ldflags="-X github.com/mattermost/mattermost/server/public/model.BuildNumber=${PORTVERSION}"
+GO_BUILDFLAGS=	-ldflags=" \
+		-X github.com/mattermost/mattermost/server/public/model.BuildNumber=${PORTVERSION} \
+		-X github.com/mattermost/mattermost/server/public/model.BuildHashEnterprise=none \
+		-X github.com/mattermost/mattermost/server/public/model.BuildEnterpriseReady=false"
 
 WRKSRC_SUBDIR=	server
 WWWDIR=		${PREFIX}/www/mattermost
diff --git a/www/mattermost-server/distinfo b/www/mattermost-server/distinfo
index 4a4c7068ec05..64170397f096 100644
--- a/www/mattermost-server/distinfo
+++ b/www/mattermost-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713884988
-SHA256 (mattermost-8.1.12.tar.xz) = f4f89d118657a2fd3b3b6c389f9806f69934a6c42b3fafd55f454d42e93dea7b
-SIZE (mattermost-8.1.12.tar.xz) = 137143560
+TIMESTAMP = 1713956394
+SHA256 (mattermost-9.5.3.tar.xz) = b9a1e1a86d3b91c32914c1489bc90a3c7d7bd3e70eddc06e1af59a8a3b39a164
+SIZE (mattermost-9.5.3.tar.xz) = 102302152
diff --git a/www/mattermost-server/pkg-plist b/www/mattermost-server/pkg-plist
index 5fe1d1d7bdf5..f083b7ba3098 100644
--- a/www/mattermost-server/pkg-plist
+++ b/www/mattermost-server/pkg-plist
@@ -2,25 +2,66 @@ bin/mattermostd
 %%ETCDIR%%/config.json.sample
 %%WWWDIR%%/fonts/OFL.txt
 %%WWWDIR%%/fonts/nunito-bold.ttf
+%%WWWDIR%%/i18n/am.json
+%%WWWDIR%%/i18n/be.json
 %%WWWDIR%%/i18n/bg.json
+%%WWWDIR%%/i18n/bn.json
+%%WWWDIR%%/i18n/br.json
+%%WWWDIR%%/i18n/ca.json
+%%WWWDIR%%/i18n/cs.json
+%%WWWDIR%%/i18n/da.json
 %%WWWDIR%%/i18n/de.json
+%%WWWDIR%%/i18n/el.json
 %%WWWDIR%%/i18n/en.json
 %%WWWDIR%%/i18n/en_AU.json
 %%WWWDIR%%/i18n/es.json
+%%WWWDIR%%/i18n/et.json
+%%WWWDIR%%/i18n/eu.json
 %%WWWDIR%%/i18n/fa.json
+%%WWWDIR%%/i18n/fi.json
+%%WWWDIR%%/i18n/fil.json
 %%WWWDIR%%/i18n/fr.json
+%%WWWDIR%%/i18n/fy.json
+%%WWWDIR%%/i18n/gl.json
+%%WWWDIR%%/i18n/gu.json
+%%WWWDIR%%/i18n/he.json
+%%WWWDIR%%/i18n/hi.json
+%%WWWDIR%%/i18n/hr.json
 %%WWWDIR%%/i18n/hu.json
+%%WWWDIR%%/i18n/id.json
+%%WWWDIR%%/i18n/is.json
 %%WWWDIR%%/i18n/it.json
 %%WWWDIR%%/i18n/ja.json
+%%WWWDIR%%/i18n/ka.json
+%%WWWDIR%%/i18n/kk.json
+%%WWWDIR%%/i18n/kk_Latn.json
+%%WWWDIR%%/i18n/km.json
 %%WWWDIR%%/i18n/ko.json
+%%WWWDIR%%/i18n/la.json
+%%WWWDIR%%/i18n/lo.json
+%%WWWDIR%%/i18n/lt.json
+%%WWWDIR%%/i18n/lv.json
+%%WWWDIR%%/i18n/mk.json
+%%WWWDIR%%/i18n/ml.json
+%%WWWDIR%%/i18n/mn.json
+%%WWWDIR%%/i18n/nb_NO.json
+%%WWWDIR%%/i18n/ne.json
 %%WWWDIR%%/i18n/nl.json
 %%WWWDIR%%/i18n/pl.json
+%%WWWDIR%%/i18n/pr.json
 %%WWWDIR%%/i18n/pt-BR.json
+%%WWWDIR%%/i18n/pt.json
 %%WWWDIR%%/i18n/ro.json
 %%WWWDIR%%/i18n/ru.json
+%%WWWDIR%%/i18n/si.json
+%%WWWDIR%%/i18n/sl.json
+%%WWWDIR%%/i18n/sq.json
+%%WWWDIR%%/i18n/sr.json
 %%WWWDIR%%/i18n/sv.json
+%%WWWDIR%%/i18n/th.json
 %%WWWDIR%%/i18n/tr.json
 %%WWWDIR%%/i18n/uk.json
+%%WWWDIR%%/i18n/vi.json
 %%WWWDIR%%/i18n/zh-CN.json
 %%WWWDIR%%/i18n/zh-TW.json
 %%WWWDIR%%/templates/cloud_14_day_arrears.html
@@ -28,6 +69,7 @@ bin/mattermostd
 %%WWWDIR%%/templates/cloud_45_day_arrears.html
 %%WWWDIR%%/templates/cloud_7_day_arrears.html
 %%WWWDIR%%/templates/cloud_90_day_arrears.html
+%%WWWDIR%%/templates/cloud_renewal_notification.html
 %%WWWDIR%%/templates/cloud_upgrade_confirmation.html
 %%WWWDIR%%/templates/cloud_welcome_email.html
 %%WWWDIR%%/templates/deactivate_body.html
@@ -39,6 +81,7 @@ bin/mattermostd
 %%WWWDIR%%/templates/globalrelay_compliance_export_message.html
 %%WWWDIR%%/templates/globalrelay_compliance_export_participant_row.html
 %%WWWDIR%%/templates/invite_body.html
+%%WWWDIR%%/templates/ip_filters_changed.html
 %%WWWDIR%%/templates/license_up_for_renewal.html
 %%WWWDIR%%/templates/messages_notification.html
 %%WWWDIR%%/templates/mfa_change_body.html