diff options
Diffstat (limited to 'meta/packages/dbus/dbus-1.0.3')
-rw-r--r-- | meta/packages/dbus/dbus-1.0.3/99_dbus | 1 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-1.0.3/cross.patch | 10 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-1.0.3/dbus-1.init | 110 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-1.0.3/fix-install-daemon.patch | 13 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-1.0.3/tmpdir.patch | 30 |
5 files changed, 0 insertions, 164 deletions
diff --git a/meta/packages/dbus/dbus-1.0.3/99_dbus b/meta/packages/dbus/dbus-1.0.3/99_dbus deleted file mode 100644 index 6821ae4dba..0000000000 --- a/meta/packages/dbus/dbus-1.0.3/99_dbus +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | d messagebus messagebus 0755 /var/run/dbus none | ||
diff --git a/meta/packages/dbus/dbus-1.0.3/cross.patch b/meta/packages/dbus/dbus-1.0.3/cross.patch deleted file mode 100644 index 268a3ae3de..0000000000 --- a/meta/packages/dbus/dbus-1.0.3/cross.patch +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | --- /tmp/configure.in 2006-11-09 21:47:10.000000000 +0100 | ||
2 | +++ dbus-0.95/configure.in 2006-11-09 21:48:13.108554000 +0100 | ||
3 | @@ -719,6 +719,7 @@ | ||
4 | exit (0); | ||
5 | ]])], | ||
6 | [ac_cv_have_abstract_sockets=yes], | ||
7 | + [ac_cv_have_abstract_sockets=no], | ||
8 | [ac_cv_have_abstract_sockets=no] | ||
9 | )]) | ||
10 | AC_LANG_POP(C) | ||
diff --git a/meta/packages/dbus/dbus-1.0.3/dbus-1.init b/meta/packages/dbus/dbus-1.0.3/dbus-1.init deleted file mode 100644 index 0725083c69..0000000000 --- a/meta/packages/dbus/dbus-1.0.3/dbus-1.init +++ /dev/null | |||
@@ -1,110 +0,0 @@ | |||
1 | #! /bin/sh | ||
2 | # -*- coding: utf-8 -*- | ||
3 | # Debian init.d script for D-BUS | ||
4 | # Copyright © 2003 Colin Walters <walters@debian.org> | ||
5 | |||
6 | set -e | ||
7 | |||
8 | DAEMON=/usr/bin/dbus-daemon | ||
9 | NAME=dbus | ||
10 | DAEMONUSER=messagebus | ||
11 | PIDDIR=/var/run/dbus | ||
12 | PIDFILE=$PIDDIR/pid | ||
13 | UUIDDIR=/var/lib/dbus | ||
14 | DESC="system message bus" | ||
15 | EVENTDIR=/etc/dbus-1/event.d | ||
16 | |||
17 | test -x $DAEMON || exit 0 | ||
18 | |||
19 | # Source defaults file; edit that file to configure this script. | ||
20 | ENABLED=1 | ||
21 | PARAMS="" | ||
22 | if [ -e /etc/default/dbus ]; then | ||
23 | . /etc/default/dbus | ||
24 | fi | ||
25 | |||
26 | test "$ENABLED" != "0" || exit 0 | ||
27 | |||
28 | start_it_up() | ||
29 | { | ||
30 | if [ ! -d $PIDDIR ]; then | ||
31 | mkdir -p $PIDDIR | ||
32 | chown $DAEMONUSER $PIDDIR | ||
33 | chgrp $DAEMONUSER $PIDDIR | ||
34 | fi | ||
35 | if [ -e $PIDFILE ]; then | ||
36 | PIDDIR=/proc/$(cat $PIDFILE) | ||
37 | if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then | ||
38 | echo "$DESC already started; not starting." | ||
39 | else | ||
40 | echo "Removing stale PID file $PIDFILE." | ||
41 | rm -f $PIDFILE | ||
42 | fi | ||
43 | fi | ||
44 | |||
45 | if [ ! -d $UUIDDIR ]; then | ||
46 | mkdir -p $UUIDDIR | ||
47 | chown $DAEMONUSER $UUIDDIR | ||
48 | chgrp $DAEMONUSER $UUIDDIR | ||
49 | fi | ||
50 | |||
51 | dbus-uuidgen --ensure | ||
52 | |||
53 | echo -n "Starting $DESC: " | ||
54 | start-stop-daemon --start --quiet --pidfile $PIDFILE \ | ||
55 | --user $DAEMONUSER --exec $DAEMON -- --system $PARAMS | ||
56 | echo "$NAME." | ||
57 | if [ -d $EVENTDIR ]; then | ||
58 | run-parts --arg=start $EVENTDIR | ||
59 | fi | ||
60 | } | ||
61 | |||
62 | shut_it_down() | ||
63 | { | ||
64 | if [ -d $EVENTDIR ]; then | ||
65 | # TODO: --reverse when busybox supports it | ||
66 | run-parts --arg=stop $EVENTDIR | ||
67 | fi | ||
68 | echo -n "Stopping $DESC: " | ||
69 | start-stop-daemon --stop --quiet --pidfile $PIDFILE \ | ||
70 | --user $DAEMONUSER | ||
71 | # We no longer include these arguments so that start-stop-daemon | ||
72 | # can do its job even given that we may have been upgraded. | ||
73 | # We rely on the pidfile being sanely managed | ||
74 | # --exec $DAEMON -- --system $PARAMS | ||
75 | echo "$NAME." | ||
76 | rm -f $PIDFILE | ||
77 | } | ||
78 | |||
79 | reload_it() | ||
80 | { | ||
81 | echo -n "Reloading $DESC config: " | ||
82 | dbus-send --print-reply --system --type=method_call \ | ||
83 | --dest=org.freedesktop.DBus \ | ||
84 | / org.freedesktop.DBus.ReloadConfig > /dev/null | ||
85 | # hopefully this is enough time for dbus to reload it's config file. | ||
86 | echo "done." | ||
87 | } | ||
88 | |||
89 | case "$1" in | ||
90 | start) | ||
91 | start_it_up | ||
92 | ;; | ||
93 | stop) | ||
94 | shut_it_down | ||
95 | ;; | ||
96 | reload|force-reload) | ||
97 | reload_it | ||
98 | ;; | ||
99 | restart) | ||
100 | shut_it_down | ||
101 | sleep 1 | ||
102 | start_it_up | ||
103 | ;; | ||
104 | *) | ||
105 | echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 | ||
106 | exit 1 | ||
107 | ;; | ||
108 | esac | ||
109 | |||
110 | exit 0 | ||
diff --git a/meta/packages/dbus/dbus-1.0.3/fix-install-daemon.patch b/meta/packages/dbus/dbus-1.0.3/fix-install-daemon.patch deleted file mode 100644 index c31786357d..0000000000 --- a/meta/packages/dbus/dbus-1.0.3/fix-install-daemon.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: dbus-0.94/bus/Makefile.am | ||
2 | =================================================================== | ||
3 | --- dbus-0.94.orig/bus/Makefile.am 2006-10-01 17:36:18.000000000 +0200 | ||
4 | +++ dbus-0.94/bus/Makefile.am 2006-10-14 21:40:05.000000000 +0200 | ||
5 | @@ -110,7 +110,7 @@ | ||
6 | $(mkinstalldirs) $(DESTDIR)$(DBUS_DAEMONDIR); \ | ||
7 | chmod 755 $(DESTDIR)$(DBUS_DAEMONDIR); \ | ||
8 | fi | ||
9 | - $(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR) | ||
10 | + $(INSTALL_PROGRAM) .libs/dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR) | ||
11 | $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus | ||
12 | $(mkinstalldirs) $(DESTDIR)$(configdir)/system.d | ||
13 | $(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/services | ||
diff --git a/meta/packages/dbus/dbus-1.0.3/tmpdir.patch b/meta/packages/dbus/dbus-1.0.3/tmpdir.patch deleted file mode 100644 index 838b903f0a..0000000000 --- a/meta/packages/dbus/dbus-1.0.3/tmpdir.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | --- dbus-0.22/configure.in.orig 2004-08-13 00:57:16.000000000 +0200 | ||
2 | +++ dbus-0.22/configure.in 2004-12-30 21:15:57.000000000 +0100 | ||
3 | @@ -1047,15 +1048,18 @@ | ||
4 | AC_SUBST(ABSOLUTE_TOP_BUILDDIR) | ||
5 | |||
6 | #### Find socket directories | ||
7 | -if ! test -z "$TMPDIR" ; then | ||
8 | - DEFAULT_SOCKET_DIR=$TMPDIR | ||
9 | -elif ! test -z "$TEMP" ; then | ||
10 | - DEFAULT_SOCKET_DIR=$TEMP | ||
11 | -elif ! test -z "$TMP" ; then | ||
12 | - DEFAULT_SOCKET_DIR=$TMP | ||
13 | -else | ||
14 | - DEFAULT_SOCKET_DIR=/tmp | ||
15 | -fi | ||
16 | +#if ! test -z "$TMPDIR" ; then | ||
17 | +# DEFAULT_SOCKET_DIR=$TMPDIR | ||
18 | +#elif ! test -z "$TEMP" ; then | ||
19 | +# DEFAULT_SOCKET_DIR=$TEMP | ||
20 | +#elif ! test -z "$TMP" ; then | ||
21 | +# DEFAULT_SOCKET_DIR=$TMP | ||
22 | +#else | ||
23 | +# DEFAULT_SOCKET_DIR=/tmp | ||
24 | +#fi | ||
25 | + | ||
26 | +# checks disabled to avoid expanding this at build time | ||
27 | +DEFAULT_SOCKET_DIR=/tmp | ||
28 | |||
29 | if ! test -z "$with_test_socket_dir" ; then | ||
30 | TEST_SOCKET_DIR="$with_test_socket_dir" | ||