buildroot.git
7 years agoDEVELOPERS: add Ezequiel Garcia as developer for mimic package
Thomas Petazzoni [Sat, 10 Dec 2016 13:59:29 +0000 (14:59 +0100)]
DEVELOPERS: add Ezequiel Garcia as developer for mimic package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomimic: new package
Ezequiel Garcia [Sat, 10 Dec 2016 12:21:54 +0000 (09:21 -0300)]
mimic: new package

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
[Thomas:
 - Rewrap Config.in help text
 - Use "depends on" rather than "select" for the audio backend options
 - Slightly simplify some of the prompts for the audio backend selection
 - Remove MIMIC_INSTALL_STAGING = NO, that's the default
 - Use += when assigning MIMIC_DEPENDENCIES
 - Remove double quotes when setting --with-audio=.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump to version 1.1.0
Fabrice Fontaine [Fri, 9 Dec 2016 20:26:04 +0000 (21:26 +0100)]
cjson: bump to version 1.1.0

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoswupdate: replace BR2_PREFER_STATIC_LIB with BR2_STATIC_LIBS
Danomi Manchego [Sat, 10 Dec 2016 02:23:00 +0000 (21:23 -0500)]
swupdate: replace BR2_PREFER_STATIC_LIB with BR2_STATIC_LIBS

The symbol to control static compilation was renamed in 2015.02, but missed
when swupdate was added.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/efl: add Wayland support
Romain Naour [Thu, 8 Dec 2016 22:24:17 +0000 (23:24 +0100)]
package/efl: add Wayland support

The EFL Wayland support was removed with commit [1] since the dependecy
on libdrm was missing. Also it requires OpenGL ES with EGL, Evas DRM
and Evas GLES DRM support [2].

As stated in configure, Evas GLES DRM engine support (gl_drm) depends
on wayland-client to build (wayland-client >= 1.8.0).

So, enable gl_drm only when wayland support is selected.

[1] 4f04be1659f186765f506c68f5bfbf6845fc40dc
[2] https://www.enlightenment.org/about-wayland

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pierre Floury <devpfl@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/efl: enable libdrm support
Romain Naour [Thu, 8 Dec 2016 22:24:16 +0000 (23:24 +0100)]
package/efl: enable libdrm support

drm can be used without compositor, just like it was with
the framebuffer for standalone applications

As stated in configure.ac, libdrm support needs libdrm, elput,
libxkbcommon and libgbm.

libgbm is only provided by mesa3d package when OpenGL EGL support is
enabled, so add a direct dependency on mesa3d.

Rework the libxkbcommon dependency since it's now required for
elput and libdrm support.

[1] https://www.enlightenment.org/about-wayland

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Pierre Floury <devpfl@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/xen: Disable Werror checking
Alistair Francis [Thu, 8 Dec 2016 22:46:59 +0000 (14:46 -0800)]
package/xen: Disable Werror checking

The strict unused-const-variable checking was causing autobuilder errors
when trying to build Xen tools/libxl as the migrate_*[] arrays are not
always accessed.

To avoid the error edit the Makefile to stop all general warnings being treated
as errors, by removing the -Werror flag.

Fixes:
  http://autobuild.buildroot.net/results/0e0/0e0d4aa4a05da5804821951289c0a4049b009c61/

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoezxml: disable mmap code for nommu
Peter Korsgaard [Fri, 9 Dec 2016 10:26:03 +0000 (11:26 +0100)]
ezxml: disable mmap code for nommu

Fixes:
http://autobuild.buildroot.net/results/8e1/8e10052a0d0ad4f47622925349ec5fddb7b672f0/
http://autobuild.buildroot.net/results/2f1/2f15b81beadd2d902c73d6d8bd7fb06b03f62ef5/

The mmap support uses madvise which isn't available on nommu uClibc, so disable it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosysstat: bump to version 11.4.2
Gustavo Zacarias [Fri, 9 Dec 2016 14:52:29 +0000 (11:52 -0300)]
sysstat: bump to version 11.4.2

[Peter: add local sha256 hash as suggested by Vicente]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodovecot-pigeonhole: bump version to 0.4.16
Vicente Olivert Riera [Fri, 9 Dec 2016 15:10:03 +0000 (15:10 +0000)]
dovecot-pigeonhole: bump version to 0.4.16

Release notes:
  http://www.dovecot.org/list/dovecot-news/2016-October/000330.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodovecot: bump version to 2.2.27 (security)
Vicente Olivert Riera [Fri, 9 Dec 2016 15:10:02 +0000 (15:10 +0000)]
dovecot: bump version to 2.2.27 (security)

Fixes CVE-2016-8652 : http://www.securityfocus.com/bid/94639/

Release notes:
  http://www.dovecot.org/list/dovecot-news/2016-December/000333.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinks: security bump to version 2.14
Gustavo Zacarias [Fri, 9 Dec 2016 15:44:01 +0000 (12:44 -0300)]
links: security bump to version 2.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agophp: security bump to version 7.0.14
Gustavo Zacarias [Fri, 9 Dec 2016 12:47:30 +0000 (09:47 -0300)]
php: security bump to version 7.0.14

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogrep: bump to version 2.27
Gustavo Zacarias [Fri, 9 Dec 2016 12:48:56 +0000 (09:48 -0300)]
grep: bump to version 2.27

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibglib2: bump to version 2.50.2
Gustavo Zacarias [Fri, 9 Dec 2016 12:49:57 +0000 (09:49 -0300)]
libglib2: bump to version 2.50.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agovala: bump to version 0.34.4
Gustavo Zacarias [Fri, 9 Dec 2016 12:50:34 +0000 (09:50 -0300)]
vala: bump to version 0.34.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agognutls: bump to version 3.4.17
Gustavo Zacarias [Fri, 9 Dec 2016 12:51:36 +0000 (09:51 -0300)]
gnutls: bump to version 3.4.17

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoharfbuzz: bump to version 1.3.4
Gustavo Zacarias [Fri, 9 Dec 2016 12:52:00 +0000 (09:52 -0300)]
harfbuzz: bump to version 1.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopoppler: bump to version 0.49.0
Gustavo Zacarias [Fri, 9 Dec 2016 12:55:17 +0000 (09:55 -0300)]
poppler: bump to version 0.49.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agompv: bump to version 0.22.0
Gustavo Zacarias [Fri, 9 Dec 2016 12:56:46 +0000 (09:56 -0300)]
mpv: bump to version 0.22.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocairo: bump to version 1.14.8
Gustavo Zacarias [Fri, 9 Dec 2016 13:40:49 +0000 (10:40 -0300)]
cairo: bump to version 1.14.8

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocoreutils: bump to version 8.26
Gustavo Zacarias [Fri, 9 Dec 2016 13:43:09 +0000 (10:43 -0300)]
coreutils: bump to version 8.26

Pass on INSTALL_PROGRAM to configure since starting with version 8.26
when building natively it tries to use the self-built install to
install, and when cross-compiling it expects INSTALL_PROGRAM to point to
a real install, or otherwise fails when recursively trying to expand it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibunistring: bump to version 0.9.7
Gustavo Zacarias [Fri, 9 Dec 2016 13:51:24 +0000 (10:51 -0300)]
libunistring: bump to version 0.9.7

Add new GPLv2 license option.
Unfortunately COPYING is GPLv3, so avoid it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogtksourceview: bump to version 3.22.2
Gustavo Zacarias [Fri, 9 Dec 2016 13:51:40 +0000 (10:51 -0300)]
gtksourceview: bump to version 3.22.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibinput: bump to version 1.5.3
Gustavo Zacarias [Fri, 9 Dec 2016 15:00:49 +0000 (12:00 -0300)]
libinput: bump to version 1.5.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux: bump default to version 4.8.13
Gustavo Zacarias [Fri, 9 Dec 2016 12:45:13 +0000 (09:45 -0300)]
linux: bump default to version 4.8.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{8, 4, 1}.x and 3.{18, 12}.x series
Gustavo Zacarias [Fri, 9 Dec 2016 12:45:12 +0000 (09:45 -0300)]
linux-headers: bump 4.{8, 4, 1}.x and 3.{18, 12}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agorpm: add optional dependencies on elfutils and binutils
Thomas Petazzoni [Thu, 8 Dec 2016 23:04:05 +0000 (00:04 +0100)]
rpm: add optional dependencies on elfutils and binutils

Since these are detected by the configure script, we should explicit
their dependencies in rpm.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpm: add patches to fix bfd.h related build issues
Thomas Petazzoni [Thu, 8 Dec 2016 23:00:38 +0000 (00:00 +0100)]
rpm: add patches to fix bfd.h related build issues

This commit adds two patches to the rpm package to fix two separate but
related build issues:

 - The first patch fixes a build that occurs when rpm is built after
   elfutils, but without binutils. In this case, dwarf.h is present, so
   rpm enables the build of a number of additional tools. But one of
   them uses bfd.h, provided by binutils, without checking for its
   existence. So the first patch fixes that by checking for bfd.h
   existence before enabling the tool.

   Fixes:

     http://autobuild.buildroot.net/results/810/810e24cab65f67d143da29c78c0f89d37a851cd7/build-end.log

 - The second patch fixes a build issue that occurs when rpm is built
   after both dwarf and binutils. In this case, bfd.h complains because
   config.h is not included. That's a weird and silly issue in bfd.h
   that the binutils developers don't want to fix, and you have to
   define PACKAGE or PACKAGE_VERSION before including bfd.h to use it
   outside of binutils.

   Fixes:

     http://autobuild.buildroot.net/results/362/362502f89631c9ba1d71906527674657ccff01ed/build-end.log

Thanks a lot to James Knight <james.knight@rockwellcollins.com> for the
initial investigation about the first issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: bump to version 1.18.4
Romain Naour [Thu, 8 Dec 2016 21:55:24 +0000 (22:55 +0100)]
package/efl: bump to version 1.18.4

Bug fix release:
https://www.enlightenment.org/news/efl-1.18.4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystemd: don't build systemd-firstboot by default
Frank Hunleth [Wed, 26 Oct 2016 17:18:04 +0000 (13:18 -0400)]
systemd: don't build systemd-firstboot by default

systemd-firstboot is never invoked since systemd's first boot detection
logic checks whether /etc/machine-id exists. Since the file is created
automatically by systemd.mk, systemd will never detect first boot and
therefore the systemd-firstboot.service unit file will never get run.

Additionally, if /etc/machine-id is removed to allow systemd-firstboot
to run, it interactively prompts for the system locale. This makes it
seem unlikely that an embedded system would want to use it.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xen: Bump Xen to 4.7.1
Alistair Francis [Thu, 8 Dec 2016 20:11:11 +0000 (12:11 -0800)]
package/xen: Bump Xen to 4.7.1

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode
Peter Korsgaard [Wed, 7 Dec 2016 09:25:22 +0000 (10:25 +0100)]
arch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode

The ARMv8 cores all support thumb2 instructions when running in aarch32 mode.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: only enable BR2_ARM_CPU_HAS_NEON for ARMv8 in 32bit mode
Peter Korsgaard [Wed, 7 Dec 2016 09:25:21 +0000 (10:25 +0100)]
arch/Config.in.arm: only enable BR2_ARM_CPU_HAS_NEON for ARMv8 in 32bit mode

A number of packages use BR2_ARM_CPU_HAS_NEON to know if the target handles
aarch32 neon instructions, which is only true for ARMv8 cores when they are
running in 32bit mode.

Notice: These cores do support neon-like instructions using a different
encoding in 64bit mode (it is a required part of ARMv8, similar to the FPU).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: only enable BR2_ARM_CPU_HAS_ARM for ARMv8 in 32bit mode
Peter Korsgaard [Wed, 7 Dec 2016 09:25:20 +0000 (10:25 +0100)]
arch/Config.in.arm: only enable BR2_ARM_CPU_HAS_ARM for ARMv8 in 32bit mode

Fixes:
http://autobuild.buildroot.net/results/5e6/5e67cc067a06f7364cde1a8393ea72608fe7fef1/

A number of packages use BR2_ARM_CPU_HAS_ARM to know if the target handles
classic A32 instructions, which is only true for ARMv8 cores when they are
running in 32bit mode.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc-ng-test: disable some parts of test-suite
Waldemar Brodkorb [Thu, 8 Dec 2016 02:34:17 +0000 (03:34 +0100)]
uclibc-ng-test: disable some parts of test-suite

The math tests are experimental at the moment and require more
adaptions before they can be enabled again.
The locale tests are not compatible with musl toolchains,
so disable them.

Use latest git version from upstream for other bugfixes.

Fixes:
 http://autobuild.buildroot.net/results/74e/74e7add310797772bc51f9ea9847408a8b05d643/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5xmlpatterns: install examples
Matt Kraai [Thu, 8 Dec 2016 14:38:50 +0000 (06:38 -0800)]
qt5xmlpatterns: install examples

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: update my entry list
Marcin Niestroj [Thu, 8 Dec 2016 14:51:49 +0000 (15:51 +0100)]
DEVELOPERS: update my entry list

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openvpn: bump version to 2.3.14
Bernd Kuhls [Thu, 8 Dec 2016 18:40:42 +0000 (19:40 +0100)]
package/openvpn: bump version to 2.3.14

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefibootmgr: depends on wchar
Erico Nunes [Mon, 5 Dec 2016 23:07:18 +0000 (00:07 +0100)]
efibootmgr: depends on wchar

After commit 3ae07b4746 recently, efibootmgr now selects
BR2_PACKAGE_GETTEXT if the toolchain requires it.
gettext depends on wchar, so this dependency should be propagated as
well.
menuconfig currently complains loudly if you select efibootmgr, with an
error such as:

  warning: (... && BR2_PACKAGE_EFIBOOTMGR ... && ) selects
  BR2_PACKAGE_GETTEXT which has unmet direct dependencies
  (BR2_USE_WCHAR)

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: introduce BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
Erico Nunes [Mon, 5 Dec 2016 23:07:17 +0000 (00:07 +0100)]
efivar: introduce BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS

efivar only makes sense on platforms that support UEFI.
UEFI is only supported by some architectures at the moment, being mostly
employed on platforms such as x86, x86_64 and aarch64. Some other
platforms such as MIPS and PowerPC may have some unofficial UEFI
support. UEFI is also limited to little endian architectures.

efivar was being supported in Buildroot without architecture
restrictions so far, however this has led to the creation of a number of
hacks in the recipes, mostly for architectures that are not supported by
UEFI.
In order to avoid spending more time to debug these failures and
maintaining more hacks for unsupported architectures, efivar can be
restricted to that platforms where it makes sense and where it is more
likely to receive some testing and actual usage.

The existing hacks for the now unsupported architectures are removed,
and the dependency is propagated to efibootmgr as it depends on efivar.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: fix comment after uClibc compatibility patch
Erico Nunes [Mon, 5 Dec 2016 23:07:15 +0000 (00:07 +0100)]
efivar: fix comment after uClibc compatibility patch

uClibc support was recently added to efivar through a small
compatibility patch.
This commit updates a comment in the efivar recipe to reflect this, as
we no longer have glibc as the only supported C library.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: bump version to 1.6.13
Bernd Kuhls [Wed, 7 Dec 2016 21:25:35 +0000 (22:25 +0100)]
package/freeswitch: bump version to 1.6.13

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C
Jean-Baptiste Trédez [Wed, 7 Dec 2016 15:20:42 +0000 (16:20 +0100)]
linux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C

Fix kernel reproducible build if a non-C locale is used on the host
system.

When building the Linux kernel, scripts/gen_initramfs_list.sh does 'date
-d"$KBUILD_BUILD_TIMESTAMP" +%s'. In linux.mk, Buildroot sets
KBUILD_BUILD_TIMESTAMP to "$(shell date -d @$(SOURCE_DATE_EPOCH))".

For example, if LANG=fr_FR.UTF-8 is defined in the host system, it does
not work:

- LC_ALL=C date -d"$(LC_ALL=C date)" : ok
- LC_ALL=C date -d"$(LC_ALL=fr_FR.UTF-8 date)" : error

LANG/LC_ALL variables exported in the main Makefiles are not passed in
the $(shell ...) sub-shells.

Signed-off-by: Jean-Baptiste Trédez <jean-baptiste.tredez@basystemes.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5connectivity: install examples
Matt Kraai [Wed, 7 Dec 2016 15:11:30 +0000 (07:11 -0800)]
qt5connectivity: install examples

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomadplay: fix build on noMMU platforms
Thomas Petazzoni [Wed, 7 Dec 2016 22:24:07 +0000 (23:24 +0100)]
madplay: fix build on noMMU platforms

A recent change in uClibc-ng removed the MADV_* definitions for
madvise(), but kept the madvise() function itself. This defeats the
logic used in madplay: it checks if madvise() is available, and if it
is, uses it and assumes the MADV_* definitions exist.

This inconsistency has been reported to upstream uClibc-ng, but in the
mean time, we can simply tell madplay to not use madvise(), which is
anyway useless on noMMU platforms.

Fixes:

  http://autobuild.buildroot.net/results/3291554ea013e5f4a8f3447e10e664dffa8b131b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouhttpd: add patch to remove -Werror
Thomas Petazzoni [Wed, 7 Dec 2016 21:50:14 +0000 (22:50 +0100)]
uhttpd: add patch to remove -Werror

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-tools: fix build on musl
Thomas Petazzoni [Wed, 7 Dec 2016 21:37:19 +0000 (22:37 +0100)]
lttng-tools: fix build on musl

Add patch to add a missing <pthread.h> include to fix the build on musl.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: fix legal info again
Thomas Petazzoni [Wed, 7 Dec 2016 21:22:20 +0000 (22:22 +0100)]
pru-software-support: fix legal info again

Commit 00810e0ea3976c5b26a7fd264870f15e17a2eaa2 still didn't fix the
license information properly, so this is a new commit (properly tested
this time) fixing the license information.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: disable FPM interface on Sparc
Thomas Petazzoni [Wed, 7 Dec 2016 21:08:09 +0000 (22:08 +0100)]
php: disable FPM interface on Sparc

Building fails with "Sparc v8 and predecessors are not and will not be
supported (see bug report 53310)", so we disable FPM on Sparc.

Fixes:

  http://autobuild.buildroot.net/results/6a86f6cf07f6b6dccd7bfaab6d7682f9faf3527b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-autotools: search in the entire source directory for ltmain.sh
Waldemar Brodkorb [Wed, 7 Dec 2016 18:41:20 +0000 (19:41 +0100)]
pkg-autotools: search in the entire source directory for ltmain.sh

Fixes static linking of berkeleydb package, where ltmain.sh
is not in the sub-directory that contains configure.
Always search the complete source directory.

Fixes:
 http://autobuild.buildroot.net/results/f0a96f671644d9f9efcf245b354affdc84f7d7da

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/easydbus: new package
Marcin Niestroj [Wed, 7 Dec 2016 14:49:05 +0000 (15:49 +0100)]
package/easydbus: new package

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocmake: adjust dependencies added for libuv
Thomas Petazzoni [Wed, 7 Dec 2016 11:12:33 +0000 (12:12 +0100)]
cmake: adjust dependencies added for libuv

Commit 1ffcf364b6e9894a876dc581a090f87685945412 updated cmake to 3.7.0,
which requires selecting the libuv package. At the time, the libuv
package only depended on BR2_TOOLCHAIN_HAS_THREADS. However, later on,
it was changed in master to depend on BR2_TOOLCHAIN_HAS_THREADS_NPTL, a
change which was not taken into account in the cmake 3.7.0 bump that was
merged in the next branch.

Due to this, builds of cmake is attempted on architectures that don't
provide NPTL thread support, causing a build failure. This commit fixes
that by adjusting the dependency.

Fixes:

  http://autobuild.buildroot.net/results/16a5e1cbb57c0124537c4f3dc0807ba1eaa975ec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ffmpeg: bump version to 3.2.2
Bernd Kuhls [Tue, 6 Dec 2016 21:11:45 +0000 (22:11 +0100)]
package/ffmpeg: bump version to 3.2.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: fix powerpc64le arch config name
Erico Nunes [Mon, 5 Dec 2016 23:07:16 +0000 (00:07 +0100)]
gcc: fix powerpc64le arch config name

Buildroot references powerpc64 little endian as BR2_powerpc64le and not
BR2_powerpc64el.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotoolchain-external: disallow sourcery codebench ARM toolchain for ARMv8 cores
Peter Korsgaard [Tue, 6 Dec 2016 16:42:18 +0000 (17:42 +0100)]
toolchain-external: disallow sourcery codebench ARM toolchain for ARMv8 cores

This toolchain uses GCC 4.8.x, which doesn't support the ARMv8 cores.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: disallow 4.9.x for ARM cortex-a72
Peter Korsgaard [Tue, 6 Dec 2016 16:36:18 +0000 (17:36 +0100)]
gcc: disallow 4.9.x for ARM cortex-a72

a72 support was only added in the 5.1 cycle.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: disallow 4.8.x for ARMv8 cores
Peter Korsgaard [Tue, 6 Dec 2016 16:36:17 +0000 (17:36 +0100)]
gcc: disallow 4.8.x for ARMv8 cores

Notice: A53/A57 were in fact supported in aarch64 mode in 4.8 (in aarch32
mode only from 4.9), but it doesn't handle --with-abi, and as there is
unlikely to be any aarch64 based legacy projects unwilling to use a newer
GCC version it is simpler to disallow it for all modes.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: move SED definition into the main Makefile
Thomas Petazzoni [Sun, 4 Dec 2016 21:37:24 +0000 (22:37 +0100)]
Makefile: move SED definition into the main Makefile

Since commit f71a621d91ec27f175fc84012962f88b1107305f, we are using the
SED variable in the main Makefile. However, this variable is only
defined in package/Makefile.in, which gets included only when a
configuration is defined.

This means that, if you do:

 $ make menuconfig savedefconfig

without a configuration defined, it fails with:

/bin/bash: /BR2_DEFCONFIG=/d: No such file or directory
Makefile:898: recipe for target 'savedefconfig' failed
make[1]: *** [savedefconfig] Error 127

This issue affects users of the "buildroot-submodule" project, which
does menuconfig+savedefconfig automatically. They worked around this
issue in commit
https://github.com/Openwide-Ingenierie/buildroot-submodule/commit/d12676b608a58529c6b551aa176464166a200428,
but really "make menuconfig savedefconfig" should work out of the box.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agombedtls: bump to version 2.4.0
Rahul Jain [Tue, 6 Dec 2016 10:42:28 +0000 (16:12 +0530)]
mbedtls: bump to version 2.4.0

This change also fixes
http://autobuild.buildroot.net/results/27b/27b35d03b576392955e21498ac1e62590ef5f5db/build-end.log

Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoffmpeg: fix build for ffplay
Phil Eichinger [Tue, 6 Dec 2016 14:32:37 +0000 (15:32 +0100)]
ffmpeg: fix build for ffplay

Upstream has dropped SDL support for ffplay in favor of SDL2.
This results in silently not building ffplay even if it is selected
in Buildroot config.

[Peter: propagate !static dependency from sdl2]
Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/shairport-sync: bump version to 2.8.6
Jörg Krause [Tue, 6 Dec 2016 10:56:42 +0000 (11:56 +0100)]
package/shairport-sync: bump version to 2.8.6

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosysklogd: fix build on musl
Thomas Petazzoni [Mon, 28 Nov 2016 22:20:58 +0000 (23:20 +0100)]
sysklogd: fix build on musl

This commit add a stack of small patches that make sysklogd build fine
with the musl C library. Build with uClibc and glibc has been tested
with those patches applied as well.

The first patch is slightly rework (better description and capital
letter to the title) in preparation for upstream submission.

Fixes:

  http://autobuild.buildroot.net/results/8fa2bf73f983330884bce2e5ac31e01dee112ba9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoraspberrypi-usbboot: new package
Thomas Petazzoni [Mon, 5 Dec 2016 20:59:06 +0000 (21:59 +0100)]
raspberrypi-usbboot: new package

This new package currently installs the "rpiboot" utility, which is
needed to access via USB mass storage the built-in eMMC of Raspberry Pi
compute modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: remove Tom Sparks
Thomas Petazzoni [Tue, 6 Dec 2016 09:08:06 +0000 (10:08 +0100)]
DEVELOPERS: remove Tom Sparks

Tom privately notified that he is not able to support the packages he
originally added in Buildroot, so this commit removes him from the
DEVELOPERS file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external-linaro-{arm,armeb}: allow on ARMv8
Thomas Petazzoni [Mon, 5 Dec 2016 22:15:43 +0000 (23:15 +0100)]
toolchain-external-linaro-{arm,armeb}: allow on ARMv8

The Linaro toolchains are currently only available on ARMv7-A, but can
in fact also be used to generate 32 bits code for ARMv8 platforms. This
commit therefore adjusts their architecture dependency.

Example, a 32 bits ARM build produces a 32 bits busybox binary:

$ file output/target/bin/busybox
output/target/bin/busybox: setuid ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=16a7a70eb9cac08759e52a260478b9c287f59238, stripped

Which was built for Cortex-A72:

$ ./output/host/usr/bin/arm-linux-gnueabihf-readelf -A output/target/bin/busybox
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "Cortex-A72"
  Tag_CPU_arch: v8
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: FP for ARMv8
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_rounding: Needed
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_VFP_args: VFP registers
  Tag_CPU_unaligned_access: v6
  Tag_MPextension_use: Allowed
  Tag_Virtualization_use: TrustZone and Virtualization Extensions

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add Cortex-A57 and Cortex-A72
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:11 +0000 (22:12 +0100)]
arch/Config.in.arm: add Cortex-A57 and Cortex-A72

