aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-04-12 19:23:10 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-04-12 19:23:10 +0000
commitcc30f4847931feb666fb57dc8b429ad75d8f8985 (patch)
tree56002410251e11e3489a42ca881f39c68af4e812
parentdaa1e570e6810477966f3a9e0cf445d3d3035b61 (diff)
downloadports-cc30f4847931feb666fb57dc8b429ad75d8f8985.tar.gz
ports-cc30f4847931feb666fb57dc8b429ad75d8f8985.zip
Notes
-rw-r--r--deskutils/mirall/pkg-plist4
-rw-r--r--dns/bind10/Makefile6
-rw-r--r--dns/bind10/pkg-plist10
-rw-r--r--dns/bind910/pkg-plist8
-rw-r--r--dns/bind98/pkg-plist8
-rw-r--r--dns/bind99/pkg-plist8
-rw-r--r--dns/maradns/pkg-plist12
-rw-r--r--net-mgmt/nagios/pkg-plist4
-rw-r--r--net-mgmt/nagios4/pkg-plist4
9 files changed, 18 insertions, 46 deletions
diff --git a/deskutils/mirall/pkg-plist b/deskutils/mirall/pkg-plist
index 42e92af5e255..c51b41bd2df1 100644
--- a/deskutils/mirall/pkg-plist
+++ b/deskutils/mirall/pkg-plist
@@ -1,8 +1,6 @@
bin/owncloud
bin/owncloudcmd
-@unexec if cmp -s %D/etc/ownCloud/sync-exclude.lst.sample %D/etc/ownCloud/sync-exclude.lst; then rm -f %D/etc/ownCloud/sync-exclude.lst; fi
-etc/ownCloud/sync-exclude.lst.sample
-@exec if [ ! -f %D/etc/ownCloud/sync-exclude.lst ] ; then cp -p %D/%F %B/sync-exclude.lst; fi
+@sample etc/ownCloud/sync-exclude.lst.sample
include/owncloudsync/creds/abstractcredentials.h
include/owncloudsync/creds/httpcredentials.h
include/owncloudsync/mirall/account.h
diff --git a/dns/bind10/Makefile b/dns/bind10/Makefile
index 09e21219e684..63370eabe2a5 100644
--- a/dns/bind10/Makefile
+++ b/dns/bind10/Makefile
@@ -43,10 +43,10 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
post-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${ETCDIR}
${INSTALL_DATA} -m 640 ${WRKSRC}/src/bin/cmdctl/cmdctl-certfile.pem \
- ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/cmdctl-certfile.pem.sample
+ ${STAGEDIR}${PREFIX}/${ETCDIR}/cmdctl-certfile.pem.sample
${INSTALL_DATA} -m 640 ${WRKSRC}/src/bin/cmdctl/cmdctl-keyfile.pem \
- ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/cmdctl-keyfile.pem.sample
+ ${STAGEDIR}${PREFIX}/${ETCDIR}/cmdctl-keyfile.pem.sample
.include <bsd.port.mk>
diff --git a/dns/bind10/pkg-plist b/dns/bind10/pkg-plist
index 55b4af67bb45..a5ea6dbccfeb 100644
--- a/dns/bind10/pkg-plist
+++ b/dns/bind10/pkg-plist
@@ -4,12 +4,8 @@ bin/b10-certgen
bin/bindctl
bin/isc-sysinfo
bin/perfdhcp
-@unexec if cmp -s %D/etc/%%PORTNAME%%/cmdctl-certfile.pem.sample %D/etc/%%PORTNAME%%/cmdctl-certfile.pem; then rm -f %D/etc/%%PORTNAME%%/cmdctl-certfile.pem; fi
-etc/%%PORTNAME%%/cmdctl-certfile.pem.sample
-@exec if [ ! -f %D/etc/%%PORTNAME%%/cmdctl-certfile.pem ] ; then cp -p %D/%F %B/cmdctl-certfile.pem; fi
-@unexec if cmp -s %D/etc/%%PORTNAME%%/cmdctl-keyfile.pem.sample %D/etc/%%PORTNAME%%/cmdctl-keyfile.pem; then rm -f %D/etc/%%PORTNAME%%/cmdctl-keyfile.pem; fi
-etc/%%PORTNAME%%/cmdctl-keyfile.pem.sample
-@exec if [ ! -f %D/etc/%%PORTNAME%%/cmdctl-keyfile.pem ] ; then cp -p %D/%F %B/cmdctl-keyfile.pem; fi
+@sample %%ETCDIR%%/cmdctl-certfile.pem.sample
+@sample %%ETCDIR%%/cmdctl-keyfile.pem.sample
include/%%PORTNAME%%/dns/dns_fwd.h
include/%%PORTNAME%%/dns/edns.h
include/%%PORTNAME%%/dns/exceptions.h
@@ -470,4 +466,4 @@ share/%%PORTNAME%%/zonemgr.spec
@dirrm include/%%PORTNAME%%/exceptions
@dirrm include/%%PORTNAME%%/dns
@dirrm include/%%PORTNAME%%
-@dirrmtry etc/%%PORTNAME%%
+@dirrmtry %%ETCDIR%%
diff --git a/dns/bind910/pkg-plist b/dns/bind910/pkg-plist
index ad6018aacff5..00f92bfa90c4 100644
--- a/dns/bind910/pkg-plist
+++ b/dns/bind910/pkg-plist
@@ -403,12 +403,8 @@ sbin/rndc
sbin/rndc-confgen
sbin/tsig-keygen
%%BASE%%@unexec rm -f %%BIND_DESTETC%%/rndc.conf.sample
-%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/rndc.conf.sample %D/%%ETCDIR%%/rndc.conf; then rm -f %D/%%ETCDIR%%/rndc.conf; fi
-%%NOBASE%%%%ETCDIR%%/rndc.conf.sample
-%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/rndc.conf ] ; then cp -p %D/%F %B/rndc.conf; fi
-%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/named.conf.sample %D/%%ETCDIR%%/named.conf; then rm -f %D/%%ETCDIR%%/named.conf; fi
-%%NOBASE%%%%ETCDIR%%/named.conf.sample
-%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/named.conf ] ; then cp -p %D/%F %B/named.conf; fi
+%%NOBASE%%@sample %%ETCDIR%%/rndc.conf.sample
+%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
%%NOBASE%%%%ETCDIR%%/named.root
%%NOBASE%%%%ETCDIR%%/master/empty.db
%%NOBASE%%%%ETCDIR%%/master/localhost-forward.db
diff --git a/dns/bind98/pkg-plist b/dns/bind98/pkg-plist
index 4b3ff5fdfaee..ba7e6dc311ad 100644
--- a/dns/bind98/pkg-plist
+++ b/dns/bind98/pkg-plist
@@ -337,12 +337,8 @@ sbin/nsec3hash
sbin/rndc
sbin/rndc-confgen
%%BASE%%@unexec rm -f %%BIND_DESTETC%%/rndc.conf.sample
-%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/rndc.conf.sample %D/%%ETCDIR%%/rndc.conf; then rm -f %D/%%ETCDIR%%/rndc.conf; fi
-%%NOBASE%%%%ETCDIR%%/rndc.conf.sample
-%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/rndc.conf ] ; then cp -p %D/%F %B/rndc.conf; fi
-%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/named.conf.sample %D/%%ETCDIR%%/named.conf; then rm -f %D/%%ETCDIR%%/named.conf; fi
-%%NOBASE%%%%ETCDIR%%/named.conf.sample
-%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/named.conf ] ; then cp -p %D/%F %B/named.conf; fi
+%%NOBASE%%@sample %%ETCDIR%%/rndc.conf.sample
+%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
%%NOBASE%%%%ETCDIR%%/named.root
%%NOBASE%%%%ETCDIR%%/master/empty.db
%%NOBASE%%%%ETCDIR%%/master/localhost-forward.db
diff --git a/dns/bind99/pkg-plist b/dns/bind99/pkg-plist
index a7046c5c181c..831e1e2fe926 100644
--- a/dns/bind99/pkg-plist
+++ b/dns/bind99/pkg-plist
@@ -343,12 +343,8 @@ sbin/nsec3hash
sbin/rndc
sbin/rndc-confgen
%%BASE%%@unexec rm -f %%BIND_DESTETC%%/rndc.conf.sample
-%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/rndc.conf.sample %D/%%ETCDIR%%/rndc.conf; then rm -f %D/%%ETCDIR%%/rndc.conf; fi
-%%NOBASE%%%%ETCDIR%%/rndc.conf.sample
-%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/rndc.conf ] ; then cp -p %D/%F %B/rndc.conf; fi
-%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/named.conf.sample %D/%%ETCDIR%%/named.conf; then rm -f %D/%%ETCDIR%%/named.conf; fi
-%%NOBASE%%%%ETCDIR%%/named.conf.sample
-%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/named.conf ] ; then cp -p %D/%F %B/named.conf; fi
+%%NOBASE%%@sample %%ETCDIR%%/rndc.conf.sample
+%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
%%NOBASE%%%%ETCDIR%%/named.root
%%NOBASE%%%%ETCDIR%%/master/empty.db
%%NOBASE%%%%ETCDIR%%/master/localhost-forward.db
diff --git a/dns/maradns/pkg-plist b/dns/maradns/pkg-plist
index a0630cfb1fdb..a26ab0956852 100644
--- a/dns/maradns/pkg-plist
+++ b/dns/maradns/pkg-plist
@@ -2,15 +2,9 @@ bin/askmara
bin/duende
bin/fetchzone
bin/getzone
-@unexec if cmp -s %D/%%ETCDIR%%/csv2.sample %D/%%ETCDIR%%/csv2; then rm -f %D/%%ETCDIR%%/csv2; fi
-%%ETCDIR%%/csv2.sample
-@exec if [ ! -f %D/%%ETCDIR%%/csv2 ] ; then cp -p %D/%F %B/csv2; fi
-@unexec if cmp -s %D/%%ETCDIR%%/dwood3rc.sample %D/%%ETCDIR%%/dwood3rc; then rm -f %D/%%ETCDIR%%/dwood3rc; fi
-%%ETCDIR%%/dwood3rc.sample
-@exec if [ ! -f %D/%%ETCDIR%%/dwood3rc ] ; then cp -p %D/%F %B/dwood3rc; fi
-@unexec if cmp -s %D/%%ETCDIR%%/mararc.sample %D/%%ETCDIR%%/mararc; then rm -f %D/%%ETCDIR%%/mararc; fi
-%%ETCDIR%%/mararc.sample
-@exec if [ ! -f %D/%%ETCDIR%%/mararc ] ; then cp -p %D/%F %B/mararc; fi
+@sample %%ETCDIR%%/csv2.sample
+@sample %%ETCDIR%%/dwood3rc.sample
+@sample %%ETCDIR%%/mararc.sample
man/man1/Deadwood.1.gz
man/man1/askmara.1.gz
man/man1/fetchzone.1.gz
diff --git a/net-mgmt/nagios/pkg-plist b/net-mgmt/nagios/pkg-plist
index a3f2822fe469..586d1e41bfd8 100644
--- a/net-mgmt/nagios/pkg-plist
+++ b/net-mgmt/nagios/pkg-plist
@@ -33,9 +33,7 @@ etc/nagios/resource.cfg-sample
%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi
%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi
%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi
-@unexec if cmp -s %D/%%NAGIOSWWWDIR%%/config.inc.php.sample %D/%%NAGIOSWWWDIR%%/config.inc.php; then rm -f %D/%%NAGIOSWWWDIR%%/config.inc.php; fi
-%%NAGIOSWWWDIR%%/config.inc.php.sample
-@exec if [ ! -f %D/%%NAGIOSWWWDIR%%/config.inc.php ] ; then cp -p %D/%F %B/config.inc.php; fi
+@sample %%NAGIOSWWWDIR%%/config.inc.php.sample
%%NAGIOSWWWDIR%%/contexthelp/A1.html
%%NAGIOSWWWDIR%%/contexthelp/A2.html
%%NAGIOSWWWDIR%%/contexthelp/A3.html
diff --git a/net-mgmt/nagios4/pkg-plist b/net-mgmt/nagios4/pkg-plist
index d442f20801af..974a7dc0ea55 100644
--- a/net-mgmt/nagios4/pkg-plist
+++ b/net-mgmt/nagios4/pkg-plist
@@ -32,9 +32,7 @@ etc/nagios/resource.cfg-sample
%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi
%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi
%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi
-@unexec if cmp -s %D/%%NAGIOSWWWDIR%%/config.inc.php.sample %D/%%NAGIOSWWWDIR%%/config.inc.php; then rm -f %D/%%NAGIOSWWWDIR%%/config.inc.php; fi
-%%NAGIOSWWWDIR%%/config.inc.php.sample
-@exec if [ ! -f %D/%%NAGIOSWWWDIR%%/config.inc.php ] ; then cp -p %D/%F %B/config.inc.php; fi
+@sample %%NAGIOSWWWDIR%%/config.inc.php.sample
%%NAGIOSWWWDIR%%/contexthelp/A1.html
%%NAGIOSWWWDIR%%/contexthelp/A2.html
%%NAGIOSWWWDIR%%/contexthelp/A3.html