diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile index aeca7f2eb624..055f0431a523 100644 --- a/www/mattermost-server/Makefile +++ b/www/mattermost-server/Makefile @@ -1,49 +1,48 @@ PORTNAME= mattermost -PORTVERSION= 9.11.8 -PORTREVISION= 1 +PORTVERSION= 10.5.1 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:1.22,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 f648c567b6dd..33f59b438728 100644 --- a/www/mattermost-server/distinfo +++ b/www/mattermost-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738835936 -SHA256 (mattermost-9.11.8.tar.xz) = 295b1f5b064dc11201fb362b267f2432207609bbd22cc7ccc13c73dbec48fbde -SIZE (mattermost-9.11.8.tar.xz) = 119960220 +TIMESTAMP = 1741865592 +SHA256 (mattermost-10.5.1.tar.xz) = 404b671e53b2341b4bb9bac4a473c4254356dee23654bc8aad327f232fb552e7 +SIZE (mattermost-10.5.1.tar.xz) = 123914268 diff --git a/www/mattermost-server/files/patch-cmd_mmctl_commands_utils__unix.go b/www/mattermost-server/files/patch-cmd_mmctl_commands_utils__unix.go deleted file mode 100644 index b7a918c7f9d3..000000000000 --- a/www/mattermost-server/files/patch-cmd_mmctl_commands_utils__unix.go +++ /dev/null @@ -1,13 +0,0 @@ ---- cmd/mmctl/commands/utils_unix.go.orig 2024-10-24 13:08:53 UTC -+++ cmd/mmctl/commands/utils_unix.go -@@ -1,8 +1,8 @@ - // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. - // See LICENSE.txt for license information. - --//go:build linux || darwin --// +build linux darwin -+//go:build linux || darwin || freebsd -+// +build linux darwin freebsd - - package commands -