summaryrefslogtreecommitdiff
path: root/mail/bmf/patches
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2002-10-10 11:05:31 +0000
committermjl <mjl@pkgsrc.org>2002-10-10 11:05:31 +0000
commit6a167ff289e44cbb95ec6fe04f9e33defde03b20 (patch)
tree3dccd029ff054523918e1a496bce7e3a77a1b520 /mail/bmf/patches
parent414d39e46b2d2cafaf82c746d4fcfbea9995794f (diff)
downloadpkgsrc-6a167ff289e44cbb95ec6fe04f9e33defde03b20.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
+