Skip to contentSkip to conversation

dbus: dbus update to 1.8.6

PATCH Superseded Daniel BORNAZ 2 participants 2 messages Jul 17, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dbus: dbus update to 1.8.6

dbus: dbus update to 1.8.6

Dbus and dbus-test updated to version 1.8.6, dbus-glib updated to version 0.102. Removed recipes and files from previous version(s).

Current version fixes two DoS vulnerabilities in dbus-daemon (CVE-2014-3532).

	renamed:    meta/recipes-core/dbus/dbus-glib-0.100.2/no-examples.patch -> meta/recipes-core/dbus/dbus-glib-0.102/no-examples.patch
	renamed:    meta/recipes-core/dbus/dbus-glib-0.100.2/obsolete_automake_macros.patch -> meta/recipes-core/dbus/dbus-glib-0.102/obsolete_automake_macros.patch
	renamed:    meta/recipes-core/dbus/dbus-glib-0.100.2/test-install-makefile.patch -> meta/recipes-core/dbus/dbus-glib-0.102/test-install-makefile.patch
	deleted:    meta/recipes-core/dbus/dbus-glib_0.100.2.bb
	new file:   meta/recipes-core/dbus/dbus-glib_0.102.bb
	renamed:    meta/recipes-core/dbus/dbus-test_1.8.2.bb -> meta/recipes-core/dbus/dbus-test_1.8.6.bb
	deleted:    meta/recipes-core/dbus/dbus_1.8.2.bb
	new file:   meta/recipes-core/dbus/dbus_1.8.6.bb
---
 .../dbus/{dbus-glib-0.100.2 => dbus-glib-0.102}/no-examples.patch | 0
 .../obsolete_automake_macros.patch                                | 0
 .../test-install-makefile.patch                                   | 0
 meta/recipes-core/dbus/dbus-glib_0.100.2.bb                       | 5 -----
 meta/recipes-core/dbus/dbus-glib_0.102.bb                         | 8 ++++++++
 meta/recipes-core/dbus/{dbus-test_1.8.2.bb => dbus-test_1.8.6.bb} | 3 +--
 meta/recipes-core/dbus/dbus_1.8.2.bb                              | 4 ----
 meta/recipes-core/dbus/dbus_1.8.6.bb                              | 4 ++++
 8 files changed, 13 insertions(+), 11 deletions(-)
 rename meta/recipes-core/dbus/{dbus-glib-0.100.2 => dbus-glib-0.102}/no-examples.patch (100%)
 rename meta/recipes-core/dbus/{dbus-glib-0.100.2 => dbus-glib-0.102}/obsolete_automake_macros.patch (100%)
 rename meta/recipes-core/dbus/{dbus-glib-0.100.2 => dbus-glib-0.102}/test-install-makefile.patch (100%)
 delete mode 100644 meta/recipes-core/dbus/dbus-glib_0.100.2.bb
 create mode 100644 meta/recipes-core/dbus/dbus-glib_0.102.bb
 rename meta/recipes-core/dbus/{dbus-test_1.8.2.bb => dbus-test_1.8.6.bb} (93%)
 delete mode 100644 meta/recipes-core/dbus/dbus_1.8.2.bb
 create mode 100644 meta/recipes-core/dbus/dbus_1.8.6.bb
meta/recipes-core/dbus/dbus-glib-0.102/no-examples.patch renamed from meta/recipes-core/dbus/dbus-glib-0.100.2/no-examples.patch +0 -0
similarity index 100%
rename from meta/recipes-core/dbus/dbus-glib-0.100.2/no-examples.patch
rename to meta/recipes-core/dbus/dbus-glib-0.102/no-examples.patch
meta/recipes-core/dbus/dbus-glib-0.102/obsolete_automake_macros.patch renamed from meta/recipes-core/dbus/dbus-glib-0.100.2/obsolete_automake_macros.patch +0 -0
similarity index 100%
rename from meta/recipes-core/dbus/dbus-glib-0.100.2/obsolete_automake_macros.patch
rename to meta/recipes-core/dbus/dbus-glib-0.102/obsolete_automake_macros.patch
meta/recipes-core/dbus/dbus-glib-0.102/test-install-makefile.patch renamed from meta/recipes-core/dbus/dbus-glib-0.100.2/test-install-makefile.patch +0 -0
similarity index 100%
rename from meta/recipes-core/dbus/dbus-glib-0.100.2/test-install-makefile.patch
rename to meta/recipes-core/dbus/dbus-glib-0.102/test-install-makefile.patch
meta/recipes-core/dbus/dbus-glib_0.100.2.bb deleted +0 -5
deleted file mode 100644
index c1bb06a..0000000
@@ -1,5 +0,0 @@
-require dbus-glib.inc
-
-
-SRC_URI[md5sum] = "ad0920c7e3aad669163bb59171cf138e"
-SRC_URI[sha256sum] = "a5bb42da921f51c28161e0e54a5a8241d94a1c0499a14007150e9ce743da6ac5"
meta/recipes-core/dbus/dbus-glib_0.102.bb new file +8 -0
new file mode 100644
index 0000000..28e8a72
@@ -0,0 +1,8 @@
+require dbus-glib.inc
+
+SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \
+           file://no-examples.patch \
+"
+
+SRC_URI[md5sum] = "f76b8558fd575d0106c3a556eaa49184"
+SRC_URI[sha256sum] = "6964ed585bb8149a14ab744b5ded5e77cf71ec5446e6dcc5fcf5eebcc52df29c"
meta/recipes-core/dbus/dbus-test_1.8.6.bb renamed from meta/recipes-core/dbus/dbus-test_1.8.2.bb +1 -2
similarity index 93%
rename from meta/recipes-core/dbus/dbus-test_1.8.2.bb
rename to meta/recipes-core/dbus/dbus-test_1.8.6.bb
index e19d2e9..53c5d9a 100644
@@ -18,8 +18,7 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
            file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
            "
 
