From 8538ba7d4abcdee3c017044e36569a66a9493532 Mon Sep 17 00:00:00 2001 From: snj Date: Tue, 26 Oct 2004 05:41:41 +0000 Subject: Update to 0.92.8. Changes: * Portability fixes * Documentation fixes * '-M' allows processing 1 msg-count file with multiple messages. Otherwise allow multiple msg-count files with 1 message in each. * Allow only one of '-d' and '-D' options for bogotune. * Remove check for bogohome since it breaks "bogotune -D". * Ignore 'X-Bogosity' lines in mime attachments. * Bogotune now warns when using '-E' to suppress ESF checking and non 1.0 esf values are read from the config file. * Limit bogotune's scanning to rx values between 0.4 and 0.6. * Fix a potential crash on malformatted input (writing a NUL byte to the wrong place) in the RFC-2047 decoder. Reported by Clint Adams. * bogofilter will now properly exit with code 3 when encountering write errors in pass-through mode. It would use the wrong code, 2, since the introduction of the "unsure" exit code. * Properly flush existing data before changing I/O buffer size. Fixes t.bogodir failure seen, for instance, on Solaris, particularly with -D and redirected output. --- mail/bogofilter/Makefile | 5 ++--- mail/bogofilter/distinfo | 8 ++++---- mail/bogofilter/patches/patch-aa | 16 ++++++++-------- 3 files changed, 14 insertions(+), 15 deletions(-) (limited to 'mail') diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile index 306828e5104..779f8f4d3b8 100644 --- a/mail/bogofilter/Makefile +++ b/mail/bogofilter/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2004/10/03 00:12:52 tv Exp $ +# $NetBSD: Makefile,v 1.22 2004/10/26 05:41:41 snj Exp $ -DISTNAME= bogofilter-0.92.6 -PKGREVISION= 1 +DISTNAME= bogofilter-0.92.8 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bogofilter/} EXTRACT_SUFX= .tar.bz2 diff --git a/mail/bogofilter/distinfo b/mail/bogofilter/distinfo index 20af3c2f538..5c82b43cd50 100644 --- a/mail/bogofilter/distinfo +++ b/mail/bogofilter/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.11 2004/08/29 06:47:17 snj Exp $ +$NetBSD: distinfo,v 1.12 2004/10/26 05:41:41 snj Exp $ -SHA1 (bogofilter-0.92.6.tar.bz2) = 1df0cbc73f5cbfedb9c0af621cec0310fb4d175d -Size (bogofilter-0.92.6.tar.bz2) = 626713 bytes -SHA1 (patch-aa) = 3d8b44dbd8751a5c3f7000fe4bb3a53c2947213f +SHA1 (bogofilter-0.92.8.tar.bz2) = ffaf181f71dfee7d4475d5c20fed4a8f50a3e7c4 +Size (bogofilter-0.92.8.tar.bz2) = 637420 bytes +SHA1 (patch-aa) = 2ce311616845a75aa978f96f5792db65b66539d5 SHA1 (patch-ab) = f55a9956d82f56cef686a9125983ec5fd6942809 diff --git a/mail/bogofilter/patches/patch-aa b/mail/bogofilter/patches/patch-aa index 0c2d538d350..c458f5cdb1e 100644 --- a/mail/bogofilter/patches/patch-aa +++ b/mail/bogofilter/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2004/02/09 00:59:06 snj Exp $ +$NetBSD: patch-aa,v 1.3 2004/10/26 05:41:41 snj Exp $ ---- Makefile.in.orig 2004-01-23 14:35:06.000000000 -0800 -+++ Makefile.in 2004-01-24 00:50:28.000000000 -0800 -@@ -204,6 +204,7 @@ +--- Makefile.in.orig 2004-10-19 17:39:42.000000000 -0700 ++++ Makefile.in 2004-10-25 22:11:33.000000000 -0700 +@@ -204,6 +204,7 @@ SYSCONFDIR = @sysconfdir@ # what to build sysconf_DATA = bogofilter.cf.example @@ -10,17 +10,17 @@ $NetBSD: patch-aa,v 1.2 2004/02/09 00:59:06 snj Exp $ # what to distribute EXTRA_DIST = autogen.sh gsl config.rpath \ -@@ -257,14 +258,8 @@ +@@ -254,14 +255,8 @@ bogofilter.spec: $(top_builddir)/config. cd $(top_builddir) && $(SHELL) ./config.status $@ uninstall-info-am: install-sysconfDATA: $(sysconf_DATA) - @$(NORMAL_INSTALL) -- $(mkdir_p) $(DESTDIR)$(sysconfdir) +- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)" - @list='$(sysconf_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ -- echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \ -- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \ +- echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ +- $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ - done + $(mkdir_p) $(egdir) + $(INSTALL_DATA) $(sysconf_DATA) $(egdir)/bogofilter.cf -- cgit v1.2.3