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,45 +1,48 @@ PORTNAME= mattermost -PORTVERSION= 8.1.12 +PORTVERSION= 9.5.3 CATEGORIES= www MASTER_SITES= LOCAL/decke PKGNAMESUFFIX= -server # implicit-approval+ for decke MAINTAINER= bofh@FreeBSD.org COMMENT= Open source Slack-alternative in Golang and React WWW= https://mattermost.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE.txt 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 MATTERMOSTD_USER= mattermost MATTERMOSTD_GROUP= mattermost USERS= ${MATTERMOSTD_USER} GROUPS= ${MATTERMOSTD_GROUP} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/mattermost ${STAGEDIR}${PREFIX}/bin/mattermostd ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost ${SETENV} OUTPUT_CONFIG=${WRKSRC}/config/default.json ${WRKDIR}/bin/config_generator ${INSTALL_DATA} ${WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample ${RM} ${STAGEDIR}${PREFIX}/bin/config_generator ${MKDIR} ${STAGEDIR}${WWWDIR}/templates cd ${GO_WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n' ${STAGEDIR}${WWWDIR} cd ${GO_WRKSRC}/templates && ${CP} *.html *.js ${STAGEDIR}${WWWDIR}/templates .include 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 @@ -1,55 +1,98 @@ 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 %%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_renewal_notification.html %%WWWDIR%%/templates/cloud_upgrade_confirmation.html %%WWWDIR%%/templates/cloud_welcome_email.html %%WWWDIR%%/templates/deactivate_body.html %%WWWDIR%%/templates/email_change_body.html %%WWWDIR%%/templates/email_change_verify_body.html %%WWWDIR%%/templates/email_footer.html %%WWWDIR%%/templates/email_info.html %%WWWDIR%%/templates/globalrelay_compliance_export.html %%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 %%WWWDIR%%/templates/password_change_body.html %%WWWDIR%%/templates/payment_failed_body.html %%WWWDIR%%/templates/payment_failed_no_card_body.html %%WWWDIR%%/templates/remove_expired_license.html %%WWWDIR%%/templates/reset_body.html %%WWWDIR%%/templates/signin_change_body.html %%WWWDIR%%/templates/unsupported_browser.html %%WWWDIR%%/templates/unsupported_browser.js %%WWWDIR%%/templates/verify_body.html %%WWWDIR%%/templates/warn_metric_ack.html %%WWWDIR%%/templates/welcome_body.html