pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/postfix
Module Name: pkgsrc
Committed By: taca
Date: Mon May 4 23:58:58 UTC 2026
Modified Files:
pkgsrc/mail/postfix: Makefile.common distinfo
pkgsrc/mail/postfix/patches: patch-ag patch-ai
Log Message:
mail/postfix: update to 3.11.2
Postfix 3.11.2 (2026-05-03)
Fixed in Postfix 3.11:
* Bugfix (defect introduced: Postfix 3.11): the proxymap(8) daemon
dereferenced an uninitialized pointer after a request protocol
error. This daemon is not exposed to local or remote users.
Found by Claude Opus 4.6.
* Bugfix (defect introduced: 20260309) a change, to set the
service_name default value to "amnesiac", violated a test that
parameter names in postconf output must match 1:1 with parameter
names in the postlink script.
Fixed in Postfix 3.8, 3.9, 3.10. 3.11:
* Portability: support for recent FreeBSD, NetBSD, and OpenBSD
versions. Brad Smith.
* Bugfix (defect introduced: Postfix 2.2, date 20041207): When
truncating a database file, the cdb: database client looked at
the file size from before requesting an exclusive lock on a
database file, instead of the file size after the exclusive
lock was granted. Found by Claude Opus 4.6.
* Bugfix (defect introduced: Postfix alpha, date 19980309): file
descriptor leak after fork() failure. Found by Claude Opus 4.6.
* Mistakes in debug logging. Found by Claude Opus 4.6. This
affected two files in Postfix 3.8 and 3.9, three files in Postfix
3.10 and 3.11.
* Unchecked null pointer results after an out-of-memory condition
in a library dependency. Found by Claude Opus 4.6. The fix is
to return an error status or to log a fatal error. This affected
three source files.
* Missing or incomplete guards for ssize_t or int overflow, found
by Claude Opus 4.6. This affected three source files. These
limits are unlikely to be exceeded because the size of in-memory
objects is limited by design (the number of in-memory objects
is also limited).
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/mail/postfix/Makefile.common
cvs rdiff -u -r1.222 -r1.223 pkgsrc/mail/postfix/distinfo
cvs rdiff -u -r1.42 -r1.43 pkgsrc/mail/postfix/patches/patch-ag
cvs rdiff -u -r1.47 -r1.48 pkgsrc/mail/postfix/patches/patch-ai
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/postfix/Makefile.common
diff -u pkgsrc/mail/postfix/Makefile.common:1.63 pkgsrc/mail/postfix/Makefile.common:1.64
--- pkgsrc/mail/postfix/Makefile.common:1.63 Wed Mar 11 15:25:57 2026
+++ pkgsrc/mail/postfix/Makefile.common Mon May 4 23:58:58 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.63 2026/03/11 15:25:57 taca Exp $
+# $NetBSD: Makefile.common,v 1.64 2026/05/04 23:58:58 taca Exp $
# used by mail/postfix/Makefile
# used by mail/postfix/Makefile.module
-DISTNAME= postfix-3.11.1
+DISTNAME= postfix-3.11.2
CATEGORIES= mail
MASTER_SITES= https://ftp.fu-berlin.de/unix/mail/postfix/official/
MASTER_SITES+= https://ghostarchive.org/postfix/postfix-release/official/
Index: pkgsrc/mail/postfix/distinfo
diff -u pkgsrc/mail/postfix/distinfo:1.222 pkgsrc/mail/postfix/distinfo:1.223
--- pkgsrc/mail/postfix/distinfo:1.222 Wed Mar 11 15:25:57 2026
+++ pkgsrc/mail/postfix/distinfo Mon May 4 23:58:58 2026
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.222 2026/03/11 15:25:57 taca Exp $
+$NetBSD: distinfo,v 1.223 2026/05/04 23:58:58 taca Exp $
-BLAKE2s (postfix-3.11.1.tar.gz) = d274a961a7cd7be88c5263b3492e80204575b090c55b24ffa4a234f518b341eb
-SHA512 (postfix-3.11.1.tar.gz) = 065aee35d462a7121ef870f1af5b3d7efedd08e18f18c5d04d7c731b3b051ab8f70499cbdcea6cb559fbfb2115ff39509fa145abf6e99dade232ac4943d178d1
-Size (postfix-3.11.1.tar.gz) = 5280696 bytes
+BLAKE2s (postfix-3.11.2.tar.gz) = c3275c1b41f599754ee6181cf63ba028f6a6f782b8888e36361962cd3e744ac0
+SHA512 (postfix-3.11.2.tar.gz) = 1929bd640bbc0952dc3057fa46990fce23b968ef69e8c051d7f5661c5a99f36657983aa0c0f621430abfe0cf6c1ad5c88a00372864b1093f25cf8fcb1477f119
+Size (postfix-3.11.2.tar.gz) = 5282053 bytes
SHA1 (patch-aa) = c8216f133e202a7bb37682b0dbc1448f021e7c1c
-SHA1 (patch-ag) = 8ab3cfafa63056f9a7f096da7e55bcccab965180
-SHA1 (patch-ai) = 1ffcc1a06ffcd382d2f34821e0d3ef1d22886e08
+SHA1 (patch-ag) = 5b6f0e82ce8202d76043130392c4c76737b155d7
+SHA1 (patch-ai) = 765faa3f959ab0669055d3742a2a2cfc3b454235
SHA1 (patch-src_smtpd_Makefile.in) = 8133f9cceb0c1c0250d6543cb060c66288571722
SHA1 (patch-src_smtpd_pfilter.c) = c747d2f3584f694eb7b73b19118b4d8b450cfe7f
SHA1 (patch-src_smtpd_pfilter.h) = 153b516da89d709d293c6086c2f126791bd945d6
Index: pkgsrc/mail/postfix/patches/patch-ag
diff -u pkgsrc/mail/postfix/patches/patch-ag:1.42 pkgsrc/mail/postfix/patches/patch-ag:1.43
--- pkgsrc/mail/postfix/patches/patch-ag:1.42 Thu Jul 21 15:08:39 2022
+++ pkgsrc/mail/postfix/patches/patch-ag Mon May 4 23:58:58 2026
@@ -1,24 +1,20 @@
-$NetBSD: patch-ag,v 1.42 2022/07/21 15:08:39 taca Exp $
+$NetBSD: patch-ag,v 1.43 2026/05/04 23:58:58 taca Exp $
* Add common support for NetBSD.
* Only define HAS_DB if it hasn't been defined.
* Add support for FreeBSD 11 and 12.
---- src/util/sys_defs.h.orig 2021-12-05 18:59:27.000000000 +0000
+--- src/util/sys_defs.h.orig 2026-05-01 18:55:47.000000000 +0000
+++ src/util/sys_defs.h
-@@ -35,10 +35,7 @@
- || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
- || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
- || defined(OPENBSD5) || defined(OPENBSD6) || defined(OPENBSD7) \
-- || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
-- || defined(NETBSD4) || defined(NETBSD5) || defined(NETBSD6) \
-- || defined(NETBSD7) | defined(NETBSD8) || defined(NETBSD9) \
-- || defined(NETBSD10) \
+@@ -40,6 +40,7 @@
+ || defined(NETBSD4) || defined(NETBSD5) || defined(NETBSD6) \
+ || defined(NETBSD7) | defined(NETBSD8) || defined(NETBSD9) \
+ || defined(NETBSD10) || defined(NETBSD11) || defined(NETBSD12) \
+ || defined(NETBSD) \
|| defined(EKKOBSD1) || defined(DRAGONFLY)
#define SUPPORTED
#include <sys/param.h>
-@@ -51,7 +48,9 @@
+@@ -52,7 +53,9 @@
#define DEF_MAILBOX_LOCK "flock, dotlock"
#define HAS_SUN_LEN
#define HAS_FSYNC
@@ -28,7 +24,7 @@ $NetBSD: patch-ag,v 1.42 2022/07/21 15:0
#define HAS_SA_LEN
#define NATIVE_DB_TYPE "hash"
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
-@@ -1257,6 +1256,8 @@ extern int h_errno;
+@@ -1263,6 +1266,8 @@ extern int h_errno;
#define DEF_SMTP_CACHE_DEMAND 0
#endif
Index: pkgsrc/mail/postfix/patches/patch-ai
diff -u pkgsrc/mail/postfix/patches/patch-ai:1.47 pkgsrc/mail/postfix/patches/patch-ai:1.48
--- pkgsrc/mail/postfix/patches/patch-ai:1.47 Sun Mar 8 14:13:42 2026
+++ pkgsrc/mail/postfix/patches/patch-ai Mon May 4 23:58:58 2026
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.47 2026/03/08 14:13:42 taca Exp $
+$NetBSD: patch-ai,v 1.48 2026/05/04 23:58:58 taca Exp $
1) Add shlib definitions for NetBSD 5; the build system must be
hard-coded per OS per version. Not yet reported upstream.
@@ -9,9 +9,9 @@ hard-coded per OS per version. Not yet
4) Add blocklist(3) support.
---- makedefs.orig 2026-03-05 15:59:44.000000000 +0000
+--- makedefs.orig 2026-05-01 18:55:47.000000000 +0000
+++ makedefs
-@@ -353,6 +353,15 @@ case "$SYSTEM.$RELEASE" in
+@@ -371,6 +371,15 @@ case "$SYSTEM.$RELEASE" in
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
: ${PLUGIN_LD="${CC} -shared"}
;;
@@ -27,11 +27,11 @@ hard-coded per OS per version. Not yet
DragonFly.*) SYSTYPE=DRAGONFLY
;;
OpenBSD.2*) SYSTYPE=OPENBSD2
-@@ -390,49 +399,7 @@ case "$SYSTEM.$RELEASE" in
+@@ -417,65 +426,7 @@ case "$SYSTEM.$RELEASE" in
;;
ekkoBSD.1*) SYSTYPE=EKKOBSD1
;;
-- NetBSD.1*) SYSTYPE=NETBSD1
+- NetBSD.1.*) SYSTYPE=NETBSD1
- ;;
- NetBSD.2*) SYSTYPE=NETBSD2
- ;;
@@ -74,11 +74,27 @@ hard-coded per OS per version. Not yet
- : ${PLUGIN_LD="${CC-gcc} -shared"}
- ;;
- NetBSD.10*) SYSTYPE=NETBSD10
+- : ${SHLIB_SUFFIX=.so}
+- : ${SHLIB_CFLAGS=-fPIC}
+- : ${SHLIB_LD="${CC-gcc} -shared"' -Wl,-soname,${LIB}'}
+- : ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'}
+- : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+- : ${PLUGIN_LD="${CC-gcc} -shared"}
+- ;;
+- NetBSD.11*) SYSTYPE=NETBSD11
+- : ${SHLIB_SUFFIX=.so}
+- : ${SHLIB_CFLAGS=-fPIC}
+- : ${SHLIB_LD="${CC-gcc} -shared"' -Wl,-soname,${LIB}'}
+- : ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'}
+- : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+- : ${PLUGIN_LD="${CC-gcc} -shared"}
+- ;;
+- NetBSD.12*) SYSTYPE=NETBSD12
+ NetBSD*) SYSTYPE=NETBSD
: ${SHLIB_SUFFIX=.so}
: ${SHLIB_CFLAGS=-fPIC}
: ${SHLIB_LD="${CC-gcc} -shared"' -Wl,-soname,${LIB}'}
-@@ -507,13 +474,6 @@ case "$SYSTEM.$RELEASE" in
+@@ -550,13 +501,6 @@ case "$SYSTEM.$RELEASE" in
esac
;;
ULTRIX.4*) SYSTYPE=ULTRIX4
@@ -92,7 +108,7 @@ hard-coded per OS per version. Not yet
for l in syslog resolv; do
if [ -f /usr/local/lib/lib$l.a ]; then
SYSLIBS="$SYSLIBS -l$l"
-@@ -555,34 +515,8 @@ case "$SYSTEM.$RELEASE" in
+@@ -598,34 +542,8 @@ case "$SYSTEM.$RELEASE" in
esac;;
# Tested with RedHat 3.03 on 20020729.
Linux.1*) SYSTYPE=LINUX1
@@ -127,7 +143,7 @@ hard-coded per OS per version. Not yet
for name in nsl resolv $GDBM_LIBS
do
for lib in /usr/lib64 /lib64 /usr/lib /lib
-@@ -685,25 +619,6 @@ EOF
+@@ -728,25 +646,6 @@ EOF
;;
GNU.0*|GNU/kFreeBSD.[567]*)
SYSTYPE=GNU0
@@ -153,7 +169,7 @@ hard-coded per OS per version. Not yet
for name in nsl resolv
do
for lib in /usr/lib64 /lib64 /usr/lib /lib
-@@ -734,26 +649,14 @@ EOF
+@@ -777,26 +676,14 @@ EOF
HP-UX.A.09.*) SYSTYPE=HPUX9
SYSLIBS=-ldbm
CCARGS="$CCARGS -DMISSING_USLEEP -DNO_SNPRINTF"
@@ -180,7 +196,7 @@ hard-coded per OS per version. Not yet
;;
ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix543
RANLIB=echo
-@@ -801,12 +704,12 @@ ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix5
+@@ -844,12 +731,12 @@ ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix5
esac
: ${SHLIB_CFLAGS=-fPIC}
: ${SHLIB_SUFFIX=.dylib}
@@ -195,7 +211,7 @@ hard-coded per OS per version. Not yet
;;
dcosx.1*) SYSTYPE=DCOSX1
RANLIB=echo
-@@ -830,6 +733,21 @@ ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix5
+@@ -873,6 +760,36 @@ ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix5
esac
#
@@ -214,6 +230,21 @@ hard-coded per OS per version. Not yet
+esac
+
+#
++# Support for blocklist(3) or blacklist(3).
++#
++case "$CCARGS" in
++ *-DUSE_BLOCKLIST*)
++ if test -f /usr/include/blocklist.h; then
++ CCARGS="$CCARGS -DHAVE_BLOCKLIST"
++ SYSLIBS="$SYSLIBS -lblocklist"
++ elif test -f /usr/include/blacklist.h; then
++ CCARGS="$CCARGS -DHAVE_BLACKLIST"
++ SYSLIBS="$SYSLIBS -lblacklist"
++ fi
++ ;;
++esac
++
++#
# sigsetjmp()/siglongjmp() can be "better" than setjmp()/longjmp()
# if used wisely (that is: almost never, just like signals).
# Unfortunately some implementations have been buggy in the past.
Home |
Main Index |
Thread Index |
Old Index