Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] rtmpdump: security bump to current HEAD
From: Peter Korsgaard @ 2017-05-15 15:32 UTC (permalink / raw)
  To: buildroot

Fixes:

- CVE-2015-8271: The AMF3CD_AddProp function in amf.c in RTMPDump 2.4 allows
  remote RTMP Media servers to execute arbitrary code
  https://www.talosintelligence.com/reports/TALOS-2016-0067/

- CVE-2015-8272: RTMPDump 2.4 allows remote attackers to trigger a denial of
  service (NULL pointer dereference and process crash).
  https://www.talosintelligence.com/reports/TALOS-2016-0068/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/rtmpdump/rtmpdump.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk
index 19d9b04a2..f5d430ce3 100644
--- a/package/rtmpdump/rtmpdump.mk
+++ b/package/rtmpdump/rtmpdump.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RTMPDUMP_VERSION = a107cef9b392616dff54fabfd37f985ee2190a6f
+RTMPDUMP_VERSION = fa8646daeb19dfd12c181f7d19de708d623704c0
 RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump
 RTMPDUMP_INSTALL_STAGING = YES
 # Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH] git: security bump to version 2.12.3
From: Peter Korsgaard @ 2017-05-15 14:44 UTC (permalink / raw)
  To: buildroot

Fixes CVE-2017-8386 - Git Shell Bypass By Abusing Less

For more details, see:
https://insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/
http://www.mail-archive.com/git at vger.kernel.org/msg120982.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/git/git.hash | 2 +-
 package/git/git.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/git/git.hash b/package/git/git.hash
index 9af360ee2..4782dcbef 100644
--- a/package/git/git.hash
+++ b/package/git/git.hash
@@ -1,2 +1,2 @@
 # From: https://www.kernel.org/pub/software/scm/git/sha256sums.asc
-sha256 d21a9e23506e618d561fb25a8a7bd6134f927b86147930103487117a7a678c4a  git-2.12.2.tar.xz
+sha256 016124c54ce2db7a4c2bd26b0de21fbf8f6bcaee04842aa221c7243141df4e42  git-2.12.3.tar.xz
diff --git a/package/git/git.mk b/package/git/git.mk
index c2e4b8d15..9cea8de6b 100644
--- a/package/git/git.mk
+++ b/package/git/git.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GIT_VERSION = 2.12.2
+GIT_VERSION = 2.12.3
 GIT_SOURCE = git-$(GIT_VERSION).tar.xz
 GIT_SITE = https://www.kernel.org/pub/software/scm/git
 GIT_LICENSE = GPL-2.0, LGPL-2.1+
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v4 1/1] linuxptp: new package
From: Petr Kulhavy @ 2017-05-15 14:05 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170515135628.gf5xzgh3o3frf6sc@tarshish>

Hi Baruch,

yes, it works in both ways.

Petr

On 15/05/17 15:56, Baruch Siach wrote:
> Hi Petr,
>
> On Mon, May 15, 2017 at 12:25:13PM +0200, Petr Kulhavy wrote:
>> diff --git a/package/linuxptp/0002-Remove-conflicting-netinet-ether.h.patch b/package/linuxptp/0002-Remove-conflicting-netinet-ether.h.patch
>> new file mode 100644
>> index 0000000..28ddb15
>> --- /dev/null
>> +++ b/package/linuxptp/0002-Remove-conflicting-netinet-ether.h.patch
>> @@ -0,0 +1,32 @@
>> +From 8e8db2a5b90a611be39922694c7bdacbffbabcd5 Mon Sep 17 00:00:00 2001
>> +From: Petr Kulhavy <brain@jikos.cz>
>> +Date: Mon, 15 May 2017 09:36:30 +0200
>> +Subject: [PATCH] Remove conflicting netinet/ether.h
>> +
>> +On some platforms like br-arm-cortex-a9-musl struct ethhdr was defined twice
>> +due to including of both linux/if_ether.h and netinet/ether.h. Which lead
>> +to a compilation error.
>> +
>> +Remove netinet/ether.h as the official header for struct ethhdr is
>> +linux/if_ether.h
> I think that removing the kernel header, if possible, would be better. Relying
> on libc headers alone generally makes for better code portability.
>
> Does that work for you?
>
>> +
>> +Signed-off-by: Petr Kulhavy <brain@jikos.cz>
>> +---
>> + raw.c | 1 -
>> + 1 file changed, 1 deletion(-)
>> +
>> +diff --git a/raw.c b/raw.c
>> +index f51c829..73e45b4 100644
>> +--- a/raw.c
>> ++++ b/raw.c
>> +@@ -20,7 +20,6 @@
>> + #include <fcntl.h>
>> + #include <linux/filter.h>
>> + #include <linux/if_ether.h>
>> +-#include <net/ethernet.h>
>> + #include <net/if.h>
>> + #include <netinet/in.h>
>> + #include <netpacket/packet.h>
> baruch
>

