pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/avahi Honour SYSCONFDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07356ee11004
branches:  trunk
changeset: 551894:07356ee11004
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sat Dec 20 23:51:39 2008 +0000

description:
Honour SYSCONFDIR.

diffstat:

 net/avahi/Makefile             |  5 +++--
 net/avahi/files/avahidaemon.sh |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 70ee229583eb -r 07356ee11004 net/avahi/Makefile
--- a/net/avahi/Makefile        Sat Dec 20 23:51:33 2008 +0000
+++ b/net/avahi/Makefile        Sat Dec 20 23:51:39 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/12/20 17:36:14 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/12/20 23:51:39 ahoka Exp $
 
 DISTNAME=              avahi-0.6.23
+PKGREVISION=           1
 CATEGORIES=            net
 MASTER_SITES=          http://avahi.org/download/
 
@@ -57,7 +58,7 @@
 CONF_FILES+=           ${PREFIX}/share/examples/avahi/ssh.service \
                        ${PKG_SYSCONFDIR}/services/ssh.service
 CONF_FILES+=           ${PREFIX}/share/examples/avahi/avahi-dbus.conf \
-                       ${PREFIX}/etc/dbus-1/system.d/avahi-dbus.conf
+                       ${PKG_SYSCONFBASE}/dbus-1/system.d/avahi-dbus.conf
 
 CONFIGURE_ARGS+=       --with-avahi-user=${AVAHI_USER:Q}
 CONFIGURE_ARGS+=       --with-avahi-group=${AVAHI_GROUP:Q}
diff -r 70ee229583eb -r 07356ee11004 net/avahi/files/avahidaemon.sh
--- a/net/avahi/files/avahidaemon.sh    Sat Dec 20 23:51:33 2008 +0000
+++ b/net/avahi/files/avahidaemon.sh    Sat Dec 20 23:51:39 2008 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: avahidaemon.sh,v 1.1.1.1 2008/12/20 17:36:14 wiz Exp $
+# $NetBSD: avahidaemon.sh,v 1.2 2008/12/20 23:51:39 ahoka Exp $
 #
 # PROVIDE: avahidaemon
 # REQUIRE: DAEMON
@@ -15,7 +15,7 @@
 name="avahidaemon"
 rcvar=${name}
 command="@PREFIX@/sbin/avahi-daemon"
-required_files="@PREFIX@/etc/avahi/avahi-daemon.conf"
+required_files="@PKG_SYSCONFDIR@/avahi-daemon.conf"
 avahidaemon_flags="-D"
 
 load_rc_config $name



Home | Main Index | Thread Index | Old Index