summaryrefslogtreecommitdiff
path: root/mail/spamassassin/options.mk
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2006-03-13 21:11:57 +0000
committerheinz <heinz@pkgsrc.org>2006-03-13 21:11:57 +0000
commit91b905e691f28474bcf89686517c6953db6bc6d5 (patch)
treec0ab819b73a9c1afa22a5df5440bff2b950fe82c /mail/spamassassin/options.mk
parente4aaa28118aa4bcf250f83b1fbe9274fc695344f (diff)
downloadpkgsrc-91b905e691f28474bcf89686517c6953db6bc6d5.tar.gz
Updated to version 3.1.1.
Pkgsrc changes: - Generic option "online-tests" replaces "spamassassin-test-net". - Removed underscore from package-internal variables (pkglint complained). - patch-ay disables the SPF plugin to avoid confusing warnings in the log files. - patch-az fixes http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4826. Relevant changes since version 3.1.0: ===================================== - better validate a number of different configuration options - support new Mail::DomainKeys API, which changed incompatibly between 0.18 and 0.80 without warning - more properly handle new Received header formats - bug 4788: backport sa-update from 3.2 along with the local_state_dir code, etc. - bug 4760: strictly validate trusted/internal network configurations - bug 4696: consolidated fixes for timeout bugs - bug 3710: add timeout to connect so spamc -t works - bug 4363: if a message uses CRLF for line endings, use it for header rewrites as well - bug 4748: add ExpressionEngine and Google redirector patterns - bug 3815: add _RELAYCOUNTRY_ tag so that the RelayCountry plugin can put in the list of countries relayed through - bug 4090: x86_64 platforms (linux specifically) have an issue compiling libspamc.so causing RPM build failures - bug 4791: fix issue where perl would throw a UTF-8 warning for certain messages - bugs 4606, 4609: Adjust MIME parsing limits - bug 4780: fix IP_ADDRESS & LOCALHOST regexes to correctly parse IPv6 addresses - bug 4728: DUL rules should only use the last external IP, not all but the first of the external IPs - bug 4700: certain privileged configuration settings can inject code, due to a bad fix for bug 3846. Back that out
Diffstat (limited to 'mail/spamassassin/options.mk')
-rw-r--r--mail/spamassassin/options.mk35
1 files changed, 18 insertions, 17 deletions
diff --git a/mail/spamassassin/options.mk b/mail/spamassassin/options.mk
index df04988a21f..c37695c9172 100644
--- a/mail/spamassassin/options.mk
+++ b/mail/spamassassin/options.mk
@@ -1,20 +1,21 @@
-# $NetBSD: options.mk,v 1.4 2005/11/13 22:48:32 heinz Exp $
+# $NetBSD: options.mk,v 1.5 2006/03/13 21:11:57 heinz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spamassassin
PKG_SUPPORTED_OPTIONS= \
+ online-tests \
spamassassin-perl-warnings \
spamassassin-taint-checks \
spamassassin-test-awl-sql \
spamassassin-test-bayes-sql \
- spamassassin-test-net \
spamassassin-test-prefork \
ssl
PKG_OPTIONS_LEGACY_OPTS+= \
awl-sql-tests:spamassassin-test-awl-sql \
bayes-sql-tests:spamassassin-test-bayes-sql \
- net-tests:spamassassin-test-net \
+ net-tests:online-tests \
perl-taint-checks:spamassassin-taint-checks \
- perl-warnings:spamassassin-perl-warnings
+ perl-warnings:spamassassin-perl-warnings \
+ spamassassin-test-net:online-tests
#
# Default options
@@ -31,10 +32,10 @@ SUBST_CLASSES+= satests
SUBST_STAGE.satests= post-configure
SUBST_FILES.satests= t/config
SUBST_SED.satests= \
- -e s!awl_sql_tests=n!awl_sql_tests=${_AWL_SQL_TEST}! \
- -e s!bayes_sql_tests=n!bayes_sql_tests=${_BAYES_SQL_TEST}! \
- -e s!run_net_tests=n!run_net_tests=${_NET_TEST}! \
- -e s!prefork_stress_test=n!prefork_stress_test=${_PREFORK_TEST}!
+ -e s!awl_sql_tests=n!awl_sql_tests=${AWL_SQL_TEST}! \
+ -e s!bayes_sql_tests=n!bayes_sql_tests=${BAYES_SQL_TEST}! \
+ -e s!run_net_tests=n!run_net_tests=${NET_TEST}! \
+ -e s!prefork_stress_test=n!prefork_stress_test=${PREFORK_TEST}!
#
# Enable tests of the SQL storage module for the automatic whitelist
@@ -42,9 +43,9 @@ SUBST_SED.satests= \
# configuration during 'configure' phase.
#
.if !empty(PKG_OPTIONS:Mspamassassin-test-awl-sql)
-_AWL_SQL_TEST=y
+AWL_SQL_TEST=y
.else
-_AWL_SQL_TEST=n
+AWL_SQL_TEST=n
.endif
#
@@ -53,18 +54,18 @@ _AWL_SQL_TEST=n
# configuration during 'configure' phase.
#
.if !empty(PKG_OPTIONS:Mspamassassin-test-bayes-sql)
-_BAYES_SQL_TEST=y
+BAYES_SQL_TEST=y
.else
-_BAYES_SQL_TEST=n
+BAYES_SQL_TEST=n
.endif
#
# Enable Internet based tests during 'make test' (Razor, Pyzor, etc.)
#
-.if !empty(PKG_OPTIONS:Mspamassassin-test-net)
-_NET_TEST=y
+.if !empty(PKG_OPTIONS:Monline-tests)
+NET_TEST=y
.else
-_NET_TEST=n
+NET_TEST=n
.endif
#
@@ -90,9 +91,9 @@ MAKE_PARAMS+= PERL_TAINT=no
# string 'spam child' in their process title).
#
.if !empty(PKG_OPTIONS:Mspamassassin-test-prefork)
-_PREFORK_TEST=y
+PREFORK_TEST=y
.else
-_PREFORK_TEST=n
+PREFORK_TEST=n
.endif
#