Bug 293120 - www/mattermost-server: revert user limits
Summary: www/mattermost-server: revert user limits
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bernhard Froehlich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-11 18:27 UTC by Mark Felder
Modified: 2026-06-14 13:49 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (decke)


Attachments
revert user limits (3.57 KB, patch)
2026-02-11 18:27 UTC, Mark Felder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Felder freebsd_committer freebsd_triage 2026-02-11 18:27:58 UTC
Created attachment 267986 [details]
revert user limits

Arch Linux and some others are reverting the lowered user limit restrictions added to the 11.x release. It might be a good idea to pull this in too

https://gitlab.archlinux.org/archlinux/packaging/packages/mattermost/-/blob/9d792340b134d9558a655ef541eda0e3d8936b86/user_limits.patch


https://github.com/mattermost/mattermost/pull/33888
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2026-02-11 20:52:18 UTC
Why not make it a on default toggle?
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-28 21:31:54 UTC
But we have 10.11.x in the ports now. This is current ESR:
https://docs.mattermost.com/product-overview/release-policy.html#release-types
Comment 3 Bernhard Froehlich freebsd_committer freebsd_triage 2026-03-01 19:56:09 UTC
Yeah, we are not affected by that change (yet) but will be by mid of the year.

Don't know if there is someone running mattermost on FreeBSD exceeding that limit though but my instance is quite small.
Comment 4 Bernhard Froehlich freebsd_committer freebsd_triage 2026-06-14 12:19:27 UTC
I am currently preparing an update for 11.7.2 and will include the AUR user limit patch.

There is an alternate patch used by NixOS but they all seem to be somewhat fragile
https://github.com/NixOS/nixpkgs/blob/release-26.05/pkgs/by-name/ma/mattermost/mattermost-remove-user-limit.patch
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-06-14 13:47:11 UTC
A commit in branch main references this bug:

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

commit b7d811eb5afa7011639da835ab8bb6c8884bcaca
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2026-06-14 13:45:38 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2026-06-14 13:46:21 +0000

    www/mattermost-server: Update to 11.7.3

    PR:             293120

 UPDATING                                           |  9 ++++
 www/mattermost-server/Makefile                     |  8 ++--
 www/mattermost-server/distinfo                     |  6 +--
 .../patch-channels_api4_limits__test.go (new)      | 13 ++++++
 .../files/patch-channels_app_limits.go (new)       | 13 ++++++
 .../files/patch-channels_app_limits__test.go (new) | 51 ++++++++++++++++++++++
 www/mattermost-server/pkg-descr                    |  7 +--
 www/mattermost-server/pkg-plist                    |  4 +-
 8 files changed, 99 insertions(+), 12 deletions(-)
Comment 6 Bernhard Froehlich freebsd_committer freebsd_triage 2026-06-14 13:49:15 UTC
Committed. Thanks!