Add two popular ARM64 cores to the list of supported cores: Cortex-A57
and Cortex-A72.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: Add Cortex-A53 CPU
Matt Flax [Wed, 30 Nov 2016 21:12:10 +0000 (22:12 +0100)]
arch/Config.in.arm: Add Cortex-A53 CPU

Adds the Cortex-A53 CPU to the target architecture variant choice. This
sets the toolchain to use Cortex-A53 as the target. The effect is that
various Cortex-A53 tunings are enabled for the compilation of packages.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: specify ABI for ARM64
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:09 +0000 (22:12 +0100)]
arch/Config.in.arm: specify ABI for ARM64

There's currently only one widely supported ABI for ARM64, called lp64,
so we define BR2_GCC_TARGET_ABI to the appropriate value.

Note that there is another ABI for ARM64 being worked on, ilp32, but its
support is not fully upstream in the kernel, so we're not adding support
for it for the moment.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add FPU related options for ARMv8 cores
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:08 +0000 (22:12 +0100)]
arch/Config.in.arm: add FPU related options for ARMv8 cores

The ARMv8 cores have a mandatory FPU unit called FP-ARMv8, so we:

 - add a new hidden Config.in option for the availability of this
   unit (BR2_ARM_CPU_HAS_FP_ARMV8)

 - allow the selection of a possible choice in the "Floating point
   strategy", and add two new choices: BR2_ARM_FPU_FP_ARMV8 and
   BR2_ARM_FPU_NEON_FP_ARMV8.

 - specify the -mfpu values for BR2_ARM_FPU_FP_ARMV8 and
   BR2_ARM_FPU_NEON_FP_ARMV8 cases, when used on ARM 32 bits (-mfpu
   doesn't exist on ARM64, instead -mcpu modifiers are used, so they
   will be added on a per-core basis).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[yann.morin.1998@free.fr: drop the FP strategy dependency]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/arm: drop legacy dependency for floating point strategy
