buildroot.git
8 years agopackage/ffmpeg: bump version to 3.2
Bernd Kuhls [Sat, 29 Oct 2016 12:08:02 +0000 (14:08 +0200)]
package/ffmpeg: bump version to 3.2

Support for libfaac was removed upstream:
https://github.com/xbmc/FFmpeg/commit/dc0f711459e0c682bf9f94ba38d26736e90cff45

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x264: bump version
Bernd Kuhls [Sat, 29 Oct 2016 12:08:59 +0000 (14:08 +0200)]
package/x264: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 29 Oct 2016 12:11:07 +0000 (14:11 +0200)]
package/tvheadend: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dtv-scan-tables: bump version
Bernd Kuhls [Sat, 29 Oct 2016 12:11:06 +0000 (14:11 +0200)]
package/dtv-scan-tables: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 0.22.0
Bernd Kuhls [Sat, 29 Oct 2016 12:10:10 +0000 (14:10 +0200)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.22.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xlib_libXi: bump version to 1.7.8
Bernd Kuhls [Sat, 29 Oct 2016 12:10:09 +0000 (14:10 +0200)]
package/x11r7/xlib_libXi: bump version to 1.7.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonetwork-manager: remove bogus --mandir option
Thomas Petazzoni [Sat, 29 Oct 2016 13:03:58 +0000 (15:03 +0200)]
network-manager: remove bogus --mandir option

The network-manager.mk passes --mandir=$(STAGING_DIR)/usr/man/, which
causes man pages to be installed in
$(STAGING_DIR)/$(STAGING_DIR)/usr/man and
$(TARGET_DIR)/$(STAGING_DIR)/usr/man.

This is definitely bogus and causes some build failures thanks to the
new check added by Yann E. Morin. This option was in
network-manager.mk since the addition of the package. Maybe it was
fixing a bug in the package logic back at the time, but nowadays, it
causes an installation at the wrong location. Without this commit, the
man pages are properly installed at the right location.

Fixes:

  http://autobuild.buildroot.net/results/92683749b0b8e726bc83781ca6d8e103428362ba/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x265: bump version to 2.1
Bernd Kuhls [Sat, 29 Oct 2016 12:09:34 +0000 (14:09 +0200)]
package/x265: bump version to 2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobellagio: add patch to fix installation path of documentation
Thomas Petazzoni [Sat, 29 Oct 2016 12:31:58 +0000 (14:31 +0200)]
bellagio: add patch to fix installation path of documentation

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libglob: fix license typo
Jerzy Grzegorek [Fri, 28 Oct 2016 13:13:59 +0000 (15:13 +0200)]
package/libglob: fix license typo

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoadwaita-icon-theme: install to staging
Gustavo Zacarias [Fri, 28 Oct 2016 13:13:23 +0000 (10:13 -0300)]
adwaita-icon-theme: install to staging

This is required for the upcoming evince package which checks for adwaita
presence via pkgconfig file, which normally resides in staging.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomicroblaze: fix musl support
Waldemar Brodkorb [Sun, 23 Oct 2016 19:26:16 +0000 (21:26 +0200)]
microblaze: fix musl support

For musl we need patches for bintils 2.25.1 and 2.26.1.
Binutils 2.27 and gcc 6.2.x does not work for microblaze,
even not for uClibc-ng or glibc.
For gcc 5.4.x the existing patch need reworking so that
musl and uClibc-ng is supported.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas:
 - Add proper description for the binutils patches
 - Use BR2_microblaze instead of BR2_microblazeel and BR2_microblazebz]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gpm: indentation cleanup
Jerzy Grzegorek [Fri, 28 Oct 2016 10:14:04 +0000 (12:14 +0200)]
package/gpm: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/postgresql: indentation cleanup
Jerzy Grzegorek [Fri, 28 Oct 2016 10:14:03 +0000 (12:14 +0200)]
package/postgresql: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoipset: bump to version 6.30
Baruch Siach [Fri, 28 Oct 2016 04:51:48 +0000 (07:51 +0300)]
ipset: bump to version 6.30

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: Include all bnx2x firmwares
Joel Stanley [Fri, 28 Oct 2016 02:54:05 +0000 (13:24 +1030)]
linux-firmware: Include all bnx2x firmwares

Currently buildroot will create a broken system for any kernel version
not between 3.18 and 4.1, as the bnx2x firmware it includes is only
valid for that version of the upstream driver.

This change modifies the build so that all versions are included as there was a
strong preference for not adding options for each version, nor only supporting
the latest kernel:

On Fri, Feb 26, 2016 at 7:09 PM, Thomas Petazzoni wrote:
> I think adding new config to chose between different versions of a
> given firmware is going a bit too far. If we were to do that for all
> firmwares in linux-firmware, it would really increase the number of
> Config.in options too much.
>
> Shall I suggest to install both versions of the firmware? The firmware
> files are not that large, and if filesystem size is really a strong
> issue, it is always possible to clean up the non-required firmware
> files in a post-build script.

On Wed, Mar 2, 2016 at 7:47 AM, Arnout Vandecappelle wrote:
> No, this is certainly not good, it fixes 4.2+ and simultaneously breaks 4.1-.
>
> What is wrong with Thomas's proposal to remove the unneeded versions in a
> post-build script? If your size is so important that 640K matters, you would
> probably anyway want to keep only one of the six binaries instead of three
> different chip revisions.

It is up to the user to ensure they remove the versions they don't want.

