Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 09:19:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412904 - in head: mail/isoqlog mail/vpopmail net/bird net/bird-devel net/bird6 net/iet net/isc-dhcp43-client net/phpldapadmin net/tayga net/trafshow
Message-ID:  <201604100919.u3A9JDhw033898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Apr 10 09:19:12 2016
New Revision: 412904
URL: https://svnweb.freebsd.org/changeset/ports/412904

Log:
  Conver to @sample keyword

Modified:
  head/mail/isoqlog/pkg-plist
  head/mail/vpopmail/pkg-plist
  head/net/bird-devel/pkg-plist
  head/net/bird/pkg-plist
  head/net/bird6/pkg-plist
  head/net/iet/pkg-plist
  head/net/isc-dhcp43-client/pkg-plist
  head/net/phpldapadmin/pkg-plist-chunk
  head/net/tayga/pkg-plist
  head/net/trafshow/pkg-plist

Modified: head/mail/isoqlog/pkg-plist
==============================================================================
--- head/mail/isoqlog/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/mail/isoqlog/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,10 +1,6 @@
 bin/isoqlog
-@unexec if cmp -s %D/etc/isoqlog.conf %D/etc/isoqlog.conf-dist; then rm -f %D/etc/isoqlog.conf; fi
-etc/isoqlog.conf-dist
-@exec [ -f %B/isoqlog.conf ] || cp %B/%f %B/isoqlog.conf
-@unexec if cmp -s %D/etc/isoqlog.domains %D/etc/isoqlog.domains-dist; then rm -f %D/etc/isoqlog.domains; fi
-etc/isoqlog.domains-dist
-@exec [ -f %B/isoqlog.domains ] || cp %B/%f %B/isoqlog.domains
+@sample etc/isoqlog.conf-dist etc/isoqlog.conf
+@sample etc/isoqlog.domains-dist  etc/isoqlog.domains
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/COPYING

Modified: head/mail/vpopmail/pkg-plist
==============================================================================
--- head/mail/vpopmail/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/mail/vpopmail/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -31,22 +31,12 @@ vpopmail/etc/inc_deps
 vpopmail/etc/lib_deps
 @exec if [ ! -f %D/vpopmail/etc/defaultdomain ]; then install -o vpopmail -g vchkpw /dev/null %D/vpopmail/etc/defaultdomain; fi
 @unexec if [ -f %D/vpopmail/etc/defaultdomain ] && [ ! -s %D/vpopmail/etc/defaultdomain ]; then rm -f %D/vpopmail/etc/defaultdomain; fi
-@unexec if cmp -s %D/vpopmail/etc/tcp.smtp %D/vpopmail/etc/tcp.smtp-dist; then rm -f %D/vpopmail/etc/tcp.smtp; fi
-vpopmail/etc/tcp.smtp-dist
-@exec if [ ! -f %D/vpopmail/etc/tcp.smtp ] ; then cp -p %D/%F %B/tcp.smtp; fi
-@unexec if cmp -s %D/vpopmail/etc/vlimits.default %D/vpopmail/etc/vlimits.default-dist; then rm -f %D/vpopmail/etc/vlimits.default; fi
-vpopmail/etc/vlimits.default-dist
-@exec if [ ! -f %D/vpopmail/etc/vlimits.default ] ; then cp -p %D/%F %B/vlimits.default; fi
-%%LDAP%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.ldap %D/vpopmail/etc/vpopmail.ldap-dist; then rm -f %D/vpopmail/etc/vpopmail.ldap; fi
-%%LDAP%%vpopmail/etc/vpopmail.ldap-dist
-%%LDAP%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.ldap ] ; then cp -p %D/%F %B/vpopmail.ldap; fi
+@sample vpopmail/etc/tcp.smtp-dist vpopmail/etc/tcp.smtp
+@sample vpopmail/etc/vlimits.default-dist vpopmail/etc/vlimits.default
+%%LDAP%%@sample vpopmail/etc/vpopmail.ldap-dist vpopmail/etc/vpopmail.ldap
 %%LDAP%%@exec echo "You need to specify the LDAP connection settings in the %D/vpopmail/etc/vpopmail.ldap file" | /usr/bin/fmt
