buildroot.git
8 years agolinux: bump default to version 4.7
Fabio Estevam [Sun, 24 Jul 2016 23:56:07 +0000 (20:56 -0300)]
linux: bump default to version 4.7

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogrub2: add patch to fix build with recent gcc versions
Thomas Petazzoni [Mon, 25 Jul 2016 20:03:14 +0000 (22:03 +0200)]
grub2: add patch to fix build with recent gcc versions

This commit backports a patch from upstream grub2 that fixes a build
issue occuring at least with recent gcc versions:

gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
 static struct grub_gettext_context main_context, secondary_context;

Fixes bug #8991.

Bug reproduced with:

BR2_x86_64=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_6_X=y
BR2_TARGET_GRUB2=y
BR2_TARGET_GRUB2_X86_64_EFI=y
BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop terminal"

and verified fixed after adding this patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogrub2: rename patch with the proper naming convention
Thomas Petazzoni [Mon, 25 Jul 2016 19:58:29 +0000 (21:58 +0200)]
grub2: rename patch with the proper naming convention

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libsepol: Remove use of cdefs.h
Adam Duskett [Fri, 8 Jul 2016 21:45:36 +0000 (17:45 -0400)]
package/libsepol: Remove use of cdefs.h

Libsepol uses cdefs.h which is a internal glibc header.
This header is not intended to be used by any program and will cause
compiling against musl (and possibly other c libraries) to fail.
This patch fixed this issue and replaces all references of

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport: pkg-stats: add efl package in packages stats
Romain Naour [Sun, 24 Jul 2016 20:49:10 +0000 (22:49 +0200)]
support: pkg-stats: add efl package in packages stats

Since efl update to 1.15 version, the efl package is a "real"
Buildroot package. It doesn't contain any subdirectories anymore.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: add blackfin gdb simulator support
Waldemar Brodkorb [Fri, 8 Jul 2016 22:19:18 +0000 (00:19 +0200)]
board: add blackfin gdb simulator support

With this config you can bootup a Linux kernel
in GDB simulator and test Blackfin kernel and
userland.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard/avnet: swap ramdisk and DT load addresses in U-Boot environment
Thomas Petazzoni [Fri, 8 Jul 2016 18:30:28 +0000 (20:30 +0200)]
board/avnet: swap ramdisk and DT load addresses in U-Boot environment

As reported in bug #9091, the U-Boot environment we provide for the
Microzed and Zedboard platforms loads the ramdisk at 0x2000000 and the
DT at 0x3000000. This means that a large enough ramdisk overwrites the
DT. It makes more sense to load the DT at 0x2000000 and the ramdisk at
0x3000000.

Reported-by: Michael Monaghan <michaellmonaghan@gmail.com>
Tested-by: Michael Monaghan <michaellmonaghan@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoodroid-mali: new package
Dagg Stompler [Sun, 24 Jul 2016 16:35:06 +0000 (19:35 +0300)]
odroid-mali: new package

