buildroot.git
7 years agodocs: Add bc to required tools
Marcus Hoffmann [Thu, 5 Jan 2017 19:27:09 +0000 (20:27 +0100)]
docs: Add bc to required tools

We check for bc under required packages.  It should be listed as such in the
docs.

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibgtk3: bump to version 3.22.6
Gustavo Zacarias [Thu, 5 Jan 2017 13:33:11 +0000 (10:33 -0300)]
libgtk3: bump to version 3.22.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogdk-pixbuf: bump to version 2.36.3
Gustavo Zacarias [Thu, 5 Jan 2017 13:32:59 +0000 (10:32 -0300)]
gdk-pixbuf: bump to version 2.36.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosamba4: bump to version 4.4.9
Gustavo Zacarias [Wed, 4 Jan 2017 20:17:24 +0000 (17:17 -0300)]
samba4: bump to version 4.4.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosqlite: bump to version 3.16.1
Gustavo Zacarias [Wed, 4 Jan 2017 17:28:48 +0000 (14:28 -0300)]
sqlite: bump to version 3.16.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/mpd: bump version to 0.20
Jörg Krause [Wed, 4 Jan 2017 15:47:23 +0000 (16:47 +0100)]
package/mpd: bump version to 0.20

Drop patch #0002 which was already fixed upstream long time ago in
commit 276a0d9500b8efc879e4f0c23e9d0e361849e295 using a slightly
different approach.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofirmware-imx: remove Makefile from target
Baruch Siach [Sun, 1 Jan 2017 12:34:08 +0000 (14:34 +0200)]
firmware-imx: remove Makefile from target

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoalsa-utils: disable manpages generation from reStructured text
Baruch Siach [Sun, 1 Jan 2017 10:07:53 +0000 (12:07 +0200)]
alsa-utils: disable manpages generation from reStructured text

The alsaucm man page rst source file is missing in the tarball. When rst2man
is detected on the host, build fails:

make[2]: *** No rule to make target 'alsaucm.1', needed by 'all-am'.  Stop.

Upstream added[1] the missing file to the tarball to fix this issue. But since
we don't need the manpage to begin with, just disable rst2man to shorten build
time by a few milliseconds.

[1] http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=c6bdde171e1532f7b37333a5a746b6e662f12c53

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/nut: bump version
Yann E. MORIN [Sun, 1 Jan 2017 09:00:56 +0000 (10:00 +0100)]
package/nut: bump version

Update our patches:
  - drop patch 1, replaced by an upstream equivalent; adapt config
    options and env accordingly,
  - drop patch 2, applied upstream,
  - rename patch 3

gdlib-config and net-snmp-config are only used when said support is
enabled (resp. CGI and SNMP), so no need to pass them unconditionally.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoperl-cross: bump to version 1.1.2
Francois Perrad [Tue, 3 Jan 2017 16:01:18 +0000 (17:01 +0100)]
perl-cross: bump to version 1.1.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoperl: bump to version 5.24.0
Francois Perrad [Tue, 3 Jan 2017 16:01:17 +0000 (17:01 +0100)]
perl: bump to version 5.24.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoclamav: fix configure breakage after zlib 1.2.10 version bump
Peter Korsgaard [Wed, 4 Jan 2017 15:27:34 +0000 (16:27 +0100)]
clamav: fix configure breakage after zlib 1.2.10 version bump

Fixes:
http://autobuild.buildroot.net/results/b6b/b6ba2dfb42ee41ed0b8304aa8c78645245f3b341/
http://autobuild.buildroot.net/results/eef/eef9a2dda2c172cd600dc74c1e5e60476d92280d/
http://autobuild.buildroot.net/results/827/82798118795aa6334b4dd6eac06777682131da7f/

The clamav configure script by default checks for old zlib versions with
known vulnerabilities and errors out if found:

configure: error: The installed zlib version may contain a security bug.
Please upgrade to 1.2.2 or later: http://www.zlib.net.  You can omit this
check with --disable-zlib-vcheck but DO NOT REPORT any stability issues
then!

The check is unfortunately not very robust as it simply checks for a version
string matching '1.2.1' (which 1.2.10 does):

vuln=`grep "ZLIB_VERSION \"1.2.1" $ZLIB_HOME/include/zlib.h`

As a workaround, pass --disable-zlib-vcheck to skip this check.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoca-certificates: bump to version 20161130
Gustavo Zacarias [Wed, 4 Jan 2017 14:10:01 +0000 (11:10 -0300)]
ca-certificates: bump to version 20161130

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogd: security bump to version 2.2.3
Peter Korsgaard [Tue, 3 Jan 2017 14:42:52 +0000 (15:42 +0100)]
gd: security bump to version 2.2.3

