[Midnightbsd-cvs] [MidnightBSD/mports] ad90f2: mail/sympa: update to 6.2.76 (#708)
Lucas Holt
noreply at github.com
Fri Aug 7 23:36:31 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: ad90f2e3e388c591b8dc78576c7807f90b5fd65f
https://github.com/MidnightBSD/mports/commit/ad90f2e3e388c591b8dc78576c7807f90b5fd65f
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-07 (Fri, 07 Aug 2026)
Changed paths:
M mail/sympa/Makefile
M mail/sympa/distinfo
M mail/sympa/files/apache.sample.in
M mail/sympa/files/fcgi.sample.in
A mail/sympa/files/patch-issue1966
M mail/sympa/files/pkg-message.in
M mail/sympa/pkg-plist
Log Message:
-----------
mail/sympa: update to 6.2.76 (#708)
Update `mail/sympa` from 6.2.72 to 6.2.76.
> **Depends on #705** (`converters/p5-Unicode-UTF8`). This PR cannot
build until that one merges.
## The dependency is not optional
Upstream added `p5-Unicode-UTF8>=0.62` in 6.2.76.
`src/cgi/wwsympa.fcgi.in:1909` calls it unguarded inside the
request-parameter loop:
```perl
unless (Encode::is_utf8($v) or Unicode::UTF8::valid_utf8($v)) {
```
Perl short-circuits `or`, so any parameter without the UTF-8 flag
reaches that call and dies with an undefined-subroutine error. FASTCGI
is default-on, so the web UI breaks in the default configuration.
Upstream's `cpanfile` files it under an optional `safe-unicode` feature,
but that code path isn't guarded — hence the new port.
## Method note
Rather than diffing against FreeBSD's tip, I diffed each mports file
against FreeBSD at `0d1ec01fc7ef^` — the pre-6.2.76 commit. Every
non-Makefile file was **byte-identical** to that fork point, i.e. zero
MidnightBSD delta, which is what makes the wholesale file syncs safe
rather than destructive. All genuine Makefile deltas were preserved:
`MAINTAINER`, `LICENSE= gpl2`, explicit `p5-DBD-mysql` (rather than
FreeBSD's `${DBD_MYSQL}`/`MYSQL_USES`), and `post-install` using
`${PREFIX}`/`${DOCSDIR}` per the FAKE_DESTDIR convention.
## Files synced
- `files/apache.sample.in` — `apache2` → `apache24`, `/sympa-static` →
`/static-sympa`
- `files/fcgi.sample.in` — also fixes a real shell syntax error mports
had inherited: `spawn_fcgi_groupname"…"`, missing the `=`
- `files/pkg-message.in` — `sympa_wizard.pl` is gone upstream; edit
`sympa.conf` instead
- `pkg-plist` — pure 6.2.76 churn: added `Sympa/WWW/Crawlers.pm` + man3
page and `jquery-ui/LICENSE.txt`; `SOAP/Transport.pm` →
`SOAP/FastCGI.pm`; removed `crawlers_detection.conf` and its man5 page
## Patch set
- `patch-Makefile.am` — unchanged, still applies.
- **Added** `patch-issue1966` — perl 5.40 `Getopt::Long` warnings.
Relevant here since `PERL5_DEFAULT` is 5.40.
- **Deliberately not added:** FreeBSD's `patch-configure.ac`, which
removes `GETTEXT_MACRO_VERSION=0.19` for gettext 0.26. mports has
gettext 0.23.1 with the m4 files still in `share/aclocal`, so the
breakage doesn't apply and `autoreconf` passes without it.
- Also not imported: `GNU_CONFIGURE_MANPREFIX=${PREFIX}/share` —
`Mk/bsd.mport.mk:1918` already defaults it to that.
## Verification
`makesum`, `patch`, `build`, `fake`, `package` all succeeded →
`sympa-6.2.76.mport`. distinfo matches FreeBSD's exactly. Confirmed
`Unicode::UTF8::valid_utf8` resolves at runtime and the new dep is
recorded in `RUN_DEPENDS`.
**Built with `OPTIONS_UNSET=MYSQL OPTIONS_SET=SQLITE`.** The default
MYSQL path never reaches sympa's own build on this host — it dies
installing dependencies on a pre-existing issue unrelated to this
change:
```
check_preconditions.c:(308): mysql80-client depends on groff version <any>.
Version 1.24.1 for MidnightBSD 4.0 is installed.
```
6.2.72 fails identically, so this is a stale host package set, not a
sympa regression. The substitution is defensible because `pkg-plist`
contains zero `%%MYSQL%%`/`%%PGSQL%%`/`%%SQLITE%%` markers — the
database option doesn't affect the packing list, so the successful
package validates the same plist the default build would.
## Noted, not changed
`LICENSE= gpl2` (v2 only) is arguably wrong — `COPYING` is GPL v2 and
the source headers say "either version 2 … or (at your option) any later
version", and mports does have a `gpl2+` identifier. Pre-existing, not
part of this bump, maintainer's call.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Update the Sympa mailing list manager port to 6.2.76 and sync local
packaging and support files with the upstream/FreeBSD 6.2.76 state while
adding the required new runtime dependency and a Perl 5.40 compatibility
patch.
New Features:
- Add runtime dependency on p5-Unicode-UTF8>=0.62 to support Sympa
6.2.76's new UTF-8 validation path.
- Introduce patch-issue1966 to address Sympa option parsing warnings
with Perl 5.40.
Bug Fixes:
- Ensure the web UI works under FastCGI by providing the mandatory
p5-Unicode-UTF8 dependency required by Sympa 6.2.76.
- Fix a shell syntax error in the fcgi.sample.in helper script inherited
from upstream.
Enhancements:
- Refresh apache, FastCGI, pkg-message, and packing list files to match
the upstream 6.2.76 layout and naming, including new and removed
installed files.
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