buildroot.git
8 years agoptpd2: explicitly point to pcap-config
Gustavo Zacarias [Wed, 27 Jan 2016 13:38:21 +0000 (10:38 -0300)]
ptpd2: explicitly point to pcap-config

Otherwise it will search in the usual places, and if the host has
it it will try to build against that one, resulting in failure. Fixes:
http://autobuild.buildroot.net/results/b39/b399ee830de587e3302f86ac0caadd2607c6c43c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonginx: security bump to version 1.8.1
Gustavo Zacarias [Wed, 27 Jan 2016 12:03:30 +0000 (09:03 -0300)]
nginx: security bump to version 1.8.1

Fixes:

CVE-2016-0742 - invalid pointer dereference might occur during DNS
server response processing if the "resolver" directive was used,
allowing anattacker who is able to forge UDP packets from the DNS server
to cause segmentation fault in a worker process.

CVE-2016-0746 - use-after-free condition might occur during CNAME
response processing if the "resolver" directive was used, allowing an
attacker who is able to trigger name resolution to cause segmentation
fault in a worker process, or might have potential other impact.

CVE-2016-0747 - CNAME resolution was insufficiently limited if the
"resolver" directive was used, allowing an attacker who is able to
trigger arbitrary name resolution to cause excessive resource
consumption in worker processes.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoredis: bump to version 3.0.6
Gustavo Zacarias [Wed, 27 Jan 2016 12:03:20 +0000 (09:03 -0300)]
redis: bump to version 3.0.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/collectd: bump version to 5.5.1
Bernd Kuhls [Wed, 27 Jan 2016 20:01:58 +0000 (21:01 +0100)]
package/collectd: bump version to 5.5.1

Removed COLLECTD_AUTORECONF=yes because our patches applied were applied
upstream:
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=780e6a76021a240e95007a04b723d827120afa95
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=3e3848349b753d78a0b1d19648fb394866856bda

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lxc: bump version to 1.1.5
Bernd Kuhls [Sat, 23 Jan 2016 14:37:51 +0000 (15:37 +0100)]
package/lxc: bump version to 1.1.5

