buildroot.git
8 years agotoolchain: granular choice for stack protector
Steven Noonan [Sun, 27 Dec 2015 11:07:31 +0000 (12:07 +0100)]
toolchain: granular choice for stack protector

Currently, we only support two levels of stach-smashing protection:
  - entirely disabled,
  - protect _all_ functions with -fstack-protector-all.

-fstack-protector-all tends to be far too aggressive and impacts
performance too much to be worth on a real product.

Add a choice that allows us to select between different levels of
stack-smashing protection:
  - none
  - basic   (NEW)
  - strong  (NEW)
  - all

The differences are documented in the GCC online documentation:
    https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Optimize-Options.html

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[yann.morin.1998@free.fr:
  - rebase
  - add legacy handling
  - SSP-strong depends on gcc >= 4.9
  - slightly simple ifeq-block in package/Makefile.in
  - keep the comment in the choice; add a comment shen strong is not
    available
  - drop the defaults (only keep the legacy)
  - update commit log
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas:
 - only show the choice if the toolchain has SSP support
 - add details for the BR2_SSP_ALL option that it has a significant
   performance impact.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoustr: not available for static-only configurations
Thomas Petazzoni [Sun, 27 Dec 2015 14:03:28 +0000 (15:03 +0100)]
ustr: not available for static-only configurations

ustr now unconditionally builds a shared library, so we have to mark
it as not available for static-only builds. The only reverse
dependencies of ustr is libsemanage, which was anyway already not
available for pure static builds.

Fixes:

  http://autobuild.buildroot.org/results/734/734975f6ac041e8aece07205c0b8966fe51e7df1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostunnel: use BR2_TOOLCHAIN_HAS_SSP instead of BR2_ENABLE_SSP
Thomas Petazzoni [Sun, 27 Dec 2015 13:29:24 +0000 (14:29 +0100)]
stunnel: use BR2_TOOLCHAIN_HAS_SSP instead of BR2_ENABLE_SSP

All packages use BR2_TOOLCHAIN_HAS_SSP to determine whether they can
use SSP suppport or not, except stunnel. Therefore, this commit makes
stunnel consistent with other packages. This is also necessary in
preparation to the removal of BR2_ENABLE_SSP in favor of a choice
between various SSP options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: add help text to BR2_ARM_ENABLE_VFP
Thomas Petazzoni [Sun, 27 Dec 2015 11:22:43 +0000 (12:22 +0100)]
arch/arm: add help text to BR2_ARM_ENABLE_VFP

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: Arago armv7 toolchain really requires a VFPv3
Yann E. MORIN [Sat, 26 Dec 2015 16:05:45 +0000 (17:05 +0100)]
toolchain/external: Arago armv7 toolchain really requires a VFPv3

The Arago armv7 toolchain really requires a VFPv3 unit, so only expose
it to the user when the CPU actually has such a VFP unit

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: only expose VFP in FP strategy when the CPU *has* a VFP unit
Yann E. MORIN [Sat, 26 Dec 2015 16:05:44 +0000 (17:05 +0100)]
arch/arm: only expose VFP in FP strategy when the CPU *has* a VFP unit

There's no point in offering the user an option to select an FP strategy
when the CPU does not actually have a VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: only expose EABIhf when the CPU *has* a VFP unit
Yann E. MORIN [Sat, 26 Dec 2015 16:05:43 +0000 (17:05 +0100)]
arch/arm: only expose EABIhf when the CPU *has* a VFP unit

There's no point in offering the user an option to select EABIhf when
the CPU does not really have a VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: add option to enable an optional VFP unit
Yann E. MORIN [Sat, 26 Dec 2015 16:05:42 +0000 (17:05 +0100)]
arch/arm: add option to enable an optional VFP unit

Currently, the VFP selection for ARM is a little bit muddy:
  - some CPUs definitely do not have a VFP or NEON,
  - some CPUs definitely do have a VFP or NEON,
  - some CPUs may have a VFP or NEON.

However, we currently conflate the availability of the VFP/NEON with the
possibility to use them. Even is the user chooses a floating point
strategy with a 'lower' solution (i.e. VFPv2 when a VFPv3 exists, or not
using NEON when the CPU has it), some packages are still using the
CPU-defined HW availaibility rather thean the usr's selection.

Furthermore, for CPU that may have a VFP/NEON, there is no way for the
user to actually specify that the HW is indeed available; the user can
only specify the floating point strategy. This means that some packages
or some package versions, like nodejs for example, can not be properly
selected on some CPU cores, like Cortex-A9 which only may have a VFP.

Like we have an option to enable an optional NEON unit, add a similar
option to enable an optional VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: reorder NEON option
Yann E. MORIN [Sat, 26 Dec 2015 16:05:41 +0000 (17:05 +0100)]
arch/arm: reorder NEON option

Stating whether to use the NEON extensions when it is optional in the
CPU really is completing the definition of the CPU we've just selected.

Move the ENABLE_NEON option just after the choice of the CPU variant,
and before any "software" option (ABI/VFP).

This will make sense in a moment, when we introduce a similar option for
enabling an optional VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: new package
Alex Suykov [Fri, 25 Dec 2015 21:40:10 +0000 (23:40 +0200)]
vboot-utils: new package

Chromium OS verified boot utilities.

Needed for signing kernel images and manipulating bootable
partitions on media intended for Chromebooks.

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostrace: fix building for arc, metag, nios2, or1k and tile
Alexey Brodkin [Fri, 25 Dec 2015 21:24:08 +0000 (00:24 +0300)]
strace: fix building for arc, metag, nios2, or1k and tile

Following commit broke building for arc, metag, nios2, or1k and tile:
http://sourceforge.net/p/strace/code/ci/34683e3926d8c2daa368afb805da422ee7043396/

Now we're fixing that breakage with a back-port of upstream fix:
http://sourceforge.net/p/strace/code/ci/dd1a80c8d213eed95fe55b7ebcb07ee165dd8e4b/

Mentioned fix will be a part of the next strace release,
i.e. this patch must be removed on strace version bump.

Fixes http://autobuild.buildroot.org/results/f25/f25c23003ed282b935f5289c944615860265364a
and alike, see http://autobuild.buildroot.org/?reason=strace-4.11

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luv: bump to version 1.8.0
Jörg Krause [Fri, 25 Dec 2015 21:28:48 +0000 (22:28 +0100)]
package/luv: bump to version 1.8.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/upmpcli: bump to version 0.13.1
Jörg Krause [Fri, 25 Dec 2015 23:14:47 +0000 (00:14 +0100)]
package/upmpcli: bump to version 0.13.1

upmpdcli version 0.13.1 requires libupnpp version 0.13.1 to build successfully.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libupnpp: bump to version 0.13.1
Jörg Krause [Fri, 25 Dec 2015 23:14:46 +0000 (00:14 +0100)]
package/libupnpp: bump to version 0.13.1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mpd: bump to version 0.19.12
Jörg Krause [Fri, 25 Dec 2015 22:47:44 +0000 (23:47 +0100)]
package/mpd: bump to version 0.19.12

Drop patch "Makefile.am: fix static build with alsa" - applied upstream.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luvi: bump to version 2.5.1
Jörg Krause [Fri, 25 Dec 2015 21:51:42 +0000 (22:51 +0100)]
package/luvi: bump to version 2.5.1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/boost: bump to version 1.60.0
Jörg Krause [Fri, 25 Dec 2015 22:10:06 +0000 (23:10 +0100)]
package/boost: bump to version 1.60.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrousers: remove inline for read_data/write_data
Sergio Prado [Fri, 25 Dec 2015 22:28:34 +0000 (20:28 -0200)]
trousers: remove inline for read_data/write_data

read_data and write_data functions are declared with inline, but
their definition is not in a .h file. This is causing errors when
linking:

tcsps.c:(.text+0x4ac): undefined reference to `read_data'
tcsps.c:(.text+0x1888): undefined reference to `write_data'
...

The patch is a partial backport of upstream commit
3297fcdf5ac0df868778e976b8b59e35542c1ee2.

Fixes:
http://autobuild.buildroot.net/results/1a53d929bcec840cd18185e54b1a6da8aa849269/
http://autobuild.buildroot.net/results/fad66e88b5a97004b21658d413f4d3a6d0d8838b/
http://autobuild.buildroot.net/results/c7e23b8ec2c69798482868e18311ebf2c01b65e0/
...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-ipaddress: new package
Yegor Yefremov [Thu, 24 Dec 2015 21:30:37 +0000 (22:30 +0100)]
python-ipaddress: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: correct 0.10.x option name
Martin Bark [Wed, 23 Dec 2015 12:16:04 +0000 (12:16 +0000)]
package/nodejs: correct 0.10.x option name

The nodejs options incorrectly started BR2_BR2_xxx.  This change corrects
the name for 0.10.x releases to BR2_PACKAGE_NODEJS_0_10_X

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgdiplus: bump to version 4.2
Sergio Prado [Thu, 24 Dec 2015 14:16:59 +0000 (12:16 -0200)]
libgdiplus: bump to version 4.2

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: remove sleep from SysV init scripts restart
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:34 +0000 (02:59 +0200)]
package/dhcp: remove sleep from SysV init scripts restart

