summaryrefslogtreecommitdiff
path: root/mail/bmf/patches
diff options
context:
space:
mode:
authormjl <mjl>2002-10-10 11:05:31 +0000
committermjl <mjl>2002-10-10 11:05:31 +0000
commit9d60615814acfaa5c8a269cb78d0123a8c6ba1de (patch)
tree3dccd029ff054523918e1a496bce7e3a77a1b520 /mail/bmf/patches
parent5821ef413b95467cd8d489809da75f52b3d4f6fe (diff)
downloadpkgsrc-9d60615814acfaa5c8a269cb78d0123a8c6ba1de.tar.gz
Initial import of bmf-0.84
This is a mail filter which uses the Bayes algorithm as explained in Paul Graham's article "A Plan for Spam". It aims to be faster, smaller, and more versatile than similar applicatios.
Diffstat (limited to 'mail/bmf/patches')
-rw-r--r--mail/bmf/patches/patch-aa32
-rw-r--r--mail/bmf/patches/patch-ab14
2 files changed, 46 insertions, 0 deletions
diff --git a/mail/bmf/patches/patch-aa b/mail/bmf/patches/patch-aa
new file mode 100644
index 00000000000..f8bb374244a
--- /dev/null
+++ b/mail/bmf/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/10/10 11:05:31 mjl Exp $
+
+--- configure.orig Tue Oct 8 11:39:14 2002
++++ configure Tue Oct 8 11:45:11 2002
+@@ -140,6 +140,27 @@
+ LIBDB_LIB=""
+ MYSQL_LIB="-lmysqlclient"
+ ;;
++ NetBSD)
++ OSVER=40
++ if [ "$with_debug" = "yes" ]; then
++ CCDBG="-g"
++ LDDBG="-g"
++ else
++ CCDBG="-DNDEBUG"
++ LDDBG=""
++ fi
++ CC=gcc
++ CFLAGS="$CCDBG -D_UNIX -D_BSD=$OSVER -Wall"
++ CXX=g++
++ CXXFLAGS=${CFLAGS}
++ AR=ar
++ ARFLAGS="-rc"
++ LD=gcc
++ LDFLAGS="$LDDBG"
++ SYSLIBS=""
++ LIBDB_LIB=""
++ MYSQL_LIB="-lmysqlclient"
++ ;;
+ OpenBSD)
+ # I'm guessing OpenBSD looks mostly like FreeBSD 4.x
+ OSVER=40
diff --git a/mail/bmf/patches/patch-ab b/mail/bmf/patches/patch-ab
new file mode 100644
index 00000000000..6ec17b87dd5
--- /dev/null
+++ b/mail/bmf/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/10/10 11:05:31 mjl Exp $
+
+--- Makefile.in.orig Thu Oct 10 12:04:54 2002
++++ Makefile.in Thu Oct 10 12:05:18 2002
+@@ -1,7 +1,7 @@
+ # Makefile for bmf
+
+-BINDIR=/usr/bin
+-MANDIR=/usr/share/man
++BINDIR?=/usr/bin
++MANDIR?=/usr/share/man
+
+ VERSION=0.84
+