Commit graph

23 commits

Author SHA1 Message Date
heinz
bea17a032b Remove incorrect 'free()' from libspamc.c (used in 'spamc'). Patch copied
from stable branch of SA CVS repository.

On other operating systems 'spamc' was reported to cause a core dump if
'spamd' was not running. At least NetBSD/i386 1.5.3 seems not to be as
severely affected, I only got 'spamc in free(): warning: junk
pointer, too high to make sense.'.
2003-02-09 02:55:41 +00:00
heinz
fce90a9f2c Remove incorrect 'free()' from libspamc.c (used in 'spamc'). Patch copied
from stable branch of SA CVS repository.

On other operating systems 'spamc' was reported to cause a core dump if
'spamd' was not running. At least NetBSD/i386 1.5.3 seems not to be as
severely affected, I only got 'spamc in free(): warning: junk
pointer, too high to make sense.'.
2003-02-09 02:27:54 +00:00
heinz
827b142e37 Maintenance update to 2.44
Parts of patch-ag and patch-ah as well as complete patch-aa could be
removed again, they are now included in SA 2.44 (see below).

#### official release announcement ###############

This is a bug-fix release, which fixes the following bugs:

  - Backport fix for Bug 1306: Possible buffer overflow in libspamc when
    running in BSMTP mode (patch 1.15 -> 1.18)

  - Backport workaround from Bug 526: Failed sanity check because of
    clobbered STDOUT (patch 1.147 -> 1.148)

  - Backport fix for Debian Bug 160206: Insufficient buffer in libspamc
    (patch 1.8 -> 1.9)

  - Backport fix for warnings in sed_path (patch 1.141 -> 1.142)

  - Backport fix for Bug 1127: Existing lowercase x-spam-status header
    kills SpamAssassin (patch 1.40 -> 1.41)

  - localized %ENV to fix problem where Razor2 erases the PATH so DCC
    and
    pyzor don't work, etc.

Note that this is *not* 2.50, which offers Bayesian filtering etc. These
bugs are already fixed in the 2.50 CVS tree, but that is not yet ready for
release.  This is a stable maintainance release only.
2003-02-02 19:38:39 +00:00
tron
c30f53768f Fix buffer overflow in "spamc" program can be remotely exploited.
Bump package revision.
2003-01-29 17:34:28 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
heinz
24d4f258b3 Changed the rc.d script to account for different behaviour of
load_rc_config in NetBSD 1.6. This resolves PR pkg/18928 by Frank Cusack
(fcusack at fcusack com).

The rc.d script is now called on 'shutdown'.

Included fixes from SA CVS repository (2002-10-21) to minimize
impact of Razor2 on the environment vector, especially PATH.

Bumped PKGREVISION.
2002-11-06 21:51:26 +00:00
heinz
fc7f5bd8aa PKGREVISION is now empty, to placate lintpkgsrc (thanks to Martti
Kuparinen).
2002-10-21 12:39:30 +00:00
jlam
8956afab00 For subtle reasons, expand ${WRKSRC} into ${WRKDIR}/${DISTNAME} in
RCD_SCRIPT_SRC.spamd definition.  The reason is that WRKSRC isn't defined
by the time we get down to bsd.pkg.install.mk, so the dependency logic
replaces "${WRKSRC}" with "", which is wrong.

XXX bsd.pkg.install.mk should really be included by bsd.pkg.mk, in much the
XXX same way bsd.buildlink2.mk is included by bsd.pkg.mk.  It would remove
XXX these ordering problems with variables not being available.
2002-10-21 07:57:07 +00:00
heinz
cf59fe8ec6 Update to 2.43
Item 1) was already provided by 'inofficial' patch-af for 2.42 (now
removed).

Two new patches (-ag and -ah) from the SpamAssassin-current repository
work around a roblem with razor2 timeouts.

Logo 'ninjabutton.png' is now in the correct html directory.

Official changes:
 1) AWL change reverted; instead of decreasing the AWL bias gradually to
    allow frequently-seen addresses to get into the "nonspam" area, it now
    behaves like 2.31 did, in that the AWL simply represents the
    long-term average score from that correspondent.

 2) core-dump bug in spamd worked around, _except for the "-m" switch_.
    The "-m" switch relies on signal handling in the Perl interpreter,
    which seems to have some bugs we cannot work around reliably on some
    platforms, so its use is no longer recommended.

 3) some portability fixes for SunOS.