Yann E. MORIN [Wed, 30 Nov 2016 21:12:07 +0000 (22:12 +0100)]
arch/arm: drop legacy dependency for floating point strategy

The floating point strategy currently depends on EABI || EABIHF. The
reason was that, wayback when we also supported OABI, we only exposed FP
for EABI or EABIHF, and hide it for OABI, which did not support FP.

It's been a while now that we do not support OABI, but the dependency
stuck all along.

Remove it as it is no longer needed, and is always true.

However, the choice is empty for AArch64, as we still have no entry for
their floating point strategy yet.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add BR2_ARM_CPU_ARMV8
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:06 +0000 (22:12 +0100)]
arch/Config.in.arm: add BR2_ARM_CPU_ARMV8

In order to prepare the addition of ARM64 cores, add the blind
BR2_ARM_CPU_ARMV8 option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: prepare addition of 64 bits cores
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:05 +0000 (22:12 +0100)]
arch/Config.in.arm: prepare addition of 64 bits cores

Until now the "Target Architecture Variant" choice was not visible on
AArch64. In order to prepare the addition of the 64 bits core to this
choice, this commit adds a "depends on !BR2_ARCH_IS_64" dependency to
all currently supported cores (that are 32 bits only).

Following this commit, the "Target Architecture Variant" choice appears
on AArch64, but is for now empty.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch: merge Config.in.aarch64 into Config.in.arm
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:04 +0000 (22:12 +0100)]
arch: merge Config.in.aarch64 into Config.in.arm

The 64 bits ARM processors are capable of running 32 bits ARM code, and
some platforms are indeed using this capability. Due to this, if we were
to keep the separation between Config.in.aarch64 and Config.in.arm, we
would have to duplicate the definition of all 64-bits capable ARM cores
into both files.

Instead of going down this route, let's take the same route as the x86
one: a single Config.in.x86 file, used for both x86 32 bits and x86 64
bits, with the appropriate logic to only show the relevant cores
depending on which architecture is selected.

In order to do this, we:

 - Make the "ARM instruction set" choice only visible on ARM 32 bits,
   since we currently don't support ARM vs. Thumb on AArch64.

 - Add the relevant values for the BR2_ARCH option.

 - Add the relevant values for the BR2_ENDIAN option.

 - Make the "aapcs-linux" BR2_GCC_TARGET_ABI value only used on ARM 32
   bits, since this ABI doesn't mean anything on AArch64.

 - Make the BR2_GCC_TARGET_FPU option depends on ARM 32 bits, since
   there is no -mfpu option on AArch64.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agovim: be more careful when removing the documentation
Thomas Petazzoni [Mon, 5 Dec 2016 20:36:32 +0000 (21:36 +0100)]
vim: be more careful when removing the documentation

The current VIM_REMOVE_DOCS hook removes all .txt files from
/usr/share/vim. Unfortunately, this also removes the rgb.txt file,
which is needed at runtime for vim, as reported in bug #9466.