[Thomas: download location changed to
https://linuxcontainers.org/downloads/lxc, as noticed by Santosh
Multhalli.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomadplay: fix musl gettext support detection
Peter Korsgaard [Wed, 27 Jan 2016 16:57:21 +0000 (17:57 +0100)]
madplay: fix musl gettext support detection

Fixes:
http://autobuild.buildroot.net/results/256/2561190b274d71666c4bdf3c569b02063cefdb30/
http://autobuild.buildroot.net/results/14e/14e6addcd3ec35f882da7ec489caa9b60ecd4b63/
http://autobuild.buildroot.net/results/cf0/cf011286be839674d358a8bccaf1c5c52de75e46/

madplay needs gettext when built with nls, and it support 3 variants:

- C library support gettext (E.G. glibc)
- Libintl (E.G. uClibc)
- An included libintl copy

The included libintl copy has unfortunately bitrotted and doesn't even build
any more.  With that said, musl DOES have gettext support, so that should be
used instead.

The configure script unfortunately uses an old AM_GNU_GETTEXT test, which
explicitly checks for nonstandard glibc extensions, which musl doesn't
support:

http://www.openwall.com/lists/musl/2015/04/16/3

Which causes the detection to fail:

configure:24770: checking for GNU gettext in libc
configure:24794: /home/peko/source/buildroot/output/host/usr/bin/i486-linux-musl-gcc \
   -o conftest -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c  >&5
/tmp/ccboDFhK.o: In function `main':
conftest.c:(.text+0x39): undefined reference to `_nl_msg_cat_cntr'
conftest.c:(.text+0x40): undefined reference to `_nl_domain_bindings'
collect2: error: ld returned 1 exit status

Now, madplay itself doesn't actually use these glibc extensions, so just force the
detection of GNU gettext when musl is used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/intel-microcode: bump version to 20151106
Bernd Kuhls [Tue, 26 Jan 2016 22:05:53 +0000 (23:05 +0100)]
package/intel-microcode: bump version to 20151106

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopulseaudio: bump to version 8.0
Vicente Olivert Riera [Fri, 22 Jan 2016 12:36:58 +0000 (12:36 +0000)]
pulseaudio: bump to version 8.0

- Bump to version 8.0
- Update hash values
- Remove upstreamed patch:
  http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=1c5005ef77737a21b513eaa322d2f119e12f31e3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobind: security bump to version 9.10.3-P3
Gustavo Zacarias [Fri, 22 Jan 2016 12:28:11 +0000 (09:28 -0300)]
bind: security bump to version 9.10.3-P3

Fixes:

CVE-2015-8704 - apl_42.c in ISC BIND 9.x before 9.9.8-P3 and 9.9.x and
9.10.x before 9.10.3-P3 allows remote authenticated users to cause a
denial of service (INSIST assertion failure and daemon exit) via a
malformed Address Prefix List (APL) record.

CVE-2015-8705 - buffer.c in named in ISC BIND 9.10.x before 9.10.3-P3,
when debug logging is enabled, allows remote attackers to cause a denial
of service (REQUIRE assertion failure and daemon exit, or daemon crash)
or possibly have unspecified other impact via (1) OPT data or (2) an ECS
option.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobind: rename ptrsize to ptr_size in the code
Gustavo Zacarias [Fri, 22 Jan 2016 11:41:01 +0000 (08:41 -0300)]
bind: rename ptrsize to ptr_size in the code

uClibc in commit 70a04a28 #defined ptrsize globally in bits/setjmp.h for
mips. However this is a common variable name and causes build failure
for at least bind.
So rename ptrsize to ptr_size in bind to avoid this. Fixes:
http://autobuild.buildroot.net/results/a92/a92fa5dc5d9d6742d61d4d293f7eac97c5355dfe/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/odhcp6c: add hash
Bernd Kuhls [Tue, 26 Jan 2016 21:50:13 +0000 (22:50 +0100)]
package/odhcp6c: add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: fix typos
Bernd Kuhls [Sat, 23 Jan 2016 13:46:44 +0000 (14:46 +0100)]
package/kodi: fix typos

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.{2, 10, 14}.x and 4.{1, 3}.x series
Gustavo Zacarias [Sat, 23 Jan 2016 12:36:18 +0000 (09:36 -0300)]
linux-headers: bump 3.{2, 10, 14}.x and 4.{1, 3}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/iperf3: bump version to 3.1.1, switch upstream to github
Bernd Kuhls [Sat, 23 Jan 2016 21:52:21 +0000 (22:52 +0100)]
package/iperf3: bump version to 3.1.1, switch upstream to github

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/monkey: fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 22:56:46 +0000 (23:56 +0100)]
package/monkey: fix musl build

Fixes
http://autobuild.buildroot.net/results/f69/f690cb1efece8a47fccdf3e782bbde4d1b2cd6b3/
http://autobuild.buildroot.net/results/21b/21b6fa8b2586f318ff071085f2b204bd555b425b/
http://autobuild.buildroot.net/results/0bf/0bf7a83a4ccbbcb3ff181ac962e6fdd0099a19f1/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/odhcp6c: bump version to fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 23:21:34 +0000 (00:21 +0100)]
package/odhcp6c: bump version to fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build using
the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/setools: add homepage to Config.in
Bernd Kuhls [Sun, 24 Jan 2016 12:18:49 +0000 (13:18 +0100)]
package/setools: add homepage to Config.in

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/radvd: fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 23:46:45 +0000 (00:46 +0100)]
package/radvd: fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build using the
defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

[Thomas: replace with upstream patch directly, fetched from Github.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ptpd2: Fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 23:40:19 +0000 (00:40 +0100)]
package/ptpd2: Fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build using
the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ptpd2: bump version to 2.3.1, switch upstream to github
Bernd Kuhls [Sat, 23 Jan 2016 23:40:18 +0000 (00:40 +0100)]
package/ptpd2: bump version to 2.3.1, switch upstream to github

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/aumix: bump version to 2.9.1
Bernd Kuhls [Tue, 26 Jan 2016 21:03:18 +0000 (22:03 +0100)]
package/aumix: bump version to 2.9.1

- rebased patch 0001
- added AUMIX_GETTEXTIZE = YES to solve
  *** error: gettext infrastructure mismatch: using a Makefile.in.in
  from gettext version 0.17 but the autoconf macros are from gettext
  version 0.19

Fixes
http://autobuild.buildroot.net/results/c8c/c8c7f9a799d1af507a6edd5e02b0bbc8b7b5d068/
http://autobuild.buildroot.net/results/67e/67e6d29e6d6f8d4967a74ec70a754a5b24afc0ce/
and others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xl2tp: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 13:31:00 +0000 (14:31 +0100)]
package/xl2tp: fix musl build

Fixes
http://autobuild.buildroot.net/results/78d/78daf927aa43591401a072230b582591add1204c/
http://autobuild.buildroot.net/results/b7e/b7e42137e2a7379ea8acb76b2d4faece86ab488a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libpciaccess: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 15:21:58 +0000 (16:21 +0100)]
package/libpciaccess: fix musl build

Also added note about upstream commit to patch 0001.

Fixes
http://autobuild.buildroot.net/results/e86/e869e08779626ac578017e6b34a82adf156d12f8/
http://autobuild.buildroot.net/results/0bf/0bf803654e7298d5cd0b31fc55b1babdcd2f8765/
http://autobuild.buildroot.net/results/f5a/f5a516cf6c25af89000019b6789d5a003099cdff/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenocd: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:59 +0000 (00:07 +0100)]
openocd: remove BR2_ARCH_HAS_ATOMICS dependency

For some reason, since when openocd was introduced, it was using a
BR2_ARCH_HAS_ATOMICS dependency for all sub-options that selected
BR2_PACKAGE_LIBFTDI1, even if the libftdi1 package did not have any
atomics dependency. Maybe it was confused with the libftdi package,
which did have a BR2_ARCH_HAS_ATOMICS dependency ?

Regardless, openocd with all four sub-options that currently depend on
BR2_ARCH_HAS_ATOMICS builds perfectly fine with a toolchain that does
not implement any of the __sync atomic built-ins, so we can remove the
BR2_ARCH_HAS_ATOMICS dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@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 agozbar: add a patch to wrap logical not operations into parenthesis
Vicente Olivert Riera [Mon, 25 Jan 2016 12:17:50 +0000 (12:17 +0000)]
zbar: add a patch to wrap logical not operations into parenthesis

This fixes build failures like this one:

zbar/decoder/ean.c: In function 'ean_part_end4':
zbar/decoder/ean.c:297:13: error: logical not is only applied to the
left hand side of comparison [-Werror=logical-not-parentheses]
     if(!par == fwd) {

This patch has been sent upstream as a pull request:

  https://github.com/ZBar/ZBar/pull/9

Fixes:

  http://autobuild.buildroot.net/results/299/299dc845af082167085d366b38daf1dfd95d7047/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-kconfig: add missing -patch dependency for defconfig
Arnout Vandecappelle [Sun, 24 Jan 2016 22:58:42 +0000 (23:58 +0100)]
pkg-kconfig: add missing -patch dependency for defconfig

Since the introduction of _KCONFIG_DEFCONFIG in 8ef62b99, the package's
.config file no longer depends on anything (unless a fragment is
defined). Therefore, there is no dependency anymore between .config
and <pkg>-patch. Thus, it is possible that the .config file is
attempted to be built before the package is extracted and patched.
Usually this works out OK because <pkg>-patch will always be done
before <pkg>-configure, but it will fail when the user calls
<pkg>-menuconfig explicitly. It will also fail when we enable
top-level parallel build.

To solve this, just add an explicit order-only dependency on
<pkg>-patch. It really is only necessary when _KCONFIG_DEFCONFIG is
defined and _KCONFIG_FRAGMENT_FILES is not, but it doesn't hurt to
add it unconditionally.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reported-by: FrAnKenStEiN MC <chfakht@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoicu: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:51 +0000 (00:07 +0100)]
icu: remove BR2_ARCH_HAS_ATOMICS dependency

The BR2_ARCH_HAS_ATOMICS was added because on ARC, atomic instructions
may not be provided by the architecture and therefore the compiler
does not provide the __sync_*() built-ins.

However, since then, icu was changed and is now able to use C++11
atomics, or even no atomic operations at all. In fact, icu will:

 * If possible, it will use C++11 atomics, which internally rely on
   the __atomic built-ins. These are available since gcc 4.7, and all
   architectures provide it. On some architectures, you *must* link
   with libatomic, on some other architectures, they are available
   built-in, but in all cases, linking against libatomic does not
   harm. Thanks to this, even ARC with no atomic support (which was
   the original reason for adding the BR2_ARCH_HAS_ATOMICS) dependency
   builds fine, provided -latomic is added to LIBS.

 * If C++11 atomics are not available, then it falls back to
   __sync_*() built-ins, which allows compilers older than 4.7 to be
   supported.

 * If really no atomic mechanism is available, then it falls back to a
   basic implementation based on a mutex.

Conclusion:

 - The BR2_ARCH_HAS_ATOMICS dependency is no longer needed.

 - We need to link with -latomic when gcc >= 4.7 is used.

Note that reverse dependencies of icu are also changed accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibftdi: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:48 +0000 (00:07 +0100)]
libftdi: remove BR2_ARCH_HAS_ATOMICS dependency

In commit 669ce8c75eb4c76cef81f279fb6b4f95d1472f51 ("libftdi: add
dependency on atomic operations"), a dependency on
BR2_ARCH_HAS_ATOMICS was added to the libftdi package to fix a build
failure occuring on the ARC architecture due to the missing
__sync_fetch_and_add_4 function:

../ftdipp/.libs/libftdipp.so: undefined reference to `__sync_fetch_and_add_4'

However, today, even on the SPARC architecture that does not implement
any of the __sync built-ins, libftdi and its C++ binding libftdipp
build fine. ARC was also tested and builds fine.

Therefore, we remove the BR2_ARCH_HAS_ATOMICS dependency from libftdi,
and also from flashrom, in which it was only present due to the
selection of libftdi. Note that anyway flashrom is available only for
i386 and x86_64, both of which implement all the __sync built-ins.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibftdi: C++ bindings need boost
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:47 +0000 (00:07 +0100)]
libftdi: C++ bindings need boost

