diff options
| author | Bernhard Froehlich <decke@FreeBSD.org> | 2026-06-14 13:45:38 +0000 |
|---|---|---|
| committer | Bernhard Froehlich <decke@FreeBSD.org> | 2026-06-14 13:46:21 +0000 |
| commit | b7d811eb5afa7011639da835ab8bb6c8884bcaca (patch) | |
| tree | 6377917fe77964d2e71cee99917f6c5e9210cc9f | |
| parent | 921b9dbf3b2c7a0a61076accce3d58cf2f36a66d (diff) | |
www/mattermost-server: Update to 11.7.3
PR: 293120
| -rw-r--r-- | UPDATING | 9 | ||||
| -rw-r--r-- | www/mattermost-server/Makefile | 8 | ||||
| -rw-r--r-- | www/mattermost-server/distinfo | 6 | ||||
| -rw-r--r-- | www/mattermost-server/files/patch-channels_api4_limits__test.go | 13 | ||||
| -rw-r--r-- | www/mattermost-server/files/patch-channels_app_limits.go | 13 | ||||
| -rw-r--r-- | www/mattermost-server/files/patch-channels_app_limits__test.go | 51 | ||||
| -rw-r--r-- | www/mattermost-server/pkg-descr | 7 | ||||
| -rw-r--r-- | www/mattermost-server/pkg-plist | 4 |
8 files changed, 99 insertions, 12 deletions
@@ -5,6 +5,15 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20260614: + AFFECTS: Users of www/mattermost-server + AUTHOR: decke@FreeBSD.org + + Mattermost 11.x dropped support for MySQL / MariaDB database. + + If you are affected please read the migration guidelines before updating: + https://docs.mattermost.com/deployment-guide/postgres-migration.html + 20260609: AFFECTS: Users of x11-wm/mango AUTHOR: nivit@FreeBSD.org diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile index c321799e02c1..89f79d081a49 100644 --- a/www/mattermost-server/Makefile +++ b/www/mattermost-server/Makefile @@ -1,12 +1,12 @@ PORTNAME= mattermost -PORTVERSION= 10.11.19 +PORTVERSION= 11.7.3 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/ +COMMENT= Open core, self-hosted collaboration platform in Golang and React +WWW= https://mattermost.com/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE.txt @@ -26,8 +26,8 @@ GO_BUILDFLAGS= -ldflags=" \ -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 +WRKSRC_SUBDIR= server MATTERMOSTD_USER= mattermost MATTERMOSTD_GROUP= mattermost diff --git a/www/mattermost-server/distinfo b/www/mattermost-server/distinfo index 392b28bb48b3..bf131b3eca32 100644 --- a/www/mattermost-server/distinfo +++ b/www/mattermost-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1780561156 -SHA256 (mattermost-10.11.19.tar.xz) = 76445df7981db4cc17e3fb7f62c57099a06dbc41daf4bc58b19719efce323837 -SIZE (mattermost-10.11.19.tar.xz) = 139068140 +TIMESTAMP = 1781443754 +SHA256 (mattermost-11.7.3.tar.xz) = a0cf1cf9ea88dd596969ee508a9257a02f1ab173168a9138e2b37e87cc3ac2fc +SIZE (mattermost-11.7.3.tar.xz) = 130863164 diff --git a/www/mattermost-server/files/patch-channels_api4_limits__test.go b/www/mattermost-server/files/patch-channels_api4_limits__test.go new file mode 100644 index 000000000000..eb14918ec46e --- /dev/null +++ b/www/mattermost-server/files/patch-channels_api4_limits__test.go @@ -0,0 +1,13 @@ +--- channels/api4/limits_test.go.orig 2026-05-26 04:10:36 UTC ++++ channels/api4/limits_test.go +@@ -28,8 +28,8 @@ func TestGetServerLimits(t *testing.T) { + + // Should have full access to all limits data + require.Greater(t, serverLimits.ActiveUserCount, int64(0)) +- require.Equal(t, int64(200), serverLimits.MaxUsersLimit) +- require.Equal(t, int64(250), serverLimits.MaxUsersHardLimit) ++ require.Equal(t, int64(2500), serverLimits.MaxUsersLimit) ++ require.Equal(t, int64(5000), serverLimits.MaxUsersHardLimit) + require.Equal(t, int64(0), serverLimits.PostHistoryLimit) + require.Equal(t, int64(0), serverLimits.LastAccessiblePostTime) + }) diff --git a/www/mattermost-server/files/patch-channels_app_limits.go b/www/mattermost-server/files/patch-channels_app_limits.go new file mode 100644 index 000000000000..eb14b2948a40 --- /dev/null +++ b/www/mattermost-server/files/patch-channels_app_limits.go @@ -0,0 +1,13 @@ +--- channels/app/limits.go.orig 2026-05-26 04:10:36 UTC ++++ channels/app/limits.go +@@ -10,8 +10,8 @@ const ( + ) + + const ( +- maxUsersLimit = 200 +- maxUsersHardLimit = 250 ++ maxUsersLimit = 2_500 ++ maxUsersHardLimit = 5_000 + ) + + func (a *App) GetServerLimits() (*model.ServerLimits, *model.AppError) { diff --git a/www/mattermost-server/files/patch-channels_app_limits__test.go b/www/mattermost-server/files/patch-channels_app_limits__test.go new file mode 100644 index 000000000000..8a4a6000c891 --- /dev/null +++ b/www/mattermost-server/files/patch-channels_app_limits__test.go @@ -0,0 +1,51 @@ +--- channels/app/limits_test.go.orig 2026-05-26 04:10:36 UTC ++++ channels/app/limits_test.go +@@ -27,8 +27,8 @@ func TestGetServerLimits(t *testing.T) { + + // InitBasic creates 3 users by default + require.Equal(t, int64(3), serverLimits.ActiveUserCount) +- require.Equal(t, int64(200), serverLimits.MaxUsersLimit) +- require.Equal(t, int64(250), serverLimits.MaxUsersHardLimit) ++ require.Equal(t, int64(2500), serverLimits.MaxUsersLimit) ++ require.Equal(t, int64(5000), serverLimits.MaxUsersHardLimit) + }) + + t.Run("user count should increase on creating new user and decrease on permanently deleting", func(t *testing.T) { +@@ -266,7 +266,7 @@ func TestIsAtUserLimit(t *testing.T) { + th.App.Srv().SetLicense(nil) + + mockUserStore := storemocks.UserStore{} +- mockUserStore.On("Count", mock.Anything).Return(int64(200), nil) // Under hard limit of 250 ++ mockUserStore.On("Count", mock.Anything).Return(int64(4000), nil) // Under hard limit of 5000 + mockUserStore.On("AnalyticsGetSingleChannelGuestCount").Return(int64(0), nil) + mockStore := th.App.Srv().Store().(*storemocks.Store) + mockStore.On("User").Return(&mockUserStore) +@@ -282,7 +282,7 @@ func TestIsAtUserLimit(t *testing.T) { + th.App.Srv().SetLicense(nil) + + mockUserStore := storemocks.UserStore{} +- mockUserStore.On("Count", mock.Anything).Return(int64(250), nil) // At hard limit of 250 ++ mockUserStore.On("Count", mock.Anything).Return(int64(5000), nil) // At hard limit of 5000 + mockUserStore.On("AnalyticsGetSingleChannelGuestCount").Return(int64(0), nil) + mockStore := th.App.Srv().Store().(*storemocks.Store) + mockStore.On("User").Return(&mockUserStore) +@@ -298,7 +298,7 @@ func TestIsAtUserLimit(t *testing.T) { + th.App.Srv().SetLicense(nil) + + mockUserStore := storemocks.UserStore{} +- mockUserStore.On("Count", mock.Anything).Return(int64(300), nil) // Over hard limit of 250 ++ mockUserStore.On("Count", mock.Anything).Return(int64(6000), nil) // Over hard limit of 5000 + mockUserStore.On("AnalyticsGetSingleChannelGuestCount").Return(int64(0), nil) + mockStore := th.App.Srv().Store().(*storemocks.Store) + mockStore.On("User").Return(&mockUserStore) +@@ -528,8 +528,8 @@ func TestExtraUsersBehavior(t *testing.T) { + require.Nil(t, appErr) + + // Unlicensed servers use hard-coded limits without extra users +- require.Equal(t, int64(200), serverLimits.MaxUsersLimit) +- require.Equal(t, int64(250), serverLimits.MaxUsersHardLimit) ++ require.Equal(t, int64(2500), serverLimits.MaxUsersLimit) ++ require.Equal(t, int64(5000), serverLimits.MaxUsersHardLimit) + }) + } + diff --git a/www/mattermost-server/pkg-descr b/www/mattermost-server/pkg-descr index 2a75494fce58..8d38c0097f78 100644 --- a/www/mattermost-server/pkg-descr +++ b/www/mattermost-server/pkg-descr @@ -1,3 +1,4 @@ -Mattermost is an open source, private cloud, Slack-alternative. -It's written in Golang and React and runs as a single Linux binary with MySQL -or PostgreSQL. +Mattermost is an open core, self-hosted collaboration platform that offers +chat, workflow automation, voice calling, screen sharing, and AI integration. +It's written in Golang and React, runs as a single binary and relies on +PostgreSQL. diff --git a/www/mattermost-server/pkg-plist b/www/mattermost-server/pkg-plist index fd530cfa3f57..a0a29d930f7f 100644 --- a/www/mattermost-server/pkg-plist +++ b/www/mattermost-server/pkg-plist @@ -76,17 +76,17 @@ bin/mmctl %%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/license_notification.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/unsupported_desktop_app.html %%WWWDIR%%/templates/verify_body.html %%WWWDIR%%/templates/warn_metric_ack.html %%WWWDIR%%/templates/welcome_body.html |
