Skip to contentSkip to conversation

iproute2: upgrade to 4.10.0

PATCH New Maxin B. John 1 participant 2 messages Feb 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 iproute2: upgrade to 4.10.0

4.9.0 -> 4.10.0

added the following patch to fix build with musl libc
1) 0001-libc-compat.h-add-musl-workaround.patch

---
 .../0001-libc-compat.h-add-musl-workaround.patch   |  41 +++++++
 .../iproute2/iproute2/iproute2-4.9.0-musl.patch    | 131 ---------------------
 .../{iproute2_4.9.0.bb => iproute2_4.10.0.bb}      |   6 +-
 3 files changed, 44 insertions(+), 134 deletions(-)
 create mode 100644 meta/recipes-connectivity/iproute2/iproute2/0001-libc-compat.h-add-musl-workaround.patch
 delete mode 100644 meta/recipes-connectivity/iproute2/iproute2/iproute2-4.9.0-musl.patch
 rename meta/recipes-connectivity/iproute2/{iproute2_4.9.0.bb => iproute2_4.10.0.bb} (59%)
meta/recipes-connectivity/iproute2/iproute2/0001-libc-compat.h-add-musl-workaround.patch new file +41 -0
new file mode 100644
index 0000000..3d324c9
@@ -0,0 +1,41 @@
+From b7d96340c55afb7023ded0041107c63dbd886196 Mon Sep 17 00:00:00 2001
+From: Baruch Siach <[email protected]>
+Date: Thu, 22 Dec 2016 15:26:30 +0200
+Subject: [PATCH] libc-compat.h: add musl workaround
+
+The libc-compat.h kernel header uses glibc specific macros (__GLIBC__ and
+__USE_MISC) to solve conflicts with libc provided headers. This patch makes
+libc-compat.h work for musl libc as well.
+
+Upstream-Status: Pending
+
+Taken From:
+https://git.buildroot.net/buildroot/tree/package/iproute2/0001-Add-the-musl-workaround-to-the-libc-compat.h-copy.patch
+
+Signed-off-by: Baruch Siach <[email protected]>
+Signed-off-by: Maxin B. John <[email protected]>
+---
+ include/linux/libc-compat.h | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/include/linux/libc-compat.h b/include/linux/libc-compat.h
+index f38571d..30f0b67 100644
+--- a/include/linux/libc-compat.h
++++ b/include/linux/libc-compat.h
+@@ -49,10 +49,12 @@
+ #define _LIBC_COMPAT_H
+ 
+ /* We have included glibc headers... */
+-#if defined(__GLIBC__)
++#if 1
++#define __USE_MISC
+ 
+ /* Coordinate with glibc net/if.h header. */
+ #if defined(_NET_IF_H) && defined(__USE_MISC)
++#define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 0
+ 
+ /* GLIBC headers included first so don't define anything
+  * that would already be defined. */
+-- 
+2.4.0
+
meta/recipes-connectivity/iproute2/iproute2/iproute2-4.9.0-musl.patch deleted +0 -131

131 lines not on this page · raw message

meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb renamed from meta/recipes-connectivity/iproute2/iproute2_4.9.0.bb +3 -3
similarity index 59%
rename from meta/recipes-connectivity/iproute2/iproute2_4.9.0.bb
rename to meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb
index 808e550..a050e87 100644
@@ -3,11 +3,11 @@ require iproute2.inc
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
            file://configure-cross.patch \
            file://0001-iproute2-de-bash-scripts.patch \
-           file://iproute2-4.9.0-musl.patch \
+           file://0001-libc-compat.h-add-musl-workaround.patch \
           "
 
-SRC_URI[md5sum] = "44a8371a4b2c40e48e4c9f98cbd41391"
-SRC_URI[sha256sum] = "c0f30f043f7767cc1b2cd2197b08d4e9b2392c95823fabe30bbce308c30116c4"
+SRC_URI[md5sum] = "b94a2b0edefaeac124dc8f5d006931b9"
+SRC_URI[sha256sum] = "22b1e1c1fc704ad35837e5a66103739727b8b48ac90b48c13f79b7367ff0a9a8"
 
 # CFLAGS are computed in Makefile and reference CCOPTS
 #
Signature · 1 line
2.4.0
#1 lore raw

PATCH 2/2 gstreamer: update to 1.10.4

bug-fix release:
*) Various fixes for crashes, assertions, deadlocks and memory leaks on
fuzzed input files and in other situations (CVE-2017-5847, CVE-2017-5848)
*) gst-libav was updated to ffmpeg 3.2.4, fixing a couple of CVEs