No sleep is required for the restart and force-reload operations to
succeed.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: fix SysV init scripts output text
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:33 +0000 (02:59 +0200)]
package/dhcp: fix SysV init scripts output text

Fix various messages displayed by these scripts:
 - make start-stop-daemon quiet in order to avoid extra messages like
   "stopped /usr/sbin/dhcpd (pid 174)" being output between the command
   description and its result,
 - fix the script names in the usage strings.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp/S80dhcp-server: allow empty INTERFACES
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:31 +0000 (02:59 +0200)]
package/dhcp/S80dhcp-server: allow empty INTERFACES

The dhcpd daemon does not require network interface names to be
specified on the command line.

>From dhcpd(8):
"The names of the network interfaces on which dhcpd should listen for
broadcasts may be specified on the command line.  This should be done
on systems where dhcpd is unable to identify non-broadcast interfaces,
but should not be required on other systems.  If no interface names
are specified on the command line dhcpd will identify all network
interfaces which are up, eliminating non-broadcast interfaces if
possible, and listen for DHCP broadcasts on each interface."

dhcpd exits with "Not configured to listen on any interfaces!" only if
no requested (those in INTERFACES, or all if empty) non-broadcast
interfaces matching the subnet declarations in dhcpd.conf are up.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: systemd: support extra options
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:30 +0000 (02:59 +0200)]
package/dhcp: systemd: support extra options

Add an OPTIONS configuration variable in order to make it possible to
pass custom extra options to dhcpd. This keeps the systemd support
consistent with the SysV init script.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp/S80dhcp-server: support extra options
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:29 +0000 (02:59 +0200)]
package/dhcp/S80dhcp-server: support extra options

