Date: Sun, 9 Sep 2001 12:19:53 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/30452: update port: news/cleanfeed Message-ID: <200109090419.f894Jrp71874@utopia.leeym.com>
next in thread | raw e-mail | index | archive | help
>Number: 30452 >Category: ports >Synopsis: update port: news/cleanfeed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Sep 08 21:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 4.4-RC i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 4.4-RC FreeBSD 4.4-RC #15: Thu Aug 30 05:17:03 CST 2001 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: + update to new release 20010805. + update MAINTAINER's email address. >How-To-Repeat: >Fix: diff -ruN /usr/ports/news/cleanfeed/Makefile cleanfeed/Makefile --- /usr/ports/news/cleanfeed/Makefile Mon Jun 18 00:17:45 2001 +++ cleanfeed/Makefile Sun Sep 9 12:16:59 2001 @@ -6,25 +6,30 @@ # PORTNAME= cleanfeed -PORTVERSION= 0.95.7b +PORTVERSION= 20010805 CATEGORIES= news -MASTER_SITES= http://www.exit109.com/~jeremy/news/ +MASTER_SITES= http://www.bofh.it/~md/cleanfeed/ +EXTRACT_SUFX= .tgz -PATCH_SITES= ${MASTER_SITES} -PATCHFILES= inn2.3.patch - -MAINTAINER= leeym@cae.ce.ntu.edu.tw +MAINTAINER= leeym@leeym.com RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:${PORTSDIR}/news/inn NO_BUILD= yes -MAN8= cleanfeed.8 +BINOWN= news +BINGRP= news +SHAREOWN= news +SHAREGRP= news + +post-patch: +.for file in cleanfeed cleanfeed.local.sample + @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file} +.endfor do-install: - @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/cleanfeed - @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${PKGDEINSTALL} - @${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/ +.for file in bad_adult_paths bad_cancel_paths bad_hosts bad_paths cleanfeed cleanfeed.local.sample + @${INSTALL_DATA} ${WRKSRC}/${file} ${LOCALBASE}/news/bin/filter +.endfor + @cd ${LOCALBASE}/news/bin/filter; ${LN} -f cleanfeed filter_innd.pl .include <bsd.port.mk> diff -ruN /usr/ports/news/cleanfeed/distinfo cleanfeed/distinfo --- /usr/ports/news/cleanfeed/distinfo Mon Mar 5 15:16:01 2001 +++ cleanfeed/distinfo Fri Sep 7 23:25:36 2001 @@ -1,2 +1,2 @@ -MD5 (cleanfeed-0.95.7b.tar.gz) = a715445b9fb13382a3d97bbbb64d638f +MD5 (cleanfeed-20010805.tgz) = 95e4895bf5ffbbaf8412975caf1db0ea MD5 (inn2.3.patch) = 98a2f6222aeeae4c6e442ed42440e37c diff -ruN /usr/ports/news/cleanfeed/files/patch-aa cleanfeed/files/patch-aa --- /usr/ports/news/cleanfeed/files/patch-aa Mon Mar 5 15:16:42 2001 +++ cleanfeed/files/patch-aa Thu Jan 1 08:00:00 1970 @@ -1,17 +0,0 @@ ---- 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 -ruN /usr/ports/news/cleanfeed/files/patch-cleanfeed cleanfeed/files/patch-cleanfeed --- /usr/ports/news/cleanfeed/files/patch-cleanfeed Thu Jan 1 08:00:00 1970 +++ cleanfeed/files/patch-cleanfeed Sun Sep 9 02:33:49 2001 @@ -0,0 +1,11 @@ +--- cleanfeed.orig Sat Sep 8 09:42:19 2001 ++++ cleanfeed Sat Sep 8 09:42:31 2001 +@@ -11,7 +11,7 @@ + # Directory where cleanfeed.local and the other configuration files live. + # Set this to undef to not use any external file. + +-$config_dir = '/news/bin/filter'; ++$config_dir = '%%PREFIX%%/news/bin/filter'; + + ############################################################################## + # Server configuration diff -ruN /usr/ports/news/cleanfeed/files/patch-cleanfeed.local.sample cleanfeed/files/patch-cleanfeed.local.sample --- /usr/ports/news/cleanfeed/files/patch-cleanfeed.local.sample Thu Jan 1 08:00:00 1970 +++ cleanfeed/files/patch-cleanfeed.local.sample Sat Sep 8 09:42:33 2001 @@ -0,0 +1,21 @@ +--- cleanfeed.local.sample.orig Sat Sep 8 09:41:06 2001 ++++ cleanfeed.local.sample Sat Sep 8 09:41:24 2001 +@@ -213,13 +213,13 @@ + sub local_config { + %config_local = ( + block_late_cancels => 1, +- active_file => '/news/db/active', +- statfile => '/news/log/cleanfeed.stats', +-# html_statfile => '/news/log/cleanfeed.stats.html', ++ active_file => '%%PREFIX%%/news/db/active', ++ statfile => '%%PREFIX%%/news/log/cleanfeed.stats', ++# html_statfile => '%%PREFIX%%/news/log/cleanfeed.stats.html', + stats_interval => 300, + do_emp_dump => 1, +- emp_dump_file => '/news/tmp/empdump', +- debug_batch_directory => '/news/spam', ++ emp_dump_file => '%%PREFIX%%/news/tmp/empdump', ++ debug_batch_directory => '%%PREFIX%%/news/spam', + ); + + %config_append = ( diff -ruN /usr/ports/news/cleanfeed/pkg-descr cleanfeed/pkg-descr --- /usr/ports/news/cleanfeed/pkg-descr Mon Mar 5 15:16:01 2001 +++ cleanfeed/pkg-descr Sun Sep 9 12:15:42 2001 @@ -1,14 +1,15 @@ -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> +This is a new release of the popular cleanfeed usenet spam filter written +by Jeremy Nixon. I will continue releasing new versions until I get tired +or somebody else will step forward. +There is no real documentation, so if you never used cleanfeed please +download the original package from WWW: http://www.exit109.com/~jeremy/news/cleanfeed.html +and enjoy trying to understand what changed. + +If you already have an existing cleanfeed installation please double check +your cleanfeed.local, because it may not be compatibile with this release. +cleanfeed.conf does not exist anymore, the bad_cancel_paths config option +is now read from a configuration file and most local_* functions changed +their name. Please read the CHANGES file for details about these and other +things. When in doubt, check the source code. diff -ruN /usr/ports/news/cleanfeed/pkg-plist cleanfeed/pkg-plist --- /usr/ports/news/cleanfeed/pkg-plist Mon Mar 5 15:16:01 2001 +++ cleanfeed/pkg-plist Sun Sep 9 02:27:46 2001 @@ -1,2 +1,7 @@ news/bin/filter/filter_innd.pl -news/bin/filter/cleanfeed.conf +news/bin/filter/bad_adult_paths +news/bin/filter/bad_cancel_paths +news/bin/filter/bad_hosts +news/bin/filter/bad_paths +news/bin/filter/cleanfeed +news/bin/filter/cleanfeed.local.sample >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109090419.f894Jrp71874>