aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/cnews/Makefile1
-rw-r--r--news/cnews/pkg-plist6
2 files changed, 7 insertions, 0 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index da291a167a8e..d15582dc7b7b 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
+PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \
diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist
index 567562d87b83..232e516930e1 100644
--- a/news/cnews/pkg-plist
+++ b/news/cnews/pkg-plist
@@ -2,8 +2,14 @@
@comment Basically just in.* and out.* /var/news might be a symbolic link
@comment and it might not exist yet :-(
@exec ln -sf /usr/local/newsspool /var/news
+@unexec rm -f /usr/local/newsspool
@exec mkdir -p /usr/local/newsspool/in.coming/bad
@exec cd /usr/local/newsspool; mkdir -p out.going out.master out.nntp
+@rmdir /usr/local/newsspool/in.coming/bad
+@rmdir /usr/local/newsspool/in.coming
+@rmdir /usr/local/newsspool/out.going
+@rmdir /usr/local/newsspool/out.master
+@rmdir /usr/local/newsspool/out.nntp
bin/checknews
bin/cnewsdo
bin/inews