aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-04-10 09:00:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-04-10 09:00:17 +0000
commitfdf0b3807580e3be6d23f932afa38946b3772890 (patch)
tree22ed80d6f89b43b18e397773d137cda609887298 /dns
parent071974d9eac1fd83da9968dbdff84f81cdbf140e (diff)
downloadports-fdf0b3807580e3be6d23f932afa38946b3772890.tar.gz
ports-fdf0b3807580e3be6d23f932afa38946b3772890.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns-recursor/pkg-plist4
-rw-r--r--dns/powerdns/pkg-plist5
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