2002-10-20 20:09:05 +00:00
heinz
cc4c6f0e91 - Setting PKG_SYSCONFBASE in /etc/mk.conf works now (Thanks to Urban
Boquist).
- Included fix for bad AWL behaviour which will also be in 2.50 (maybe 2.43)
  (ie AWL works the same again as in SA 2.31). This causes revision bump.
2002-10-08 16:41:32 +00:00
heinz
c820c3185c Update to 2.42.
Uses buildlink2 and module.mk. Some perl scripts for rule developers
(in PREFIX/share/doc/spamassassin/{masses,tools}/) and a small SpamAssassin
logo (PREFIX/share/doc/spamassassin/html/) are now included.
New netbsd_lists.cf file to reduce false positives on NetBSD lists (so
far, only some rules for netbsd-bugs).

Changes:
- bug fixes
- new, better scores (intensive testing was done to improve on 2.40 and
  2.41)
- netbsd rc.d script works now with NetBSD 1.5 and 1.6
- management of addresses in the automatic whitlist now easier with
  dedicated options (--add-addr-to-whitelist, --remove-addr-from-whitelist)
2002-10-08 00:49:18 +00:00
simonb
5ecdb5eb31 Update spamassassin to 2.41.
Major changes include:

 - SpamAssassin now *REQUIRES* procmail for local delivery support; "-P"
   option is now the default.  Unless you use procmail, Mail::Audit, KMail,
   or an MTA-level integration, do not upgrade blindly, your mail *WILL*
   spill all over the floor in a big mess.

 - significant speed increases, mostly from Matt Sergeant and Dan Quinlan

 - bugs in whitelist_to, all_spam_to and friends fixed

 - rules which were causing too many false-positives removed or fixed:
   DOUBLE_CAPSWORD, UPPERCASE_25_50, PARTIAL_RFC_2369, MSGID_CHARS_SPAM,
   many others

 - lots of rule fixes, and lots of new rules
2002-09-29 23:44:28 +00:00
grant
0c5bb6abcc Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.
2002-09-20 02:01:54 +00:00
grant
1a32f410cb Use @PREFIX@, not "/usr/pkg" (which is obviously not right). 2002-09-20 01:38:38 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
wiz
45bacf7314 Add conflict with p5-Mail-SpamAssassin (for those who still have it installed). 2002-09-08 23:30:38 +00:00
hubertf
24616a7a60 The SpamAssassin daemon (spamd) must be started with the -d
flag to really become a daemon, but that flag is missing in
        the provided rc.d script.

Patch by Urban Boquist <urban@boquist.net> in PR 18171
2002-09-05 09:03:33 +00:00
abs
af036bcd9e Add REQUIRE: DAEMON to ensure starts at the right time.
Omission noted by wiz.
2002-08-30 11:17:10 +00:00
abs
09a910259e Updated spamassassin to 2.31nb1
Add rc.d/spamd (From norm at sandbox org uk)
2002-08-30 10:50:51 +00:00
hubertf
d7cbb07612 Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin. 2002-08-26 16:00:52 +00:00
hubertf
2c0cbb9af6 Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin. 2002-08-26 15:54:28 +00:00
hubertf
065db589cb spamassassin is already present as p5-Mail-SpamAssassin
(how obvious... NOT!)
2002-08-25 22:44:19 +00:00
hubertf
ed728fb611 Add spamassassin-2.31: Spam identifier and blocker
SpamAssassin is a mail filter which attempts to identify spam using text
analysis and several internet-based realtime blacklists.

Using its rule base, it uses a wide range of heuristic tests on mail
headers and body text to identify "spam", also known as unsolicited
commercial email.

Once identified, the mail can then be optionally tagged as spam for later
filtering using the user's own mail user-agent application.

In its most recent test, SpamAssassin differentiated between spam and
non-spam mail correctly in 99.94% of cases.  Since then, it's just been
getting better and better!
2002-08-24 19:46:39 +00:00