buildroot.git
7 years agouboot: fix custom patch dir legacy handling
Danomi Manchego [Tue, 20 Dec 2016 03:10:12 +0000 (22:10 -0500)]
uboot: fix custom patch dir legacy handling

Commit 3e3fef39e71ed0426130b36aa00e4630ebb537ae added new and improved
patch handling, with BR2_TARGET_UBOOT_PATCH.  This was in addition to
the existing BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR option, that only
handled directories.

Later, commit 21b25d28fc7af3bb1b2c55e4a46e0d067ebc0081 moved the old
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR to legacy options.  But on the way,
bad things happened:

* The original option was a string, while the one added to Config.in.legacy
is a bool.  This results in a warning from defconfigs that actually define
the old BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR (because a string is not a valid
value for a bool), but it does not result in the legacy option being
selected.  Consequently, BR2_LEGACY is not selected either.

* The advice at the top of Config.in.legacy to add a hidden WRAP option
to select BR2_LEGACY was not heeded.

* The advice at the top of Config.in.legacy to use the old string
option as the default for the new string option was not heeded.  In
this case, the variable was not just renamed, as the old option
supported directories only, while the new one supports files too.
But since the old option is a subset of the new option, it can still
be used to set a useful default.

So, this mod turns the legacy option back to a string, adds a hidden
bool WRAP option to set BR2_LEGACY when the string is non emoty, and
uses the legacy option to set the default for the new option.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolegacy/sqlite: add "sqlite" to legacy option name
Danomi Manchego [Tue, 20 Dec 2016 03:12:32 +0000 (22:12 -0500)]
legacy/sqlite: add "sqlite" to legacy option name

The "command-line editing support was updated" does not indicate
the package name, unlike the other legacy options.  This commit
adds "sqlite", to be nicer.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomkusers: fix spelling in intro comment
Danomi Manchego [Tue, 20 Dec 2016 03:13:16 +0000 (22:13 -0500)]
mkusers: fix spelling in intro comment

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/website/news.html: add 2016.11 announcement link
Peter Korsgaard [Mon, 19 Dec 2016 22:48:12 +0000 (23:48 +0100)]
docs/website/news.html: add 2016.11 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibupnp: add upstream security fix for CVE-2016-8863
Peter Korsgaard [Mon, 19 Dec 2016 13:13:24 +0000 (14:13 +0100)]
libupnp: add upstream security fix for CVE-2016-8863

Fix out-of-bound access in create_url_list()

If there is an invalid URL in URLS->buf after a valid one, uri_parse is
called with out pointing after the allocated memory. As uri_parse writes
to *out before returning an error the loop in create_url_list must be
stopped early to prevent an out-of-bound access.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibupnp: add upstream security fix for CVE-2016-6255
Peter Korsgaard [Mon, 19 Dec 2016 13:13:23 +0000 (14:13 +0100)]
libupnp: add upstream security fix for CVE-2016-6255

If there's no registered handler for a POST request, the default behaviour
is to write it to the filesystem. Several million deployed devices appear
to have this behaviour, making it possible to (at least) store arbitrary
data on them. Add a configure option that enables this behaviour, and change
the default to just drop POSTs that aren't directly handled.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-twisted: bump to version 16.6.0
Yegor Yefremov [Mon, 19 Dec 2016 08:22:36 +0000 (09:22 +0100)]
python-twisted: bump to version 16.6.0

Add two new dependencies:

python-contstantly: runtime only
python-incremental: both runtime and build-time dependency

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-zope-interface: bump to version 4.3.3
Yegor Yefremov [Mon, 19 Dec 2016 08:22:35 +0000 (09:22 +0100)]
python-zope-interface: bump to version 4.3.3

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-constantly: new package
Yegor Yefremov [Mon, 19 Dec 2016 08:22:34 +0000 (09:22 +0100)]
python-constantly: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/google-breakpad: add C++11 dependency on the host variant
Romain Naour [Mon, 19 Dec 2016 20:25:25 +0000 (21:25 +0100)]
package/google-breakpad: add C++11 dependency on the host variant

When google-breakpad has been updated to the latest version, the C++11
dependency has been added for the target variant only.
The C++11 dependency is also required for the host variant.

Fixes:
http://autobuild.buildroot.org/results/dce/dcecb17116c0cf400c98f0052c9bf71f15d0d398

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/weston: fix build on ancient glibc
Yann E. MORIN [Mon, 19 Dec 2016 17:22:00 +0000 (18:22 +0100)]
package/weston: fix build on ancient glibc

Fix build with ancient glibces.

Fixes:
    http://autobuild.buildroot.net/results/bce/bcecdbbce4a99eb1e9bfbf519857bf94d8952037/

