buildroot.git
8 years agopackage/gtkmm3: reorder select/depends
Romain Naour [Mon, 28 Dec 2015 21:23:33 +0000 (22:23 +0100)]
package/gtkmm3: reorder select/depends

>From [1]:
"Even though the ordering has absolutely no consequences in Kconfig, it
is not logical (when reading). It is more logical and far easier to
understand when depends come first, followed by the selects."

Also, the Config.in exemple in the manual suggest to use this coding
style [2].

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html
[2] http://buildroot.uclibc.org/downloads/manual/manual.html#writing-rules-config-in

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoeigen: fix indentation
Thomas Petazzoni [Mon, 28 Dec 2015 20:59:09 +0000 (21:59 +0100)]
eigen: fix indentation

Use tabs consistently for indentation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/eigen: install .pc file
Yann E. MORIN [Mon, 28 Dec 2015 19:08:54 +0000 (20:08 +0100)]
package/eigen: install .pc file

Other packages will look for eigen3.pc to detect the presence of eigen3.

eigen3.pc is usually installed by eigen's cmake buildsystem, but we do a
manual install to not depend on host-cmake just to install header files.
But in doing so, we forgot to install the .pc file.

Manually sed the source .pc.in to generate the final .pc file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libasplib: new package
Bernd Kuhls [Sun, 20 Dec 2015 21:31:52 +0000 (22:31 +0100)]
package/libasplib: new package

Needed for upcoming kodi-adsp-biquad-filters package

[Thomas:
  - add dependency on i386 || x86-64 since the <cpuid.h> header is
    needed
  - add hash file.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: new orangepipc_defconfig
Eelco Chaudron [Thu, 24 Dec 2015 13:08:04 +0000 (14:08 +0100)]
configs: new orangepipc_defconfig

This commit adds a configuration for the Orange Pi PC board,
<http://www.orangepi.org/orangepipc/>.

Signed-off-by: Eelco Chaudron <echaudron@xiot.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/udpcast: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 22:50:07 +0000 (23:50 +0100)]
package/udpcast: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/tcl: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 21:27:52 +0000 (22:27 +0100)]
package/tcl: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/nodejs: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 20:43:15 +0000 (21:43 +0100)]
package/nodejs: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/gstreamer1: move comment around, to keep proper indentation
Yann E. MORIN [Thu, 24 Dec 2015 16:03:29 +0000 (17:03 +0100)]
package/gstreamer1: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

In this case, it means the gstremaer1 plugins are not indented below the
main gstreamer1 prompt.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/gstreamer: move comment around, to keep proper indentation
Yann E. MORIN [Thu, 24 Dec 2015 15:53:21 +0000 (16:53 +0100)]
package/gstreamer: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

In this case, it means the gstremaer plugins are not indented below
the main gstreamer prompt.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/alsa-lib: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 21:33:35 +0000 (22:33 +0100)]
package/alsa-lib: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol
and its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/connman: cleanup backtrace patch
Yann E. MORIN [Thu, 24 Dec 2015 13:00:09 +0000 (14:00 +0100)]
package/connman: cleanup backtrace patch

connman uses execinfo.h to dump a backtrace in case of failure.
execinfo.h is optional in uClibc, so we had a patch that conditonally
disabled backtraces for uClibc when it was missing execinfo.h

However, musl is also entirely lacking execinfo.h.

Add a proper patch that checks for execinfo.h at ./configure time. This
will no longer make any assumption on the C library that is being used.

Fixes:
    http://autobuild.buildroot.org/results/f6e/f6ee8ab3a6300f1f527f9e92b8c2ec81e63afb27/
    http://autobuild.buildroot.org/results/96b/96b78bb644ed4ef3493782521b17e3b2113a405f/
    ...

Note that there might be other issues with musl; this patch only fixes
the execinfo.h one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoautofs: not available on static
Gustavo Zacarias [Mon, 28 Dec 2015 16:18:16 +0000 (13:18 -0300)]
autofs: not available on static

Uses dlfcn & friends, fixes:
http://autobuild.buildroot.net/results/2f2/2f2dcf8d2af961c0401a4b39f96cefe691a4479b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibjpeg-turbo: bump to version 1.4.2
Gustavo Zacarias [Mon, 28 Dec 2015 15:51:09 +0000 (12:51 -0300)]
libjpeg-turbo: bump to version 1.4.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonasm: bump to version 2.11.08
Gustavo Zacarias [Mon, 28 Dec 2015 15:50:53 +0000 (12:50 -0300)]
nasm: bump to version 2.11.08

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.4
Gustavo Zacarias [Mon, 28 Dec 2015 12:35:40 +0000 (09:35 -0300)]
start-stop-daemon: bump to version 1.18.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsecret: add patch to fix .pc file for static linking
Thomas Petazzoni [Mon, 28 Dec 2015 11:28:59 +0000 (12:28 +0100)]
libsecret: add patch to fix .pc file for static linking

The .pc file of libsecret needs to be adjusted to account for its
optional dependency on the gcrypt library. The patch has been
submitted upstream for inclusion.

Fixes:

  http://autobuild.buildroot.org/results/c2c/c2c6185cfbd9a0c91266c9e8a5f4221afb14930f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopinentry: optionally depend on libsecret
Thomas Petazzoni [Mon, 28 Dec 2015 11:28:35 +0000 (12:28 +0100)]
pinentry: optionally depend on libsecret

pinentry can use libsecret when available, so we should handle this
optional dependencies properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopinentry: add host-pkgconf dependency
Thomas Petazzoni [Mon, 28 Dec 2015 11:27:57 +0000 (12:27 +0100)]
pinentry: add host-pkgconf dependency

pinentry configure.ac uses PKG_CHECK_MODULES() and also manual calls
to pkg-config, to detect the availability of some libraries, so we
need to depend on host-pkgconf.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: add missing dependency on host-util-linux
Thomas Petazzoni [Sun, 27 Dec 2015 16:40:56 +0000 (17:40 +0100)]
vboot-utils: add missing dependency on host-util-linux

vboot-utils needs uuid.h and libuuid for the cgpt tool, so we need to
depend on host-util-linux.

Fixes:

  http://autobuild.buildroot.org/results/ee1/ee18202cb6d7751178617e6a3d0bc97e65318aa9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>