Skip to contentSkip to conversation

dbus update to 1.8.6 (CVE-2014-3532)

PATCH In review Daniel BORNAZ 2 participants 2 messages Jul 10, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dbus update to 1.8.6 (CVE-2014-3532)

Version update for fixing two DoS vulnerabilities in dbus-daemon (CVE-2014-3532).

[LXCR-3405]

---
 .../dbus/dbus-glib-0.102/no-examples.patch         | 15 ++++++
 .../dbus-glib-0.102/obsolete_automake_macros.patch | 15 ++++++
 .../dbus-glib-0.102/test-install-makefile.patch    | 48 ++++++++++++++++++
 meta/recipes-core/dbus/dbus-glib_0.102.bb          |  8 +++
 meta/recipes-core/dbus/dbus-test_1.8.6.bb          | 59 ++++++++++++++++++++++
 meta/recipes-core/dbus/dbus_1.8.6.bb               |  4 ++
 6 files changed, 149 insertions(+)
 create mode 100644 meta/recipes-core/dbus/dbus-glib-0.102/no-examples.patch
 create mode 100644 meta/recipes-core/dbus/dbus-glib-0.102/obsolete_automake_macros.patch
 create mode 100644 meta/recipes-core/dbus/dbus-glib-0.102/test-install-makefile.patch
 create mode 100644 meta/recipes-core/dbus/dbus-glib_0.102.bb
 create mode 100644 meta/recipes-core/dbus/dbus-test_1.8.6.bb
 create mode 100644 meta/recipes-core/dbus/dbus_1.8.6.bb
meta/recipes-core/dbus/dbus-glib-0.102/no-examples.patch new file +15 -0
new file mode 100644
index 0000000..fbb4967
@@ -0,0 +1,15 @@
+Disable compiling examples
+
+Upstream-Status: Inappropriate [disable feature]
+
+Signed-off-by: Kevin Tian <[email protected]>
+Signed-off-by: Scott Garman <[email protected]>
+
+--- dbus-glib-0.70/dbus/Makefile.am.orig	2006-07-23 16:04:43.000000000 +0200
++++ dbus-glib-0.70/dbus/Makefile.am	2006-07-23 16:04:52.000000000 +0200
+@@ -1,4 +1,4 @@
+-SUBDIRS = . examples
++SUBDIRS = .
+ 
+ INCLUDES=-I$(top_srcdir) $(DBUS_CFLAGS) $(DBUS_GLIB_CFLAGS) $(DBUS_GLIB_TOOL_CFLAGS) -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" 
+ 
meta/recipes-core/dbus/dbus-glib-0.102/obsolete_automake_macros.patch new file +15 -0
new file mode 100644
index 0000000..40e3b12
@@ -0,0 +1,15 @@
+Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=59003]
+
+Signed-off-by: Marko Lindqvist <[email protected]>
+diff -Nurd dbus-glib-0.100/configure.ac dbus-glib-0.100/configure.ac
+--- dbus-glib-0.100/configure.ac	2012-06-25 19:26:39.000000000 +0300
++++ dbus-glib-0.100/configure.ac	2013-01-03 04:53:22.314976758 +0200
+@@ -8,7 +8,7 @@
+
+ AM_INIT_AUTOMAKE([1.9])
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ # Honor aclocal flags
+ ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
meta/recipes-core/dbus/dbus-glib-0.102/test-install-makefile.patch new file +48 -0

48 lines not on this page · raw message

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 new file +59 -0

59 lines not on this page · raw message

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

Version update for fixing two DoS vulnerabilities in dbus-daemon (CVE-2014-3532).

Please remove the old version when upgrading, and ensure that -M is passed to git-format-patch.

(also, no need to cc yocto@ for patches to oe-core)

Ross