diff options
author | bapt <bapt@FreeBSD.org> | 2016-04-10 17:00:17 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-04-10 17:00:17 +0800 |
commit | ccc3cb2ca6cffd216ffc2f81740f35ad984232c1 (patch) | |
tree | 22ed80d6f89b43b18e397773d137cda609887298 /dns | |
parent | d9eefce127ad873b48d05bb591e02f5acfd914e5 (diff) | |
download | freebsd-ports-gnome-ccc3cb2ca6cffd216ffc2f81740f35ad984232c1.tar.gz freebsd-ports-gnome-ccc3cb2ca6cffd216ffc2f81740f35ad984232c1.tar.zst freebsd-ports-gnome-ccc3cb2ca6cffd216ffc2f81740f35ad984232c1.zip |
Convert to @sample
Diffstat (limited to 'dns')
-rw-r--r-- | dns/powerdns-recursor/pkg-plist | 4 | ||||
-rw-r--r-- | dns/powerdns/pkg-plist | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/dns/powerdns-recursor/pkg-plist b/dns/powerdns-recursor/pkg-plist index 0464dd297b2f..14fc77b3d5d2 100644 --- a/dns/powerdns-recursor/pkg-plist +++ b/dns/powerdns-recursor/pkg-plist @@ -1,6 +1,4 @@ -@unexec if cmp -s %D/etc/pdns/recursor.conf %D/etc/pdns/recursor.conf-dist; then rm -f %D/etc/pdns/recursor.conf; fi -etc/pdns/recursor.conf-dist -@exec [ -f %B/recursor.conf ] || cp %B/%f %B/recursor.conf +@sample etc/pdns/recursor.conf-dist etc/pdns/recursor.conf bin/rec_control sbin/pdns_recursor man/man1/pdns_recursor.1.gz diff --git a/dns/powerdns/pkg-plist b/dns/powerdns/pkg-plist index e523680f9b3b..8d5143d420aa 100644 --- a/dns/powerdns/pkg-plist +++ b/dns/powerdns/pkg-plist @@ -37,9 +37,7 @@ man/man1/pdns_server.1.gz man/man1/pdnssec.1.gz man/man1/zone2ldap.1.gz man/man1/zone2sql.1.gz -@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi -etc/pdns/pdns.conf-dist -@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf +@sample etc/pdns/pdns.conf-dist etc/pdns/pdns.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf %%PORTEXAMPLES%%@dir %%EXAMPLESDIR%% %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.mysql.sql @@ -52,4 +50,3 @@ etc/pdns/pdns.conf-dist %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.mysql.sql %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.pgsql.sql %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/schema.sqlite3.sql -@dir etc/pdns |