head 1.8; access; symbols pkgsrc-2015Q2:1.7.0.70 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.68 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.66 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.64 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.62 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.60 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.58 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.56 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.54 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.52 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.50 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.48 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.46 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.44 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.42 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.40 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.38 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.36 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.34 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.32 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.30 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.28 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.26 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.24 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.22 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.20 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.18 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.16 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.14 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.12 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.10 pkgsrc-2008Q1:1.7.0.8 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.6 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.4 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.2 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.6.0.12 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.10 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.8 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.6 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.4 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.2 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.5.0.6 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.4 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.8 date 2015.09.09.19.13.49; author christos; state dead; branches; next 1.7; commitid w1pqXlGiiKVEZBAy; 1.7 date 2007.06.12.21.43.30; author heinz; state Exp; branches; next 1.6; 1.6 date 2005.11.13.22.48.32; author heinz; state Exp; branches; next 1.5; 1.5 date 2005.01.15.21.44.55; author schmonz; state Exp; branches; next 1.4; 1.4 date 2004.10.12.00.11.10; author heinz; state Exp; branches; next 1.3; 1.3 date 2004.05.31.12.43.06; author heinz; state Exp; branches; next 1.2; 1.2 date 2003.12.27.19.16.04; author heinz; state Exp; branches; next 1.1; 1.1 date 2003.11.03.00.56.26; author heinz; state Exp; branches; next ; desc @@ 1.8 log @update to 3.4.1: - improved automation to help combat spammers that are abusing new top level domains; - tweaks to the SPF support to block more spoofed emails; - increased character set normalization to make rules easier to develop and stop spammers from using alternate character sets to bypass tests; - continued refinement to the native IPv6 support; and - improved Bayesian classification with better debugging and attachment hashing. @ text @$NetBSD: patch-aq,v 1.7 2007/06/12 21:43:30 heinz Exp $ Purely changes for pkgsrc: - Change paths to those used by pkgsrc - Notes about search paths set by pkgsrc --- README.orig 2007-06-08 14:56:25.000000000 +0200 +++ README @@@@ -99,25 +99,25 @@@@ Mail::SpamAssassin::Conf class (run the the standard defaults that people use. There is an explanation of all the default locations that SpamAssassin will look at the end. - - /usr/share/spamassassin/*.cf: + - @@@@PREFIX@@@@/share/spamassassin/*.cf: Distributed configuration files, with all defaults. Do not modify these, as they are overwritten when you upgrade. - - /var/lib/spamassassin/*/*.cf: + - @@VARBASE@@/spamassassin/*/*.cf: Local state directory; updated rulesets, overriding the distributed configuration files, downloaded using "sa-update". Do not modify these, as they are overwritten when you run "sa-update". - - /etc/mail/spamassassin/*.cf: + - @@PKG_SYSCONFDIR@@/*.cf: Site config files, for system admins to create, modify, and add local rules and scores to. Modifications here will be appended to the config loaded from the above directory. - - /etc/mail/spamassassin/*.pre: + - @@PKG_SYSCONFDIR@@/*.pre: Plugin control files, installed from the distribution. These are used to control what plugins are loaded. Modifications here will @@@@ -126,22 +126,22 @@@@ default locations that SpamAssassin will You want to modify these files if you want to load additional plugins, or inhibit loading a plugin that is enabled by default. - If the files exist in /etc/mail/spamassassin, they will not + If the files exist in @@PKG_SYSCONFDIR@@, they will not be overwritten during future installs. - - /usr/share/spamassassin/user_prefs.template: + - @@@@PREFIX@@@@/share/spamassassin/user_prefs.template: Distributed default user preferences. Do not modify this, as it is overwritten when you upgrade. - - /etc/mail/spamassassin/user_prefs.template: + - @@PKG_SYSCONFDIR@@/user_prefs.template: Default user preferences, for system admins to create, modify, and set defaults for users' preferences files. Takes precedence over the above prefs file, if it exists. Do not put system-wide settings in here; put them in a file in the - "/etc/mail/spamassassin" directory ending in ".cf". This file is + "@@PKG_SYSCONFDIR@@" directory ending in ".cf". This file is just a template, which will be copied to a user's home directory for them to change. @@@@ -195,6 +195,12 @@@@ These are: /opt/$DIR /opt/$DIR/share/spamassassin /etc/opt/mail/spamassassin $DIR $DIR/share/spamassassin $DIR/etc/mail/spamassassin +(Pkgsrc note: the pkgsrc build process used the following path names + __prefix__: @@@@PREFIX@@@@ + __def_rules_dir__: @@@@PREFIX@@@@/share/spamassassin + __local_rules_dir__: @@PKG_SYSCONFDIR@@ +) + The files themselves are then looked for in these paths: - Distributed Configuration Files @@@@ -234,6 +240,11 @@@@ ruleset: /opt/$DIR /var/opt/spamassassin/__version__ $DIR $DIR/var/spamassassin/__version__ +(Pkgsrc note: the pkgsrc build process used the following path names + __prefix__: @@@@PREFIX@@@@ + __local_state_dir__: @@VARBASE@@/spamassassin/__version__ +) + This is normally written to by the "sa-update" script. "__version__" is replaced by a representation of the version number, so that multiple versions of SpamAssassin will not interfere with each other's rulesets. @ 1.7 log @Updated to version 3.2.1. Pkgsrc changes: - Added some comments to patch files. - Adapting patch-aq to changes in the README file. - Added forgotten direct requirement for p5-Compress-Zlib. - Since 3.2.0 at least version 3.43 of p5-HTML-Parser is needed. - Installation to DESTDIR is possible as root. - Substituted correct paths in spamc.pod (source file for spamc.1). - Added VARBASE to BUILD_DEFS to silence pkglint warnings. Changes since version 3.2.0: ============================ 3.2.1 is a major bug-fix release, including a potential local DoS. The major highlights are: - bug 5480: fix for CVE-2007-2873: a local user symlink-attack DoS vulnerability. It only affects systems where spamd is run as root, is used with vpopmail or virtual users via the "-v"/"--vpopmail" OR "--virtual-config-dir" switch, AND with the "-x"/"--no-user-config AND WITHOUT the "-u"/"--username" switch AND with the "-l"/"--allow-tell" switch. This is not default on any distro package, and is not a common configuration. More details of the vulnerability can be read at . - bug 5488: zero some rules causing false positives: FH_HOST_EQ_D_D_D_DB and FH_HOST_EQ_D_D_D_D. - bug 5257: re-raise autolearn ham threshold to 1.0; the lower value used in 3.2.0 was creating problems. - bug 5422: in spamd, deleting hash entries from the SIGCHLD signal handler is unsafe, causes corruption of the data structure, and results in 'prefork: ordered child N to accept, but they reported state '1', killing rogue' errors. fix. - bug 5102: tighten up regexp for FORGED_HOTMAIL_RCVD to avoid some FPs. - bug 5457: spamc build and test should handle not having zlib available. - bug 5379: spamd could crash at startup if its preloading temporary directory already exists. fix. - bug 4616: spamc config can cause command line options to be ignored. fix. - bug 5485: zero score DK/DKIM_POLICY_SIGNSOME rules since they'll always fire due to defaults (unless there's an explicit SIGNALL policy). - bug 5492: VBounce rule was looking in header instead of body for whitelisted relays. fix. - bug 5487: prevent multiple "urirhssub"s using the same zone from overwriting each other. - bug 5432 - Change default in Win32 build to not build spamc. - bug 5446: add --updatedir option to sa-compile and remove inaccurate re2c required version info from pod. - bug 5436: add omitted "ifplugin" statements to the configuration, which would otherwise cause lint errors if the default plugins were disabled. - bug 5477: prevent Rule2XSBody info message from appearing on stderr during spamd startup. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.6 2005/11/13 22:48:32 heinz Exp $ @ 1.6 log @Updated to version 3.1.0. Pkgsrc changes: - p5-Storable is no longer a necessary. - Let DragonFlyBSD also use the rc.d script (patch-ad). - Sa-update needs p5-libwww (for LWP::UserAgent, HTTP::Date), p5-Archive-Tar and p5-IO-Zlib. - Many of the plugins are available as pkgsrc packages (p5-Mail-SPF-Query, p5-IP-Country, p5-Net-Ident, ...) but are not required. - Renamed some options to follow the naming conventions described in the pkgsrc guide. - Removed patch-ax again; it is already incorporated in 3.1.0. - Reworked DESCR to use less than 25 lines. - Removed SPAMASSASSIN_VERSION for clarity of DISTNAME and PKGNAME. - Prepended variables internal to the package with an underscore. - Rearranged MAKE_PARAMS alphabetically. - Simplified some internal variables (concatenation instead of substitution: _EGDIR, _DOCDIR,...) - Loop variables use all lower-case now. - Added a rule to lower score for mail from pkgsrc-bugs in netbsd_lists.cf. - The test t/spf.t (fails for SPF_HELO_*) has a know problem (SA Bug 4685). Relevant changes since version 3.0.4: ===================================== - Apache preforking algorithm adopted; number of spamd child processes is now scaled, according to demand. This provides better VM behaviour when not under peak load. - Inclusion of sa-update script which will allow for updates of rules and scores in between code releases. - added PostgreSQL, MySQL 4.1+, and local SDBM file Bayes storage modules. SQL storage is now recommended for Bayes, instead of DB_File. NDBM_File support has been dropped due to a major bug in that module. - detect legitimate SMTP AUTH submission, to avoid false positives on Dynablock-style rules. - new Advance Fee Fraud (419 scam) rules. - removed use of the Storable module, due to several reported hangs on SMP Linux machines. - Converted several rule/engine components into Plugins such as: AccessDB, AWL, Pyzor, Razor2, DCC, Bayes AutoLearn Determination, etc. - new plugins: DomainKeys (off by default), MIMEHeader: a new plugin to perform tests against header in internal MIME structure, ReplaceTags: plugin by Felix Bauer to support fuzzy text matching, WhiteListSubject: plugin added to support user whitelists by Subject header. - TextCat language guesser moved to a plugin. (This means "ok_languages" is no longer part of the core engine by default.) - Razor: disable Razor2 support by default per our policy, since the service is not free for non-personal use. It's trivial to reenable. - DCC: disable DCC for similar reasons, due to new license terms. - Net::DNS bug: high load caused answer packets to be mixed up and delivered as answers to the wrong request, causing false positives. worked around. - DNSBL lookups and other DNS operations are now more efficient, by using a custom single-socket event-based model instead of Net::DNS. - add support for accreditation services, including Habeas v2. - better URI parsing -- many evasion tricks now caught. - URIBL lookups are prioritized based on the location in the message the URI was found. - mass-check now supports reusing realtime DNSBL hit results, and sample-based Bayes autolearning emulation, to reduce complexity. - sa-learn, spamassassin and mass-check now have optional progress bars. - modify header ordering for DomainKeys compatibility, by placing markup headers at the top of the message instead at the bottom of the list. - spamd/spamc now support remote Bayes training, and reporting spam. - spamc now supports reading its flags from a configuration file using the -F switch, contributed by John Madden. - added SPF-based whitelisting. - Polish rules contributed by Radoslaw Stachowiak. - many rule changes and additions. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.5 2005/01/15 21:44:55 schmonz Exp $ d3 6 a8 1 --- README.orig Wed Sep 14 04:07:32 2005 d10 1 a10 1 @@@@ -99,18 +99,18 @@@@ Mail::SpamAssassin::Conf class (run the d20 8 d40 1 a40 1 @@@@ -119,22 +119,22 @@@@ default locations that SpamAssassin will d67 1 a67 2 @@@@ -187,6 +187,12 @@@@ These are: /usr/local /usr/local/share/spamassassin /etc/mail/spamassassin d70 1 a70 1 + d76 2 d79 4 a82 1 The files themselves are then looked for in these paths: d84 8 @ 1.5 log @Update to 3.0.2. From the changelog: This release detects legitimate SMTP AUTH submission, to avoid false positives on Dynablock-style rules. The URIDNSBL plugin has been fixed to honor the uridnsbl_max_domains config option. Various documentation and rule fixes. The ability to deal with 'rewrite_header Subject' markup when no Subject header exists. 'make test' failure on Solaris has been fixed. pkgsrc changes: * Use subst.mk in pre-configure, rather than post-patch, for easier regeneration of patches. OK'd by heinz@@. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.4 2004/10/12 00:11:10 heinz Exp $ d3 1 a3 1 --- README.orig 2004-10-22 11:21:14.000000000 -0400 d5 1 a5 1 @@@@ -76,30 +76,30 @@@@ Mail::SpamAssassin::Conf class (run the d22 13 d54 13 @ 1.4 log @Update to version 3.0.0. Tested on NetBSD 1.6.2, Solaris 9 and Debian 3.0. Important changes since 2.64 (for details see the file 'Changes') - support for sender authentication using the Sender Policy Framework (SPF) - checking for web links of known spam advertisers (SURBL) - modular plugin architecture - improved SQL database support for storing user data in server installations - improved email classification - SpamAssassin is now part of the Apache Foundation @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- README.orig Thu Aug 5 22:04:10 2004 @ 1.3 log @Correct bad substitution of @@PREFIX@@ in spamd.raw @ text @d3 1 a3 1 --- README.orig Sun Jan 18 00:56:14 2004 d5 1 a5 1 @@@@ -116,30 +116,30 @@@@ Mail::SpamAssassin::Conf class (run the d35 5 a39 5 Do not put system-wide settings in here; put them in the - /etc/mail/spamassassin directory. This file is just a template, + @@PKG_SYSCONFDIR@@ directory. This file is just a template, which will be copied to a user's home directory for them to change. @ 1.2 log @Update to version 2.61 Summary of major changes since 2.60 ----------------------------------- - Dramatically reduced memory usage of Bayes expiry. - avoid false positives on Outlook 2003 messages, mails from Mac, Palm, and localized versions of Eudora, several AOL MUAs, and newer versions of The Bat! - new set of French translations from Michel Bouissou - updated to reflect new Dynablock DNSBL location - avoids a possible hole that was giving AWL bonuses to spammer forgeries on some networks - miscellaneous bug fixes @ text @d3 1 a3 1 --- README.orig Sun Sep 28 18:21:54 2003 d10 1 a10 1 + - @@PREFIX@@/share/spamassassin/*.cf: d23 1 a23 1 + - @@PREFIX@@/share/spamassassin/user_prefs.template: @ 1.1 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 @d3 1 a3 1 --- README.orig Sat Sep 13 03:05:21 2003 d5 1 a5 1 @@@@ -105,30 +105,30 @@@@ Mail::SpamAssassin::Conf class (run the @