---
 .../{gstreamer1.0-libav_1.10.3.bb => gstreamer1.0-libav_1.10.4.bb}  | 4 ++--
 .../{gstreamer1.0-omx_1.10.3.bb => gstreamer1.0-omx_1.10.4.bb}      | 5 +++--
 ...1.0-plugins-bad_1.10.3.bb => gstreamer1.0-plugins-bad_1.10.4.bb} | 4 ++--
 ...0-plugins-base_1.10.3.bb => gstreamer1.0-plugins-base_1.10.4.bb} | 4 ++--
 ...0-plugins-good_1.10.3.bb => gstreamer1.0-plugins-good_1.10.4.bb} | 4 ++--
 ...0-plugins-ugly_1.10.3.bb => gstreamer1.0-plugins-ugly_1.10.4.bb} | 4 ++--
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.3.bb | 6 ------
 .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb | 6 ++++++
 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.3.bb      | 5 -----
 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb      | 5 +++++
 .../gstreamer/{gstreamer1.0_1.10.3.bb => gstreamer1.0_1.10.4.bb}    | 4 ++--
 11 files changed, 26 insertions(+), 25 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.3.bb => gstreamer1.0-libav_1.10.4.bb} (87%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.3.bb => gstreamer1.0-omx_1.10.4.bb} (68%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.3.bb => gstreamer1.0-plugins-bad_1.10.4.bb} (90%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.3.bb => gstreamer1.0-plugins-base_1.10.4.bb} (86%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.3.bb => gstreamer1.0-plugins-good_1.10.4.bb} (84%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.3.bb => gstreamer1.0-plugins-ugly_1.10.4.bb} (76%)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.3.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.3.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.3.bb => gstreamer1.0_1.10.4.bb} (72%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.3.bb +2 -2
similarity index 87%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.3.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb
index 39afbeb..59d81db 100644
@@ -14,7 +14,7 @@ SRC_URI = " \
     file://workaround-to-build-gst-libav-for-i586-with-gcc.patch \
     file://mips64_cpu_detection.patch \
 "
-SRC_URI[md5sum] = "ce1ea598f07c8bf728a33c7da39ec308"
-SRC_URI[sha256sum] = "9a6bc165b1862b18b98d9f1755c43806e4839a80f69ec7ea9a2dab61b65752a9"
+SRC_URI[md5sum] = "e2bdd9fde6ca3ff7efffb93df121f4fd"
+SRC_URI[sha256sum] = "6ca0feca75e3d48315e07f20ec37cf6260ed1e9dde58df355febd5016246268b"
 
 S = "${WORKDIR}/gst-libav-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.3.bb +3 -2
similarity index 68%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.3.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb
index 7d06a56..dfeefa5 100644
@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
                     file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"
-SRC_URI[md5sum] = "1eead212796151d6ac08e091bacbd190"
-SRC_URI[sha256sum] = "dd88451e175df7a6b6f619eff0f43a6078054ec7068787b19faf89af94cdb6e1"
+
+SRC_URI[md5sum] = "cedb230f1c47d0cf4b575d70dff66ff2"
+SRC_URI[sha256sum] = "45072925cf262f0fd528fab78f0de52734e46a5a88aa802fae51c67c09c81aa2"
 
 S = "${WORKDIR}/gst-omx-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.3.bb +2 -2
similarity index 90%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.3.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb
index 5bb1543..0bb4053 100644
@@ -19,8 +19,8 @@ SRC_URI = " \
     file://0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch \
     file://0001-mssdemux-improved-live-playback-support.patch \
 "
-SRC_URI[md5sum] = "e59798c86a670041de2e61856ea43d2a"
-SRC_URI[sha256sum] = "24099351fb6984c9e7560de06e072ff2e33d0b2db38b8fcc7afefb536e5094e7"
+SRC_URI[md5sum] = "2757103e57a096a1a05b3ab85b8381af"
+SRC_URI[sha256sum] = "23ddae506b3a223b94869a0d3eea3e9a12e847f94d2d0e0b97102ce13ecd6966"
 
 S = "${WORKDIR}/gst-plugins-bad-${PV}"
 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.3.bb +2 -2
similarity index 86%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.3.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb
index e02974c..7c81670 100644
@@ -13,7 +13,7 @@ SRC_URI = " \
     file://make-gio_unix_2_0-dependency-configurable.patch \
     file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "12fe89a5536a0c7536c19875928637c2"
-SRC_URI[sha256sum] = "e6299617d705a0cbfb535107c1d3a8fc0f0967f14193a8c5c7583f46a88b1710"
+SRC_URI[md5sum] = "f6b46f8fac01eb773d556e3efc369e86"
+SRC_URI[sha256sum] = "f6d245b6b3d4cb733f81ebb021074c525ece83db0c10e932794b339b8d935eb7"
 
 S = "${WORKDIR}/gst-plugins-base-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.3.bb +2 -2
similarity index 84%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.3.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb
index 0fc899c..fd5369a 100644
@@ -11,7 +11,7 @@ SRC_URI = " \
     file://ensure-valid-sentinel-for-gst_structure_get.patch \
     file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "fd841c574c081dc205ac07b587704fc8"
-SRC_URI[sha256sum] = "4e07e93e34d4b93208f1579c21e7d91a236577b36f128a5332ffee85b4465955"
+SRC_URI[md5sum] = "cc0cc13cdb07d4237600b6886b81f31d"
+SRC_URI[sha256sum] = "8a86c61434a8c44665365bd0b3557a040937d1f44bf69caee4e9ea816ce74d7e"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.3.bb +2 -2
similarity index 76%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.3.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb
index 87d5ba2..92a2caa 100644
@@ -7,7 +7,7 @@ SRC_URI = " \
     http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \
     file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "198b7a8eff3e0206d3b5660389df83ef"
-SRC_URI[sha256sum] = "c91597d03abff9df435ad4892eae44df1ee14159c7cc7317ac9d2766ff446bd2"
+SRC_URI[md5sum] = "c68d0509c9980b0b70a4b836ff73fff1"
+SRC_URI[sha256sum] = "6386c77ca8459cba431ed0b63da780c7062c7cc48055d222024d8eaf198ffa59"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.3.bb deleted +0 -6
deleted file mode 100644
index b1c56c0..0000000
@@ -1,6 +0,0 @@
-require gstreamer1.0-rtsp-server.inc
-
-SRC_URI[md5sum] = "2c6bdf872443a8b5bb567462c267bdb1"
-SRC_URI[sha256sum] = "baf9f7d229711cb3d823a447a930132f809b3321eab3535491bb01c8a21566fe"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb new file +6 -0
new file mode 100644
index 0000000..6aa9a53
@@ -0,0 +1,6 @@
+require gstreamer1.0-rtsp-server.inc
+
+SRC_URI[md5sum] = "ef587fa6393e09bc26f884510596e305"
+SRC_URI[sha256sum] = "2f6e12fd4e3568ee190dc24e57e4c3a878971c3a3fb6904a9674404fac256de6"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.3.bb deleted +0 -5
deleted file mode 100644
index ae0b709..0000000
@@ -1,5 +0,0 @@
-require gstreamer1.0-vaapi.inc
-SRC_URI[md5sum] = "ddd78e8f24b4736ad856c0de88531277"
-SRC_URI[sha256sum] = "cea827066a152a6afa1d0c43544dfbda285238156d4c3b77f9d4037bbe79361e"
-
-DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb new file +5 -0
new file mode 100644
index 0000000..c4a884d
@@ -0,0 +1,5 @@
+require gstreamer1.0-vaapi.inc
+SRC_URI[md5sum] = "318af17f906637570b61dd7be9b5581d"
+SRC_URI[sha256sum] = "03e690621594d9f9495d86c7dac8b8590b3a150462770ed070dc76f66a70de75"
+
+DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.4.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.3.bb +2 -2
similarity index 72%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.3.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.4.bb
index ae2c1cf..2a67993 100644
@@ -7,7 +7,7 @@ SRC_URI = " \
     http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
     file://deterministic-unwind.patch \
 "
-SRC_URI[md5sum] = "8c1806916107f79e88bc6ab5f6f7754e"
-SRC_URI[sha256sum] = "85b9dc1b2991f224fa90d534ec57014896c479e061dc9fa1bc16ae17cbebb63d"
+SRC_URI[md5sum] = "7c91a97e4a2dc81eafd59d0a2f8b0d6e"
+SRC_URI[sha256sum] = "50c2f5af50a6cc6c0a3f3ed43bdd8b5e2bff00bacfb766d4be139ec06d8b5218"
 
 S = "${WORKDIR}/gstreamer-${PV}"
Signature · 1 line
2.4.0