This commit changes VIM_REMOVE_DOCS to remove only
/usr/share/vim/vim*/doc/. Size-wise, it's equivalent because:

 - We are no longer removing a few README.txt in other directories,
   taking more space.

 - We are now removing the /usr/share/vim/vim*/doc/ folder entirely,
   which contained a few files not named *.txt

So overall, the size of /usr/share/vim/ before and after this patch is
still 11MB.

Fixes bug #9466.

Reported-by: Mateusz Furdyna <sir.ferdek@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-autotools: generic configure fix for powerpc64
Sam bobroff [Mon, 28 Nov 2016 05:11:39 +0000 (16:11 +1100)]
pkg-autotools: generic configure fix for powerpc64

Many (100+) packages supported by buildroot contain old configure
scripts (or build them from old versions of autotools) that are unable
to determine how to link shared libraries on powerpc64 and
powerpc64le. This causes that test to erroneously fail on toolchains
that are not "bi-endian" (which is the case for toolchains built by
buildroot), which causes configure to build static libraries instead
of dynamic ones. Although these builds succeed, they tend to cause
linker failures in binaries later linked against them.

Because affected configure files can be discovered automatically, this
patch introduces a hook (enabled only when building for powerpc64 and
powerpc64le) that uses a script to scan and fix each package.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: fix licensing information
Thomas Petazzoni [Mon, 5 Dec 2016 21:40:01 +0000 (22:40 +0100)]
pru-software-support: fix licensing information

