summaryrefslogtreecommitdiff
path: root/mail/postfix/patches
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2009-05-13 10:33:23 +0000
committermartti <martti@pkgsrc.org>2009-05-13 10:33:23 +0000
commitdd12de79793082157b415e8d4deb6cecc243a6da (patch)
tree51e6cba556f5b6f21fca36cd77d4c93d83737ca3 /mail/postfix/patches
parentbe28cb00777060e0678542f253b750d83d86f073 (diff)
downloadpkgsrc-dd12de79793082157b415e8d4deb6cecc243a6da.tar.gz
Updated mail/postfix to 2.6.0
- Multi-instance support introduces a new postmulti(1) command to create/add/remove/etc. additional Postfix instances. The familiar "postfix start" etc. commands now automatically start multiple Postfix instances. The good news: nothing changes when you use only one Postfix instance. See MULTI_INSTANCE_README for details. - Multi-instance support required that some files be moved from the non-shared $config_directory to the shared $daemon_directory. The affected files are postfix-script, postfix-files and post-install. - TLS (SSL) support was updated for elliptic curve encryption. This requires OpenSSL version 0.9.9 or later. The SMTP client no longer uses the SSLv2 protocol by default. See TLS_README for details. - The Milter client now supports all Sendmail 8.14 Milter requests, including requests for rejected recipient addresses, and requests to replace the envelope sender address. See MILTER_README for details. - Postfix no longer adds (Resent-) From:, Date:, Message-ID: or To: headers to email messages with "remote" origins (these are origins that don't match $local_header_rewrite_clients). Adding such headers breaks DKIM signatures that explicitly cover non-present headers. For compatibility with existing logfile processing software, Postfix will log ``message-id=<>'' for email messages that have no Message-Id header. - Stress-adaptive behavior is now enabled by default. This allows the Postfix SMTP server to temporarily reduce time limits and error-count limits under conditions of overload, such as a malware attack or backscatter flood. See STRESS_README for details. No functionality has been removed, but it is a good idea to review the RELEASE_NOTES file for the usual minor incompatibilities or limitations.
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r--mail/postfix/patches/patch-ag10
-rw-r--r--mail/postfix/patches/patch-ai18
-rw-r--r--mail/postfix/patches/patch-as16
3 files changed, 22 insertions, 22 deletions
diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag
index 62796447e7f..cb18093d89a 100644
--- a/mail/postfix/patches/patch-ag
+++ b/mail/postfix/patches/patch-ag
@@ -1,10 +1,10 @@
-$NetBSD: patch-ag,v 1.27 2008/11/03 00:47:17 taca Exp $
+$NetBSD: patch-ag,v 1.28 2009/05/13 10:33:23 martti Exp $
Only define HAS_DB if it hasn't been defined.
Add support for NetBSD 5.x and DragonFly BSD.
---- src/util/sys_defs.h.orig 2008-01-15 09:51:44.000000000 +0900
-+++ src/util/sys_defs.h
+--- src/util/sys_defs.h.orig 2009-05-11 03:45:27.000000000 +0300
++++ src/util/sys_defs.h 2009-05-13 12:25:40.000000000 +0300
@@ -28,8 +28,8 @@
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
@@ -26,7 +26,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
#define HAS_SA_LEN
#define DEF_DB_TYPE "hash"
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
-@@ -155,9 +157,19 @@
+@@ -158,9 +160,19 @@
#define HAS_FUTIMES
#endif
@@ -46,7 +46,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
|| defined(USAGI_LIBINET6)
#ifndef NO_IPV6
# define HAS_IPV6
-@@ -166,14 +178,16 @@
+@@ -169,14 +181,16 @@
#if (defined(__FreeBSD_version) && __FreeBSD_version >= 300000) \
|| (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 103000000) \
diff --git a/mail/postfix/patches/patch-ai b/mail/postfix/patches/patch-ai
index b92c0e84d6f..e707a6c7276 100644
--- a/mail/postfix/patches/patch-ai
+++ b/mail/postfix/patches/patch-ai
@@ -1,11 +1,11 @@
-$NetBSD: patch-ai,v 1.24 2008/11/03 00:47:17 taca Exp $
+$NetBSD: patch-ai,v 1.25 2009/05/13 10:33:23 martti Exp $
Make this pkgsrc friendly.
Add support for NetBSD 5.x and DragonFly BSD.
---- makedefs.orig 2008-01-16 05:20:24.000000000 +0900
-+++ makedefs
-@@ -132,6 +132,8 @@ case "$SYSTEM.$RELEASE" in
+--- makedefs.orig 2009-05-12 00:26:46.000000000 +0300
++++ makedefs 2009-05-13 12:26:34.000000000 +0300
+@@ -144,6 +144,8 @@
;;
FreeBSD.7*) SYSTYPE=FREEBSD7
;;
@@ -14,7 +14,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
-@@ -148,6 +150,8 @@ case "$SYSTEM.$RELEASE" in
+@@ -160,6 +162,8 @@
;;
NetBSD.4*) SYSTYPE=NETBSD4
;;
@@ -23,7 +23,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
BSD/OS.2*) SYSTYPE=BSDI2
;;
BSD/OS.3*) SYSTYPE=BSDI3
-@@ -198,13 +202,6 @@ case "$SYSTEM.$RELEASE" in
+@@ -212,13 +216,6 @@
esac
;;
ULTRIX.4*) SYSTYPE=ULTRIX4
@@ -37,7 +37,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
for l in syslog resolv; do
if [ -f /usr/local/lib/lib$l.a ]; then
SYSLIBS="$SYSLIBS -l$l"
-@@ -236,25 +233,8 @@ case "$SYSTEM.$RELEASE" in
+@@ -250,25 +247,8 @@
esac;;
# Tested with RedHat 3.03 on 20020729.
Linux.1*) SYSTYPE=LINUX1
@@ -63,7 +63,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
# GDBM locks the DBM .pag file after open. This breaks postmap.
# if [ -f /usr/include/gdbm-ndbm.h ]
# then
-@@ -265,7 +245,6 @@ case "$SYSTEM.$RELEASE" in
+@@ -279,7 +259,6 @@
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'"
# GDBM_LIBS=gdbm
# fi
@@ -71,7 +71,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
for name in nsl resolv $GDBM_LIBS
do
for lib in /usr/lib64 /lib64 /usr/lib /lib
-@@ -360,25 +339,13 @@ EOF
+@@ -372,25 +351,13 @@
HP-UX.A.09.*) SYSTYPE=HPUX9
SYSLIBS=-ldbm
CCARGS="$CCARGS -DMISSING_USLEEP"
diff --git a/mail/postfix/patches/patch-as b/mail/postfix/patches/patch-as
index 06bb7d1bddc..b656ff9b2c7 100644
--- a/mail/postfix/patches/patch-as
+++ b/mail/postfix/patches/patch-as
@@ -1,10 +1,10 @@
-$NetBSD: patch-as,v 1.4 2008/10/16 09:40:20 martti Exp $
+$NetBSD: patch-as,v 1.5 2009/05/13 10:33:23 martti Exp $
Support for sqlite.
---- src/global/Makefile.in.orig 2007-12-06 14:49:03.000000000 +0100
-+++ src/global/Makefile.in
-@@ -4,7 +4,7 @@ SRCS = abounce.c anvil_clnt.c been_here.
+--- src/global/Makefile.in.orig 2009-02-13 03:25:05.000000000 +0200
++++ src/global/Makefile.in 2009-05-13 12:27:54.000000000 +0300
+@@ -4,7 +4,7 @@
clnt_stream.c conv_time.c db_common.c debug_peer.c debug_process.c \
defer.c deliver_completed.c deliver_flock.c deliver_pass.c \
deliver_request.c dict_ldap.c dict_mysql.c dict_pgsql.c \
@@ -13,7 +13,7 @@ Support for sqlite.
dsb_scan.c dsn.c dsn_buf.c dsn_mask.c dsn_print.c dsn_util.c \
ehlo_mask.c ext_prop.c file_id.c flush_clnt.c header_opts.c \
header_token.c input_transp.c int_filt.c is_header.c log_adhoc.c \
-@@ -34,7 +34,7 @@ OBJS = abounce.o anvil_clnt.o been_here.
+@@ -35,7 +35,7 @@
clnt_stream.o conv_time.o db_common.o debug_peer.o debug_process.o \
defer.o deliver_completed.o deliver_flock.o deliver_pass.o \
deliver_request.o dict_ldap.o dict_mysql.o dict_pgsql.o \
@@ -22,7 +22,7 @@ Support for sqlite.
dsb_scan.o dsn.o dsn_buf.o dsn_mask.o dsn_print.o dsn_util.o \
ehlo_mask.o ext_prop.o file_id.o flush_clnt.o header_opts.o \
header_token.o input_transp.o int_filt.o is_header.o log_adhoc.o \
-@@ -63,7 +63,7 @@ HDRS = abounce.h anvil_clnt.h been_here.
+@@ -65,7 +65,7 @@
canon_addr.h cfg_parser.h cleanup_user.h clnt_stream.h config.h \
conv_time.h db_common.h debug_peer.h debug_process.h defer.h \
deliver_completed.h deliver_flock.h deliver_pass.h deliver_request.h \
@@ -31,7 +31,7 @@ Support for sqlite.
dot_lockfile.h dot_lockfile_as.h dsb_scan.h dsn.h dsn_buf.h \
dsn_mask.h dsn_print.h dsn_util.h ehlo_mask.h ext_prop.h \
file_id.h flush_clnt.h header_opts.h header_token.h input_transp.h \
-@@ -860,6 +860,13 @@ dict_proxy.o: dict_proxy.c
+@@ -862,6 +862,13 @@
dict_proxy.o: dict_proxy.h
dict_proxy.o: mail_params.h
dict_proxy.o: mail_proto.h
@@ -45,7 +45,7 @@ Support for sqlite.
domain_list.o: ../../include/match_list.h
domain_list.o: ../../include/match_ops.h
domain_list.o: ../../include/sys_defs.h
-@@ -1219,6 +1226,7 @@ mail_dict.o: dict_ldap.h
+@@ -1233,6 +1240,7 @@
mail_dict.o: dict_mysql.h
mail_dict.o: dict_pgsql.h
mail_dict.o: dict_proxy.h