[Midnightbsd-cvs] [MidnightBSD/mports] 9c7891: mail/postfix: update to 3.11.5 (#700)
Lucas Holt
noreply at github.com
Fri Aug 7 19:30:48 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 9c78910127d4809a2ab9e373fe56b656c207f7e2
https://github.com/MidnightBSD/mports/commit/9c78910127d4809a2ab9e373fe56b656c207f7e2
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-07 (Fri, 07 Aug 2026)
Changed paths:
M mail/postfix/Makefile
M mail/postfix/distinfo
M mail/postfix/files/patch-conf_main.cf
R mail/postfix/files/patch-src_util_sys__defs.h
M mail/postfix/pkg-plist
Log Message:
-----------
mail/postfix: update to 3.11.5 (#700)
Update `mail/postfix` from 3.11.1 to 3.11.5.
## Patch set
- **Removed** `patch-src_util_sys__defs.h` — upstream 3.11.5 already has
`|| defined(FREEBSD14) || defined(FREEBSD15) || defined(FREEBSD16)` in
the 4.4BSD block, so the hunk hard-failed. FreeBSD dropped their
equivalent at 3.11.2. Not needed for MidnightBSD regardless, since
`patch-makedefs` maps `MidnightBSD.4*` to `SYSTYPE=FREEBSD12`.
- **Rewrote** `patch-conf_main.cf` — upstream reshuffled the tail of
`conf/main.cf` in 3.11.2 (added a `meta_directory` block;
`inet_protocols` moved from ~684 to 694). The old patch reported as
cleanly applied but landed at the wrong anchor via fuzz, leaving
upstream's trailing `inet_protocols = ipv4` in place. Being last, it
would have **overridden** our intended `inet_protocols = all` and
silently disabled IPv6. Re-anchored against the new hunk; both
MidnightBSD-specific lines (`inet_protocols = all`, `smtp_tls_CApath =
/etc/ssl/certs`) preserved.
- Unchanged and still applying cleanly: `patch-makedefs`,
`patch-src_tls_tls__server.c`, `extra-patch-blacklistd`.
## pkg-plist
Adds four `nbdb` entries and `nbdb_reindexd` to `STRIP_LIBEXEC`. **These
are 3.11.1 omissions, not 3.11.5 additions** — FreeBSD's pkg-plist is
byte-identical across 3.11.1→3.11.5, and the mports 3.11.1 bump touched
only Makefile and distinfo. The binaries were already being built and
staged.
## Verification
`makesum`, `patch`, `build`, `fake`, `package` all succeeded →
`postfix-3.11.5,1.mport`. Staged tree cross-checked against the
generated `.PLIST.mktmp` in both directions. distinfo matches FreeBSD's
3.11.5 byte-for-byte.
LICENSE unchanged (dual EPL 2.0 + IPL 1.0). No shlib version change, so
no dependent bumps needed.
**Not validated:** only the `default` flavor was built, on amd64. The
ldap/mongo/mysql/pgsql/sasl/sqlite flavors were not exercised.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Update the postfix port to release 3.11.5 and align packaging and
patches with the current upstream layout.
Enhancements:
- Adjust STRIP_LIBEXEC to include nbdb-related helpers that were already
built but previously omitted from stripping.
Tests:
- Verify makesum, patch, build, fake, and package for the default amd64
flavor against the updated distfile.
Chores:
- Refresh or drop local patches to match upstream 3.11.5, including
reanchoring main.cf customizations and removing a now-redundant
sys_defs.h patch.
- Sync pkg-plist entries with the built tree, adding the nbdb and
nbdb_reindexd binaries that were already present in prior releases.
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