According to libftdi configure.in:

"""
dnl libftdi C++ wrapper. Needs boost.
[...]
        if test "x$HAVE_BOOST" != "xyes"; then
            AC_MSG_ERROR(Sorry, we need the boost library for the C++ wrapper)
        fi
"""

And indeed, if you enable BR2_PACKAGE_LIBTFDI_CPP but don't have Boost
enabled, the libfdipp library is not built. To fix this, this commit
changes BR2_PACKAGE_LIBTFDI_CPP to select Boost.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mjpg-streamer: Fix musl build
Bernd Kuhls [Tue, 26 Jan 2016 19:24:50 +0000 (20:24 +0100)]
package/mjpg-streamer: Fix musl build

Fixes
http://autobuild.buildroot.net/results/74c/74c6006c4d7a97fa69c6feee204631861daffea9/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mesa3d: fix musl build
Bernd Kuhls [Tue, 26 Jan 2016 19:56:46 +0000 (20:56 +0100)]
package/mesa3d: fix musl build

Compile error occured using an allyesconfig, it seems it has not been
caught by the autobuilders yet.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoltp-testsuite: disable tirpc authdes_create tests
Thomas De Schampheleire [Fri, 22 Jan 2016 10:40:31 +0000 (11:40 +0100)]
ltp-testsuite: disable tirpc authdes_create tests

Commit d1d735a1480f0f37a5996cb57c5a35ca2c3c3d90 disables the tests
    tirpc_auth_authdes_seccreate
but not those in
    tirpc_auth_authdes_create
while these also fail on targets without native RPC support.

Update the added patch to exclude those tests too.

Fixes:
http://autobuild.buildroot.net/results/3a2/3a2b141d90b28a2954fa0ad3104cba81d648d2a3/
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mjpg-streamer: bump version, add hash
Bernd Kuhls [Sun, 24 Jan 2016 14:12:58 +0000 (15:12 +0100)]
package/mjpg-streamer: bump version, add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/iptables: nfsynproxy not available on musl
Bernd Kuhls [Sun, 24 Jan 2016 14:10:05 +0000 (15:10 +0100)]
package/iptables: nfsynproxy not available on musl

utils/nfsynproxy.c needs several TCP_* constants which are not yet
provided by musl, they were added Jan 17, 2016 to musl:
http://git.musl-libc.org/cgit/musl/commit/?id=53f41fb568ae43034c9876cc9bd3961fd6d13671

Until we support a musl version containing the constants we disable
the option for building nfsynproxy on musl.

