pkgsrc/mail/spamassassin/Makefile

206 lines
6.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.36 2003/12/01 16:04:40 heinz Exp $
DISTNAME= Mail-SpamAssassin-2.60
PKGNAME= spamassassin-2.60
PKGREVISION= 2
SVR4_PKGNAME= sa
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/} \
http://www.spamassassin.org/released/ \
http://eu.spamassassin.org/released/
2003-07-17 23:41:05 +02:00
MAINTAINER= heinz-sa@NetBSD.org
HOMEPAGE= http://www.spamassassin.org/
COMMENT= Mail filter to identify spam
CONFLICTS= p5-Mail-SpamAssassin-[1-9]*
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.include "../../mk/bsd.prefs.mk"
BUILDLINK_DEPENDS.perl= perl>=5.6.0 # MakeMaker >= 5.45 needed
DEPENDS+= p5-Net-DNS>=0.29:../../net/p5-Net-DNS
DEPENDS+= p5-HTML-Parser>=3.29:../../www/p5-HTML-Parser
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.if ${OPSYS} == "SunOS"
DEPENDS+= p5-DB_File-[0-9]*:../../databases/p5-DB_File
.endif
SPAMASSASSIN_USE_SSL?= YES
.if !empty(SPAMASSASSIN_USE_SSL:M[yY][eE][sS])
. include "../../security/openssl/buildlink2.mk"
DEPENDS+= p5-IO-Socket-SSL>=0.92:../../security/p5-IO-Socket-SSL
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
CONFIGURE_ARGS+= --enable-ssl
MAKE_PARAMS= ENABLE_SSL=yes
SA_SSLCERTS= ${SSLCERTS}
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.else
CONFIGURE_ARGS+= --disable-ssl
MAKE_PARAMS= ENABLE_SSL=no
SA_SSLCERTS= '$$LOCAL_RULES_DIR/certs'
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.endif
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
PKG_SYSCONFSUBDIR= spamassassin
# Set contact address (e-mail, URL, ...) for use in spam report messages
# See "perldoc Mail::SpamAssassin::Conf" for option "report_contact"
SPAMASSASSIN_CONTACT_ADDRESS?= 'the administrator of that system'
# Use "NO" to turn off warnings and taint checks in spamd/spamassassin
SPAMASSASSIN_PERL_WARNINGS?= YES
SPAMASSASSIN_PERL_TAINT_CHECKS?= YES
# Enable test for Razor during 'make test'?
SPAMASSASSIN_RAZOR_TESTS?= YES
BUILD_DEFS+= SPAMASSASSIN_USE_SSL
BUILD_DEFS+= SPAMASSASSIN_CONTACT_ADDRESS
BUILD_DEFS+= SPAMASSASSIN_PERL_WARNINGS
BUILD_DEFS+= SPAMASSASSIN_PERL_TAINT_CHECKS
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
PLIST_ADD= ${WRKSRC}/.PLIST_ADD
PLIST_SRC= ${PKGDIR}/PLIST ${PLIST_ADD}
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist
GNU_CONFIGURE= YES
CONFIGURE_DIRS= ${WRKSRC}/spamd
PERL5_CONFIGURE= NO # we need the default "do-configure" target
PERL5_CONFIGURE_DIRS= ${WRKSRC}
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
MAKE_PARAMS+= SYSCONFDIR="${PKG_SYSCONFDIR}"
MAKE_PARAMS+= LOCALRULESDIR="${PKG_SYSCONFDIR}"
MAKE_PARAMS+= DEFRULESDIR="${RULESDIR}"
MAKE_PARAMS+= RUN_RAZOR_TESTS="${SPAMASSASSIN_RAZOR_TESTS}"
MAKE_PARAMS+= PERL_WARN="${SPAMASSASSIN_PERL_WARNINGS}"
MAKE_PARAMS+= PERL_TAINT="${SPAMASSASSIN_PERL_TAINT_CHECKS}"
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
RCD_SCRIPTS= spamd
RCD_SCRIPT_SRC.spamd= ${WRKSRC}/spamd/netbsd-rc-script.sh
EGDIR= ${PREFIX}/share/examples/spamassassin
DOCDIR= ${PREFIX}/share/doc/spamassassin
DOC_SUBDIR= ${DOCDIR:S,^${PREFIX}/,,}
HTMLDIR= ${PREFIX}/share/doc/html/spamassassin
RULESDIR= ${PREFIX}/share/spamassassin
RULE_SUBDIR= ${RULESDIR:S,^${PREFIX}/,,}
CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf \
${RULESDIR}/user_prefs.template \
${PKG_SYSCONFDIR}/user_prefs.template
SUPPORT_FILES_PERMS+= ${EGDIR}/netbsd_lists.cf \
${PKG_SYSCONFDIR}/netbsd_lists.cf ${SHAREOWN} \
${SHAREGRP} ${SHAREMODE}
OWN_DIRS+= ${EGDIR} ${DOCDIR} ${DOCDIR}/spamd ${HTMLDIR}
DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL
SUBST_CLASSES+= sa1 sa2 sa3
SUBST_STAGE.sa1= post-patch
SUBST_FILES.sa1= Makefile.PL
SUBST_SED.sa1= -e s!@SA_CONTACT_ADDRESS@!${SPAMASSASSIN_CONTACT_ADDRESS}!
SUBST_STAGE.sa2= post-patch
SUBST_FILES.sa2= README spamd/spamd.raw
SUBST_SED.sa2= -e s!@PREFIX@!${PREFIX}!g \
-e s!@PKG_SYSCONFDIR@!${PKG_SYSCONFDIR}!g \
-e s!@SA_SSLCERTS@!${SA_SSLCERTS}!g
SUBST_STAGE.sa3= post-patch
SUBST_FILES.sa3= INSTALL USAGE lib/Mail/SpamAssassin/Conf.pm \
spamd/README.spamd spamd/README.spamd-vpopmail \
sql/README
SUBST_SED.sa3= -e s!/usr/share!${PREFIX}/share!g \
-e s!/usr/bin!${PREFIX}/bin!g \
-e s!/usr/lib!${PREFIX}/lib!g \
-e s!/etc/mail/spamassassin!${PKG_SYSCONFDIR}!g
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.if ${OPSYS} == "NetBSD"
# the 'spamd' RCD_SCRIPT behaves differently if we run NetBSD 1.6 or later
. if ${OS_VERSION:M1.[0-5]*}
INTERPRETER_SUPPORT= NO
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
. else
INTERPRETER_SUPPORT= YES
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
. endif
.endif
# These values are substituted into netbsd-rc-script.sh.
FILES_SUBST+= INTERPRETER_SUPPORT="${INTERPRETER_SUPPORT}"
FILES_SUBST+= OPSYS="${OPSYS}"
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
post-extract:
@# correct bad SA permissions
@${CHMOD} a-x ${WRKSRC}/License
@${CHMOD} a-x ${WRKSRC}/lib/Mail/SpamAssassin/*.pm
@${CHMOD} a-x ${WRKSRC}/rules/20_uri_tests.cf
@${CHMOD} a+x ${WRKSRC}/masses/uniq-scores
@${CHMOD} a+x ${WRKSRC}/tools/translation_prep.pl
pre-configure: perl5-configure
pre-install:
${FIND} ${WRKSRC} -name "*.orig" -print -o \
-name "*.subst.sav" -print | ${XARGS} ${RM} -f
post-install:
@${TEST} -r ${PLIST_ADD} && ${RM} ${PLIST_ADD} ; :
@ # ninja image is in the static PLIST
@${INSTALL_DATA} ${WRKSRC}/ninjabutton.png ${HTMLDIR}/
@${INSTALL_DATA} ${FILESDIR}/2.60_change_summary ${DOCDIR}/
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.for f in CONTRIB_CERT COPYRIGHT INSTALL License README TRADEMARK USAGE \
sample-nonspam.txt sample-spam.txt spamd/README.spamd \
spamd/README.spamd-vpopmail
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
@${INSTALL_DATA} ${WRKSRC}/$f ${DOCDIR}/$f
@${ECHO} "${DOC_SUBDIR}/$f" >> ${PLIST_ADD}
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.endfor
.for f in STATISTICS.txt STATISTICS-set1.txt STATISTICS-set2.txt \
STATISTICS-set3.txt
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
@${INSTALL_DATA} ${WRKSRC}/rules/$f ${DOCDIR}/
@${ECHO} "${DOC_SUBDIR}/$f" >> ${PLIST_ADD}
.endfor
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
.for DIR in masses qmail sql tools
@cd ${WRKSRC}; \
for d in `${FIND} ${DIR} -type d -print`; do \
${INSTALL_DATA_DIR} ${DOCDIR}/$$d; \
done; \
for f in `${FIND} ${DIR} -type f -print`; do \
if ${TEST} -f $$f; then \
: ; \
else \
continue; \
fi; \
if ${TEST} -x $$f ; then \
${SED} -e "1s,#!.*/bin/perl,#!${PERL5}," < $$f \
> $${f}.fixed && \
${MV} $${f}.fixed $$f && \
${CHMOD} +x $$f && \
${INSTALL_SCRIPT} $$f ${DOCDIR}/$$f; \
else \
${INSTALL_DATA} $$f ${DOCDIR}/$$f; \
fi; \
${ECHO} "${DOC_SUBDIR}/$$f" >> ${PLIST_ADD}; \
done; \
{ for d in `${FIND} ${DIR} -type d -print`; do \
${ECHO} "@dirrm ${DOC_SUBDIR}/$$d"; \
done; } | ${SORT} -r >> ${PLIST_ADD};
.endfor
@cd ${WRKSRC}/rules; \
for f in [0-9]*.cf; do \
${ECHO} "${RULE_SUBDIR}/$$f" >> ${PLIST_ADD}; \
done
@${ECHO} "@dirrm ${RULE_SUBDIR}" >> ${PLIST_ADD}
@# examples are in the static PLIST
Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included.
2003-04-15 02:02:24 +02:00
@${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}/*
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"