Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 19:40:44 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41116: update port: news/cleanfeed
Message-ID:  <20020729114044.629823EAD6A@utopia.leeym.com>

next in thread | raw e-mail | index | archive | help

>Number:         41116
>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:   Mon Jul 29 04:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 4.6-STABLE FreeBSD 4.6-STABLE #51: Tue Jul 23 05:19:48 CST 2002 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386


	
>Description:
update to cleanfeed-20020501
support REINPLACE
remove files/

>How-To-Repeat:
	
>Fix:

	

--- cleanfeed.diff begins here ---
diff -ruN --exclude CVS /usr/ports/news/cleanfeed/Makefile cleanfeed/Makefile
--- /usr/ports/news/cleanfeed/Makefile	Wed Jan 30 04:53:06 2002
+++ cleanfeed/Makefile	Mon Jul 29 19:03:57 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cleanfeed
-PORTVERSION=	20011031
+PORTVERSION=	20020501
 CATEGORIES=	news
 MASTER_SITES=	http://www.bofh.it/~md/cleanfeed/
 EXTRACT_SUFX=	.tgz
@@ -21,12 +21,11 @@
 BINGRP=		news
 SHAREOWN=	news
 SHAREGRP=	news
+USE_REINPLACE=	yes
 INSTALL+=	-b
 
 post-patch:
-.for file in cleanfeed cleanfeed.local.sample
-	@${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}
-.endfor
+	@${REINPLACE_CMD} -e 's,/news,${PREFIX}/news,g' ${WRKSRC}/cleanfeed*
 
 do-install:
 .for file in bad_adult_paths bad_cancel_paths bad_hosts bad_paths cleanfeed cleanfeed.local.sample
diff -ruN --exclude CVS /usr/ports/news/cleanfeed/distinfo cleanfeed/distinfo
--- /usr/ports/news/cleanfeed/distinfo	Wed Jan 30 04:53:06 2002
+++ cleanfeed/distinfo	Mon Jul 29 18:59:08 2002
@@ -1 +1 @@
-MD5 (cleanfeed-20011031.tgz) = abae9cef27263c20d5d4d0f49def826a
+MD5 (cleanfeed-20020501.tgz) = 8535cc55d63a1932a447d09829b6aa97
diff -ruN --exclude CVS /usr/ports/news/cleanfeed/files/patch-cleanfeed cleanfeed/files/patch-cleanfeed
--- /usr/ports/news/cleanfeed/files/patch-cleanfeed	Mon Sep 10 00:15:39 2001
+++ cleanfeed/files/patch-cleanfeed	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- 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 --exclude CVS /usr/ports/news/cleanfeed/files/patch-cleanfeed.local.sample cleanfeed/files/patch-cleanfeed.local.sample
--- /usr/ports/news/cleanfeed/files/patch-cleanfeed.local.sample	Mon Sep 10 00:15:39 2001
+++ cleanfeed/files/patch-cleanfeed.local.sample	Thu Jan  1 08:00:00 1970
@@ -1,21 +0,0 @@
---- 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 = (
--- cleanfeed.diff ends here ---


>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?20020729114044.629823EAD6A>