Add an OPTIONS configuration variable in order to make it possible to
pass custom extra options to dhcpd.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: make S80dhcp-relay read a file from /etc/default/
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:27 +0000 (02:59 +0200)]
package/dhcp: make S80dhcp-relay read a file from /etc/default/

The S80dhcp-relay init script has configuration variables like
INTERFACES whose contents have to be passed to the daemon. These
variables are initialized as empty strings, but some of them are not
allowed to be empty and there was no means of filling them apart from
creating a root FS overlay to overwrite these scripts.

This commit adds support for reading dhcrelay under /etc/default/ to
set these configuration variables.

[Thomas: adapt to patch only S80dhcp-relay, since S80dhcp-server has
already been changed by previous commits.]

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodhcp: misc improvements to S80dhcp-server
Thomas Petazzoni [Thu, 24 Dec 2015 13:54:01 +0000 (14:54 +0100)]
dhcp: misc improvements to S80dhcp-server

This commit does misc improvements to the S80dhcp-server init script:

 - Use more variables: NAME, DAEMON, CFG_FILE

 - Read the configuration file in /etc/default/ in a more usual way
   (as done in S21rngd for example)

 - Remove leftover dhcpd3 string in the stopping action.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodhcp: read /etc/default/dhcpd, not /etc/default/dhcpd.conf
Thomas Petazzoni [Thu, 24 Dec 2015 13:48:28 +0000 (14:48 +0100)]
dhcp: read /etc/default/dhcpd, not /etc/default/dhcpd.conf

All daemons that read a file from /etc/default/ have it named just
after the name of daemon, without any extension. This commit fixes the
dhcp package to do the same.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibvips: fix compile error for sparc64
Waldemar Brodkorb [Mon, 23 Nov 2015 21:42:22 +0000 (22:42 +0100)]
libvips: fix compile error for sparc64

Fixes following build error:
http://autobuild.buildroot.net/results/1515f070c0fd410c681fc8306700244c34eb1635/

[Thomas:
 - simplify logic.
 - add reference to submitted gcc bug.]

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodoom-wad: bump to version 1.9
Rodrigo Rebello [Thu, 24 Dec 2015 11:35:34 +0000 (09:35 -0200)]
doom-wad: bump to version 1.9

Also add a hash file.

The extraction method had to be changed, since the WAD file for this
version is not distributed as a stand-alone file, but comes inside a
2-part DOS self-extracting zip archive.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibnspr: fix build with the musl C library
Thomas Petazzoni [Thu, 24 Dec 2015 10:18:27 +0000 (11:18 +0100)]
libnspr: fix build with the musl C library

Even though libnspr uses a configure script, it does look at __GLIBC__
and other macros to determine whether certain C library features are
available or not. Such things fails completely with the musl C
library, since it doesn't define __GLIBC__.

To fix this, we borrow some logic from Alpine Linux, which consists in
explicitly specifying which features are available in the musl C
library.

Fixes:

  http://autobuild.buildroot.org/results/ddd/dddd032232126f1e476e6aea2c6a32e9cd1ddfae/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoautofs: really fix build
Thomas Petazzoni [Thu, 24 Dec 2015 10:07:53 +0000 (11:07 +0100)]
autofs: really fix build

The autofs configure script does a number of weird things.

First, instead of using the default search path for AC_CHECK_PROGS(),
it overrides it its own search path, ignoring the PATH environment
variable. Due to this, autofs fails to find flex even though flex is
available in the PATH. Fortunately, the authors provided a --with-path
configure option which allows to override this search path.

In addition, the configure script is checking on the build machine
that a number of programs are available, while those programs are in
fact only needed on the target. The one causing build issues is
modprobe, because it may not necessarily be installed on build
machines, so we explicitly tell autofs that modprobe is located in
/sbin/modprobe. It might be necessary to provide additional values for
other programs, as we discover other problems.

Fixes:

  http://autobuild.buildroot.org/results/447/4479382b2d4d762991cab2e93fd08ad6160c2921/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotpm-tools: new package
Noé Rubinstein [Wed, 4 Nov 2015 17:47:05 +0000 (18:47 +0100)]
tpm-tools: new package

[Thomas:
 - move from Libraries/Crypto to System tools in menuconfig
 - add patch to fix build with uClibc
 - use 'select' for openssl rather than a 'depends on'
 - propagate trousers dependencies
 - add <pkg>_LICENSE and <pkg>_LICENSEFILES
 - link against libiconv when needed, fixing !locale builds
 - explicitly disable pkcs11 support, since it is not handled by
   tpm-tools.mk currently.]

Signed-off-by: Al West <al.west@v-nova.com>
Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrousers: new package
Noé Rubinstein [Wed, 4 Nov 2015 17:47:04 +0000 (18:47 +0100)]
trousers: new package

[Thomas:
 - use a 'select' instead of a 'depends on' for openssl
 - select libiconv when locale support is not available, otherwise the
   build fails due to missing iconv.h
 - disable on BR2_STATIC_LIBS configurations as it doesn't build. It
   could be made to build by patching the trousers Makefile.
 - add missing dependency on thread support in the toolchain
 - add Config.in comment about the thread and dynamic library
   dependencies.
 - add missing <pkg>_LICENSE and <pkg>_LICENSE_FILES variables.]

Signed-off-by: Al West <al.west@v-nova.com>
Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodoom-wad: add BR2_PACKAGE_CHOCOLATE_DOOM as alternate dependency
Rodrigo Rebello [Fri, 6 Nov 2015 19:47:59 +0000 (17:47 -0200)]
doom-wad: add BR2_PACKAGE_CHOCOLATE_DOOM as alternate dependency

