mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
add cleanfeed, a spam filter for Usenet news servers
PR: 24481 Submitted by: Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
This commit is contained in:
parent
99b5022eac
commit
852a22c169
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39069
@ -5,6 +5,7 @@
|
||||
SUBDIR += aub
|
||||
SUBDIR += bgrab
|
||||
SUBDIR += c-nocem
|
||||
SUBDIR += cleanfeed
|
||||
SUBDIR += cnews
|
||||
SUBDIR += dejasearch
|
||||
SUBDIR += diablo
|
||||
|
31
news/cleanfeed/Makefile
Normal file
31
news/cleanfeed/Makefile
Normal file
@ -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>
|
2
news/cleanfeed/distinfo
Normal file
2
news/cleanfeed/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (cleanfeed-0.95.7b.tar.gz) = a715445b9fb13382a3d97bbbb64d638f
|
||||
MD5 (inn2.3.patch) = 98a2f6222aeeae4c6e442ed42440e37c
|
17
news/cleanfeed/files/patch-aa
Normal file
17
news/cleanfeed/files/patch-aa
Normal file
@ -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
|
1
news/cleanfeed/pkg-comment
Normal file
1
news/cleanfeed/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Spam filter for Usenet news servers
|
9
news/cleanfeed/pkg-deinstall
Normal file
9
news/cleanfeed/pkg-deinstall
Normal file
@ -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
|
14
news/cleanfeed/pkg-descr
Normal file
14
news/cleanfeed/pkg-descr
Normal file
@ -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
|
2
news/cleanfeed/pkg-plist
Normal file
2
news/cleanfeed/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
news/bin/filter/filter_innd.pl
|
||||
news/bin/filter/cleanfeed.conf
|
Loading…
Reference in New Issue
Block a user