-%%MYSQL%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.mysql %D/vpopmail/etc/vpopmail.mysql-dist; then rm -f %D/vpopmail/etc/vpopmail.mysql; fi
-%%MYSQL%%vpopmail/etc/vpopmail.mysql-dist
-%%MYSQL%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.mysql ] ; then cp -p %D/%F %B/vpopmail.mysql; fi
-@unexec if cmp -s %D/vpopmail/etc/vusagec.conf %D/vpopmail/etc/vusagec.conf-dist; then rm -f %D/vpopmail/etc/vusagec.conf; fi
-vpopmail/etc/vusagec.conf-dist
-@exec if [ ! -f %D/vpopmail/etc/vusagec.conf ] ; then cp -p %D/%F %B/vusagec.conf; fi
+%%MYSQL%%@sample vpopmail/etc/vpopmail.mysql-dist vpopmail/etc/vpopmail.mysql
+@sample vpopmail/etc/vusagec.conf-dist vpopmail/etc/vusagec.conf
 @owner
 @group
 %%PORTDOCS%%vpopmail/doc/doc_html/vpopmail.html

Modified: head/net/bird-devel/pkg-plist
==============================================================================
--- head/net/bird-devel/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/bird-devel/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,5 +1,3 @@
-@unexec if cmp -s %D/etc/bird.conf.example %D/etc/bird.conf; then rm -f %D/etc/bird.conf; fi
-etc/bird.conf.example
-@exec if [ ! -f %D/etc/bird.conf ] ; then cp -p %D/%F %B/bird.conf; fi
+@sample etc/bird.conf.example etc/bird.conf
 sbin/bird
 sbin/birdc

Modified: head/net/bird/pkg-plist
==============================================================================
--- head/net/bird/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/bird/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,6 +1,4 @@
-@unexec if cmp -s %D/etc/bird%%VER%%.conf.example %D/etc/bird%%VER%%.conf; then rm -f %D/etc/bird%%VER%%.conf; fi
-etc/bird%%VER%%.conf.example
-@exec if [ ! -f %D/etc/bird%%VER%%.conf ] ; then cp -p %D/%F %B/bird%%VER%%.conf; fi
+@sample etc/bird%%VER%%.conf.example etc/bird%%VER%%.conf
 sbin/bird%%VER%%
 sbin/birdc%%VER%%
 sbin/birdcl%%VER%%

Modified: head/net/bird6/pkg-plist
==============================================================================
--- head/net/bird6/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/bird6/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,6 +1,4 @@
-@unexec if cmp -s %D/etc/bird6.conf.example %D/etc/bird6.conf; then rm -f %D/etc/bird6.conf; fi
-etc/bird6.conf.example
-@exec if [ ! -f %D/etc/bird6.conf ] ; then cp -p %D/%F %B/bird6.conf; fi
+@sample etc/bird6.conf.example etc/bird6.conf
 sbin/bird6
 sbin/birdc6
 sbin/birdcl6

Modified: head/net/iet/pkg-plist
==============================================================================
--- head/net/iet/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/iet/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,16 +1,8 @@
 modules/iet.ko