Security related fixes:
This flaw is caused by loading data from external sources (file, custom ctx,
etc) and are hard to validate before calling libgd APIs:

- fix php bug 72339, Integer Overflow in _gd2GetHeader (CVE-2016-5766)
- bug #248, fix Out-Of-Bounds Read in read_image_tga
- gd: Buffer over-read issue when parsing crafted TGA file (CVE-2016-6132)

Using application provided parameters, in these cases invalid data causes
the issues:

 - Integer overflow error within _gdContributionsAlloc() (CVE-2016-6207)
 - fix php bug 72494, invalid color index not handled, can lead to crash ( CVE-2016-6128)
 - improve color check for CropThreshold

The build system now enables -Wall and -Werror by default, so pass
--disable-werror to disable that.  Notice that this issue has been fixed
upstream post-2.2.3:

https://github.com/libgd/libgd/issues/339

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibopenh264: bump to version 1.6.0
Peter Korsgaard [Tue, 3 Jan 2017 14:29:50 +0000 (15:29 +0100)]
libopenh264: bump to version 1.6.0

Contains a number of bugfixes, some of which may be security related:

http://www.openwall.com/lists/oss-security/2017/01/02/1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogranite: bump to version 0.4.0.1
Gustavo Zacarias [Tue, 3 Jan 2017 19:52:17 +0000 (16:52 -0300)]
granite: bump to version 0.4.0.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/zlib: bump version to 1.2.10
Bernd Kuhls [Tue, 3 Jan 2017 17:44:45 +0000 (18:44 +0100)]
package/zlib: bump version to 1.2.10

Changed _SITE url to the upstream project site because Sourceforge does
not provide the tarball for 1.2.10 as of now.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agompv: bump to version 0.23.0
Gustavo Zacarias [Tue, 3 Jan 2017 16:39:21 +0000 (13:39 -0300)]
mpv: bump to version 0.23.0

enca and libguess options have been dropped so adjust accordingly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoflac: bump to version 1.3.2
Gustavo Zacarias [Tue, 3 Jan 2017 16:33:14 +0000 (13:33 -0300)]
flac: bump to version 1.3.2

And delete upstream patches.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: fix riemann write plugin dependencies
Peter Korsgaard [Wed, 28 Dec 2016 22:18:06 +0000 (23:18 +0100)]
collectd: fix riemann write plugin dependencies

Fixes:
http://autobuild.buildroot.org/results/fe5/fe5b5ed6355a794e84894c4aaf62eda6529ed184/
http://autobuild.buildroot.org/results/6c3/6c393cffb6ad4e676e311e9fc23ddbb2bcc2cf36/

The plugin uses the riemann-c-client library since commit d55584214206
(write_riemann: Use riemann-c-client), so adjust the dependencies to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoriemann-c-client: new package
Peter Korsgaard [Wed, 28 Dec 2016 22:18:05 +0000 (23:18 +0100)]
riemann-c-client: new package

Riemann-c-client is a C client library for the Riemann monitoring system,
providing a convenient and simple API, high test coverage and a copyleft
license, along with API and ABI stability.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx53loco: Bump kernel and U-Boot versions
Fabio Estevam [Tue, 3 Jan 2017 12:30:16 +0000 (10:30 -0200)]
configs/mx53loco: Bump kernel and U-Boot versions

Bump Linux kernel versio to 4.9 and U-Boot to 2016.11.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agom4: bump to version 1.4.18
Gustavo Zacarias [Mon, 2 Jan 2017 16:00:51 +0000 (13:00 -0300)]
m4: bump to version 1.4.18

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomusl: security bump to version 1.1.16
Gustavo Zacarias [Mon, 2 Jan 2017 16:07:09 +0000 (13:07 -0300)]
musl: security bump to version 1.1.16

Fixes:
CVE-2016-8859 - fixes a serious under-allocation bug in regexec due to
integer overflow.

Drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoxz: bump to version 5.2.3
Gustavo Zacarias [Mon, 2 Jan 2017 16:02:26 +0000 (13:02 -0300)]
xz: bump to version 5.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofreetype: bump to version 2.7.1
Gustavo Zacarias [Mon, 2 Jan 2017 19:20:16 +0000 (16:20 -0300)]
freetype: bump to version 2.7.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosqlite: bump to version 3.16
Gustavo Zacarias [Mon, 2 Jan 2017 20:31:57 +0000 (17:31 -0300)]
sqlite: bump to version 3.16

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoweston: fix DEPENDENCIES typo
Gustavo Zacarias [Mon, 2 Jan 2017 14:42:58 +0000 (11:42 -0300)]
weston: fix DEPENDENCIES typo

