summaryrefslogtreecommitdiff
path: root/news/cnews
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-01 13:08:08 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-01 13:08:08 +0000
commitf6ca42b47753e511f994186b4d31b2a15faafdf2 (patch)
tree110924ccb8d80b5d16a85cf0b10d1f2bef5c953f /news/cnews
parent- Update MASTER_SITES and WWW, unbreak fetch (diff)
- Modernize plist
PR: 204047 Submitted by: amdmi3 Approved by: maintainer timeout (dinoex, 1 month)
Notes
Notes: svn path=/head/; revision=402733
Diffstat (limited to 'news/cnews')
-rw-r--r--news/cnews/Makefile2
-rw-r--r--news/cnews/pkg-plist74
2 files changed, 35 insertions, 41 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index 25b16058086b..0b365bdf7e1a 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
-PORTREVISION= 13
+PORTREVISION= 14
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 3a5596948a10..143770df28cb 100644
--- a/news/cnews/pkg-plist
+++ b/news/cnews/pkg-plist
@@ -84,7 +84,7 @@ man/man8/rnews.8cn.gz
%%NEWSBIN%%/input/cunbatch
%%NEWSBIN%%/input/newsrun
%%NEWSBIN%%/input/newsrunning
-%%NEWSBIN%%/input/newsspool
+@(news,news,6555) %%NEWSBIN%%/input/newsspool
%%NEWSBIN%%/input/recenews
%%NEWSBIN%%/input/recpnews
%%NEWSBIN%%/input/rnews
@@ -138,46 +138,40 @@ man/man8/rnews.8cn.gz
%%NEWSBIN%%/unlock
%%NEWSBIN%%/pgpverify
%%NEWSBIN%%/config
-@exec chown news:news %D/%%NEWSBIN%%/input/newsspool
-@exec chmod 6555 %D/%%NEWSBIN%%/input/newsspool
@owner news
@group news
-@exec mkdir -p %%VARBASE%%/%%NEWSCTL%%
-@exec chown news:news %%VARBASE%%/%%NEWSCTL%%
-%%PORTEXAMPLES%%@unexec for i in %%NEWSCTL_FILES%%; do if cmp -s %%VARBASE%%/%%NEWSCTL%%/$i %D/%%EXAMPLESDIR%%/newsctl/$i; then rm -f %%VARBASE%%/%%NEWSCTL%%/$i; else echo "Preserving %%VARBASE%%/%%NEWSCTL%%/$i"; fi; done
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/active
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/active.times
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/batchparms
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/controlperm
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/explist
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/history
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/history.dir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/history.pag
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/inews
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/mailname
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/mailpaths
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/organization
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/postdefltgroup
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/readnews.ctl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/readnews.help
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/report.ctl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/sys
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/versionname
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/whoami
-%%PORTEXAMPLES%%@exec for i in %%NEWSCTL_FILES%%; do if test ! -f %%VARBASE%%/%%NEWSCTL%%/$i; then cp -p %D/%%EXAMPLESDIR%%/newsctl/$i %%VARBASE%%/%%NEWSCTL%%/$i; else echo "preservering %%VARBASE%%/%%NEWSCTL%%/$i"; fi; done
-@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/control
-@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/junk
-@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
-@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/in.coming/bad
-@exec chmod g+w %%VARBASE%%/%%NEWSARTS%%/in.coming
-@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.going
-@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.master
-@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.nntp
-@exec chown news:news %%VARBASE%%/%%NEWSARTS%%
-@exec chown news:news %%VARBASE%%/%%NEWSARTS%%/*
-@exec chown news:news %%VARBASE%%/%%NEWSARTS%%/news/announce
-@exec chown news:news %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
-@exec mkdir -p %%VARBASE%%/%%NEWSOV%%
-@exec chown news:news %%VARBASE%%/%%NEWSOV%%
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/active %%VARBASE%%/%%NEWSCTL%%/active
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/active.times %%VARBASE%%/%%NEWSCTL%%/active.times
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/batchparms %%VARBASE%%/%%NEWSCTL%%/batchparms
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/controlperm %%VARBASE%%/%%NEWSCTL%%/controlperm
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/explist %%VARBASE%%/%%NEWSCTL%%/explist
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/history %%VARBASE%%/%%NEWSCTL%%/history
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/history.dir %%VARBASE%%/%%NEWSCTL%%/history.dir
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/history.pag %%VARBASE%%/%%NEWSCTL%%/history.pag
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/inews %%VARBASE%%/%%NEWSCTL%%/inews
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/mailname %%VARBASE%%/%%NEWSCTL%%/mailname
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/mailpaths %%VARBASE%%/%%NEWSCTL%%/mailpaths
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/organization %%VARBASE%%/%%NEWSCTL%%/organization
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/postdefltgroup %%VARBASE%%/%%NEWSCTL%%/postdefltgroup
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/readnews.ctl %%VARBASE%%/%%NEWSCTL%%/readnews.ctl
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/readnews.help %%VARBASE%%/%%NEWSCTL%%/readnews.help
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/report.ctl %%VARBASE%%/%%NEWSCTL%%/report.ctl
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/sys %%VARBASE%%/%%NEWSCTL%%/sys
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/versionname %%VARBASE%%/%%NEWSCTL%%/versionname
+%%PORTEXAMPLES%%@sample %%EXAMPLESDIR%%/newsctl/whoami %%VARBASE%%/%%NEWSCTL%%/whoami
+@dir %%VARBASE%%/%%NEWSARTS%%/out.nntp
+@dir %%VARBASE%%/%%NEWSARTS%%/out.master
+@dir %%VARBASE%%/%%NEWSARTS%%/out.going
+@dir %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
+@dir %%VARBASE%%/%%NEWSARTS%%/news/announce
+@dir %%VARBASE%%/%%NEWSARTS%%/news
+@dir %%VARBASE%%/%%NEWSARTS%%/junk
+@dir %%VARBASE%%/%%NEWSARTS%%/in.coming/bad
+@dir(,,775) %%VARBASE%%/%%NEWSARTS%%/in.coming
+@dir %%VARBASE%%/%%NEWSARTS%%/control
+@dir %%VARBASE%%/%%NEWSARTS%%
+@dir %%VARBASE%%/%%NEWSOV%%
+@dir %%VARBASE%%/%%NEWSCTL%%
@owner
@group
+@dir %%VARBASE%%/%%NEWSCTLBASE%%