Dodges the deprecation.
Unfortunately the tests fail if go.mod does not match the go pkg
version. Documented this in the Makefile.
Fixes: f45b1d07f50b64cebbcd416af8d7ddf265db3de1 "many: Unsupported Go dep; deprecate and schedule for removal"
There are about 75 ports that depend on old, unsupported Go
versions. I've scheduled those Go versions for deletions on
2025/01/01, and so these ports are scheduled for removal on
that same day.
HOWEVER....
Likely NONE or VERY VERY FEW of these ports will actually need
to be deleted! This stems from a misunderstanding:
When go.mod says "go 1.23", it means that it requires AT LEAST
go-1.23. Locking a port to a specific go version should almost
never happen; it is reserved for when a package absolutely
cannot build with any newer version, and it almost means that
the port will only last 1 year (Go releases new minors twice a
year).
Where a port has
USES=go:1.23
maintainers should attempt build with just
USES=go
If that works, please either commit it or submit it in a PR.
Same goes go
USES=go:1.23,modules
to attempt
USES=go,modules
By reading some of the fixed issues in the last release I found
that the go version was bumped upstream.
Although it builds and runs fine I let the port follow.
Add a pre-configure check that the port uses the same go version
as is mentioned in go.mod.
"This version adds support for MongoDB Server 8.1, along with security updates and bug fixes."
Changes:
https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md#100120
Security: CVE-2025-30204 jwt/v5@v5.2.1
Security: CVE-2025-22870 net@v0.34.0
Security: CVE-2025-22869 crypto@v0.32.0
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)