* [Buildroot] [git commit] Revert "lvm2: disable build with uClibc-ng"
From: Thomas Petazzoni @ 2017-05-01 7:14 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=2480b2e125b6108dac8e7c5fcec8a543ca1b9058
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This reverts commit 66f136a9f64b880eefa769c1261916773d8f28c0.
Issue fixed with uClibc-ng update to 1.0.24.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/cryptsetup/Config.in | 5 ++---
package/dmraid/Config.in | 5 ++---
package/docker-engine/Config.in | 1 -
package/lvm2/Config.in | 6 ++----
package/udisks/Config.in | 6 ++----
5 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/package/cryptsetup/Config.in b/package/cryptsetup/Config.in
index 42cf3ab..3ca23ba 100644
--- a/package/cryptsetup/Config.in
+++ b/package/cryptsetup/Config.in
@@ -4,7 +4,6 @@ config BR2_PACKAGE_CRYPTSETUP
depends on BR2_USE_MMU # lvm2
depends on !BR2_STATIC_LIBS # lvm2
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
- depends on !BR2_TOOLCHAIN_USES_UCLIBC # lvm2
select BR2_PACKAGE_POPT
select BR2_PACKAGE_LVM2
select BR2_PACKAGE_UTIL_LINUX
@@ -16,7 +15,7 @@ config BR2_PACKAGE_CRYPTSETUP
https://gitlab.com/cryptsetup/cryptsetup
-comment "cryptsetup needs a glibc toolchain w/ threads, dynamic library"
+comment "cryptsetup needs a glibc or uClibc toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
- || BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_USES_UCLIBC
+ || BR2_TOOLCHAIN_USES_MUSL
diff --git a/package/dmraid/Config.in b/package/dmraid/Config.in
index 61976bb..583f3f2 100644
--- a/package/dmraid/Config.in
+++ b/package/dmraid/Config.in
@@ -4,7 +4,6 @@ config BR2_PACKAGE_DMRAID
depends on BR2_USE_MMU # lvm2
depends on !BR2_STATIC_LIBS # lvm2
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
- depends on !BR2_TOOLCHAIN_USES_UCLIBC # lvm2
select BR2_PACKAGE_LVM2
help
dmraid discovers, activates, deactivates and displays properties
@@ -13,7 +12,7 @@ config BR2_PACKAGE_DMRAID
dmraid uses the Linux device-mapper to create devices with
respective mappings for the ATARAID sets discovered.
-comment "dmraid needs a glibc toolchain w/ threads, dynamic library"
+comment "dmraid needs a glibc or uClibc toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
- || BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_USES_UCLIBC
+ || BR2_TOOLCHAIN_USES_MUSL
diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in
index caaf639..05670a7 100644
--- a/package/docker-engine/Config.in
+++ b/package/docker-engine/Config.in
@@ -47,7 +47,6 @@ config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER
depends on BR2_USE_MMU # lvm2
depends on !BR2_STATIC_LIBS # lvm2
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
- depends on !BR2_TOOLCHAIN_USES_UCLIBC # lvm2
select BR2_PACKAGE_LVM2
select BR2_PACKAGE_LVM2_APP_LIBRARY
help
diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index b28b197..0f60649 100644
--- a/package/lvm2/Config.in
+++ b/package/lvm2/Config.in
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LVM2
depends on !BR2_STATIC_LIBS # It fails to build statically
# http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
depends on !BR2_TOOLCHAIN_USES_MUSL
- depends on !BR2_TOOLCHAIN_USES_UCLIBC # missing floorl(), nearbyintl()
help
This is LVM2, the rewrite of The Linux Logical Volume Manager.
LVM supports enterprise level volume management of disk and disk
@@ -39,7 +38,6 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY
endif
-comment "lvm2 needs a glibc toolchain w/ threads, dynamic library"
+comment "lvm2 needs a glibc or uClibc toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
- depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
- || BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_USES_UCLIBC
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
diff --git a/package/udisks/Config.in b/package/udisks/Config.in
index 475f498..029860f 100644
--- a/package/udisks/Config.in
+++ b/package/udisks/Config.in
@@ -5,7 +5,6 @@ config BR2_PACKAGE_UDISKS
depends on BR2_USE_MMU # lvm2
depends on !BR2_STATIC_LIBS # lvm2
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
- depends on !BR2_TOOLCHAIN_USES_UCLIBC # lvm2
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_GLIB
depends on BR2_USE_WCHAR # dbus-glib -> glib2
@@ -41,8 +40,7 @@ comment "udisks needs udev /dev management"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_HAS_UDEV
-comment "udisks needs a glibc toolchain w/ wchar, threads, dynamic library"
+comment "udisks needs a glibc or uClibc toolchain w/ wchar, threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
- BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL \
- || BR2_TOOLCHAIN_USES_UCLIBC
+ BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] ghostscript: add upstream security fixes for CVE-2017-8291
From: Peter Korsgaard @ 2017-05-01 6:38 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=8879b99a50c3d6977222e289124d8d85765e8632
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
CVE-2017-8291 - Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass
and remote command execution via a "/OutputFile (%pipe%" substring in a
crafted .eps document that is an input to the gs program, as exploited in
the wild in April 2017.
For more details, see https://bugzilla.suse.com/show_bug.cgi?id=1036453
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 874becfd019bc8f4e126684d08c4164e984b11c3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
...-697799-have-.eqproc-check-its-parameters.patch | 33 ++++++++++++
...7799-have-.rsdparams-check-its-parameters.patch | 62 ++++++++++++++++++++++
2 files changed, 95 insertions(+)
diff --git a/package/ghostscript/0003-Bug-697799-have-.eqproc-check-its-parameters.patch b/package/ghostscript/0003-Bug-697799-have-.eqproc-check-its-parameters.patch
new file mode 100644
index 0000000..becdc66
--- /dev/null
+++ b/package/ghostscript/0003-Bug-697799-have-.eqproc-check-its-parameters.patch
@@ -0,0 +1,33 @@
+From 4f83478c88c2e05d6e8d79ca4557eb039354d2f3 Mon Sep 17 00:00:00 2001
+From: Chris Liddell <chris.liddell@artifex.com>
+Date: Thu, 27 Apr 2017 13:03:33 +0100
+Subject: [PATCH] Bug 697799: have .eqproc check its parameters
+
+The Ghostscript custom operator .eqproc was not check the number or type of
+the parameters it was given.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ psi/zmisc3.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/psi/zmisc3.c b/psi/zmisc3.c
+index 54b304246..37293ff4b 100644
+--- a/psi/zmisc3.c
++++ b/psi/zmisc3.c
+@@ -56,6 +56,12 @@ zeqproc(i_ctx_t *i_ctx_p)
+ ref2_t stack[MAX_DEPTH + 1];
+ ref2_t *top = stack;
+
++ if (ref_stack_count(&o_stack) < 2)
++ return_error(gs_error_stackunderflow);
++ if (!r_is_array(op - 1) || !r_is_array(op)) {
++ return_error(gs_error_typecheck);
++ }
++
+ make_array(&stack[0].proc1, 0, 1, op - 1);
+ make_array(&stack[0].proc2, 0, 1, op);
+ for (;;) {
+--
+2.11.0
+
diff --git a/package/ghostscript/0004-Bug-697799-have-.rsdparams-check-its-parameters.patch b/package/ghostscript/0004-Bug-697799-have-.rsdparams-check-its-parameters.patch
new file mode 100644
index 0000000..9ba170b
--- /dev/null
+++ b/package/ghostscript/0004-Bug-697799-have-.rsdparams-check-its-parameters.patch
@@ -0,0 +1,62 @@
+From 04b37bbce174eed24edec7ad5b920eb93db4d47d Mon Sep 17 00:00:00 2001
+From: Chris Liddell <chris.liddell@artifex.com>
+Date: Thu, 27 Apr 2017 13:21:31 +0100
+Subject: [PATCH] Bug 697799: have .rsdparams check its parameters
+
+The Ghostscript internal operator .rsdparams wasn't checking the number or
+type of the operands it was being passed. Do so.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ psi/zfrsd.c | 22 +++++++++++++++-------
+ 1 file changed, 15 insertions(+), 7 deletions(-)
+
+diff --git a/psi/zfrsd.c b/psi/zfrsd.c
+index 191107d8a..950588d69 100644
+--- a/psi/zfrsd.c
++++ b/psi/zfrsd.c
+@@ -49,13 +49,20 @@ zrsdparams(i_ctx_t *i_ctx_p)
+ ref *pFilter;
+ ref *pDecodeParms;
+ int Intent = 0;
+- bool AsyncRead;
++ bool AsyncRead = false;
+ ref empty_array, filter1_array, parms1_array;
+ uint i;
+- int code;
++ int code = 0;
++
++ if (ref_stack_count(&o_stack) < 1)
++ return_error(gs_error_stackunderflow);
++ if (!r_has_type(op, t_dictionary) && !r_has_type(op, t_null)) {
++ return_error(gs_error_typecheck);
++ }
+
+ make_empty_array(&empty_array, a_readonly);
+- if (dict_find_string(op, "Filter", &pFilter) > 0) {
++ if (r_has_type(op, t_dictionary)
++ && dict_find_string(op, "Filter", &pFilter) > 0) {
+ if (!r_is_array(pFilter)) {
+ if (!r_has_type(pFilter, t_name))
+ return_error(gs_error_typecheck);
+@@ -94,12 +101,13 @@ zrsdparams(i_ctx_t *i_ctx_p)
+ return_error(gs_error_typecheck);
+ }
+ }
+- code = dict_int_param(op, "Intent", 0, 3, 0, &Intent);
++ if (r_has_type(op, t_dictionary))
++ code = dict_int_param(op, "Intent", 0, 3, 0, &Intent);
+ if (code < 0 && code != gs_error_rangecheck) /* out-of-range int is ok, use 0 */
+ return code;
+- if ((code = dict_bool_param(op, "AsyncRead", false, &AsyncRead)) < 0
+- )
+- return code;
++ if (r_has_type(op, t_dictionary))
++ if ((code = dict_bool_param(op, "AsyncRead", false, &AsyncRead)) < 0)
++ return code;
+ push(1);
+ op[-1] = *pFilter;
+ if (pDecodeParms)
+--
+2.11.0
+
^ permalink raw reply related
* [Buildroot] [PATCH] bluez5_utils: fix build of gatttool
From: Baruch Siach @ 2017-05-01 6:28 UTC (permalink / raw)
To: buildroot
Since BlueZ 5.44 gatttool is hidden behind the --enable-deprecated configure
option.
Also, update the help text with the new status of gatttool.
Fixes:
http://autobuild.buildroot.net/results/ddb/ddb975c9e1475fee1da63cb21240d8d59b161076/
http://autobuild.buildroot.net/results/19a/19adc0aa5a7e48119ef4ba25ba0403867f74f678/
http://autobuild.buildroot.net/results/9bd/9bd8e13ddffdd0631ddca30ec40cc4664729b0cb/
Cc: Marcin Bis <marcin@bis.org.pl>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/bluez5_utils/Config.in | 5 ++---
package/bluez5_utils/bluez5_utils.mk | 1 +
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
index 3611c6971a6d..43771c026438 100644
--- a/package/bluez5_utils/Config.in
+++ b/package/bluez5_utils/Config.in
@@ -54,10 +54,9 @@ config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL
help
Generic Attribute Profile (GATT) support. This provides
profile discovery and description services for Bluetooth Low
- Energy. This will install the gatttool utility.
+ Energy. This will build and install the gatttool utility.
- It is always built with BlueZ 5.x, but upstream choose not
- to install it by default.
+ The gatttool is deprecated.
config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
bool "build experimental plugins"
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index aaefcb6ace9b..e5482455d283 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -51,6 +51,7 @@ define BLUEZ5_UTILS_INSTALL_GATTTOOL
$(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool
endef
BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL
+BLUEZ5_UTILS_CONF_OPTS += --enable-deprecated
endif
# enable test
--
2.11.0
^ permalink raw reply related
* [Buildroot] [autobuild.buildroot.net] Build results for 2017-04-30
From: Thomas Petazzoni @ 2017-05-01 6:28 UTC (permalink / raw)
To: buildroot
Hello,
Build statistics for 2017-04-30
================================
successes : 203
failures : 71
timeouts : 0
TOTAL : 274
Classification of failures by reason
====================================
host-protobuf-3.2.0 | 25
busybox-1.26.2 | 3
libcdio-0.94 | 3
libqmi-1.18.0 | 3
mpv-0.25.0 | 3
x11vnc-0.9.14 | 3
acpica-20170303 | 2
libepoxy-1.4.1 | 2
libsquish-legal-info | 2
xenomai-3.0.4 | 2
aircrack-ng-1.2-rc4 | 1
arp-scan-1.9 | 1
bluez_utils-4.101 | 1
bmon-4.0 | 1
cppcms-1.0.5 | 1
efibootmgr-14 | 1
expedite-0529ce56b6fb01e965... | 1
lttng-tools-2.9.4 | 1
mpir-3.0.0 | 1
mplayer-1.3.0 | 1
ntp-4.2.8p10 | 1
oracle-mysql-5.1.73 | 1
protobuf-3.2.0 | 1
python-netaddr-0.7.19 | 1
qemu-2.8.0 | 1
qt-4.8.7 | 1
qwt-6.1.3 | 1
rabbitmq-c-v0.8.0 | 1
rpi-userland-f0642e3b58d8a1... | 1
samba4-4.5.8 | 1
toolchain-external-codesour... | 1
uboot-tools-2017.03 | 1
x264-97eaef2ab82a46d13ea5e0... | 1
Detail of failures
===================
arm | acpica-20170303 | NOK | http://autobuild.buildroot.net/results/853cac2ba5204ffed8bc367dd5a2f5f480b9282e |
arm | acpica-20170303 | NOK | http://autobuild.buildroot.net/results/41cc8232e2b0b08191713552fd94f62c415c7b02 |
microblazeel | aircrack-ng-1.2-rc4 | NOK | http://autobuild.buildroot.net/results/9b1cba480102746389e80b58c0e327b68a235a29 |
arm | arp-scan-1.9 | NOK | http://autobuild.buildroot.net/results/5a0f857f7e56a7003ac4d196f374fb8abcfff9fc |
arm | bluez_utils-4.101 | NOK | http://autobuild.buildroot.net/results/6401c6c632cc482906223460b2c16f35d23edc44 |
arm | bmon-4.0 | NOK | http://autobuild.buildroot.net/results/c9562b1f175c837ac7f0d7ce6509f69df9a45e89 |
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/6b3851f0280ffd638214a286b8e580577a87728a | ORPH
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/1256e2bab6ed90858b75bf11ba6f5e4916804d46 | ORPH
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/df57ae648406c0c18ea4cf41877b09aa6a752cee | ORPH
x86_64 | cppcms-1.0.5 | NOK | http://autobuild.buildroot.net/results/6ba42e1f0495ab1807fe445cb0e972bab723e289 | ORPH
arm | efibootmgr-14 | NOK | http://autobuild.buildroot.net/results/181853cb74129c3ab26410dc73dd5adc9266f78a |
i686 | expedite-0529ce56b6fb01e965... | NOK | http://autobuild.buildroot.net/results/e4a75f8935a10a352606a69656a830a89782905f |
i686 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/84cc77f96de28336a3c0bce1a41f89df8198fff0 | ORPH
mips64el | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6c3bbf78b29db959bf6f644b7fb6baa48c74beaf | ORPH
sparc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/64e25b7ba45ece9fbd4254eac57db2d240133d1d | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/53908fe11b5b6497205e17c151f02e94fab10999 | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/b5dec8c9dcde2de6d1b16e5854b234890098ff43 | ORPH
microblazeel | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/02db0883259ce78b535932f10d813e1e0c89bd55 | ORPH
arc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/3a85504666d5c838263b25db39304b96b77cd24d | ORPH
x86_64 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/7b8dec6bd0aa6094fdf60a5954ac9e7e21f42fbc | ORPH
microblazeel | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/5097b2cf8162c9da4fc78ba1774d382eac66ed3f | ORPH
x86_64 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/5f660763199b629d082adc6a8e7df3145886420e | ORPH
sparc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d01248bd219699cfb7c2656eb074f94689e34ef5 | ORPH
bfin | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/a13face37cd75d27b0ea46bb3d46f266dde085c3 | ORPH
sh4 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d87e54d947fa34e4a4a254426d93f994e15b9b62 | ORPH
bfin | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d7de28f7e1494000b981aacf3cd81081ab87544a | ORPH
xtensa | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ed21038e8c38e362b5d0854ab2c16c5114124c7d | ORPH
arc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/eca7cf6967e6ef4c15f17892086eafec5b77c08a | ORPH
mipsel | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/890c624d3a61d61cd10e9475472152be7f1b45e4 | ORPH
powerpc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/14c733d983472fef886c8d8becc29b421a3c3f11 | ORPH
mips64el | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/7ca25170edae67c0021084ee8c13f506bbff43ea | ORPH
powerpc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/31600ee9cef28c71b903bcc34a8f4ce0d4f3a897 | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/8f8a9b30f902dc7611b8cc50201f52a53597023b | ORPH
m68k | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ed71493e45eb56f8fdb84e1bf386f0f45677303f | ORPH
m68k | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/b16dcf77fc2919e28beb045de6bce5aa3d195fce | ORPH
arm | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/0193120a803863f44cf7f600c007a4f752e8c92c | ORPH
powerpc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/2bf8f79a5a376f1fed900b660b620f9327bfaf93 | ORPH
arc | libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/abeff7796ea26f20951f2857e5356e7e50a0cd19 |
arc | libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/5af4413e36188808b8a5e9bb1e30fc0eecf3541d |
arc | libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/a3e9f62fb713e204d526345f1473ddf70a6e9a25 |
powerpc | libepoxy-1.4.1 | NOK | http://autobuild.buildroot.net/results/9eb7be14658f236cc051a523880a0a9581197d19 |
mips64el | libepoxy-1.4.1 | NOK | http://autobuild.buildroot.net/results/6332d3d937bcaf076cfdd21e1effd8e6dfff52e1 |
i586 | libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/05105cbbc7fdb3e59b1bc96fa53c5e4b9a899d44 | ORPH
i586 | libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/c268fe7b1ba1b45995ef99cd8cc757bc58d81140 | ORPH
arm | libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/eef5c72069d78a3baa583bf3720752a7808b6c86 | ORPH
arc | libsquish-legal-info | NOK | http://autobuild.buildroot.net/results/bc01c4912c64361d7c89c46514431f45a532b819 |
mips64el | libsquish-legal-info | NOK | http://autobuild.buildroot.net/results/c7e29e5bcbcb4db740d54a0ccc90fabe8a1442a3 |
x86_64 | lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/4099249cf4141bcbd726c402e4a0d1ca5f2483e9 |
mips64el | mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/c45dd59f10693b0d9a86dac4733c6c3dde4554f1 |
i686 | mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/e66b9d30c2e4e26929811d13a04fac291bcf9e2e |
or1k | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/05c2c664429ce2689081c4169cd9cd1b91261e8f |
aarch64 | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/8d69a392838302ff7ac7a0fd13951ab8a0debe47 |
mips64el | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/1180dd49ecbe2eb7fdcab9331f86ad4205a851d1 |
x86_64 | ntp-4.2.8p10 | NOK | http://autobuild.buildroot.net/results/d893f639c57d296fcac81e0318cbedba4558e5dd | ORPH
x86_64 | oracle-mysql-5.1.73 | NOK | http://autobuild.buildroot.net/results/cfa46b06eeca7a39de299c38b4aeb4faf3ad802f | ORPH
sparc | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/15da44c37d07071768550e62b7802f212a973f78 | ORPH
arm | python-netaddr-0.7.19 | NOK | http://autobuild.buildroot.net/results/e9b0013abe7e866fd224593f90ec30bdc809151f |
arm | qemu-2.8.0 | NOK | http://autobuild.buildroot.net/results/4ec526a8d5024b4d9b4a131b3fe1dec85fbf44d2 |
or1k | qt-4.8.7 | NOK | http://autobuild.buildroot.net/results/58d3cfc71873439b9582c93d050d35a6bce088c0 | ORPH
arm | qwt-6.1.3 | NOK | http://autobuild.buildroot.net/results/f94469b09f58083cfe3c326b4223e68b90dfa096 | ORPH
xtensa | rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/7d82f909f84025c1238d2787d3fb341588fd67f4 |
aarch64 | rpi-userland-f0642e3b58d8a1... | NOK | http://autobuild.buildroot.net/results/ba633a8f34f2960d25d0fe309e3005911fccd5c6 |
arc | samba4-4.5.8 | NOK | http://autobuild.buildroot.net/results/4838e60be0a7eb610a69fea5dd94a15b46471bf6 |
x86_64 | toolchain-external-codesour... | NOK | http://autobuild.buildroot.net/results/4fa05e38efc2da98735befb6d2a9275a208d39ed | ORPH
arm | uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/92b6e049ad952c20498f697aff4f50274b38997c | ORPH
arm | x11vnc-0.9.14 | NOK | http://autobuild.buildroot.net/results/e62decaf38b44306ab5e0c66bc3033c9de91a6cd |
nios2 | x11vnc-0.9.14 | NOK | http://autobuild.buildroot.net/results/8087b08a5ebbcf537b2d168690f92f970231f47a |
mips64el | x11vnc-0.9.14 | NOK | http://autobuild.buildroot.net/results/a7794e189006dfe0afcfafc3d64a2f44349e98d4 |
arm | x264-97eaef2ab82a46d13ea5e0... | NOK | http://autobuild.buildroot.net/results/5e51bd16910f69ff10e6de1ff01e4d486da45dfe |
i686 | xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/8eb4643faed523ffccd421f20c2955adfde634a6 |
arm | xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/c195a97da944ce979f6a811b143a5caf7ce5a603 |
--
http://autobuild.buildroot.net
^ permalink raw reply
* [Buildroot] [PATCH] package/protobuf: depend on gcc >= 4.5
From: Mario Rugiero @ 2017-05-01 4:57 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430092950.3e39e809@free-electrons.com>
2017-04-30 4:29 GMT-03:00 Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>:
> Hello,
>
Hi
> On Sat, 29 Apr 2017 17:02:26 -0300, Mario Rugiero wrote:
>
> Then we also have a problem with the host variant: host-protobuf also
> requires gcc >= 4.5.0. I've restarted my autobuilder, and it uses an
> old version of gcc on the host, which causes host-protobuf to fail
> building:
I'll give it a shot at reproducing locally. Hopefully I can patch the
triggering instances.
If I succeed, I'll commit a different patch to support building on
older versions of gcc,
and will send it upstream, too, so the patches can be dropped in a
following version.
Wish me luck!
>
> http://autobuild.buildroot.net/results/539/53908fe11b5b6497205e17c151f02e94fab10999/build-end.log
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
Regards,
Mario.
^ permalink raw reply
* [Buildroot] [PATCH v2 4/4] package/freeswitch: Use mod_g729 only when freeswitch-mod-bcg729 is disabled
From: Bernd Kuhls @ 2017-05-01 4:48 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501044802.10394-1-bernd.kuhls@t-online.de>
mod_g729 contained in freeswitch source provides pass-through:
https://freeswitch.org/confluence/display/FREESWITCH/mod_g729
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes
package/freeswitch/freeswitch.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 215d0b974..3465b19be 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -116,7 +116,6 @@ FREESWITCH_ENABLED_MODULES += \
applications/mod_valet_parking \
applications/mod_voicemail \
codecs/mod_g723_1 \
- codecs/mod_g729 \
dialplans/mod_dialplan_asterisk \
dialplans/mod_dialplan_xml \
endpoints/mod_loopback \
@@ -175,6 +174,10 @@ FREESWITCH_DEPENDENCIES += alsa-lib
FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
endif
+ifeq ($(BR2_PACKAGE_FREESWITCH_MOD_BCG729),)
+FREESWITCH_ENABLED_MODULES += codecs/mod_g729
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH v2 3/4] package/freeswitch-mod-bcg729: new package
From: Bernd Kuhls @ 2017-05-01 4:48 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501044802.10394-1-bernd.kuhls@t-online.de>
This package is based on the bcg729 library from Belledonne
Communications which is wrapped into a freeswitch module to provide a
native G729.A codec.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2 renamed package from freeswitch_mod_bcg729 to freeswitch-mod-bcg729
(Thomas)
DEVELOPERS | 1 +
package/Config.in | 1 +
package/freeswitch-mod-bcg729/Config.in | 9 +++++++
.../freeswitch-mod-bcg729.hash | 2 ++
.../freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk | 30 ++++++++++++++++++++++
5 files changed, 43 insertions(+)
create mode 100644 package/freeswitch-mod-bcg729/Config.in
create mode 100644 package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash
create mode 100644 package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 28c8bf5da..94fee1295 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -167,6 +167,7 @@ F: package/eudev/
F: package/exim/
F: package/fetchmail/
F: package/freeswitch/
+F: package/freeswitch-mod-bcg729/
F: package/ffmpeg/
F: package/ghostscript/
F: package/giflib/
diff --git a/package/Config.in b/package/Config.in
index 3f88582b0..c777c6027 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1550,6 +1550,7 @@ menu "Networking applications"
source "package/fmc/Config.in"
source "package/fping/Config.in"
source "package/freeswitch/Config.in"
+ source "package/freeswitch-mod-bcg729/Config.in"
source "package/gesftpserver/Config.in"
source "package/gupnp-tools/Config.in"
source "package/gutenprint/Config.in"
diff --git a/package/freeswitch-mod-bcg729/Config.in b/package/freeswitch-mod-bcg729/Config.in
new file mode 100644
index 000000000..848d4ee67
--- /dev/null
+++ b/package/freeswitch-mod-bcg729/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_FREESWITCH_MOD_BCG729
+ bool "freeswitch-mod-bcg729"
+ depends on BR2_PACKAGE_FREESWITCH
+ select BR2_PACKAGE_LIBBCG729
+ help
+ FreeSWITCH G.729A module using the opensource bcg729
+ implementation by Belledonne Communications.
+
+ https://github.com/xadhoom/mod_bcg729
diff --git a/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash b/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash
new file mode 100644
index 000000000..34e15f828
--- /dev/null
+++ b/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 0fda28ad72a1cd6a675f2ec231fb8fd1f01fc095b3ea45a4eca6d06ecdf5ca9c freeswitch-mod-bcg729-803858c78e6f9ab7de42fdb452061d00255150c6.tar.gz
diff --git a/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk b/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk
new file mode 100644
index 000000000..b48904129
--- /dev/null
+++ b/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk
@@ -0,0 +1,30 @@
+################################################################################
+#
+# freeswitch-mod-bcg729
+#
+################################################################################
+
+FREESWITCH_MOD_BCG729_VERSION = 803858c78e6f9ab7de42fdb452061d00255150c6
+FREESWITCH_MOD_BCG729_SITE = $(call github,xadhoom,mod_bcg729,$(FREESWITCH_MOD_BCG729_VERSION))
+FREESWITCH_MOD_BCG729_LICENSE = MPL-1.1
+FREESWITCH_MOD_BCG729_LICENSE_FILES = LICENSE
+FREESWITCH_MOD_BCG729_DEPENDENCIES = freeswitch libbcg729
+
+# instead of patching the not cross-compile friendly Makefile from
+# upstream we issue the necessary build commands ourselves
+define FREESWITCH_MOD_BCG729_BUILD_CMDS
+ $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
+ -I$(STAGING_DIR)/usr/include/freeswitch \
+ -fPIC -fomit-frame-pointer -fno-exceptions \
+ -c $(@D)/mod_bcg729.c -o $(@D)/mod_bcg729.o
+ $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
+ -fPIC -fomit-frame-pointer -fno-exceptions \
+ -shared -Xlinker -x -lm -lbcg729 -Wl,-Bdynamic \
+ -o $(@D)/mod_bcg729.so $(@D)/mod_bcg729.o
+endef
+
+define FREESWITCH_MOD_BCG729_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 $(@D)/mod_bcg729.so $(TARGET_DIR)/usr/lib/freeswitch/mod/mod_bcg729.so
+endef
+
+$(eval $(generic-package))
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH v2 2/4] package/freeswitch: install to staging
From: Bernd Kuhls @ 2017-05-01 4:48 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501044802.10394-1-bernd.kuhls@t-online.de>
Needed for upcoming package freeswitch-mod-bcg729.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes
package/freeswitch/freeswitch.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index e6c1e8c93..215d0b974 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -7,6 +7,8 @@
FREESWITCH_VERSION = 1.6.17
FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
+# needed for external modules
+FREESWITCH_INSTALL_STAGING = YES
FREESWITCH_LICENSE = MPL-1.1, \
GPL-3.0+ with font exception (fonts), \
Apache-2.0 (apr, apr-util), \
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH v2 1/4] package/libbcg729: new package
From: Bernd Kuhls @ 2017-05-01 4:47 UTC (permalink / raw)
To: buildroot
Quoting http://www.linphone.org/technical-corner/bcg729/downloads
regarding patent information:
"ITU G729 Annex A/B were offically released October/November 1996
(https://www.itu.int/rec/T-REC-G.729), hence all patents covering these
specifications shall have expired in November 2016.
Patent pool administrator confirmed most licensed patents under the
G.729 Consortium have expired (http://www.sipro.com/G729.html)."
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes
DEVELOPERS | 1 +
package/Config.in | 1 +
package/libbcg729/Config.in | 7 +++++++
package/libbcg729/libbcg729.hash | 2 ++
package/libbcg729/libbcg729.mk | 24 ++++++++++++++++++++++++
5 files changed, 35 insertions(+)
create mode 100644 package/libbcg729/Config.in
create mode 100644 package/libbcg729/libbcg729.hash
create mode 100644 package/libbcg729/libbcg729.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index a95e5bacc..28c8bf5da 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -178,6 +178,7 @@ F: package/leafnode2/
F: package/libaacs/
F: package/libasplib/
F: package/libass/
+F: package/libbcg729/
F: package/libbdplus/
F: package/libbluray/
F: package/libbroadvoice/
diff --git a/package/Config.in b/package/Config.in
index 4eaa95b1d..3f88582b0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -881,6 +881,7 @@ menu "Audio/Sound"
source "package/fdk-aac/Config.in"
source "package/libao/Config.in"
source "package/libasplib/Config.in"
+ source "package/libbcg729/Config.in"
source "package/libbroadvoice/Config.in"
source "package/libcdaudio/Config.in"
source "package/libcddb/Config.in"
diff --git a/package/libbcg729/Config.in b/package/libbcg729/Config.in
new file mode 100644
index 000000000..82847a0b7
--- /dev/null
+++ b/package/libbcg729/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBBCG729
+ bool "libbcg729"
+ help
+ Bcg729 is an opensource implementation of both encoder and
+ decoder of the ITU G729 Annex A/B speech codec.
+
+ http://www.linphone.org/technical-corner/bcg729/overview
diff --git a/package/libbcg729/libbcg729.hash b/package/libbcg729/libbcg729.hash
new file mode 100644
index 000000000..0172a40ce
--- /dev/null
+++ b/package/libbcg729/libbcg729.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 20f04d1d45c62cb6c06df2177db0701f376940a55744386da3651104251fd5fc libbcg729-1.0.1.tar.gz
diff --git a/package/libbcg729/libbcg729.mk b/package/libbcg729/libbcg729.mk
new file mode 100644
index 000000000..90ca22bff
--- /dev/null
+++ b/package/libbcg729/libbcg729.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# libbcg729
+#
+################################################################################
+
+# we use version 1.0.1 because freeswitch mod_bcg729 is incompatible
+# with newer versions
+LIBBCG729_VERSION = 1.0.1
+LIBBCG729_SITE = $(call github,BelledonneCommunications,bcg729,$(LIBBCG729_VERSION))
+LIBBCG729_LICENSE = GPL-2.0+
+LIBBCG729_LICENSE_FILES = COPYING
+LIBBCG729_INSTALL_STAGING = YES
+LIBBCG729_AUTORECONF = YES
+LIBBCG729_DEPENDENCIES = host-pkgconf
+
+define LIBBCG729_CREATE_M4_DIR
+ mkdir -p $(@D)/m4
+endef
+LIBBCG729_POST_PATCH_HOOKS += LIBBCG729_CREATE_M4_DIR
+
+LIBBCG729_CONF_OPTS = --disable-msplugin
+
+$(eval $(autotools-package))
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH] opencv3: bump version to 3.2.0
From: Thomas Petazzoni @ 2017-04-30 21:35 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170421094402.6686-1-Vincent.Riera@imgtec.com>
Hello,
On Fri, 21 Apr 2017 10:44:02 +0100, Vicente Olivert Riera wrote:
> Also switch to the official GitHub.
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> package/opencv3/opencv3.hash | 2 +-
> package/opencv3/opencv3.mk | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] opencv3: bump version to 3.2.0
From: Thomas Petazzoni @ 2017-04-30 21:34 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=fd806578a9c727267166bf9a1c3bb17f584af4de
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Also switch to the official GitHub.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/opencv3/opencv3.hash | 2 +-
package/opencv3/opencv3.mk | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/opencv3/opencv3.hash b/package/opencv3/opencv3.hash
index 20859ea..6720028 100644
--- a/package/opencv3/opencv3.hash
+++ b/package/opencv3/opencv3.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 f00b3c4f42acda07d89031a2ebb5ebe390764a133502c03a511f67b78bbd4fbf opencv3-3.1.0.tar.gz
+sha256 b9d62dfffb8130d59d587627703d5f3e6252dce4a94c1955784998da7a39dd35 opencv3-3.2.0.tar.gz
diff --git a/package/opencv3/opencv3.mk b/package/opencv3/opencv3.mk
index 10e0dfe..2e50ba2 100644
--- a/package/opencv3/opencv3.mk
+++ b/package/opencv3/opencv3.mk
@@ -4,8 +4,8 @@
#
################################################################################
-OPENCV3_VERSION = 3.1.0
-OPENCV3_SITE = $(call github,itseez,opencv,$(OPENCV3_VERSION))
+OPENCV3_VERSION = 3.2.0
+OPENCV3_SITE = $(call github,opencv,opencv,$(OPENCV3_VERSION))
OPENCV3_INSTALL_STAGING = YES
OPENCV3_LICENSE = BSD-3-Clause
OPENCV3_LICENSE_FILES = LICENSE
^ permalink raw reply related
* [Buildroot] [PATCH] supertux: select BR2_PACKAGE_LIBCURL
From: Thomas Petazzoni @ 2017-04-30 21:32 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170418155153.52641-1-Vincent.Riera@imgtec.com>
Hello,
On Tue, 18 Apr 2017 16:51:53 +0100, Vicente Olivert Riera wrote:
> libcurl is unconditionally added to the dependencies list in
> supertux.mk. However libcurl is not selected in Config.in.
>
> This patch fixes that.
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> package/supertux/Config.in | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] supertux: select BR2_PACKAGE_LIBCURL
From: Thomas Petazzoni @ 2017-04-30 21:32 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=5855a3ef25c5851a4d2c609f926feb3aca4dc3ac
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
libcurl is unconditionally added to the dependencies list in
supertux.mk. However libcurl is not selected in Config.in.
This patch fixes that.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/supertux/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/supertux/Config.in b/package/supertux/Config.in
index d4fd80b..684c2cc 100644
--- a/package/supertux/Config.in
+++ b/package/supertux/Config.in
@@ -13,6 +13,7 @@ config BR2_PACKAGE_SUPERTUX
select BR2_PACKAGE_BOOST_DATE_TIME
select BR2_PACKAGE_BOOST_FILESYSTEM
select BR2_PACKAGE_BOOST_SYSTEM
+ select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBGLEW
select BR2_PACKAGE_LIBGLU # GL/glu.h
select BR2_PACKAGE_LIBOGG
^ permalink raw reply related
* [Buildroot] [PATCH 1/3] toolchain-external: CodeSourcery aarch64 update upstream URL
From: Thomas Petazzoni @ 2017-04-30 21:23 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430202048.11320-1-romain.naour@gmail.com>
Hello,
On Sun, 30 Apr 2017 22:20:46 +0200, Romain Naour wrote:
> The current URL returns error 403: Forbidden, so switch to https.
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> .../toolchain-external-codesourcery-aarch64.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Series applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] toolchain-external: CodeSourcery MIPS update upstream URL
From: Thomas Petazzoni @ 2017-04-30 21:21 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=25902b111a93e562e3c1991f65c03649c88802c4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../toolchain-external-codesourcery-mips.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk
index 5117d47..94fbbff 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk
@@ -6,7 +6,7 @@
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION = 2016.05-8
-TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SOURCE = mips-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_ACTUAL_SOURCE_TARBALL = mips-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
^ permalink raw reply related
* [Buildroot] [git commit] toolchain-external: CodeSourcery ARM update upstream URL
From: Thomas Petazzoni @ 2017-04-30 21:21 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=bcf1d93a89a21cab98e15775f0d705cc7805741b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../toolchain-external-codesourcery-arm.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk
index f96a0e0..f15a50c 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk
@@ -6,7 +6,7 @@
TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_VERSION = 2014.05-29
-TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_SOURCE = arm-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_ACTUAL_SOURCE_TARBALL = arm-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
^ permalink raw reply related
* [Buildroot] [git commit] toolchain-external: CodeSourcery aarch64 update upstream URL
From: Thomas Petazzoni @ 2017-04-30 21:20 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=3e069f41bfd62cbb034ccd7f531b976564bda121
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../toolchain-external-codesourcery-aarch64.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk
index 5f4453a..192763a 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_VERSION = 2014.11-95
TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_SOURCE = aarch64-amd-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_ACTUAL_SOURCE_TARBALL = aarch64-amd-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] toolchain-external: CodeSourcery NIOSII update upstream URL
From: Thomas Petazzoni @ 2017-04-30 21:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430195140.6401-1-romain.naour@gmail.com>
Hello,
On Sun, 30 Apr 2017 21:51:39 +0200, Romain Naour wrote:
> The current URL returns error 403: Forbidden, so switch to https.
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> .../toolchain-external-codesourcery-niosII.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] toolchain-external: bump CodeSourcery NIOSII to 2017.05
From: Thomas Petazzoni @ 2017-04-30 21:09 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=c3c5aa38e9b622212c054e6a50eeedaf3e9e15c4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Tested with qemu_nios2_10m50_defconfig and Qemu 2.9.0 release.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../toolchain-external-codesourcery-niosII/Config.in | 6 +++---
.../toolchain-external-codesourcery-niosII.hash | 7 +++++--
.../toolchain-external-codesourcery-niosII.mk | 2 +-
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in
index 9675c67..6bb376b 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in
@@ -1,5 +1,5 @@
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
- bool "Sourcery CodeBench Nios-II 2016.11"
+ bool "Sourcery CodeBench Nios-II 2017.05"
depends on BR2_nios2
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on !BR2_STATIC_LIBS
@@ -13,5 +13,5 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # based-on binutils-2.26
help
Sourcery CodeBench toolchain for the Nios-II architecture,
- from Mentor Graphics. It uses gcc 6.2, binutils 2.26,
- glibc 2.24, gdb 7.11 and kernel headers 4.7.
+ from Mentor Graphics. It uses gcc 6.3, binutils 2.26,
+ glibc 2.25, gdb 7.11 and kernel headers 4.7.
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash
index 17130b4..3643f92 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash
@@ -1,3 +1,6 @@
+# From https://sourcery.mentor.com/GNUToolchain/release3302
+md5 54b7f7056c2159f3a9ddeca8ca775ed1 sourceryg++-2017.05-4-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
+md5 529a7fecf33d0d113a446413b9d1e173 sourceryg++-2017.05-4-nios2-linux-gnu.src.tar.bz2
# Locally calculated
-sha256 97e3b878c67e46430f2b9a42b11bc95b1ef9fef263e6b5ee9103d1239c9e847d sourceryg++-2016.11-32-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
-sha256 ee2c4391137be8fee987411301bbf9f0e4a823400e37c9f8c1cae9900485cbca sourceryg++-2016.11-32-nios2-linux-gnu.src.tar.bz2
+sha256 3f0307da3c0770b7cc3ed4a845038e6e438d3e3a96ce880f9a86b3d35f948a07 sourceryg++-2017.05-4-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
+sha256 6e65878d0453708ee19098d3d68985bda244938d35999f3859915a2f5574fa08 sourceryg++-2017.05-4-nios2-linux-gnu.src.tar.bz2
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
index dcca94f..dfa4ea4 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION = 2016.11-32
+TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION = 2017.05-4
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SOURCE = sourceryg++-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
^ permalink raw reply related
* [Buildroot] [git commit] toolchain-external: CodeSourcery NIOSII update upstream URL
From: Thomas Petazzoni @ 2017-04-30 21:08 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=d647b23e2e0127fc98012f15a57fceb873500bad
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The current URL returns error 403: Forbidden, so switch to https.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../toolchain-external-codesourcery-niosII.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
index 7381061..dcca94f 100644
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
+++ b/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk
@@ -6,7 +6,7 @@
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION = 2016.11-32
-TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SITE = http://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
+TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_SOURCE = sourceryg++-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_ACTUAL_SOURCE_TARBALL = sourceryg++-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] package/tinyxml2: bump version to 4.0.1
From: Thomas Petazzoni @ 2017-04-30 21:08 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170429203024.15595-1-bernd.kuhls@t-online.de>
Hello,
On Sat, 29 Apr 2017 22:30:24 +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/tinyxml2/tinyxml2.hash | 2 +-
> package/tinyxml2/tinyxml2.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/tinyxml2: bump version to 4.0.1
From: Thomas Petazzoni @ 2017-04-30 21:08 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=95d569eb263beca365e3a967267eb105942741a6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/tinyxml2/tinyxml2.hash | 2 +-
package/tinyxml2/tinyxml2.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/tinyxml2/tinyxml2.hash b/package/tinyxml2/tinyxml2.hash
index acbee09..e5e4d23 100644
--- a/package/tinyxml2/tinyxml2.hash
+++ b/package/tinyxml2/tinyxml2.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 128aa1553e88403833e0cccf1b651f45ce87bc207871f53fdcc8e7f9ec795747 tinyxml2-3.0.0.tar.gz
+sha256 14b38ef25cc136d71339ceeafb4856bb638d486614103453eccd323849267f20 tinyxml2-4.0.1.tar.gz
diff --git a/package/tinyxml2/tinyxml2.mk b/package/tinyxml2/tinyxml2.mk
index 461c36c..bb1e167 100644
--- a/package/tinyxml2/tinyxml2.mk
+++ b/package/tinyxml2/tinyxml2.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TINYXML2_VERSION = 3.0.0
+TINYXML2_VERSION = 4.0.1
TINYXML2_SITE = $(call github,leethomason,tinyxml2,$(TINYXML2_VERSION))
TINYXML2_LICENSE = Zlib
TINYXML2_LICENSE_FILES = readme.md
^ permalink raw reply related
* [Buildroot] [PATCH] freetype: add upstream security fixes for CVE-2017-8105 and CVE-2017-8287
From: Thomas Petazzoni @ 2017-04-30 21:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430193602.1577-1-peter@korsgaard.com>
Hello,
On Sun, 30 Apr 2017 21:36:02 +0200, Peter Korsgaard wrote:
> Add upstream post-2.7.1 commits (except for ChangeLog modifications) fixing
> the following security issues:
>
> CVE-2017-8105 - FreeType 2 before 2017-03-24 has an out-of-bounds write
> caused by a heap-based buffer overflow related to the
> t1_decoder_parse_charstrings function in psaux/t1decode.c.
>
> CVE-2017-8287 - FreeType 2 before 2017-03-26 has an out-of-bounds write
> caused by a heap-based buffer overflow related to the
> t1_builder_close_contour function in psaux/psobjs.c.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> .../0001-psaux-Better-protect-flex-handling.patch | 47 ++++++++++++++++++++++
> ...sobjs.c-t1_builder_close_contour-Add-safe.patch | 35 ++++++++++++++++
> 2 files changed, 82 insertions(+)
> create mode 100644 package/freetype/0001-psaux-Better-protect-flex-handling.patch
> create mode 100644 package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch
Applied, thanks! Obviously for the LTS branch as well.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] freetype: add upstream security fixes for CVE-2017-8105 and CVE-2017-8287
From: Thomas Petazzoni @ 2017-04-30 21:07 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=6d557ac0133618fe4fe1d417bf584e21ef208871
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Add upstream post-2.7.1 commits (except for ChangeLog modifications) fixing
the following security issues:
CVE-2017-8105 - FreeType 2 before 2017-03-24 has an out-of-bounds write
caused by a heap-based buffer overflow related to the
t1_decoder_parse_charstrings function in psaux/t1decode.c.
CVE-2017-8287 - FreeType 2 before 2017-03-26 has an out-of-bounds write
caused by a heap-based buffer overflow related to the
t1_builder_close_contour function in psaux/psobjs.c.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../0001-psaux-Better-protect-flex-handling.patch | 47 ++++++++++++++++++++++
...sobjs.c-t1_builder_close_contour-Add-safe.patch | 35 ++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/package/freetype/0001-psaux-Better-protect-flex-handling.patch b/package/freetype/0001-psaux-Better-protect-flex-handling.patch
new file mode 100644
index 0000000..a59f5b3
--- /dev/null
+++ b/package/freetype/0001-psaux-Better-protect-flex-handling.patch
@@ -0,0 +1,47 @@
+From f958c48ee431bef8d4d466b40c9cb2d4dbcb7791 Mon Sep 17 00:00:00 2001
+From: Werner Lemberg <wl@gnu.org>
+Date: Fri, 24 Mar 2017 09:15:10 +0100
+Subject: [PATCH] [psaux] Better protect `flex' handling.
+
+Reported as
+
+ https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=935
+
+* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
+<callothersubr>: Since there is not a single flex operator but a
+series of subroutine calls, malformed fonts can call arbitrary other
+operators after the start of a flex, possibly adding points. For
+this reason we have to check the available number of points before
+inserting a point.
+
+Fixes CVE-2017-8105
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c
+index af7b465e..7dd45135 100644
+--- a/src/psaux/t1decode.c
++++ b/src/psaux/t1decode.c
+@@ -780,10 +780,19 @@
+ /* point without adding any point to the outline */
+ idx = decoder->num_flex_vectors++;
+ if ( idx > 0 && idx < 7 )
++ {
++ /* in malformed fonts it is possible to have other */
++ /* opcodes in the middle of a flex (which don't */
++ /* increase `num_flex_vectors'); we thus have to */
++ /* check whether we can add a point */
++ if ( FT_SET_ERROR( t1_builder_check_points( builder, 1 ) ) )
++ goto Syntax_Error;
++
+ t1_builder_add_point( builder,
+ x,
+ y,
+ (FT_Byte)( idx == 3 || idx == 6 ) );
++ }
+ }
+ break;
+
+--
+2.11.0
+
diff --git a/package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch b/package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch
new file mode 100644
index 0000000..1b9d90a
--- /dev/null
+++ b/package/freetype/0002-src-psaux-psobjs.c-t1_builder_close_contour-Add-safe.patch
@@ -0,0 +1,35 @@
+From 3774fc08b502c3e685afca098b6e8a195aded6a0 Mon Sep 17 00:00:00 2001
+From: Werner Lemberg <wl@gnu.org>
+Date: Sun, 26 Mar 2017 08:32:09 +0200
+Subject: [PATCH] * src/psaux/psobjs.c (t1_builder_close_contour): Add safety
+ guard.
+
+Reported as
+
+ https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=941
+
+Fixes CVE-2017-8287
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c
+index d18e821a..0baf8368 100644
+--- a/src/psaux/psobjs.c
++++ b/src/psaux/psobjs.c
+@@ -1718,6 +1718,14 @@
+ first = outline->n_contours <= 1
+ ? 0 : outline->contours[outline->n_contours - 2] + 1;
+
++ /* in malformed fonts it can happen that a contour was started */
++ /* but no points were added */
++ if ( outline->n_contours && first == outline->n_points )
++ {
++ outline->n_contours--;
++ return;
++ }
++
+ /* We must not include the last point in the path if it */
+ /* is located on the first point. */
+ if ( outline->n_points > 1 )
+--
+2.11.0
+
^ permalink raw reply related
* [Buildroot] [git commit] package/kodi: fix typos for libva/libvdpau dependencies
From: Thomas Petazzoni @ 2017-04-30 21:04 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=c1595feb0e6defde4d890a2aaf62d158d3d04575
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/kodi/Config.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 6bc8133..d7b2692 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -240,25 +240,25 @@ config BR2_PACKAGE_KODI_LIBUSB
config BR2_PACKAGE_KODI_LIBVA
bool "va"
- depends on BR2_PACKAGE_KODI_EGL_GL
+ depends on BR2_PACKAGE_KODI_GL_EGL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVA
help
Enable libva support.
comment "libva support needs X.org with an openGL backend"
- depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
+ depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
config BR2_PACKAGE_KODI_LIBVDPAU
bool "vdpau"
- depends on BR2_PACKAGE_KODI_EGL_GL
+ depends on BR2_PACKAGE_KODI_GL_EGL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVDPAU
help
Enable libvdpau support.
comment "libvdpau support needs X.org with an openGL backend"
- depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
+ depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
config BR2_PACKAGE_KODI_UPNP
bool "upnp"
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox