* [Buildroot] [PATCH] DEVELOPERS: add myself to alsa-{lib, utils}
From: Bernd Kuhls @ 2017-05-21 15:01 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
DEVELOPERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index 13c72edbb..315526486 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -160,6 +160,8 @@ F: boot/syslinux/
F: package/dc3dd/
N: Bernd Kuhls <bernd.kuhls@t-online.de>
+F: package/alsa-lib/
+F: package/alsa-utils/
F: package/apache/
F: package/apr/
F: package/apr-util/
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH/next 2/2] package/alsa-utils: bump version to 1.1.4
From: Bernd Kuhls @ 2017-05-21 14:56 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170521145616.20380-1-bernd.kuhls@t-online.de>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/alsa-utils/alsa-utils.hash | 2 +-
package/alsa-utils/alsa-utils.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/alsa-utils/alsa-utils.hash b/package/alsa-utils/alsa-utils.hash
index 1add17e08..538990bde 100644
--- a/package/alsa-utils/alsa-utils.hash
+++ b/package/alsa-utils/alsa-utils.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 127217a54eea0f9a49700a2f239a2d4f5384aa094d68df04a8eb80132eb6167c alsa-utils-1.1.3.tar.bz2
+sha256 a7831044de92c5bf33bf3365a3f36e49397f4191e934df460ae1ca15138c9d9d alsa-utils-1.1.4.tar.bz2
diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk
index 847a97f64..f0b964aff 100644
--- a/package/alsa-utils/alsa-utils.mk
+++ b/package/alsa-utils/alsa-utils.mk
@@ -4,7 +4,7 @@
#
################################################################################
-ALSA_UTILS_VERSION = 1.1.3
+ALSA_UTILS_VERSION = 1.1.4
ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2
ALSA_UTILS_SITE = ftp://ftp.alsa-project.org/pub/utils
ALSA_UTILS_LICENSE = GPL-2.0
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH/next 1/2] package/alsa-lib: bump version to 1.1.4
From: Bernd Kuhls @ 2017-05-21 14:56 UTC (permalink / raw)
To: buildroot
Removed patches applied upstream:
0005-remove-powerpc64-workaround.patch
http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=3bad0a21b4d13d8d10691f382c836897fa7a7cb9
0006-ucm-parser-needs-limits.h.patch
http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=9ed4075f05a4242f32331f7f2c365767970f5003
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
.../0005-remove-powerpc64-workaround.patch | 67 ----------------------
.../alsa-lib/0006-ucm-parser-needs-limits.h.patch | 30 ----------
package/alsa-lib/alsa-lib.hash | 2 +-
package/alsa-lib/alsa-lib.mk | 2 +-
4 files changed, 2 insertions(+), 99 deletions(-)
delete mode 100644 package/alsa-lib/0005-remove-powerpc64-workaround.patch
delete mode 100644 package/alsa-lib/0006-ucm-parser-needs-limits.h.patch
diff --git a/package/alsa-lib/0005-remove-powerpc64-workaround.patch b/package/alsa-lib/0005-remove-powerpc64-workaround.patch
deleted file mode 100644
index 57a369e0e..000000000
--- a/package/alsa-lib/0005-remove-powerpc64-workaround.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Linking currently fails on powerpc64 and powerpc64le when configured
-with --without-versioned, as follows:
-../src/.libs/libasound.so: undefined reference to `.__snd_pcm_hw_params_set_format_first'
-(And many similar messages.)
-
-This appears to be due to a very old (2003) workaround for powerpc64,
-(introduced by commit 06221f86) in include/alsa-symbols.h which alters
-symbol names. While it was probably necessary at the time, it does not
-appear to be necessary now and removing it fixes the build.
-
-Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
----
- include/alsa-symbols.h | 25 ++++---------------------
- 1 file changed, 4 insertions(+), 21 deletions(-)
-
-diff --git a/include/alsa-symbols.h b/include/alsa-symbols.h
-index 51cb982..0cb0b9f 100644
---- a/include/alsa-symbols.h
-+++ b/include/alsa-symbols.h
-@@ -29,19 +29,10 @@
- #define INTERNAL_CONCAT2_2(Pre, Post) Pre##Post
- #define INTERNAL(Name) INTERNAL_CONCAT2_2(__, Name)
-
--#ifdef __powerpc64__
--# define symbol_version(real, name, version) \
-- __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version); \
-- __asm__ (".symver ." ASM_NAME(#real) ",." ASM_NAME(#name) "@" #version)
--# define default_symbol_version(real, name, version) \
-- __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version); \
-- __asm__ (".symver ." ASM_NAME(#real) ",." ASM_NAME(#name) "@@" #version)
--#else
--# define symbol_version(real, name, version) \
-- __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version)
--# define default_symbol_version(real, name, version) \
-- __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version)
--#endif
-+#define symbol_version(real, name, version) \
-+__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version)
-+#define default_symbol_version(real, name, version) \
-+__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version)
-
- #ifdef USE_VERSIONED_SYMBOLS
- #define use_symbol_version(real, name, version) \
-@@ -50,13 +41,6 @@
- default_symbol_version(real, name, version)
- #else
- #define use_symbol_version(real, name, version) /* nothing */
--#ifdef __powerpc64__
--#define use_default_symbol_version(real, name, version) \
-- __asm__ (".weak " ASM_NAME(#name)); \
-- __asm__ (".weak ." ASM_NAME(#name)); \
-- __asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real)); \
-- __asm__ (".set ." ASM_NAME(#name) ",." ASM_NAME(#real))
--#else
- #if defined(__alpha__) || defined(__mips__)
- #define use_default_symbol_version(real, name, version) \
- __asm__ (".weak " ASM_NAME(#name)); \
-@@ -67,6 +51,5 @@
- __asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real))
- #endif
- #endif
--#endif
-
- #endif /* __ALSA_SYMBOLS_H */
---
-2.10.0.297.gf6727b0
-
diff --git a/package/alsa-lib/0006-ucm-parser-needs-limits.h.patch b/package/alsa-lib/0006-ucm-parser-needs-limits.h.patch
deleted file mode 100644
index b47dedb3a..000000000
--- a/package/alsa-lib/0006-ucm-parser-needs-limits.h.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 13a796b4bd00defa9f9297fd23d508b430682aed Mon Sep 17 00:00:00 2001
-From: Gustavo Zacarias <gustavo@zacarias.com.ar>
-Date: Wed, 21 Dec 2016 19:41:26 -0300
-Subject: [PATCH] ucm: parser needs limits.h
-
-It's using PATH_MAX which is defined there, otherwise the build fails on
-musl libc.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
----
-Patch status: sent to alsa-devel ML.
-
- src/ucm/parser.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/ucm/parser.c b/src/ucm/parser.c
-index c98373a..f520abc 100644
---- a/src/ucm/parser.c
-+++ b/src/ucm/parser.c
-@@ -32,6 +32,7 @@
-
- #include "ucm_local.h"
- #include <dirent.h>
-+#include <limits.h>
-
- /** The name of the environment variable containing the UCM directory */
- #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
---
-2.10.2
-
diff --git a/package/alsa-lib/alsa-lib.hash b/package/alsa-lib/alsa-lib.hash
index 6f56a7679..bcfadce20 100644
--- a/package/alsa-lib/alsa-lib.hash
+++ b/package/alsa-lib/alsa-lib.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c alsa-lib-1.1.3.tar.bz2
+sha256 82f50a09487079755d93e4c9384912196995bade6280bce9bfdcabf094bfb515 alsa-lib-1.1.4.tar.bz2
diff --git a/package/alsa-lib/alsa-lib.mk b/package/alsa-lib/alsa-lib.mk
index 865165357..049c28fc4 100644
--- a/package/alsa-lib/alsa-lib.mk
+++ b/package/alsa-lib/alsa-lib.mk
@@ -4,7 +4,7 @@
#
################################################################################
-ALSA_LIB_VERSION = 1.1.3
+ALSA_LIB_VERSION = 1.1.4
ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2
ALSA_LIB_SITE = ftp://ftp.alsa-project.org/pub/lib
ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver)
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH/next] package/libmicrohttpd: bump version to 0.9.54
From: Bernd Kuhls @ 2017-05-21 12:29 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/libmicrohttpd/libmicrohttpd.hash | 2 +-
package/libmicrohttpd/libmicrohttpd.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libmicrohttpd/libmicrohttpd.hash b/package/libmicrohttpd/libmicrohttpd.hash
index 5c15b9dfd..e72255a0b 100644
--- a/package/libmicrohttpd/libmicrohttpd.hash
+++ b/package/libmicrohttpd/libmicrohttpd.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 54797f6e763d417627f89f60e4ae0a431dab0523f92f83def23ea02d0defafea libmicrohttpd-0.9.52.tar.gz
+sha256 bcc721895d4a114b0548a39d2241c35caacb9e2e072d40e11b55c60e3d5ddcbe libmicrohttpd-0.9.54.tar.gz
diff --git a/package/libmicrohttpd/libmicrohttpd.mk b/package/libmicrohttpd/libmicrohttpd.mk
index 785e88672..939e06e9d 100644
--- a/package/libmicrohttpd/libmicrohttpd.mk
+++ b/package/libmicrohttpd/libmicrohttpd.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBMICROHTTPD_VERSION = 0.9.52
+LIBMICROHTTPD_VERSION = 0.9.54
LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
LIBMICROHTTPD_LICENSE_FILES = COPYING
LIBMICROHTTPD_INSTALL_STAGING = YES
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH/next] package/minidlna: bump version to 1.2.0
From: Bernd Kuhls @ 2017-05-21 12:04 UTC (permalink / raw)
To: buildroot
Added locally computed sha256 hash.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/minidlna/minidlna.hash | 8 +++++---
package/minidlna/minidlna.mk | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/package/minidlna/minidlna.hash b/package/minidlna/minidlna.hash
index d1ed4b918..8f6b1cc2d 100644
--- a/package/minidlna/minidlna.hash
+++ b/package/minidlna/minidlna.hash
@@ -1,3 +1,5 @@
-# From http://sourceforge.net/projects/minidlna/files/minidlna/1.1.5/
-md5 1970e553a1eb8a3e7e302e2ce292cbc4 minidlna-1.1.5.tar.gz
-sha1 8185337621f5f9111118d8a4bca1e8cfcdd19505 minidlna-1.1.5.tar.gz
+# From http://sourceforge.net/projects/minidlna/files/minidlna/1.2.0/
+md5 5f59700431e9f66198238deeb4e0d0de minidlna-1.2.0.tar.gz
+sha1 700e07440167ddef44b06aa59cabe5e3abe612f6 minidlna-1.2.0.tar.gz
+# Locally computed
+sha256 8d34436580c4c44be25976d5e46bc5b71af69bf441c4492774eac001164c4433 minidlna-1.2.0.tar.gz
diff --git a/package/minidlna/minidlna.mk b/package/minidlna/minidlna.mk
index 40f918c3e..4fa55454c 100644
--- a/package/minidlna/minidlna.mk
+++ b/package/minidlna/minidlna.mk
@@ -4,7 +4,7 @@
#
################################################################################
-MINIDLNA_VERSION = 1.1.5
+MINIDLNA_VERSION = 1.2.0
MINIDLNA_SITE = http://downloads.sourceforge.net/project/minidlna/minidlna/$(MINIDLNA_VERSION)
MINIDLNA_LICENSE = GPL-2.0, BSD-3-Clause
MINIDLNA_LICENSE_FILES = COPYING LICENCE.miniupnpd
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] package/python-enum34: change setup type to setuptools
From: Bernd Kuhls @ 2017-05-21 11:46 UTC (permalink / raw)
To: buildroot
With version 1.1.3 the project switched to setuptools:
https://bitbucket.org/stoneleaf/enum34/commits/589b4f9d2e733a32c6e67a1e7aa50f476920d121
Fixes
http://autobuild.buildroot.net/results/cb6/cb678ca9e57382a876f3f6034a47a4e2c59bc8d0/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/python-enum34/python-enum34.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/python-enum34/python-enum34.mk b/package/python-enum34/python-enum34.mk
index 1a4c6c694..c612cb65e 100644
--- a/package/python-enum34/python-enum34.mk
+++ b/package/python-enum34/python-enum34.mk
@@ -7,7 +7,7 @@
PYTHON_ENUM34_VERSION = 1.1.6
PYTHON_ENUM34_SOURCE = enum34-$(PYTHON_ENUM34_VERSION).tar.gz
PYTHON_ENUM34_SITE = https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876
-PYTHON_ENUM34_SETUP_TYPE = distutils
+PYTHON_ENUM34_SETUP_TYPE = setuptools
PYTHON_ENUM34_LICENSE = BSD-3-Clause
PYTHON_ENUM34_LICENSE_FILES = enum/LICENSE
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH/next] package/samba4: bump version to 4.5.9
From: Bernd Kuhls @ 2017-05-21 11:37 UTC (permalink / raw)
To: buildroot
For details, see the release notes:
https://www.samba.org/samba/history/samba-4.5.9.html
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/samba4/samba4.hash | 2 +-
package/samba4/samba4.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash
index 0a2a548a1..c0ac04a61 100644
--- a/package/samba4/samba4.hash
+++ b/package/samba4/samba4.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 f63b656d8823a280c50c9dbd6b692816cd7a88adfe9b47997ce697fd75bf81f0 samba-4.5.8.tar.gz
+sha256 e7b04b5d7ce10ed1205cc552200958e3c487ecf9647ea4c7b8c5f049f97c6be4 samba-4.5.9.tar.gz
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index 4de69a0fa..209d8ef72 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -4,7 +4,7 @@
#
################################################################################
-SAMBA4_VERSION = 4.5.8
+SAMBA4_VERSION = 4.5.9
SAMBA4_SITE = https://download.samba.org/pub/samba/stable
SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz
SAMBA4_INSTALL_STAGING = YES
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] package/x11r7/xlib_libxshmfence: needs sync_4
From: Bernd Kuhls @ 2017-05-21 11:30 UTC (permalink / raw)
To: buildroot
Also propagate reverse dependency to mesa3d and xserver_xorg-server.
Fixes xserver_xorg-server build
http://autobuild.buildroot.net/results/7da/7da8b46cda8786422e8293f26b79582b35a433d6/
For patch discussion refer to http://patchwork.ozlabs.org/patch/674595/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/mesa3d/Config.in | 3 ++-
package/mesa3d/mesa3d.mk | 2 +-
package/x11r7/xlib_libxshmfence/Config.in | 1 +
package/x11r7/xserver_xorg-server/Config.in | 3 ++-
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 2 +-
5 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index e5ff7d73d..2e19817a6 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -30,7 +30,8 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
config BR2_PACKAGE_MESA3D_DRI_DRIVER
bool
select BR2_PACKAGE_MESA3D_DRIVER
- select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XPROTO_DRI3PROTO
+ select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
+ (BR2_PACKAGE_XPROTO_DRI3PROTO && BR2_TOOLCHAIN_HAS_SYNC_4)
select BR2_PACKAGE_XPROTO_PRESENTPROTO if BR2_PACKAGE_XPROTO_DRI3PROTO
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index b26d67747..5173e680b 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -90,7 +90,7 @@ ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
MESA3D_CONF_OPTS += \
--without-dri-drivers --disable-dri3
else
-ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
+ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE)$(BR2_PACKAGE_XPROTO_DRI3PROTO),yy)
MESA3D_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto xproto_presentproto
MESA3D_CONF_OPTS += --enable-dri3
else
diff --git a/package/x11r7/xlib_libxshmfence/Config.in b/package/x11r7/xlib_libxshmfence/Config.in
index d0595f6d6..d4e87b3e8 100644
--- a/package/x11r7/xlib_libxshmfence/Config.in
+++ b/package/x11r7/xlib_libxshmfence/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_XLIB_LIBXSHMFENCE
bool "libxshmfence"
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
select BR2_PACKAGE_XPROTO_XPROTO
help
X.Org shmfence library
diff --git a/package/x11r7/xserver_xorg-server/Config.in b/package/x11r7/xserver_xorg-server/Config.in
index b04ccf4d7..5971e13f5 100644
--- a/package/x11r7/xserver_xorg-server/Config.in
+++ b/package/x11r7/xserver_xorg-server/Config.in
@@ -114,7 +114,8 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
select BR2_PACKAGE_LIBDRM if (BR2_PACKAGE_XPROTO_XF86DRIPROTO || \
BR2_PACKAGE_XPROTO_DRI2PROTO)
select BR2_PACKAGE_LIBPCIACCESS
- select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XPROTO_DRI3PROTO
+ select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
+ (BR2_PACKAGE_XPROTO_DRI3PROTO && BR2_TOOLCHAIN_HAS_SYNC_4)
help
This variant of the X.org server is the full-blown variant,
as used by desktop GNU/Linux distributions. The drivers (for
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index 306e9d03e..12c3ed06c 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -220,7 +220,7 @@ XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri2
else
XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri2
endif
-ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
+ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE)$(BR2_PACKAGE_XPROTO_DRI3PROTO),yy)
XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto
XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri3
ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yy)
--
2.11.0
^ permalink raw reply related
* [Buildroot] [autobuild.buildroot.net] Build results for 2017-05-20
From: Thomas Petazzoni @ 2017-05-21 6:32 UTC (permalink / raw)
To: buildroot
Hello,
Build statistics for 2017-05-20
================================
successes : 255
failures : 11
timeouts : 1
TOTAL : 267
Classification of failures by reason
====================================
libepoxy-1.4.1 | 4
ffmpeg-3.3.1 | 2
host-erlang-rebar-2.6.4 | 1
mplayer-1.3.0 | 1
python-enum34-1.1.6 | 1
qt5location-5.6.2 | 1
taskd-1.1.0 | 1
xserver_xorg-server-1.19.3 | 1
Detail of failures
===================
sparc | ffmpeg-3.3.1 | NOK | http://autobuild.buildroot.net/results/6cf90177a444882ad37017bccf41dea6bf752d31 |
mipsel | ffmpeg-3.3.1 | NOK | http://autobuild.buildroot.net/results/f2be9ef177e918a831edb87a52df59bc116141e5 |
i586 | host-erlang-rebar-2.6.4 | TIM | http://autobuild.buildroot.net/results/648845c5935e3abc554064f5711e8b1ad635164b |
nios2 | libepoxy-1.4.1 | NOK | http://autobuild.buildroot.net/results/8e35d911aba30777353b743d6dd9ec6e3b492079 |
aarch64 | libepoxy-1.4.1 | NOK | http://autobuild.buildroot.net/results/9e0353c85c2e53f7d8092077bf1f13c52c1a8764 |
arc | libepoxy-1.4.1 | NOK | http://autobuild.buildroot.net/results/1b117f7def7b30427d16bbbb35c133667825a986 |
powerpc64le | libepoxy-1.4.1 | NOK | http://autobuild.buildroot.net/results/7ce465c02df08d0e4d948d2fadbd15893380299b |
arm | mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/57a9d9f4a37627152c651c01ca885cbdbcd21ed4 |
arm | python-enum34-1.1.6 | NOK | http://autobuild.buildroot.net/results/cb678ca9e57382a876f3f6034a47a4e2c59bc8d0 |
powerpc | qt5location-5.6.2 | NOK | http://autobuild.buildroot.net/results/3ab8e21cf67a370edf56caba48aed8cb6af8d58d |
arm | taskd-1.1.0 | NOK | http://autobuild.buildroot.net/results/713e101bb28c25a2d414075f4720dfaabfab4b01 |
sparc | xserver_xorg-server-1.19.3 | NOK | http://autobuild.buildroot.net/results/7da8b46cda8786422e8293f26b79582b35a433d6 |
--
http://autobuild.buildroot.net
^ permalink raw reply
* [Buildroot] A qemu and startx with mouse ?
From: Riko Ho @ 2017-05-21 5:18 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170521071603.15fba28a@free-electrons.com>
Like this ?
Ok
On 21/05/17 13:16, Thomas Petazzoni wrote:
> Hello,
>
> On Sun, 21 May 2017 11:26:05 +0800, Riko Ho wrote:
>
>> How can I use mouse on qemu and startx ?
>> I can run twm and xterm but mouse and keyboard in qemu is off ?
> Please stop replying to unrelated e-mails when starting a new
> discussion, you break e-mail threads by doing so.
>
> Thanks,
>
> Thomas
--
*
/*******/
Sent by Ubuntu LTS 16.04,
??,
Regards,
Riko Ho
/*******/
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170521/db4ed852/attachment.html>
^ permalink raw reply
* [Buildroot] A qemu and startx with mouse ?
From: Thomas Petazzoni @ 2017-05-21 5:16 UTC (permalink / raw)
To: buildroot
In-Reply-To: <8c175f05-d579-7297-f53f-b5ca83fb1046@gmail.com>
Hello,
On Sun, 21 May 2017 11:26:05 +0800, Riko Ho wrote:
> How can I use mouse on qemu and startx ?
> I can run twm and xterm but mouse and keyboard in qemu is off ?
Please stop replying to unrelated e-mails when starting a new
discussion, you break e-mail threads by doing so.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] rpath and runpath
From: Thomas Petazzoni @ 2017-05-21 5:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <a76b77be-c123-81ff-69f7-26508465e3c4@ou.edu>
Hello,
On Sat, 20 May 2017 14:54:19 -0600, Steve Kenton wrote:
> Thanks for the information. Is this a long term project or something
> likely to happen in the next few releases?
I'm hoping to get something like this merge in the next few releases.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] A qemu and startx with mouse ?
From: Riko Ho @ 2017-05-21 3:26 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520152229.22752-1-Adamduskett@outlook.com>
Hello Everyone,
How can I use mouse on qemu and startx ?
I can run twm and xterm but mouse and keyboard in qemu is off ?
Here are some captures :
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170521/10ccceea/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpianjcmiebpeoge.png
Type: image/png
Size: 134231 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170521/10ccceea/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kgalipafngibiaek.png
Type: image/png
Size: 43120 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170521/10ccceea/attachment-0003.png>
^ permalink raw reply
* [Buildroot] rpath and runpath
From: Steve Kenton @ 2017-05-20 20:54 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170519212701.6824e4e3@free-electrons.com>
On 05/19/2017 01:27 PM, Thomas Petazzoni wrote:
> Hello,
>
> On Fri, 19 May 2017 07:55:24 -0600, Steve Kenton wrote:
>
>> The chrpath command can display and/or modify the (pre LD_LIBRARY_PATH)
>> rpath and (post LD_LIBRARY_PATH) runpath settings in the ELF executable.
>> As an example looking at the host and target /usr/sbin directory gives
>> the 95 lines of output below.
>>
>> I can see the reason for having the host executables use an RPATH to the
>> build directory, although I think a relative path using "$ORIGIN" at
>> link time which would allow the tree to be relocated would be even better.
> The problem with $ORIGIN is that it contains a $, and this means it
> easily gets expanded as a shell variable within Buildroot or inside the
> package build system. So our attempts to use $ORIGIN directly during
> the build have failed so far.
>
> Therefore, the approach we are moving towards is keeping the absolute
> rpath during the build, and at the very end of the build, do a
> post-processing step that replaces the absolute rpath with relative
> rpath using $ORIGIN.
>
>> However, some of the target target executables also have RPATH to the
>> build directory which makes no real sense to me and other have no RPATH
>> or RUNPATH at all.
> The plan is to get rid of them as well.
>
>> What is the purpose of this arrangement, or is it just a historical
>> accident?
> See the patch series from Wolfgang Grandegger at
> http://lists.busybox.net/pipermail/buildroot/2017-March/185714.html.
>
> Best regards,
>
> Thomas
Thanks for the information. Is this a long term project or something
likely to happen in the next few releases?
Steve Kenton
^ permalink raw reply
* [Buildroot] [PATCH v4 3/3] refpolicy: add ability to set default state.
From: Adam Duskett @ 2017-05-20 20:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520204143.18154-1-Adamduskett@outlook.com>
SELinux requires a config file in /etc/selinux which controls the state
of SELinux on the system.
This config file has two options set in it:
SELINUX which set's the state of selinux on boot.
SELINUXTYPE which should equal the name of the policy. In this case, the
default name is targeted.
This patch adds:
- A choice menu on Config.in that allows the user to select a default
SELinux state.
- A basic config file that will be installed to
target/etc/selinux and will set SELINUX= to the selected state.
Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
---
Changes v3 -> v4:
- Removed a trailing newline in refpolicy/config
- Removed Coverletter from patch set.
Changes v2 -> v3:
- No changes.
Changes v1 -> v2:
- Added cover letter explaining the new patch set.
package/refpolicy/Config.in | 26 ++++++++++++++++++++++++++
package/refpolicy/config | 8 ++++++++
package/refpolicy/refpolicy.mk | 6 ++++++
3 files changed, 40 insertions(+)
create mode 100644 package/refpolicy/config
diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in
index 9d4e0e6..3eb2a7f 100644
--- a/package/refpolicy/Config.in
+++ b/package/refpolicy/Config.in
@@ -42,4 +42,30 @@ config BR2_PACKAGE_REFPOLICY_VERSION
string "Policy version"
default "30"
+choice
+ prompt "SELinux default state"
+ default BR2_PACKAGE_REFPOLICY_STATE_PERMISSIVE
+
+config BR2_PACKAGE_REFPOLICY_STATE_ENFORCING
+ bool "Enforcing"
+ help
+ SELinux security policy is enforced
+
+config BR2_PACKAGE_REFPOLICY_STATE_PERMISSIVE
+ bool "Permissive"
+ help
+ SELinux prints warnings instead of enforcing
+
+config BR2_PACKAGE_REFPOLICY_STATE_DISABLED
+ bool "Disabled"
+ help
+ No SELinux policy is loaded
+endchoice
+
+config BR2_PACKAGE_REFPOLICY_STATE
+ string
+ default "permissive" if BR2_PACKAGE_REFPOLICY_STATE_PERMISSIVE
+ default "enforcing" if BR2_PACKAGE_REFPOLICY_STATE_ENFORCING
+ default "disabled" if BR2_PACKAGE_REFPOLICY_STATE_DISABLED
+
endif
diff --git a/package/refpolicy/config b/package/refpolicy/config
new file mode 100644
index 0000000..087297c
--- /dev/null
+++ b/package/refpolicy/config
@@ -0,0 +1,8 @@
+# This file controls the state of SELinux on the system.
+# SELINUX= can take one of these three values:
+# enforcing - SELinux security policy is enforced.
+# permissive - SELinux prints warnings instead of enforcing.
+# disabled - No SELinux policy is loaded.
+SELINUX=disabled
+
+SELINUXTYPE=targeted
diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk
index fa02b5a..94a0cf8 100644
--- a/package/refpolicy/refpolicy.mk
+++ b/package/refpolicy/refpolicy.mk
@@ -23,6 +23,7 @@ REFPOLICY_DEPENDENCIES += \
policycoreutils
REFPOLICY_PYINC = -I$(HOST_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)/site-packages
+REFPOLICY_NAME = "targeted"
# Cannot use multiple threads to build the reference policy
REFPOLICY_MAKE = \
@@ -48,6 +49,11 @@ endef
define REFPOLICY_INSTALL_TARGET_CMDS
$(REFPOLICY_MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
+ $(INSTALL) -m 0755 -D package/refpolicy/config \
+ $(TARGET_DIR)/etc/selinux/config
+
+ $(SED) "/^SELINUX=/c\SELINUX=$(BR2_PACKAGE_REFPOLICY_STATE)" \
+ $(TARGET_DIR)/etc/selinux/config
endef
$(eval $(generic-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v4 2/3] refpolicy add ability to specify policy version
From: Adam Duskett @ 2017-05-20 20:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520204143.18154-1-Adamduskett@outlook.com>
Refpolicy by default will build the highest version supported.
This may cause older kernels to not load the policy.
This patch adds a custom policy version string which is defaulted
to 30, which is the highest supported as of today.
Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
---
Changes v2 -> v3:
- Removed Coverletter from patch set.
Changes v1 -> v2:
- Added cover letter explaining the new patch set.
package/refpolicy/Config.in | 8 ++++++++
package/refpolicy/refpolicy.mk | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in
index a937055..9d4e0e6 100644
--- a/package/refpolicy/Config.in
+++ b/package/refpolicy/Config.in
@@ -35,3 +35,11 @@ comment "refpolicy needs a glibc toolchain w/ threads, dynamic library"
depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_USES_GLIBC
+
+if BR2_PACKAGE_REFPOLICY
+
+config BR2_PACKAGE_REFPOLICY_VERSION
+ string "Policy version"
+ default "30"
+
+endif
diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk
index 117e570..fa02b5a 100644
--- a/package/refpolicy/refpolicy.mk
+++ b/package/refpolicy/refpolicy.mk
@@ -32,7 +32,7 @@ REFPOLICY_MAKE = \
$(MAKE1)
define REFPOLICY_CONFIGURE_CMDS
- $(SED) "/OUTPUT_POLICY/c\OUTPUT_POLICY = 30" $(@D)/build.conf
+ $(SED) "/OUTPUT_POLICY/c\OUTPUT_POLICY = $(BR2_PACKAGE_REFPOLICY_VERSION)" $(@D)/build.conf
$(SED) "/MONOLITHIC/c\MONOLITHIC = y" $(@D)/build.conf
$(SED) "/NAME/c\NAME = targeted" $(@D)/build.conf
endef
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v4 1/3] refpolicy: new package
From: Adam Duskett @ 2017-05-20 20:41 UTC (permalink / raw)
To: buildroot
The patch is for adding selinux reference policy (refpolicy).
It is a complete SELinux policy that can be used as the system policy
for a variety of systems and used as the basis for creating other policies.
Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
---
Changes v3 -> v4:
- Split the REFPOLICY_MAKE define into several lines for formatting
cleanliness.
- Added TEST_TOOLCHAIN=$(HOST_DIR) to the REFPOLICY_MAKE define. This
fixes repfolicy from attempting to use selinux tools on the host
machine. Line 49 of the Makefile shows that userbindir, usersbindir,
and sbin dir are set when the TEST_TOOLCHAIN variable is passed to
the Makefile. TEST_TOOLCHAIN in this instance looks to match up properly
with the HOST_DIR, so pass HOST_DIR as TEST_TOOLCHAIN. This fix has been
tested with Debian 8 sid without SELinux installed.
- Removed Coverletter from patch set.
Changes v2 -> v3:
- Removed 0001-fc_sort-use-CFLAGS_FOR_BUILD.patch as this causes compilation
problems in the newer refpolicy and doesn't seem to be needed anymore.
Changes v1 -> v2:
- Added cover letter explaining the new patch set.
- Added 0001-fc_sort-use-CFLAGS_FOR_BUILD.patch from previous patch set.
- Readded dependencies from Bryce Ferguson's patch set.
- Readded comment in refpolicy.mk explaining why git submodules is needed.
package/Config.in | 1 +
package/refpolicy/Config.in | 37 ++++++++++++++++++++++++++++
package/refpolicy/refpolicy.hash | 2 ++
package/refpolicy/refpolicy.mk | 53 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 93 insertions(+)
create mode 100644 package/refpolicy/Config.in
create mode 100644 package/refpolicy/refpolicy.hash
create mode 100644 package/refpolicy/refpolicy.mk
diff --git a/package/Config.in b/package/Config.in
index 7991353..5e2fa8d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1757,6 +1757,7 @@ endmenu
menu "Security"
source "package/checkpolicy/Config.in"
source "package/policycoreutils/Config.in"
+ source "package/refpolicy/Config.in"
source "package/sepolgen/Config.in"
source "package/setools/Config.in"
endmenu
diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in
new file mode 100644
index 0000000..a937055
--- /dev/null
+++ b/package/refpolicy/Config.in
@@ -0,0 +1,37 @@
+config BR2_PACKAGE_REFPOLICY
+ bool "refpolicy"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # policycoreutils
+ depends on BR2_TOOLCHAIN_USES_GLIBC # policycoreutils
+ depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage
+ depends on BR2_TOOLCHAIN_USES_GLIBC # libsemanage
+ depends on !BR2_STATIC_LIBS #libsemanage
+ depends on !BR2_arc # libsemanage
+ select BR2_PACKAGE_POLICYCOREUTILS
+ select BR2_PACKAGE_BUSYBOX_SELINUX if BR2_PACKAGE_BUSYBOX
+ help
+ The SELinux Reference Policy project (refpolicy) is a
+ complete SELinux policy that can be used as the system
+ policy for a variety of systems and used as the basis
+ for creating other policies. Reference Policy was originally
+ based on the NSA example policy, but aims to accomplish
+ many additional goals.
+
+ The current refpolicy does not fully support Buildroot
+ and needs modifications to work with the default system
+ file layout. These changes should be added as patches to
+ the refpolicy that modify a single SELinux policy.
+
+ The refpolicy works for the most part in permissive mode. Only
+ the basic set of utilities are enabled in the example policy
+ config and some of the pathing in the policies is not correct.
+ Individual policies would need to be tweaked to get everything
+ functioning properly.
+
+ https://github.com/TresysTechnology/refpolicy
+
+comment "refpolicy needs a glibc toolchain w/ threads, dynamic library"
+ depends on !BR2_arc
+ depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
+ !BR2_TOOLCHAIN_USES_GLIBC
diff --git a/package/refpolicy/refpolicy.hash b/package/refpolicy/refpolicy.hash
new file mode 100644
index 0000000..7aeac41
--- /dev/null
+++ b/package/refpolicy/refpolicy.hash
@@ -0,0 +1,2 @@
+#From https://github.com/TresysTechnology/refpolicy/wiki/DownloadRelease
+sha256 08f9e2afc5e4939c23e56deeec7c47da029d7b85d82fb4ded01a36eb5da0651e refpolicy-RELEASE_2_20170204.tar.gz
diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk
new file mode 100644
index 0000000..117e570
--- /dev/null
+++ b/package/refpolicy/refpolicy.mk
@@ -0,0 +1,53 @@
+################################################################################
+#
+# refpolicy
+#
+################################################################################
+
+REFPOLICY_VERSION = RELEASE_2_20170204
+
+# Do not use GitHub helper as git submodules are needed for refpolicy-contrib
+REFPOLICY_SITE = https://github.com/TresysTechnology/refpolicy.git
+REFPOLICY_SITE_METHOD = git
+REFPOLICY_GIT_SUBMODULES = y # Required for refpolicy-contrib
+REFPOLICY_LICENSE = GPLv2
+REFPOLICY_LICENSE_FILES = COPYING
+REFPOLICY_INSTALL_STAGING = YES
+REFPOLICY_DEPENDENCIES += \
+ host-m4 \
+ host-checkpolicy \
+ host-policycoreutils \
+ host-setools \
+ host-gawk \
+ host-python \
+ policycoreutils
+
+REFPOLICY_PYINC = -I$(HOST_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)/site-packages
+
+# Cannot use multiple threads to build the reference policy
+REFPOLICY_MAKE = \
+ TEST_TOOLCHAIN=$(HOST_DIR) \
+ PYTHON="$(HOST_DIR)/usr/bin/python2" \
+ $(TARGET_MAKE_ENV) \
+ $(MAKE1)
+
+define REFPOLICY_CONFIGURE_CMDS
+ $(SED) "/OUTPUT_POLICY/c\OUTPUT_POLICY = 30" $(@D)/build.conf
+ $(SED) "/MONOLITHIC/c\MONOLITHIC = y" $(@D)/build.conf
+ $(SED) "/NAME/c\NAME = targeted" $(@D)/build.conf
+endef
+
+define REFPOLICY_BUILD_CMDS
+ $(REFPOLICY_MAKE) -C $(@D) bare conf DESTDIR=$(STAGING_DIR)
+endef
+
+define REFPOLICY_INSTALL_STAGING_CMDS
+ $(REFPOLICY_MAKE) -C $(@D) install-src install-headers \
+ DESTDIR=$(STAGING_DIR)
+endef
+
+define REFPOLICY_INSTALL_TARGET_CMDS
+ $(REFPOLICY_MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
+endef
+
+$(eval $(generic-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH 3/3] configs/orangepi_pc_defconfig: update bsp versions
From: Sergey Matyukevich @ 2017-05-20 17:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520170643.19786-1-geomatsi@gmail.com>
Bump u-boot version to 2017.03 and kernel version to 4.11.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
configs/orangepi_pc_defconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
index a3a5700f4..104c2f66f 100644
--- a/configs/orangepi_pc_defconfig
+++ b/configs/orangepi_pc_defconfig
@@ -1,14 +1,14 @@
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/orangepi-pc/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/orangepi/orangepi-pc/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11"
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-pc"
@@ -18,7 +18,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.11"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.03"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 2/3] configs/orangepi_one_defconfig: update bsp versions
From: Sergey Matyukevich @ 2017-05-20 17:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520170643.19786-1-geomatsi@gmail.com>
Bump u-boot version to 2017.03 and kernel version to 4.11.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
configs/orangepi_one_defconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs/orangepi_one_defconfig b/configs/orangepi_one_defconfig
index 925ba9c45..bc3216389 100644
--- a/configs/orangepi_one_defconfig
+++ b/configs/orangepi_one_defconfig
@@ -1,14 +1,14 @@
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
BR2_TARGET_GENERIC_HOSTNAME="OrangePi_One"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi One"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/orangepi-one/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/orangepi/orangepi-one/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11"
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-one"
@@ -18,7 +18,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.11"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.03"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/3] configs/linksprite_pcduino_defconfig: update bsp versions
From: Sergey Matyukevich @ 2017-05-20 17:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520170643.19786-1-geomatsi@gmail.com>
Bump u-boot version to 2017.03 and kernel version to 4.11.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
configs/linksprite_pcduino_defconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configs/linksprite_pcduino_defconfig b/configs/linksprite_pcduino_defconfig
index fb82714e9..e736e4806 100644
--- a/configs/linksprite_pcduino_defconfig
+++ b/configs/linksprite_pcduino_defconfig
@@ -17,13 +17,13 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/linksprite/pcduino/post-image.sh"
# For kernel modules autoloading
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
-# Linux headers same as kernel, a 4.9 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
+# Linux headers same as kernel, a 4.11 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11"
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun4i-a10-pcduino"
@@ -37,7 +37,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.11"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.03"
BR2_TARGET_UBOOT_USE_DEFCONFIG=y
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Linksprite_pcDuino"
BR2_TARGET_UBOOT_NEEDS_DTC=y
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 0/3] Bump bsp versions for linksprite and orange-pi
From: Sergey Matyukevich @ 2017-05-20 17:06 UTC (permalink / raw)
To: buildroot
Hi all,
These patches update bsp versions for pcduino and orange-pi boards:
- bump u-boot to 2017.03
- bump kernel to 4.11
P.S.
I tested builds on orange-pi-one and pcduino-lite-wifi boards.
However I don't have orange-pi-pc in my board zoo,
so build test only.
Regards,
Sergey
linksprite_pcduino_defconfig | 8 ++++----
orangepi_one_defconfig | 6 +++---
orangepi_pc_defconfig | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
^ permalink raw reply
* [Buildroot] [PATCH 2/2] package/sngrep: fix static build with gnutls
From: Romain Naour @ 2017-05-20 16:27 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520162751.30809-1-romain.naour@gmail.com>
Fixes:
http://autobuild.buildroot.net/results/f7f/f7fb42d3742f6f01000a0d181e0c785640284405
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
---
...re.ac-switch-to-pkg-config-to-find-gnutls.patch | 60 +++++++++++++++++++
...e-libgcrypt-config-to-link-with-gpg-error.patch | 69 ++++++++++++++++++++++
package/sngrep/sngrep.mk | 3 +-
3 files changed, 131 insertions(+), 1 deletion(-)
create mode 100644 package/sngrep/0003-configure.ac-switch-to-pkg-config-to-find-gnutls.patch
create mode 100644 package/sngrep/0004-use-libgcrypt-config-to-link-with-gpg-error.patch
diff --git a/package/sngrep/0003-configure.ac-switch-to-pkg-config-to-find-gnutls.patch b/package/sngrep/0003-configure.ac-switch-to-pkg-config-to-find-gnutls.patch
new file mode 100644
index 0000000..67b21a2
--- /dev/null
+++ b/package/sngrep/0003-configure.ac-switch-to-pkg-config-to-find-gnutls.patch
@@ -0,0 +1,60 @@
+From b0428b0279b03d88520b79b651f692d9aea65f8c Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Sat, 20 May 2017 15:00:16 +0200
+Subject: [PATCH] configure.ac: switch to pkg-config to find gnutls.
+
+Like for openssl in patch [1] and for the same reason,
+use pkg-config to find gnutls.
+
+gnutls can be linked with :
+ -lintl -lgmp -lunistring -lhogweed -lnettle -ltasn1 -lz
+
+Fixes:
+http://autobuild.buildroot.net/results/f7f/f7fb42d3742f6f01000a0d181e0c785640284405
+
+Upstream: pending [2]
+
+[1] 2563b016ae16cb8cd39d7181917699ae82772296
+[2] https://github.com/irontec/sngrep/pull/188
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ configure.ac | 5 +++++
+ src/Makefile.am | 2 ++
+ 2 files changed, 7 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 0255ad2..09271b2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -106,9 +106,14 @@ AC_ARG_WITH([gnutls],
+ )
+
+ AS_IF([test "x$WITH_GNUTLS" == "xyes"], [
++
++ m4_ifdef([PKG_CHECK_MODULES], [
++ PKG_CHECK_MODULES([LIBGNUTLS], [gnutls])
++ ], [
+ AC_CHECK_LIB([gnutls], [gnutls_init], [], [
+ AC_MSG_ERROR([ You need to have gnutls installed to compile sngrep])
+ ])
++ ])
+
+ AC_CHECK_LIB([gcrypt], [gcry_md_map_name], [], [
+ AC_MSG_ERROR([ You need to have libgcrypt installed to compile sngrep])
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 3a471b7..e5b34fe 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -8,6 +8,8 @@ sngrep_SOURCES+=capture_eep.c
+ endif
+ if WITH_GNUTLS
+ sngrep_SOURCES+=capture_gnutls.c
++sngrep_CFLAGS+=$(LIBGNUTLS_CFLAGS)
++sngrep_LDADD+=$(LIBGNUTLS_LIBS)
+ endif
+ if WITH_OPENSSL
+ sngrep_SOURCES+=capture_openssl.c
+--
+2.9.4
+
diff --git a/package/sngrep/0004-use-libgcrypt-config-to-link-with-gpg-error.patch b/package/sngrep/0004-use-libgcrypt-config-to-link-with-gpg-error.patch
new file mode 100644
index 0000000..92dc8d1
--- /dev/null
+++ b/package/sngrep/0004-use-libgcrypt-config-to-link-with-gpg-error.patch
@@ -0,0 +1,69 @@
+From 654379f683bf846ace0b69a1e78864ba24462f78 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Sat, 20 May 2017 17:00:56 +0200
+Subject: [PATCH] use libgcrypt-config to link with gpg-error
+
+gcrypt is linked with libgpg-error, use libgcrypt-config to find
+this dependency. (libgcrypt doesn't provide a .pc file)
+
+libgcrypt-config --libs
+[...] -lgcrypt -lgpg-error
+
+Upstream: pending [1]
+
+[1] https://github.com/irontec/sngrep/pull/188
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ configure.ac | 18 +++++++++++++++---
+ src/Makefile.am | 4 ++--
+ 2 files changed, 17 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 09271b2..fe28cef 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -115,10 +115,22 @@ AS_IF([test "x$WITH_GNUTLS" == "xyes"], [
+ ])
+ ])
+
+- AC_CHECK_LIB([gcrypt], [gcry_md_map_name], [], [
+- AC_MSG_ERROR([ You need to have libgcrypt installed to compile sngrep])
+- ])
++ AC_PATH_PROG([LIBGCRYPT_CONFIG],[libgcrypt-config],[no])
++ if test "x${LIBGCRYPT_CONFIG}" = "xno"; then
++ AC_MSG_FAILURE([libgcrypt-config not found in PATH])
++ fi
++ AC_CHECK_LIB(
++ [gcrypt],
++ [gcry_md_map_name],
++ [LIBGCRYPT_CFLAGS="`${LIBGCRYPT_CONFIG} --cflags`"
++ LIBGCRYPT_LIBS="`${LIBGCRYPT_CONFIG} --libs`"
++ ],
++ [AC_MSG_ERROR([ You need to have libgcrypt installed to compile sngrep])],
++ [`${LIBGCRYPT_CONFIG} --libs --cflags`]
++ )
+ AC_DEFINE([WITH_GNUTLS],[],[Compile With GnuTLS compatibility])
++ AC_SUBST(LIBGCRYPT_CFLAGS)
++ AC_SUBST(LIBGCRYPT_LIBS)
+ ], [])
+
+ ####
+diff --git a/src/Makefile.am b/src/Makefile.am
+index e5b34fe..b338273 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -8,8 +8,8 @@ sngrep_SOURCES+=capture_eep.c
+ endif
+ if WITH_GNUTLS
+ sngrep_SOURCES+=capture_gnutls.c
+-sngrep_CFLAGS+=$(LIBGNUTLS_CFLAGS)
+-sngrep_LDADD+=$(LIBGNUTLS_LIBS)
++sngrep_CFLAGS+=$(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS)
++sngrep_LDADD+=$(LIBGNUTLS_LIBS) $(LIBGCRYPT_LIBS)
+ endif
+ if WITH_OPENSSL
+ sngrep_SOURCES+=capture_openssl.c
+--
+2.9.4
+
diff --git a/package/sngrep/sngrep.mk b/package/sngrep/sngrep.mk
index 7ae271f..809c5db 100644
--- a/package/sngrep/sngrep.mk
+++ b/package/sngrep/sngrep.mk
@@ -12,7 +12,8 @@ SNGREP_AUTORECONF = YES
SNGREP_DEPENDENCIES = libpcap ncurses host-pkgconf
SNGREP_CONF_ENV += \
- $(if $(BR2_STATIC_LIBS),LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`")
+ $(if $(BR2_STATIC_LIBS),LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`") \
+ LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
# our ncurses wchar support is not properly detected
SNGREP_CONF_OPTS += --disable-unicode
--
2.9.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] package/sngrep: add libgcrypt missing dependencies
From: Romain Naour @ 2017-05-20 16:27 UTC (permalink / raw)
To: buildroot
Even if libgcrypt is selected at Kconfig level, it's missing from
Makefile level.
Fixes:
http://autobuild.buildroot.net/results/36c/36c28e7e49b31ed2398a67db2e9b08e3aad5a3ee
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
---
package/sngrep/sngrep.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/sngrep/sngrep.mk b/package/sngrep/sngrep.mk
index 74b05b1..7ae271f 100644
--- a/package/sngrep/sngrep.mk
+++ b/package/sngrep/sngrep.mk
@@ -23,7 +23,7 @@ SNGREP_DEPENDENCIES += openssl
SNGREP_CONF_OPTS += --with-openssl --without-gnutls
# gnutls support also requires libgcrypt
else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
-SNGREP_DEPENDENCIES += gnutls
+SNGREP_DEPENDENCIES += gnutls libgcrypt
SNGREP_CONF_OPTS += --with-gnutls --without-openssl
else
SNGREP_CONF_OPTS += --without-gnutls --without-openssl
--
2.9.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] flex: remove disable-flex-binary-and-doc patch.
From: Thomas Petazzoni @ 2017-05-20 15:38 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170520151752.22320-1-Adamduskett@outlook.com>
Hello,
On Sat, 20 May 2017 11:17:52 -0400, Adam Duskett wrote:
> Currently the flex makefile blindly links flex++ to flex in
> host/usr/bin, but because of the patch
> 0001-flex-disable-flex-binary-and-documentation.patch, this binary no
> longer exists, so it's a invalid simlink to begin with.
>
> Furthermore, host-checkpolicy requires host/usr/bin/flex to be present,
> and will fail with a "host/usr/bin/flex: Command not found" error.
>
> The patch itself says:
> "Since we prevent the flex binary to be built, we also need to prevent
> the documentation to be built, otherwise it will fail"
>
> Since the flex binary needs to be built, this patch is no longer necessary.
>
> Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
There is indeed a bug in commit
e9a5f5843d0685c69b3c379b91bb9cce8864b8a2 in that it no longer
builds/installs the flex binary, for both the host and target variant.
We do want to build the flex binary when building host-flex (since it's
needed as a build dependency for other packages), but we do *NOT* want
to build the flex binary when building the target flex, because
building the flex binary is not possible on noMMU platforms.
Bottom line: e9a5f5843d0685c69b3c379b91bb9cce8864b8a2 is bogus, but
your patch is also bogus.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 1/1] checkpolicy: remove -lfl from LDLIBS patch.
From: Adam Duskett @ 2017-05-20 15:22 UTC (permalink / raw)
To: buildroot
from: https://patchwork.kernel.org/patch/9450549/
When building checkpolicy/test, the linker reports the following error:
cc dispol.o -lfl /usr/src/selinux/DESTDIR/usr/lib/libsepol.a
-L/usr/src/selinux/DESTDIR/usr/lib -o dispol
/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libfl.so:
undefined reference to `yylex'
collect2: error: ld returned 1 exit status
According to flex documentation
(https://github.com/westes/flex/blob/master/doc/flex.texi), -lfl is used
to provide an implementation for yywrap(). However every flex file now
uses "%option noyywrap", which makes -lfl no longer mandatory. Remove
this option from checkpolicy Makefiles.
The patch is slightly modified to remove the /checkpolicy path.
Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
---
.../0001-checkpolicy-remove-lfl-from-LDLIBS.patch | 58 ++++++++++++++++++++++
1 file changed, 58 insertions(+)
create mode 100644 package/checkpolicy/0001-checkpolicy-remove-lfl-from-LDLIBS.patch
diff --git a/package/checkpolicy/0001-checkpolicy-remove-lfl-from-LDLIBS.patch b/package/checkpolicy/0001-checkpolicy-remove-lfl-from-LDLIBS.patch
new file mode 100644
index 0000000..c0b6de8
--- /dev/null
+++ b/package/checkpolicy/0001-checkpolicy-remove-lfl-from-LDLIBS.patch
@@ -0,0 +1,58 @@
+From 4d215a1e8111e14f6074f7abe2559800b6f4838c Mon Sep 17 00:00:00 2001
+From: Adam Duskett <Adamduskett@outlook.com>
+Date: Sat, 20 May 2017 11:01:08 -0400
+Subject: [PATCH] checkpolicy: remove -lfl from LDLIBSlogin
+
+When building checkpolicy/test, the linker reports the following error:
+cc dispol.o -lfl /usr/src/selinux/DESTDIR/usr/lib/libsepol.a
+-L/usr/src/selinux/DESTDIR/usr/lib -o dispol
+/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libfl.so:
+undefined reference to `yylex'
+collect2: error: ld returned 1 exit status
+
+According to flex documentation
+(https://github.com/westes/flex/blob/master/doc/flex.texi), -lfl is used
+to provide an implementation for yywrap(). However every flex file now
+uses "%option noyywrap", which makes -lfl no longer mandatory. Remove
+this option from checkpolicy Makefiles.
+
+
+Backported from:
+https://patchwork.kernel.org/patch/9450549/
+
+Original author: Nicolas Iooss <nicolas.iooss@m4x.org>
+Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
+---
+ Makefile | 2 +-
+ test/Makefile | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 53a3074..875cf00 100644
+--- a/Makefile
++++ b/Makefile
+@@ -20,7 +20,7 @@ CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \
+ CHECKPOLOBJS = $(CHECKOBJS) checkpolicy.o
+ CHECKMODOBJS = $(CHECKOBJS) checkmodule.o
+
+-LDLIBS=$(LIBDIR)/libsepol.a -lfl
++LDLIBS=$(LIBDIR)/libsepol.a
+
+ GENERATED=lex.yy.c y.tab.c y.tab.h
+
+diff --git a/test/Makefile b/test/Makefile
+index c2367e1..e7bd717 100644
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -9,7 +9,7 @@ INCLUDEDIR ?= $(PREFIX)/include
+ CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
+ override CFLAGS += -I$(INCLUDEDIR)
+
+-LDLIBS=-lfl $(LIBDIR)/libsepol.a -L$(LIBDIR)
++LDLIBS=$(LIBDIR)/libsepol.a -L$(LIBDIR)
+
+ all: dispol dismod
+
+--
+2.9.3
+
--
2.9.3
^ 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