summaryrefslogtreecommitdiff
path: root/packages/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'packages/avahi')
-rw-r--r--packages/avahi/avahi-python_0.6.21.bb2
-rw-r--r--packages/avahi/avahi-ui_0.6.21.bb2
-rw-r--r--packages/avahi/avahi.inc9
-rw-r--r--packages/avahi/avahi_0.6.19.bb2
-rw-r--r--packages/avahi/avahi_0.6.20.bb2
-rw-r--r--packages/avahi/avahi_0.6.21.bb2
-rw-r--r--packages/avahi/avahi_0.6.22.bb2
-rw-r--r--packages/avahi/avahi_0.6.23.bb2
8 files changed, 13 insertions, 10 deletions
diff --git a/packages/avahi/avahi-python_0.6.21.bb b/packages/avahi/avahi-python_0.6.21.bb
index 25ca037c04..639f1de34e 100644
--- a/packages/avahi/avahi-python_0.6.21.bb
+++ b/packages/avahi/avahi-python_0.6.21.bb
@@ -1,6 +1,6 @@
require avahi.inc
-PR = "r7"
+PR = "r8"
# FIXME: without --enable-gtk, avahi-discover (pygtk) won't be built
FILES_avahi-discover = ""
diff --git a/packages/avahi/avahi-ui_0.6.21.bb b/packages/avahi/avahi-ui_0.6.21.bb
index 28d4c07807..4323b49640 100644
--- a/packages/avahi/avahi-ui_0.6.21.bb
+++ b/packages/avahi/avahi-ui_0.6.21.bb
@@ -1,6 +1,6 @@
require avahi.inc
-PR = "r7"
+PR = "r8"
DEPENDS += "avahi gtk+"
diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc
index 9a0685578c..cbd6ac3d03 100644
--- a/packages/avahi/avahi.inc
+++ b/packages/avahi/avahi.inc
@@ -76,10 +76,11 @@ pkg_postinst_avahi-daemon () {
grep "^avahi:" /etc/group > /dev/null || addgroup avahi
grep "^avahi:" /etc/passwd > /dev/null || adduser --disabled-password --system --home /var/run/avahi-daemon --no-create-home avahi --ingroup avahi -g Avahi
- DBUSPID=`pidof dbus-daemon`
-
- if [ "x$DBUSPID" != "x" ]; then
- /etc/init.d/dbus-1 force-reload
+ DBUSPID="/var/run/dbus/pid"
+ if [ -f $DBUSPID ]; then
+ if ps `cat $DBUSPID` > /dev/null; then
+ /etc/init.d/dbus-1 force-reload
+ fi
fi
}
diff --git a/packages/avahi/avahi_0.6.19.bb b/packages/avahi/avahi_0.6.19.bb
index 6bc5a7055d..f3e9c6bdee 100644
--- a/packages/avahi/avahi_0.6.19.bb
+++ b/packages/avahi/avahi_0.6.19.bb
@@ -1,3 +1,3 @@
require avahi.inc
-PR = "r9"
+PR = "r10"
diff --git a/packages/avahi/avahi_0.6.20.bb b/packages/avahi/avahi_0.6.20.bb
index 6bc5a7055d..f3e9c6bdee 100644
--- a/packages/avahi/avahi_0.6.20.bb
+++ b/packages/avahi/avahi_0.6.20.bb
@@ -1,3 +1,3 @@
require avahi.inc
-PR = "r9"
+PR = "r10"
diff --git a/packages/avahi/avahi_0.6.21.bb b/packages/avahi/avahi_0.6.21.bb
index c6236ad6d1..04f92f16d5 100644
--- a/packages/avahi/avahi_0.6.21.bb
+++ b/packages/avahi/avahi_0.6.21.bb
@@ -1,6 +1,6 @@
require avahi.inc
-PR = "r9"
+PR = "r10"
SRC_URI += "file://dbus-pre-1.1.1-support.patch;patch=1"
SRC_URI += "file://avr32-ipv6-fix.patch;patch=1"
diff --git a/packages/avahi/avahi_0.6.22.bb b/packages/avahi/avahi_0.6.22.bb
index 43c1b15843..f1f82a053a 100644
--- a/packages/avahi/avahi_0.6.22.bb
+++ b/packages/avahi/avahi_0.6.22.bb
@@ -1,6 +1,6 @@
require avahi.inc
DEPENDS += "intltool-native"
-PR = "r9"
+PR = "r10"
PACKAGES =+ "libavahi-gobject"
diff --git a/packages/avahi/avahi_0.6.23.bb b/packages/avahi/avahi_0.6.23.bb
index 15f56ffa95..61a62a54a4 100644
--- a/packages/avahi/avahi_0.6.23.bb
+++ b/packages/avahi/avahi_0.6.23.bb
@@ -1,5 +1,7 @@
require avahi.inc
+PR = "r1"
+
DEPENDS += "intltool-native"
PACKAGES =+ "libavahi-gobject"