^ permalink raw reply

* [Buildroot] [PATCH v4 1/1] linuxptp: new package
From: Baruch Siach @ 2017-05-15 13:56 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1494843913-13912-1-git-send-email-brain@jikos.cz>

Hi Petr,

On Mon, May 15, 2017 at 12:25:13PM +0200, Petr Kulhavy wrote: 
> diff --git a/package/linuxptp/0002-Remove-conflicting-netinet-ether.h.patch b/package/linuxptp/0002-Remove-conflicting-netinet-ether.h.patch
> new file mode 100644
> index 0000000..28ddb15
> --- /dev/null
> +++ b/package/linuxptp/0002-Remove-conflicting-netinet-ether.h.patch
> @@ -0,0 +1,32 @@
> +From 8e8db2a5b90a611be39922694c7bdacbffbabcd5 Mon Sep 17 00:00:00 2001
> +From: Petr Kulhavy <brain@jikos.cz>
> +Date: Mon, 15 May 2017 09:36:30 +0200
> +Subject: [PATCH] Remove conflicting netinet/ether.h
> +
> +On some platforms like br-arm-cortex-a9-musl struct ethhdr was defined twice
> +due to including of both linux/if_ether.h and netinet/ether.h. Which lead
> +to a compilation error.
> +
> +Remove netinet/ether.h as the official header for struct ethhdr is
> +linux/if_ether.h

I think that removing the kernel header, if possible, would be better. Relying 
on libc headers alone generally makes for better code portability.

Does that work for you?

> +
> +Signed-off-by: Petr Kulhavy <brain@jikos.cz>
> +---
> + raw.c | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/raw.c b/raw.c
> +index f51c829..73e45b4 100644
> +--- a/raw.c
> ++++ b/raw.c
> +@@ -20,7 +20,6 @@
> + #include <fcntl.h>
> + #include <linux/filter.h>
> + #include <linux/if_ether.h>
> +-#include <net/ethernet.h>
> + #include <net/if.h>
> + #include <netinet/in.h>
> + #include <netpacket/packet.h>

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply

* [Buildroot] [PATCH 1/1] mariadb: security bump to version 10.1.23
From: Peter Korsgaard @ 2017-05-15 13:51 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <7f264a9b-c5cf-feaf-a8bf-929d112fb7f0@gmail.com>

>>>>> "Ryan" == Ryan Coe <bluemrp9@gmail.com> writes:

Hi,

 >> Thanks, I (obviously) want to apply this, but something odd is going on
 >> with the licensing. COPYING.LESSER has been removed by this commit:
 >> 
 >> https://github.com/MariaDB/server/commit/577915def8
 >> 
 >> But the client library IS listed as being LGPL:
 >> 
 >> https://mariadb.com/kb/en/mariadb/mariadb-connector-c/
 >> 
 >> And same for the "old" one:
 >> 
 >> https://mariadb.com/kb/en/mariadb/lgpl-mysql-client-library-32358/
 >> 
 >> Grepping around in the 10.1.23 tarball, I don't see a lot of references
 >> to Lesser og LGPL.
 >> 
 >> Now, I know next to nothing about mariadb. Do you have any idea what is
 >> going on here?
 >> 
 > I am really not sure what is going on there.

:/

Could you perhaps try to contact the mariadb developers?

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH next] libgtk3: bump version to 3.22.15
From: Vicente Olivert Riera @ 2017-05-15 13:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/libgtk3/libgtk3.hash | 4 ++--
 package/libgtk3/libgtk3.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libgtk3/libgtk3.hash b/package/libgtk3/libgtk3.hash