Note that this increases the size of the root file system by about 8MB.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: Bump version
Joel Stanley [Fri, 28 Oct 2016 02:54:04 +0000 (13:24 +1030)]
linux-firmware: Bump version

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agommc-utils: bump version to 2cb6695
Peter Seiderer [Thu, 27 Oct 2016 21:22:14 +0000 (23:22 +0200)]
mmc-utils: bump version to 2cb6695

Change log since last version bump:

  2cb6695 Add missing -c for write_reliability
  e094e28 Fix return value check from set_partitioning_setting_completed()
  f90eac4 Add help texts for -c option
  752072d Add -c option for partitioning commands
  55380d9 Register being set is other than mentioned in printed message.
  3c02759 Fix reported offset for enhanced user area start address
  a3d3331 mmc-utils: Add Command Queue fields to Extended CSD
  0ca049f mmc-utils: Add ability to configure write protect on an eMMC device
  bb779ac mmc-utils: Add disable partition boot to 'mmc bootpart enable'
  89cd01e mmc_utils: add ffu support
  4af1749 mmc-utils: Merge the lsmmc tool into mmc-utils
  44f94b9 mmc_utils: doc: add man-page
  928ff07 mmc_utils: gp create: only allow partition [1-4] to be selected

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external.mk: fix ARCH_SUBDIR calculation
Vicente Olivert Riera [Thu, 27 Oct 2016 15:33:42 +0000 (16:33 +0100)]
toolchain-external.mk: fix ARCH_SUBDIR calculation

ARCH_SUBDIR is computed based on the value of ARCH_SYSROOT_DIR and
SYSROOT_DIR. For nested toolchains ARCH_SYSROOT_DIR is a subdir of
SYSROOT_DIR, so a sed command like this one...

  sed -r -e "s:^${SYSROOT_DIR}(.*)/$:\1:"

...basically removes the leading SYSROOT_DIR part from ARCH_SYSROOT_DIR.

But, for side-by-side sysroot toolchains ARCH_SYSROOT_DIR and
SYSROOT_DIR are at the same level, so the above sed command doesn't
make any effect.

This patch therefore improves the calculation of ARCH_SUBDIR to
clearly handle the three possible cases:

 - There is a single sysroot, or the selected architecture sysroot is
   the main one (i.e SYSROOT_DIR == ARCH_SYSROOT_DIR). In this case,
   ARCH_SUBDIR is empty.

 - There are side-by-side sysroots, such as
   SYSROOT_DIR=.../sysroot/mips-r2-hard/ and
   ARCH_SYSROOT_DIR=.../sysroot/mipsel-r2-hard/.

 - The arch-sysroot is nested, such as SYSROOT_DIR=.../sysroot and
   ARCH_SYSROOT_DIR=.../sysroot/armv4t/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas: improve the logic to handle the SYSROOT_DIR==ARCH_SYSROOT_DIR
case.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobridge-utils: bump to version 1.6
Baruch Siach [Thu, 27 Oct 2016 18:00:03 +0000 (21:00 +0300)]
bridge-utils: bump to version 1.6

Drop upstream patches.

Change download and homepage to kernel.org, and use .xz tarball.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorabbitmq-server: add missing host dependencies
Frank Hunleth [Thu, 27 Oct 2016 17:28:31 +0000 (13:28 -0400)]
rabbitmq-server: add missing host dependencies

Fixes:
http://autobuild.buildroot.net/results/0ec785b8fa876d879934af618851d77a3ce70f55
http://autobuild.buildroot.net/results/03eb39eb9498eb42202ac8b16c1ffc175c0b69d3
http://autobuild.buildroot.net/results/199b04408fa8d9c94b9bed42fdcaafb03278f03c

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorabbitmq-server: DEPENDS->DEPENDENCIES
Frank Hunleth [Thu, 27 Oct 2016 17:28:30 +0000 (13:28 -0400)]
rabbitmq-server: DEPENDS->DEPENDENCIES

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoser2net: bump version to 3.0
Vicente Olivert Riera [Thu, 27 Oct 2016 10:44:23 +0000 (11:44 +0100)]
ser2net: bump version to 3.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.{4, 18}.x and 4.1.x series
Gustavo Zacarias [Thu, 27 Oct 2016 10:36:50 +0000 (07:36 -0300)]
linux-headers: bump 3.{4, 18}.x and 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolft: bump to version 3.77
Gustavo Zacarias [Thu, 27 Oct 2016 10:36:19 +0000 (07:36 -0300)]
lft: bump to version 3.77

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobtrfs-progs: bump to version 4.8.2
Gustavo Zacarias [Thu, 27 Oct 2016 10:35:51 +0000 (07:35 -0300)]
btrfs-progs: bump to version 4.8.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: bump to version 3.22.2
Gustavo Zacarias [Thu, 27 Oct 2016 09:54:32 +0000 (06:54 -0300)]
libgtk3: bump to version 3.22.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoharfbuzz: bump to version 1.3.3
Gustavo Zacarias [Thu, 27 Oct 2016 09:54:09 +0000 (06:54 -0300)]
harfbuzz: bump to version 1.3.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovala: bump to version 0.34.2
Gustavo Zacarias [Thu, 27 Oct 2016 09:53:53 +0000 (06:53 -0300)]
vala: bump to version 0.34.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosamba4: bump to version 4.4.7
Gustavo Zacarias [Thu, 27 Oct 2016 02:01:51 +0000 (23:01 -0300)]
samba4: bump to version 4.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agongrep: don't use pcap_restart
Baruch Siach [Thu, 27 Oct 2016 05:04:04 +0000 (08:04 +0300)]
ngrep: don't use pcap_restart

