Created attachment 247981 [details] mattermost-8.1.8 This is an update for mattermost-server and mattermost-webapp to 8.1.8 which is the latest LTS version. Next LTS release will be 9.5 in around one month. Upstream uses a replace line in their go.mod which breaks our Go ports framework. replace github.com/mattermost/mattermost/server/public => ./public To overcome this problem I use the existing hack to download a patched go.mod with the replace line commented out. This is far from being ideal but it works quite good in this case. For future updates create the patched go.mod like this: fetch https://raw.githubusercontent.com/mattermost/mattermost/v8.1.8/server/go.mod fetch https://raw.githubusercontent.com/mattermost/mattermost/v8.1.8/server/go.sum sed -i.orig 's|replace|// replace|g' go.mod now put go.mod and go.sum on a proper distfile location. poudriere and portlint are okay https://ports.bluelife.at/builds/20240126-10:56:22.45468/ https://ports.bluelife.at/builds/20240126-10:56:22.45531/ We are running 8.1.7 since before Christmas without problems so I am quite confident about 8.1.8 as well. Since we are now using Mattermost in my company as an internal service I will also provide future port updates but will stick to LTS versions which I think makes sense for the port as well.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7dad80277156ccc4c3a66c17d82439a1a25d1771 commit 7dad80277156ccc4c3a66c17d82439a1a25d1771 Author: Bernhard Froehlich <decke@FreeBSD.org> AuthorDate: 2024-01-26 14:08:10 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-26 15:56:30 +0000 www/mattermost-webapp: Update version 7.10.5=>8.1.8 Changelog: https://github.com/mattermost/mattermost/releases/tag/v8.1.8 PR: 276638 www/mattermost-server/Makefile | 13 +- www/mattermost-server/distinfo | 10 +- www/mattermost-server/pkg-plist | 3 +- www/mattermost-webapp/Makefile | 3 +- www/mattermost-webapp/distinfo | 6 +- www/mattermost-webapp/pkg-plist | 1370 +++++++++++++++++++++------------------ 6 files changed, 763 insertions(+), 642 deletions(-)
Thanks. I will try to add a maintainer mode target for simplifying the task you have mentioned. In the meantime enjoy the comment as long as it builds fine on FreeBSD supported versions. :)
Thanks a lot!