diff options
author | oliver <oliver@FreeBSD.org> | 2003-08-04 19:38:19 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-08-04 19:38:19 +0800 |
commit | 625a6b8c1bb88b1c6d1aa881de21c64e8939d716 (patch) | |
tree | adc44b804aa1575c0aec342f324fcf8d6f14eec4 /mail | |
parent | d7792b782e9b4085b8e85eff7ad8d9cee265fa0d (diff) | |
download | freebsd-ports-gnome-625a6b8c1bb88b1c6d1aa881de21c64e8939d716.tar.gz freebsd-ports-gnome-625a6b8c1bb88b1c6d1aa881de21c64e8939d716.tar.zst freebsd-ports-gnome-625a6b8c1bb88b1c6d1aa881de21c64e8939d716.zip |
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/Makefile | 1 | ||||
-rw-r--r-- | mail/dspam-devel/Makefile | 39 | ||||
-rw-r--r-- | mail/dspam-devel/distinfo | 1 | ||||
-rw-r--r-- | mail/dspam-devel/files/patch-configure | 12 | ||||
-rw-r--r-- | mail/dspam-devel/pkg-descr | 7 | ||||
-rw-r--r-- | mail/dspam-devel/pkg-message | 7 | ||||
-rw-r--r-- | mail/dspam-devel/pkg-plist | 15 | ||||
-rw-r--r-- | mail/dspam/Makefile | 39 | ||||
-rw-r--r-- | mail/dspam/distinfo | 1 | ||||
-rw-r--r-- | mail/dspam/files/patch-configure | 12 | ||||
-rw-r--r-- | mail/dspam/pkg-descr | 7 | ||||
-rw-r--r-- | mail/dspam/pkg-message | 7 | ||||
-rw-r--r-- | mail/dspam/pkg-plist | 15 |
13 files changed, 163 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index ce2dcbd449a5..0b9b423c9512 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 000000000000..b2813c542f20 --- /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 000000000000..67a22ef8b223 --- /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 000000000000..04f295d439b7 --- /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 000000000000..9fce811e1aac --- /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 000000000000..685b4c7cc4d0 --- /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 000000000000..8295c7911b06 --- /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 000000000000..b2813c542f20 --- /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 000000000000..67a22ef8b223 --- /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 000000000000..04f295d439b7 --- /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 000000000000..9fce811e1aac --- /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 000000000000..685b4c7cc4d0 --- /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 000000000000..8295c7911b06 --- /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 |