Fixes
http://autobuild.buildroot.net/results/8ee/8ee299d8697bf488ba94f60785e81f274b2128fd/
http://autobuild.buildroot.net/results/f1a/f1ab3fe59d0dd7dd7b9a7bc6bc10a0019f0fa567/
http://autobuild.buildroot.net/results/4f9/4f904a2913984201ad0bffb63664019c73e0eb77/
http://autobuild.buildroot.net/results/65c/65c7d47fdc0f55fb8deb77e34063320e2af337ee/
http://autobuild.buildroot.net/results/aaa/aaaa1fc92b6a885d223681f40c5df7a962ee1fce/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dvbsnoop: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 13:37:59 +0000 (14:37 +0100)]
package/dvbsnoop: fix musl build

Fixes
http://autobuild.buildroot.net/results/6fb/6fbe96af007803acfe9deacf26399cb19e5f2b47/
http://autobuild.buildroot.net/results/be6/be64a45ac158b9057fb3e7ef9b515250acc77187/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/w_scan: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 13:09:07 +0000 (14:09 +0100)]
package/w_scan: fix musl build

Fixes
http://autobuild.buildroot.net/results/d49/d497c0b23b7f905605f1764c136a9d7682e8137e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libsoil: fix build using old versions of patch
Ricardo Martincoski [Sun, 24 Jan 2016 13:19:52 +0000 (11:19 -0200)]
package/libsoil: fix build using old versions of patch

Well-formed patch fails to apply
- patch v2.6:
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 23.
- patch v2.6.1:
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
[snip]
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Patch failed!  Please fix 0001-fix-makefile.patch!

Old versions of the tool "patch" cannot handle spaces in filenames.
The same does not occur using "patch" v2.7 or any later.

Workaround: when a file with space in the name needs to be patched,
one or two hooks must be used.
A pre-patch or post-extract hook renames the file to replace spaces
with underscores.
The patch file must be generated using diff between two source-trees
that have the file renamed with spaces replaced by underscores.
A post-patch hook could rename the file to its original name if needed.

Fixes:
http://autobuild.buildroot.net/results/8ff/8ff91ab8e52000eb34dd8f662520cf1b31490cf5/
http://autobuild.buildroot.net/results/ea7/ea77d6b23aca0cb1cf527e6c16ddf5eba957a69c/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/transmission: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 12:50:13 +0000 (13:50 +0100)]
package/transmission: fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: enable optional support for libhdhomerun
Bernd Kuhls [Sat, 23 Jan 2016 09:44:57 +0000 (10:44 +0100)]
package/tvheadend: enable optional support for libhdhomerun

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libhdhomerun: fix header install path
Bernd Kuhls [Sat, 23 Jan 2016 09:44:56 +0000 (10:44 +0100)]
package/libhdhomerun: fix header install path

Header files are expected to be installed in usr/include/libhdhomerun/

https://packages.debian.org/sid/i386/libhdhomerun-dev/filelist
https://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h#L27

This patch will fix a build error with hdhomerun support enabled in
tvheadend.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 23 Jan 2016 09:44:55 +0000 (10:44 +0100)]
package/tvheadend: bump version

Default configure options were changed in
https://github.com/tvheadend/tvheadend/commit/ad9b54ad908fdc9a069c734234958ae8ad1eb38f
enabling the download of the source of libhdhomerun and its static
build which will lead to a link error because the host compiler is used
for that build. Therefore disable the static build of libhdhomerun by
tvheadend's build system like we do for ffmpeg.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ecryptfs-utils: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 15:58:27 +0000 (16:58 +0100)]
package/ecryptfs-utils: fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6fb/6fbe96af007803acfe9deacf26399cb19e5f2b47/defconfig

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ecryptfs-utils: bump version to 109
Bernd Kuhls [Sun, 24 Jan 2016 15:58:26 +0000 (16:58 +0100)]
package/ecryptfs-utils: bump version to 109

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gzip: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 16:32:29 +0000 (17:32 +0100)]
package/gzip: fix musl build

Inspired by http://patchwork.openembedded.org/patch/111691/
Adding "gl_cv_func_fflush_stdin=yes" was sufficient to fix the build.

Fixes
http://autobuild.buildroot.net/results/56d/56d926fcf8ca53cddb9106617e3b852d9c9a4eeb/
http://autobuild.buildroot.net/results/4b5/4b5a6196b686030cf7fa9706508fd99f81a81049/
http://autobuild.buildroot.net/results/568/568c1c05800d6bdd6457845e998a598e354afdfd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/imx-lib: fix legal-info
Yann E. MORIN [Sun, 24 Jan 2016 19:37:25 +0000 (20:37 +0100)]
package/imx-lib: fix legal-info

The new version of imx-lib no longer bears the EULA file, and has no
other license file.

So, we pick a small header as the license file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Acked-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: fix RSA redefinition build error with old compilers
Thomas Petazzoni [Thu, 21 Jan 2016 21:10:10 +0000 (22:10 +0100)]
vboot-utils: fix RSA redefinition build error with old compilers

Old gcc compilers do not support type redefinitions, which causes a
build failure of the host-vboot-utils package on certain machines. The
vboot-utils source code redefines "typedef struct rsa_st RSA" which is
already defined in the OpenSSL headers.

This commit adds a patch which works around this build issue.

Fixes:

  http://autobuild.buildroot.org/results/1a4/1a45412939a3f9d6fa59d086d834a3b4a4bffef7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: convert to Git formatted patches
Thomas Petazzoni [Thu, 21 Jan 2016 21:10:09 +0000 (22:10 +0100)]
vboot-utils: convert to Git formatted patches

