git: 71f3946479fc - main - www/mattermost-server: Update version 6.4.2=>7.8.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 12:05:38 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71f3946479fcac2dca1249bc03cab8fb1bde11cd

commit 71f3946479fcac2dca1249bc03cab8fb1bde11cd
Author:     Raúl <raul.munoz@custos.es>
AuthorDate: 2023-02-23 12:02:31 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-02-23 12:05:25 +0000

    www/mattermost-server: Update version 6.4.2=>7.8.0
    
    Changelog:
    https://github.com/mattermost/mattermost-server/releases/tag/v7.8.0
    
    PR:             264232
    Reported by:    yaruta.arkadiy@gmail.com
    Approved by:    swills (maintainer-timeout)
    Sponsored by:   Bounce Experts
---
 www/mattermost-server/Makefile  | 14 +++++++-------
 www/mattermost-server/distinfo  |  8 +++++---
 www/mattermost-server/pkg-plist | 16 ++++++++--------
 3 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile
index 52ec70e80cda..9f5fc322409e 100644
--- a/www/mattermost-server/Makefile
+++ b/www/mattermost-server/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	mattermost-server
-PORTVERSION=	6.4.2
+PORTVERSION=	7.8.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	10
 CATEGORIES=	www
+MASTER_SITES=	https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
+DISTFILES=	go.mod:gomod
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Open source Slack-alternative in Golang and React
@@ -17,15 +18,14 @@ 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
+USE_RC_SUBR=	mattermostd
 
+GO_MODULE=	github.com/mattermost/mattermost-server
 GO_TARGET=	./cmd/mattermost ./scripts/config_generator
 GO_BUILDFLAGS=	-ldflags="-X github.com/mattermost/mattermost-server/v6/model.BuildNumber=${PORTVERSION}"
 
-USE_RC_SUBR=	mattermostd
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	mattermost
-
 WWWDIR=		${PREFIX}/www/mattermost
 
 MATTERMOSTD_USER=	mattermost
diff --git a/www/mattermost-server/distinfo b/www/mattermost-server/distinfo
index fbee87c359ab..fe330703077f 100644
--- a/www/mattermost-server/distinfo
+++ b/www/mattermost-server/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1647124911
-SHA256 (mattermost-mattermost-server-v6.4.2_GH0.tar.gz) = 482d44a1656350fee8fa9f57c6392d92559260f13402e3d3f489f8e8670f76fc
-SIZE (mattermost-mattermost-server-v6.4.2_GH0.tar.gz) = 20862493
+TIMESTAMP = 1676710927
+SHA256 (go/www_mattermost-server/mattermost-mattermost-server-v7.8.0_GH0/go.mod) = 4679794023d08c1c93edb690caf4247b577a222f45d1e6b502297f1fc060e62d
+SIZE (go/www_mattermost-server/mattermost-mattermost-server-v7.8.0_GH0/go.mod) = 9628
+SHA256 (go/www_mattermost-server/mattermost-mattermost-server-v7.8.0_GH0/mattermost-mattermost-server-v7.8.0_GH0.tar.gz) = de6e8713129868c50a071106b7eaa9b65e9dba7599ec128660f39aee1af00ece
+SIZE (go/www_mattermost-server/mattermost-mattermost-server-v7.8.0_GH0/mattermost-mattermost-server-v7.8.0_GH0.tar.gz) = 13549233
diff --git a/www/mattermost-server/pkg-plist b/www/mattermost-server/pkg-plist
index 31e4bf28b3b4..766b10e6d5a6 100644
--- a/www/mattermost-server/pkg-plist
+++ b/www/mattermost-server/pkg-plist
@@ -7,6 +7,7 @@ etc/mattermost/config.json.sample
 %%WWWDIR%%/i18n/en.json
 %%WWWDIR%%/i18n/en_AU.json
 %%WWWDIR%%/i18n/es.json
+%%WWWDIR%%/i18n/fa.json
 %%WWWDIR%%/i18n/fr.json
 %%WWWDIR%%/i18n/hu.json
 %%WWWDIR%%/i18n/it.json
@@ -22,8 +23,12 @@ etc/mattermost/config.json.sample
 %%WWWDIR%%/i18n/uk.json
 %%WWWDIR%%/i18n/zh-CN.json
 %%WWWDIR%%/i18n/zh-TW.json
-%%WWWDIR%%/templates/cloud_trial_end_warning.html
-%%WWWDIR%%/templates/cloud_upgrade_request_email.html
+%%WWWDIR%%/templates/cloud_14_day_arrears.html
+%%WWWDIR%%/templates/cloud_30_day_arrears.html
+%%WWWDIR%%/templates/cloud_45_day_arrears.html
+%%WWWDIR%%/templates/cloud_7_day_arrears.html
+%%WWWDIR%%/templates/cloud_90_day_arrears.html
+%%WWWDIR%%/templates/cloud_upgrade_confirmation.html
 %%WWWDIR%%/templates/cloud_welcome_email.html
 %%WWWDIR%%/templates/deactivate_body.html
 %%WWWDIR%%/templates/email_change_body.html
@@ -33,19 +38,14 @@ etc/mattermost/config.json.sample
 %%WWWDIR%%/templates/globalrelay_compliance_export.html
 %%WWWDIR%%/templates/globalrelay_compliance_export_message.html
 %%WWWDIR%%/templates/globalrelay_compliance_export_participant_row.html
+%%WWWDIR%%/templates/inactivity_body.html
 %%WWWDIR%%/templates/invite_body.html
 %%WWWDIR%%/templates/license_up_for_renewal.html
 %%WWWDIR%%/templates/messages_notification.html
 %%WWWDIR%%/templates/mfa_change_body.html
-%%WWWDIR%%/templates/over_user_limit_30_days_body.html
-%%WWWDIR%%/templates/over_user_limit_7_days_body.html
-%%WWWDIR%%/templates/over_user_limit_90_days_body.html
-%%WWWDIR%%/templates/over_user_limit_support_body.html
-%%WWWDIR%%/templates/over_user_limit_workspace_suspended_body.html
 %%WWWDIR%%/templates/password_change_body.html
 %%WWWDIR%%/templates/payment_failed_body.html
 %%WWWDIR%%/templates/payment_failed_no_card_body.html
-%%WWWDIR%%/templates/reached_user_limit_body.html
 %%WWWDIR%%/templates/remove_expired_license.html
 %%WWWDIR%%/templates/reset_body.html
 %%WWWDIR%%/templates/signin_change_body.html