index cbba7ca62..0f259e9a1 100644
--- a/package/libgtk3/libgtk3.hash
+++ b/package/libgtk3/libgtk3.hash
@@ -1,2 +1,2 @@
-# From http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/gtk+-3.22.14.sha256sum
-sha256 d6120e4fd64e432b74a61e8abd972b1948cf54e4dc4f0e081c05ab625f087131  gtk+-3.22.14.tar.xz
+# From http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/gtk+-3.22.15.sha256sum
+sha256 c8a012c2a99132629ab043f764a2b7cb6388483a015cd15c7a4288bec3590fdb  gtk+-3.22.15.tar.xz
diff --git a/package/libgtk3/libgtk3.mk b/package/libgtk3/libgtk3.mk
index 7d8eecbd6..f3b1705d9 100644
--- a/package/libgtk3/libgtk3.mk
+++ b/package/libgtk3/libgtk3.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBGTK3_VERSION_MAJOR = 3.22
-LIBGTK3_VERSION = $(LIBGTK3_VERSION_MAJOR).14
+LIBGTK3_VERSION = $(LIBGTK3_VERSION_MAJOR).15
 LIBGTK3_SOURCE = gtk+-$(LIBGTK3_VERSION).tar.xz
 LIBGTK3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk+/$(LIBGTK3_VERSION_MAJOR)
 LIBGTK3_LICENSE = LGPL-2.0+
-- 
2.13.0

^ permalink raw reply related

* [Buildroot] [PATCH next] sysstat: bump version to 11.4.4
From: Vicente Olivert Riera @ 2017-05-15 12:56 UTC (permalink / raw)
  To: buildroot

Rename --disable-man-group option to --disable-file-attr
https://github.com/sysstat/sysstat/commit/fcd4de4080e20705a09f475646dc431d8c9378ef

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/sysstat/sysstat.hash | 4 ++--
 package/sysstat/sysstat.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/sysstat/sysstat.hash b/package/sysstat/sysstat.hash
index 3b4dda8f1..8d4ecf48c 100644
--- a/package/sysstat/sysstat.hash
+++ b/package/sysstat/sysstat.hash
@@ -1,4 +1,4 @@
 # From: http://sebastien.godard.pagesperso-orange.fr/download.html
-sha1 805002b2bef00cd9ab44c5037d09b29cb71a17f8  sysstat-11.4.3.tar.xz
+sha1 0e4950da333ff4e68826d58a6f43cb8048d85e9c  sysstat-11.4.4.tar.xz
 # Locally calculated
-sha256 02e9cafa5557fbae435d33e592373655df929d817ae711d31142dd2f7d4dcee7  sysstat-11.4.3.tar.xz
+sha256 6585f08e24347d2d6462aee6ef97e80fe4cc869605193184500df0f80fa61cc8  sysstat-11.4.4.tar.xz
diff --git a/package/sysstat/sysstat.mk b/package/sysstat/sysstat.mk
index 31645b8f9..bd73214c3 100644
--- a/package/sysstat/sysstat.mk
+++ b/package/sysstat/sysstat.mk
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-SYSSTAT_VERSION = 11.4.3
+SYSSTAT_VERSION = 11.4.4
 SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.xz
 SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard
-SYSSTAT_CONF_OPTS = --disable-man-group --disable-sensors
+SYSSTAT_CONF_OPTS = --disable-file-attr --disable-sensors
 SYSSTAT_DEPENDENCIES = host-gettext
 SYSSTAT_LICENSE = GPL-2.0+
 SYSSTAT_LICENSE_FILES = COPYING
-- 
2.13.0

^ permalink raw reply related

* [Buildroot] [PATCH] package/bluez_utils: select BR2_PACKAGE_CHECK
From: Peter Korsgaard @ 2017-05-15 12:50 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170514195518.9038-1-romain.naour@gmail.com>

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > Commit [1] added check package to bluez_utils dependencies without
 > selecting it at Kconfig level.

 > Fixes:
 > Makefile:535: *** check is in the dependency chain of bluez_utils that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.

 > [1] 8554be9f82301282161cf6310bacdb6067fefb16

 > Signed-off-by: Romain Naour <romain.naour@gmail.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] package/bluez_utils: select BR2_PACKAGE_CHECK
From: Peter Korsgaard @ 2017-05-15 12:50 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=fbd7120c8ac119604341f52c445f7256eb2d96b4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

Commit [1] added check package to bluez_utils dependencies without
selecting it at Kconfig level.

Fixes:
Makefile:535: *** check is in the dependency chain of bluez_utils that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.

[1] 8554be9f82301282161cf6310bacdb6067fefb16

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 00f6de5fc77e38ae80c6ef1a0f0a74b57373344b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/bluez_utils/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/bluez_utils/Config.in b/package/bluez_utils/Config.in
index 3848162..86c9085 100644
--- a/package/bluez_utils/Config.in
+++ b/package/bluez_utils/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_BLUEZ_UTILS
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
 	depends on BR2_USE_MMU # dbus, libglib2