The shareware WAD file is also supported by Chocolate Doom.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agochocolate-doom: new package
Rodrigo Rebello [Fri, 6 Nov 2015 19:47:57 +0000 (17:47 -0200)]
chocolate-doom: new package

Chocolate Doom is a set of conservative source ports for Doom, Heretic,
Hexen and Strife, with a philosophy of preserving the look, feel, and
bugs of the vanilla versions of each.

http://www.chocolate-doom.org

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoEnabling mesa3d radeon driver for all architectures
Lada Trimasova [Wed, 23 Dec 2015 12:49:51 +0000 (15:49 +0300)]
Enabling mesa3d radeon driver for all architectures

Mesa32 radeon driver doesn't depend on x86 and can be built for all architectures.

Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mesa3d: virgl driver needs egl & drm
Bernd Kuhls [Sun, 20 Dec 2015 18:31:05 +0000 (19:31 +0100)]
package/mesa3d: virgl driver needs egl & drm

Fixes
http://autobuild.buildroot.net/results/7b3/7b38131ebb6b20daec1a6d2c49b25c5300f319fe/
http://autobuild.buildroot.net/results/61b/61b8b87f0460751257f480ef478e753635cab798/
http://autobuild.buildroot.net/results/971/97154ea0e780623d23b20b6b9fcc5df6190875c9/
http://autobuild.buildroot.net/results/dcf/dcf4e31e6b6eeadc7a2d7c87697f57d699673b9e/
http://autobuild.buildroot.net/results/399/399cca80ada5798decc87bff69a3acc432e8f3d0/
http://autobuild.buildroot.net/results/60f/60f63958b2310e00937c498ddf2a0295ff77683a/

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/Config.in: correct capitalization of menu item
Jerzy Grzegorek [Wed, 23 Dec 2015 17:19:03 +0000 (18:19 +0100)]
package/Config.in: correct capitalization of menu item

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5/qt5webchannel: add qwebchannel.js installation in /var/www
Julien CORJON [Wed, 23 Dec 2015 17:04:05 +0000 (18:04 +0100)]
qt5/qt5webchannel: add qwebchannel.js installation in /var/www

To use webchannel in an application qwebchannel.js is needed but this file was not
installed.

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libuv: fix support for uClibc-ng
Martin Bark [Wed, 23 Dec 2015 12:16:08 +0000 (12:16 +0000)]
package/libuv: fix support for uClibc-ng

See https://bugs.busybox.net/show_bug.cgi?id=8296 for further details on
the origins of this bug.

Submitted upstream to libuv and accepted, see
https://github.com/libuv/libuv/pull/653 and
https://github.com/libuv/libuv/commit/c861972

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: fix support for uClibc-ng
Martin Bark [Wed, 23 Dec 2015 12:16:07 +0000 (12:16 +0000)]
package/nodejs: fix support for uClibc-ng

Fix segmentation fault in node.js when using uClibc-ng.

This patch fixes bug #8296, see
https://bugs.busybox.net/show_bug.cgi?id=8296.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: fixed comment for mips soft float
Martin Bark [Wed, 23 Dec 2015 12:16:05 +0000 (12:16 +0000)]
package/nodejs: fixed comment for mips soft float

nodejs is only selected for mips hard float however the comment is
displayed for hard and soft float.  Correct this by adding the missing
!BR2_MIPS_SOFT_FLOAT to the comment.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: removed version 0.12.9
Martin Bark [Wed, 23 Dec 2015 12:16:03 +0000 (12:16 +0000)]
package/nodejs: removed version 0.12.9

Remove 0.12.9 to rationalise the number of nodejs releases supported by
buildroot.  Going forward buildroot will only support the latest release
of nodejs and the 0.10.x branch for armv5 support.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: bump version to 5.3.0
Martin Bark [Wed, 23 Dec 2015 12:16:02 +0000 (12:16 +0000)]
package/nodejs: bump version to 5.3.0

Replace 4.2.3 with 5.3.0.  5.3.0 is the current Stable release. See
https://nodejs.org/en/blog/release/v5.3.0 for details on the release.

Copied 4.2.3 patched to 5.3.0 with the following exceptions:
 - Removed 0004-fix-arm-vfpv2.patch, committed upstream and included in
   5.3.0.  See https://github.com/nodejs/node/commit/84dea1bd0c
 - Added 0004-Fix-va_list-not-declared.patch, fix for a new bug.  This
   has already been fixed upstream but is not in 5.3.0

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovnstat: bump to version 1.15
Rodrigo Rebello [Wed, 23 Dec 2015 15:38:56 +0000 (13:38 -0200)]
vnstat: bump to version 1.15

Also:

  - Remove no longer needed patch (merged upstream).
  - Adapt vnstat.mk to the new autotools-based build system.
  - Include patch to improve gd library usability check + add
    configure option to explicitly disable that check.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/unscd: add PID file to init script
Doug Kehn [Wed, 23 Dec 2015 13:54:40 +0000 (07:54 -0600)]
package/unscd: add PID file to init script

unscd creates/manages it's own PID file. Pass PID file reference to
start-stop-daemon.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agojquery-sidebar: new package
Yegor Yefremov [Wed, 23 Dec 2015 06:34:35 +0000 (07:34 +0100)]
jquery-sidebar: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoFix fallout after generated defconfig support
Yann E. MORIN [Wed, 23 Dec 2015 08:37:36 +0000 (09:37 +0100)]
Fix fallout after generated defconfig support

Fix improper use of qstrip; use correct variables.

Fixes #8546.

