www/mattermost-server: Update to 8.1.12
The old hack to overwrite go.mod and replace some unsupported keywords
did not work anymore so we roll our own distfile now including
vendorized dependencies.
PR: 278462
Approved by: maintainer (implicit)
textproc/source-highlight: fix "make test" or -DWITH_TESTING build
The normal build works for me, but "make test",
or poudriere-devel builds on FreeBSD 14.0-RELEASE amd64 under
WITH_TESTING=yes, fail for me in the test phase.
Fix two compiler bugs that LLVM/clang asserts:
* lib/tests/stdboosterror.h poses a most vexing parse,
resolve by switching to C++11 uniform initialization
(GCC 12 or 13 disambiguates by resolving to variable init.)
* lib/tests/test_wordtokenizer_main.cpp sees LLVM/clang complain
about unresolved operator<< (needs to be defined earlier,
so move the declaration up) (couldn't test with GCC)
Serialize tests/Makefile:
* tests/Makefile* causes "No such file or directory" errors when
running with MAKE_JOBS, so patch a .NOTPARALLEL into the Makefile.
Approved by: portmgr@ (blanket just-fix-it approval for failing build)
devel/gitlab-shell: fix build errors due to checksum failure
The port will execute `go mod download` to download go modules.
This command modifies the go.mod file which causes the checksum check to fail.
Backup the go.mod and restore it afterwards.
PR: 278520
(cherry picked from commit 30ee39816e4e27529f1f2421820962b961c5fc0e)
www/gitlab: add flavor support to also support the EE version
By default the port will build the CE edition.
If you use pkg, you will install it as usual with:
pkg install gitlab-ce
If you need the EE edition you can install it with:
pkg install gitlab-ee
(cherry picked from commit e47b43119c5d0367354238887bbc2e40e2ac76a9)
lang/ruby31: Update to 3.1.5
After the release of 3.1.3 Ruby 3.1 series has entered security
maintainance phase that only security fixes are provided. And it is
expected to reach its EoL on March 31, 2025. So mark DEPRECATED to
encourage user to migrate to newer version, and set EXPIRATION_DATE to
its expected EoL day.
ReleaseNotes: https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-1-5-released/
MFH: 2024Q1
Security: 2ce1a2f1-0177-11ef-a45e-08002784c58d
(cherry picked from commit d228858e03f68ee87e95ba232a7399916c582019)