-SRC_URI[md5sum] = "d6f709bbec0a022a1847c7caec9d6068"
-SRC_URI[sha256sum] = "5689f7411165adc953f37974e276a3028db94447c76e8dd92efe910c6d3bae08"
+SRC_URI[md5sum] = "6a08ba555d340e9dfe2d623b83c0eea8"
 
 S="${WORKDIR}/dbus-${PV}"
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:"
meta/recipes-core/dbus/dbus_1.8.2.bb deleted +0 -4
deleted file mode 100644
index 37ebed2..0000000
@@ -1,4 +0,0 @@
-include dbus.inc
-
-SRC_URI[md5sum] = "d6f709bbec0a022a1847c7caec9d6068"
-SRC_URI[sha256sum] = "5689f7411165adc953f37974e276a3028db94447c76e8dd92efe910c6d3bae08"
meta/recipes-core/dbus/dbus_1.8.6.bb new file +4 -0
new file mode 100644
index 0000000..2fd630f
@@ -0,0 +1,4 @@
+include dbus.inc
+
+SRC_URI[md5sum] = "6a08ba555d340e9dfe2d623b83c0eea8"
+SRC_URI[sha256sum] = "eded83ca007b719f32761e60fd8b9ffd0f5796a4caf455b01b5a5ef740ebd23f"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Daniel BORNAZ
        renamed:    meta/recipes-core/dbus/dbus-glib-0.100.2/no-examples.patch -> meta/recipes-core/dbus/dbus-glib-0.102/no-examples.patch

If there's just a single version of the recipe, please don't version the directory.

Quoted 2 lines
        renamed:    meta/recipes-core/dbus/dbus-glib-0.100.2/obsolete_automake_macros.patch -> meta/recipes-core/dbus/dbus-glib-0.102/obsolete_automake_macros.patch
        renamed:    meta/recipes-core/dbus/dbus-glib-0.100.2/test-install-makefile.patch -> meta/recipes-core/dbus/dbus-glib-0.102/test-install-makefile.patch

Your upgraded dbus-glib has a SRC_URI assignment in the .bb which overrides the assignment in the .inc, so these two patches are not being used. The obsolete automake macros patch appears to have been merged upstream but it appears that by not applying-test-install-makefile you've disabled the dbus-glib-tests package.

Quoted 16 lines

deleted file mode 100644
index c1bb06a..0000000

meta/recipes-core/dbus/dbus-glib_0.100.2.bb deleted +0 -5
@@ -1,5 +0,0 @@
-require dbus-glib.inc
-
-
-SRC_URI[md5sum] = "ad0920c7e3aad669163bb59171cf138e"
-SRC_URI[sha256sum] = "a5bb42da921f51c28161e0e54a5a8241d94a1c0499a14007150e9ce743da6ac5"
meta/recipes-core/dbus/dbus-glib_0.102.bb new file +0 -0
new file mode 100644
index 0000000..28e8a72

meta/recipes-core/dbus/dbus-glib_0.102.bb line 8

Quoted 8 lines
meta/recipes-core/dbus/dbus-glib_0.102.bb new file +8 -0
@@ -0,0 +1,8 @@
+require dbus-glib.inc
+
+SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \
+           file://no-examples.patch \
+"
+
+SRC_URI[md5sum] = "f76b8558fd575d0106c3a556eaa49184"
+SRC_URI[sha256sum] = "6964ed585bb8149a14ab744b5ded5e77cf71ec5446e6dcc5fcf5eebcc52df29c"

Please use -M so renames are expressed as a change, instead of a delete and a creation.

Ross