[Midnightbsd-cvs] [MidnightBSD/mports] 0050ac: *: fix broken PORTSCOUT limit configurations
Lucas Holt
noreply at github.com
Fri Sep 11 23:03:17 EDT 2026
Branch: refs/heads/ports-mgmt/portscout-limits
Home: https://github.com/MidnightBSD/mports
Commit: 0050ace3b770752ff7a2544d4fa9b34eebde9f29
https://github.com/MidnightBSD/mports/commit/0050ace3b770752ff7a2544d4fa9b34eebde9f29
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-11 (Fri, 11 Sep 2026)
Changed paths:
M deskutils/baobab/Makefile
M devel/aws-c-event-stream/Makefile
M devel/dconf/Makefile
M devel/gitg/Makefile
M devel/gsettings-desktop-schemas/Makefile
M devel/rubygem-vite_ruby-gitlab/Makefile
M devel/universal-ctags/Makefile
M devel/xxhash/Makefile
M editors/gedit/Makefile
M editors/neovim-qt/Makefile
M emulators/wine/Makefile
M games/five-or-more/Makefile
M games/gnome-nibbles/Makefile
M games/swell-foop/Makefile
M games/tali/Makefile
M graphics/GraphicsMagick/Makefile
M graphics/clutter/Makefile
M graphics/eog-plugins/Makefile
M graphics/ming/Makefile
M lang/mono6.8/Makefile
M misc/py-polars/Makefile
M multimedia/cheese/Makefile
M net/freebsd-uucp/Makefile
M security/gcr3/Makefile
M sysutils/tracker3/Makefile
M textproc/gspell/Makefile
M textproc/yelp-tools/Makefile
M x11-themes/mate-themes/Makefile
M x11-toolkits/gtk30/Makefile
M x11-toolkits/gtk40/Makefile
Log Message:
-----------
*: fix broken PORTSCOUT limit configurations
Audited every PORTSCOUT setting in the tree (526 ports) against the
parser in Portscout::API and the limit checks in FindNewestFile(), and
fixed the 30 that could never report an update.
Four classes of bug:
1. Invalid syntax. graphics/GraphicsMagick had a stray backslash inside
a character class ([0-9\]) making the regex fail to compile, so
Portscout rejected the limit outright. textproc/gspell used
"limitw:even" without the required component index, which only
matches ^(\d{1,2}),(even|odd)$ and was discarded with a warning.
2. Wrong key. graphics/clutter, x11-toolkits/gtk30 and
x11-toolkits/gtk40 used "limit:1,even" instead of "limitw:1,even",
turning the even/odd selector into a literal regex that matches no
version at all. gtk30/gtk40 also get an explicit major-version limit,
since Portscout's automatic limiting for version-suffixed port names
does not trigger for two-digit suffixes.
3. Limits written against the distfile tag rather than the version
Portscout actually compares. For GitHub ports, FindNewestFile()
strips non-digit prefixes and suffixes from the tag and rewrites
non-digit separators as dots, so DISTVERSIONPREFIX is never present
and underscores never survive. devel/xxhash (^v...),
misc/py-polars (^py-), graphics/ming (^ming-),
devel/universal-ctags (^p6) and net/freebsd-uucp (^1_) were all
matching against strings that cannot occur. Also fixes the "\d" that
had lost its backslashes in devel/aws-c-event-stream and
editors/neovim-qt, and the "\.*$" (zero or more dots, anchored) in
x11-themes/mate-themes, which excluded every real release.
4. Stale branch pins left behind by past updates, now excluding the
port's own version: deskutils/baobab (^47. at 48.0),
editors/gedit (^48. at 50.0), emulators/wine (^8.0 at 9.0),
devel/rubygem-vite_ruby-gitlab (^3.3. at 3.10.2) and
lang/mono6.8 (a [1-9] third component, at 6.8.0.123).
The remaining ports dropped "limitw:1,even" entirely. GNOME no longer
uses even/odd minor versions, so the selector excluded the installed
version in devel/dconf, devel/gsettings-desktop-schemas,
games/five-or-more, games/gnome-nibbles, games/swell-foop, games/tali,
graphics/eog-plugins, multimedia/cheese and textproc/yelp-tools.
devel/gitg's version is a single component, so the selector could never
apply. security/gcr3 and sysutils/tracker3 keep a major-version pin
instead, as gcr 4 and tracker 3 ship from separate ports.
No functional change to any package, so no PORTREVISION bumps. Verified
with portlint on all 30 ports: no new warnings, and the pre-existing
fatals in devel/xxhash, net/freebsd-uucp and multimedia/cheese are
unchanged.
AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_017JRCQA17KgZSRk2vV96wbT
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list