libpcap since version 1.8.1 does not export the pcap_restart symbol. Disable
use of this symbol.

Fixes:
http://autobuild.buildroot.net/results/647/647061a6fe8cffe3b083c911a986fa7683cdb8f6/
http://autobuild.buildroot.net/results/d90/d90e4d7c62e5b860f1f0ffb5e4dc545928f91734/
http://autobuild.buildroot.net/results/560/56076caede5c7bfc8a57da3a9dc47d0d22309e79/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-external: install libmvec.so from glibc toolchains
Thomas Petazzoni [Wed, 26 Oct 2016 21:47:59 +0000 (23:47 +0200)]
toolchain-external: install libmvec.so from glibc toolchains

On some architectures (namely x86-64), glibc may provide a libmvec
library since glibc 2.22, which programs built with gcc OpenMP support
might get linked to.

In order for these programs to work on the target, we need to copy
this library to the target filesystem.

This commit takes care of this for the external toolchain
situation. Note that libraries listed in TOOLCHAIN_EXTERNAL_LIBS are
silently ignored if they don't exist. Therefore, we don't need to have
any condition on the architecture or glibc version.

For more details on libmvec, see
https://sourceware.org/glibc/wiki/libmvec.

Fixes bug #9111.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoglibc: install libmvec.so when available
Thomas Petazzoni [Wed, 26 Oct 2016 21:47:58 +0000 (23:47 +0200)]
glibc: install libmvec.so when available

On some architectures (namely x86-64), glibc may provide a libmvec
library since glibc 2.22, which programs built with gcc OpenMP support
might get linked to.

In order for these programs to work on the target, we need to copy
this library to the target filesystem.

This commit takes care of this for the glibc package (used for the
internal toolchain backend). Note that libraries listed in
GLIBC_LIBS_LIB are silently ignored if they don't exist. Therefore, we
don't need to have any condition on the architecture or glibc version.

For more details on libmvec, see
https://sourceware.org/glibc/wiki/libmvec.

Fixes bug #9111.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/opencv: Do not add libdl to LINKER_LIBS for static builds
Bernd Kuhls [Sat, 24 Sep 2016 17:31:57 +0000 (19:31 +0200)]
package/opencv: Do not add libdl to LINKER_LIBS for static builds

Fixes
http://autobuild.buildroot.net/results/765/7657e01481995a4f0d725467e935a83928a59a04/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovalgrind: bump version to 3.12.0
Peter Seiderer [Tue, 25 Oct 2016 21:29:46 +0000 (23:29 +0200)]
valgrind: bump version to 3.12.0

See [1] for release notes.

- removed 0003-mips-replace-addi-with-addiu.patch (applied upstream, see [2])

[1] http://valgrind.org/docs/manual/dist.news.html
[2] https://bugs.kde.org/show_bug.cgi?id=356112

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-generic: check proper package installation
Yann E. MORIN [Mon, 24 Oct 2016 16:38:52 +0000 (18:38 +0200)]
core/pkg-generic: check proper package installation

Some packages misbehave, and install files in either $(STAGING_DIR)/$(O)
or in $(TARGET_DIR)/$(O) .

One common reason for that is that pkgconf now prepends the sysroot path
to all the paths it returns. Other reasons vary, but are mostly due to
poorly writen generic-packages.

And a new step hooks to check that no file gets installed in either
location, called after the install-target and install-staging steps.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xdriver_xf86-input-synaptics: fix install paths
Yann E. MORIN [Mon, 24 Oct 2016 16:38:51 +0000 (18:38 +0200)]
package/xdriver_xf86-input-synaptics: fix install paths

Get rid of the borked sdkdir variable.

Fixes (partially):
    https://bugs.busybox.net/show_bug.cgi?id=8696

Reported-by: buildroot@netsolux.ch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@netsolux.ch
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xdriver_xf86-input-mouse: fix install paths
Yann E. MORIN [Mon, 24 Oct 2016 16:38:50 +0000 (18:38 +0200)]
package/xdriver_xf86-input-mouse: fix install paths

Get rid of the borked sdkdir variable.

Fixes (partially):
    https://bugs.busybox.net/show_bug.cgi?id=8696

Reported-by: buildroot@netsolux.ch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@netsolux.ch
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xdriver_xf86-input-libinput: fix install paths
Yann E. MORIN [Mon, 24 Oct 2016 16:38:49 +0000 (18:38 +0200)]
package/xdriver_xf86-input-libinput: fix install paths

Get rid of the borked sdkdir variable.

Fixes (partially):
    https://bugs.busybox.net/show_bug.cgi?id=8696

Reported-by: buildroot@netsolux.ch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@netsolux.ch
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xdriver_xf86-input-joystick: fix install paths
Yann E. MORIN [Mon, 24 Oct 2016 16:38:48 +0000 (18:38 +0200)]
package/xdriver_xf86-input-joystick: fix install paths

Get rid of the borked sdkdir variable.

Fixes (partially):
    https://bugs.busybox.net/show_bug.cgi?id=8696

Reported-by: buildroot@netsolux.ch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@netsolux.ch
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xdriver_xf86-input-evdev: fix install paths
Yann E. MORIN [Mon, 24 Oct 2016 16:38:47 +0000 (18:38 +0200)]
package/xdriver_xf86-input-evdev: fix install paths

