summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-08-04 11:38:19 +0000
committeroliver <oliver@FreeBSD.org>2003-08-04 11:38:19 +0000
commit625a6b8c1bb88b1c6d1aa881de21c64e8939d716 (patch)
treeadc44b804aa1575c0aec342f324fcf8d6f14eec4 /mail
parentd7792b782e9b4085b8e85eff7ad8d9cee265fa0d (diff)
downloadFreeBSD-ports-625a6b8c1bb88b1c6d1aa881de21c64e8939d716.zip
FreeBSD-ports-625a6b8c1bb88b1c6d1aa881de21c64e8939d716.tar.gz
Add dspam 2.6.3, a server-side bayesian spam filter.
PR: 55222 Submitted by: Dominic Marks <dom@wirespeed.org.uk>
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/dspam-devel/Makefile39
-rw-r--r--mail/dspam-devel/distinfo1
-rw-r--r--mail/dspam-devel/files/patch-configure12
-rw-r--r--mail/dspam-devel/pkg-descr7
-rw-r--r--mail/dspam-devel/pkg-message7
-rw-r--r--mail/dspam-devel/pkg-plist15
-rw-r--r--mail/dspam/Makefile39
-rw-r--r--mail/dspam/distinfo1
-rw-r--r--mail/dspam/files/patch-configure12
-rw-r--r--mail/dspam/pkg-descr7
-rw-r--r--mail/dspam/pkg-message7
-rw-r--r--mail/dspam/pkg-plist15
13 files changed, 163 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index ce2dcbd..0b9b423 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -44,6 +44,7 @@
SUBDIR += drac
SUBDIR += drbl
SUBDIR += dsbl-testers
+ SUBDIR += dspam
SUBDIR += ecartis
SUBDIR += elm
SUBDIR += elm+ME
diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile
new file mode 100644
index 0000000..b2813c5
--- /dev/null
+++ b/mail/dspam-devel/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: dspam
+# Date created: 3 August 2003
+# Whom: Dominic Marks <dom@wirespeed.org.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dspam
+PORTVERSION= 2.6.3
+CATEGORIES= mail
+MASTER_SITES= http://www.networkdweebs.com/software/dspam/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}
+
+MAINTAINER= dom@wirespeed.org.uk
+COMMENT= A server-side bayesian spam filter
+
+LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam \
+ --with-db4-includes=${LOCALBASE}/include/db41
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g ; \
+ s|-ldb-4.1|-ldb41|g' ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGE \
+ ${DOCSDIR}
+.endif
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/mail/dspam-devel/distinfo b/mail/dspam-devel/distinfo
new file mode 100644
index 0000000..67a22ef
--- /dev/null
+++ b/mail/dspam-devel/distinfo
@@ -0,0 +1 @@
+MD5 (dspam-2.6.tar.gz) = 3fd1eb76bd4d28fd7707b64e7899b3cd
diff --git a/mail/dspam-devel/files/patch-configure b/mail/dspam-devel/files/patch-configure
new file mode 100644
index 0000000..04f295d
--- /dev/null
+++ b/mail/dspam-devel/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig Sun Aug 3 01:16:30 2003
++++ configure Mon Aug 4 12:03:04 2003
+@@ -18216,7 +18216,8 @@
+
+
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="%%LIBTOOLFLAGS%% $ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/mail/dspam-devel/pkg-descr b/mail/dspam-devel/pkg-descr
new file mode 100644
index 0000000..9fce811
--- /dev/null
+++ b/mail/dspam-devel/pkg-descr
@@ -0,0 +1,7 @@
+DSPAM (as in De-Spam) is an open-source project to create a new kind
+of anti-spam mechanism, and is currently effective as both a
+server-side agent for UNIX email servers and a developer's library
+for mail clients, other anti-spam tools, and similar projects
+requiring drop-in spam filtering.
+
+WWW: http://www.networkdweebs.com/software/dspam/
diff --git a/mail/dspam-devel/pkg-message b/mail/dspam-devel/pkg-message
new file mode 100644
index 0000000..685b4c7
--- /dev/null
+++ b/mail/dspam-devel/pkg-message
@@ -0,0 +1,7 @@
+--------------------------------------------------------------------
+
+ See the file %%PREFIX%%/share/doc/dspam/README for advice about
+ how to configure DSPAM with your MTA. Examples are provided for
+ sendmail, exim and other popular MTAs.
+
+--------------------------------------------------------------------
diff --git a/mail/dspam-devel/pkg-plist b/mail/dspam-devel/pkg-plist
new file mode 100644
index 0000000..8295c79
--- /dev/null
+++ b/mail/dspam-devel/pkg-plist
@@ -0,0 +1,15 @@
+bin/dspam
+bin/dspam_dump
+bin/dspam_convert
+bin/dspam_clean
+bin/dspam_crc
+bin/dspam_purge
+bin/dspam_stats
+bin/dspam_corpus
+lib/libdspam.so.2
+lib/libdspam.so
+lib/libdspam.a
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/CHANGE
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm etc/dspam
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
new file mode 100644
index 0000000..b2813c5
--- /dev/null
+++ b/mail/dspam/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: dspam
+# Date created: 3 August 2003
+# Whom: Dominic Marks <dom@wirespeed.org.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dspam
+PORTVERSION= 2.6.3
+CATEGORIES= mail
+MASTER_SITES= http://www.networkdweebs.com/software/dspam/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}
+
+MAINTAINER= dom@wirespeed.org.uk
+COMMENT= A server-side bayesian spam filter
+
+LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam \
+ --with-db4-includes=${LOCALBASE}/include/db41
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g ; \
+ s|-ldb-4.1|-ldb41|g' ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGE \
+ ${DOCSDIR}
+.endif
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/mail/dspam/distinfo b/mail/dspam/distinfo
new file mode 100644
index 0000000..67a22ef
--- /dev/null
+++ b/mail/dspam/distinfo
@@ -0,0 +1 @@
+MD5 (dspam-2.6.tar.gz) = 3fd1eb76bd4d28fd7707b64e7899b3cd
diff --git a/mail/dspam/files/patch-configure b/mail/dspam/files/patch-configure
new file mode 100644
index 0000000..04f295d
--- /dev/null
+++ b/mail/dspam/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig Sun Aug 3 01:16:30 2003
++++ configure Mon Aug 4 12:03:04 2003
+@@ -18216,7 +18216,8 @@
+
+
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="%%LIBTOOLFLAGS%% $ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/mail/dspam/pkg-descr b/mail/dspam/pkg-descr
new file mode 100644
index 0000000..9fce811
--- /dev/null
+++ b/mail/dspam/pkg-descr
@@ -0,0 +1,7 @@
+DSPAM (as in De-Spam) is an open-source project to create a new kind
+of anti-spam mechanism, and is currently effective as both a
+server-side agent for UNIX email servers and a developer's library
+for mail clients, other anti-spam tools, and similar projects
+requiring drop-in spam filtering.
+
+WWW: http://www.networkdweebs.com/software/dspam/
diff --git a/mail/dspam/pkg-message b/mail/dspam/pkg-message
new file mode 100644
index 0000000..685b4c7
--- /dev/null
+++ b/mail/dspam/pkg-message
@@ -0,0 +1,7 @@
+--------------------------------------------------------------------
+
+ See the file %%PREFIX%%/share/doc/dspam/README for advice about
+ how to configure DSPAM with your MTA. Examples are provided for
+ sendmail, exim and other popular MTAs.
+
+--------------------------------------------------------------------
diff --git a/mail/dspam/pkg-plist b/mail/dspam/pkg-plist
new file mode 100644
index 0000000..8295c79
--- /dev/null
+++ b/mail/dspam/pkg-plist
@@ -0,0 +1,15 @@
+bin/dspam
+bin/dspam_dump
+bin/dspam_convert
+bin/dspam_clean
+bin/dspam_crc
+bin/dspam_purge
+bin/dspam_stats
+bin/dspam_corpus
+lib/libdspam.so.2
+lib/libdspam.so
+lib/libdspam.a
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/CHANGE
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm etc/dspam
OpenPOWER on IntegriCloud