pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postfix Add the postfix stress-adaptive behaviour...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7829e66e70c7
branches:  trunk
changeset: 537708:7829e66e70c7
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Mon Jan 14 13:29:24 2008 +0000

description:
Add the postfix stress-adaptive behaviour patch via an option "postfix-stress"
(disabled by default).  This functionality will be included in Postfix 2.5 but
has been proven very succesful on the mailing lists so Wietse provided a patch
for Postfix 2.3 and 2.4.

See http://www.postfix.org/STRESS_README.html#adapt for configuration details.

diffstat:

 mail/postfix/distinfo   |   5 ++++-
 mail/postfix/options.mk |  13 +++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 532d29d70d9f -r 7829e66e70c7 mail/postfix/distinfo
--- a/mail/postfix/distinfo     Mon Jan 14 12:54:10 2008 +0000
+++ b/mail/postfix/distinfo     Mon Jan 14 13:29:24 2008 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.114 2007/10/22 06:15:19 martti Exp $
+$NetBSD: distinfo,v 1.115 2008/01/14 13:29:24 ghen Exp $
 
+SHA1 (postfix/postfix-2.4-stress-patch.gz) = fa0f7f01358c8dde1757f1c98806bb1585e487c3
+RMD160 (postfix/postfix-2.4-stress-patch.gz) = 0f96dda904a40a60cd1e26d20ad3cee0af4a4e7d
+Size (postfix/postfix-2.4-stress-patch.gz) = 2947 bytes
 SHA1 (postfix/postfix-2.4.6.tar.gz) = 226222707fd8d963d3173070cac96370c453ffa7
 RMD160 (postfix/postfix-2.4.6.tar.gz) = 115b3a4eb982701e29db2e52e294ec8ee69bdae5
 Size (postfix/postfix-2.4.6.tar.gz) = 2935249 bytes
diff -r 532d29d70d9f -r 7829e66e70c7 mail/postfix/options.mk
--- a/mail/postfix/options.mk   Mon Jan 14 12:54:10 2008 +0000
+++ b/mail/postfix/options.mk   Mon Jan 14 13:29:24 2008 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.25 2007/04/29 19:27:35 tron Exp $
+# $NetBSD: options.mk,v 1.26 2008/01/14 13:29:25 ghen Exp $
 
 # Global and legacy options
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.postfix
-PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl tls dovecot-sasl
+PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl tls dovecot-sasl postfix-stress
 PKG_SUGGESTED_OPTIONS= tls
 
 .include "../../mk/bsd.options.mk"
@@ -110,3 +110,12 @@
 
 CCARGS+=       -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\"
 .endif
+
+###
+### Postfix stress-adaptive behaviour, back-ported from Postfix 2.5
+### See http://www.postfix.org/STRESS_README.html#adapt
+###
+.if !empty(PKG_OPTIONS:Mpostfix-stress)
+PATCHFILES=    postfix-2.4-stress-patch.gz
+PATCH_SITES=   ${MASTER_SITES}
+.endif



Home | Main Index | Thread Index | Old Index