+	select BR2_PACKAGE_CHECK
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
 	help

^ permalink raw reply related

* [Buildroot] [git commit branch/2017.02.x] package/bluez_utils: fix test build issues with musl
From: Peter Korsgaard @ 2017-05-15 12:46 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=353ffb24975b3c7ae0f073749838d3ca3422de7a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

Add one missing header and avoid encrypt redefinition.

Fixes:
http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit d09d3a7fa00585ca570a75fee59b9cb3ac983d98)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 .../bluez_utils/0004-test-add-missing-header.patch |  34 +++++++
 ...test-avoid-conflict-with-encrypt-function.patch | 107 +++++++++++++++++++++
 2 files changed, 141 insertions(+)

diff --git a/package/bluez_utils/0004-test-add-missing-header.patch b/package/bluez_utils/0004-test-add-missing-header.patch
new file mode 100644
index 0000000..c74afb8
--- /dev/null
+++ b/package/bluez_utils/0004-test-add-missing-header.patch
@@ -0,0 +1,34 @@
+From d3c098c2fde55ddf0c7d56eae56925103d35da73 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Sat, 13 May 2017 18:56:51 +0200
+Subject: [PATCH] test: add missing header
+
+test/attest.c: In function 'at_command':
+test/attest.c:43:2: error: unknown type name 'fd_set'
+  fd_set rfds;
+  ^
+
+Fixes:
+http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ test/attest.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/test/attest.c b/test/attest.c
+index 12ba682..2626cf1 100644
+--- a/test/attest.c
++++ b/test/attest.c
+@@ -35,6 +35,8 @@
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
+ 
++#include <sys/select.h>
++
+ #include <bluetooth/bluetooth.h>
+ #include <bluetooth/rfcomm.h>
+ 
+-- 
+2.9.3
+
diff --git a/package/bluez_utils/0005-test-avoid-conflict-with-encrypt-function.patch b/package/bluez_utils/0005-test-avoid-conflict-with-encrypt-function.patch
new file mode 100644
index 0000000..438da97
--- /dev/null
+++ b/package/bluez_utils/0005-test-avoid-conflict-with-encrypt-function.patch
@@ -0,0 +1,107 @@
+From d8056252d0c99bfb2482f0a420dcf9a36019ddf8 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Sat, 13 May 2017 18:58:51 +0200
+Subject: [PATCH] test: avoid conflict with encrypt function
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+With a musl based toolchain:
+
+test/l2test.c:110:12: error: ???encrypt??? redeclared as different kind of symbol
+ static int encrypt = 0;
+            ^
+In file included from test/l2test.c:34:0:
+[...]/sysroot/usr/include/unistd.h:145:6: note: previous declaration of ???encrypt??? was here
+ void encrypt(char *, int);
+      ^
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ test/l2test.c | 8 ++++----
+ test/rctest.c | 8 ++++----
+ 2 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/test/l2test.c b/test/l2test.c
+index f66486d..9ef6faf 100644
+--- a/test/l2test.c
++++ b/test/l2test.c
+@@ -107,7 +107,7 @@ static char *filename = NULL;
+ static int rfcmode = 0;
+ static int master = 0;
+ static int auth = 0;
+-static int encrypt = 0;
++static int _encrypt = 0;
+ static int secure = 0;
+ static int socktype = SOCK_SEQPACKET;
+ static int linger = 0;
+@@ -340,7 +340,7 @@ static int do_connect(char *svr)
+ 		opt |= L2CAP_LM_MASTER;
+ 	if (auth)
+ 		opt |= L2CAP_LM_AUTH;
+-	if (encrypt)
++	if (_encrypt)
+ 		opt |= L2CAP_LM_ENCRYPT;
+ 	if (secure)
+ 		opt |= L2CAP_LM_SECURE;
+@@ -475,7 +475,7 @@ static void do_listen(void (*handler)(int sk))
+ 		opt |= L2CAP_LM_MASTER;
+ 	if (auth)
+ 		opt |= L2CAP_LM_AUTH;
+-	if (encrypt)
++	if (_encrypt)
+ 		opt |= L2CAP_LM_ENCRYPT;
+ 	if (secure)
+ 		opt |= L2CAP_LM_SECURE;
+@@ -1407,7 +1407,7 @@ int main(int argc, char *argv[])
+ 			break;
+ 
+ 		case 'E':
+-			encrypt = 1;
++			_encrypt = 1;
+ 			break;
+ 
+ 		case 'S':
+diff --git a/test/rctest.c b/test/rctest.c
+index 4d7c90a..7ad5a0b 100644
+--- a/test/rctest.c
++++ b/test/rctest.c
+@@ -79,7 +79,7 @@ static char *filename = NULL;
+ 
+ static int master = 0;
+ static int auth = 0;
+-static int encrypt = 0;
++static int _encrypt = 0;
+ static int secure = 0;
+ static int socktype = SOCK_STREAM;
+ static int linger = 0;
+@@ -200,7 +200,7 @@ static int do_connect(const char *svr)
+ 		opt |= RFCOMM_LM_MASTER;
+ 	if (auth)
+ 		opt |= RFCOMM_LM_AUTH;
+-	if (encrypt)
++	if (_encrypt)
+ 		opt |= RFCOMM_LM_ENCRYPT;
+ 	if (secure)
+ 		opt |= RFCOMM_LM_SECURE;
+@@ -291,7 +291,7 @@ static void do_listen(void (*handler)(int sk))
+ 		opt |= RFCOMM_LM_MASTER;
+ 	if (auth)
+ 		opt |= RFCOMM_LM_AUTH;
+-	if (encrypt)
++	if (_encrypt)
+ 		opt |= RFCOMM_LM_ENCRYPT;
+ 	if (secure)
+ 		opt |= RFCOMM_LM_SECURE;
+@@ -701,7 +701,7 @@ int main(int argc, char *argv[])
+ 			break;
+ 
+ 		case 'E':
+-			encrypt = 1;
++			_encrypt = 1;
+ 			break;
+ 
+ 		case 'S':
+-- 
+2.9.3
+

