diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile index 73ad5f064089..c321799e02c1 100644 --- a/www/mattermost-server/Makefile +++ b/www/mattermost-server/Makefile @@ -1,49 +1,48 @@ PORTNAME= mattermost -PORTVERSION= 10.11.14 -PORTREVISION= 2 +PORTVERSION= 10.11.19 CATEGORIES= www MASTER_SITES= LOCAL/decke PKGNAMESUFFIX= -server MAINTAINER= decke@FreeBSD.org COMMENT= Open source Slack-alternative in Golang and React WWW= https://mattermost.org/ -LICENSE= MIT +LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE.txt ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ mattermost-webapp>=${PORTVERSION}:www/mattermost-webapp USES= go:modules tar:xz USE_RC_SUBR= mattermostd GO_TARGET= ./cmd/mattermost ./cmd/mmctl ./scripts/config_generator 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 71b7de4a2436..392b28bb48b3 100644 --- a/www/mattermost-server/distinfo +++ b/www/mattermost-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1776676766 -SHA256 (mattermost-10.11.14.tar.xz) = 06314811d4b89982b9d0da8fde7e977963ec39cf4670a21c3e2285d5ed65cdb3 -SIZE (mattermost-10.11.14.tar.xz) = 136541080 +TIMESTAMP = 1780561156 +SHA256 (mattermost-10.11.19.tar.xz) = 76445df7981db4cc17e3fb7f62c57099a06dbc41daf4bc58b19719efce323837 +SIZE (mattermost-10.11.19.tar.xz) = 139068140