Get rid of the borked sdkdir variable.

Fixes (partially):
    https://bugs.busybox.net/show_bug.cgi?id=8696

Reported-by: buildroot@netsolux.ch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@netsolux.ch
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl: update cnf/config.{sub, guess} using autotools hook
Erico Nunes [Tue, 25 Oct 2016 21:21:09 +0000 (23:21 +0200)]
perl: update cnf/config.{sub, guess} using autotools hook

perl may fail to build on newer host architectures such as aarch64 due
to its inability to guess the host architecture to build 'miniperl',
which is built during the process. An error message looks like this:

  Configuring build-time miniperl for unknown
  ERROR: No $target defined (?!)
  ERROR: configure --mode=buildmini failed

This happens because the config.sub and config.guess files from perl are
not modified and may become outdated.
These files are normally updated automatically by a Buildroot hook for
autotools packages, to avoid problems like these.
Although perl uses the config.sub and config.guess files, it is not a
strict autotools package, so it is not defined as an "autotools-package"
in Buildroot and so it doesn't inherit the hook.
This commit makes perl borrow the hook from the autotools infrastructure
so that it can build on newer build architectures.
This has been tested by building it on an aarch64 host machine.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoolsr: disable in musl configurations
Thomas Petazzoni [Wed, 26 Oct 2016 20:02:58 +0000 (22:02 +0200)]
olsr: disable in musl configurations

olsr doesn't build on musl, so let's disable it. The issue has been
reported upstream at https://github.com/OLSR/olsrd/issues/6.

Fixes:

  http://autobuild.buildroot.net/results/74cff8fc87d95d70840394fc049fc038797b9888/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoolsr: bump to 0.9.0.3
Thomas Petazzoni [Wed, 26 Oct 2016 20:02:43 +0000 (22:02 +0200)]
olsr: bump to 0.9.0.3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibpcap: bump to version 1.8.1
Baruch Siach [Wed, 26 Oct 2016 17:03:10 +0000 (20:03 +0300)]
libpcap: bump to version 1.8.1

Drop upstream patch.

Also remove ac_cv_linux_vers caching since this check was remove in upstream
commit f3e011b18c55ae.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibpcap: drop libnl headers patch
Baruch Siach [Wed, 26 Oct 2016 17:03:09 +0000 (20:03 +0300)]
libpcap: drop libnl headers patch

We can avoid host headers using a --with-libnl parameter to override the
default host headers path. The configure script adds /include suffix to the
include path. So we still need to manually add -I with the correct path to
CFLAGS because libnl headers are under the libnl3/ directory.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add entry for mfgtools
Gary Bisson [Wed, 26 Oct 2016 16:08:03 +0000 (18:08 +0200)]
DEVELOPERS: add entry for mfgtools

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomfgtools: new package
Gary Bisson [Wed, 26 Oct 2016 16:08:02 +0000 (18:08 +0200)]
mfgtools: new package

This package contains the Freescale manufacturing tool.
It is designed to program firmware to i.MX boards during production.
The communication is done over USB using the Freescale UTP protocol.

The project is maintained on NXPMicro Github repository:
https://github.com/NXPmicro/mfgtools

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas:
 - remove dependency on host-cmake, this is handled by the
   host-cmake-package infrastructure
 - add quotes around $(HOSTCXX)
 - add CPOL.htm to <pkg>_LICENSE_FILES.
 - tweaks to the readme.txt file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokvm-unit-tests: add gcc version dependencies
Thomas Petazzoni [Wed, 26 Oct 2016 19:12:03 +0000 (21:12 +0200)]
kvm-unit-tests: add gcc version dependencies

On x86 (both i386 and x86_64), the kvm-unit-tests code uses
__builtin_reachable, which appeared in gcc 4.5. This commit adds the
relevant dependencies to kvm-unit-tests:

 - on i386, we need gcc 4.5 as the target compiler

 - on x86-64, we need gcc 4.5 as the host compiler, because we use the
   host compiler to build kvm-unit-tests for this architecture

Fixes:

  http://autobuild.buildroot.net/results/21340a7e6494e23adb2fe8dc6253ab220c380fec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: add BR2_HOST_GCC_AT_LEAST_4_5
Thomas Petazzoni [Wed, 26 Oct 2016 19:11:34 +0000 (21:11 +0200)]
Config.in: add BR2_HOST_GCC_AT_LEAST_4_5

In preparation to the addition of new dependencies in the
kvm-unit-tests package, add the BR2_HOST_GCC_AT_LEAST_4_5 symbol.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pyqt5: fix the build with Qt 5.6.2
Thomas Petazzoni [Wed, 26 Oct 2016 14:24:41 +0000 (16:24 +0200)]
python-pyqt5: fix the build with Qt 5.6.2

This commit adds a patch to the python-pyqt5 package that fixes the
build with Qt 5.6.2.

It has been verified to fix:

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

And it should also fix:

  http://autobuild.buildroot.net/results/4e0c5776264a7382c842f04e333fe4ded7d14f8a/
  http://autobuild.buildroot.net/results/0306710e0f39591dba74f24aff40f7f094bcfa6e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokvm-unit-tests: Bump version
Cyril Bur [Wed, 26 Oct 2016 03:19:16 +0000 (14:19 +1100)]
kvm-unit-tests: Bump version