[Peter: patches configure.ac, so add WESTON_AUTORECONF = YES]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosamba4: security bump to version 4.4.8
Gustavo Zacarias [Mon, 19 Dec 2016 19:50:38 +0000 (16:50 -0300)]
samba4: security bump to version 4.4.8

Fixes:
CVE-2016-2123 - Samba NDR Parsing ndr_pull_dnsp_name Heap-based Buffer
Overflow Remote Code Execution Vulnerability.
CVE-2016-2125 - Unconditional privilege delegation to Kerberos servers
in trusted realms.
CVE-2016-2126 - Flaws in Kerberos PAC validation can trigger privilege
elevation.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoopenssh: security bump to version 7.4p1
Gustavo Zacarias [Mon, 19 Dec 2016 16:27:51 +0000 (13:27 -0300)]
openssh: security bump to version 7.4p1

Fixes:
CVE-2016-10009 - ssh-agent(1): Will now refuse to load PKCS#11 modules
from paths outside a trusted whitelist
CVE-2016-10010 - sshd(8): When privilege separation is disabled,
forwarded Unix-domain sockets would be created by sshd(8) with the
privileges of 'root'
CVE-2016-10011 - sshd(8): Avoid theoretical leak of host private key
material to privilege-separated child processes via realloc()
CVE-2016-10012 - sshd(8): The shared memory manager used by
pre-authentication compression support had a bounds checks that could be
elided by some optimising compilers

http://seclists.org/oss-sec/2016/q4/708

Drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-pathvalidate: bump to version 0.9.4
Yegor Yefremov [Mon, 19 Dec 2016 12:22:49 +0000 (13:22 +0100)]
python-pathvalidate: bump to version 0.9.4

Add new runtime dependency: BR2_PACKAGE_PYTHON_MBSTRDECODER.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-xlsxwriter: bump to version 0.9.4
Yegor Yefremov [Mon, 19 Dec 2016 12:22:48 +0000 (13:22 +0100)]
python-xlsxwriter: bump to version 0.9.4

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotoolchain: Bump ARC tools to arc-2016.09 release
Zakharov Vlad [Mon, 19 Dec 2016 12:11:57 +0000 (15:11 +0300)]
toolchain: Bump ARC tools to arc-2016.09 release

As described at:
4520524ba055706236db9f00dd79f1b2e2e87fde
this commit continues a series of updates of ARC tools.

This time we're updating tools to arc-2016.09 release version.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocan-utils: add dependency on NPTL
Yegor Yefremov [Mon, 19 Dec 2016 08:52:47 +0000 (09:52 +0100)]
can-utils: add dependency on NPTL

canfdtest.c assumes that clock_nanosleep() is always available. But it
is only available with NPTL. Since it unconditionally uses it, we add
dependency on NPTL.

Fixes:
http://autobuild.buildroot.net/results/fd97aa57747a546c799caf094aafe0d1d1225863
http://autobuild.buildroot.net/results/1313f91df134035159e677c6b4a63838c75d074c
http://autobuild.buildroot.net/results/a1ac495c5e38e5d0777c431fc6a2e4b5bff7c2ad
http://autobuild.buildroot.net/results/978bee40049896bd6e093fa31c5eb7673e05a6b8
http://autobuild.buildroot.net/results/c692e96de1b4fdadf720ead8249a44c21fe945f1

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogmp: bump to version 6.1.2
Gustavo Zacarias [Sun, 18 Dec 2016 22:28:30 +0000 (19:28 -0300)]
gmp: bump to version 6.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoBeagleBoard X15: new board
Theo Debrouwere [Sun, 18 Dec 2016 21:35:26 +0000 (22:35 +0100)]
BeagleBoard X15: new board

This configuration provides a basic setup for using Buildroot
to create a sd-card image a BeagleBoard X15 board.

[Peter: use 512M ext4 partition, linux 4.9 and u-boot 2016.11]
Signed-off-by: Theo Debrouwere <Theo.Debrouwere@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozlib: update homepage link
Baruch Siach [Sun, 18 Dec 2016 20:15:58 +0000 (22:15 +0200)]
zlib: update homepage link

Avoid redirect.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoxl2tp: bump to version 1.3.8
Baruch Siach [Sun, 18 Dec 2016 20:06:53 +0000 (22:06 +0200)]
xl2tp: bump to version 1.3.8

Drop obsolete patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoredis: bump to version 3.2.6
Gustavo Zacarias [Sun, 18 Dec 2016 13:43:51 +0000 (10:43 -0300)]
redis: bump to version 3.2.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodebianutils: bump to version 4.8.1
Gustavo Zacarias [Sun, 18 Dec 2016 13:43:42 +0000 (10:43 -0300)]
debianutils: bump to version 4.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopoppler: bump to version 0.50.0
Gustavo Zacarias [Sun, 18 Dec 2016 13:43:31 +0000 (10:43 -0300)]
poppler: bump to version 0.50.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agostrace: bump to version 4.15
Gustavo Zacarias [Sun, 18 Dec 2016 13:43:05 +0000 (10:43 -0300)]
strace: bump to version 4.15

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosquid: security bump to version 3.5.23
Gustavo Zacarias [Sun, 18 Dec 2016 13:42:53 +0000 (10:42 -0300)]
squid: security bump to version 3.5.23

Fixes:
CVE-2016-10002: http://www.squid-cache.org/Advisories/SQUID-2016_11.txt
CVE-2016-10003: http://www.squid-cache.org/Advisories/SQUID-2016_10.txt

[Peter: add CVE references]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobmon: bump to version 4.0
Gustavo Zacarias [Sun, 18 Dec 2016 13:42:38 +0000 (10:42 -0300)]
bmon: bump to version 4.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoxfsprogs: remove comment about uClibc specific options
Thomas Petazzoni [Sun, 18 Dec 2016 14:58:30 +0000 (15:58 +0100)]
xfsprogs: remove comment about uClibc specific options

xfsprogs now builds fine with Buildroot default uClibc configuration, so
there is no point in having a specific comment: we don't have this for
any other package, and it's basically impossible to maintain.

UCLIBC_SV4_DEPRECATED is still disabled in the Buildroot default uClibc
configuration, but xfsprogs builds fine without it.

UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is now enabled in the Buildroot default
uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxfsprogs: bump to version 4.8.0
Thomas Petazzoni [Sun, 18 Dec 2016 14:56:47 +0000 (15:56 +0100)]
xfsprogs: bump to version 4.8.0

Switch to the new upstream site on kernel.org, and to a .tar.xz
tarball. The patches are simply refreshed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxfsprogs: turn patches into proper Git patches
Thomas Petazzoni [Sun, 18 Dec 2016 14:39:47 +0000 (15:39 +0100)]
xfsprogs: turn patches into proper Git patches

The first patch was Git formatted, but additional information at the top
made it unapplicable by Git, fix this.

The second patch was not Git formatted at all.

Since upstream uses Git, it makes sense to have Git formatted patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agooprofile: needs libpfm4 on powerpc64(le)
Thomas Petazzoni [Sun, 18 Dec 2016 14:26:59 +0000 (15:26 +0100)]
oprofile: needs libpfm4 on powerpc64(le)

oprofile already needed libpfm4 for PowerPC, but in fact it also needs
it for PowerPC64 and PowerPC64le, so this commit adds a
BR2_PACKAGE_OPROFILE_NEEDS_LIBPFM4 hidden option and uses it to decide
if libpfm4 is needed or not.

Fixes:

  http://autobuild.buildroot.net/results/d19caeb445b7040cbd2e4ff62b7db9986e84b6ab/ (powerpc64le)
  http://autobuild.buildroot.net/results/66dd4f7ff635915a506f96d1d8115ac48cca0c6c/ (powerpc64)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoodroid-mali: add support for x11 egl implementation
Dagg Stompler [Tue, 25 Oct 2016 17:54:17 +0000 (20:54 +0300)]
odroid-mali: add support for x11 egl implementation