-@unexec if cmp -s %D/%%DATADIR%%/ietd.conf %D/etc/iet/ietd.conf ; then rm -f %D/etc/iet/ietd.conf ; fi
-%%DATADIR%%/ietd.conf
-@exec if [ ! -f %D/etc/iet/ietd.conf ]; then cp -p %D/%F %D/etc/iet/ietd.conf; fi
-@unexec if cmp -s %D/%%DATADIR%%/initiators.allow %D/etc/iet/initiators.allow ; then rm -f %D/etc/iet/initiators.allow ; fi
-%%DATADIR%%/initiators.allow
-@exec if [ ! -f %D/etc/iet/initiators.allow ]; then cp -p %D/%F %D/etc/iet/initiators.allow; fi
-@unexec if cmp -s %D/%%DATADIR%%/initiators.deny %D/etc/iet/initiators.deny ; then rm -f %D/etc/iet/initiators.deny ; fi
-%%DATADIR%%/initiators.deny
-@exec if [ ! -f %D/etc/iet/initiators.deny ]; then cp -p %D/%F %D/etc/iet/initiators.deny; fi
-@unexec if cmp -s %D/%%DATADIR%%/targets.allow %D/etc/iet/targets.allow ; then rm -f %D/etc/iet/targets.allow ; fi
-%%DATADIR%%/targets.allow
-@exec if [ ! -f %D/etc/iet/targets.allow ]; then cp -p %D/%F %D/etc/iet/targets.allow; fi
+@sample %%DATADIR%%/ietd.conf etc/iet/ietd.conf
+@sample %%DATADIR%%/initiators.allow etc/iet/initiators.allow
+@sample %%DATADIR%%/initiators.deny etc/iet/initiators.deny
+@sample %%DATADIR%%/targets.allow etc/iet/targets.allow
 man/man5/ietd.conf.5.gz
 man/man8/ietadm.8.gz
 man/man8/ietd.8.gz

Modified: head/net/isc-dhcp43-client/pkg-plist
==============================================================================
--- head/net/isc-dhcp43-client/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/isc-dhcp43-client/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -4,8 +4,6 @@ man/man5/dhclient.conf.5.gz
 man/man5/dhclient.leases.5.gz
 man/man8/dhclient.8.gz
 man/man8/dhclient-script.8.gz
-@unexec if cmp -s %D/etc/dhclient.conf.example %D/etc/dhclient.conf; then rm -f %D/etc/dhclient.conf; fi
-etc/dhclient.conf.example
-@exec if [ ! -f %D/etc/dhclient.conf ] ; then cp -p %D/%F %B/dhclient.conf; fi
+@sample etc/dhclient.conf.example etc/dhclient.conf
 @exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases
 @unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases

Modified: head/net/phpldapadmin/pkg-plist-chunk
==============================================================================
--- head/net/phpldapadmin/pkg-plist-chunk	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/phpldapadmin/pkg-plist-chunk	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,7 +1 @@
-@mode 640
-@group %%PLA_GRP%%
-@unexec if cmp -s %D/%%WWWDIR%%/config/config.php.example %D/%%WWWDIR%%/config/config.php ; then rm -f %D/%%WWWDIR%%/config/config.php ; fi
-%%WWWDIR%%/config/config.php.example
-@exec [ ! -f %B/config.php ] && cp -p %B/%f %B/config.php || true
-@mode
-@group
+@sample(,%%PLA_GRP%%,640) %%WWWDIR%%/config/config.php.example %%WWWDIR%%/config/config.php

Modified: head/net/tayga/pkg-plist
==============================================================================
--- head/net/tayga/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/tayga/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,6 +1,4 @@
 man/man5/tayga.conf.5.gz
 man/man8/tayga.8.gz
-@unexec if cmp -s %D/etc/tayga.conf.example %D/etc/tayga.conf; then rm -f %D/etc/tayga.conf; fi
-etc/tayga.conf.example
-@exec if [ ! -f %D/etc/tayga.conf ] ; then cp -p %B/tayga.conf.example %D/etc/tayga.conf; fi
+@sample etc/tayga.conf.example etc/tayga.conf
 sbin/tayga

Modified: head/net/trafshow/pkg-plist
==============================================================================
--- head/net/trafshow/pkg-plist	Sun Apr 10 09:09:24 2016	(r412903)
+++ head/net/trafshow/pkg-plist	Sun Apr 10 09:19:12 2016	(r412904)
@@ -1,5 +1,3 @@
 bin/trafshow
-@unexec if cmp -s %D/etc/trafshow %D/etc/trafshow.dist; then rm -f %D/etc/trafshow; fi
-etc/trafshow.dist
-@exec if [ ! -e %D/etc/trafshow ]; then cp -p %D/%F %B/trafshow; fi
+@sample etc/trafshow.dist etc/trafshow
 man/man1/trafshow.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604100919.u3A9JDhw033898>