head 1.10; access; symbols pkgsrc-2014Q1:1.9.0.10 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.8 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.6 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.4 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.2 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.8.0.16 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.14 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.12 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.10 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.8 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.6 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.4 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.2 pkgsrc-2011Q1-base:1.8 pkgsrc-2009Q4:1.7.0.46 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.44 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.42 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.40 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.38 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.36 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.34 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.32 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.30 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.28 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.26 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.24 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.22 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.10 date 2014.04.26.13.55.10; author tron; state dead; branches; next 1.9; commitid AEkt5CGzNvrrlcyx; 1.9 date 2013.02.25.18.41.46; author gdt; state Exp; branches; next 1.8; 1.8 date 2011.02.11.19.10.54; author tnn; state Exp; branches; next 1.7; 1.7 date 2003.11.03.00.56.26; author heinz; state dead; branches; next 1.6; 1.6 date 2003.05.22.11.41.03; author abs; state Exp; branches; next 1.5; 1.5 date 2003.02.02.19.38.40; author heinz; state dead; branches; next 1.4; 1.4 date 2003.01.29.17.34.29; author tron; state Exp; branches; next 1.3; 1.3 date 2002.10.08.00.49.21; author heinz; state dead; branches; next 1.2; 1.2 date 2002.08.26.16.01.33; author hubertf; state Exp; branches; next 1.1; 1.1 date 2002.08.26.15.54.29; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.08.26.15.54.29; author hubertf; state Exp; branches; next ; desc @@ 1.10 log @Update "spamassassin" package to version 3.4.0: This is a major release. It introduces over two years of bug fixes and features since the release of SpamAssassin 3.3.2 on June 16, 2011. 3.4.0 includes the Bayes Redis (http://redis.io/) back-end (bug 6879), EDNS0 changes (bug 6910), native IPv6 support, numerous URIBL.pm changes or features and a small API change in libspamc (bug 6562) with many other subtle changes. @ text @$NetBSD: patch-aa,v 1.9 2013/02/25 18:41:46 gdt Exp $ Make an effort to pick up spamd_flags from the rc configuration when not running on NetBSD/DragonFlyBSD. Adjust comment for renamed file. --- spamd/netbsd-rc-script.sh.orig 2011-06-07 01:59:19.000000000 +0200 +++ spamd/netbsd-rc-script.sh 2013-02-25 17:56:03.000000000 +0100 @@@@ -10,7 +10,7 @@@@ # of spam # # PLEASE read the file -# @@PREFIX@@/share/doc/spamassassin/spamd/README.spamd +# @@PREFIX@@/share/doc/spamassassin/spamd/README # especially the section about security. ## only for DragonFlyBSD/NetBSD @@@@ -118,6 +118,12 @@@@ else # not NetBSD or DragonFlyBSD + if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then + load_rc_config $name + elif [ -f /etc/rc.conf ]; then + . /etc/rc.conf + fi + if [ -f ${pidfile} ]; then the_spamd_pid=`head -1 ${pidfile}` else @ 1.9 log @Adjust comment in rc.d script for moved file. From Jan Danielsson. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2011/02/11 19:10:54 tnn Exp $ @ 1.8 log @Add a small tweak to the rc script: Make an effort to pick up spamd_flags from the rc configuration when not running on NetBSD/DragonFlyBSD. @ text @d1 1 a1 1 $NetBSD$ d5 1 d7 12 a18 3 --- spamd/netbsd-rc-script.sh.orig 2010-03-16 14:49:25.000000000 +0000 +++ spamd/netbsd-rc-script.sh @@@@ -118,6 +118,12 @@@@ if [ "${OPSYS}" = "NetBSD" -o "${OPSYS}" @ 1.7 log @Update to version 2.60 (fixes PR pkg/23318): Summary of changes since 2.5x ----------------------------------- - spamd supports UNIX-domain sockets - SSL support for spamc/spamd now usable - improved Bayes text analysis - improved expiration of Bayes-DB - better detection of 'invisible text' and other obfuscation techniques in HTML - new RBL (eg SORBS, SpamCop, Osirusoft dropped) - better handling of RBL timeouts - support for Razor V1 dropped - more flexible header and report rewriting - Perl taint mode enabled by default - bug fixes - new rules @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2003/05/22 11:41:03 abs Exp $ d3 6 a8 16 --- Makefile.PL.orig 2003-05-20 07:06:16.000000000 +0100 +++ Makefile.PL @@@@ -337,16 +337,17 @@@@ binaries.mk: configure ./configure inst_cfs: $(PKG_LOCAL_RULES_DIR) $(PKG_LOCAL_RULES_DIR)/local.cf - $(MKPATH) $(PKG_DEF_RULES_DIR) + $(BSD_INSTALL_DATA_DIR) $(PKG_DEF_RULES_DIR) $(RM_RF) $(PKG_DEF_RULES_DIR)/* $(PERL) build/preprocessor $(FIXVARS) -Irules -O$(PKG_DEF_RULES_DIR) $(RULES) - $(CHMOD) $(PERM_RWX) $(PKG_DEF_RULES_DIR) + @@ \# $(CHMOD) $(PERM_RWX) $(PKG_DEF_RULES_DIR) $(PKG_LOCAL_RULES_DIR): - $(MKPATH) $@@ + $(BSD_INSTALL_DATA_DIR) $@@ d10 1 a10 4 $(PKG_LOCAL_RULES_DIR)/local.cf: rules/local.cf - $(PERL) -e "use File::Copy; (-f '$@@') or copy ('$?', '$@@');" + @@ \# manage local.cf through pkgsrc .mk files + @@ \# $(PERL) -e "use File::Copy; (-f '$@@') or copy ('$?', '$@@');" d12 9 a20 2 text_html_doc: made-doc-stamp $(NOOP) @ 1.6 log @Update spamassassin to 2.55 Many small changes since 2.53, but difficult to pick out anything significant. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Maintenance update to 2.44 Parts of patch-ag and patch-ah as well as complete patch-aa could be removed again, they are now included in SA 2.44 (see below). #### official release announcement ############### This is a bug-fix release, which fixes the following bugs: - Backport fix for Bug 1306: Possible buffer overflow in libspamc when running in BSMTP mode (patch 1.15 -> 1.18) - Backport workaround from Bug 526: Failed sanity check because of clobbered STDOUT (patch 1.147 -> 1.148) - Backport fix for Debian Bug 160206: Insufficient buffer in libspamc (patch 1.8 -> 1.9) - Backport fix for warnings in sed_path (patch 1.141 -> 1.142) - Backport fix for Bug 1127: Existing lowercase x-spam-status header kills SpamAssassin (patch 1.40 -> 1.41) - localized %ENV to fix problem where Razor2 erases the PATH so DCC and pyzor don't work, etc. Note that this is *not* 2.50, which offers Bayesian filtering etc. These bugs are already fixed in the 2.50 CVS tree, but that is not yet ready for release. This is a stable maintainance release only. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2003/01/29 17:34:29 tron Exp $ d3 24 a26 11 --- spamd/libspamc.c.orig 2002-10-15 17:22:49.000000000 +0200 +++ spamd/libspamc.c 2003-01-29 18:32:03.000000000 +0100 @@@@ -309,7 +309,7 @@@@ case MESSAGE_BSMTP: total=full_write(fd, m->pre, m->pre_len); for(i=0; iout_len; ){ - for(j=0; iout_len && jout_len && jout_len && m->out[i]=='\n' && m->out[i+1]=='.'){ buffer[j++]=m->out[i++]; buffer[j++]=m->out[i++]; @ 1.4 log @Fix buffer overflow in "spamc" program can be remotely exploited. Bump package revision. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to 2.42. Uses buildlink2 and module.mk. Some perl scripts for rule developers (in PREFIX/share/doc/spamassassin/{masses,tools}/) and a small SpamAssassin logo (PREFIX/share/doc/spamassassin/html/) are now included. New netbsd_lists.cf file to reduce false positives on NetBSD lists (so far, only some rules for netbsd-bugs). Changes: - bug fixes - new, better scores (intensive testing was done to improve on 2.40 and 2.41) - netbsd rc.d script works now with NetBSD 1.5 and 1.6 - management of addresses in the automatic whitlist now easier with dedicated options (--add-addr-to-whitelist, --remove-addr-from-whitelist) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2002/08/26 16:01:33 hubertf Exp $ d3 11 a13 8 --- rules/local.cf.orig Wed Dec 19 06:20:44 2001 +++ rules/local.cf @@@@ -1,3 +1,3 @@@@ -# Add your own customisations to this file. See 'man Mail::SpamAssassin::Conf' -# for details of what can be tweaked. +# Add your own customisations to this file. See +# 'perldoc Mail::SpamAssassin::Conf' for details of what can be tweaked. # @ 1.2 log @Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2002/07/23 02:07:08 wiz Exp $ @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin. @ text @@