^ permalink raw reply related

* [Buildroot] [PATCH 3/3] package/bluez_utils: fix test build issues with musl
From: Peter Korsgaard @ 2017-05-15 12:46 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170513171009.5219-3-romain.naour@gmail.com>

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > Add one missing header and avoid encrypt redefinition.
 > Fixes:
 > http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/

 > Signed-off-by: Romain Naour <romain.naour@gmail.com>
 > Cc: Yegor Yefremov <yegorslists@googlemail.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH 2/3] bluez_utils: add missing check dependency for test program
From: Peter Korsgaard @ 2017-05-15 12:45 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170513171009.5219-2-romain.naour@gmail.com>

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > Tests are enabled since this has been introduced [1], so keep
 > them for now.

 > bluez_utils needs check tool and check if it's available [2].

 > [1] 06c3e2159686a886e52b2522a47e60c300cfb7f7
 > [2] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/configure.ac?h=4.101#n51

 > Signed-off-by: Romain Naour <romain.naour@gmail.com>
 > Cc: Yegor Yefremov <yegorslists@googlemail.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] package/bluez_utils: add missing check dependency for test program
From: Peter Korsgaard @ 2017-05-15 12:45 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=597cc20156e73f954a648f66638302ae15e9e48d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

Tests are enabled since this has been introduced [1], so keep
them for now.

bluez_utils needs check tool and check if it's available [2].

[1] 06c3e2159686a886e52b2522a47e60c300cfb7f7
[2] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/configure.ac?h=4.101#n51

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 8554be9f82301282161cf6310bacdb6067fefb16)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/bluez_utils/bluez_utils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/bluez_utils/bluez_utils.mk b/package/bluez_utils/bluez_utils.mk
index 9761dc2..bd12cd5 100644
--- a/package/bluez_utils/bluez_utils.mk
+++ b/package/bluez_utils/bluez_utils.mk
@@ -8,7 +8,7 @@ BLUEZ_UTILS_VERSION = 4.101
 BLUEZ_UTILS_SOURCE = bluez-$(BLUEZ_UTILS_VERSION).tar.xz
 BLUEZ_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
 BLUEZ_UTILS_INSTALL_STAGING = YES
-BLUEZ_UTILS_DEPENDENCIES = host-pkgconf dbus libglib2
+BLUEZ_UTILS_DEPENDENCIES = host-pkgconf check dbus libglib2
 BLUEZ_UTILS_CONF_OPTS = --enable-test --enable-tools
 BLUEZ_UTILS_AUTORECONF = YES
 BLUEZ_UTILS_LICENSE = GPLv2+, LGPLv2.1+

^ permalink raw reply related