Fix the path to the license file, and adjust the licensing information
according to the contents of this file.

Fixes:

  http://autobuild.buildroot.net/results/213cdda78b0a4762ee4fecc0f178df1225062c6f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/liquid-dsp: fix build failure on powerpc64le
Sam bobroff [Mon, 5 Dec 2016 03:30:57 +0000 (14:30 +1100)]
package/liquid-dsp: fix build failure on powerpc64le

Commit 7d435d8510db69ed2f9108abaa52479bce127b72 fixed building on
powerpc and powerpc64. This extends that fix to cover powerpc64le,
which suffers from the same problem.

Fixes:
http://autobuild.buildroot.net/results/45c4651a833e4667d4ef68e619cf4b5749a288da

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-dav-ext: depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
Johan Oudinet [Mon, 5 Dec 2016 14:28:25 +0000 (15:28 +0100)]
nginx-dav-ext: depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE

This package adds missing WebDAB commands to NGINX. So, it makes sense
iff Nginx is compiled with the WebDAV support.

Fixes:

  http://autobuild.buildroot.net/results/6e997faf553dc70d0aa1ee811fd669650349cba2/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas: fix indentation, add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP
Johan Oudinet [Mon, 5 Dec 2016 14:28:24 +0000 (15:28 +0100)]
nginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP

This package adds XSS and SQLi protection to Nginx HTTP server.
So, it makes sense iff the HTTP part of nginx is enabled.

Fixes:

  http://autobuild.buildroot.net/results/1df67325f11a6f1c88d0c9cc5f4feab0b57bc2a6/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas: fix indentation, add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: not available for static builds
Rahul Bedarkar [Mon, 5 Dec 2016 16:08:22 +0000 (21:38 +0530)]
efivar: not available for static builds

efivar uses dlfcn.h which is not available in static builds
configuration. Also propagate dependency to efibootmgr. This commit
also does s/requires/needs/ in comment while at it.

Fixes:
  http://autobuild.buildroot.net/results/ab3/ab32ccacfac2e65e1fcb307058d06c3d0122979d/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogstreamer1: fix compile for microblaze and xtensa architectures
Peter Seiderer [Mon, 5 Dec 2016 20:27:15 +0000 (21:27 +0100)]
gstreamer1: fix compile for microblaze and xtensa architectures

Fix unaligned access support detection introduced to gstreamer
by commit 'gstconfig.h: Detect unaligned access support at compile-time' ([1])
by assuming no unaligned support for unknown architectures.

Fixes [2], [3]:

  ../gst/gstconfig.h:112:4: error: #error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug."
  #  error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug."

[1] https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?h=1.10&id=6ef601367e0f5adb7a8b02cec94dec04fccf701a
[2] http://autobuild.buildroot.net/results/c1cd60d3f44f2938e5f42453d034ea070898f837
[3] http://autobuild.buildroot.net/results/c3a6662f0acfda179a58cdad9165f36826229826

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agochrony: bump version to 2.4.1
Peter Korsgaard [Mon, 5 Dec 2016 20:07:02 +0000 (21:07 +0100)]
chrony: bump version to 2.4.1

Fixes a crash issue with smoothtime directive.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoti-cgt-pru: fix typo in comment
Peter Korsgaard [Mon, 5 Dec 2016 07:07:49 +0000 (08:07 +0100)]
ti-cgt-pru: fix typo in comment

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/openpowerlink: fix build with Linux kernel 4.7+
Romain Naour [Thu, 3 Nov 2016 21:05:23 +0000 (22:05 +0100)]
package/openpowerlink: fix build with Linux kernel 4.7+

dev->trans_start was replaced by netif_trans_update helper in kernel
4.7 by commit 860e9538a9482bb84589f7d0718a7e6d0a944d58.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openpowerlink: bump to v2.5.0
Romain Naour [Thu, 3 Nov 2016 21:05:22 +0000 (22:05 +0100)]
package/openpowerlink: bump to v2.5.0

 - Rebase existing patches
 - Use a "menu" instead of "choice" to select Ethernet Powerlink
   Drivers since we can now build several kernel modules at once.
 - Select the Intel 82573 driver by default.
 - Disable library with simulation interface.
 - Disable zynq/FPGA (PCIe) interface otherwise the kernelpcp library
   is always build.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Thomas: minor Config.in tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqextserialport: remove redundant patch 0001-gui
