Repository navigation
What's changed
Security and correctness (November 2026 review, continued)
- Committer opt-in now needs confirming from the mailbox (S14). Before, anyone logged in could opt any committer login into the sanity-test mail. Now a new or changed opt-in stays pending until someone uses the link mailed to
<login>@FreeBSD.org. The new pagecommitter-notify.phpis where that link goes, and also where the link at the end of every sanity-test mail goes. Opening the link changes nothing; only its Confirm, Refuse and Stop buttons do. Committers who are already opted in see no change. (abce498) delete-account.php: an account is deleted only with a valid CSRF token (www-n12-3).watch-list.php,commit-flag.php: redirects to other sites, or to targets containing control characters, are refused (www-n12-5).pkg_upload.php: "Port from your watch lists" shows only your own watch lists (www-n12-4).configuration/virtualhost-common.conf.sample: the 404 for dotfiles,*.incand~files now applies only when the file exists on disk. Port pages for ports-tree files such askorean/Makefile.incor a top-level.gitignorework again (www-n12-1).search.php: the search-log warning appears inside the page instead of before it (www-a-1).sanity_test_failures.php: pages by commit again, one row per commit (www-a-2).
Other changes
watch.php: the hover text on the watch-list icon now names the list being shown, not the default lists.watch-list-maintenance.php: no PHP warning on Empty All.- Encoding Errors icon and its FAQ entry now say which characters get removed today.
faq.php: explains the rename from FreeBSD to FreeBSD-ports / FreeBSD-base; "base" is no longer offered for translation.other-copyrights.php: the page source now gives the freshsource-www and fp-listen versions, for the all-sites versions page.- Search-gate log lines now go to LOCAL3 instead of
/var/log/messages(openlog()is called before logging). They are now logged at LOG_INFO, not LOG_NOTICE. configuration/database.php.sample: a failed database connection now logs its reason (too many clients, refused, authentication, ...) on the syslog line.
Translations
- New: Spanish (
es_ES), by @PedroFlores199 (#740). - Turkish (
tr_TR) updates by @nxjoseph (#735, #736, #737, #738, #739). - Simplified Chinese (
zh_CN) updates by @ykla (#741). freshports.potre-extracted; de_DE, fr_CA, pt_BR and ru_RU updated for the changed strings.
Upgrade notes
- Database: run
updates-2026-11-16-committer-notify-confirm.ddlfrom database-schema, as postgres, on each database before installing. It adds thetokenandtoken_createdcolumns thatcommitter-opt-in.phpandcommitter-notify.phpneed. - nginx: copy the new
location ~ (/\.|\.inc$|~$)block fromvirtualhost-common.conf.sampleinto each host's vhost, thennginx -tand reload. - Configuration (optional): to log why a database connection failed, copy the new
elsebranch fromdatabase.php.sampleinto the host'sconfiguration/database.php. - i18n: run
scripts/i18n-compile.sh(this release adds a new locale,es_ES), thenservice php_fpm reload. - Logging: search-gate challenge lines now reach
/var/log/freshports/freshports.log(LOCAL3) at INFO. Check that logcheck rules or log watching for "search gate challenge" still match there.
Files added
include/committer-notify.phpwww/committer-notify.phplocale/es_ES/LC_MESSAGES/freshports.po
Files deleted or renamed
None.
Full Changelog: 2.16.33...2.16.34