Since vboot-utils is hosted in a Git repository, it makes sense to use
Git formatted patches for this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sqlite: Fix readline support
Bernd Kuhls [Sat, 23 Jan 2016 10:23:44 +0000 (11:23 +0100)]
package/sqlite: Fix readline support

Fixes https://bugs.busybox.net/show_bug.cgi?id=8621#c0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sqlite: Dynamically link libsqlite.so to bin/sqlite3
Bernd Kuhls [Sat, 23 Jan 2016 10:23:43 +0000 (11:23 +0100)]
package/sqlite: Dynamically link libsqlite.so to bin/sqlite3

Fixes https://bugs.busybox.net/show_bug.cgi?id=8621#c1
Lonnie Abelbeck wrote:
"recently sqlite changed it's default behavior wrt the sqlite CLI tool,
 previously it was dynamically linked with libsqlite3.so.0 by default,
 now it is statically linked by default.

The old behavior can be signaled with: --disable-static-shell"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sqlite: Disable autoreconf
Bernd Kuhls [Sat, 23 Jan 2016 10:23:42 +0000 (11:23 +0100)]
package/sqlite: Disable autoreconf

Currently we have no patches for this package, compilation works without
autoreconf.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lttng-tools: needs dynamic library support
Samuel Martin [Sat, 23 Jan 2016 10:52:22 +0000 (11:52 +0100)]
package/lttng-tools: needs dynamic library support

Fixes:
  http://autobuild.buildroot.net/results/b48bc7ad4bede4d16c079da0ae1121e6796a0e8d/
  http://autobuild.buildroot.net/results/25dcb19c3dd32e50990f9b45053d71ea18746a80/
  http://autobuild.buildroot.net/results/a3f93498811491d37ba13d024e33e68a8bc7ba18/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lttng-tools: reorder 'select' vs 'depends on'
Samuel Martin [Sat, 23 Jan 2016 10:52:21 +0000 (11:52 +0100)]
package/lttng-tools: reorder 'select' vs 'depends on'

Place 'depends on' statements before 'select' ones.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibnss: add build workaround for older gcc versions
Gustavo Zacarias [Wed, 6 Jan 2016 14:18:54 +0000 (11:18 -0300)]
libnss: add build workaround for older gcc versions

nss uses some #pragma directives that require newish (>= 4.6) versions
of gcc, so disable Werror when building with older versions to avoid the
build from breaking unfairly.
However make this a gcc >= 4.8 conditional since the kludge is called so
(NSS_NO_GCC48) and other bits might depend upon it.

Upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1226179

Fixes:
http://autobuild.buildroot.net/results/ebd/ebd0647eb1eef41a7fb6e5f5bab18d4d12168661/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinknx: argp-standalone also needed with musl
Thomas Petazzoni [Fri, 22 Jan 2016 09:07:26 +0000 (10:07 +0100)]
linknx: argp-standalone also needed with musl

The linknx package needs the argp functionality, which is provided
built-in by glibc, but not by uClibc and musl. In uClibc
configurations, it correctly selects the argp-standalone package to
compensate this, but forgets to do so in musl-based
configurations. This commit fixes that by selecting the
argp-standalone package.

Found by checking all packages having an argp-standalone
dependency. Note that this commit is not sufficient to make linknx
build properly with musl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiucode-tool: argp-standalone also needed with musl
Thomas Petazzoni [Fri, 22 Jan 2016 09:06:05 +0000 (10:06 +0100)]
iucode-tool: argp-standalone also needed with musl

The iucode-tool package needs the argp functionality, which is
provided built-in by glibc, but not by uClibc and musl. In uClibc
configurations, it correctly selects the argp-standalone package to
compensate this, but forgets to do so in musl-based
configurations. This commit fixes that by selecting the
argp-standalone package, and adjusting the dependency in the .mk file.

Fixes:

  http://autobuild.buildroot.net/results/7f8626db69500a84a393053a485f04180c565673/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/hplip: fixup configure.in script for proper autoreconf
Thomas Petazzoni [Thu, 21 Jan 2016 23:04:51 +0000 (00:04 +0100)]
package/hplip: fixup configure.in script for proper autoreconf

This commit adds a minor patch to hplip's configure.in script, which
avoids the need to create the AUTOHRS, ChangeLog, NEWS and README
files before autoreconfiguring, and silences a huge number of warnings
telling to enable the subdir-objects automake option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/hplip: remove includedir hack
Thomas Petazzoni [Thu, 21 Jan 2016 23:02:32 +0000 (00:02 +0100)]
package/hplip: remove includedir hack

The 0001-fix-make.patch which was added to the hplip package to remove
hardcoded paths to the libusb header introduced a solution that isn't
correct. When cross-compiling, $(includedir) is ${prefix}/include (i.e
/usr/include), so it is not the location where headers can be
found. Due to this, hplip.mk was overriding the includedir value with
--includedir which is not correct.

To replace this mechanism, this commit changes the patch to instead
use pkg-config (which is already used in other places in hplip
configure.in) to detect libusb. This way, we can get rid of the hack
and get a proper detection of libusb.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/hplip: Un-deprecate and bump version to 3.15.11
Olivier Schonken [Wed, 20 Jan 2016 22:17:44 +0000 (00:17 +0200)]
package/hplip: Un-deprecate and bump version to 3.15.11

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/cups: Un-deprecate, and update CUPS to 2.1.2
Olivier Schonken [Wed, 20 Jan 2016 22:17:43 +0000 (00:17 +0200)]
package/cups: Un-deprecate, and update CUPS to 2.1.2

 - Remove 0001-fix-static.patch - Fixed upstream
 - Remove 0002-fix-stack-protector-check.patch - Fixed upstream
 - Remove 0003-mantohtml.patch - Replaced by
   0001-Remove-man-from-BUILDDIRS-in- configure.patch
 - Add 0002-Do-not-use-genstrings.patch
 - Add CUPS_PDFTOPS option to Config.in.legacy - This support was
   moved to the cups-filters package.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas:
 - rewrap patch description in patch 0001
 - adjust patch 0002 to completely remove the call to genstrings
   instead of commenting it, and remove the potentially confusing
   'echo' above it
 - add a third patch that sanitizes the installation process to avoid
   non-working stripping, owernship changes, etc.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiputils: resolve musl compatibility
