summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/poky-bleeding.conf4
-rw-r--r--meta/packages/dbus/dbus-1.1.2/cross.patch (renamed from meta/packages/dbus/dbus-1.1.1/cross.patch)0
-rw-r--r--meta/packages/dbus/dbus-1.1.2/dbus-1.init (renamed from meta/packages/dbus/dbus-1.1.1/dbus-1.init)0
-rw-r--r--meta/packages/dbus/dbus-1.1.2/fix-install-daemon.patch (renamed from meta/packages/dbus/dbus-1.1.1/fix-install-daemon.patch)0
-rw-r--r--meta/packages/dbus/dbus-1.1.2/fix-validate.patch49
-rw-r--r--meta/packages/dbus/dbus-1.1.2/tmpdir.patch (renamed from meta/packages/dbus/dbus-1.1.1/tmpdir.patch)0
-rw-r--r--meta/packages/dbus/dbus-native_1.1.2.bb (renamed from meta/packages/dbus/dbus-native_1.1.1.bb)3
-rw-r--r--meta/packages/dbus/dbus_1.1.2.bb (renamed from meta/packages/dbus/dbus_1.1.1.bb)8
8 files changed, 58 insertions, 6 deletions
diff --git a/meta/conf/distro/poky-bleeding.conf b/meta/conf/distro/poky-bleeding.conf
index 66bca23e29..c54c0ada7c 100644
--- a/meta/conf/distro/poky-bleeding.conf
+++ b/meta/conf/distro/poky-bleeding.conf
@@ -1,4 +1,4 @@
1PREFERRED_VERSION_dbus ?= "1.1.1" 1PREFERRED_VERSION_dbus ?= "1.1.2"
2PREFERRED_VERSION_dbus-native ?= "1.1.1" 2PREFERRED_VERSION_dbus-native ?= "1.1.2"
3 3
4require conf/distro/poky.conf 4require conf/distro/poky.conf
diff --git a/meta/packages/dbus/dbus-1.1.1/cross.patch b/meta/packages/dbus/dbus-1.1.2/cross.patch
index 268a3ae3de..268a3ae3de 100644
--- a/meta/packages/dbus/dbus-1.1.1/cross.patch
+++ b/meta/packages/dbus/dbus-1.1.2/cross.patch
diff --git a/meta/packages/dbus/dbus-1.1.1/dbus-1.init b/meta/packages/dbus/dbus-1.1.2/dbus-1.init
index 0725083c69..0725083c69 100644
--- a/meta/packages/dbus/dbus-1.1.1/dbus-1.init
+++ b/meta/packages/dbus/dbus-1.1.2/dbus-1.init
diff --git a/meta/packages/dbus/dbus-1.1.1/fix-install-daemon.patch b/meta/packages/dbus/dbus-1.1.2/fix-install-daemon.patch
index c31786357d..c31786357d 100644
--- a/meta/packages/dbus/dbus-1.1.1/fix-install-daemon.patch
+++ b/meta/packages/dbus/dbus-1.1.2/fix-install-daemon.patch
diff --git a/meta/packages/dbus/dbus-1.1.2/fix-validate.patch b/meta/packages/dbus/dbus-1.1.2/fix-validate.patch
new file mode 100644
index 0000000000..3bfddca603
--- /dev/null
+++ b/meta/packages/dbus/dbus-1.1.2/fix-validate.patch
@@ -0,0 +1,49 @@
1commit ae4a1586969aaca534508837830d7d3de4ade070
2Author: Havoc Pennington <hp@redhat.com>
3Date: Mon Jul 30 16:16:47 2007 +0000
4
5 2007-07-30 Havoc Pennington <hp@redhat.com>
6
7 * bus/activation-helper.c (check_bus_name): don't use
8 _dbus_check_valid_bus_name() which is only around with
9 --enable-checks, instead use _dbus_validate_bus_name().
10 Bug #11766 from Diego <diego@pemas.net>
11
12diff --git a/bus/activation-helper.c b/bus/activation-helper.c
13index 1636660..36006a4 100644
14--- a/bus/activation-helper.c
15+++ b/bus/activation-helper.c
16@@ -381,14 +381,20 @@ exec_for_correct_user (char *exec, char *user, DBusError *error)
17 }
18
19 static dbus_bool_t
20-check_bus_name (const char *bus_name, DBusError *error)
21+check_bus_name (const char *bus_name,
22+ DBusError *error)
23 {
24- if (!_dbus_check_is_valid_bus_name (bus_name))
25+ DBusString str;
26+
27+ _dbus_string_init_const (&str, bus_name);
28+ if (!_dbus_validate_bus_name (&str, 0, _dbus_string_get_length (&str)))
29 {
30 dbus_set_error (error, DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND,
31- "bus name '%s' not found\n", bus_name);
32+ "bus name '%s' is not a valid bus name\n",
33+ bus_name);
34 return FALSE;
35 }
36+
37 return TRUE;
38 }
39
40@@ -517,7 +523,8 @@ check_dbus_user (BusConfigParser *parser, DBusError *error)
41 }
42
43 dbus_bool_t
44-run_launch_helper (const char *bus_name, DBusError *error)
45+run_launch_helper (const char *bus_name,
46+ DBusError *error)
47 {
48 BusConfigParser *parser;
49 dbus_bool_t retval;
diff --git a/meta/packages/dbus/dbus-1.1.1/tmpdir.patch b/meta/packages/dbus/dbus-1.1.2/tmpdir.patch
index 838b903f0a..838b903f0a 100644
--- a/meta/packages/dbus/dbus-1.1.1/tmpdir.patch
+++ b/meta/packages/dbus/dbus-1.1.2/tmpdir.patch
diff --git a/meta/packages/dbus/dbus-native_1.1.1.bb b/meta/packages/dbus/dbus-native_1.1.2.bb
index 72e2190f78..e2fb483824 100644
--- a/meta/packages/dbus/dbus-native_1.1.1.bb
+++ b/meta/packages/dbus/dbus-native_1.1.2.bb
@@ -9,9 +9,10 @@ DEPENDS = "glib-2.0-native libxml2-native expat-native"
9 9
10DEFAULT_PREFERENCE = "-1" 10DEFAULT_PREFERENCE = "-1"
11 11
12FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-1.0.2" 12FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-${PV}"
13SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ 13SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
14 file://cross.patch;patch=1 \ 14 file://cross.patch;patch=1 \
15 file://fix-validate.patch;patch=1 \
15 " 16 "
16 17
17inherit autotools pkgconfig gettext native 18inherit autotools pkgconfig gettext native
diff --git a/meta/packages/dbus/dbus_1.1.1.bb b/meta/packages/dbus/dbus_1.1.2.bb
index f2318d42d2..93846bd822 100644
--- a/meta/packages/dbus/dbus_1.1.1.bb
+++ b/meta/packages/dbus/dbus_1.1.2.bb
@@ -6,13 +6,15 @@ DESCRIPTION = "message bus system for applications to talk to one another"
6LICENSE = "GPL" 6LICENSE = "GPL"
7DEPENDS = "expat glib-2.0 virtual/libintl" 7DEPENDS = "expat glib-2.0 virtual/libintl"
8 8
9PR = "r4" 9PR = "r0"
10 10
11SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ 11SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
12 file://tmpdir.patch;patch=1 \ 12 file://tmpdir.patch;patch=1 \
13 file://dbus-1.init \ 13 file://dbus-1.init \
14 file://cross.patch;patch=1 \ 14 file://cross.patch;patch=1 \
15 file://fix-install-daemon.patch;patch=1" 15 file://fix-install-daemon.patch;patch=1 \
16 file://fix-validate.patch;patch=1 \
17 "
16 18
17inherit autotools pkgconfig update-rc.d gettext 19inherit autotools pkgconfig update-rc.d gettext
18 20
@@ -40,7 +42,7 @@ chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER"
40chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" 42chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER"
41} 43}
42 44
43EXTRA_OECONF = " --disable-tests --disable-asserts --disable-xml-docs \ 45EXTRA_OECONF = " --disable-tests --disable-checks --disable-xml-docs \
44 --disable-doxygen-docs --with-xml=expat --without-x" 46 --disable-doxygen-docs --with-xml=expat --without-x"
45 47
46do_stage () { 48do_stage () {