Fixes a build failure with the PPS patchset since libva isn't populated.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agompv: fix DEPENDENCIES typo
Gustavo Zacarias [Mon, 2 Jan 2017 16:11:01 +0000 (13:11 -0300)]
mpv: fix DEPENDENCIES typo

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoskalibs: make ld use dummy file when configuring
Eric Le Bihan [Fri, 30 Dec 2016 21:55:10 +0000 (22:55 +0100)]
skalibs: make ld use dummy file when configuring

For some architectures, like Xtensa or HPPA, ld from binutils requires
the output file to be a regular file, as mentioned in a bug report on
the mailing list [1].

So, use a dummy file as output file for ld, instead of /dev/null, when
trying to detect some libraries at configuration time.

Fixes http://autobuild.buildroot.net/results/288/288fc31cd10ffe3cd93371c7be37d79452a91768/

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=19526

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoudoo: mx6qdl: Use the preferred form for disabling a symbol
Fabio Estevam [Sat, 31 Dec 2016 19:00:39 +0000 (17:00 -0200)]
udoo: mx6qdl: Use the preferred form for disabling a symbol

Even though 'CONFIG_USB=n' does the job, let's switch to the more
standard way for disabling a Kconfig symbol.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/intltool: remove target variant
Romain Naour [Sat, 31 Dec 2016 15:33:28 +0000 (16:33 +0100)]
package/intltool: remove target variant

The target variant depends on BR2_HOST_ONLY which is just like BROKEN
(i.e not defined anywere). BR2_HOST_ONLY was introduced by [1] back in
2010 and nobody seems to need it. So remove intltool for the target.

[1] 0b876d39776fdec69762b988216e5ed64dbe6ba8

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 agopackage/systemd-bootchart: bump version
Yann E. MORIN [Sat, 31 Dec 2016 16:54:39 +0000 (17:54 +0100)]
package/systemd-bootchart: bump version

Get rid of our patch, applied upstream. Which means we no longer need to
run intltoolize. So drop the dependency on host-intltool

Fixes:
    http://autobuild.buildroot.net/results/696/696254009f830134ef9398369ca2cbb257b33f52/
    http://autobuild.buildroot.org/results/aca/aca210de7d3f2eda54e5630206e9ff80d72d85c5/
    http://autobuild.buildroot.org/results/e5d/e5df8d11bfce4ba7a4c5c760b4784c31c506d8d4/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/warpboard: Select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
Fabio Estevam [Fri, 30 Dec 2016 22:17:16 +0000 (20:17 -0200)]
configs/warpboard: Select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV

BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV allows the Broadcom wireless driver
to be automatically loaded on boot.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/warpboard: Bump kernel and U-Boot versions
Fabio Estevam [Fri, 30 Dec 2016 22:17:15 +0000 (20:17 -0200)]
configs/warpboard: Bump kernel and U-Boot versions

Bump kernel to version 4.9 and U-Boot to 2016.11.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/busybox: add patch to fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS
Jörg Krause [Thu, 29 Dec 2016 20:23:40 +0000 (21:23 +0100)]
package/busybox: add patch to fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS

Upstream commit a8c696bf09d8151323f6e99348c4bc8989f829c8 makes ifup and
ifdown individually selectable, but forgets to update the dependency to
IFUPDOWN_UDHCPC_CMD_OPTIONS, so it is not selectable anymore.

Add a patch which fixes the dependency by checking for IFUP or IFDOWN,
instead of the obsolete IFUPDOWN.

Upstream status: Pending
http://lists.busybox.net/pipermail/busybox/2016-December/085034.html

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/busybox: update minimal configuration file
Jörg Krause [Thu, 29 Dec 2016 20:23:39 +0000 (21:23 +0100)]
package/busybox: update minimal configuration file

Commit 44a563dbc04ec8e51c5262201cd1745617055b78 bumps busybox to version
1.26.0, but does not update the minimal configuration file. There is at
least one issue using the old configuration with the newer busybox:

* IFUPDOWN is split into IFUP and IFDOWN in version 1.26.0

Update the minimal configuration file by loading the busybox.config file
and saving it back.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/busybox: update configuration file
Jörg Krause [Thu, 29 Dec 2016 20:23:38 +0000 (21:23 +0100)]
package/busybox: update configuration file

Commit 44a563dbc04ec8e51c5262201cd1745617055b78 bumps busybox to version
1.26.0, but does not update the configuration file. There is at least
one issue using the old configuration with the newer busybox:

* IFUPDOWN is split into IFUP and IFDOWN in version 1.26.0

Update the configuration file by loading the busybox.config file and
saving it back.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowireshark: fix build with musl
Baruch Siach [Thu, 29 Dec 2016 19:16:56 +0000 (21:16 +0200)]
wireshark: fix build with musl

Add a patch adding missing sys/time.h header.

Fixes:
http://autobuild.buildroot.net/results/cd8/cd883b40503a6f4d3035e09a383db2d5a21162ad/
http://autobuild.buildroot.net/results/1ae/1ae34debe7e95eab33a895ecdf04c0ddf96cf4ab/
http://autobuild.buildroot.net/results/4af/4afe968e698f62c6bdbec35e53d35c361c5e852b/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/warp7: Add floating point support
Fabio Estevam [Thu, 29 Dec 2016 00:57:19 +0000 (22:57 -0200)]
configs/warp7: Add floating point support

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/imx6ulpico: Select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
Fabio Estevam [Thu, 29 Dec 2016 12:43:35 +0000 (10:43 -0200)]
configs/imx6ulpico: Select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV

BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV allows the Broadcom wireless driver
to be automatically loaded on boot.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/imx6ulpico: Select floating point
Fabio Estevam [Thu, 29 Dec 2016 12:43:34 +0000 (10:43 -0200)]
configs/imx6ulpico: Select floating point

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/imx6ulpico: Bump to U-Boot 2016.11
Fabio Estevam [Thu, 29 Dec 2016 12:43:33 +0000 (10:43 -0200)]
configs/imx6ulpico: Bump to U-Boot 2016.11

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoeudev: fix build with <2.6.34 kernels
Gustavo Sverzut Barbieri [Fri, 30 Dec 2016 15:32:38 +0000 (13:32 -0200)]
eudev: fix build with <2.6.34 kernels

Add missing defines so eudev builds for older kernels, not having
BTN_TRIGGER_HAPPY (2.6.34) or INPUT_PROP_MAX (2.6.38).

Patch submitted upstream: https://github.com/gentoo/eudev/pull/139

[Peter: clarify versions]
Signed-off-by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibpng: security bump to version 1.6.27
Gustavo Zacarias [Fri, 30 Dec 2016 13:28:43 +0000 (10:28 -0300)]
libpng: security bump to version 1.6.27

Fixes a NULL pointer dereference bug in png_set_text_2()
CVE not assigned yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibgcrypt: bump to version 1.7.5
Gustavo Zacarias [Fri, 30 Dec 2016 13:28:20 +0000 (10:28 -0300)]
libgcrypt: bump to version 1.7.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowhois: bump to version 5.2.14
Gustavo Zacarias [Fri, 30 Dec 2016 13:27:24 +0000 (10:27 -0300)]
whois: bump to version 5.2.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoUpdate for 2016.11.1
Peter Korsgaard [Thu, 29 Dec 2016 21:24:06 +0000 (22:24 +0100)]
Update for 2016.11.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoCHANGES: update for 2016.11.1
Peter Korsgaard [Thu, 29 Dec 2016 20:41:23 +0000 (21:41 +0100)]
CHANGES: update for 2016.11.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit bf8fdcc2fa06c18cf4c4381a1d80f4b89699ec82)

7 years agocryptopp: fixup DOS newlines in CVE-2016-9939 patch
Peter Korsgaard [Wed, 28 Dec 2016 23:01:54 +0000 (00:01 +0100)]
cryptopp: fixup DOS newlines in CVE-2016-9939 patch

The patch did contain the correct newlines, but they got stripped by
patchwork so now the patch no longer applies.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoluarocks: fix target-finalize hook processing
Danomi Manchego [Sat, 24 Dec 2016 01:50:55 +0000 (20:50 -0500)]
luarocks: fix target-finalize hook processing

The LUAROCKS_TARGET_FINALIZE_HOOKS is not running, so detritus is being left
in /usr/lib/luarocks.  This is because host-luarocks is built by being a
dependency in the luarocks package infrastructure, not by being selected by
kconfig symbol.  This means that the $(PKG)_KCONFIG_VAR in pkg-generic.mk is
not met, and (HOST_)LUAROCKS_TARGET_FINALIZE_HOOKS is not added to the
global TARGET_FINALIZE_HOOKS.

This mod fixes this issue by adding the host-luarocks hook directly
to TARGET_FINALIZE_HOOKS when either lua or luajit is enabled.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoluafilesystem: add license file
Danomi Manchego [Sat, 24 Dec 2016 01:35:16 +0000 (20:35 -0500)]
luafilesystem: add license file

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/warp7: Select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
Fabio Estevam [Wed, 28 Dec 2016 20:32:14 +0000 (18:32 -0200)]
configs/warp7: Select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV

BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV allows the Broadcom wireless driver
to be automatically loaded on boot.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/warp7: Bump to mainline kernel 4.9
Fabio Estevam [Wed, 28 Dec 2016 19:48:06 +0000 (17:48 -0200)]
configs/warp7: Bump to mainline kernel 4.9

Use mainline 4.9 instead of a custom kernel based on NXP 4.1.

As mx7 boots in non-secure mode in mainline kernel, change the
U-Boot target to "warp7".

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: Add entry for udoo_neo and wandboard
Fabio Estevam [Wed, 28 Dec 2016 17:42:29 +0000 (15:42 -0200)]
DEVELOPERS: Add entry for udoo_neo and wandboard

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibsigrokdecode: bump to version 0.4.1
Peter Korsgaard [Tue, 27 Dec 2016 22:28:18 +0000 (23:28 +0100)]
libsigrokdecode: bump to version 0.4.1

For details, see:
https://www.sigrok.org/blog/libsigrokdecode-041-released

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocryptopp: add upstream security fix for CVE-2016-9939
Peter Korsgaard [Tue, 27 Dec 2016 22:07:21 +0000 (23:07 +0100)]
cryptopp: add upstream security fix for CVE-2016-9939

Fixes security issue (DoS) in Crypto++ ASN1 decoder:

https://github.com/weidai11/cryptopp/issues/346

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofs/tar: make --no-recursion effective
Baruch Siach [Tue, 27 Dec 2016 17:42:03 +0000 (19:42 +0200)]
fs/tar: make --no-recursion effective

The tar --no-recursion option is position sensitive. It only affects following
file listing options. Move --no-recursion before the -T option to make it
effective. This fixes duplication of entries in the generated rootfs.tar
archive.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: remove perl-db-file
Bernd Kuhls [Tue, 27 Dec 2016 20:57:12 +0000 (21:57 +0100)]
DEVELOPERS: remove perl-db-file

Package perl-db-file was removed today:
https://git.buildroot.net/buildroot/commit/?id=8546ff31c58b2501a69e49bc0f27a4ffa1d2ae08

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotoolchain-external: bump CodeSourcery NIOSII to 2016.11
Romain Naour [Tue, 27 Dec 2016 21:03:56 +0000 (22:03 +0100)]
toolchain-external: bump CodeSourcery NIOSII to 2016.11

Keep BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 since it's not fixed in
Binutils 2.26.

Runtime tested with an experimental version of Qemu 2.7 for Nios2.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/znc: bump version to 1.6.4
Bernd Kuhls [Tue, 27 Dec 2016 21:05:14 +0000 (22:05 +0100)]
package/znc: bump version to 1.6.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 3.18.x and 4.1.x series
Gustavo Zacarias [Tue, 27 Dec 2016 18:18:29 +0000 (15:18 -0300)]
linux-headers: bump 3.18.x and 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosupport/dependencies: ensure we have 'file' on the host
Yann E. MORIN [Mon, 26 Dec 2016 17:58:30 +0000 (18:58 +0100)]
support/dependencies: ensure we have 'file' on the host

Recently, the autoconf macros for libtool started using '/usr/bin/file'
to determine the type of library that is generated by the toolchain.
Packages that use this recent version of the libtool autoconf macros
will fail in a rather dramatic way when /usr/bin/file is not present
on the host: the package will still build but no shared library is
generated, which in turn may cause build failures in other packages
that link with it.

For example, libpng's configure determines that it is not possible to
build a shared library on MIPS64 because the expected output from 'file'
is not present. Therefore, only a static libpng.a is built. Later,
bandwithd links with -lpng but it doesn't use the pkg-config's
Private-Libs (because it's not linking statically) and it doesn't have
access to the NEEDED reference from the shared library. Therefore, it
doesn't link with zlib and fails with

    pngrutil.c:(.text+0x55c): undefined reference to `inflate'

We cant use host-file because it is itself an autotools package and is
itself using libtool, so this would be a chicken-n-egg problem. Besides,
the libtool script really wants to call /usr/bin/file, so it would not
even find our host-file anyway.

So, just require that '/usr/bin/file' is present on the host.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/vdr: bump version to 2.3.2
Bernd Kuhls [Sun, 25 Dec 2016 17:56:37 +0000 (18:56 +0100)]
package/vdr: bump version to 2.3.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoperl-db-file: remove this package
Francois Perrad [Mon, 26 Dec 2016 14:50:35 +0000 (15:50 +0100)]
perl-db-file: remove this package

The module DB_File (Berkeley DB wrapper) is a Perl core module.
Long time ago, its build as a core module was broken.
Since perl-cross-1.0.2, this issue is fixed.
So, this package which build DB_File as CPAN module, becomes useless.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/sdl2: fix build with gcc6
Bernd Kuhls [Sun, 25 Dec 2016 18:49:52 +0000 (19:49 +0100)]
package/sdl2: fix build with gcc6

Fixes
http://autobuild.buildroot.net/results/b99/b997c2b6307deb48a42e9b317715a00b65f90149/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/sdl2: fix build error on powerpc/powerpc64
Bernd Kuhls [Sun, 25 Dec 2016 18:13:27 +0000 (19:13 +0100)]
package/sdl2: fix build error on powerpc/powerpc64

Fixes
http://autobuild.buildroot.net/results/ffd/ffd689f1ba34ad43f52c38fe37da393a9d8b9d5e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agostunnel: fix static link
Baruch Siach [Sat, 24 Dec 2016 19:10:42 +0000 (21:10 +0200)]
stunnel: fix static link

zlib is a dependency of OpenSSL. Take that into account when linking
statically.

Fixes:
http://autobuild.buildroot.net/results/dfe/dfe7c82c7976912378e33e03ea4c677bee6a778d/
http://autobuild.buildroot.net/results/48c/48cb55428613e91abfe8e71456182082d9eabb75/
http://autobuild.buildroot.net/results/810/81029efad8b9e2f48c26a7b20f62c90844fc86df/

and many more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agouclibc: update to 1.0.21
Waldemar Brodkorb [Mon, 26 Dec 2016 19:29:48 +0000 (20:29 +0100)]
uclibc: update to 1.0.21

Remove all patches as they are upstream.
Remove MALLOC_GLIBC_COMPAT and UCLIBC_HAS_OBSTACK as they got removed.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobusybox: fix modutils compile
Waldemar Brodkorb [Mon, 26 Dec 2016 19:28:23 +0000 (20:28 +0100)]
busybox: fix modutils compile

Do not use syscall wrappers from uClibc.

Patch submitted upstream:
http://lists.busybox.net/pipermail/busybox/2016-December/085031.html

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolighttpd: bump to version 1.4.44
Gustavo Zacarias [Mon, 26 Dec 2016 16:21:22 +0000 (13:21 -0300)]
lighttpd: bump to version 1.4.44

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoexim: security bump to 4.87.1
Peter Korsgaard [Sun, 25 Dec 2016 22:38:15 +0000 (23:38 +0100)]
exim: security bump to 4.87.1

No features are added or removed. This release contains
just a fix for CVE-2016-9963

    - Fix CVE-2016-9963 - Info leak from DKIM.  When signing DKIM, if
      either LMTP or PRDR was used for delivery, the key could appear in
      logs.  Additionally, if the experimental feature "DSN_INFO" was used,
      it could appear in DSN messages (and be sent offsite).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: fix option passed to the snmp dependency
Jack Kao [Sun, 25 Dec 2016 13:54:34 +0000 (21:54 +0800)]
collectd: fix option passed to the snmp dependency

--with-libnetsnmp doesn't take a path to the netsnmp config script,
but to the sysroot where netsnmp can be found.

Fixes:

  http://autobuild.buildroot.org/results/358e2f02f42e08fe362ecd46e636c0048e77c21f/

Signed-off-by: Jack Kao <jackzzjack@gmail.com>
[Thomas: path is $(STAGING_DIR)/usr, not $(STAGING_DIR)/usr/include.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoputty: don't treat warnings as errors
Baruch Siach [Sat, 24 Dec 2016 18:40:49 +0000 (20:40 +0200)]
putty: don't treat warnings as errors

Fixes:
http://autobuild.buildroot.net/results/652/65246fe6357cd3cd8490bc54baa2394730dcef79/
http://autobuild.buildroot.net/results/853/85320f3b8e770bbfbec306685ad75b66e91bd6ee/
http://autobuild.buildroot.net/results/492/492a7055408ed6b388982cece41e98d956ef85f8/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/bullet: bump to version 2.85.1
Romain Naour [Sat, 24 Dec 2016 11:37:39 +0000 (12:37 +0100)]
package/bullet: bump to version 2.85.1

http://bulletphysics.org/wordpress/?p=456

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocker-engine: fix docker version output
Christian Stewart [Sat, 24 Dec 2016 06:02:46 +0000 (22:02 -0800)]
docker-engine: fix docker version output

At compile-time the docker build scripts generate a version file used
to build the output of the docker version command. This file is
generated somewhat properly by the Buildroot build system, however the
version number and commit ID are incorrectly formatted. This patch fixes
the output to the correct format.

This is important as some tools like WeaveWorks won't even start unless
they can parse the Docker Version output correctly.

[Peter: strip v from version using patsusbt]
Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: add write_prometheus plugin support
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:21 +0000 (22:59 -0300)]
collectd: add write_prometheus plugin support

Add explicit support for the write_prometheus plugin, it requires the
libmicrohttpd and protobuf-c libraries.

[Peter: add note about where dependencies come from]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: add gps plugin support
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:20 +0000 (22:59 -0300)]
collectd: add gps plugin support

Add explicit support for the gps plugin that uses libgps from the gpsd
package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: explicitly disable intel_rdt plugin
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:19 +0000 (22:59 -0300)]
collectd: explicitly disable intel_rdt plugin

It requires the libpqos library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: explicitly disable dpdkstat plugin
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:18 +0000 (22:59 -0300)]
collectd: explicitly disable dpdkstat plugin

It requires the libdpdk library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: add hugepages plugin support
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:17 +0000 (22:59 -0300)]
collectd: add hugepages plugin support

Add explicit support for the new hugepages dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: explicitly disable grpc plugin
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:16 +0000 (22:59 -0300)]
collectd: explicitly disable grpc plugin

It requires the libgrpc++ library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: add mqtt plugin support
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:15 +0000 (22:59 -0300)]
collectd: add mqtt plugin support

Add explicit support for the mqtt (mosquitto) plugin.
Place it under the write category even though it can read as well, since
it will normally be used to write (publish) rather than read
(subscribe).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: add cpusleep plugin support
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:14 +0000 (22:59 -0300)]
collectd: add cpusleep plugin support

Add explicit support for the new cpusleep dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: add chrony plugin support
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:13 +0000 (22:59 -0300)]
collectd: add chrony plugin support

Add explicit support for the new chrony dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: explicitly disable xencpu plugin
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:12 +0000 (22:59 -0300)]
collectd: explicitly disable xencpu plugin

It requires the libxenctrl library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: explicitly disable zone plugin
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:11 +0000 (22:59 -0300)]
collectd: explicitly disable zone plugin

It's intended for solaris so no usage case for buildroot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: drop notify_email global disable
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:10 +0000 (22:59 -0300)]
collectd: drop notify_email global disable

It's a no-op since it's disabled/enabled by the config knob.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: add notify_nagios plugin support
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:09 +0000 (22:59 -0300)]
collectd: add notify_nagios plugin support

Add explicit support for the new notify_nagios dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocollectd: bump to version 5.7.0
Gustavo Zacarias [Thu, 22 Dec 2016 01:59:08 +0000 (22:59 -0300)]
collectd: bump to version 5.7.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibcurl: security bump to 7.52.1
Peter Korsgaard [Fri, 23 Dec 2016 10:16:05 +0000 (11:16 +0100)]
libcurl: security bump to 7.52.1

Fixes CVE-2016-9594 - Unitilized random

Libcurl's (new) internal function that returns a good 32bit random value was
implemented poorly and overwrote the pointer instead of writing the value
into the buffer the pointer pointed to.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoarmadeus_apf9328_defconfig: bump kernel to 3.18.29
Peter Korsgaard [Wed, 21 Dec 2016 20:46:11 +0000 (21:46 +0100)]
armadeus_apf9328_defconfig: bump kernel to 3.18.29

Which includes the gcc5+ fix for ftrace:

commit aeea3592a13bf12861943e44fc48f1f270941f8d
Author: Behan Webster <behanw@converseincode.com>
Date:   Wed Sep 24 01:06:46 2014 +0100

    ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h

    With compilers which follow the C99 standard (like modern versions of gcc and
    clang), "extern inline" does the wrong thing (emits code for an externally
    linkable version of the inline function). In this case using static inline
    and removing the NULL version of return_address in return_address.c does
    the right thing.

Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Otherwise, the build dies with:

arch/arm/kernel/return_address.c:66:7: error: redefinition of ‘return_address’
 void *return_address(unsigned int level)
       ^
In file included from include/linux/ftrace.h:20:0,
                 from arch/arm/kernel/return_address.c:12:
./arch/arm/include/asm/ftrace.h:48:21: note: previous definition of ‘return_address’ was here
 extern inline void *return_address(unsigned int level)
                     ^

For more details, see:
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/185616889

notice: Only build tested as I don't have the hw, which is also why the
kernel is only bumped to 3.18 to make it as safe as possible.

CC: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoutil-linux: fix ncurses/wchar handling
Thomas Petazzoni [Fri, 23 Dec 2016 13:33:30 +0000 (14:33 +0100)]
util-linux: fix ncurses/wchar handling

Since commit 006a328ad6bed214ec3c4d92120510ea37329dd1 ("util-linux: fix
build with ncurses"), we have a build failure that occurs with musl
toolchains when wide-char support is not enabled in ncurses.

The problem comes from the fact that musl provides wchar support (so it
defines wchar_t). But when ncursesw is not available, we currently pass
--disable-widechar which tells util-linux that wchar support is not
available at all (not only in ncurses). When this gets passed to
util-linux configure script, then it defines its own wchar_t, which
conflicts with the musl definition.

So, we should not pass --disable-widechar when BR2_USE_WCHAR=y, which is
what this commit does: it moves the BR2_USE_WCHAR logic outside of the
ncurses logic, and passes --enable-widechar/--disable-widechar as
appropriate.

However, there's a gotcha: util-linux really wants the ncursesw variant
of ncurses when the system has wchar support enabled. We take this into
account by:

 - Enabling ncursesw when BR2_PACKAGE_NCURSES_WCHAR=y. In this case, we
   have ncurses and we have BR2_USE_WCHAR=y, so everything is fine.

 - Otherwise, enabling ncurses when BR2_PACKAGE_NCURSES=y but
   BR2_USE_WCHAR is disabled.

To make sure that the existing util-linux programs that need ncurses
support still build fine, we adjust the Config.in to select
BR2_PACKAGE_NCURSES_WCHAR on BR2_USE_WCHAR=y configurations.

Fixes:

  http://autobuild.buildroot.net/results/19de2a0b12380ddc86dbba0dae3a3877b25f83ff/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agokexec: bump to 2.0.14
Marcin Nowakowski [Fri, 23 Dec 2016 11:19:25 +0000 (12:19 +0100)]
kexec: bump to 2.0.14

Patch 0002-arm-add-phys_to_virt.h-and-iomem.patch is now obsolete as
it's been properly fixed upstream now.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-lxml: bump to version 3.7.0
Yegor Yefremov [Fri, 23 Dec 2016 11:10:06 +0000 (12:10 +0100)]
python-lxml: bump to version 3.7.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoxfsprogs: disable on musl
Thomas Petazzoni [Fri, 23 Dec 2016 13:36:38 +0000 (14:36 +0100)]
xfsprogs: disable on musl

Despite a recent bump, xfsprogs still doesn't build on musl. It's been
failing for a long long time, so let's disable it in this configuration.

Fixes:

  http://autobuild.buildroot.net/results/c6cd42da1abe2936872da1f9db093ffc72be3c15/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutil-linux: attempt to fix host-util-linux build
Thomas Petazzoni [Fri, 23 Dec 2016 10:26:05 +0000 (11:26 +0100)]
util-linux: attempt to fix host-util-linux build

Should fix:

  http://autobuild.buildroot.net/results/65595aa787498087a9a85c9cd19135396b246afb/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Eric Le Bihan for package/skalibs/
Thomas Petazzoni [Fri, 23 Dec 2016 10:20:29 +0000 (11:20 +0100)]
DEVELOPERS: add Eric Le Bihan for package/skalibs/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoskalibs: new package
Eric Le Bihan [Mon, 19 Dec 2016 21:29:07 +0000 (22:29 +0100)]
skalibs: new package

This new package provides skalibs, a collection of free software / open
source C development files used for building all softwares from
skarnet.org.

Note that, though skalibs (and all skarnet softwares) follows the
"./configure; make; make install" convention, it does not behave like a
traditional autotools project:

 - static libraries are installed in $prefix/usr/lib/skalibs.
 - pkg-config and libtool are not used: instead a custom system called
   "sysdeps" is used and locations to libraries and headers are to be
   passed explicitly via options of the './configure' script.

The host variant is provided to allow building the host variants of the
other skarnet softwares.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Thomas: remove post install target hook, do it directly in the target
installation commands.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutil-linux: fix build with ncurses
Rahul Bedarkar [Thu, 22 Dec 2016 16:27:07 +0000 (21:57 +0530)]
util-linux: fix build with ncurses

util-linux version 2.29 changed ncurses handling a lot. pkg-config
support to detect ncurses is removed from configure.ac and
ncurses-config is used to detect it. But it even didn't allow to
change config file for cross compilation. However, it is fixed in
upstream later and pkg-config support is added back.

This commit adds two patches from upstream that adds pkg-config support
and allows specifying ncurses-config file as well. However preference is
first given to pkg-config and later ncurses-config file. It also first checks
for version 6 and later 5.

Config option that changed are, ncursesw is enabled by default and ncurses
is disabled by default. So we need to explicilty specify with/without wide
char support now. This new version also allows disabling widechar support.
But it can't be enabled if ncurses without widechar support is enabled.

While building ncurses package, we explicitly enable pkg-config support,
so we don't need to specify ncurses-config file, but it is specified for
completeness.

Fixes:
  http://autobuild.buildroot.net/results/4a2/4a25fb0d4546391d5dbbaa6cde17c45aeddb3549

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Cc: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>