svn commit: r402733 - head/news/cnews

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Dec 1 13:08:10 UTC 2015


Author: amdmi3
Date: Tue Dec  1 13:08:08 2015
New Revision: 402733
URL: https://svnweb.freebsd.org/changeset/ports/402733

Log:
  - Modernize plist
  
  PR:		204047
  Submitted by:	amdmi3
  Approved by:	maintainer timeout (dinoex, 1 month)

Modified:
  head/news/cnews/Makefile
  head/news/cnews/pkg-plist

Modified: head/news/cnews/Makefile
==============================================================================
--- head/news/cnews/Makefile	Tue Dec  1 12:48:26 2015	(r402732)
+++ head/news/cnews/Makefile	Tue Dec  1 13:08:08 2015	(r402733)
@@ -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/ \

Modified: head/news/cnews/pkg-plist
==============================================================================
--- head/news/cnews/pkg-plist	Tue Dec  1 12:48:26 2015	(r402732)
+++ head/news/cnews/pkg-plist	Tue Dec  1 13:08:08 2015	(r402733)
@@ -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
- at exec chown news:news %D/%%NEWSBIN%%/input/newsspool
- at exec chmod 6555  %D/%%NEWSBIN%%/input/newsspool
 @owner news
 @group news
- at exec mkdir -p %%VARBASE%%/%%NEWSCTL%%
- at 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
- at exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/control
- at exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/junk
- at exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
- at exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/in.coming/bad
- at exec chmod g+w %%VARBASE%%/%%NEWSARTS%%/in.coming
- at exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.going
- at exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.master
- at exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.nntp
- at exec chown news:news %%VARBASE%%/%%NEWSARTS%%
- at exec chown news:news %%VARBASE%%/%%NEWSARTS%%/*
- at exec chown news:news %%VARBASE%%/%%NEWSARTS%%/news/announce
- at exec chown news:news %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
- at exec mkdir -p %%VARBASE%%/%%NEWSOV%%
- at 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
+ at dir %%VARBASE%%/%%NEWSARTS%%/out.nntp
+ at dir %%VARBASE%%/%%NEWSARTS%%/out.master
+ at dir %%VARBASE%%/%%NEWSARTS%%/out.going
+ at dir %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
+ at dir %%VARBASE%%/%%NEWSARTS%%/news/announce
+ at dir %%VARBASE%%/%%NEWSARTS%%/news
+ at dir %%VARBASE%%/%%NEWSARTS%%/junk
+ at dir %%VARBASE%%/%%NEWSARTS%%/in.coming/bad
+ at dir(,,775) %%VARBASE%%/%%NEWSARTS%%/in.coming
+ at dir %%VARBASE%%/%%NEWSARTS%%/control
+ at dir %%VARBASE%%/%%NEWSARTS%%
+ at dir %%VARBASE%%/%%NEWSOV%%
+ at dir %%VARBASE%%/%%NEWSCTL%%
 @owner
 @group
+ at dir %%VARBASE%%/%%NEWSCTLBASE%%


More information about the svn-ports-head mailing list