summaryrefslogtreecommitdiff
path: root/packages/avahi/avahi_0.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/avahi/avahi_0.2.bb')
-rw-r--r--packages/avahi/avahi_0.2.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/avahi/avahi_0.2.bb b/packages/avahi/avahi_0.2.bb
index 00c4dbd599..8added4ed2 100644
--- a/packages/avahi/avahi_0.2.bb
+++ b/packages/avahi/avahi_0.2.bb
@@ -5,11 +5,10 @@ DEPENDS = "expat libdaemon dbus-0.34"
RRECOMMENDS = "libnss-mdns"
SECTION = "net"
PRIORITY = "optional"
+PR = "r1"
SRC_URI = "http://www.freedesktop.org/~lennart/avahi-${PV}.tar.gz"
-# file://no-strict-ansi.patch;patch=1"
-
PACKAGES = "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib avahi-dev avahi-doc"
FILES_libavahi-common = "${libdir}/libavahi-common.so.*"
@@ -35,10 +34,12 @@ inherit update-rc.d
INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd"
INITSCRIPT_NAME_avahi-daemon = "avahi-daemon"
+INITSCRIPT_PARAMS_avahi-daemon = "defaults 21 19"
INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd"
+INITSCRIPT_PARAMS_avahi-dnsconfd = "defaults 22 19"
pkg_postinst_avahi-daemon () {
- grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon avahi
+ grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon --no-create-home avahi -g Avahi
}
pkg_postrm_avahi-daemon () {