aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-26 13:02:49 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-26 13:02:49 +0000
commitf81ab08cf0eabd5e6ea69728c1c9402aaf2ef7e1 (patch)
tree529e03f487ab6d27f4be43094d45d1efccf1e20d /mail
parentd12602467d0db5d8a32a008a350b68c32720342c (diff)
downloadports-f81ab08cf0eabd5e6ea69728c1c9402aaf2ef7e1.tar.gz
ports-f81ab08cf0eabd5e6ea69728c1c9402aaf2ef7e1.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/bogofilter/Makefile12
-rw-r--r--mail/bogofilter/distinfo4
-rw-r--r--mail/bogofilter/files/patch-mimetypes11
-rw-r--r--mail/bogofilter/pkg-plist3
4 files changed, 24 insertions, 6 deletions
diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile
index 7efd3bf3f92d..50b45a7669de 100644
--- a/mail/bogofilter/Makefile
+++ b/mail/bogofilter/Makefile
@@ -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 @@ post-patch:
${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 @@ post-install::
${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 --git a/mail/bogofilter/distinfo b/mail/bogofilter/distinfo
index f4cad0b90034..b382df0005da 100644
--- a/mail/bogofilter/distinfo
+++ b/mail/bogofilter/distinfo
@@ -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 --git a/mail/bogofilter/files/patch-mimetypes b/mail/bogofilter/files/patch-mimetypes
new file mode 100644
index 000000000000..0293c554e6a0
--- /dev/null
+++ b/mail/bogofilter/files/patch-mimetypes
@@ -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 --git a/mail/bogofilter/pkg-plist b/mail/bogofilter/pkg-plist
index 028908e2e35d..eace48bb3d08 100644
--- a/mail/bogofilter/pkg-plist
+++ b/mail/bogofilter/pkg-plist
@@ -7,6 +7,7 @@ bin/bogotune
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 @@ etc/bogofilter.cf.example
%%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