aboutsummaryrefslogtreecommitdiff
path: root/news/cleanfeed
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-07-29 20:12:43 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-07-29 20:12:43 +0000
commit89bd237103acc08f7fdcbe078bd51bdb4ecffe48 (patch)
treec1ef036ccbd1ce6d6c45bafdecaba06cb1beb21b /news/cleanfeed
parent938f060277f79dae8b27b5d763e52f9a29930f04 (diff)
downloadports-89bd237103acc08f7fdcbe078bd51bdb4ecffe48.tar.gz
ports-89bd237103acc08f7fdcbe078bd51bdb4ecffe48.zip
Notes
Diffstat (limited to 'news/cleanfeed')
-rw-r--r--news/cleanfeed/Makefile7
-rw-r--r--news/cleanfeed/distinfo2
-rw-r--r--news/cleanfeed/files/patch-cleanfeed11
-rw-r--r--news/cleanfeed/files/patch-cleanfeed.local.sample21
4 files changed, 4 insertions, 37 deletions
diff --git a/news/cleanfeed/Makefile b/news/cleanfeed/Makefile
index 4fe1b9f701bb..ed568b1fa244 100644
--- a/news/cleanfeed/Makefile
+++ b/news/cleanfeed/Makefile
@@ -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 @@ BINOWN= news
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 --git a/news/cleanfeed/distinfo b/news/cleanfeed/distinfo
index c976fba9983d..fe3a9cc8122a 100644
--- a/news/cleanfeed/distinfo
+++ b/news/cleanfeed/distinfo
@@ -1 +1 @@
-MD5 (cleanfeed-20011031.tgz) = abae9cef27263c20d5d4d0f49def826a
+MD5 (cleanfeed-20020501.tgz) = 8535cc55d63a1932a447d09829b6aa97
diff --git a/news/cleanfeed/files/patch-cleanfeed b/news/cleanfeed/files/patch-cleanfeed
deleted file mode 100644
index abd0869762f3..000000000000
--- a/news/cleanfeed/files/patch-cleanfeed
+++ /dev/null
@@ -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 --git a/news/cleanfeed/files/patch-cleanfeed.local.sample b/news/cleanfeed/files/patch-cleanfeed.local.sample
deleted file mode 100644
index 4fb6565761de..000000000000
--- a/news/cleanfeed/files/patch-cleanfeed.local.sample
+++ /dev/null
@@ -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 = (