Bug 293510 - www/mattermost-{server,webapp}: Update 10.11.10 => 10.11.12
Summary: www/mattermost-{server,webapp}: Update 10.11.10 => 10.11.12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernhard Froehlich
URL: https://docs.mattermost.com/product-o...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-28 21:20 UTC by Vladimir Druzenko
Modified: 2026-03-01 19:47 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (decke)
vvd: merge-quarterly?


Attachments
mattermost-webapp: v1 with port improvements (6.31 KB, patch)
2026-02-28 21:20 UTC, Vladimir Druzenko
no flags Details | Diff
mattermost-webapp: v2 with port improvements (6.31 KB, patch)
2026-02-28 21:22 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-28 21:20:14 UTC
Created attachment 268427 [details]
mattermost-webapp: v1 with port improvements

It have security fixes:
> Mattermost v10.11.12 contains low to high severity level security fixes.
> Upgrading to this release is recommended. Details will be posted on our security
> updates page 30 days after release as per the Mattermost Responsible Disclosure Policy.

Improvements for www/mattermost-webapp:
1. Replace:
PORTNAME=      mattermost-webapp
with
PORTNAME=      mattermost
PKGNAMESUFFIX= -webapp

2. Replace PORTVERSION with DISTVERSION.

3. Remove unnecessary DISTVERSIONPREFIX=v - unused and WWWDIR=${PREFIX}/www/mattermost - default value.

4. Parametrize "mattermost" with "${PORTNAME}" in DISTNAME, MATTERMOSTD_USER, MATTERMOSTD_GROUP.

5. Define WRKSRC and use it in do-install instead if "${WRKDIR}/mattermost".

6. Remove unnecessary MKDIR in do-install.

The distfile for the www/mattermost-server port require manual embedding of multiple files "server/vendor/*".
The tarball automatically generated from the tag on GitHub does not contain these files.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-28 21:22:58 UTC
Created attachment 268428 [details]
mattermost-webapp: v2 with port improvements

Change order of lines in do-install.
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-03-01 19:45:44 UTC
A commit in branch main references this bug:

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

commit 25c6cb283029d5b518fc540c43dc0df46f893f8e
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2026-03-01 19:19:48 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2026-03-01 19:19:48 +0000

    www/mattermost-webapp: Update to 10.11.12

    Replace PORTVERSION with DISTVERSION

    PR:             293510

 www/mattermost-webapp/Makefile  | 14 +++++++-------
 www/mattermost-webapp/distinfo  |  6 +++---
 www/mattermost-webapp/pkg-plist | 32 ++++++++++++++++----------------
 3 files changed, 26 insertions(+), 26 deletions(-)
Comment 3 Bernhard Froehlich freebsd_committer freebsd_triage 2026-03-01 19:47:03 UTC
Committed (partially) together with mattermost-server. Thanks