* [Buildroot] [PATCH 2/3] bluez_utils: add missing check dependency for test program
From: Peter Korsgaard @ 2017-05-15 12:43 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170514160551.68cc2329@free-electrons.com>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Sat, 13 May 2017 22:28:45 +0200, Yann E. MORIN wrote:

 >> On 2017-05-13 19:10 +0200, Romain Naour spake thusly:
 >> > Tests are enabled since this has been introduced [1], so keep
 >> > them for now.  
 >> 
 >> Why don't you want to simply disable tests altogehter, especially since
 >> there is an option for that:
 >> 
 >> --disable-test
 >> 
 >> And if we disable tests, then we do not need patch 3/3.

 > In bluez_utils, "tests" apparently a good number of tools that are not
 > really tests, and might be needed on the target. I'll let Yegor answer
 > on this though, but in the mean time, I believe it's better to fix
 > things rather than changing the set of available tools on the target,
 > which is why I've applied Romain's patch.

:/

It looks to be a bit of a mess. The only thing that gets linked with
libcheck (check is a library, not a program) is unit/test-eir, which
doesn't even get installed.

But oh well, it is indeed safer to keep it enabled.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH next] imagemagick: bump version to 7.0.5-6
From: Vicente Olivert Riera @ 2017-05-15 12:31 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/imagemagick/imagemagick.hash | 2 +-
 package/imagemagick/imagemagick.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/imagemagick/imagemagick.hash b/package/imagemagick/imagemagick.hash
index 06a957a89..b7be7bc66 100644
--- a/package/imagemagick/imagemagick.hash
+++ b/package/imagemagick/imagemagick.hash
@@ -1,2 +1,2 @@
 # From http://www.imagemagick.org/download/releases/digest.rdf
-sha256 c3644119dce993aa241fa08eced2cb6043fb5345f0eee7a7822a497f1142ebe3  ImageMagick-7.0.5-5.tar.xz
+sha256 f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab  ImageMagick-7.0.5-6.tar.xz
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 6b5cd4eae..b1048f5f6 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-IMAGEMAGICK_VERSION = 7.0.5-5
+IMAGEMAGICK_VERSION = 7.0.5-6
 IMAGEMAGICK_SOURCE = ImageMagick-$(IMAGEMAGICK_VERSION).tar.xz
 IMAGEMAGICK_SITE = http://www.imagemagick.org/download/releases
 IMAGEMAGICK_LICENSE = Apache-2.0
-- 
2.13.0

^ permalink raw reply related

* [Buildroot] [PATCH next] ffmpeg: bump version to 3.3.1
From: Vicente Olivert Riera @ 2017-05-15 12:25 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/ffmpeg/ffmpeg.hash | 2 +-
 package/ffmpeg/ffmpeg.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/ffmpeg/ffmpeg.hash b/package/ffmpeg/ffmpeg.hash
index e243acc74..ab7ba5eee 100644
--- a/package/ffmpeg/ffmpeg.hash
+++ b/package/ffmpeg/ffmpeg.hash
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 599e7f7c017221c22011c4037b88bdcd1c47cd40c1e466838bc3c465f3e9569d  ffmpeg-3.3.tar.xz
+sha256 b702a7fc656ac23e276b8c823a2f646e4e6f6309bb2788435a708e69bea98f2f  ffmpeg-3.3.1.tar.xz
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 10e4e74d7..d69923b84 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FFMPEG_VERSION = 3.3
+FFMPEG_VERSION = 3.3.1
 FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz
 FFMPEG_SITE = http://ffmpeg.org/releases
 FFMPEG_INSTALL_STAGING = YES
-- 
2.13.0

^ permalink raw reply related

* [Buildroot] [PATCH 1/3] package/bluez_utils: add missing host-pkgconf dependency
From: Peter Korsgaard @ 2017-05-15 12:12 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170513171009.5219-1-romain.naour@gmail.com>

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > The configure script use pkg-config.
 > Signed-off-by: Romain Naour <romain.naour@gmail.com>
 > Cc: Yegor Yefremov <yegorslists@googlemail.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] package/bluez_utils: add missing host-pkgconf dependency
From: Peter Korsgaard @ 2017-05-15 12:11 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=38314e4cbed69a050082ef1e1121bf0a86eb1de8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

The configure script use pkg-config.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit d5fec33bd5e4a928d60bdc8693ca2917b3e91a43)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/bluez_utils/bluez_utils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/bluez_utils/bluez_utils.mk b/package/bluez_utils/bluez_utils.mk
index 1c93f2e..9761dc2 100644
--- a/package/bluez_utils/bluez_utils.mk
+++ b/package/bluez_utils/bluez_utils.mk
@@ -8,7 +8,7 @@ BLUEZ_UTILS_VERSION = 4.101
 BLUEZ_UTILS_SOURCE = bluez-$(BLUEZ_UTILS_VERSION).tar.xz
 BLUEZ_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
 BLUEZ_UTILS_INSTALL_STAGING = YES