Matt Weber [Thu, 21 Jan 2016 03:31:47 +0000 (03:31 +0000)]
iputils: resolve musl compatibility

The new upstream is a fork of the original that consolidates other distro's
patches.  This fork resolves a series of musl build failures noted in the
autobuilder log.

http://autobuild.buildroot.net/results/12cb73f3def95efe706bcd957bc2c091e7931d5a/

  - Updated to github fork, selected merge from Nov 3 2015
    which provided musl fixes (last release was to old, 20150815)
  - Why the fork ? (http://www.spinics.net/lists/netdev/msg279881.html)
  - Added missing dependencies for kernel capabilies lib
  - Accounted for new consolidated ping (ipv4/6)

Tested against a buildroot arm musl/glibc toolchains, as well as
autobuilder defconfig.

Signed-off-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiproute2: add musl build fix patch
Gustavo Zacarias [Thu, 21 Jan 2016 18:31:13 +0000 (15:31 -0300)]
iproute2: add musl build fix patch

Patch status: submitted upstream
http://marc.info/?l=linux-netdev&m=145340072013792

Fixes:
http://autobuild.buildroot.net/results/d3d/d3d79b55cb19987d5d5c0da9c0f0d25697697c05/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostunnel: bump to version 5.29
Gustavo Zacarias [Thu, 21 Jan 2016 17:31:54 +0000 (14:31 -0300)]
stunnel: bump to version 5.29

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsecret: bump to version 0.18.4
Gustavo Zacarias [Thu, 21 Jan 2016 14:12:33 +0000 (11:12 -0300)]
libsecret: bump to version 0.18.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodhcpcd: bump to version 6.10.1
Gustavo Zacarias [Thu, 21 Jan 2016 11:27:44 +0000 (08:27 -0300)]
dhcpcd: bump to version 6.10.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibv4l: update upstream status of patches
Thomas Petazzoni [Thu, 21 Jan 2016 14:25:55 +0000 (15:25 +0100)]
libv4l: update upstream status of patches

After some effort to upstream the libv4l patches, 4 out of our 5
patches are now upstream. This commit updates those patches to
indicate their upstream status.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibv4l: add patch to fix libjpeg build issue
Thomas Petazzoni [Thu, 21 Jan 2016 09:52:02 +0000 (10:52 +0100)]
libv4l: add patch to fix libjpeg build issue

Since the bump of libjpeg to v9b, libv4l doesn't build anymore due to
the change of the prototype of jpeg_mem_src(), which gets
re-implemented in libv4l when the libjpeg is too old.

Fixes:

  http://autobuild.buildroot.org/results/e7a/e7a2341cbbcf514f4cd6754a5a36cebd6556a757/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xlib_libfontenc: select zlib
Romain Naour [Wed, 6 Jan 2016 21:09:58 +0000 (22:09 +0100)]
package/x11r7/xlib_libfontenc: select zlib

xlib_libfontenc depends on the zlib package but doesn't select it.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:04 +0000 (19:18 -0300)]
gst1-libav: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-ugly: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:03 +0000 (19:18 -0300)]
gst1-plugins-ugly: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-bad: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:02 +0000 (19:18 -0300)]
gst1-plugins-bad: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-good: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:01 +0000 (19:18 -0300)]
gst1-plugins-good: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-base: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:18:00 +0000 (19:18 -0300)]
gst1-plugins-base: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogstreamer1: bump to version 1.6.3
Gustavo Zacarias [Wed, 20 Jan 2016 22:17:59 +0000 (19:17 -0300)]
gstreamer1: bump to version 1.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/download: alternative access methods to CVS
Joao Mano [Fri, 15 Jan 2016 20:13:15 +0000 (18:13 -0200)]
support/download: alternative access methods to CVS

Allows user to specify other access methods than :pserver:anonymous@
on CVS repositories. This shall be defined in the <pkg>_SITE variable.

[Thomas:
 - as suggested by Yann, quote the variable expansion
 - as suggested by Yann, use a regexp match
 - tweak commit log]

Signed-off-by: Joao Mano <joao@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosqlite: bump to version 3.10.2
Gustavo Zacarias [Wed, 20 Jan 2016 21:58:15 +0000 (18:58 -0300)]
sqlite: bump to version 3.10.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: override the user's locale while setting HOSTARCH
Romain Naour [Wed, 20 Jan 2016 21:53:19 +0000 (22:53 +0100)]
core: override the user's locale while setting HOSTARCH

At least with French user's locale HOSTARCH is empty since
'Target' is not present in gcc output.

gcc -v 2>&1
Utilisation des specs internes.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/lto-wrapper
Cible : x86_64-redhat-linux

Override the user's local with LC_ALL=C.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@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 agolldpd: new package
Julien Floret [Tue, 19 Jan 2016 11:10:53 +0000 (12:10 +0100)]
lldpd: new package

lldpd is a 802.1ab implementation (LLDP) to help you locate neighbors
of all your equipments.

LLDP is an industry standard protocol designed to supplant proprietary
Link-Layer protocols such as EDP or CDP. The goal of LLDP is to
provide an inter-vendor compatible mechanism to deliver Link-Layer
notifications to adjacent network devices.

https://vincentbernat.github.io/lldpd/

