[Bug 276638] www/mattermost-server: Update to 8.1.8

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 Jan 2024 11:48:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276638

            Bug ID: 276638
           Summary: www/mattermost-server: Update to 8.1.8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: decke@FreeBSD.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

Created attachment 247981
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247981&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.