-BLUEZ_UTILS_DEPENDENCIES = dbus libglib2
+BLUEZ_UTILS_DEPENDENCIES = host-pkgconf dbus libglib2
 BLUEZ_UTILS_CONF_OPTS = --enable-test --enable-tools
 BLUEZ_UTILS_AUTORECONF = YES
 BLUEZ_UTILS_LICENSE = GPLv2+, LGPLv2.1+

^ permalink raw reply related

* [Buildroot] [git commit] openblas: SPARC support is for Sparc v9
From: Peter Korsgaard @ 2017-05-15 12:10 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170513141121.921D582867@busybox.osuosl.org>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=6714d79a22b4c0ad7651659c8009f93574bbd59d
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > Makefile.sparc in the openblas source code passes -mcpu=v9, i.e it
 > assumes a SPARCv9 CPU. Therefore, this commit adjusts openblas
 > Config.in file so that SPARC is only used for BR2_sparc_v9.

 > Fixes:

 >   http://autobuild.buildroot.net/results/805087e87b8bb7d11adb49d9eca3959a37aca3a2/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] openblas: SPARC support is for Sparc v9
From: Peter Korsgaard @ 2017-05-15 12:10 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=af6daa4cbf5db69dc7c88751b407b99ed3b03d26
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

Makefile.sparc in the openblas source code passes -mcpu=v9, i.e it
assumes a SPARCv9 CPU. Therefore, this commit adjusts openblas
Config.in file so that SPARC is only used for BR2_sparc_v9.

Fixes:

  http://autobuild.buildroot.net/results/805087e87b8bb7d11adb49d9eca3959a37aca3a2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 6714d79a22b4c0ad7651659c8009f93574bbd59d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/openblas/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/openblas/Config.in b/package/openblas/Config.in
index de26ab3..bc62896 100644
--- a/package/openblas/Config.in
+++ b/package/openblas/Config.in
@@ -31,7 +31,8 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
 	default "SICORTEX"     if BR2_MIPS_CPU_MIPS64
 	# I6400 is built with MSA support which is only available in Codescape toolchains
 	default "I6400"        if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
-	default "SPARC"        if BR2_sparc
+	# OpenBLAS assumes SPARC=Sparc v9
+	default "SPARC"        if BR2_sparc_v9
 	# Cortex-A15 always have a VFPv4
 	default "CORTEXA15"    if (BR2_cortex_a15 && BR2_ARM_EABIHF)
 	# Cortex-A9 have an optional VFPv3, so we need to make sure it

^ permalink raw reply related

* [Buildroot] [PATCH] core/download: fix source check for git method
From: Peter Korsgaard @ 2017-05-15 12:09 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170512155429.26176-1-yann.morin.1998@free.fr>

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Running foo-source-check on packages retrieved from git fails.
 > This is because there is no associated stamp file, so we do not have a
 > rule-assignment that sets PKG for foo-source-check.

 > But it does not make sense to have a stamp file at all, because
 > source-check is not supposed to change anything: the status after is
 > exactly the same as before; nothing is downlaoded, so there is no
 > progress (whatsoever) to memorise.

 > Fix that by just defining PKG in the source-check rule definition.

 > Fixes #9796.

 > Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] core/download: fix source check for git method
From: Peter Korsgaard @ 2017-05-15 12:09 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=f99117fd8b83fdfb3842140e0053b14cc2c12424
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

Running foo-source-check on packages retrieved from git fails.

This is because there is no associated stamp file, so we do not have a
rule-assignment that sets PKG for foo-source-check.

But it does not make sense to have a stamp file at all, because
source-check is not supposed to change anything: the status after is
exactly the same as before; nothing is downlaoded, so there is no
progress (whatsoever) to memorise.

Fix that by just defining PKG in the source-check rule definition.

Fixes #9796.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 4c0aacbc317d298397cede593f74ece26d0a89f0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/pkg-generic.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index e8a8021..fd8c217 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -683,6 +683,7 @@ $(1)-legal-source:	$$($(2)_TARGET_ACTUAL_SOURCE)
 endif # actual sources != sources
 endif # actual sources != ""
 
+$(1)-source-check: PKG=$(2)
 $(1)-source-check:
 	$$(foreach p,$$($(2)_ALL_DOWNLOADS),$$(call SOURCE_CHECK,$$(p))$$(sep))
 

^ permalink raw reply related