[Thomas:
 - add depends on BR2_USE_MMU, since fork() is used
 - rewrap Config.in help text]

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-lib: disable libdl for static only builds
Lada Trimasova [Wed, 20 Jan 2016 15:21:18 +0000 (18:21 +0300)]
alsa-lib: disable libdl for static only builds

-ldl includes the reference to the library that has
the symbols for loading dynamic libraries.
So there is no need for this library for static only builds.
Even though alsa-lib uses dlopen, it has functions snd_dlopen
and others which can emulate dynamic linking for the static
build of the alsa-lib library and there is no need in libdl
dlopen when static build only.
This patch fixes build failures of the shairport-sync
(and probably other packages) when static libs are used.

Fixes:
http://autobuild.buildroot.net/results/85a/85a3f01bcd4eb2ce7ac480e63b4cc04bf7c8f3e5/

[Thomas: use a single ALSA_LIB_CONF_OPTS for both --enable-shared=no
and --without-libdl.]

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoskeleton: move LIB_SYMLINK definition from Makefile
Thomas De Schampheleire [Wed, 20 Jan 2016 19:11:28 +0000 (20:11 +0100)]
skeleton: move LIB_SYMLINK definition from Makefile

Commit 7a6b83a211612ff95a1f5d35b2861ad5655ac8b1 introduced the skeleton
package, which took over the lib32/lib64 -> lib symlink creation from the
main Makefile.
However, the definition of the LIB_SYMLINK variable did not move along, for
no real reason.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: immediate changes to arc-2015.12-rc1
Lada Trimasova [Wed, 20 Jan 2016 18:42:31 +0000 (21:42 +0300)]
gcc: immediate changes to arc-2015.12-rc1

These patches solve several problems that were discovered
after bumping tools to arc-2015.12-rc1.

The fixes were done in development tree arc-4.8-dev and will be
a part of the next release of ARC GNU tools.
Once that new release happens these patches must be removed.

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibungif: remove deprecated
Gustavo Zacarias [Wed, 20 Jan 2016 16:53:40 +0000 (13:53 -0300)]
libungif: remove deprecated

It's been deprecated for a year now, so remove it.
While at it also remove the BR2_DEPRECATED_SINCE_2015_02 since it's now
unused.
And change the efl gif text to refer to giflib rather than libungif
which is what's used since it was deprecated.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: remove deprecated version 3.16.x
Gustavo Zacarias [Wed, 20 Jan 2016 16:53:39 +0000 (13:53 -0300)]
linux-headers: remove deprecated version 3.16.x

Remove for the upcoming 2016.02 release, it's been deprecated for a year
now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcroco: fix typo in license file
Gustavo Zacarias [Wed, 20 Jan 2016 15:28:09 +0000 (12:28 -0300)]
libcroco: fix typo in license file

Otherwise it won't be saved.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibjpeg: bump to version 9b
Gustavo Zacarias [Wed, 20 Jan 2016 15:23:09 +0000 (12:23 -0300)]
libjpeg: bump to version 9b

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibpng: bump to version 1.6.21
Gustavo Zacarias [Wed, 20 Jan 2016 15:22:59 +0000 (12:22 -0300)]
libpng: bump to version 1.6.21

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agompd: add option to enable/disable httpd output
Waldemar Brodkorb [Tue, 19 Jan 2016 22:45:51 +0000 (23:45 +0100)]
mpd: add option to enable/disable httpd output

It might be useful to disable this plugin.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocmake: bump to version 3.4.2
Gustavo Zacarias [Wed, 20 Jan 2016 14:20:33 +0000 (11:20 -0300)]
cmake: bump to version 3.4.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfuse: bump to version 2.9.5
Gustavo Zacarias [Wed, 20 Jan 2016 13:27:51 +0000 (10:27 -0300)]
libfuse: bump to version 2.9.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocoreutils: bump to version 8.25
Gustavo Zacarias [Wed, 20 Jan 2016 13:19:26 +0000 (10:19 -0300)]
coreutils: bump to version 8.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agontp: security bump to version 4.2.8p6
Gustavo Zacarias [Wed, 20 Jan 2016 13:18:48 +0000 (10:18 -0300)]
ntp: security bump to version 4.2.8p6

CVE-2015-7973 - Deja Vu: Replay attack on authenticated broadcast mode
CVE-2015-7974 - Skeleton Key: Missing key check allows impersonation
between authenticated peers
CVE-2015-7975 - nextvar() missing length check
CVE-2015-7976 - ntpq saveconfig command allows dangerous characters in
filenames
CVE-2015-7977 - reslist NULL pointer dereference
CVE-2015-7978 - Stack exhaustion in recursive traversal of restriction
list
CVE-2015-7979 - Off-path Denial of Service (DoS) attack on authenticated
broadcast mode
CVE-2015-8137 - origin: Zero Origin Timestamp Bypass
CVE-2015-8158 - Potential Infinite Loop in ntpq

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain/external: add MIPS Codescape IMG GNU Linux toolchain
Vicente Olivert Riera [Tue, 15 Dec 2015 16:21:25 +0000 (16:21 +0000)]
toolchain/external: add MIPS Codescape IMG GNU Linux toolchain

[Thomas:
  - rebase on top of master
  - remove version number of the Config.in option name.]

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: add MIPS Codescape MTI GNU Linux toolchain
Vicente Olivert Riera [Tue, 15 Dec 2015 16:21:24 +0000 (16:21 +0000)]
toolchain/external: add MIPS Codescape MTI GNU Linux toolchain

