From 31f5f802d8a74778da532e2504950229439828e6 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 20 Apr 2016 11:33:23 +0200 Subject: [PATCH] avahi: avahi-deamon needs dbus to work correctly --- srcpkgs/avahi/files/avahi-daemon/run | 4 ++++ srcpkgs/avahi/template | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/avahi/files/avahi-daemon/run b/srcpkgs/avahi/files/avahi-daemon/run index b6b278eba5c..1710a13cea1 100755 --- a/srcpkgs/avahi/files/avahi-daemon/run +++ b/srcpkgs/avahi/files/avahi-daemon/run @@ -1,2 +1,6 @@ #!/bin/sh +# if dbus is enabled wait for it. +if [ -L /var/service/dbus ]; then + sv check dbus > /dev/null || exit 1 +fi exec avahi-daemon -s diff --git a/srcpkgs/avahi/template b/srcpkgs/avahi/template index ba9ba03004e..dd49736b8f3 100644 --- a/srcpkgs/avahi/template +++ b/srcpkgs/avahi/template @@ -1,7 +1,7 @@ # Template file for 'avahi' pkgname=avahi version=0.6.32 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl