ports/88016: [MAINTAINER] mail/bogofilter: update to 0.96.3
Matthias Andree
matthias.andree at gmx.de
Wed Oct 26 09:10:18 UTC 2005
>Number: 88016
>Category: ports
>Synopsis: [MAINTAINER] mail/bogofilter: update to 0.96.3
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 26 09:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #2: Mon Oct 24 12:35:08 CEST 2005
>Description:
- Update to 0.96.3:
- fix buffer overrun in iconvert.c
- fix SIGSEGV with long HTML comment
- fix use-after-free problem
- add three contrib/ Perl scripts from Tom Anderson
- fix program abort for some of the bad options
- remove unused BDB locking options
- do not decode image/, application/, audio/, video/ MIME types
- drop unused CP866 code (may affect russian/ru-bogofilter)
This is not in upstream 0.96.3 but in files/patch-mimetypes:
- recognize all image/* not just image/bmp as "do not decode" MIME type.
Added file(s):
- files/patch-mimetypes
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- bogofilter-0.96.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/Makefile /usr/home/emma/ports/mail/bogofilter/Makefile
--- /usr/ports/mail/bogofilter/Makefile Mon Oct 24 18:56:53 2005
+++ /usr/home/emma/ports/mail/bogofilter/Makefile Wed Oct 26 10:51:48 2005
@@ -6,8 +6,8 @@
#
PORTNAME= bogofilter
-PORTVERSION= 0.96.2
-PORTREVISION?= 1
+PORTVERSION= 0.96.3
+PORTREVISION?= 0
CATEGORIES?= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -63,10 +63,13 @@
${WRKSRC}/contrib/trainbogo.sh
${REINPLACE_CMD} -e 's|^#!.*perl|#! ${PERL}|' \
${WRKSRC}/src/tests/unsort.pl \
+ ${WRKSRC}/contrib/bfproxy \
${WRKSRC}/contrib/bogofilter-milter.pl \
${WRKSRC}/contrib/bogominitrain.pl \
${WRKSRC}/contrib/mime.get.rfc822 \
- ${WRKSRC}/contrib/printmaildir.pl
+ ${WRKSRC}/contrib/printmaildir.pl \
+ ${WRKSRC}/contrib/spamitarium \
+ ${WRKSRC}/contrib/stripsearch
${REINPLACE_CMD} -e 's/INTEGRITY_TESTS = t.lock1 t.lock3 t.valgrind/INTEGRITY_TESTS = t.lock1 t.lock3/' \
${WRKSRC}/src/tests/Makefile.in
@@ -106,7 +109,8 @@
${INSTALL_PROGRAM} ${WRKSRC}/contrib/bogogrep ${DOCSDIR}/contrib/
.for i in contrib/bogo.R contrib/bogofilter-qfe \
contrib/mime.get.rfc822 contrib/printmaildir.pl \
- contrib/bogominitrain.pl contrib/README.contrib
+ contrib/bogominitrain.pl contrib/README.contrib \
+ contrib/bfproxy contrib/spamitarium contrib/stripsearch
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.if !defined(WITHOUT_BASH)
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/distinfo /usr/home/emma/ports/mail/bogofilter/distinfo
--- /usr/ports/mail/bogofilter/distinfo Mon Oct 24 01:08:47 2005
+++ /usr/home/emma/ports/mail/bogofilter/distinfo Wed Oct 26 10:19:21 2005
@@ -1,2 +1,2 @@
-MD5 (bogofilter-0.96.2.tar.bz2) = 30b66f7cf0abfb3dbd51ad07894e3505
-SIZE (bogofilter-0.96.2.tar.bz2) = 722557
+MD5 (bogofilter-0.96.3.tar.bz2) = eeb9a0374fbfa10cd22907b44bcb0711
+SIZE (bogofilter-0.96.3.tar.bz2) = 740218
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/files/patch-mimetypes /usr/home/emma/ports/mail/bogofilter/files/patch-mimetypes
--- /usr/ports/mail/bogofilter/files/patch-mimetypes Thu Jan 1 01:00:00 1970
+++ /usr/home/emma/ports/mail/bogofilter/files/patch-mimetypes Wed Oct 26 10:25:39 2005
@@ -0,0 +1,11 @@
+--- ./src/mime.c.orig Wed Oct 26 10:24:05 2005
++++ ./src/mime.c Wed Oct 26 10:24:09 2005
+@@ -48,7 +48,7 @@
+ { MIME_APPLICATION, "application/", 12 },
+ { MIME_MESSAGE, "message/", 8 },
+ { MIME_MULTIPART, "multipart/", 10 },
+- { MIME_IMAGE, "image/bmp", 9 },
++ { MIME_IMAGE, "image/", 9 },
+ { MIME_AUDIO, "audio/", 6 },
+ { MIME_VIDEO, "video/", 6 },
+ };
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/pkg-plist /usr/home/emma/ports/mail/bogofilter/pkg-plist
--- /usr/ports/mail/bogofilter/pkg-plist Mon Oct 24 18:56:53 2005
+++ /usr/home/emma/ports/mail/bogofilter/pkg-plist Wed Oct 26 10:29:08 2005
@@ -7,6 +7,7 @@
bin/bogoutil
bin/bogoupgrade
etc/bogofilter.cf.example
+%%CONTRIB%%%%DOCSDIR%%/contrib/bfproxy
%%CONTRIB%%%%DOCSDIR%%/contrib/bogo.R
%%CONTRIB%%%%DOCSDIR%%/contrib/bogofilter-qfe
%%CONTRIB%%%%DOCSDIR%%/contrib/mime.get.rfc822
@@ -16,6 +17,8 @@
%%CONTRIB%%%%DOCSDIR%%/contrib/bogogrep
%%CONTRIB%%%%DOCSDIR%%/contrib/randomtrain
%%CONTRIB%%%%DOCSDIR%%/contrib/scramble
+%%CONTRIB%%%%DOCSDIR%%/contrib/spamitarium
+%%CONTRIB%%%%DOCSDIR%%/contrib/stripsearch
%%CONTRIB%%%%DOCSDIR%%/contrib/trainbogo.sh
%%CONTRIB%%%%DOCSDIR%%/contrib/README.randomtrain
%%CONTRIB%%@dirrm %%DOCSDIR%%/contrib
--- bogofilter-0.96.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list