[Thomas:
 - rebase on top of master
 - remove version number of the Config.in option name.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibnspr: remove thumb2 handling
Arnout Vandecappelle [Tue, 19 Jan 2016 22:51:11 +0000 (23:51 +0100)]
libnspr: remove thumb2 handling

libnspr currently passes --enable-thumb2 if the CPU has thumb
instructions. This option will pass -mthumb to the compiler. However,
if an external multilib toolchain is used that has a thumb-specific
variant (e.g. Sourcery), it will try to use that one. But we only copy
a single variant to the sysroot, so the build will fail with:

.../arm-none-linux-gnueabi/bin/ld: cannot find crti.o: No such file or directory
...
collect2: error: ld returned 1 exit status
../../config/rules.mk:303: recipe for target 'libnspr4.so' failed

We can in fact just remove the thumb2 handling. With current libnspr,
the thumb and thumb2 options just add -marm and -mthumb. But we already
pass that in our toolchain wrapper so it's completely redundant.

Note that when nothing is passed, the configure script still tries to
autodetect whether thumb2 is available (but doesn't do it correctly,
see the error above), but in the end it doesn't use the result for
anything. In other words, even if it detects that thumb2 is available,
it will _not_ pass -mthumb to the compiler.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: fix setting of HOSTARCH
Yann E. MORIN [Mon, 9 Nov 2015 19:00:21 +0000 (20:00 +0100)]
core: fix setting of HOSTARCH

Currently, we set HOSTARCH to the output of `uname -m`. This gives us
the architecture as seen by the running kernel. For example, we would
end up with 'x86_64' for a 64-bit kernel running on an x86_64 processor.

We use that value to determine whether we can run some binary tools,
like our pre-configured external toolchains.

However, one may be running a userland in a different bitness than that
of the running kernel. For example, one may run in a 32-bit chroot, even
though the kernel is running in 64-bit.

Up until recently, this was not an issue because the pre-configured
external toolchains were all requiring an i386 (x86 in Buildroot
parlance).

But since we introduced the latest Linaro toolchains, we now have
toolchains that require a 64-bit userland.

So, when running on a 64-bit kernel, we believe those toolchains are
available, even when the user is running a 32-bit userland. This causes
build failures for our autobuilders, like so:

    http://autobuild.buildroot.org/results/9cd/9cdf10ec5b31144b2e03ea09cf128702339895b3/

with the following symptoms:

    >>> toolchain-external undefined Configuring
    Cannot execute cross-compiler '/home/test/autobuild/instance-3/output/host/opt/ext-toolchain/bin/aarch64-linux-gnu-gcc'

So, instead of relying on the output of `uname -r`, look for the host
gcc and extract the target it was configured to generate code for.

Fixes:
    http://autobuild.buildroot.org/results/9cd/9cdf10ec5b31144b2e03ea09cf128702339895b3/  (aarch64)
    http://autobuild.buildroot.org/results/888/8889aa7d9fb48370e4760a6edbc6d3ae945f02f2/  (arm)
    and many more...

Besides fixing those issues, it will also allow us to add the 64-bit
variants of toolchains when they exist, like the upcoming Codescape
MTI and IMG toolchains for MIPS from Imagination Technologies.

[Peter: use HOSTCC_NOCCACHE]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain: allow side by side sysroot directories
Vicente Olivert Riera [Tue, 12 Jan 2016 17:49:38 +0000 (17:49 +0000)]
toolchain: allow side by side sysroot directories

Currently our toolchain infrastructure assumes that every toolchain has
nested sysroot directories. However that's not true for all of them. The
Codescape toolchains from Imagination Technologies use a side by side
sysroot structure, for instance.

This patch allows our toolchain infrastructure to detect what kind of
sysroot structure we have (nested or side by side) and performs the
appropriate actions.

[Thomas: update the comment above the function, to explain what's
going on with nested sysroots and side-by-side sysroots.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/triggerhappy: bump to latest commit to fix runtime issue
Jörg Krause [Tue, 19 Jan 2016 09:51:53 +0000 (10:51 +0100)]
package/triggerhappy: bump to latest commit to fix runtime issue

Bump to latest commit to fix runtime issue with the Linux Kernel headers 4.4:
  Starting thd: Unable to parse trigger line: [..]

With version 4.4 of the Linux Kernel the input event codes are not defined in
'linux/input.h' anymore, but in a seperate header file
'linux/input-event-codes.h' leaving triggerhappys evtable_*.h header files
empty with no event codes defined.

This issue is fixed upstream by commit 7e5abc69f215678e93a6b999524981c8b40bdcd9
which also makes overwriting of the 'LINUX_INPUT_H' definition obsolet.

Tested with an internal Buildroot toolchain with Linux Kernel headers 4.4 and
an external Linaro ARM 2015.08 toolchain with Linux Kernel headers 4.0.

[Peter: add hash file]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-cssselect: new package
Yegor Yefremov [Thu, 14 Jan 2016 08:25:17 +0000 (09:25 +0100)]
python-cssselect: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/{mesa3d, mesa3d-headers}: bump version to 11.1.1
Bernd Kuhls [Sat, 16 Jan 2016 15:21:19 +0000 (16:21 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 11.1.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: add ordering of kconfig options' attributes
Yann E. MORIN [Sat, 16 Jan 2016 22:37:21 +0000 (23:37 +0100)]
docs/manual: add ordering of kconfig options' attributes

We want to ensure all packages follow the same coding style, so we add a
blurb about the order of kconfig options' attributes:

  - first, the type and the prompt
  - the default value if needed
  - then dependencies of the 'depends on' category
  - followed by dependencies of the 'select' form
  - with eventually the help text

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: slightly compactify a paragraph
Yann E. MORIN [Sat, 16 Jan 2016 22:37:20 +0000 (23:37 +0100)]
docs/manual: slightly compactify a paragraph

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>