ef1489032f
Postfix 2.8 and later: * The postscreen_access_list feature failed to ignore case in the first character of a command (e.g., permit, reject, etc.). Reported by Francis Picabia. (This fix is incorrectly listed in the HISTORY files of earlier releases, and will be removed with a future patch.) All supported releases: * Strip the datalink suffix (e.g., %eth0) from IPv6 addresses returned by the system getaddrinfo() routine. Such suffixes break the default mynetworks value, the Postfix SMTP server's reverse/forward DNS name/address mapping check, and possibly more. * To eliminate the possibility of collisions with connection cache lookup keys, the Postfix LDAP client now computes those lookup keys by joining the number-valued connection properties with ASCII null, just like it already did with the string-valued connection properties. * There was a memory leak during one-time TLS library initialization (introduced with Postfix 2.5). Reported by Coverity. * There was a memory leak in the unused oqmgr(8) program (introduced with Postfix 2.3). Reported by Coverity.
101 lines
2.8 KiB
Text
101 lines
2.8 KiB
Text
$NetBSD: patch-ai,v 1.28 2012/12/13 16:23:14 taca Exp $
|
|
|
|
Make this pkgsrc friendly.
|
|
Add support for NetBSD 5.x, NetBSD 6.x and DragonFly BSD.
|
|
|
|
--- makedefs.orig 2012-12-12 22:49:32.000000000 +0000
|
|
+++ makedefs
|
|
@@ -148,6 +148,8 @@ case "$SYSTEM.$RELEASE" in
|
|
;;
|
|
FreeBSD.9*) SYSTYPE=FREEBSD9
|
|
;;
|
|
+ DragonFly.*) SYSTYPE=DRAGONFLY
|
|
+ ;;
|
|
OpenBSD.2*) SYSTYPE=OPENBSD2
|
|
;;
|
|
OpenBSD.3*) SYSTYPE=OPENBSD3
|
|
@@ -166,6 +168,10 @@ case "$SYSTEM.$RELEASE" in
|
|
;;
|
|
NetBSD.4*) SYSTYPE=NETBSD4
|
|
;;
|
|
+ NetBSD.5*) SYSTYPE=NETBSD5
|
|
+ ;;
|
|
+ NetBSD.6*) SYSTYPE=NETBSD6
|
|
+ ;;
|
|
BSD/OS.2*) SYSTYPE=BSDI2
|
|
;;
|
|
BSD/OS.3*) SYSTYPE=BSDI3
|
|
@@ -218,13 +224,6 @@ case "$SYSTEM.$RELEASE" in
|
|
esac
|
|
;;
|
|
ULTRIX.4*) SYSTYPE=ULTRIX4
|
|
- if [ -f /usr/local/lib/libdb.a ]; then
|
|
- SYSLIBS="$SYSLIBS -ldb"
|
|
- CCARGS="$CCARGS -DHAS_DB"
|
|
- if [ -d /usr/local/include/db ]; then
|
|
- CCARGS="$CCARGS -I/usr/local/include/db"
|
|
- fi
|
|
- fi
|
|
for l in syslog resolv; do
|
|
if [ -f /usr/local/lib/lib$l.a ]; then
|
|
SYSLIBS="$SYSLIBS -l$l"
|
|
@@ -262,25 +261,8 @@ case "$SYSTEM.$RELEASE" in
|
|
esac;;
|
|
# Tested with RedHat 3.03 on 20020729.
|
|
Linux.1*) SYSTYPE=LINUX1
|
|
- SYSLIBS="-ldb"
|
|
;;
|
|
Linux.2*) SYSTYPE=LINUX2
|
|
- # Postfix no longer needs DB 1.85 compatibility
|
|
- if [ -f /usr/include/db.h ]
|
|
- then
|
|
- : we are all set
|
|
- elif [ -f /usr/include/db/db.h ]
|
|
- then
|
|
- CCARGS="$CCARGS -I/usr/include/db"
|
|
- else
|
|
- # No, we're not going to try db1 db2 db3 etc.
|
|
- # On a properly installed system, Postfix builds
|
|
- # by including <db.h> and by linking with -ldb
|
|
- echo "No <db.h> include file found." 1>&2
|
|
- echo "Install the appropriate db*-devel package first." 1>&2
|
|
- echo "See the RELEASE_NOTES file for more information." 1>&2
|
|
- exit 1
|
|
- fi
|
|
# GDBM locks the DBM .pag file after open. This breaks postmap.
|
|
# if [ -f /usr/include/gdbm-ndbm.h ]
|
|
# then
|
|
@@ -291,7 +273,6 @@ case "$SYSTEM.$RELEASE" in
|
|
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'"
|
|
# GDBM_LIBS=gdbm
|
|
# fi
|
|
- SYSLIBS="-ldb"
|
|
for name in nsl resolv $GDBM_LIBS
|
|
do
|
|
for lib in /usr/lib64 /lib64 /usr/lib /lib
|
|
@@ -420,25 +401,13 @@ EOF
|
|
HP-UX.A.09.*) SYSTYPE=HPUX9
|
|
SYSLIBS=-ldbm
|
|
CCARGS="$CCARGS -DMISSING_USLEEP"
|
|
- if [ -f /usr/lib/libdb.a ]; then
|
|
- CCARGS="$CCARGS -DHAS_DB"
|
|
- SYSLIBS="$SYSLIBS -ldb"
|
|
- fi
|
|
;;
|
|
HP-UX.B.10.*) SYSTYPE=HPUX10
|
|
CCARGS="$CCARGS `nm /usr/lib/libc.a 2>/dev/null |
|
|
(grep usleep >/dev/null || echo '-DMISSING_USLEEP')`"
|
|
- if [ -f /usr/lib/libdb.a ]; then
|
|
- CCARGS="$CCARGS -DHAS_DB"
|
|
- SYSLIBS=-ldb
|
|
- fi
|
|
;;
|
|
HP-UX.B.11.*) SYSTYPE=HPUX11
|
|
SYSLIBS=-lnsl
|
|
- if [ -f /usr/lib/libdb.a ]; then
|
|
- CCARGS="$CCARGS -DHAS_DB"
|
|
- SYSLIBS="$SYSLIBS -ldb"
|
|
- fi
|
|
;;
|
|
ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix543
|
|
RANLIB=echo
|