* [Buildroot] [PATCH] package/gpsd: do not interact with systemd on install
From: Peter Korsgaard @ 2017-05-15 12:07 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170513082736.22734-1-yann.morin.1998@free.fr>

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > When building on a systemd-based host for a systemd-based target, gpsd's
 > buildsystem will try to tell systemd to reload the its configuration and
 > recreate the entire dependency tree of services.

 > Of course, this can not work when run as a user:
 >>>> gpsd 3.16 Installing to target
 >     ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
 >     Authentication is required to reload the systemd state.
 >     Authenticating as: root
 >     Password:

 > In fact, this does not even mean anything in cross-compilation.

 > Fortunately, upstream has already fixed their sin, so we backport it
 > (tweaked to apply onto 3.16).

 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>

 > ---
 > Note: this was never observed in any of the autobuilders, even those
 > running on a systemd-based distro, because in this case stdin is
 > redirected and systemctl simply fails, but the construct is just to
 > ignore the failure, so the build proceeds; the issue only occurs when
 > there is an actual terminal to provide user input... :-/

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] package/gpsd: do not interact with systemd on install
From: Peter Korsgaard @ 2017-05-15 12:07 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=6c729c63e032a81897f19ccc7a468b003e608092
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

When building on a systemd-based host for a systemd-based target, gpsd's
buildsystem will try to tell systemd to reload the its configuration and
recreate the entire dependency tree of services.

Of course, this can not work when run as a user:
    >>> gpsd 3.16 Installing to target
    ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
    Authentication is required to reload the systemd state.
    Authenticating as: root
    Password:

In fact, this does not even mean anything in cross-compilation.

Fortunately, upstream has already fixed their sin, so we backport it
(tweaked to apply onto 3.16).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 0d0fcfa443754ed33ab81b52dd22c5e89ea45c24)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 ...eract-with-systemctl-when-cross-compiling.patch | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch b/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch
new file mode 100644
index 0000000..9e91a02
--- /dev/null
+++ b/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch
@@ -0,0 +1,41 @@
+From 777cb3737ae85b13642fff48eabb601c4d40f527 Mon Sep 17 00:00:00 2001
+From: James Knight <james.d.knight@live.com>
+Date: Tue, 16 Feb 2016 23:51:08 -0500
+Subject: [PATCH] do not interact with systemctl when cross-compiling
+
+The installation process for GPSd on a systemd environment will attempt
+to reload systemd's manager configuration (systemctl daemon-reload).
+This is to allow the system to take advantage of the newly installed
+GPSd services. When cross-compiling, the installation process should not
+attempt to interact with the build environment's systemd instance (if
+any). The following change checks if the build is not cross compiling
+(via 'not env["sysroot"]') before attempting to do a systemd reload.
+
+Signed-off-by: James Knight <james.d.knight@live.com>
+[yann.morin.1998 at free.fr: tweak to apply on 3.16]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+---
+ SConstruct | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/SConstruct b/SConstruct
+index c3bfd0d1..97c1b3a9 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -1909,10 +1909,12 @@ udev_install = Utility('udev-install', 'install', [
+     ] + hotplug_wrapper_install)
+ 
+ if env['systemd']:
++    env.Requires(udev_install, systemd_install)
++
++if env['systemd'] and not env["sysroot"]:
+     systemctl_daemon_reload = Utility('systemctl-daemon-reload', '', [ 'systemctl daemon-reload || true'])
+     env.AlwaysBuild(systemctl_daemon_reload)
+     env.Precious(systemctl_daemon_reload)
+-    env.Requires(udev_install, systemd_install)
+     env.Requires(systemctl_daemon_reload, systemd_install)
+     env.Requires(udev_install, systemctl_daemon_reload)
+ 
+-- 
+2.11.0
+

^ permalink raw reply related

* [Buildroot] [PATCH] kvm-unit-tests: fix build on x86-64 with specific gcc versions
From: Thomas Petazzoni @ 2017-05-15 12:05 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1494276103-22722-1-git-send-email-thomas.petazzoni@free-electrons.com>

Hello,

On Mon,  8 May 2017 22:41:43 +0200, Thomas Petazzoni wrote:

>  ...clock-be-explicit-about-mul-instruction-d.patch | 35 ++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
>  create mode 100644 package/kvm-unit-tests/0001-x86-hyperv_clock-be-explicit-about-mul-instruction-d.patch

This patch has been accepted upstream:
https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git/commit/?id=45276b5860522921c77fb3ccc1458ff5f223c3c6.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox