buildroot.git
7 years agoqt5enginio: move into legacy compatibility
Julien Corjon [Tue, 31 Jan 2017 07:59:04 +0000 (08:59 +0100)]
qt5enginio: move into legacy compatibility

See https://wiki.qt.io/New_Features_in_Qt_5.7

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5: add choice between version 5.6.2 and 5.8.0
Naumann Andreas [Tue, 31 Jan 2017 07:59:03 +0000 (08:59 +0100)]
qt5: add choice between version 5.6.2 and 5.8.0

For 5.8.0
- add hashes
- qt5 need C++11 compliant compiler since 5.7 ([1])
- use different licenses: since version 5.7 Qt removed the LGPL v2.1 option in favor
  of v3 with a different exception
- qt5base: renamed library to EglFSDeviceIntegration ([2])
- qt5base: remove ras-pi patch, commit c0cc5052097c723d0331a7619d686af9eb93d33c fix it ([3])
- qt5base: remove 0007-eglfs-fix-eglfs_mali-compile-for-odroid-mali.patch (upstream committed [3b])
- qt5base: remove obsolete config-option -large ([4])
- qt5base: gstreamer support fully moved to qt5multimedia, so gstreamer
  related options are no longer passed ([5])
- add patch for python-pyqt5 to fix the build with Qt 5.8
- add tweak in libv4l to fix the build with Qt 5.8, originally provided
  by Peter Seiderer
- add patch from Peter Seiderer fixing a build issue with freetype

For 5.6.2
- moved patches to subdir, and renumber patches

[1]  http://blog.qt.io/blog/2016/06/16/qt-5-7-released/
[2]  https://code.qt.io/cgit/qt/qtbase.git/commit/?id=ec4eb4db61094179bc6a9ec26ec68fb710177053
[3]  https://codereview.qt-project.org/#/c/167172/
[3b] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f1b4bd4790860e1ff5afcec111a359bc3a91cfda
[4]  https://code.qt.io/cgit/qt/qtbase.git/commit/?id=84d3a21c9efe7efb2cce6d3bd14af1f9580b1108
[5]  https://code.qt.io/cgit/qt/qtbase.git/commit/?id=7d4da559afb62a779b3d90a65fb679cb5433f203

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
[Thomas:
 - tweak commit log about GStreamer related changes, suggested by Arnout
 - move the gcc 4.8 dependency from the main qt5 option to just the
   qt5.8 selection, so that qt5.6 can still be built if gcc < 4.8 is
   used. Noticed by Arnout.
 - rename the options of the version selection to not include the
   version number itself so that we don't have to keep legacy
   symbols. Noticed by Arnout.
 - introduce changes to qt5quickcontrols2.mk needed to handle qt5.6
   vs. qt5.8, borrowed from a later patch in the series.
 - add patch for python-pyqt5 to fix the build with Qt 5.8.
 - add fix to libv4l.mk from Peter Seiderer to fix the build with Qt
   5.8.
 - renumber patches for 5.6.2, suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agologrotate: enable selinux support
Adam Duskett [Tue, 7 Feb 2017 14:04:11 +0000 (09:04 -0500)]
logrotate: enable selinux support

Selinux is currently disabled staticly in logrotate. This patch fixes
this by checking for libselinux and adding it as a dependecy if it has
been selected.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agologrotate: bump to version 3.11.0
Adam Duskett [Tue, 7 Feb 2017 14:04:10 +0000 (09:04 -0500)]
logrotate: bump to version 3.11.0

Also removed both patches as they have been added to this release.
Aslo removed reference to github patch in makefile as it has been
added to this release as well.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agontp: security bump to verserion 4.2.8p9
Adam Duskett [Mon, 6 Feb 2017 14:12:25 +0000 (09:12 -0500)]
ntp: security bump to verserion 4.2.8p9

This version of ntp fixes several vulnerabilities.

CVE-2016-9311
CVE-2016-9310
CVE-2016-7427
CVE-2016-7428
CVE-2016-9312
CVE-2016-7431
CVE-2016-7434
CVE-2016-7429
CVE-2016-7426
CVE-2016-7433

http://www.kb.cert.org/vuls/id/633847

In addition, libssl_compat.h is now included in many files, which
references openssl/evp.h, openssl/dsa.h, and openssl/rsa.h.
Even if a you pass --disable-ssl as a configuration option, these
files are now required.

As such, I have also added openssl as a dependency, and it is now
automatically selected when you select ntp.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/manual: centralize recommendations about BR2_DL_DIR
Luca Ceresoli [Mon, 6 Feb 2017 21:59:33 +0000 (22:59 +0100)]
docs/manual: centralize recommendations about BR2_DL_DIR

We currently have two places where we recommend where BR2_DL_DIR
should be set: "Environment variables" and "Location of downloaded
packages". The former recommends setting BR2_DL_DIR in the .config,
the latter kind of endorses using ~/.bashrc.

We prefer suggesting the ~/.bashrc way since it avoids downloading the
same file multiple times, and anyway it's wise to have all the details
in a unique place. So remove the .config suggestion from "Environment
variables" and let it just point to "Location of downloaded packages".

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/manual: suggest 'YES' as the value for LIBFOO_GIT_SUBMODULES
Luca Ceresoli [Tue, 7 Feb 2017 11:08:17 +0000 (12:08 +0100)]
docs/manual: suggest 'YES' as the value for LIBFOO_GIT_SUBMODULES

The manual mentions LIBFOO_GIT_SUBMODULES but does not tell what value
it should have. The implementation only checks whether the variable is
non-empty, but we should suggest a specific value to avoid people
wondering what they have to set, and to try setting weird values.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Ricardo Herrero <ricardo.herrero@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotslib: bump to 1.4
Martin Kepplinger [Tue, 7 Feb 2017 11:25:27 +0000 (12:25 +0100)]
tslib: bump to 1.4

additionally, this:

 * removes the patch adding missing headers (fixed upstream)
 * slightly changes the package description

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-service-identity: bump version to 16.0.0
Yegor Yefremov [Tue, 7 Feb 2017 11:48:12 +0000 (12:48 +0100)]
python-service-identity: bump version to 16.0.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-ubjson: bump to version 0.8.5
Yegor Yefremov [Tue, 7 Feb 2017 11:48:11 +0000 (12:48 +0100)]
python-ubjson: bump to version 0.8.5

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-pyopenssl: bump to version 16.2.0
Yegor Yefremov [Tue, 7 Feb 2017 11:48:10 +0000 (12:48 +0100)]
python-pyopenssl: bump to version 16.2.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-cbor: bump to version 1.0.0
Yegor Yefremov [Tue, 7 Feb 2017 11:48:09 +0000 (12:48 +0100)]
python-cbor: bump to version 1.0.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/qemu_nios2: add custom kernel headers version
Romain Naour [Tue, 7 Feb 2017 09:34:09 +0000 (10:34 +0100)]
configs/qemu_nios2: add custom kernel headers version

When this qemu nios2 defconfig has been added, the insternal toolchain
used for testing was build with Linux kernel headers 4.9, so
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9 was missing in the defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoruby: assume we always have finite, isinf and isnan for uClibc
Vicente Olivert Riera [Tue, 7 Feb 2017 09:47:59 +0000 (09:47 +0000)]
ruby: assume we always have finite, isinf and isnan for uClibc

On uClibc, finite, isinf and isnan are not directly implemented as
functions.  Instead math.h #define's these to __finite, __isinf and __isnan,
which are real functions.

This confuses the Ruby configure script which use AC_REPLACE_FUNCS to
detect these, as it really checks for a function without including math.h.

Because of the naming difference the checks fail, therefore the symbols
HAVE_FINITE, HAVE_ISINF and HAVE_ISNAN are not defined.
Ruby code relies on those symbols in order to define its own version of
the finite, isinf and isnan functions. Since the symbols haven't been
defined, those definitions cause conflicts with the already-existing
functions.

Fixes:
  http://autobuild.buildroot.net/results/f34/f34dc20749c6f6d12c51eddf3ee6c2ef41d7c13d/

[Peter: extend description, add comment in .mk]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoipsec-tools: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 09:02:14 +0000 (10:02 +0100)]
ipsec-tools: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibftdi: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 08:55:27 +0000 (09:55 +0100)]
libftdi: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoon2-8170-libs: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 08:51:23 +0000 (09:51 +0100)]
on2-8170-libs: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-ugly: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 08:49:58 +0000 (09:49 +0100)]
gst1-plugins-ugly: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoavrdude: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 08:48:30 +0000 (09:48 +0100)]
avrdude: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodrbd-utils: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 08:45:04 +0000 (09:45 +0100)]
drbd-utils: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobabeld: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 08:41:58 +0000 (09:41 +0100)]
babeld: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Fixing that also shows that the license file was misspelled, so fix that as
well (LICENSE/LICENCE).

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopoppler: fix typo in variable name
Peter Korsgaard [Tue, 7 Feb 2017 08:38:37 +0000 (09:38 +0100)]
poppler: fix typo in variable name

As pointed out during the check-package discussion, there is a typo in a
variable name:

http://lists.busybox.net/pipermail/buildroot/2016-December/180765.html

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibcec: remove LIBCEC_AUTORECONF variable
Rahul Bedarkar [Tue, 7 Feb 2017 06:02:34 +0000 (11:32 +0530)]
libcec: remove LIBCEC_AUTORECONF variable

libcec is a cmake based package. LIBCEC_AUTORECONF is meaningless in
this context.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobinutils: backport fix for xg_reverse_shift_count
Max Filippov [Mon, 6 Feb 2017 19:35:04 +0000 (11:35 -0800)]
binutils: backport fix for xg_reverse_shift_count

binutils-2.27 gas has bug that results in the following kind of build
error when assembling bb[cs]i.l on big-endian xtensa targets:

  ieee754-sf.S:237: Error: invalid symbolic operand

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-gunicorn: fix build issue with python2
Maxime Hadjinlian [Mon, 6 Feb 2017 19:36:31 +0000 (20:36 +0100)]
python-gunicorn: fix build issue with python2

Fix:
    http://autobuild.buildroot.org/results/b2d/b2d43dd3c52cc9f586009a10a40f97b07548322d/build-end.log

The issue arise from the fact that we compile all *.py files, but the
_gaiohttp.py file is using Python3 ("yield from") syntax which causes an
error.

So if we are using Python2, delete this file as it won't ever be imported
anyway as it is checked by gunicorn in the __init__.py file of the worker
module.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/mbedtls: make compression support a config option
Jörg Krause [Mon, 6 Feb 2017 20:01:23 +0000 (21:01 +0100)]
package/mbedtls: make compression support a config option

Enabling TLS compression may make mbedTLS vulnerable to the
CRIME attack [1]. It should not be enabled unless is is sure CRIME and
similar attacks are not applicable to the particulare situation.

As zlib is probably enabled in most systems, the user might end up with
a vulnerable system without knowing. So, instead of enabling compression
support if the zlib package is available, we make the compression support
a config option. This way, the user has to explicitly enable compression
support and is warned by the help text about the risk.

[1] https://tls.mbed.org/kb/how-to/deflate-compression-in-ssl-tls

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/ffmpeg: bump version to 3.2.3
Bernd Kuhls [Mon, 6 Feb 2017 19:45:12 +0000 (20:45 +0100)]
package/ffmpeg: bump version to 3.2.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosystemd: add missing dhcp.network file
Thomas Petazzoni [Mon, 6 Feb 2017 18:54:42 +0000 (19:54 +0100)]
systemd: add missing dhcp.network file

This file was missing from commit
84d997d6890f1d045c4d6084148fd9b2d674a6c7 ("system(d): allow auto net
configuration with networkd")

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibiio: Bump to version 0.9
Paul Cercueil [Mon, 6 Feb 2017 14:55:42 +0000 (15:55 +0100)]
libiio: Bump to version 0.9

This new version introduces a lot of bug fixes and some new API
functions.

Additionally, the IIO Daemon is now able to share the local IIO devices
through USB (using FunctionFS).

[Peter: usbd option needs 3.18+ headers, reorder options for menuconfig]
Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosudo: Add ldap support for sudoers rules
Chris Frederick [Mon, 24 Oct 2016 15:34:23 +0000 (10:34 -0500)]
sudo: Add ldap support for sudoers rules

Automatically build sudo with ldap support when openldap is enabled.

When sudo is built with ldap, /etc/sudoers is only read in for defaults,
all rules need to be provided via ldap which is configured by the user
in /etc/ldap.conf.

Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosize-stats: don't count hard links
Frank Hunleth [Mon, 24 Oct 2016 14:36:39 +0000 (10:36 -0400)]
size-stats: don't count hard links

This change adds inode tracking to the size-stats script so that hard
links don't cause files to be double counted. This has a significant
effect on the size computation for some packages. For example, git has
around a dozen hard links to a large file. Before this change, git would
weigh in at about 170 MB with the total filesystem size reported as
175 MB. The actual rootfs.ext2 size was around 16 MB. With the change,
the git package registers at 10.5 MB with a total filesystem size of
15.8 MB.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Acked-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-imx: add menuconfig to select each plugin individually
Gary Bisson [Mon, 26 Sep 2016 08:15:59 +0000 (10:15 +0200)]
gst1-imx: add menuconfig to select each plugin individually

Also making it clearer as for what each plugin dependencies are.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: invert conditions to avoid empty ifeq ... else statements.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoopenntpd: fix Config.in comment dependency
Thomas Petazzoni [Mon, 6 Feb 2017 18:22:08 +0000 (19:22 +0100)]
openntpd: fix Config.in comment dependency

BR2_PACKAGE_OPENNTPD has a "depends on !BR2_PACKAGE_NTP" because the
openntpd package conflicts with the ntp package.

So the Config.in comment of openntpd should also not be visible when ntp
is selected. Otherwise the comment will show up when the user has a
non-NPTL toolchain, and once he enables NPTL support, the comment
disappears, but the package option doesn't appear.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimagemagick: fix build of png support when jpeg support is disabled
Peter Korsgaard [Mon, 6 Feb 2017 17:02:55 +0000 (18:02 +0100)]
imagemagick: fix build of png support when jpeg support is disabled

Fixes:
http://autobuild.buildroot.net/results/d20/d20eecec8e7b947759185f77a6c8e610dd7393f3/
http://autobuild.buildroot.net/results/ee1/ee15efa8ae3f95244980810155ff7ba9f885a59d/
http://autobuild.buildroot.net/results/aa8/aa80f2fd4c7dd884ea8a1b55ad15a40c7bf40501/
http://autobuild.buildroot.net/results/9aa/9aaa044f78115d7f599ea09669c0d6bface5633e/

This combination is broken since 7.0.4-6.

Since commit a9e228f8ac26 (Implemented a private PNG caNv (canvas) chunk),
PNGsLong gets called unconditionally, but it is only defined if JPEG
support is enabled (which defines JNG_SUPPORTED), breaking the build:

MagickCore/.libs/libMagickCore-7.Q16HDRI.a(MagickCore_libMagickCore_7_Q16HDRI_la-png.o): In function `WriteOnePNGImage':
png.c:(.text+0x748d): undefined reference to `PNGsLong'
png.c:(.text+0x74b7): undefined reference to `PNGsLong'

Fix it by adding a patch unconditionally defining the helper function.

Patch submitted upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/cpio: Fix GNU Mirror Path
Brian Redbeard [Mon, 6 Feb 2017 16:49:25 +0000 (08:49 -0800)]
package/cpio: Fix GNU Mirror Path

Replacing ftpmirror.gnu.org with BR2_GNU_MIRROR variable

Signed-off-by: Brian 'redbeard' Harrington <redbeard@coreos.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libtasn1: Fix GNU Mirror Path
Brian Redbeard [Mon, 6 Feb 2017 16:48:52 +0000 (08:48 -0800)]
package/libtasn1: Fix GNU Mirror Path

Replacing ftpmirror.gnu.org with BR2_GNU_MIRROR variable

Signed-off-by: Brian 'redbeard' Harrington <redbeard@coreos.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/lightning: Fix GNU Mirror Path
Brian Redbeard [Mon, 6 Feb 2017 16:48:02 +0000 (08:48 -0800)]
package/lightning: Fix GNU Mirror Path

Replacing ftpmirror.gnu.org with BR2_GNU_MIRROR variable

Signed-off-by: Brian 'redbeard' Harrington <redbeard@coreos.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystem(d): allow auto net configuration with networkd
Eric Le Bihan [Sat, 17 Sep 2016 11:58:37 +0000 (13:58 +0200)]
system(d): allow auto net configuration with networkd

Allow automatic network configuration via systemd-networkd if selected.

If systemd-networkd is enabled and $BR2_SYSTEM_DHCP is set, then create
a .network file to configure the selected network interface via DHCP.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Thomas:
 - merge the two patches from Eric into just one
 - instead of generating the dhcp.network file completely from the .mk
   file, use a template file, and "sed" it with the right network
   interface]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-bitstring: new package
Yegor Yefremov [Mon, 6 Feb 2017 15:56:24 +0000 (16:56 +0100)]
python-bitstring: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-attrs: new package
Yegor Yefremov [Mon, 6 Feb 2017 15:56:23 +0000 (16:56 +0100)]
python-attrs: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefl: do not force dependency on libudev by making eeze a config option.
Gustavo Sverzut Barbieri [Mon, 6 Feb 2017 16:10:28 +0000 (17:10 +0100)]
efl: do not force dependency on libudev by making eeze a config option.

Although highly recommended to be enabled, EFL's eeze can be disabled
and thus no dependency on libudev or dynamic device management.

Since 'BR2_PACKAGE_HAS_UDEV' has two ways to be satisfied (eudev or
systemd) we can't automatically select it, instead show a comment and
use 'depends on'.

Signed-off-by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
[Romain:
  - Propagate the eeze dependency to enlightenment and efl Wayland
  - Remove udev provider from eeze comment in efl's Config.in
  - Add comments when eeze is not available]
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5base: add Config.in option to pass custom Qt5 options
Bryce Ferguson [Mon, 10 Oct 2016 20:02:37 +0000 (15:02 -0500)]
qt5base: add Config.in option to pass custom Qt5 options

To reduce the qt5base binary size, we can disable unnecessary features.
Instead of trying to map every qt5base option to buildroot, create a
single config that we can pass any option too. Then append those to the
ones generated by buildroot.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Thomas De Schapheleire for opkg-utils
Thomas Petazzoni [Mon, 6 Feb 2017 15:19:03 +0000 (16:19 +0100)]
DEVELOPERS: add Thomas De Schapheleire for opkg-utils

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoopkg-utils: new package
Thomas De Schampheleire [Mon, 6 Feb 2017 14:57:43 +0000 (15:57 +0100)]
opkg-utils: new package

Originally, the opkg sources also contained the tools needed to _create_ an
opkg package. In later releases, this code has been split to a separate
package opkg-utils.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowget: bump version to 1.19
Vicente Olivert Riera [Mon, 6 Feb 2017 13:16:05 +0000 (13:16 +0000)]
wget: bump version to 1.19

package/wget/0001-utils-rename-base64_-encode-decode.patch already
included in this release, so drop it:
  http://git.savannah.gnu.org/cgit/wget.git/commit/?id=e4e9d3c1c801190b5c8232284b26d170924b1696

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopps-tools: bump to version 97eaef2ab82a46d13ea5e00270712d6475fbe42b
Adam Duskett [Mon, 6 Feb 2017 14:00:11 +0000 (09:00 -0500)]
pps-tools: bump to version 97eaef2ab82a46d13ea5e00270712d6475fbe42b

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agox264: bump to version 97eaef2ab82a46d13ea5e00270712d6475fbe42b
Adam Duskett [Mon, 6 Feb 2017 14:00:10 +0000 (09:00 -0500)]
x264: bump to version 97eaef2ab82a46d13ea5e00270712d6475fbe42b

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-naxsi: bump to version 0.55.2
Adam Duskett [Mon, 6 Feb 2017 14:00:09 +0000 (09:00 -0500)]
nginx-naxsi: bump to version 0.55.2

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-firmware: bump to version 6d3bc8886517d171068fd1263176b8b5c51df204
Adam Duskett [Mon, 6 Feb 2017 14:00:08 +0000 (09:00 -0500)]
linux-firmware: bump to version 6d3bc8886517d171068fd1263176b8b5c51df204

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libplatform: bump version to 2.1.0
Bernd Kuhls [Mon, 6 Feb 2017 13:09:22 +0000 (14:09 +0100)]
package/libplatform: bump version to 2.1.0

Rebased patch 0001.

Updated license info after
https://github.com/Pulse-Eight/platform/commit/a1e5905874d5cdbce110344558d21a2810dead9c

Fixes:
    http://autobuild.buildroot.org/results/052/052b29efb3e5b208003ea40aa6499297bbbb7ad4/
    http://autobuild.buildroot.org/results/0d4/0d4d7fefc86269e825c6cc842077daccf9b4f7ee/
    http://autobuild.buildroot.org/results/700/7003798bbb8dbed72d651863149490221583057b/
    ...

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/odroidc2: bump kernel version to a7fe6f2258e30c7a547908b5480bdbe6b56d6d3c
Dagg Stompler [Fri, 27 Jan 2017 09:44:02 +0000 (11:44 +0200)]
configs/odroidc2: bump kernel version to a7fe6f2258e30c7a547908b5480bdbe6b56d6d3c

this kernel rev has numerous bug fixes, framework upgrades and new
features added.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/odroidc2: bump uboot version to eb5d2d16fd45f52ec49e9b4ff9d562630c08e61c
Dagg Stompler [Fri, 27 Jan 2017 09:01:10 +0000 (11:01 +0200)]
configs/odroidc2: bump uboot version to eb5d2d16fd45f52ec49e9b4ff9d562630c08e61c

this version bump allows usage of hardkernel's secure signatures when
booting a system

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/odroidc2: update boot.ini to 5ce6bcc6d8048ba5ff351516b751d52f5cda6981
Dagg Stompler [Fri, 27 Jan 2017 07:44:01 +0000 (09:44 +0200)]
configs/odroidc2: update boot.ini to 5ce6bcc6d8048ba5ff351516b751d52f5cda6981

changes:
 - add multicam support
 - add the new options
 - organization and add uhs and card remove controls
 - clarify hdmi/dvi/vga selection

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/sngrep: fix static linking against libpcap
Bernd Kuhls [Sun, 29 Jan 2017 17:24:38 +0000 (18:24 +0100)]
package/sngrep: fix static linking against libpcap

Inspired by
https://git.buildroot.net/buildroot/tree/package/aircrack-ng/aircrack-ng.mk#n30

Fixes
http://autobuild.buildroot.net/results/699/6993c398649469e25f2491fdb8f1ac9b6d6d8c3c/
http://autobuild.buildroot.net/results/846/8468df3462ac6d53faef228ca241bc500b2d7a52/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mbedtls: fix zlib support
Jörg Krause [Sun, 29 Jan 2017 21:15:11 +0000 (22:15 +0100)]
package/mbedtls: fix zlib support

To enable compression support using zlib it is necessary to uncomment
the define for MBEDTLS_ZLIB_SUPPORT in config.h [1].

Note, that enabling TLS compression may make mbedTLS vulnerable to the
CRIME attack [1]. It should not be enabled unless is is sure CRIME and
similar attacks are not applicable to the particulare situation.

As zlib is probably enabled in most systems, maybe it is best to make
the compression support a user choice and add the warning from [1]?

[1] https://tls.mbed.org/kb/how-to/deflate-compression-in-ssl-tls

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agograph-depends: split off get_rdepends from get_depends
Thomas De Schampheleire [Fri, 3 Feb 2017 20:57:45 +0000 (21:57 +0100)]
graph-depends: split off get_rdepends from get_depends

The use of a 'rule' variable that can contain 'show-depends' or
'show-rdepends' is not logical if get_depends is considered as a reusable
function from various scripts. The name of these rules are too much an
implementation detail.

Therefore, split the existing get_depends into two separate functions
get_depends and get_rdepends, while keeping code duplication to a minimum.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agograph-depends: split off get_version/get_depends into pkgutil.py
Thomas De Schampheleire [Fri, 3 Feb 2017 20:57:44 +0000 (21:57 +0100)]
graph-depends: split off get_version/get_depends into pkgutil.py

Functions to obtain the version and dependencies of a package from Python
can be useful for several scripts. Extract this logic out of graph-depends
into pkgutil.py.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: remove shebang from pkgutil.py, noticed by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: Add Lionel Flandrin to package/python-gunicorn
Lionel Flandrin [Mon, 30 Jan 2017 14:11:18 +0000 (15:11 +0100)]
DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-gunicorn: new package
Lionel Flandrin [Mon, 30 Jan 2017 14:11:17 +0000 (15:11 +0100)]
python-gunicorn: new package

Gunicorn ‘Green Unicorn’ is a Python WSGI HTTP Server for UNIX. It’s a
pre-fork worker model ported from Ruby’s Unicorn project. The Gunicorn
server is broadly compatible with various web frameworks, simply
implemented, light on server resource usage, and fairly speedy.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/website: switching from gmane to nabble
Angelo Compagnucci [Sun, 5 Feb 2017 16:59:32 +0000 (17:59 +0100)]
docs/website: switching from gmane to nabble

Gmane mailing list infrastructure is broken from some time,
switching to nabble both for rss and search services.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/website: fix google feed API
Angelo Compagnucci [Sun, 5 Feb 2017 16:59:31 +0000 (17:59 +0100)]
docs/website: fix google feed API

Google deprecated feed api to cenvert rss to json, switching
to yahoo yql. This patch also reorganize the javascript code
to accomodate the fixings.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/website: bump jquery and bootstrap
Angelo Compagnucci [Sun, 5 Feb 2017 16:59:30 +0000 (17:59 +0100)]
docs/website: bump jquery and bootstrap

This patch bumps jquery and bootstrap to the latest versions.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tmux: fix build
Yann E. MORIN [Sun, 5 Feb 2017 16:21:26 +0000 (17:21 +0100)]
package/tmux: fix build

The bump to the latest libevent version exposed a latent bug in tmux,
which tries to re-define a variable exposed by the C library.

This breaks with uClibc-ng which defines it const char*, while glibc and
musl define it as non-const.

Fixes:
    http://autobuild.buildroot.org/results/31d/31d37c95b40d297b90a6181ec79c42ee1e2e5090/
    http://autobuild.buildroot.org/results/ccc/ccc9d2e995ba1eaf19f6b325b0af5ebeb8066e7f/
    http://autobuild.buildroot.org/results/8a2/8a28d43bd0c079c1b49b61b0c6ef7de79eda0549/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9}.x series
Fabio Estevam [Sun, 5 Feb 2017 14:40:23 +0000 (12:40 -0200)]
linux-headers: bump 4.{4, 9}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.9.8
Fabio Estevam [Sun, 5 Feb 2017 14:40:22 +0000 (12:40 -0200)]
linux: bump default to version 4.9.8

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibamcodec: bump version to 296f39bc6fc47ddf5d88b9fd3cfb82a5b39048ca
Dagg Stompler [Fri, 3 Feb 2017 12:11:17 +0000 (14:11 +0200)]
libamcodec: bump version to 296f39bc6fc47ddf5d88b9fd3cfb82a5b39048ca

- remove 0001-Include-stdint.h-where-needed.patch as it was merged into
   the tree.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agograph-depends: avoid use of global var 'rule' in get_depends
Thomas De Schampheleire [Fri, 3 Feb 2017 20:57:42 +0000 (21:57 +0100)]
graph-depends: avoid use of global var 'rule' in get_depends

Function get_depends was recently changed to support both normal
dependencies as reverse dependencies, via a global variable 'rule' that
equals 'show-depends' or 'show-rdepends'.

As a subsequent function will extract this function get_depends to a
separate file, the use of globals is problematic.

Instead, pass the global as an argument.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mpd: bump to version 0.20.4
Jörg Krause [Sun, 5 Feb 2017 14:13:51 +0000 (15:13 +0100)]
package/mpd: bump to version 0.20.4

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libuv: bump to version 0.11.0
Jörg Krause [Sun, 5 Feb 2017 14:08:35 +0000 (15:08 +0100)]
package/libuv: bump to version 0.11.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: Update Synopsys prebuilt toolchain for ARC cores
Alexey Brodkin [Fri, 3 Feb 2017 07:26:41 +0000 (10:26 +0300)]
toolchain-external: Update Synopsys prebuilt toolchain for ARC cores

Sync external prebuilt toolchain with the one we now build in Buildroot,
i.e. arc-2016.09. Since that prebuilt toolchain finally has IPv6 enabled
it works pretty fine for building packages in Buildroot.

Still note:
 1) There might be subtle differences between uClibc configuration
    compared to Buildroot's one.
 2) A couple of patches we apply on top of Builroot-built toolchain
    are obviously missing in the prebuilt version - they will be
    available in the next release.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Vlad Zakharov <vzakhar@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libcec: bump version to 4.0.2
Bernd Kuhls [Sat, 4 Feb 2017 11:44:19 +0000 (12:44 +0100)]
package/libcec: bump version to 4.0.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/unixodbc: add optional dependency to libtool
Bernd Kuhls [Sat, 4 Feb 2017 16:43:27 +0000 (17:43 +0100)]
package/unixodbc: add optional dependency to libtool

To get reproducible builds of unixodbc add libtool as optional
dependency.

Without libtool:

$ host/usr/bin/x86_64-linux-readelf -a target/usr/lib/libodbc.so.2.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

With libtool:

$ host/usr/bin/x86_64-linux-readelf -a target/usr/lib/libodbc.so.2.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libltdl.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoportaudio: bump to version 190600_20161030
Adam Duskett [Fri, 3 Feb 2017 20:29:59 +0000 (15:29 -0500)]
portaudio: bump to version 190600_20161030

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoopenvmtools: bump version to 5a9033ddfa95786d867e4d02bbb9a29bac8fb64f
Adam Duskett [Fri, 3 Feb 2017 20:29:58 +0000 (15:29 -0500)]
openvmtools: bump version to 5a9033ddfa95786d867e4d02bbb9a29bac8fb64f

Technically this is 10.1.0, however the initial release left out a config
directory causing autoconfig to fail.  See this post:
https://github.com/vmware/open-vm-tools/issues/115#issuecomment-269963907

As such, I specified the hash to fix the release:
https://github.com/vmware/open-vm-tools/commit/5a9033ddfa95786d867e4d02bbb9a29bac8fb64f

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonginx-naxsi: bump version to 0.55.1
Adam Duskett [Fri, 3 Feb 2017 20:29:57 +0000 (15:29 -0500)]
nginx-naxsi: bump version to 0.55.1

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonginx: bump version to 1.10.3
Adam Duskett [Fri, 3 Feb 2017 20:29:56 +0000 (15:29 -0500)]
nginx: bump version to 1.10.3

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibv4l: bump version to 1.12.2
Adam Duskett [Fri, 3 Feb 2017 20:29:55 +0000 (15:29 -0500)]
libv4l: bump version to 1.12.2

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibmicrohttpd: bump version to 0.9.52
Adam Duskett [Fri, 3 Feb 2017 20:29:54 +0000 (15:29 -0500)]
libmicrohttpd: bump version to 0.9.52

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibevent: bump to version 2.1.8
Adam Duskett [Fri, 3 Feb 2017 20:29:53 +0000 (15:29 -0500)]
libevent: bump to version 2.1.8

I also modified the Disable-building-test-programs.patch to work
with the newer Makefile.

[Peter: add s-o-b / note to patch]
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojansson: bump to version 2.9
Adam Duskett [Fri, 3 Feb 2017 20:29:52 +0000 (15:29 -0500)]
jansson: bump to version 2.9

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoaudit: bump to version 2.7.1
Adam Duskett [Fri, 3 Feb 2017 20:29:50 +0000 (15:29 -0500)]
audit: bump to version 2.7.1

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoacpid: bump to version 2.0.28
Adam Duskett [Fri, 3 Feb 2017 20:29:49 +0000 (15:29 -0500)]
acpid: bump to version 2.0.28

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/git: bump version to 2.11.1
Bernd Kuhls [Sat, 4 Feb 2017 11:31:53 +0000 (12:31 +0100)]
package/git: bump version to 2.11.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs: Update Synopsys VDK for ARC HS38
Alexey Brodkin [Wed, 1 Feb 2017 17:47:02 +0000 (20:47 +0300)]
configs: Update Synopsys VDK for ARC HS38

This updates Linux kernel for Synopsys ARC HS38 VDK so it matches real
platform and while at it bump kernel version to the latest.

Main changes:
 * Linux kernel v4.9.6 (latest in 4.9.x series in buildroot)
 * Add support of MMC controller which is used for rootfs
 * Add support of UIO which is used to communicate with EVSS

Now with this update image built by vanilla Buildroot VDK has
working UART, MMC, LCD, Ethernet, UIO etc.

And while at it we rename defconfing so it:
 1) Doesn't mention SMP any more - that's the only option anyways now
 2) Matches common naming scheme: vendor_arch_platform

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Zakharov Vlad <Vladislav.Zakharov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogengetopt: add patch to fix compilation warnings in generated code
Thomas De Schampheleire [Fri, 3 Feb 2017 22:02:48 +0000 (23:02 +0100)]
gengetopt: add patch to fix compilation warnings in generated code

getgetopt generates code that causes compilation warnings in current
versions of gcc. If gengetopt is used for programs that set -Werror during
compilation, these compilation warnings become real problems.

Unfortunately, the gengetopt project seems dead for several years now. Last
release dates back to 2012. There is an open bug for this problem [1], with
a proposed patch, but no response from the maintainers.

Apply the patch from the bug report to fix the problem.

[1]  http://savannah.gnu.org/bugs/?40243

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosquashfs: bump to fix RHEL 5 compilation error
Thomas De Schampheleire [Fri, 3 Feb 2017 21:12:18 +0000 (22:12 +0100)]
squashfs: bump to fix RHEL 5 compilation error

Bump squashfs with one commit to fix a compilation error on the ancient RHEL
5 distribution.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/libgpiod: bump version to v0.1.2
Bartosz Golaszewski [Thu, 2 Feb 2017 16:36:16 +0000 (17:36 +0100)]
package/libgpiod: bump version to v0.1.2

This is a small bug-fix release:
  - include <poll.h> instead of <sys/poll.h> in gpioset
  - fix a formatting issue in gpioinfo for chips with >100 GPIO lines
  - fix a bug when requesting both-edges event notifications

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agouclibc: allow to build aarch64 internal toolchain
Waldemar Brodkorb [Fri, 3 Feb 2017 14:28:14 +0000 (15:28 +0100)]
uclibc: allow to build aarch64 internal toolchain

uClibc-ng from 1.0.22 and up supports aarch64 architecture.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agouclibc: enable mips{32,64}r6 support
Waldemar Brodkorb [Fri, 3 Feb 2017 14:16:58 +0000 (15:16 +0100)]
uclibc: enable mips{32,64}r6 support

The config for ISA choice is removed for a long time as
the buildsystem does not pass -march=mips* to the compiler anymore.
For mips{32,64}r6 support NAN selection is required.

Tested with qemu mips32/mips64 defconfigs.

A small patch is required. Bug found while testing qemu defconfigs.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agouclibc: update to 1.0.22
Waldemar Brodkorb [Thu, 2 Feb 2017 06:16:53 +0000 (07:16 +0100)]
uclibc: update to 1.0.22

- fixes mips{32,64}r6 support
- adds experimental aarch64 support
- fixes syscalls with 6 arguments for x86
- removes PID caching and simplifies architecture specific code

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotcpdump: security bump to version 4.9.0
Baruch Siach [Fri, 3 Feb 2017 05:43:43 +0000 (07:43 +0200)]
tcpdump: security bump to version 4.9.0

Security fixes in this release (from the Debian changelog):

    + CVE-2016-7922: buffer overflow in print-ah.c:ah_print().
    + CVE-2016-7923: buffer overflow in print-arp.c:arp_print().
    + CVE-2016-7924: buffer overflow in print-atm.c:oam_print().
    + CVE-2016-7925: buffer overflow in print-sl.c:sl_if_print().
    + CVE-2016-7926: buffer overflow in print-ether.c:ethertype_print().
    + CVE-2016-7927: buffer overflow in print-802_11.c:ieee802_11_radio_print().
    + CVE-2016-7928: buffer overflow in print-ipcomp.c:ipcomp_print().
    + CVE-2016-7929: buffer overflow in print-juniper.c:juniper_parse_header().
    + CVE-2016-7930: buffer overflow in print-llc.c:llc_print().
    + CVE-2016-7931: buffer overflow in print-mpls.c:mpls_print().
    + CVE-2016-7932: buffer overflow in print-pim.c:pimv2_check_checksum().
    + CVE-2016-7933: buffer overflow in print-ppp.c:ppp_hdlc_if_print().
    + CVE-2016-7934: buffer overflow in print-udp.c:rtcp_print().
    + CVE-2016-7935: buffer overflow in print-udp.c:rtp_print().
    + CVE-2016-7936: buffer overflow in print-udp.c:udp_print().
    + CVE-2016-7937: buffer overflow in print-udp.c:vat_print().
    + CVE-2016-7938: integer overflow in print-zeromq.c:zmtp1_print_frame().
    + CVE-2016-7939: buffer overflow in print-gre.c, multiple functions.
    + CVE-2016-7940: buffer overflow in print-stp.c, multiple functions.
    + CVE-2016-7973: buffer overflow in print-atalk.c, multiple functions.
    + CVE-2016-7974: buffer overflow in print-ip.c, multiple functions.
    + CVE-2016-7975: buffer overflow in print-tcp.c:tcp_print().
    + CVE-2016-7983: buffer overflow in print-bootp.c:bootp_print().
    + CVE-2016-7984: buffer overflow in print-tftp.c:tftp_print().
    + CVE-2016-7985: buffer overflow in print-calm-fast.c:calm_fast_print().
    + CVE-2016-7986: buffer overflow in print-geonet.c, multiple functions.
    + CVE-2016-7992: buffer overflow in print-cip.c:cip_if_print().
    + CVE-2016-7993: a bug in util-print.c:relts_print() could cause a
      buffer overflow in multiple protocol parsers (DNS, DVMRP, HSRP, IGMP,
      lightweight resolver protocol, PIM).
    + CVE-2016-8574: buffer overflow in print-fr.c:frf15_print().
    + CVE-2016-8575: buffer overflow in print-fr.c:q933_print().
    + CVE-2017-5202: buffer overflow in print-isoclns.c:clnp_print().
    + CVE-2017-5203: buffer overflow in print-bootp.c:bootp_print().
    + CVE-2017-5204: buffer overflow in print-ip6.c:ip6_print().
    + CVE-2017-5205: buffer overflow in print-isakmp.c:ikev2_e_print().
    + CVE-2017-5341: buffer overflow in print-otv.c:otv_print().
    + CVE-2017-5342: a bug in multiple protocol parsers (Geneve, GRE, NSH,
      OTV, VXLAN and VXLAN GPE) could cause a buffer overflow in
      print-ether.c:ether_print().
    + CVE-2017-5482: buffer overflow in print-fr.c:q933_print().
    + CVE-2017-5483: buffer overflow in print-snmp.c:asn1_parse().
    + CVE-2017-5484: buffer overflow in print-atm.c:sig_print().
    + CVE-2017-5485: buffer overflow in addrtoname.c:lookup_nsap().
    + CVE-2017-5486: buffer overflow in print-isoclns.c:clnp_print().

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosepolgen: bump to version 2.6
Adam Duskett [Mon, 30 Jan 2017 17:00:14 +0000 (12:00 -0500)]
sepolgen: bump to version 2.6

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodbus: remove init script status op
Baruch Siach [Wed, 1 Feb 2017 20:48:42 +0000 (22:48 +0200)]
dbus: remove init script status op

The status command calls the Upstart status utility which we don't have.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyzmq: bump to version 16.0.2
Lionel Flandrin [Tue, 31 Jan 2017 11:22:45 +0000 (12:22 +0100)]
python-pyzmq: bump to version 16.0.2

Updated the zmq version detection patch to apply cleanly on 16.0.2.

Added patch #2 to replace compile_and_run with compile_and_forget in the setup
code: this function is only used to check for the availability of "sys/un.h" and
we only need to compile the test code to make sure of that. This fixes the
cross-compilation.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore infra: make sure apply-patches is called with correct tar
Thomas De Schampheleire [Wed, 1 Feb 2017 11:27:08 +0000 (12:27 +0100)]
core infra: make sure apply-patches is called with correct tar

Buildroot has a mechanism to detect a too-old or missing tar program on the
host machine, and builds a custom host-tar if needed. An example situation
is a RHEL5 host machine, where tar is knowingly too old.

The apply-patches script also employs tar, in case the patches come as an
archive. However, tar is called as 'tar' without any absolute path, and the
environment does not point in any way to the possibly custom tar. As a
result, the too-old-tar is called. A particular problem is the flag '-a'
which is missing on e.g. RHEL5.

Previously, this problem went unnoticed: tar would fail, but apply-patches
did not notice it, and the overall return code of the script was 'success'.
However, commit d5ae67b4 added 'set -e' to the script, causing any error to
halt execution of the script with an error.

Fix the problem by adding the Buildroot-built host tools to the PATH when
calling apply-patches.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: remove stale references to (ARCH_)LIBC_A_LOCATION
Thomas De Schampheleire [Tue, 31 Jan 2017 16:03:38 +0000 (17:03 +0100)]
toolchain-external: remove stale references to (ARCH_)LIBC_A_LOCATION

The variables LIBC_A_LOCATION and ARCH_LIBC_A_LOCATION were killed in commit
646bd86908f7f995cdc2b95e0be381d97600f905 but the corresponding descriptions
were never removed.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: update Thomas De Schampheleire
Thomas De Schampheleire [Tue, 31 Jan 2017 16:03:43 +0000 (17:03 +0100)]
DEVELOPERS: update Thomas De Schampheleire

The originally added entries were based on 'last committer' heuristics, but
I do not particularly feel responsible for them.

Instead update the list with more appropriate entries.

Additionally, update my email address.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibcurl: optional verbose strings config
Judd Meinders [Tue, 31 Jan 2017 17:26:53 +0000 (11:26 -0600)]
libcurl: optional verbose strings config

This patch enables a config to set --enable-verbose during the
configuration of libcurl.  The option is triggered by setting
BR2_PACKAGE_LIBCURL_VERBOSE.

Signed-off-by: Judd Meinders <judd.meinders@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/website/sponsors.html: Google and Mind sponsors of FOSDEM 2017 meeting
Thomas Petazzoni [Wed, 1 Feb 2017 20:52:10 +0000 (21:52 +0100)]
docs/website/sponsors.html: Google and Mind sponsors of FOSDEM 2017 meeting

This commit updates the sponsors page on our web site to indicate that
Google and Mind are sponsoring the Buildroot Developers Meeting at
FOSDEM 2017 in Brussels.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xkeyboard-config: bump version to 2.20
Bernd Kuhls [Wed, 1 Feb 2017 20:40:07 +0000 (21:40 +0100)]
package/x11r7/xkeyboard-config: bump version to 2.20

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>