Allow installation of the x11 egl support required for the X11 ddx
driver. The BR2_PACKAGE_ODROID_MALI_X11 hidden option will be selected
by the X11 DDX driver.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
[Thomas:
 - select BR2_PACKAGE_LIBDRM,
   BR2_PACKAGE_XLIB_{LIBX11,LIBXFIXES,LIBXEXT,LIBXDAMAGE} from
   BR2_PACKAGE_ODROID_MALI_X11 in order to avoid numerous "if" in
   Config.in
 - Use a single assignment to ODROID_MALI_DEPENDENCIES to add the
   dependencies for libdrm and the X11 libraries.
 - Introduce ODROID_MALI_HEADERS_SUBDIR and ODROID_MALI_LIBS_SUBDIR to
   clarify the location of the headers and libraries for the selected
   architecture/display backend in the Mali tree.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxorg-server: add dependency on dri2proto when systemd is built
Fabien Parent [Tue, 29 Nov 2016 14:36:58 +0000 (15:36 +0100)]
xorg-server: add dependency on dri2proto when systemd is built

When systemd is selected, xorg-server must have config-udev-kms
enabled in order to build correctly, but it won't be the case if
BR2_PACKAGE_XPROTO_DRI2PROTO is not part of the build.

Add BR2_PACKAGE_XPROTO_DRI2PROTO as a dependency of xorg-xserver
only when systemd is part of the build.

Fixes bug #9486.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xlib_libXpm: bump version to 3.5.12
Bernd Kuhls [Sun, 18 Dec 2016 13:04:20 +0000 (14:04 +0100)]
package/x11r7/xlib_libXpm: bump version to 3.5.12

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-geode: bump version to 2.11.19
Bernd Kuhls [Sun, 18 Dec 2016 13:04:19 +0000 (14:04 +0100)]
package/x11r7/xdriver_xf86-video-geode: bump version to 2.11.19

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-dummy: bump version to 0.3.8
Bernd Kuhls [Sun, 18 Dec 2016 13:04:18 +0000 (14:04 +0100)]
package/x11r7/xdriver_xf86-video-dummy: bump version to 0.3.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 0.23.0
Bernd Kuhls [Sun, 18 Dec 2016 13:04:17 +0000 (14:04 +0100)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.23.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xapp_sessreg: fix musl build
Bernd Kuhls [Sun, 18 Dec 2016 12:39:41 +0000 (13:39 +0100)]
package/x11r7/xapp_sessreg: fix musl build

Fixes
http://autobuild.buildroot.net/results/717/717bd4a2ee4ba62ed9245ec22166a3c63ce1a56d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Sun, 18 Dec 2016 12:32:18 +0000 (09:32 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Yegor Yefremov for the can-utils package
Yegor Yefremov [Sun, 18 Dec 2016 12:00:26 +0000 (13:00 +0100)]
DEVELOPERS: add Yegor Yefremov for the can-utils package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolxc: enable lua if package is selected
Fabrice Fontaine [Sun, 18 Dec 2016 11:04:52 +0000 (12:04 +0100)]
lxc: enable lua if package is selected

lua and python bindings were removed with the same patch:
https://patchwork.ozlabs.org/patch/367361. There is a real issue with
python but not with lua so enable it if lua is selected

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
[Thomas: simplify value passed to --with-lua-pc.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolxc: bump to version 2.0.6
Fabrice Fontaine [Sat, 17 Dec 2016 21:20:47 +0000 (22:20 +0100)]
lxc: bump to version 2.0.6

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxserver_xorg-server: fix dependency with dbus
Jérôme Pouiller [Mon, 14 Nov 2016 13:22:38 +0000 (14:22 +0100)]
xserver_xorg-server: fix dependency with dbus

If dbus and udev are enabled. Xorg link with both:

$ arm-linux-readelf -d usr/bin/X | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libdbus-1.so.3]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libudev.so.1]
[...]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/google-breakpad: bump to the latest version
Romain Naour [Sun, 27 Nov 2016 16:16:40 +0000 (17:16 +0100)]
package/google-breakpad: bump to the latest version

This version add the C++11 support and microdump.

Add the C++11 dependency since it's now mendatory.
Use the same linux-syscall-support version as the one defined by DEPS
file in the Google-breakpad sources.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pascal Huerst <pascal.huerst@gmail.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
[Thomas: propagate the C++11 related dependency to
BR2_GOOGLE_BREAKPAD_ENABLE.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/google-breakpad: switch to the new git repository
Romain Naour [Sun, 27 Nov 2016 16:16:39 +0000 (17:16 +0100)]
package/google-breakpad: switch to the new git repository

Google-breakpad moved to a new git repository last year and the old svn
repository has been deleted. So, the Buildroot archive mirror is used.

svn: E160013: Unable to connect to a repository at URL 'http://google-breakpad.googlecode.com/svn/trunk'
svn: E160013: '/svn/trunk' path not found
--2016-11-27 10:42:34--  http://sources.buildroot.net/google-breakpad-1373.tar.gz

Swith to the git repository using the git hash corresponding to the
1373 svn revision. But there is an issue with the third parties...
Some of them are not bundled with Google-breakpad or as git submodule.
Even worst, the google-breakpad source code use #include
"third_party/lss" directly, so we can't provide missing third parties
with an external package.

That's why the linux-syscall-support package was added to Buildroot,
it provide the missing linux_syscall_support.h file which is must be
copied to src/third_party/lss/ in the Google-breakpad sources.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pascal Huerst <pascal.huerst@gmail.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Romain Naour for linux-syscall-support
Thomas Petazzoni [Sat, 17 Dec 2016 15:13:38 +0000 (16:13 +0100)]
DEVELOPERS: add Romain Naour for linux-syscall-support

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/linux-syscall-support: new package
Romain Naour [Sun, 27 Nov 2016 16:16:38 +0000 (17:16 +0100)]
package/linux-syscall-support: new package

This package provide a header file which will be used by
Google-breakpad package. This avoid using depot-tools script to fetch
all third parties used by Google-breakpad.

Use the version corresponding to the Google-breakpad svn revision 1373:
http://linux-syscall-support.googlecode.com/svn/trunk/lss@24 829466d3-f3f5-3ae4-62ad-de35cf9bba21

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pascal Huerst <pascal.huerst@gmail.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
[Thomas: directly implement installation in the install commands, rather
than using post-install hooks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: ensured TARGET_AR is used during build
Jordan Yelloz [Mon, 12 Dec 2016 18:13:54 +0000 (10:13 -0800)]
lvm2: ensured TARGET_AR is used during build

The same way TARGET_CC was not being used during the build, TARGET_AR
was not used either. Now TARGET_CONFIGURE_OPTS is injected into
LVM2_MAKE_ENV which should include all the toolchain substitutions.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-generic: run $(PKG)_PRE_RSYNC_HOOKS before checking for the existence of $(SRCDIR)
Tal Shorer [Sun, 11 Dec 2016 18:12:45 +0000 (20:12 +0200)]
pkg-generic: run $(PKG)_PRE_RSYNC_HOOKS before checking for the existence of $(SRCDIR)

This will allow packages to define their pre-rsync hooks which will be
guaranteed to run even if the source is missing.

Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "package/aespipe: fix host compile"
Thomas Petazzoni [Sat, 17 Dec 2016 14:56:21 +0000 (15:56 +0100)]
Revert "package/aespipe: fix host compile"

This reverts commit cb33a7d6bd89306635749b497cd004e986bcd7e5, as it
causes build failures on platforms where gcc does not understand the
"-no-pie" option.

Fixes:

  http://autobuild.buildroot.net/results/51be9526300b3d03e2e304dec9cae953f2f59de4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: check that a repo and version is defined when using a custom repo
Christian Kellermann [Mon, 12 Dec 2016 11:27:37 +0000 (12:27 +0100)]
linux: check that a repo and version is defined when using a custom repo

If not set the system will use an empty string which will result in
download errors for 'linux-.tar.gz' packages.

This patch makes it obvious to the user that the variable needs to be
set.

Signed-off-by: Christian Kellermann <christian.kellermann@solectrix.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorapidjson: bump to 1.1.0
Luca Ceresoli [Thu, 15 Dec 2016 22:35:09 +0000 (23:35 +0100)]
rapidjson: bump to 1.1.0

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomusl: workaround kernel if_ether.h header conflict
Baruch Siach [Fri, 16 Dec 2016 04:52:17 +0000 (06:52 +0200)]
musl: workaround kernel if_ether.h header conflict

Add a patch that defines _LINUX_IF_ETHER_H in netinet/if_ether.h to avoid the
conflicting kernel if_ether.h.

Other musl distros (Alpine, Sabotage, Gentoo) patch[1] the kernel headers
instead. This is not practical in Buildroot, since we allow the user to choose
the kernel version.

This only fixes the normal case of including linux/if_ether.h (directly or
indirectly) after netinet/if_ether.h.

Fixes (tcpreplay):
http://autobuild.buildroot.net/results/a65/a65b27f9e288f94f041ced64313dbf55af47bf36/

[1] https://cgit.gentoo.org/proj/musl.git/diff/sys-kernel/linux-headers/files/libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch?id=8eddda8072add075ebf56cf6d288bc1450d6b5f8

Cc: Rich Felker <dalias@aerifal.cx>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: extend musl workaround for recent kernels
Baruch Siach [Thu, 15 Dec 2016 19:48:20 +0000 (21:48 +0200)]
toolchain: extend musl workaround for recent kernels

Kernels v4.7 and newer[1] require the __USE_MISC macro for libc-compat.h
suppressions to be effective. musl does not define this macros, so add an
unconditional definition of __USE_MISC to libc-compat.h.

In addition, since musl define IFF_LOWER_UP and friends as macros (instead of
enums), define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO to
suppress the kernel corresponding definitions to avoid conflict.

Fixes (xl2tp):
http://autobuild.buildroot.net/results/0b9/0b9384c4beaac85f3a17c3245c8a7418c2e2e296/
http://autobuild.buildroot.net/results/657/657bc5687cf01aee38d32d45ba57fb62b2bd56d0/
http://autobuild.buildroot.net/results/bcd/bcd81618de2f745a19c923c66d787b5182bb54aa/

[1] Since commit f0a3fdca79 (uapi glibc compat: fix compilation when
    !__USE_MISC in glibc)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-incremental: new package
Yegor Yefremov [Fri, 16 Dec 2016 15:54:29 +0000 (16:54 +0100)]
python-incremental: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocan-utils: bump version
Yegor Yefremov [Fri, 16 Dec 2016 11:19:16 +0000 (12:19 +0100)]
can-utils: bump version

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-sh: new package
Yegor Yefremov [Fri, 16 Dec 2016 11:40:03 +0000 (12:40 +0100)]
python-sh: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytablewriter: bump to version 0.14.1
Yegor Yefremov [Fri, 16 Dec 2016 15:02:52 +0000 (16:02 +0100)]
python-pytablewriter: bump to version 0.14.1

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dominate: bump to version 2.3.1
Yegor Yefremov [Fri, 16 Dec 2016 15:02:51 +0000 (16:02 +0100)]
python-dominate: bump to version 2.3.1

Use PyPI as download location.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dataproperty: bump to version 0.13.5
Yegor Yefremov [Fri, 16 Dec 2016 15:02:50 +0000 (16:02 +0100)]
python-dataproperty: bump to version 0.13.5

Add new dependency: python-mbstrdecoder.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dateutil: bump to version 2.6.0
Yegor Yefremov [Fri, 16 Dec 2016 15:02:49 +0000 (16:02 +0100)]
python-dateutil: bump to version 2.6.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytz: bump to version 2016.10
Yegor Yefremov [Fri, 16 Dec 2016 15:02:48 +0000 (16:02 +0100)]
python-pytz: bump to version 2016.10

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-mbstrdecoder: new package
Yegor Yefremov [Fri, 16 Dec 2016 15:02:47 +0000 (16:02 +0100)]
python-mbstrdecoder: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomysql: rename package to oracle-mysql, make a virtual package
Ryan Coe [Fri, 16 Dec 2016 22:26:51 +0000 (14:26 -0800)]
mysql: rename package to oracle-mysql, make a virtual package

This commit turns mysql into a virtual package, after renaming the
original mysql package to oracle-mysql. This way, all existing packages
that "depends on" or "select" BR2_PACKAGE_MYSQL continue to work with no
modification.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add entry for mariadb
Ryan Coe [Fri, 16 Dec 2016 22:26:53 +0000 (14:26 -0800)]
DEVELOPERS: add entry for mariadb

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomariadb: new package
Ryan Coe [Fri, 16 Dec 2016 22:26:52 +0000 (14:26 -0800)]
mariadb: new package

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: remove musl-cross prebuilt toolchain
Romain Naour [Fri, 16 Dec 2016 15:29:45 +0000 (16:29 +0100)]
toolchain-external: remove musl-cross prebuilt toolchain

The upstream link to download musl-cross prebuilt toolchain is dead [1] and
there no new download location. Also the last prebuilt toolchain use musl
1.1.12 version which is not uptodate (currently 1.1.15).

Remove this support and recommend to use Buildroot toolchain instead.

[1] https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotinycbor: disable parallel build
Peter Seiderer [Fri, 16 Dec 2016 22:30:22 +0000 (23:30 +0100)]
tinycbor: disable parallel build

Maybe fixes ([1]):

 make[1]: Entering directory `/home/peko/autobuild/instance-1/output/build/tinycbor-v0.4'
 .config:8: *** missing separator.  Stop.

[1] http://autobuild.buildroot.net/results/8e8fd1e19d6d07212f29e19a305712e715fe781b

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystemd: enable selinux if libselinux is enabled
Adam Duskett [Sat, 17 Dec 2016 05:29:42 +0000 (05:29 +0000)]
systemd: enable selinux if libselinux is enabled

systemd currently has selinux disabled unconditionally.  This prevents
/sys/fs/selinux from being mounted automatically at boot which causes
audit to no longer function. This patch fixes the problem by checking if
libselinux is enabled and enabling support for selinux in systemd if so.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: Explicitly disable glamor support when dependencie...
Bernd Kuhls [Sat, 17 Dec 2016 06:34:48 +0000 (07:34 +0100)]
package/x11r7/xserver_xorg-server: Explicitly disable glamor support when dependencies are not met

Fixes
http://autobuild.buildroot.net/results/b48/b48074089da770463f7ffcc27e385ac59456edc5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aespipe: fix host compile
Bernd Kuhls [Sat, 17 Dec 2016 07:16:59 +0000 (08:16 +0100)]
package/aespipe: fix host compile

Building host-aespipe fails on

$ cat /etc/debian_version
stretch/sid

at linking stage:

/usr/bin/gcc -L/home/buildroot/br6/output/host/lib -L/home/buildroot/br6/output/host/usr/lib -Wl,-rpath,/home/buildroot/br6/output/host/usr/lib -o aespipe aespipe.o aes-amd64.o md5-amd64.o md5-2x-amd64.o aes-intel64.o sha512.o rmd160.o
/usr/bin/ld: aes-amd64.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC

Fix is also used in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837393

[Peter: add comment explaining why]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/aespipe: bump version to 2.4d
Bernd Kuhls [Sat, 17 Dec 2016 07:16:58 +0000 (08:16 +0100)]
package/aespipe: bump version to 2.4d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 8}.x series
Gustavo Zacarias [Fri, 16 Dec 2016 18:35:27 +0000 (15:35 -0300)]
linux-headers: bump 4.{4, 8}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogvfs: bump to version 1.30.3
Gustavo Zacarias [Fri, 16 Dec 2016 19:48:29 +0000 (16:48 -0300)]
gvfs: bump to version 1.30.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocjson: fix error with sh4a and powerpc
Fabrice Fontaine [Thu, 15 Dec 2016 18:08:59 +0000 (19:08 +0100)]
cjson: fix error with sh4a and powerpc

Fixes:
 - http://autobuild.buildroot.net/results/3d899790acdc5c21733ff6f7f5a1b500e862ea0a

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/orangepi: bump kernel and u-boot versions
Sergey Matyukevich [Thu, 15 Dec 2016 20:49:56 +0000 (23:49 +0300)]
configs/orangepi: bump kernel and u-boot versions

Update kernel to 4.9 and U-Boot to 2016.09.01.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoboard/orangepi: drop redundant files
Peter Korsgaard [Thu, 15 Dec 2016 16:24:45 +0000 (17:24 +0100)]
board/orangepi: drop redundant files

The orangepi board variants use identical post-build and post-image scripts,
so move them up to board/orangepi and add symlinks in the variant
subdirectories, similary to how we handle it for the raspberry pi variants.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi: add basic support for orangepi-one board
Sergey Matyukevich [Tue, 13 Dec 2016 20:52:37 +0000 (23:52 +0300)]
orangepi: add basic support for orangepi-one board

Board support package includes the following components:
- mainline u-boot 2016.09.01
- mainline kernel 4.9

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepipc: rename to orangepi-pc
Sergey Matyukevich [Tue, 13 Dec 2016 20:52:36 +0000 (23:52 +0300)]
orangepipc: rename to orangepi-pc

Rename orangepipc files, configs, and directories:
- oragepipc_defconfig -> orangepi_pc_defconfig
- board/orangepi/orangepipc -> board/orangepi/orangepi-pc

The purpose of the patch is to improve readability before
adding other boards of orangepi family.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocker-engine: security bump to 1.12.3
Peter Korsgaard [Wed, 14 Dec 2016 23:03:59 +0000 (00:03 +0100)]
docker-engine: security bump to 1.12.3

Fixes CVE-2016-8867: https://forums.docker.com/t/docker-1-12-2-security-advisory/23975

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocker-engine: needs pkg-config
Peter Korsgaard [Wed, 14 Dec 2016 22:39:43 +0000 (23:39 +0100)]
docker-engine: needs pkg-config

Fixes:
http://autobuild.buildroot.org/results/fcc/fcc32f6cdc46f354a016a9b137d4f51d4054cdb6/
http://autobuild.buildroot.org/results/083/0832b7be86c525522e2caed66246d5aeb365afb2/
http://autobuild.buildroot.org/results/ede/ede0ddf0c5685ece8443a9b1bbd5c63b4d98af33/

pkg-config is used for some of the docker-engine dependencies (at least
libseccomp and libsystemd), so make sure it is available.

The make.sh script used to configure docker-engine uses the PKG_CONFIG
variable, but the libseccomp-golang go module simply uses whatever
pkg-config binary it finds in the path at build time, so also pass
TARGET_MAKE_ENV to ensure our cross-pkg-config is used.

For consistency and robustness against future changes, use both approaches
for the configure and build steps.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: remove version 7.9
Jörg Krause [Wed, 14 Dec 2016 13:40:58 +0000 (14:40 +0100)]
package/gdb: remove version 7.9

Now that 7.12 has been added and 7.11 is the default version, let's
remove the old 7.9 release.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: switch to 7.11 as the default version
Jörg Krause [Wed, 14 Dec 2016 13:40:57 +0000 (14:40 +0100)]
package/gdb: switch to 7.11 as the default version

7.12 is around, 7.11 has already seen a point release, so it's time to
make 7.11 the default version for gdb.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: add support for gdb 7.12
Jörg Krause [Wed, 14 Dec 2016 13:40:56 +0000 (14:40 +0100)]
package/gdb: add support for gdb 7.12

gdb 7.12 was released on October 2016, it's time to include it in
Buildroot, which this commit does.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/mpd: bump version to 0.19.21
Jörg Krause [Thu, 15 Dec 2016 12:56:42 +0000 (13:56 +0100)]
package/mpd: bump version to 0.19.21

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowireshark: bump to version 2.2.3
Gustavo Zacarias [Thu, 15 Dec 2016 11:24:34 +0000 (08:24 -0300)]
wireshark: bump to version 2.2.3

The only security bug fixed concerns windows so it's not a security bump
for buildroot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotinyalsa: add license files
Rahul Bedarkar [Thu, 15 Dec 2016 11:40:41 +0000 (17:10 +0530)]
tinyalsa: add license files

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotinyalsa: bump version to 1.1.0
Rahul Bedarkar [Thu, 15 Dec 2016 11:40:40 +0000 (17:10 +0530)]
tinyalsa: bump version to 1.1.0

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/wavpack: bump version to 5.0.0
Jörg Krause [Thu, 15 Dec 2016 12:44:52 +0000 (13:44 +0100)]
package/wavpack: bump version to 5.0.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotcpreplay: bump to version 4.1.2
Baruch Siach [Thu, 15 Dec 2016 11:49:04 +0000 (13:49 +0200)]
tcpreplay: bump to version 4.1.2

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofs: set packages permissions even with no system device tables
Yann E. MORIN [Wed, 14 Dec 2016 22:28:10 +0000 (23:28 +0100)]
fs: set packages permissions even with no system device tables

Currently, when there is no syztem device table (permissions or static
devices) defined, then package permissions are not applied, because they
are guarded by the check on the system device tables being non empty.

Fix that by narrowing the guarding condition.

Note that the dependency on host-makedevs was not conditional; we always
build it even if we don't need it. Making it conditional is not
possible, because we don't know all the packages permissions by the time
the fs infra is parsed (packages from br2-external are parsed after it).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/linksprite_pcduino: bump u-boot version
Sergey Matyukevich [Wed, 14 Dec 2016 19:45:26 +0000 (22:45 +0300)]
configs/linksprite_pcduino: bump u-boot version

Update U-Boot to 2016.11.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx6: Select NEON and VFP related options
Fabio Estevam [Wed, 14 Dec 2016 15:40:35 +0000 (13:40 -0200)]
configs/mx6: Select NEON and VFP related options

MX6 has a Cortex-A9 core, which supports NEON and VFP.

Add support for them.

Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomx6: udoo: Create a mx6qdl directory for consistency
Fabio Estevam [Wed, 14 Dec 2016 15:03:21 +0000 (13:03 -0200)]
mx6: udoo: Create a mx6qdl directory for consistency

The udoo neo files are currently placed inside udoo/neo directory.

Place the mx6qdl udoo related files inside udoo/mx6dl for consistency.

[Peter also update path in readme.txt]
Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofs/ext2: default to ext2 rev1
Peter Korsgaard [Tue, 13 Dec 2016 08:18:27 +0000 (09:18 +0100)]
fs/ext2: default to ext2 rev1

Rev0 is very old (E.G. from before Linux was maintained in git), the kernel
prints a scary warning when used:

EXT4-fs warning (device sda): ext4_update_dynamic_rev:746: updating to rev 1
because of new feature flag, running e2fsck is recommended

And rev0 support is broken in u-boot 2016.11:
http://lists.denx.de/pipermail/u-boot/2016-December/275916.html

So default to rev1 instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/linksprite_pcduino: bump kernel and u-boot versions
Sergey Matyukevich [Wed, 14 Dec 2016 05:24:04 +0000 (08:24 +0300)]
configs/linksprite_pcduino: bump kernel and u-boot versions

Update kernel to 4.9 and U-Boot to 2016.09.01.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx6sx_udoo_neo: Remove BR2_TARGET_GENERIC_GETTY_PORT
Fabio Estevam [Wed, 14 Dec 2016 14:22:52 +0000 (12:22 -0200)]
configs/mx6sx_udoo_neo: Remove BR2_TARGET_GENERIC_GETTY_PORT

As console=ttymxc0 is passed in U-Boot we can use /dev/console to
access the serial console and then BR2_TARGET_GENERIC_GETTY_PORT
can be removed.

Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonetsnmp: handle libnl dependency properly
Julien Floret [Wed, 14 Dec 2016 08:26:48 +0000 (09:26 +0100)]
netsnmp: handle libnl dependency properly

libnl3 include path was hardcoded in the configure script,
causing the following gcc warning:

WARNING: unsafe header/library path used in cross-compilation:
'/usr/include/libnl3'

Let's apply an upstream patch that addresses the issue: now
pkg-config is used to detect libnl include path.

Also:
- add optional libnl build dependency;
- enable libnl support only when libnl package is selected.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/ipmitool: bump version to 1.8.18
Jörg Krause [Wed, 14 Dec 2016 08:47:57 +0000 (09:47 +0100)]
package/ipmitool: bump version to 1.8.18

Some patches are not necessary anymore as upstream fixed the issues.

As we are not patching configure.ac anymore, there is no need to
autoreconf the package.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/lttng-babeltrace: enable debug info support for the host variant
Yann E. MORIN [Mon, 31 Oct 2016 12:48:57 +0000 (13:48 +0100)]
package/lttng-babeltrace: enable debug info support for the host variant

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Philippe Proulx <eeppeliteloop@gmail.com>
[Thomas: fix typo, adjust on top of master.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>