summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-0.20/cross.patch15
-rw-r--r--dbus/dbus-0.21/cross.patch15
-rw-r--r--dbus/dbus-0.22/cross.patch15
-rw-r--r--dbus/dbus/dbus-1.init57
4 files changed, 102 insertions, 0 deletions
diff --git a/dbus/dbus-0.20/cross.patch b/dbus/dbus-0.20/cross.patch
index e69de29bb2..6d1d9d8e7e 100644
--- a/dbus/dbus-0.20/cross.patch
+++ b/dbus/dbus-0.20/cross.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- dbus-0.20/configure.in~cross
++++ dbus-0.20/configure.in
+@@ -466,6 +466,7 @@
+ exit (0);
+ ]])],
+ [have_abstract_sockets=yes],
++ [have_abstract_sockets=no],
+ [have_abstract_sockets=no])
+ AC_LANG_POP(C)
+ AC_MSG_RESULT($have_abstract_sockets)
diff --git a/dbus/dbus-0.21/cross.patch b/dbus/dbus-0.21/cross.patch
index e69de29bb2..6d1d9d8e7e 100644
--- a/dbus/dbus-0.21/cross.patch
+++ b/dbus/dbus-0.21/cross.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- dbus-0.20/configure.in~cross
++++ dbus-0.20/configure.in
+@@ -466,6 +466,7 @@
+ exit (0);
+ ]])],
+ [have_abstract_sockets=yes],
++ [have_abstract_sockets=no],
+ [have_abstract_sockets=no])
+ AC_LANG_POP(C)
+ AC_MSG_RESULT($have_abstract_sockets)
diff --git a/dbus/dbus-0.22/cross.patch b/dbus/dbus-0.22/cross.patch
index e69de29bb2..6d1d9d8e7e 100644
--- a/dbus/dbus-0.22/cross.patch
+++ b/dbus/dbus-0.22/cross.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- dbus-0.20/configure.in~cross
++++ dbus-0.20/configure.in
+@@ -466,6 +466,7 @@
+ exit (0);
+ ]])],
+ [have_abstract_sockets=yes],
++ [have_abstract_sockets=no],
+ [have_abstract_sockets=no])
+ AC_LANG_POP(C)
+ AC_MSG_RESULT($have_abstract_sockets)
diff --git a/dbus/dbus/dbus-1.init b/dbus/dbus/dbus-1.init
index e69de29bb2..118b801da7 100644
--- a/dbus/dbus/dbus-1.init
+++ b/dbus/dbus/dbus-1.init
@@ -0,0 +1,57 @@
+#! /bin/sh
+# -*- coding: iso8859-1 -*-
+# Debian init.d script for D-BUS
+# Copyright (c) 2003 Colin Walters <walters@debian.org>
+
+set -e
+
+DAEMON=/usr/bin/dbus-daemon-1
+NAME=dbus-1
+DAEMONUSER=messagebus
+PIDFILE=/var/run/dbus/pid
+DESC="system message bus"
+
+test -x $DAEMON || exit 0
+
+# Source defaults file; edit that file to configure this script.
+ENABLED=1
+PARAMS=""
+if [ -e /etc/default/dbus-1 ]; then
+ . /etc/default/dbus-1
+fi
+
+test "$ENABLED" != "0" || exit 0
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: "
+ if [ ! -d /var/run/dbus ]; then
+ mkdir /var/run/dbus
+ chown $DAEMONUSER:$DAEMONUSER /var/run/dbus
+ fi
+ start-stop-daemon -S \
+ -u $DAEMONUSER -x $DAEMON -- --system $PARAMS
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ start-stop-daemon -K \
+ -u $DAEMONUSER -x $DAEMON -- --system $PARAMS
+ echo "$NAME."
+ ;;
+ restart|force-reload)
+ echo -n "Restarting $DESC: "
+ start-stop-daemon -K \
+ -u $DAEMONUSER -x $DAEMON -- --system $PARAMS
+ sleep 1
+ start-stop-daemon -S \
+ -u $DAEMONUSER -x $DAEMON -- --system $PARAMS
+ echo "$NAME."
+ ;;
+ *)
+ echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0