Arnout Vandecappelle [Thu, 24 Nov 2016 22:37:47 +0000 (23:37 +0100)]
qextserialport: remove redundant patch 0001-gui

The same thing was done in upstream commit 220d7a2f "QtGui module only
needed by Windows", though it was done differently upstream.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add developer for nginx-dav-ext
Thomas Petazzoni [Sun, 4 Dec 2016 22:35:31 +0000 (23:35 +0100)]
DEVELOPERS: add developer for nginx-dav-ext

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx: group the external modules enabling logic
Thomas Petazzoni [Sun, 4 Dec 2016 22:34:17 +0000 (23:34 +0100)]
nginx: group the external modules enabling logic

This commit moves the logic that allows to enable the naxsi external
module below the "external modules" comment, which was already used for
the upload and dav-ext modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-dav-ext: new package
Johan Oudinet [Tue, 29 Nov 2016 16:47:51 +0000 (17:47 +0100)]
nginx-dav-ext: new package

Nginx built-in support for webdav is missing support for two commands:
PROPFIND and OPTIONS. This commit adds a new package that provides an
external nginx module with improved webdav support.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas:
 - Remove the BR2_PACKAGE_NGINX_HTTP_DAV_EXT_MODULE sub-option of the
   nginx package. The BR2_PACKAGE_NGINX_DAV_EXT option is sufficient.
 - Move the nginx.mk code together with another external module being
   enabled, nginx-upload.
 - Add LICENSE and LICENSE_FILES variables.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoerlang: odbc support requires thread support
Thomas Petazzoni [Sun, 4 Dec 2016 21:44:56 +0000 (22:44 +0100)]
erlang: odbc support requires thread support

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add upstream hash link
Romain Naour [Sun, 4 Dec 2016 20:58:44 +0000 (21:58 +0100)]
package/aubio: add upstream hash link

Paul Brossier, the aubio maintainer, added a sha256 hash for the
Buildroot package. Thanks !

https://github.com/aubio/aubio/issues/77

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: add library for PRU firmware
Ash Charles [Fri, 2 Dec 2016 04:22:41 +0000 (23:22 -0500)]
pru-software-support: add library for PRU firmware

TI provides a set of headers files and libraries useful in developing
firmware for real-time (PRU) cores embedded in some processors e.g.
AM3358.  This package stages these files for any packages creating
PRU firmware.

Note: As per [1], use commit v4.0.2 to sync with common TI Linux
      versions.

[1] http://e2e.ti.com/support/arm/sitara_arm/f/791/p/552190/2018113#2018113

Signed-off-by: Ash Charles <ash.charles@savoirfairelinux.com>
[Thomas:
 - rename BR2_PACKAGE_PRU_EXAMPLES to BR2_PACKAGE_PRU_SOFTWARE_SUPPORT,
   since the package directory name should match the Config.in option
   for this package
 - use select for BR2_PACKAGE_HOST_TI_CGT_PRU, and therefore add the
   appropriate "depends on BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoti-cgt-pru: add package for PRU Host toolchain
Ash Charles [Fri, 2 Dec 2016 04:22:40 +0000 (23:22 -0500)]
ti-cgt-pru: add package for PRU Host toolchain

TI provides a binary code generation toolchain to develop firmware for
the programmable real-time unit/co-processor found in some SOCs such as
some models in the AM335x line. This toolchain includes C/C++ support
(clpru) rather than just assembler (pasm) supported by the pre-existing
am335x-pru-package [1].  Following the lead of the Yocto meta-ti
layer [2], this package provides a host toolchain suitable for an x86
(or x86_64) Linux targeting an ARM-based PRU core.

[1] http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#pasm_vs._clpru
[2] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/devtools/ti-cgt-pru_2.1.1.bb

Signed-off-by: Ash Charles <ash.charles@savoirfairelinux.com>
[Thomas: add BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS boolean option,
so that packages selecting host-ti-cgt-pru can easily inherit its
architecture dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomksh: update to R54
Waldemar Brodkorb [Sun, 4 Dec 2016 18:08:40 +0000 (19:08 +0100)]
mksh: update to R54

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/olimex_a20_olinuxino_lime_mali: bump kernel version
Romain Naour [Sun, 4 Dec 2016 16:30:25 +0000 (17:30 +0100)]
configs/olimex_a20_olinuxino_lime_mali: bump kernel version

Bump the kernel to the next commit which fix the build with gcc6.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Waldemar as developer for uclibc-ng-test
Thomas Petazzoni [Sun, 4 Dec 2016 20:50:40 +0000 (21:50 +0100)]
DEVELOPERS: add Waldemar as developer for uclibc-ng-test

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add entry for aubio
Romain Naour [Sun, 4 Dec 2016 16:30:26 +0000 (17:30 +0100)]
DEVELOPERS: add entry for aubio

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibxmlrpc: fix build without C++ compiler
Alvaro Gamez Machado [Sun, 4 Dec 2016 15:55:40 +0000 (16:55 +0100)]
libxmlrpc: fix build without C++ compiler

Conditionally disable compilation of optional C++ module.

Fixes:

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

Signed-off-by: Alvaro Gamez Machado <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>