Reported-by: craigswank@gmail.com
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorfkill: new package
Volkov Viacheslav [Wed, 28 Oct 2015 08:02:43 +0000 (11:02 +0300)]
rfkill: new package

[Thomas: use "br" as the version suffix instead of "-br" so that the
final version string is "0.5-br" and not "0.5--br".]

Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agojQuery: introduce external plugin menu
Yegor Yefremov [Fri, 7 Aug 2015 12:10:09 +0000 (14:10 +0200)]
jQuery: introduce external plugin menu

List all jQuery plugins in a dedicated menu and remove
uneeded jQuery selection.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot/uboot: handle generated defconfigs
Thomas Petazzoni [Tue, 22 Dec 2015 21:52:47 +0000 (22:52 +0100)]
boot/uboot: handle generated defconfigs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot/barebox: handle generated defconfigs
Sam bobroff [Tue, 22 Dec 2015 21:22:04 +0000 (22:22 +0100)]
boot/barebox: handle generated defconfigs

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot/at91bootstrap3: handle generated defconfigs
Sam bobroff [Tue, 22 Dec 2015 21:22:03 +0000 (22:22 +0100)]
boot/at91bootstrap3: handle generated defconfigs

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
[yann.morin.1998@free.fr: move the kconfig-package hunk to the
 corresponding patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/linux: handle generated defconfigs
Sam bobroff [Tue, 22 Dec 2015 21:22:02 +0000 (22:22 +0100)]
package/linux: handle generated defconfigs

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
[yann.morin.1998@free.fr: move the kconfig-package hunk to the
 corresponding patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: document the new kconfig-package variable
Yann E. MORIN [Tue, 22 Dec 2015 21:22:01 +0000 (22:22 +0100)]
docs/manual: document the new kconfig-package variable

The previous patch introduced the new FOO_KCONFIG_DEFCONFIG variable
to specify a defconfig rule rather than a (def)config file.

Add this to the manual.

Also document the pre-existing FOO_KCONFIG_FILE for which the
explanations were missing altogether.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-kconfig: handle generated defconfigs
Sam bobroff [Tue, 22 Dec 2015 21:22:00 +0000 (22:22 +0100)]
core/pkg-kconfig: handle generated defconfigs

As of Linux kernel commit ea4d1a8 "powerpc/configs: Replace
pseries_le_defconfig with a Makefile target using merge_config" some
kconfig defconfigs (one so far: "pseries_le_defconfig") can be
generated using "make <defconfig>" and they do not exist on disk as a
single defconfig file.

This causes buildroot's build to fail for those configs with:
'arch/powerpc/configs/pseries_le_defconfig' for 'linux' does not exist

To handle this case and keep the makefile steps as simple as possible,
introduce a new package variable, *_KCONFIG_DEFCONFIG, that can be
used to indicate that a defconfig rule is being used, rather than a
file.

This allows the rule that generates the .config file to use either the
provided file (by copying) or a generated defconfig (by running "make
<defconfig>") as its starting point. merge_config.sh can then be run the
same way in either case, using .config as both input and output.

Note that merge_config.sh is now modifying .config in-place but this
is safe because it uses a temporary copy while making changes.

This patch introduces the new variable but does not make use of it.
Use of the new variable will be introduced in separate patches.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
[yann.morin.1998@free.fr:
  - include all the other kconfig-package hunks into this one patch
  - do not transform the 'echo "..."; exit 1' into $(error ...) calls
  - use a make $(if)-block instead of a shell if-block to copy the file
    or run make (like is done to check the kconfig snippets)
  - misc typoes and rephrasing in the commit log
  - do not force the _defconfig suffix in the infra  (Thomas)
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowine: handle all *-config scripts
Thomas Petazzoni [Tue, 22 Dec 2015 21:35:20 +0000 (22:35 +0100)]
wine: handle all *-config scripts

We already had a patch to allow us to explicitly pass the location of
the sane-config script, but wine's configure script uses several other
*-config scripts. This commit extends the wine patch and wine.mk to
explicitly pss the location of all *-config scripts that may be used
by wine.

The wine patch has been submitted upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoltrace: add patch to fix build on sparc
Thomas Petazzoni [Tue, 22 Dec 2015 20:52:11 +0000 (21:52 +0100)]
ltrace: add patch to fix build on sparc

Due to a missing header inclusion, the build of ltrace of sparc fails
with the following error:

plt.c: In function 'sym2addr':
plt.c:33:12: error: dereferencing pointer to incomplete type
  return sym->enter_addr;
            ^
plt.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
 }

This commit fixes that by adding a patch to the ltrace code base.

Fixes:

  http://autobuild.buildroot.org/results/55c/55ce618dbe1b2867e5738d90afb2eb67c19200e4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolockdev: fix build with the musl C library
Thomas Petazzoni [Tue, 22 Dec 2015 20:39:17 +0000 (21:39 +0100)]
lockdev: fix build with the musl C library

When the musl C library is used, the __GNU_LIBRARY__ symbol is not
defined, so the lockdev code doesn't know what to do. To work around
this, we explicitly pass __GNU_LIBRARY__ when building with musl, this
musl provides what's needed for lockdev to build, as if we were
building against glibc.

Fixes:

  http://autobuild.buildroot.org/results/9db/9db4ab40955d3af0027e141245d73ee6c614fb1f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoautofs: add missing dependencies on flex and bison
Thomas Petazzoni [Tue, 22 Dec 2015 20:34:18 +0000 (21:34 +0100)]
autofs: add missing dependencies on flex and bison

Fixes:

  http://autobuild.buildroot.org/results/999/999d2d5fe07994642ab39b26d936c230d79947a2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoubus: new package
Sergio Prado [Sat, 28 Nov 2015 19:14:42 +0000 (17:14 -0200)]
ubus: new package

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/unscd: new package
Doug Kehn [Wed, 2 Dec 2015 14:56:17 +0000 (08:56 -0600)]
package/unscd: new package

A daemon which handles passwd, group and host lookups for running
programs and caches the results for the next query. This package is
intended to replace glibc nscd. Presently, glibc nscd is not installed
by Buildroot.

unscd depends on glibc because it relies on glibc function
__nss_disable_nscd.

nscd.conf is taken from glibc with unused configurations removed.

Cc: 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: Doug Kehn <rdkehn@yahoo.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonfs-utils: install /etc/nfsmount.conf
Jonathan Ben Avraham [Tue, 22 Dec 2015 17:12:17 +0000 (19:12 +0200)]
nfs-utils: install /etc/nfsmount.conf

Installs /etc/nfsmount.conf on the target, mainly to be able to configure the
the NFS version that mount.nfs uses by default. Without this ability you are
likely to encounter mount errors when automounting directories from NFS
version 3 servers.

Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoautofs: new package
Jonathan Ben Avraham [Tue, 22 Dec 2015 16:51:10 +0000 (18:51 +0200)]
autofs: new package

Tested on i.MX6 using NFS mounts only. Not tested with DAS mounts as
of this commit.

[Thomas:
 - remove the "# rpcbind" comments on the thread and mmu dependencies,
   since we don't select rpcbind. The thread and mmu dependencies are
   still needed though, since autofs uses pthread_*() functions and
   fork().
 - Remove "Requires a toolchain with native RPC." in the Config.in
   help text and instead add a proper Config.in comment about the
   thread and RPC dependency.
 - Add patch to fix building with uClibc, taken from OpenEmbedded.]

Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/Config.in: fix alphabetical order
Jerzy Grzegorek [Tue, 22 Dec 2015 16:37:43 +0000 (17:37 +0100)]
package/Config.in: fix alphabetical order

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoemlog: new package
Joris Lijssens [Tue, 22 Dec 2015 10:36:36 +0000 (11:36 +0100)]
emlog: new package

[Thomas:
 - update to the latest github version, which has a number of
   fixes/improvements compared to the latest tag.
 - add a patch to fix the build of the kernel module with recent
   kernel versions (>= 3.19).
 - use $(INSTALL) -D with a full destination path.
 - rewrap Config.in help text, lines were too long.]

Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostrace: bump to version 4.11
Gustavo Zacarias [Tue, 22 Dec 2015 11:12:25 +0000 (08:12 -0300)]
strace: bump to version 4.11

Patch upstream so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocantarell: bump to version 0.0.19
Gustavo Zacarias [Tue, 22 Dec 2015 11:02:34 +0000 (08:02 -0300)]
cantarell: bump to version 0.0.19

Also use CANTARELL_VERSION_MAJOR in SITE as reported by Baruch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorsync: security bump to version 3.1.2
Gustavo Zacarias [Tue, 22 Dec 2015 10:46:11 +0000 (07:46 -0300)]
rsync: security bump to version 3.1.2

Fixes:
Make sure that all transferred files use only path names from inside the
transfer.  This makes it impossible for a malicious sender to try to
make the receiver use an unsafe destination path for a transferred file,
such as a just-sent symlink.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMakefile: Add RANLIB to the list of critical variables to unexport
Tom Rini [Tue, 17 Nov 2015 19:04:04 +0000 (14:04 -0500)]
Makefile: Add RANLIB to the list of critical variables to unexport

If RANLIB is set and we're trying to build binutils, binutils will pick
this up and potentially fail to build.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenbox: new package
Ezequiel García [Mon, 30 Nov 2015 15:30:58 +0000 (12:30 -0300)]
openbox: new package

Add support for the Openbox Windows Manager.

[Thomas:
  - don't mention MMU in the Config.in comment.
  - wchar was forgotten in the Config.in comment.
  - the dependency of the comment on thread should be "depends on
    !BR2_TOOLCHAIN_HAS_THREADS" so that the comment is shown when
    thread support is *not* available.
  - add missing select of BR2_PACKAGE_XLIB_LIBXFT and
    BR2_PACKAGE_XLIB_LIBXRENDER which are needed for pango to have xft
    support, otherwise the build fails with "configure: error: Package
    requirements (pango >= 1.8.0 pangoxft >= 1.8.0) were not met:"
  - remove useless empty newline in the hash file
  - add missing dependency on host-pkgconf, which is needed since
    the configure.ac uses PKG_CHECK_MODULES.]

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoipmitool: Bump ipmitool to 1.8.15
Stewart Smith [Tue, 22 Dec 2015 03:05:12 +0000 (14:05 +1100)]
ipmitool: Bump ipmitool to 1.8.15

New release fixes a number of bugs, including some needed for talking
to modern AMI BMC firmware as shipped on some POWER8 systems.

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodirectfb/legacy: add that it was removed
Gustavo Zacarias [Mon, 21 Dec 2015 22:11:08 +0000 (19:11 -0300)]
directfb/legacy: add that it was removed

As pointed by Yann.

Signed-off-by: Gustavo Zacarias <gustavo.zacarisa@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pysmb: new package
Yegor Yefremov [Mon, 21 Dec 2015 10:15:07 +0000 (11:15 +0100)]
python-pysmb: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-cherrypy: bump to 4.0.0
Yegor Yefremov [Mon, 21 Dec 2015 10:50:24 +0000 (11:50 +0100)]
python-cherrypy: bump to 4.0.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pyftpdlib: bump to 1.5.0
Yegor Yefremov [Mon, 21 Dec 2015 10:50:23 +0000 (11:50 +0100)]
python-pyftpdlib: bump to 1.5.0

Change download location to pypi and add pypi MD5 checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-werkzeug: bump to 0.11.3
Yegor Yefremov [Mon, 21 Dec 2015 10:50:22 +0000 (11:50 +0100)]
python-werkzeug: bump to 0.11.3

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-zope-interface: bump to 4.1.3
Yegor Yefremov [Mon, 21 Dec 2015 10:50:21 +0000 (11:50 +0100)]
python-zope-interface: bump to 4.1.3

Add pypi MD5 checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimagemagick: bump to version 6.9.2-10
Jerzy Grzegorek [Mon, 21 Dec 2015 10:57:16 +0000 (11:57 +0100)]
imagemagick: bump to version 6.9.2-10

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-bad/Config.in: indentation cleanup
Jerzy Grzegorek [Mon, 21 Dec 2015 11:21:30 +0000 (12:21 +0100)]
gst1-plugins-bad/Config.in: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopicocom: bump to version 2.1
Rodrigo Rebello [Mon, 21 Dec 2015 17:06:28 +0000 (15:06 -0200)]
picocom: bump to version 2.1

Also remove no longer needed patch (merged upstream before the release
of v2.1).

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrace-cmd: bump to version 2.6
Sergio Prado [Mon, 21 Dec 2015 21:05:19 +0000 (19:05 -0200)]
trace-cmd: bump to version 2.6

Also remove no longer needed patch (fixed upstream).

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluvi: new package
Jörg Krause [Thu, 29 Oct 2015 07:45:03 +0000 (08:45 +0100)]
luvi: new package

Add package luvi version v2.3.5.

luvi extends LuaJIT with asynchronous I/O and several optional modules to run
Lua applications and build self-contained binaries.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: add support for musl toolchain on ARM EABIhf
Thomas Petazzoni [Fri, 9 Oct 2015 09:14:48 +0000 (11:14 +0200)]
toolchain-external: add support for musl toolchain on ARM EABIhf

Since a few releases, the pre-built musl external toolchain has added
an ARM EABIhf variant, built for ARMv5T. This commit allows this
additional external toolchain to be used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-bad: Add OpenAL dependency
André Hentschel [Sun, 20 Dec 2015 16:36:24 +0000 (17:36 +0100)]
gst1-plugins-bad: Add OpenAL dependency

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/v4l2grab: Update hash after latest version bump
Bernd Kuhls [Sun, 20 Dec 2015 19:15:59 +0000 (20:15 +0100)]
package/v4l2grab: Update hash after latest version bump

Fixes
http://autobuild.buildroot.net/results/3aa/3aa8ac30de88c50539afaf7cd5ef10eb375c96f5/
http://autobuild.buildroot.net/results/927/92792f6d7aa2f9b2b8d55315369164faa42c38af/
http://autobuild.buildroot.net/results/09a/09a1931d9c117b678cc6ab9bd34f23aa84238d48/
http://autobuild.buildroot.net/results/37d/37dee4ce618c511af8bdf7876e6038e907aba7a6/
http://autobuild.buildroot.net/results/48d/48d1052240c6041db7ac7b82fafd8c02998becfc/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoifupdown: bump to version 0.8.2
Gustavo Zacarias [Sun, 20 Dec 2015 21:03:25 +0000 (18:03 -0300)]
ifupdown: bump to version 0.8.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostart-stop-daemon: bump to version 1.18.3
Gustavo Zacarias [Sun, 20 Dec 2015 21:03:04 +0000 (18:03 -0300)]
start-stop-daemon: bump to version 1.18.3

Enable developer mode to skip the shared library check in configure and
avoid further patching.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodebianutils: bump to version 4.5.1
Gustavo Zacarias [Sun, 20 Dec 2015 20:34:36 +0000 (17:34 -0300)]
debianutils: bump to version 4.5.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibmicrohttpd: bump to version 0.9.48
Gustavo Zacarias [Sun, 20 Dec 2015 20:30:09 +0000 (17:30 -0300)]
libmicrohttpd: bump to version 0.9.48

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agognupg: bump to version 1.4.20
Gustavo Zacarias [Sun, 20 Dec 2015 20:23:31 +0000 (17:23 -0300)]
gnupg: bump to version 1.4.20

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: don't build appended DTB image in place and support multiple images
Thomas Petazzoni [Sun, 18 Oct 2015 21:05:02 +0000 (23:05 +0200)]
linux: don't build appended DTB image in place and support multiple images

Currently, the linux.mk logic for appended DTB image does the
appending of the DTB in place, directly at the end of the zImage using
a >> sign. This is incorrect because if you run "make linux-rebuild"
multiple times, you get the DTB appended over and over again to the
image.

Since keeping the 'zImage' or 'uImage' name for the appended DTB image
is not very clear, this commit moves to using the 'zImage.<dtb>' and
'uImage.<dtb>' format. This way, we can clearly distinguish the
original image from the appended one.

In addition, this naming scheme easily allows to generate *multiple*
appended DTB images: from one zImage, you can generate multiple
zImage.<dtb> for several DTBs, and then generate (if requested) the
corresponding uImage.<dtb>.

To achieve this, this commit:

 - Changes the definition of LINUX_APPENDED_DTB to iterate over
   $(KERNEL_DTS_NAME), and generate a zImage.<dtb> image for each of
   them.

 - Changes the addition of LINUX_APPENDED_DTB for appended uImage to
   also iterate over $(KERNEL_DTS_NAME).

 - Provide a different implementation of LINUX_INSTALL_IMAGE which
   installs all the appended DTB images (but not the bare image)

 - Remove the checks that verified that only one DT name is passed
   when appended DTB is used, since we now support generating multiple
   DT images.

Some of the tested configuration:

 - Normal uImage with several DTBs

   BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v7"
   BR2_LINUX_KERNEL_UIMAGE=y
   BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x200000"
   BR2_LINUX_KERNEL_DTS_SUPPORT=y
   BR2_LINUX_KERNEL_INTREE_DTS_NAME="armada-xp-matrix armada-xp-gp armada-370-mirabox"

   Contents of output/images/:

   armada-370-mirabox.dtb  armada-xp-gp.dtb  armada-xp-matrix.dtb  uImage

 - Normal zImage with several DTBs

   BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v7"
   BR2_LINUX_KERNEL_ZIMAGE=y
   BR2_LINUX_KERNEL_DTS_SUPPORT=y
   BR2_LINUX_KERNEL_INTREE_DTS_NAME="armada-xp-matrix armada-xp-gp armada-370-mirabox"

   Contents of output/images:

   armada-370-mirabox.dtb  armada-xp-gp.dtb  armada-xp-matrix.dtb  zImage

 - Appended uImage with several DTBs:

   BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v7"
   BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
   BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x200000"
   BR2_LINUX_KERNEL_INTREE_DTS_NAME="armada-xp-matrix armada-xp-gp armada-370-mirabox"

   Contents of output/images:

   uImage.armada-370-mirabox  uImage.armada-xp-gp  uImage.armada-xp-matrix

 - Appended zImage with several DTBs:

   BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v7"
   BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y
   BR2_LINUX_KERNEL_INTREE_DTS_NAME="armada-xp-matrix armada-xp-gp armada-370-mirabox"

   Contents of output/images:

   zImage.armada-370-mirabox  zImage.armada-xp-gp  zImage.armada-xp-matrix

In all configurations, the contents of output/target/boot/ was the
same if BR2_LINUX_KERNEL_INSTALL_TARGET=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: only install the DTBs when not in appended DTB mode
Thomas Petazzoni [Sun, 18 Oct 2015 21:05:01 +0000 (23:05 +0200)]
linux: only install the DTBs when not in appended DTB mode

When you're using the "appended DTB" mode, the Device Tree blob gets
appended to your kernel image, so there is no point in installing both
the DTB and the kernel image to the images or target directories,
installing the kernel image itself is sufficient.

Therefore, this commit disables the definition of LINUX_INSTALL_DTB
when appended DTB is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: de-duplicate DTB and Linux image installation
Thomas Petazzoni [Sun, 18 Oct 2015 21:05:00 +0000 (23:05 +0200)]
linux: de-duplicate DTB and Linux image installation

Currently, the LINUX_INSTALL_DTB and LINUX_INSTALL_DTB_TARGET macros
are exactly the same, except for the target directory.

Similarly, LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET and
LINUX_INSTALL_IMAGES_CMDS are copying the kernel image, just to a
different place (and with a different strategy).

As a preparation for future additions, this commit de-duplicate this
code:

 - LINUX_INSTALL_DTB becomes a make macro that takes one argument: the
   destination directory.

 - LINUX_INSTALL_IMAGE is a new make macro that also takes on
   argument: the destination directory.

Both macros are used by LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET and
LINUX_INSTALL_IMAGES_CMDS to respectively install to the target
directory and the images directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/wpa_supplicant: add config option to build wpa_client library
Jörg Krause [Sun, 1 Nov 2015 08:35:18 +0000 (09:35 +0100)]
package/wpa_supplicant: add config option to build wpa_client library

Version 2.5 of wpa_supplicant introduces the config option
CONFIG_BUILD_WPA_CLIENT_SO to enable building wpa_client as shared library.

We need to add a patch from upstream to fix a runtime error with
libwpa_client.so:
  Error relocating /usr/lib/libwpa_client.so: bin_clear_free: symbol not found

[Thomas: renumber patch.]

Cc: Martin Bark <martin@barkynet.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reviewed-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/perl-db-file: Berkeley DB 1.85 compatibility API is not needed
Bernd Kuhls [Sat, 5 Dec 2015 22:42:23 +0000 (23:42 +0100)]
package/perl-db-file: Berkeley DB 1.85 compatibility API is not needed

This package is also compatible with Berkeley DB v2 or higher:
https://metacpan.org/source/PMQS/DB_File-1.835/Changes

1.50
    DB_File can now build with either DB 1.x or 2.x, but not both at
    the same time.

[Thomas: adjust Config.in help text accordingly.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: rename libefl to efl
Romain Naour [Sat, 19 Dec 2015 16:39:16 +0000 (17:39 +0100)]
package/efl: rename libefl to efl

This allow to keep backward compatibility with older
defconfig files that used BR2_PACKAGE_EFL.

Don't add Config.in.legacy entry for libefl since it's
not part of any Buildroot release.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libefl: move to package directory
Romain Naour [Sat, 19 Dec 2015 16:39:15 +0000 (17:39 +0100)]
package/libefl: move to package directory

As discussed on the list move the last remaining package
in package/efl subdirectory to package/ directory.

- move the efl dependency to libefl.
- Set LIBEFL_VERSION with the version number directly.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>