summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalo <salo>2006-06-07 21:28:47 +0000
committersalo <salo>2006-06-07 21:28:47 +0000
commita8f055be623fd3f4dda6e518e84a56d0c4c5aee5 (patch)
tree8dc90988b8f611d7e5529b236a8802580b7f9e19
parent929329bd6ed9870183d0423201723fad4e0eda56 (diff)
downloadpkgsrc-a8f055be623fd3f4dda6e518e84a56d0c4c5aee5.tar.gz
Pullup ticket 1693 - requested by heinz
security update for spamassassin Revisions pulled up: - pkgsrc/mail/spamassassin/Makefile 1.71, 1.72 - pkgsrc/mail/spamassassin/PLIST 1.19 - pkgsrc/mail/spamassassin/distinfo 1.37, 1.38 - pkgsrc/mail/spamassassin/options.mk 1.6 - pkgsrc/mail/spamassassin/patches/patch-ab 1.12 - pkgsrc/mail/spamassassin/patches/patch-ad removed - pkgsrc/mail/spamassassin/patches/patch-az removed Module Name: pkgsrc Committed By: heinz Date: Fri May 26 20:53:00 UTC 2006 Modified Files: pkgsrc/mail/spamassassin: Makefile PLIST distinfo options.mk pkgsrc/mail/spamassassin/patches: patch-ab Added Files: pkgsrc/mail/spamassassin/patches: patch-bb Removed Files: pkgsrc/mail/spamassassin/patches: patch-ad patch-az Log Message: Updated to version 3.1.2. Pkgsrc changes: - The updates for rule files go into $VARBASE/spamassassin/. - This above directory and the directory sa-update-keys for the GPG keys are now handled automatically by OWN_DIRS. - The growing number of *.pre files are managed in a loop in the Makefile. They are no longer contained in the static PLIST. - Removed some unnecessary trailing slashes. - Patching init.pre in order to disable the SPF plugin broke the spf.t test. This is now fixed, although in a rather ugly way :-/. - patch-ab no longer needs to use BSD_INSTALL_DATA_DIR because we create the directories through INSTALLATION_DIRS. - patch-ad and patch-az were removed (changes integrated upstream). - patch-bb fixes a small documentation error. - Fixed some warnings by pkglint about the SUBST framework in Makefile and options.mk. Relevant changes since version 3.1.1: ===================================== - bug 4802: implement DKIM plugin, including whitelist_from_dkim support - bug 3838: work around Perl bug causing captured RE variables to become tainted -- thanks to Mark Martinec for pointing out the bug with Perl itself - bug 4850: re-enable the Razor2 plugin by default due to a service policy change - bug 4826: Razor2 plugin needs to load Mail::SpamAssassin::Timeout module - bug 4827: M::SA::first_existing_path() would return the last array entry passed in if none of the paths were found. Now return undef instead and handle the error when it happens. - bug 4813: generally open RE causes sendmail received header get read in as qmail in error - bug 4839: Logger.pm converts control chars including tab into underscores which confuses a bunch of users when checking debug output. Convert tab into space instead, etc. - bug 4884: if a null message is passed in, there are several variables which end up undefined causing warnings. fake an empty message if no input is given. - bug 4793: when replacing tags in a message (_TAG_), leave the tags that don't exist alone instead of just removing them - bug 4861, 4760: handle dccifd and dccproc failover properly, backport relays_internal and relays_external code, backport bug 4760 fix so that it's not possible to be in internal_networks without being in trusted_networks as well - bug 4901: deal more properly with failures in bgsend(). also, use the proper variable to show when errors occur. - bug 4867: fetchmail changed header formats at some point making Received parsing fail in certain conditions - bug 4699: use M::SA::Timeout for spamd copy_config call and allow for empty $@ values - bug 3754: if there's a problem opening a file via sa-learn or spamassassin, return an error exit value. --- Module Name: pkgsrc Committed By: heinz Date: Mon Jun 5 23:01:01 UTC 2006 Modified Files: pkgsrc/mail/spamassassin: Makefile distinfo Removed Files: pkgsrc/mail/spamassassin/patches: patch-bb Log Message: Updated to version 3.1.3. Pkgsrc changes: - patch-bb for no longer necessary (integrated upstream). Changes since version 3.1.2: ============================ - bug 4926: given a certain set of parameters to spamd and a specially formatted input message, users could cause spamd to execute arbitrary commands as the spamd user - bug 4932: the userstate dir and userprefs file would not be created under certain conditions.
-rw-r--r--mail/spamassassin/Makefile66
-rw-r--r--mail/spamassassin/PLIST4
-rw-r--r--mail/spamassassin/distinfo12
-rw-r--r--mail/spamassassin/options.mk11
-rw-r--r--mail/spamassassin/patches/patch-ab18
-rw-r--r--mail/spamassassin/patches/patch-ad43
-rw-r--r--mail/spamassassin/patches/patch-az12
7 files changed, 63 insertions, 103 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index b989e7b9c35..bfbd89c930a 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.70 2006/03/24 19:46:10 heinz Exp $
+# $NetBSD: Makefile,v 1.70.2.1 2006/06/07 21:28:47 salo Exp $
-DISTNAME= Mail-SpamAssassin-3.1.1
-PKGNAME= spamassassin-3.1.1
-PKGREVISION= 1
+DISTNAME= Mail-SpamAssassin-3.1.3
+PKGNAME= spamassassin-3.1.3
SVR4_PKGNAME= sa
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:=spamassassin/source/}
@@ -16,7 +15,7 @@ COMMENT= Mail filter to identify spam
DEPENDS+= p5-Net-DNS>=0.34:../../net/p5-Net-DNS
DEPENDS+= p5-HTML-Parser>=3.31:../../www/p5-HTML-Parser
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
-DEPENDS+= {p5-MIME-Base64>=2.11,perl{,-thread}>=5.8.0}:../../converters/p5-MIME-Base64
+DEPENDS+= {p5-MIME-Base64>=2.11,perl>=5.8.0}:../../converters/p5-MIME-Base64
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
DEPENDS+= p5-Archive-Tar-[0-9]*:../../archivers/p5-Archive-Tar
DEPENDS+= p5-IO-Zlib-[0-9]*:../../devel/p5-IO-Zlib
@@ -53,11 +52,12 @@ PERL5_CONFIGURE= NO # we need the default "do-configure" target
PERL5_CONFIGURE_DIRS= ${WRKSRC}
# test t/meta needs this
-REPLACE_PERL= masses/parse-rules-for-masses
+REPLACE_PERL+= masses/parse-rules-for-masses
MAKE_PARAMS+= CONTACT_ADDRESS=${SPAMASSASSIN_CONTACT_ADDRESS:Q}
MAKE_PARAMS+= DEFRULESDIR="${RULESDIR}"
MAKE_PARAMS+= LOCALRULESDIR="${PKG_SYSCONFDIR}"
+MAKE_PARAMS+= LOCALSTATEDIR="${VARBASE}"
MAKE_PARAMS+= PERL_BIN="${PERL5}"
MAKE_PARAMS+= SYSCONFDIR="${PKG_SYSCONFDIR}"
@@ -71,21 +71,26 @@ DOCDIR= ${PREFIX}/${DOC_SUBDIR}
RULE_SUBDIR= share/spamassassin
RULESDIR= ${PREFIX}/${RULE_SUBDIR}
+PRE_FILES= init.pre v310.pre v312.pre
+.for p in ${PRE_FILES}
+CONF_FILES+= ${EGDIR}/${p} ${PKG_SYSCONFDIR}/${p}
+.endfor
CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf \
- ${EGDIR}/init.pre ${PKG_SYSCONFDIR}/init.pre \
- ${EGDIR}/v310.pre ${PKG_SYSCONFDIR}/v310.pre \
${RULESDIR}/user_prefs.template \
${PKG_SYSCONFDIR}/user_prefs.template
INSTALLATION_DIRS+= ${EG_SUBDIR} ${DOC_SUBDIR} ${DOC_SUBDIR}/spamc\
- ${DOC_SUBDIR}/spamd
+ ${DOC_SUBDIR}/spamd ${RULE_SUBDIR}
+
+OWN_DIRS+= ${VARBASE}/spamassassin
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/sa-update-keys ${SHAREOWN} ${SHAREGRP} 0700
SUBST_CLASSES+= sa2 sa3
SUBST_STAGE.sa2= pre-configure
SUBST_FILES.sa2= README spamd/spamd.raw
-SUBST_SED.sa2= -e s!@@PREFIX@@!${PREFIX}!g \
- -e s!@PKG_SYSCONFDIR@!${PKG_SYSCONFDIR}!g
+SUBST_SED.sa2= -e s!@@PREFIX@@!${PREFIX}!g
+SUBST_SED.sa2+= -e s!@PKG_SYSCONFDIR@!${PKG_SYSCONFDIR}!g
SUBST_STAGE.sa3= pre-configure
SUBST_FILES.sa3= INSTALL UPGRADE USAGE ldap/README \
@@ -94,11 +99,11 @@ SUBST_FILES.sa3= INSTALL UPGRADE USAGE ldap/README \
lib/Mail/SpamAssassin/Plugin/Test.pm \
spamd/README spamd/README.vpopmail sql/README \
sql/README.awl sa-update.raw
-SUBST_SED.sa3= -e s!/usr/share!${PREFIX}/share!g \
- -e s!/usr/bin!${PREFIX}/bin!g \
- -e s!/usr/local/bin!${PREFIX}/bin!g \
- -e s!/usr/lib!${PREFIX}/lib!g \
- -e s!/etc/mail/spamassassin!${PKG_SYSCONFDIR}!g
+SUBST_SED.sa3= -e s!/usr/share!${PREFIX}/share!g
+SUBST_SED.sa3+= -e s!/usr/bin!${PREFIX}/bin!g
+SUBST_SED.sa3+= -e s!/usr/local/bin!${PREFIX}/bin!g
+SUBST_SED.sa3+= -e s!/usr/lib!${PREFIX}/lib!g
+SUBST_SED.sa3+= -e s!/etc/mail/spamassassin!${PKG_SYSCONFDIR}!g
.if (${OPSYS} == "NetBSD") || (${OPSYS} == "DragonFly")
# the 'spamd' RCD_SCRIPT behaves differently if we run NetBSD 1.6 or later
@@ -135,7 +140,7 @@ post-install:
.endfor
.for f in STATISTICS-set0.txt STATISTICS-set1.txt STATISTICS-set2.txt \
STATISTICS-set3.txt
- @${INSTALL_DATA} ${WRKSRC}/rules/${f} ${DOCDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/rules/${f} ${DOCDIR}
@${ECHO} "${DOC_SUBDIR}/${f}" >> ${PLIST_ADD}
.endfor
.for dir in masses sql ldap tools
@@ -162,14 +167,15 @@ post-install:
@cd ${WRKSRC}/rules; \
for f in [0-9]*.cf; do \
${ECHO} "${RULE_SUBDIR}/$$f" >> ${PLIST_ADD}; \
+ done; \
+ for f in ${PRE_FILES}; do \
+ ${INSTALL_DATA} $$f ${EGDIR} && \
+ ${ECHO} ${EG_SUBDIR}/$$f >> ${PLIST_ADD}; \
done
- @${ECHO} "@dirrm ${RULE_SUBDIR}" >> ${PLIST_ADD}
@# examples are in the static PLIST
- @${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR}/
- @${INSTALL_DATA} ${WRKSRC}/rules/init.pre ${EGDIR}/
- @${INSTALL_DATA} ${WRKSRC}/rules/v310.pre ${EGDIR}/
- @${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR}/
- @${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${EGDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR}
+ @${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR}
+ @${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${EGDIR}
@${CHOWN} ${SHAREOWN} ${RULESDIR}/*
@${CHGRP} ${SHAREGRP} ${RULESDIR}/*
@${CHMOD} a=r ${RULESDIR}/*
@@ -177,5 +183,19 @@ post-install:
${ECHO} "@dirrm $$d"; \
done; } | ${SORT} -r >> ${PLIST_ADD};
+# make sure we install the patched version of init.pre but can run the
+# tests with the original file
+pre-patch:
+ @${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.notpatched
+
+post-patch:
+ @${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.patched
+
+pre-test:
+ @${CP} ${WRKDIR}/init.pre.notpatched ${WRKSRC}/rules/init.pre
+
+post-test:
+ @${CP} ${WRKDIR}/init.pre.patched ${WRKSRC}/rules/init.pre
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/spamassassin/PLIST b/mail/spamassassin/PLIST
index a4b16fed56f..9b044a4f2ab 100644
--- a/mail/spamassassin/PLIST
+++ b/mail/spamassassin/PLIST
@@ -1,11 +1,9 @@
-@comment $NetBSD: PLIST,v 1.18 2006/03/13 21:11:57 heinz Exp $
+@comment $NetBSD: PLIST,v 1.18.2.1 2006/06/07 21:28:47 salo Exp $
@comment Most of this PLIST is auto-generated; see Makefile.
share/examples/rc.d/spamd
-share/examples/spamassassin/init.pre
share/examples/spamassassin/local.cf
share/examples/spamassassin/netbsd_lists.cf
share/examples/spamassassin/procmailrc.example
-share/examples/spamassassin/v310.pre
share/spamassassin/languages
share/spamassassin/sa-update-pubkey.txt
share/spamassassin/triplets.txt
diff --git a/mail/spamassassin/distinfo b/mail/spamassassin/distinfo
index dfedbf16430..c7d55741fa8 100644
--- a/mail/spamassassin/distinfo
+++ b/mail/spamassassin/distinfo
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.36 2006/03/24 19:46:10 heinz Exp $
+$NetBSD: distinfo,v 1.36.2.1 2006/06/07 21:28:47 salo Exp $
-SHA1 (Mail-SpamAssassin-3.1.1.tar.gz) = cda06e3d38d831521c59e50ec024e468b76035cb
-RMD160 (Mail-SpamAssassin-3.1.1.tar.gz) = 35e3ff6f8396a9057d9f12acf62a304410d60096
-Size (Mail-SpamAssassin-3.1.1.tar.gz) = 1129275 bytes
-SHA1 (patch-ab) = e1cebc78255d3a72b75b2494f6539957742b0cea
-SHA1 (patch-ad) = f519e7675785f471404fbc78704af99b5b997de0
+SHA1 (Mail-SpamAssassin-3.1.3.tar.gz) = ed9e18fae6db86d0b77ce48d8262194e06df9ef8
+RMD160 (Mail-SpamAssassin-3.1.3.tar.gz) = e0312b9a4920d01d28fc75f5e613fa0f3e8a5612
+Size (Mail-SpamAssassin-3.1.3.tar.gz) = 1134662 bytes
+SHA1 (patch-ab) = df95d87a2f2e7af238c27c3d5468d9aad7eb000d
SHA1 (patch-ae) = 1461b24978c75c394c607ae1d49cb49dd086b563
SHA1 (patch-aq) = 495a3ac94a05129520e5d7018fdd56b6dad3c951
SHA1 (patch-ay) = 7d805e7ef86e279a19e7d3d2f03e2227624317f8
-SHA1 (patch-az) = c3ebb9a7ef3e4324d312c1c0d6e3342dea058ca7
diff --git a/mail/spamassassin/options.mk b/mail/spamassassin/options.mk
index c37695c9172..f7f09f92935 100644
--- a/mail/spamassassin/options.mk
+++ b/mail/spamassassin/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2006/03/13 21:11:57 heinz Exp $
+# $NetBSD: options.mk,v 1.5.2.1 2006/06/07 21:28:47 salo Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spamassassin
PKG_SUPPORTED_OPTIONS= \
@@ -31,11 +31,10 @@ PKG_SUGGESTED_OPTIONS= spamassassin-taint-checks \
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}!
+SUBST_SED.satests= -e s!awl_sql_tests=n!awl_sql_tests=${AWL_SQL_TEST}!
+SUBST_SED.satests+= -e s!bayes_sql_tests=n!bayes_sql_tests=${BAYES_SQL_TEST}!
+SUBST_SED.satests+= -e s!run_net_tests=n!run_net_tests=${NET_TEST}!
+SUBST_SED.satests+= -e s!prefork_stress_test=n!prefork_stress_test=${PREFORK_TEST}!
#
# Enable tests of the SQL storage module for the automatic whitelist
diff --git a/mail/spamassassin/patches/patch-ab b/mail/spamassassin/patches/patch-ab
index 516e161acb9..2d970118be9 100644
--- a/mail/spamassassin/patches/patch-ab
+++ b/mail/spamassassin/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.11 2005/11/13 22:48:32 heinz Exp $
+$NetBSD: patch-ab,v 1.11.4.1 2006/06/07 21:28:47 salo Exp $
---- Makefile.PL.orig Fri Aug 12 02:38:58 2005
+--- Makefile.PL.orig 2006-05-24 22:07:30.000000000 +0200
+++ Makefile.PL
-@@ -158,6 +158,7 @@ my %makefile = (
+@@ -163,6 +163,7 @@ my %makefile = (
'spamassassin.raw' => 'spamassassin',
'sa-learn.raw' => 'sa-learn',
'sa-update.raw' => 'sa-update',
@@ -10,26 +10,26 @@ $NetBSD: patch-ab,v 1.11 2005/11/13 22:48:32 heinz Exp $
'spamc/spamc.c' => 'spamc/spamc$(EXE_EXT)',
'spamd/spamd.raw' => 'spamd/spamd',
},
-@@ -1087,16 +1088,17 @@ qmail/qmail-spamc$(EXE_EXT): spamc/qmail
- # # $(SYMLINK) $(INST_SCRIPT)/sa-filter $(B_SCRIPTDIR)/spamassassin
+@@ -1146,16 +1147,18 @@ qmail/qmail-spamc$(EXE_EXT): spamc/qmail
conf__install:
-- -$(MKPATH) $(B_CONFDIR)
+ -$(MKPATH) $(B_CONFDIR)
- $(PERL) -MFile::Copy -e "copy(q{rules/local.cf}, q{$(B_CONFDIR)/local.cf}) unless -f q{$(B_CONFDIR)/local.cf}"
- $(PERL) -MFile::Copy -e "copy(q{rules/init.pre}, q{$(B_CONFDIR)/init.pre}) unless -f q{$(B_CONFDIR)/init.pre}"
- $(PERL) -MFile::Copy -e "copy(q{rules/v310.pre}, q{$(B_CONFDIR)/v310.pre}) unless -f q{$(B_CONFDIR)/v310.pre}"
-+ -$(BSD_INSTALL_DATA_DIR) $(B_CONFDIR)
+- $(PERL) -MFile::Copy -e "copy(q{rules/v312.pre}, q{$(B_CONFDIR)/v312.pre}) unless -f q{$(B_CONFDIR)/v312.pre}"
+ @ # manage local.cf and *.pre through pkgsrc .mk files
+ @ # $(PERL) -MFile::Copy -e "copy(q{rules/local.cf}, q{$(B_CONFDIR)/local.cf}) unless -f q{$(B_CONFDIR)/local.cf}"
+ @ # $(PERL) -MFile::Copy -e "copy(q{rules/init.pre}, q{$(B_CONFDIR)/init.pre}) unless -f q{$(B_CONFDIR)/init.pre}"
+ @ # $(PERL) -MFile::Copy -e "copy(q{rules/v310.pre}, q{$(B_CONFDIR)/v310.pre}) unless -f q{$(B_CONFDIR)/v310.pre}"
++ @ # $(PERL) -MFile::Copy -e "copy(q{rules/v312.pre}, q{$(B_CONFDIR)/v312.pre}) unless -f q{$(B_CONFDIR)/v312.pre}"
data__install:
-- -$(MKPATH) $(B_DATADIR)
-+ -$(BSD_INSTALL_DATA_DIR) $(B_DATADIR)
+ -$(MKPATH) $(B_DATADIR)
$(PERL) -e "map unlink, <$(B_DATADIR)/*>"
$(PREPROCESS) $(FIXVARS) -m$(PERM_RW) -Irules -O$(B_DATADIR) $(DATAFILES)
- $(CHMOD) $(PERM_RWX) $(B_DATADIR)
++ @ # no change of directory created by pkgsrc
+ @ # $(CHMOD) $(PERM_RWX) $(B_DATADIR)
text_html_doc: made-doc-stamp
diff --git a/mail/spamassassin/patches/patch-ad b/mail/spamassassin/patches/patch-ad
deleted file mode 100644
index 78950dcd2f7..00000000000
--- a/mail/spamassassin/patches/patch-ad
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-ad,v 1.9 2006/03/24 19:46:10 heinz Exp $
-
---- spamd/netbsd-rc-script.sh.orig 2006-03-10 20:30:23.000000000 +0100
-+++ spamd/netbsd-rc-script.sh
-@@ -4,2 +4,6 @@
- #
-+# Start script for 'spamd' installed by the pkgsrc package collection
-+# running on *BSD, MacOS X, Solaris, Linux, and various other U*IX-like
-+# systems.
-+#
- # The 'spamd' daemon checks emails provided by the 'spamc' client for signs
-@@ -11,3 +15,3 @@
-
--## only for NetBSD
-+## only for DragonFlyBSD/NetBSD
- # PROVIDE: spamd
-@@ -36,3 +40,4 @@ sig_reload="HUP"
-
--# default values, may be overridden on NetBSD by setting them in /etc/rc.conf
-+# default values, may be overridden on NetBSD/DragonFlyBSD by setting them
-+# in /etc/rc.conf
- spamd_flags=${spamd_flags-"-H -c"}
-@@ -41,6 +46,7 @@ spamd_fdlimit=${spamd_fdlimit-"128"}
-
--OPSYS=@OPSYS@ # set during package build
--INTERPRETER_SUPPORT=@INTERPRETER_SUPPORT@ # set during package build
-+# both set during package build
-+OPSYS=@OPSYS@
-+INTERPRETER_SUPPORT=@INTERPRETER_SUPPORT@
-
--# A default limit of 64 (at least on NetBSD) may be too low for many
-+# A default limit of 64 on NetBSD may be too low for many
- # people (eg with addional RBL rules)
-@@ -98,3 +104,3 @@ spamd_reload()
-
--if [ "${OPSYS}" = "NetBSD" ]; then
-+if [ "${OPSYS}" = "NetBSD" -o "${OPSYS}" = "DragonFly" ]; then
- if checkyesno INTERPRETER_SUPPORT; then
-@@ -112,3 +118,3 @@ if [ "${OPSYS}" = "NetBSD" ]; then
-
--else # not NetBSD
-+else # not NetBSD or DragonFlyBSD
-
diff --git a/mail/spamassassin/patches/patch-az b/mail/spamassassin/patches/patch-az
deleted file mode 100644
index 637df951ba6..00000000000
--- a/mail/spamassassin/patches/patch-az
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-az,v 1.1 2006/03/13 21:11:57 heinz Exp $
-
---- lib/Mail/SpamAssassin/Plugin/Razor2.pm.orig 2006-03-10 20:29:54.000000000 +0100
-+++ lib/Mail/SpamAssassin/Plugin/Razor2.pm
-@@ -46,6 +46,7 @@ package Mail::SpamAssassin::Plugin::Razo
-
- use Mail::SpamAssassin::Plugin;
- use Mail::SpamAssassin::Logger;
-+use Mail::SpamAssassin::Timeout;
- use strict;
- use warnings;
- use bytes;