This version bump includes several fixes for x86 and a significant fix
to powerpc transactional memory tests.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokvm-unit-tests: Fix x86_64 to use host compiler
Cyril Bur [Wed, 26 Oct 2016 03:19:15 +0000 (14:19 +1100)]
kvm-unit-tests: Fix x86_64 to use host compiler

kvm-unit-tests requires a multilib compiler for x86_64 as it compiles
32bit boot code.

This patch uses the BR2_HOSTARCH_NEEDS_IA32_COMPILER option to enforce
this and avoids using TARGET_CROSS for x86_64 targets and uses the host
32bit (and 64bit) capable compiler.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
[Thomas: reword comment in .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: fix indentation in zybo readme.txt
Matt Kraai [Wed, 26 Oct 2016 02:02:16 +0000 (19:02 -0700)]
board: fix indentation in zybo readme.txt

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcpdump: bump version to 4.8.1
Vicente Olivert Riera [Wed, 26 Oct 2016 10:02:46 +0000 (11:02 +0100)]
tcpdump: bump version to 4.8.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofile: bump version to 5.29
Vicente Olivert Riera [Wed, 26 Oct 2016 10:02:45 +0000 (11:02 +0100)]
file: bump version to 5.29

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ti-sgx-km: indentation cleanup
Jerzy Grzegorek [Wed, 26 Oct 2016 09:19:08 +0000 (11:19 +0200)]
package/ti-sgx-km: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nvidia-driver: indentation cleanup
Jerzy Grzegorek [Wed, 26 Oct 2016 09:19:07 +0000 (11:19 +0200)]
package/nvidia-driver: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: fix host build when ncurses is not installed
Thomas Petazzoni [Wed, 26 Oct 2016 10:18:00 +0000 (12:18 +0200)]
util-linux: fix host build when ncurses is not installed

lib/colors.c uses HAVE_LIBTINFO to decide whether term.h and ncurses.h
should be included. However, the configure.ac check is bogus: it
checks for tinfo using pkg-config, and then if it fails, checks with
AC_CHECK_LIB(). So, if you have tinfo installed, but not the
corresponding development package, the pkg-config test will fail, but
the AC_CHECK_LIB test will succeed, even though the headers are not
available.

To address this, we explicitly tell host-util-linux that tinfo is not
available, like we're already doing for ncurses.

Fixes:

  http://autobuild.buildroot.net/results/3c447e601a7b728860e78cabf2191ab206e6480d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot-wrapper-aarch64: Allow users to select the PSCI SMP boot method
Hollis Blanchard [Fri, 7 Oct 2016 22:45:04 +0000 (15:45 -0700)]
boot-wrapper-aarch64: Allow users to select the PSCI SMP boot method

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
[Thomas:
 - remove "default n"
 - pass explicit --disable-psci]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/download: make the git wrapper more robust
Yann E. MORIN [Sun, 31 Jul 2016 22:35:55 +0000 (00:35 +0200)]
support/download: make the git wrapper more robust

Currently, there are two failure paths in the wrapper:

  - if the tar fails, then the error is ignored because it is on the
    left-hand-side of a pipe;

  - if the find fails, then the error is ignored because it is a
    process substitution (and there is a pipe, too).

While the former could be fixed with "set -o pipefail", the latter can
not be fixed thusly and we must use an intemediate file for it.

So, fix both issues by using intermediate files, both to generate the
list of files to include in the archive, and generate the archive in a
temporary tarball.

Fixes the following build issue, where the find is failing for whatever
unknown reason:
    http://autobuild.buildroot.net/results/20f/20fd76d2256eee81837f7e9bbaefbe79d7645ae9/

And this one, where the process substitution failed, also for an unknown
reason:
    http://autobuild.buildroot.org/results/018/018971ea9227b386fe25d3c264c7e80b843a9f68/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: configs: improve toolchain config readability
Petri Gynther [Mon, 8 Aug 2016 18:34:59 +0000 (11:34 -0700)]
toolchain: configs: improve toolchain config readability

Add (or move) comment lines in toolchain-related Config.in files
to improve readability of the toolchain config section.

Source linux-headers/Config.in.host after toolchain-buildroot items.

For toolchain-buildroot case, the config file now looks like this:
*
* Toolchain
*

*
* Toolchain Buildroot Options
*

*
* Kernel Header Options
*

*
* uClibc Options
*

*
* Binutils Options
*

*
* GCC Options
*

*
* Host GDB Options
*

*
* Toolchain Generic Options
*

Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lvm2: disable for musl toolchains
Romain Naour [Tue, 23 Aug 2016 22:33:56 +0000 (00:33 +0200)]
package/lvm2: disable for musl toolchains

lvm2 doesn't build with musl toolchains due to several assignment of read-only
variable like stdin, stdout and stderr.
Also, it use mallinfo function which is not available with musl.

These issues has been reported upstream [2] but some of them remains
even with the latest stable release 2.02.163.

Fixes:
http://autobuild.buildroot.net/results/3d4df873a3d4fa199e03d8aa8694eafeac474e5a
[...]

[1] http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
[2] https://www.redhat.com/archives/linux-lvm/2016-February/msg00024.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/graph-depends: add option to graph reverse dependencies
Yann E. MORIN [Sun, 23 Oct 2016 17:19:44 +0000 (19:19 +0200)]
core/graph-depends: add option to graph reverse dependencies

Now that we can dump the reverse dependencies of a package, add the
ability to graph those.

It does not make sense to do a full reverse graph, as it would be
semantically equivalent to the direct graph. So we only provide a
per-package reverse graph.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/erlang: add optional dependency to unixodbc
Bernd Kuhls [Sun, 23 Oct 2016 15:34:03 +0000 (17:34 +0200)]
package/erlang: add optional dependency to unixodbc

Quote from erlang configure without unixodbc:

checking for odbc in standard locations... no
configure: WARNING: No odbc library found skipping odbc
configure: WARNING: "ODBC library - header check failed"
configure: WARNING: "ODBC library - link check failed"

Quote from erlang configure with unixodbc:

checking for odbc in standard locations... -L/home/buildroot/br3_couchdb/output/host/usr/i586-buildroot-linux-uclibc/sysroot/usr/lib
checking for SQLAllocHandle in -lodbc... yes

To check for unixodbc support used by erlang use readelf:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/erlang/lib/odbc-2.11.1/priv/bin/odbcserver | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libodbc.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

Tested using this minimal defconfig:

BR2_PACKAGE_ERLANG=y
BR2_PACKAGE_ERLANG_SMP=y
BR2_PACKAGE_UNIXODBC=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-infra: allow dumping reverse dependencies of a package
Yann E. MORIN [Sun, 23 Oct 2016 15:28:51 +0000 (17:28 +0200)]
pkg-infra: allow dumping reverse dependencies of a package

Finding the packages that select another one in a specific configuration
is not very trivial:

  - when optional, the dependency is not expressed in Kconfig

  - looking at the .mk files is not very nice.

Introduce a way to dump reverse dependencies of packages, i.e. the list
of packages that directly depend on that package. Like for direct
dependencies, we limit the list to the first-order reverse dependencies.

Document it in the main help; use the opportunity to also document
foo-show-depends.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add Bernd for the vdr-plugin-vnsiserver package
Thomas Petazzoni [Tue, 25 Oct 2016 20:49:09 +0000 (22:49 +0200)]
DEVELOPERS: add Bernd for the vdr-plugin-vnsiserver package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/vdr-plugin-vnsiserver: new package
Bernd Kuhls [Sat, 6 Aug 2016 07:41:59 +0000 (09:41 +0200)]
package/vdr-plugin-vnsiserver: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add Bernd for the vdr package
Thomas Petazzoni [Tue, 25 Oct 2016 20:36:03 +0000 (22:36 +0200)]
DEVELOPERS: add Bernd for the vdr package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/vdr: new package
Bernd Kuhls [Sat, 6 Aug 2016 07:41:58 +0000 (09:41 +0200)]
package/vdr: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: minor tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibglob: new package
Jörg Krause [Mon, 1 Aug 2016 19:58:36 +0000 (21:58 +0200)]
libglob: new package

libglob is the OpenBSD implementation of glob(3).

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: slightly rework how the make targets are calculated.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoswupdate: improved help text for Lua support
Jordan Yelloz [Sun, 24 Jul 2016 23:27:38 +0000 (16:27 -0700)]
swupdate: improved help text for Lua support

It now explains limitations of building against Lua < 5.2 interpreters
and how to link to LuaJIT library.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoswupdate: update lua check for libconfig
Jordan Yelloz [Sun, 24 Jul 2016 23:27:37 +0000 (16:27 -0700)]
swupdate: update lua check for libconfig

Most probably this was missed in commit
65b2ae49feb310d3272a47c44cf3b406646b25c1 which removed pinning to Lua
5.2.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add entry for rabbitmq-server
Frank Hunleth [Tue, 25 Oct 2016 15:49:08 +0000 (11:49 -0400)]
DEVELOPERS: add entry for rabbitmq-server

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agorabbitmq-server: new package
Frank Hunleth [Tue, 25 Oct 2016 15:49:07 +0000 (11:49 -0400)]
rabbitmq-server: new package

[Peter: simplify init script, use relative symlinks]
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agozyre: disable docs
Rahul Bedarkar [Tue, 25 Oct 2016 17:36:41 +0000 (23:06 +0530)]
zyre: disable docs

Fixes:
  http://autobuild.buildroot.net/results/c30/c307cfae46b800603b76f623840bd0fd950f0e3f/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/imx28evk: Update U-Boot and kernel versions
Fabio Estevam [Tue, 25 Oct 2016 16:21:40 +0000 (14:21 -0200)]
configs/imx28evk: Update U-Boot and kernel versions

Update U-Boot to 2016.09.01 and kernel to 4.8.4 version.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx28evk: Fix the first partition location
Fabio Estevam [Tue, 25 Oct 2016 16:21:39 +0000 (14:21 -0200)]
imx28evk: Fix the first partition location

When the SD card is connected to the host PC it can be mounted as
/dev/mmcblk0 or /dev/sdX, depending on how the SD controller is connected to
/the PC.

In this case the first partition is /dev/mmcblk0p1, not /dev/mmcblk01.

So use the ${PART1} variable to correctly assign this location.

[Peter: extend commit meesage]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomotion: bump to version 4.0.1
Fabrice Fontaine [Tue, 25 Oct 2016 15:27:42 +0000 (17:27 +0200)]
motion: bump to version 4.0.1

[Peter: adjust autoreconf comment]
Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agorsyslog: not available on musl
Rahul Bedarkar [Tue, 25 Oct 2016 15:48:59 +0000 (21:18 +0530)]
rsyslog: not available on musl

With musl C library, we get following error when building rsyslog:

  imfile.c: In function 'in_setupFileWatchStatic':
  imfile.c:1614:28: error: 'GLOB_BRACE' undeclared (first use in this function)
        GLOB_MARK|GLOB_NOSORT|GLOB_BRACE, NULL, &files);
                              ^
