summaryrefslogtreecommitdiff
path: root/mail/postfix
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2008-01-14 13:29:24 +0000
committerghen <ghen@pkgsrc.org>2008-01-14 13:29:24 +0000
commit3123485e39f12f169bbbc9108a467f7fb4f0f2c5 (patch)
treefe8a504a9835f8a4c85625caf1384c2703514e32 /mail/postfix
parent67ab70c02fc5fd19fd089d2337bc8bdde64fa3ff (diff)
downloadpkgsrc-3123485e39f12f169bbbc9108a467f7fb4f0f2c5.tar.gz
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 (limited to 'mail/postfix')
-rw-r--r--mail/postfix/distinfo5
-rw-r--r--mail/postfix/options.mk13
2 files changed, 15 insertions, 3 deletions
diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo
index 57ef596ab2e..3dd716afad2 100644
--- a/mail/postfix/distinfo
+++ b/mail/postfix/distinfo
@@ -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 --git a/mail/postfix/options.mk b/mail/postfix/options.mk
index 1603d9d420e..3b5d1d0e4b0 100644
--- a/mail/postfix/options.mk
+++ b/mail/postfix/options.mk
@@ -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 @@ DEPENDS+= dovecot-[0-9]*:../../mail/dovecot
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