Signed-off-by: Dagg Stompler <daggs@gmx.com>
[Thomas:
 - restrict to EABIhf for ARM, since the libraries are pre-built for
   this ABI
 - add comment about the glibc dependency
 - indicate odroid-scripts is a runtime dependency
 - remove fbset dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: select odroid-scripts
Dagg Stompler [Sun, 24 Jul 2016 16:35:05 +0000 (19:35 +0300)]
configs/odroidc2: select odroid-scripts

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoodroid-scripts: new package
Dagg Stompler [Sun, 24 Jul 2016 16:35:04 +0000 (19:35 +0300)]
odroid-scripts: new package

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorunc: pass -extldflags '-static' on when BR2_STATIC_LIBS=y
Thomas Petazzoni [Sun, 24 Jul 2016 14:43:47 +0000 (16:43 +0200)]
runc: pass -extldflags '-static' on when BR2_STATIC_LIBS=y

There is no reason to link Go binaries statically, unless when
BR2_STATIC_LIBS=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoflannel: pass -extldflags '-static' on when BR2_STATIC_LIBS=y
Thomas Petazzoni [Sun, 24 Jul 2016 14:43:46 +0000 (16:43 +0200)]
flannel: pass -extldflags '-static' on when BR2_STATIC_LIBS=y

There is no reason to link Go binaries statically, unless when
BR2_STATIC_LIBS=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocker-containerd: pass -extldflags '-static' on when BR2_STATIC_LIBS=y
Thomas Petazzoni [Sun, 24 Jul 2016 14:43:45 +0000 (16:43 +0200)]
docker-containerd: pass -extldflags '-static' on when BR2_STATIC_LIBS=y

There is no reason to link Go binaries statically, unless when
BR2_STATIC_LIBS=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: add optional dependency to libebur128
Bernd Kuhls [Sun, 24 Jul 2016 15:53:18 +0000 (17:53 +0200)]
package/ffmpeg: add optional dependency to libebur128

ebur128 support depends on gpl support in ffmpeg:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=ec4ff083dd373bce34869b67189905e2822b848b;hb=refs/heads/release/2.8#l2747

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libebur128: new package
Bernd Kuhls [Sun, 24 Jul 2016 15:53:17 +0000 (17:53 +0200)]
package/libebur128: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gdb: fix gnulib issue with musl and uClibc toolchains
Romain Naour [Sun, 24 Jul 2016 14:49:13 +0000 (16:49 +0200)]
package/gdb: fix gnulib issue with musl and uClibc toolchains

Starting with gdb 7.11, the bundled gnulib want to use rpl_gettimeofday
(gettimeofday replacement) due bad guessing when cross-compiling with musl
and uClibc toolchains. Instead of patching gnulib configure script to fix
the test, use gl_cv_func_gettimeofday_clobber=no to not use rpl_gettimeofday.

Thanks to Thomas Petazzoni to suggest this patch.

Reported upstream:
https://sourceware.org/bugzilla/show_bug.cgi?id=19798

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go: needs PIE support
Romain Naour [Sun, 24 Jul 2016 15:39:43 +0000 (17:39 +0200)]
package/go: needs PIE support

When built statically, runc try to link against Scrt1.o which is not
provided by uClibc ARM toolchain for static build only.

[...]arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find Scrt1.o: No such file or directory
collect2: error: ld returned 1 exit status

On ARM, Go forces the use of -pie, for some reason:

    pie := (goarch == "arm" && goos == "linux") || goos == "android"
    if pie { // we need to use -pie for Linux/ARM to get accurate imported sym
              cgoLDFLAGS = append(cgoLDFLAGS, "-pie")
    }

For this reason, add a dependency on BR2_TOOLCHAIN_SUPPORTS_PIE for ARM
CPUs to disable Go for such toolchains.

While at it, rewrap Go dependencies.

[1] http://lists.busybox.net/pipermail/buildroot/2016-July/167206.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Christian Stewart <christian@paral.in>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: add hidden symbol for PIE support
Waldemar Brodkorb [Mon, 11 Jul 2016 14:35:14 +0000 (16:35 +0200)]
toolchain: add hidden symbol for PIE support

uClibc-ng does not support PIE for some architectures as
arc and m68k. It isn't implemented in the static linking case, too.
With musl toolchains you might have static PIE support with little
patching of gcc. Static linking for GNU libc isn't enabled in
buildroot. Fixup any package using special treatment of PIE.
(grep -ir pie package/*/*.mk)

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: use positive logic.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoomniorb: add patch to fix musl build
Thomas Petazzoni [Wed, 20 Jul 2016 22:09:21 +0000 (00:09 +0200)]
omniorb: add patch to fix musl build

Fixes:

  http://autobuild.buildroot.net/results/0e2025cbc1c54f0c177ce3f27020d454aa03645a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ti-sgx-demos: new package
Lothar Felten [Thu, 14 Jul 2016 12:04:47 +0000 (14:04 +0200)]
package/ti-sgx-demos: new package

This package adds the SGX demos from Imagination Technologies, they are
available as binaries only.
This package contains binaries compiled for the SGX graphics accelerator used
in the following Texas Instruments SoCs: AM335x, AM437x, AM4430, AM5430.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gdb: gdbserver: add missing header
Romain Naour [Sat, 23 Jul 2016 12:14:59 +0000 (14:14 +0200)]
package/gdb: gdbserver: add missing header

Backport upstream patch for musl toolchains

Fixes:
http://autobuild.buildroot.net/results/564/56443134388ee6c4a13add10cc53eff6f47f244e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: add Arcturus uCP1020 BSP support
Oleksandr G Zhadan [Mon, 18 Jul 2016 21:52:07 +0000 (17:52 -0400)]
configs: add Arcturus uCP1020 BSP support

The uCP1020 product family (ucp1020) is an Arcturus Networks Inc.
System on Modules product featuring a Freescale P1020 CPU,
optionally populated with 1 or 2 Gig-Ethernet PHYs,
DDR3, NOR Flash, eMMC NAND Flash and/or SPI Flash.

Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: update boot.ini
Dagg Stompler [Sun, 24 Jul 2016 05:20:12 +0000 (08:20 +0300)]
configs/odroidc2: update boot.ini

- fix disablehpd bug (thanks to Thomas for spotting it.)
- change default HDMI mode to 1080p60hz.
- add support for HDMI HotPlug Detection control.
- add support for mason timer.
- add support for headless boot

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/docker-containerd: bump to latest
Christian Stewart [Fri, 22 Jul 2016 20:52:58 +0000 (13:52 -0700)]
package/docker-containerd: bump to latest

Bump the pinned docker-containerd version to the latest in advance
of the introduction of docker-engine v1.12.0-rc4.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoigd2-for-linux: new package
Fabrice Fontaine [Thu, 21 Jul 2016 12:05:57 +0000 (14:05 +0200)]
igd2-for-linux: new package

This is The Linux UPnP Internet Gateway Device 2. It is
modified from the original Linux UPnP Internet Gateway Device
[http://linux-igd.sourceforge.net/] according to UPnP
InternetGatewayDevice:2 specifications.

It implements the UPnP Internet Gateway Device version 2
specification (IGDv2) and allows UPnP aware clients, such as
MSN Messenger, Azureus or Miranda to work properly from behind
a NAT firewall.

Please edit /etc/upnpd.conf before using upnpd!

https://github.com/ffontaine/igd2-for-linux

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/terminology: new package
Romain Naour [Sun, 17 Jul 2016 20:36:21 +0000 (22:36 +0200)]
package/terminology: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - rewrap Config.in help text
 - fix license, it's BSD-2c, not just "BSD"
 - add dependency on host-pkgconf]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Sat, 23 Jul 2016 10:19:42 +0000 (12:19 +0200)]
package/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling

If those flags are not explicitly passed, the sdl2_ttf configure script
will include -I/usr/include and -L/usr/lib in the compile flags, which
are obviously unsafe for cross-compilation.

"checking for X... libraries /usr/lib, headers /usr/include"

Fixes:

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - don't pass an argument to --with-x
 - use --without-x instead of --with-x=no]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/rtl8821au: switch to abperiasamy fork
Christian Stewart [Sat, 23 Jul 2016 20:28:40 +0000 (13:28 -0700)]
package/rtl8821au: switch to abperiasamy fork

Switching to the rtl8821au fork at github.com/abperiasamy/rtl8812AU_8821AU_linux.

 - The current fork we are using is maintained by 1 person.
 - The current fork does not work, and there are no plans to fix this:
     - https://github.com/ulli-kroll/rtl8821au/issues/5
     - https://github.com/ulli-kroll/rtl8821au/issues/6
 - In practice, the current fork has numerous instability issues.
 - Our lab switched to the abperiasamy fork a couple months ago and have been very happy with it.
 - The contributor list for the abperiasamy fork contains 21 well-known individuals in the community.
 - The raspberry pi community recommends the abperiasamy fork and uses it extensively.
 - Firmware blobs are not necessary with the new fork.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: Support libcurl version 7.5.0
Bernd Kuhls [Sun, 24 Jul 2016 06:27:44 +0000 (08:27 +0200)]
package/kodi: Support libcurl version 7.5.0

Fixes
http://autobuild.buildroot.net/results/bc3/bc392094b5b05f5f4b4ede5ab3a54200d6d33be5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: bump kernel to rev 1cb48cebb9d525e524de0ede46710bb29f54d4a6
Dagg Stompler [Sat, 23 Jul 2016 18:55:00 +0000 (21:55 +0300)]
configs/odroidc2: bump kernel to rev 1cb48cebb9d525e524de0ede46710bb29f54d4a6

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/odroidc2: bump uboot to rev 1ec799cec97574a9838bc25b286484e579a41652
Dagg Stompler [Sat, 23 Jul 2016 18:54:59 +0000 (21:54 +0300)]
configs/odroidc2: bump uboot to rev 1ec799cec97574a9838bc25b286484e579a41652

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofio: add optional libnuma (numactl) dependency
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:36 +0000 (14:30 -0300)]
fio: add optional libnuma (numactl) dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofio: add optional zlib dependency
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:35 +0000 (14:30 -0300)]
fio: add optional zlib dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofio: bump to version 2.13
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:34 +0000 (14:30 -0300)]
fio: bump to version 2.13

And drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozeromq: disable documentation
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:01 +0000 (14:30 -0300)]
zeromq: disable documentation

If asciidoc and xmlto are around it will automatically enable the
documentation build which is pointless.
Build time on i5-3330 with docs = 37s, without docs 25s.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozeromq: bump to version 4.1.5
Gustavo Zacarias [Sat, 23 Jul 2016 17:30:00 +0000 (14:30 -0300)]
zeromq: bump to version 4.1.5

Switch to github download URL since upstream switched.
Drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: remove duplicate _SITE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostunnel: security bump to version 5.35
Gustavo Zacarias [Sat, 23 Jul 2016 16:03:32 +0000 (13:03 -0300)]
stunnel: security bump to version 5.35

Fixes:
TLS session caching memory leak
Malfunctioning "verify = 4"

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibunwind: needs ARM instruction support
Gustavo Zacarias [Sat, 23 Jul 2016 15:24:34 +0000 (12:24 -0300)]
libunwind: needs ARM instruction support

Fixes:
http://autobuild.buildroot.net/results/4cf/4cf517cd81d3aa5da26848edaba5df0bfbab2c77/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdrm: bump version to 2.4.70
Bernd Kuhls [Sat, 23 Jul 2016 15:17:17 +0000 (17:17 +0200)]
package/libdrm: bump version to 2.4.70

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotunctl: new package
Sergio Prado [Sat, 23 Jul 2016 14:18:50 +0000 (11:18 -0300)]
tunctl: new package

Tunctl is a tool for controlling the TUN/TAP driver in Linux.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
[Thomas: use $(TARGET_CONFIGURE_OPTS).]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolighttpd: add clock_gettime patch
Gustavo Zacarias [Sat, 23 Jul 2016 14:56:54 +0000 (11:56 -0300)]
lighttpd: add clock_gettime patch

Fixes:
http://autobuild.buildroot.net/results/590/5901153a345c69d0a041309cfb79329bb42ff98d/

Patch status: upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolighttpd: webdav locks require libuuid
Gustavo Zacarias [Sat, 23 Jul 2016 14:56:44 +0000 (11:56 -0300)]
lighttpd: webdav locks require libuuid

Since 1.4.40 webdav locks require libuuid from util-linux, so make it an
automatic dependency. Fixes:
http://autobuild.buildroot.net/results/b14/b14484300b4acfcaa18593b097167cef14330898/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconnman: bump to version 1.33
Gustavo Zacarias [Sat, 23 Jul 2016 13:39:42 +0000 (10:39 -0300)]
connman: bump to version 1.33

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopcmanfm: add optional support for gtk3
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:25 +0000 (10:31 -0300)]
pcmanfm: add optional support for gtk3

pcmanfm can now use gtk3+ so use that over gtk2+ if it's available.
Since it's only x11-safe for the moment the comment and deps other than
gtk stay the same.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfm: add optional support for gtk3
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:24 +0000 (10:31 -0300)]
libfm: add optional support for gtk3

pcmanfm can now use gtk3+ so use that over gtk2+ if it's available.
Since it's only x11-safe for the moment the comment and deps other than
gtk stay the same.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopcmanfm: bump to version 1.2.4
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:23 +0000 (10:31 -0300)]
pcmanfm: bump to version 1.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfm: bump to version 1.2.4
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:22 +0000 (10:31 -0300)]
libfm: bump to version 1.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomenu-cache: bump to version 1.0.1
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:21 +0000 (10:31 -0300)]
menu-cache: bump to version 1.0.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfm-extra: bump to version 1.2.4
Gustavo Zacarias [Sat, 23 Jul 2016 13:31:20 +0000 (10:31 -0300)]
libfm-extra: bump to version 1.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibarchive: fix build error when linking with lzma
Sergio Prado [Thu, 21 Jul 2016 14:10:26 +0000 (11:10 -0300)]
libarchive: fix build error when linking with lzma

Build fails when linking with liblzma compiled without threads support.

./.libs/libarchive.so: undefined reference to `lzma_cputhreads'
./.libs/libarchive.so: undefined reference to `lzma_stream_encoder_mt'

So let's enable LZMA only when toolchain has threads support.

Fixes:
http://autobuild.buildroot.org/results/2cb7f8a056982d0b894d0e2531ef357e74c8b796
http://autobuild.buildroot.org/results/d12954fbd460d396f255158fa127f39ff9d2be8d
http://autobuild.buildroot.org/results/abe10c70f38423a212ab27d7d27e22174eaa5aab
Many more...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoser2net: add sysv init script
Vicente Olivert Riera [Fri, 22 Jul 2016 15:08:58 +0000 (16:08 +0100)]
ser2net: add sysv init script

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas:
 - remove check for the ser2net binary
 - add check for the configuration file
 - use 'printf' instead of 'echo -n'
 - fix indentation where needed]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: enable systemd support
Romain Naour [Fri, 22 Jul 2016 22:23:18 +0000 (00:23 +0200)]
package/enlightenment: enable systemd support

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: enable systemd support
Romain Naour [Fri, 22 Jul 2016 22:23:17 +0000 (00:23 +0200)]
package/efl: enable systemd support

systemd it one of the "highly recommended" dependecies according to the
README [1] but disabling it doesn't need the
--enable-i-really-know-what-i-am-doing... option.

That's why BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG is not disabled when
systemd is not selected.

[1] https://git.enlightenment.org/core/efl.git/tree/README?h=efl-1.17#n489

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agohtop: bump to version 2.0.2
Gustavo Zacarias [Sat, 23 Jul 2016 01:00:16 +0000 (22:00 -0300)]
htop: bump to version 2.0.2

And drop upstream patch.

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.0
Gustavo Zacarias [Sat, 23 Jul 2016 00:48:39 +0000 (21:48 -0300)]
harfbuzz: bump to version 1.3.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibinput: bump to version 1.4.0
Gustavo Zacarias [Sat, 23 Jul 2016 00:48:12 +0000 (21:48 -0300)]
libinput: bump to version 1.4.0

And drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobmon: bump to version 3.9
Gustavo Zacarias [Sat, 23 Jul 2016 00:10:39 +0000 (21:10 -0300)]
bmon: bump to version 3.9

And switch to github homepage.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agounrar: bump to version 5.4.3
Gustavo Zacarias [Fri, 22 Jul 2016 23:39:08 +0000 (20:39 -0300)]
unrar: bump to version 5.4.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibidn: security bump to version 1.33
Gustavo Zacarias [Fri, 22 Jul 2016 23:38:34 +0000 (20:38 -0300)]
libidn: security bump to version 1.33

Fixes:
CVE-2015-8948 - out-of-bounds read in CLI tool.
CVE-2016-6261 - out-of-bounds stack read in idna_to_ascii_4i.
CVE-2016-6262 - followup fix to CVE-2015-8948.
CVE-2016-6263 - stringprep_utf8_nfkc_normalize reject invalid UTF-8.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Fri, 22 Jul 2016 23:35:52 +0000 (20:35 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimagemagick: bump to version 7.0.2-5
Gustavo Zacarias [Fri, 22 Jul 2016 23:35:19 +0000 (20:35 -0300)]
imagemagick: bump to version 7.0.2-5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiozone: bump to version 3_446
Gustavo Zacarias [Fri, 22 Jul 2016 23:34:19 +0000 (20:34 -0300)]
iozone: bump to version 3_446

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompv: bump to version 0.18.1
Gustavo Zacarias [Fri, 22 Jul 2016 22:38:39 +0000 (19:38 -0300)]
mpv: bump to version 0.18.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/elementary: provide the path to elementary_codgen
Romain Naour [Fri, 22 Jul 2016 22:22:40 +0000 (00:22 +0200)]
package/elementary: provide the path to elementary_codgen

elementary_codgen tool is build for the host, so use it while building
elementary for the target.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/enlightenment: bump to 0.20.10
Romain Naour [Fri, 22 Jul 2016 22:22:14 +0000 (00:22 +0200)]
package/enlightenment: bump to 0.20.10

"This will be the last release in the e20 series"

https://www.enlightenment.org/news/e-0.20.10-release

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: warpboard: Bump to U-Boot 2016.07
Fabio Estevam [Fri, 22 Jul 2016 00:45:24 +0000 (21:45 -0300)]
configs: warpboard: Bump to U-Boot 2016.07

U-Boot 2016.07 works well on warpboard, so bump to this version.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: fix typo in sama5d4 xplained development defconfig
Ludovic Desroches [Fri, 22 Jul 2016 13:18:54 +0000 (15:18 +0200)]
configs: atmel: fix typo in sama5d4 xplained development defconfig

The defconfig file for at91bootstrap was false:
s/sama5d4_xplainedsnf_uboot_secure/sama5d4_xplainednf_uboot_secure.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-dicttoxml: new package
Yegor Yefremov [Fri, 22 Jul 2016 06:36:34 +0000 (08:36 +0200)]
python-dicttoxml: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-xml-libxml: bump to version 2.0126
Francois Perrad [Thu, 21 Jul 2016 19:08:55 +0000 (21:08 +0200)]
perl-xml-libxml: bump to version 2.0126

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-datetime-tiny: bump to version 1.06
Francois Perrad [Thu, 21 Jul 2016 19:08:54 +0000 (21:08 +0200)]
perl-datetime-tiny: bump to version 1.06

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-try-tiny: bump to version 0.24
Francois Perrad [Thu, 21 Jul 2016 19:08:53 +0000 (21:08 +0200)]
perl-try-tiny: bump to version 0.24

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-module-build: bump to version 0.4218
Francois Perrad [Thu, 21 Jul 2016 19:08:52 +0000 (21:08 +0200)]
perl-module-build: bump to version 0.4218

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-html-parser: bump to version 3.72
Francois Perrad [Thu, 21 Jul 2016 19:08:51 +0000 (21:08 +0200)]
perl-html-parser: bump to version 3.72

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoperl-mojolicious: bump to version 7.0
Francois Perrad [Thu, 21 Jul 2016 19:08:50 +0000 (21:08 +0200)]
perl-mojolicious: bump to version 7.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xserver_xorg-server: bump version to 1.18.4
Bernd Kuhls [Thu, 21 Jul 2016 19:07:20 +0000 (21:07 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.18.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdrm: bump version to 2.4.69
Bernd Kuhls [Thu, 21 Jul 2016 19:07:19 +0000 (21:07 +0200)]
package/libdrm: bump version to 2.4.69

Removed patch 0002, applied upstream:
https://cgit.freedesktop.org/mesa/drm/commit/xf86drm.c?id=4031dc17bb728850c9b079c8d5f9cc0a379b9d46

Renumbered patch 0003.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodropbear: bump version to 2016.74
Alexander Dahl [Thu, 21 Jul 2016 16:35:12 +0000 (18:35 +0200)]
dropbear: bump version to 2016.74

According to https://matt.ucc.asn.au/dropbear/CHANGES there were some
severe security issues fixed.

Signed-off-by: Alexander Dahl <post@lespocky.de>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcurl: bump version to 7.50.0
Vicente Olivert Riera [Thu, 21 Jul 2016 11:30:33 +0000 (12:30 +0100)]
libcurl: bump version to 7.50.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: bump version to 7.0.9
Vicente Olivert Riera [Thu, 21 Jul 2016 11:23:07 +0000 (12:23 +0100)]
php: bump version to 7.0.9

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogamin: improve PTHREAD_MUTEX_RECURSIVE_NP patch to fix build issue
Thomas Petazzoni [Wed, 20 Jul 2016 19:47:11 +0000 (21:47 +0200)]
gamin: improve PTHREAD_MUTEX_RECURSIVE_NP patch to fix build issue

In the gamin package, patch
0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch was introduced to fix
the build with musl. Indeed, while musl defines "linux", it does not
define PTHREAD_MUTEX_RECURSIVE_NP, but only PTHREAD_MUTEX_RECURSIVE. So
the check was simplified to only verify if PTHREAD_MUTEX_RECURSIVE_NP is
defined.

However, this doesn't work well with uClibc linuxthreads. In uClibc,
PTHREAD_MUTEX_RECURSIVE_NP and PTHREAD_MUTEX_RECURSIVE are not
pre-processor defines, but enum values. For this reason, even if
PTHREAD_MUTEX_RECURSIVE_NP actually exists, #if
defined(PTHREAD_MUTEX_RECURSIVE_NP) is false. So, the gamin code falls
back to using PTHREAD_MUTEX_RECURSIVE.

Except that for uClibc linuxthreads, PTHREAD_MUTEX_RECURSIVE is defined
only if __USE_UNIX98 is defined. For the NPTL implementation,
PTHREAD_MUTEX_RECURSIVE is defined either if __USE_UNIX98 or
__USE_XOPEN2K8 are defined. This strange difference has been reported to
uClibc-ng upstream [1].

However, regardless of this uClibc behavior, using #if defined to check
for the availability of PTHREAD_MUTEX_RECURSIVE_NP is not good. This
commit therefore switches to using a proper AC_CHECK_DECL() autoconf
test, which works regardless of whether the value is #define'd or
defined as an enum value.

This fixes the build of gamin on linuxthreads platforms, such as
Microblaze or m68k.

Fixes:

  http://autobuild.buildroot.net/results/887df97196d7777efbf18a7bee91aa45c1a98700/ (Microblaze)
  http://autobuild.buildroot.net/results/eb4389474e1b30b5c395a07a857da13a66763bdb/ (m68k)

[1] http://mailman.uclibc-ng.org/pipermail/devel/2016-July/001087.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/elementary: add path to eolian_cxx
Romain Naour [Mon, 18 Jul 2016 20:51:27 +0000 (22:51 +0200)]
package/elementary: add path to eolian_cxx

When efl package is build with Eolian support, eolian_cxx tool is
build for the host.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoefl: add missing select of zlib
Thomas Petazzoni [Wed, 20 Jul 2016 21:35:44 +0000 (23:35 +0200)]
efl: add missing select of zlib

The efl package has zlib in its dependencies, but does not select it,
which causes a dependency check error with the following defconfig:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2016.05-1162-g94c7298.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_8=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_SYSTEM_BIN_SH_NONE=y
BR2_PACKAGE_EFL=y

This commit fixes this by selecting the zlib package at the Config.in
level.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: enable Eolian languages bindings
Romain Naour [Mon, 18 Jul 2016 20:51:26 +0000 (22:51 +0200)]
package/efl: enable Eolian languages bindings

Eolian languages bindings needs C++11, so we needs at least a gcc 4.8
for the host and target variant.
The C++11 support with gcc 4.7 is not sufficient.

Build eolian_cxx for the host only if Eolian support for the target is
selected.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: fix misc typos.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalljoyn-tcl-base: new package
Fabrice Fontaine [Thu, 7 Jul 2016 09:33:35 +0000 (11:33 +0200)]
alljoyn-tcl-base: new package

AllJoyn Base Services are common services used by many devices,
providing a set of interfaces for different devices to interact and
interoperate with one another.

Thin Client Library is designed to bring the benefits of the AllJoyn
distributed programming environment to embedded systems.

https://allseenalliance.org

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalljoyn-tcl: new package
Fabrice Fontaine [Thu, 7 Jul 2016 09:33:34 +0000 (11:33 +0200)]
alljoyn-tcl: new package

The AllJoyn framework defines a common way for devices and apps to
communicate with one another regardless of brands, categories,
transports, and OSes. Developers write applications that discover
nearby devices, and communicate with each other directly and through
the cloud, unleashing new possibilities in the Internet of Things.

AllJoyn Thin Core Library (AJTCL) is designed to bring the benefits
of the AllJoyn distributed programming environment to embedded
systems.

https://allseenalliance.org

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalljoyn-base: new package
Fabrice Fontaine [Thu, 7 Jul 2016 09:33:33 +0000 (11:33 +0200)]
alljoyn-base: new package

AllJoyn Base Services are common services used by many devices,
providing a set of interfaces for different devices to interact and
interoperate with one another.

https://allseenalliance.org

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - Add dependency on BR2_TOOLCHAIN_HAS_SYNC_4, inherited from the
   alljoyn package.
 - select BR2_PACKAGE_ALLJOYN_BASE_CONTROLPANEL when neither
   BR2_PACKAGE_ALLJOYN_BASE_NOTIFICATION nor
   BR2_PACKAGE_ALLJOYN_BASE_ONBOARDING are selected. This ensures that
   the package will at least build and install one thing.
 - rename the Config.in option prompts from "alljoyn-<foo>" to just
   "<foo>"
 - rework the build command to use a loop rather than duplicate code
 - rework the install command to also use a loop, and to not discard
   errors.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokmod: bump version to 23
Vicente Olivert Riera [Wed, 20 Jul 2016 13:28:00 +0000 (14:28 +0100)]
kmod: bump version to 23

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodomoticz: remove BR2_PACKAGE_BOOST_ARCH_SUPPORTS
Fabrice Fontaine [Wed, 20 Jul 2016 12:37:48 +0000 (14:37 +0200)]
domoticz: remove BR2_PACKAGE_BOOST_ARCH_SUPPORTS

The option was globally removed with
https://git.busybox.net/buildroot/commit/package/boost?id=668ce456448d671f30bf98c4d4819a88b0bf9f4e

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: add defconfig for TS-4800
Patrick Keroulas [Mon, 18 Jul 2016 18:41:36 +0000 (14:41 -0400)]
configs: add defconfig for TS-4800

The TS-4800 is supported by mainline Linux as of 4.5 and by U-boot
as of v2016-07.

The package requires the custom ts4800-mbrboot routine.

A post-image script is provided to generate an image that can be
directly written to an SD card.

More details on the board here:
  http://wiki.embeddedarm.com/wiki/TS-4800

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Patrick Keroulas <patrick.keroulas@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibamcodec: needs dynamic library
Thomas Petazzoni [Tue, 19 Jul 2016 21:19:23 +0000 (23:19 +0200)]
libamcodec: needs dynamic library

libamcodec uses <dlfcn.h>, so it requires dynamic library support.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonginx-upload: depends on BR2_PACKAGE_NGINX_HTTP
Bimal Jacob [Tue, 19 Jul 2016 14:10:35 +0000 (09:10 -0500)]
nginx-upload: depends on BR2_PACKAGE_NGINX_HTTP

Fixes:

  http://autobuild.buildroot.net/results/64b1bde02346ca67b670f0b095bd3acad707e8cd

Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: use depends on rather than select.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobind: bump version to 9.10.4-P2
Vicente Olivert Riera [Tue, 19 Jul 2016 09:29:06 +0000 (10:29 +0100)]
bind: bump version to 9.10.4-P2

Security fixes: CVE-2016-2775

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem: do not set hostname and issue for custom skeleton
Yann E. MORIN [Sun, 17 Jul 2016 08:44:28 +0000 (10:44 +0200)]
system: do not set hostname and issue for custom skeleton

We expect the custom skeleton to be fully filled with the necessary
files, now. There is definitely no reason we should handle setting the
hostname and the issue file in there. A user using a custom skeleton
should be fully responsible for providing a functional skeleton.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem: do not handle network settings for custom skeleton
Yann E. MORIN [Sun, 17 Jul 2016 08:44:27 +0000 (10:44 +0200)]
system: do not handle network settings for custom skeleton

We expect the custom skeleton to be fully filled with the necessary
files, now. There is definitely no reason we should handle network
settings in there. A user using a custom skeleton should be fully
responsible for providing a functional skeleton.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem: move the rootfs skeleton choice
Yann E. MORIN [Sun, 17 Jul 2016 08:44:26 +0000 (10:44 +0200)]
system: move the rootfs skeleton choice

In the following commits, we'll be switching more options to be
conditional on the default or custom skeleton.

So, it makes sense that those options come after the choice of a
skeleton.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem: provide no default for custom skeleton path
Yann E. MORIN [Sun, 17 Jul 2016 08:44:25 +0000 (10:44 +0200)]
system: provide no default for custom skeleton path

Being custom means that our default one is not suitable to start with.
So there is no reason to offer it as the default path.

Add a check that it is not empty.

Add a separating empty line, for good measure, too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: use the <PKG>_TARGET_FINALIZE_HOOKS
Yann E. MORIN [Sun, 17 Jul 2016 08:44:24 +0000 (10:44 +0200)]
toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS

Register toolchain-specific target-finalize hooks with the
newly-introduced <PKG>_TARGET_FINALIZE_HOOKS.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
Yann E. MORIN [Sun, 17 Jul 2016 08:44:23 +0000 (10:44 +0200)]
package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is a bit special. When Busybox is
enabled, it is a Busybox option. When Busybox is not enabled, it is a
stand-alone option, forcibly enabled.

So we can safely 'select' it without ensuring (via a 'depends on' or
another 'select') that Busybox is enabled.

However, the name of this option does not express the fact that it is
safe to select it without checking Busybox, which can lead to a bit of
time-consuming head-scratching.

To avoid future puzzlement from an unsuspecting observer, add a a big
fat comment that this option can be selected without any dependency on
Busybox.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas: slightly improve the wording of one of the comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofcgiwrap: Add a patch to link with libsystemd, not libsystemd-daemon.
Thomas Claveirole [Mon, 18 Jul 2016 14:28:50 +0000 (16:28 +0200)]
fcgiwrap: Add a patch to link with libsystemd, not libsystemd-daemon.

Fixes:

  http://autobuild.buildroot.org/results/9b5e70e42e53e7752245f7c43bd01f208fcf76d0/

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofcgiwrap: Bump to 99c942c90063c73734e56bacaa65f947772d9186.
Thomas Claveirole [Mon, 18 Jul 2016 14:28:49 +0000 (16:28 +0200)]
fcgiwrap: Bump to 99c942c90063c73734e56bacaa65f947772d9186.

fcgiwrap was not updated since April 2015, but the last GitHub release
is from February 2013.  Therefore, bump fcgiwrap to the latest commit
as it features fixes and improvements, but is unlikely to be part of a
release soon.

Update as well:
* the license file (latest commit features a COPYING file),
* the Config.in URL, as the previous "official" URL now returns an
  HTTP 502 error.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>