[Midnightbsd-cvs] [MidnightBSD/mports] 721529: mail/mailutils: update to 3.21 (#720)

Lucas Holt noreply at github.com
Sun Aug 9 09:44:48 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 721529f9063e3e79acc40b1285669dccc7e27278
      https://github.com/MidnightBSD/mports/commit/721529f9063e3e79acc40b1285669dccc7e27278
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-09 (Sun, 09 Aug 2026)

  Changed paths:
    M mail/mailutils/Makefile
    M mail/mailutils/distinfo
    R mail/mailutils/files/patch-configure
    R mail/mailutils/files/patch-libmailutils-base-hostname.c
    M mail/mailutils/pkg-plist

  Log Message:
  -----------
  mail/mailutils: update to 3.21 (#720)

Update `mail/mailutils` from 3.16 to 3.21.

## Both MidnightBSD-only patches are now obsolete and were deleted

- **`files/patch-configure`** added `midnightbsd*` to libtool's
`lt_cv_sys_max_cmd_len` case. It **failed to apply** — 3.21's
regenerated `configure` already ships `darwin* | dragonfly* | freebsd* |
midnightbsd* | netbsd* | openbsd*` at line 8601. Upstream absorbed the
delta.
- **`files/patch-libmailutils-base-hostname.c`** added `#include
<sys/socket.h>`. 3.21's `libmailutils/base/hostname.c` already includes
it at line 27, verified against the pristine file.

`files/` is now identical to FreeBSD's. No patches were hand-written and
`bmake makepatch` was never run.

## Two dead post-patch reinplaces dropped

Each verified individually rather than copied from FreeBSD:
- `need_charset_alias` has **zero** occurrences in 3.21's
`lib/gnu/Makefile.in` — the sed was a no-op.
- The `MU_AUTHLIBS` `-llber` prepend is redundant: 3.21's
`configure:36176` already appends `-llber` itself.

The `chown` and `-E -P` reinplaces still match and were kept.

## No shlib change

Confirmed empirically from the staged tree, not from FreeBSD's Makefile:
`libmailutils.so.9.0.0` / `.so.9`, matching the existing `PLIST_SUB+=
LIBVERSION=9.0.0 LIBSUFX=9`. **No dependent `PORTREVISION` bumps
required**; `bump_revision.pl` was not run.

## pkg-plist

Adds `lib/mailutils/uidnew.a`, `lib/mailutils/uidnew.so` (new sieve
module) and `%%NLS%%share/locale/ka/LC_MESSAGES/mailutils.mo`. FreeBSD's
relocation of four `share/man/man1/*.1.gz` lines to the end of the file
is a pure reorder with identical content and was not replicated.

## Verification

makesum/patch/build/fake/package all OK → `mailutils-3.21.mport` (patch
only after the two obsolete patches were removed; the first attempt
failed). distinfo matches FreeBSD. Plist verified: nothing listed is
missing from staging; the only staged-but-unlisted entries are
`@`-directive items (`@(root,mail,2755) bin/dotlock`, `sbin/mda`, three
`@(root,wheel,0755)` rc.d scripts, `@info` files).

LICENSE unchanged — `COPYING` in 3.21 is still GPL v3.

**Dependencies:** no changes. All FreeBSD deltas belong to non-default
options or mports conventions and were left alone (`GUILE_LIB_DEPENDS`
vs their `USES=guile:2.2,alias`, `MH_USES`, `PYTHON_USES`, `LDAP_USE` vs
`LDAP_USES`). Nothing missing.

**Left undone:** `NO_TEST= yes` preserved. FreeBSD 3.21 enables
`TEST_TARGET= check` with `automake`/`dejagnu` `TEST_DEPENDS`, and both
ports exist in mports, so that's available as a follow-up — enabling it
was outside this scope. amd64, default options only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Update mailutils to 3.21 while aligning the port with upstream and
FreeBSD packaging without changing ABI.

New Features:
- Package the new uidnew sieve module libraries.
- Include the new Georgian (ka) NLS message catalog.

Enhancements:
- Remove obsolete local patches now integrated upstream.
- Drop two no-op post-patch reinplace operations while keeping the
remaining ones intact.
- Update distinfo for the 3.21 distfile while preserving the existing
shared library version and plist substitutions.

Chores:
- Synchronize the files/ patch set with FreeBSD by deleting
MidnightBSD-only patches that are no longer needed.

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