flag GLOB_BRACE is not available on musl. Since package uses it
unconditionally, we mark it not available for musl.

Fixes:
  http://autobuild.buildroot.net/results/6d4/6d480bb1e1466809d8ff119f6b35bb91df00785c/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoswupdate: allow luajit to enable HAVE_LUA
Jordan Yelloz [Sun, 24 Jul 2016 23:27:36 +0000 (16:27 -0700)]
swupdate: allow luajit to enable HAVE_LUA

Until now, HAVE_LUA=y was only passed when BR2_PACKAGE_LUA=y. However,
swupdate can also use LuaJIT instead of the classic Lua. Therefore,
this commit updates the package to use BR2_PACKAGE_HAS_LUAINTERPRETER
and the luainterpreter virtual package.

Note that the swupdate configuration needs to be updated separately
(via swupdate-menuconfig) to enable Lua support, and to specify the
Lua version (which should be jit-5.1 to link against LuaJIT).

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
[Thomas: use the luainterpreter virtual package, expand commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoscripts/get-developers: correct type of patches argument
Rahul Bedarkar [Wed, 21 Sep 2016 18:59:14 +0000 (00:29 +0530)]
scripts/get-developers: correct type of patches argument

Current type for 'patches' argument is str. It supposed to only
contain names of files.

If we specify FileType as type, then we don't need to open file ourself
and it allows script to read patch from standard input as well.

e.g.
$ git show -1 | ./support/scripts/get-developers -

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/warp7: Use common script for generating boot image
Fabio Estevam [Thu, 29 Sep 2016 18:16:44 +0000 (15:16 -0300)]
configs/warp7: Use common script for generating boot image

Use the common board/freescale/common/post-image.sh script instead of
a custom one.

As the final image binary is called "sdcard.img" update the documentation
accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: fix selection of interfaces depending on BR2_USE_MMU
Thomas Petazzoni [Tue, 25 Oct 2016 10:32:46 +0000 (12:32 +0200)]
php: fix selection of interfaces depending on BR2_USE_MMU

Commit c457213fbca5f3493544c8a4335b623620458b0c reworked the selection
of PHP interfaces, moving from a choice..endchoice to a three
independent sub-options.

Thanks to how choices are handled by kconfig, an option suitable for
noMMU platforms was automatically chosen by default. When the
choice...endchoice got removed in
c457213fbca5f3493544c8a4335b623620458b0c, we introduced a "select" for
one of the interfaces, to make sure at least one interface is
selected.

Unfortunately, the selected interface does not build on noMMU
platforms. In order to preserve the previous behavior (CGI interface
is selected by default on MMU capable platforms), this commit makes
the select logic a bit more complicated:

 - CGI is selected on MMU-capable platforms if neither CLI or FPM are
   selected

 - CLI is selected on MMU-less platforms, since this is anyway the
   only available interface.

Fixes:

  http://autobuild.buildroot.net/results/85ea09188f1e996cb14b4b83a17736c096c569a8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "firejail: new package"
Thomas Petazzoni [Mon, 24 Oct 2016 21:43:18 +0000 (23:43 +0200)]
Revert "firejail: new package"

This reverts commit 8a5224415ceb61e5340e4dd92028b37ce57ca849. It was
kept applied by mistake.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorp-pppoe: pass the appropriate path for various tools
Thomas Petazzoni [Sat, 22 Oct 2016 13:03:17 +0000 (15:03 +0200)]
rp-pppoe: pass the appropriate path for various tools

The rp-pppoe configure script uses AC_PATH_PROG() to find the path of
a number of tools on the build machine. But in fact, those paths are
not used to call the tools on the build machine, but rather to replace
variables in scripts that are executed in the target.

Due to this, if those tools on the build machine are not located at
the same place as their equivalent in the target, the scripts will
fail to run. To address this, we pass the necessary cache variables to
override the autoconf checks.

The path from pppd has been taken from the build result of the pppd
package. The path for setsid, id and echo have been taken from the
build result of Busybox, assuming that full-blown variants of those
tools would be installed at the same location.

Fixes bug #8811.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofirejail: new package
Chris Frederick [Thu, 20 Oct 2016 17:54:13 +0000 (12:54 -0500)]
firejail: new package

Firejail Security Sandbox
https://firejail.wordpress.com/

Lightweight application sandboxing system using seccomp and kernel
namespaces.

Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ts4900-fpga: remove the default value of the _INSTALL_{IMAGES, TARGET} variables
Jerzy Grzegorek [Mon, 24 Oct 2016 21:00:46 +0000 (23:00 +0200)]
package/ts4900-fpga: remove the default value of the _INSTALL_{IMAGES, TARGET} variables

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/wrapper: fix 'reinstall'
Jérôme Pouiller [Wed, 28 Sep 2016 08:00:56 +0000 (10:00 +0200)]
toolchain/wrapper: fix 'reinstall'

toolchain-wrapper was not reinstalled. So rules toolchain-external-reinstall,
gcc-initial-reinstall, gcc-final-reinstall didn't work as expected.

In add, normalize variable name: s/TOOLCHAIN_BUILD_WRAPPER/TOOLCHAIN_WRAPPER_BUILD/

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: select ncurses when "pg" is selected
Carlos Santos [Mon, 24 Oct 2016 18:51:06 +0000 (16:51 -0200)]
util-linux: select ncurses when "pg" is selected

Fixes:
http://autobuild.buildroot.net/results/63374203f32d2e9407531b53cd5d8f2665944fbe
http://autobuild.buildroot.net/results/6279cd6f45f54ed5857a2fc08a21d9e257b6bc4b
http://autobuild.buildroot.net/results/5604c56c0c92483d28e51eb4e70a9741c3c4effe

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolegacy: add missing select
Yann E. MORIN [Mon, 24 Oct 2016 16:46:00 +0000 (18:46 +0200)]
legacy: add missing select

When adding a boolean option to legacy, it should slect BR2_LEGACY, to
trigger the legacy warning.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenzwave: fix compilation of MinOZW
Fabrice Fontaine [Sun, 23 Oct 2016 17:59:11 +0000 (19:59 +0200)]
openzwave: fix compilation of MinOZW

LIBDIR was used in cpp/examples/MinOZW/Makefile to add dynamic
libraries. However, as it was unset by default, the cross-compilation
could fail if the host had a library such as libnss3.so in /.
To fix this issue, this patch sets LIBDIR to top_buildir if it is unset

Fixes:
  http://autobuild.buildroot.net/results/68719fdf1320a69310bada6d3c47654dacdb5898

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopostgresql: enable ldap support for pg_service.conf
Chris Frederick [Mon, 24 Oct 2016 14:13:18 +0000 (09:13 -0500)]
postgresql: enable ldap support for pg_service.conf

Just needed to add --with-ldap to POSTGRESQL_CONF_OPTS and add openldap
to POSTGRESQL_DEPENDENCIES when BR2_PACKAGE_OPENLDAP is on

Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: fix pthread.h
Waldemar Brodkorb [Mon, 24 Oct 2016 03:21:51 +0000 (05:21 +0200)]
uclibc: fix pthread.h

Fixes:
 bfin: http://autobuild.buildroot.net/results/fbf/fbf63bbe0974b490b875a95fb930ba601364b85a/
 m68k: http://autobuild.buildroot.net/results/cc9/cc9b87c4c695f97a056cc53f19e7662750dffeff/
 microblazeel: http://autobuild.buildroot.net/results/941/941c06e29f6542e258f20799dc6f3f94b2f8af88/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: rework selection of interfaces
Fabrice Fontaine [Mon, 12 Sep 2016 21:31:07 +0000 (23:31 +0200)]
php: rework selection of interfaces

Following suggestion of Yann Morin, rework selection of php
interfaces: use booleans instead of choice to be able to select
multiple interfaces as they are not exclusive. We make sure at least
one of the options is selected.

It should be noted that previously CGI and FPM could not be selected
at the same time. This is now possible. Bug that prevented compilation
of CGI and FPM binaries at the same time has been fixed since PHP 5.4
(https://github.com/php-build/php-build/issues/101).

Legacy handling is added for the two options that are removed, and the
appropriate new options are selected.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-download: fix fetching URLs with ? from PRIMARY/BACKUP
Arnout Vandecappelle [Fri, 21 Oct 2016 20:27:15 +0000 (22:27 +0200)]
pkg-download: fix fetching URLs with ? from PRIMARY/BACKUP

Some packages download files (especially patches) with a ? in the
URL. The ? marks the query part of the URL. However, the downloaded
file still contains the ? but from then on it doesn't designate a
query part anymore. Therefore, when fetching from PRIMARY or
BACKUP site over http, the server will report a 404 Not Found.

To fix, we need to replace the ? with %3F. Obviously, this should
be done only when fetching from PRIMARY or BACKUP. For fetching
from the real upstream, the ? really does designate the query part.

Fixes #9371.

Reported-by: Johan Derycke <johanderycke@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: replace 'SECONDARY' by 'BACKUP'.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gcc: disable libmpx for gcc6-based musl builds
Bernd Kuhls [Sat, 22 Oct 2016 22:04:22 +0000 (00:04 +0200)]
package/gcc: disable libmpx for gcc6-based musl builds

Building this minimal defconfig

BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_GCC_VERSION_6_X=y

fails:

In file included from ../../../../libmpx/mpxrt/mpxrt.c:54:0:
../../../../libmpx/mpxrt/mpxrt.c: In function 'read_mpx_status_sig':
../../../../libmpx/mpxrt/mpxrt.h:52:42: error: invalid application of
'sizeof' to incomplete type 'struct _libc_fpstate'
 #define XSAVE_OFFSET_IN_FPMEM    sizeof (struct _libc_fpstate)

To fix disable libmpx for musl builds, other projects did the same:

https://github.com/crosstool-ng/crosstool-ng/commit/3ec2211548a853203e070af6810f49825ec46a6a
http://git.alpinelinux.org/cgit/aports/commit/main/gcc/APKBUILD?id=1830e485126ea9a95d763317fb0c508c1ff297d2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua-messagepack: bump to version 0.3.5
Francois Perrad [Sun, 23 Oct 2016 09:27:00 +0000 (11:27 +0200)]
lua-messagepack: bump to version 0.3.5

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua-csnappy: bump to version 0.1.4
Francois Perrad [Sun, 23 Oct 2016 09:26:59 +0000 (11:26 +0200)]
lua-csnappy: bump to version 0.1.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: bump version to 3.1.5
Bernd Kuhls [Sat, 22 Oct 2016 09:25:11 +0000 (11:25 +0200)]
package/ffmpeg: bump version to 3.1.5

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