diff options
Diffstat (limited to 'news/cleanfeed')
-rw-r--r-- | news/cleanfeed/Makefile | 31 | ||||
-rw-r--r-- | news/cleanfeed/distinfo | 2 | ||||
-rw-r--r-- | news/cleanfeed/files/patch-aa | 17 | ||||
-rw-r--r-- | news/cleanfeed/pkg-comment | 1 | ||||
-rw-r--r-- | news/cleanfeed/pkg-deinstall | 9 | ||||
-rw-r--r-- | news/cleanfeed/pkg-descr | 14 | ||||
-rw-r--r-- | news/cleanfeed/pkg-plist | 2 |
7 files changed, 76 insertions, 0 deletions
diff --git a/news/cleanfeed/Makefile b/news/cleanfeed/Makefile new file mode 100644 index 0000000..9082abf --- /dev/null +++ b/news/cleanfeed/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: cleanfeed +# Date created: 09 October 2000 +# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= cleanfeed +PORTVERSION= 0.95.7b +CATEGORIES= news +MASTER_SITES= http://www.exit109.com/~jeremy/news/ + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= inn2.3.patch + +MAINTAINER= leeym@cae.ce.ntu.edu.tw + +RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:${PORTSDIR}/news/inn + +NO_BUILD= yes +MAN8= cleanfeed.8 + +do-install: + @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/cleanfeed + @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${PKGDEINSTALL} + @-${MV} ${LOCALBASE}/news/bin/filter/filter_innd.pl ${LOCALBASE}/news/bin/filter/filter_innd.pl.ORIG + @${INSTALL_SCRIPT} ${WRKSRC}/cleanfeed ${LOCALBASE}/news/bin/filter/filter_innd.pl + @${INSTALL_DATA} ${WRKSRC}/cleanfeed.conf ${LOCALBASE}/news/bin/filter/cleanfeed.conf + @${INSTALL_MAN} ${WRKSRC}/cleanfeed.8 ${LOCALBASE}/man/man8/ + +.include <bsd.port.mk> diff --git a/news/cleanfeed/distinfo b/news/cleanfeed/distinfo new file mode 100644 index 0000000..4bfcca7 --- /dev/null +++ b/news/cleanfeed/distinfo @@ -0,0 +1,2 @@ +MD5 (cleanfeed-0.95.7b.tar.gz) = a715445b9fb13382a3d97bbbb64d638f +MD5 (inn2.3.patch) = 98a2f6222aeeae4c6e442ed42440e37c diff --git a/news/cleanfeed/files/patch-aa b/news/cleanfeed/files/patch-aa new file mode 100644 index 0000000..42d12ad --- /dev/null +++ b/news/cleanfeed/files/patch-aa @@ -0,0 +1,17 @@ +--- cleanfeed.orig Sun Jan 14 02:10:40 2001 ++++ cleanfeed Sun Jan 14 02:11:08 2001 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + # + # Cleanfeed + # Version 0.95.7b 3 September 1998 +@@ -26,7 +26,7 @@ + # directory where the cleanfeed.conf and cleanfeed.local files live + # set this to undef to not use the external file + +-$config_dir = '/usr/news/bin/control'; ++$config_dir = '%%PREFIX%%/news/bin/filter'; + + + # Everything below here can be set in cleanfeed.conf diff --git a/news/cleanfeed/pkg-comment b/news/cleanfeed/pkg-comment new file mode 100644 index 0000000..0e0f610 --- /dev/null +++ b/news/cleanfeed/pkg-comment @@ -0,0 +1 @@ +Spam filter for Usenet news servers diff --git a/news/cleanfeed/pkg-deinstall b/news/cleanfeed/pkg-deinstall new file mode 100644 index 0000000..69fd85d --- /dev/null +++ b/news/cleanfeed/pkg-deinstall @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +if [ -f %%LOCALBASE%%/news/bin/filter/filter_innd.pl.ORIG ]; then + mv %%LOCALBASE%%/news/bin/filter/filter_innd.pl.ORIG %%LOCALBASE%%/news/bin/filter/filter_innd.pl +fi diff --git a/news/cleanfeed/pkg-descr b/news/cleanfeed/pkg-descr new file mode 100644 index 0000000..530639d --- /dev/null +++ b/news/cleanfeed/pkg-descr @@ -0,0 +1,14 @@ +Cleanfeed 0.95.7b +----------------- + +Cleanfeed is a spam filter for INN, Cyclone, Typhoon, Breeze, and +NNTPRelay servers. + +Full documentation, including configuration and installation, is in the +file "cleanfeed.man", and in "cleanfeed.8" in man page form (suitable for +installation at /usr/local/man/man8, or wherever fine man pages live on +your system). + +Written by Jeremy Nixon <jeremy@exit109.com> + +WWW: http://www.exit109.com/~jeremy/news/cleanfeed.html diff --git a/news/cleanfeed/pkg-plist b/news/cleanfeed/pkg-plist new file mode 100644 index 0000000..61fb7d0 --- /dev/null +++ b/news/cleanfeed/pkg-plist @@ -0,0 +1,2 @@ +news/bin/filter/filter_innd.pl +news/bin/filter/cleanfeed.conf |