aboutsummaryrefslogtreecommitdiff
path: root/net/avahi-app
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-09 21:09:08 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-09 21:09:08 +0000
commitdd7eddc85b84fd45489be6880ad9445f4909f2b8 (patch)
tree07bc52aa66b8e02f7fdcfba187805b100a24914a /net/avahi-app
parent4302284260db5fc2587212321e7fff0f65cb60c2 (diff)
downloadports-dd7eddc85b84fd45489be6880ad9445f4909f2b8.tar.gz
ports-dd7eddc85b84fd45489be6880ad9445f4909f2b8.zip
Notes
Diffstat (limited to 'net/avahi-app')
-rw-r--r--net/avahi-app/Makefile4
-rw-r--r--net/avahi-app/pkg-plist8
2 files changed, 4 insertions, 8 deletions
diff --git a/net/avahi-app/Makefile b/net/avahi-app/Makefile
index f7f270207957..50aeae56a6cd 100644
--- a/net/avahi-app/Makefile
+++ b/net/avahi-app/Makefile
@@ -144,10 +144,10 @@ avahi-post-install:
.for f in ${AVAHI_PKGCONFIG}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
.endfor
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/avahi
.for f in ${DAEMON_CONFIG_FILES}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/${f} \
- ${STAGEDIR}${PREFIX}/etc/avahi/${f}.dist
+ ${STAGEDIR}${PREFIX}/etc/avahi/${f}.sample
.endfor
.if ${AVAHI_SLAVE}==no
${INSTALL_DATA} ${FILESDIR}/org.freedesktop.Avahi.service \
diff --git a/net/avahi-app/pkg-plist b/net/avahi-app/pkg-plist
index 26557a9150a7..c276143b9718 100644
--- a/net/avahi-app/pkg-plist
+++ b/net/avahi-app/pkg-plist
@@ -7,13 +7,9 @@ bin/avahi-resolve
bin/avahi-resolve-address
bin/avahi-resolve-host-name
bin/avahi-set-host-name
-@unexec if cmp -s %D/etc/avahi/avahi-daemon.conf %D/etc/avahi/avahi-daemon.conf.dist; then rm -f %D/etc/avahi/avahi-daemon.conf; fi
-etc/avahi/avahi-daemon.conf.dist
-@exec [ -f %B/avahi-daemon.conf ] || cp %B/%f %B/avahi-daemon.conf
+@sample etc/avahi/avahi-daemon.conf.sample
etc/avahi/avahi-dnsconfd.action
-@unexec if cmp -s %D/etc/avahi/hosts %D/etc/avahi/hosts.dist; then rm -f %D/etc/avahi/hosts; fi
-etc/avahi/hosts.dist
-@exec [ -f %B/hosts ] || cp %B/%f %B/hosts
+@sample etc/avahi/hosts.sample
etc/avahi/services/sftp-ssh.service
etc/avahi/services/ssh.service
etc/dbus-1/system.d/avahi-dbus.conf