buildroot.git
8 years agozsh: use the correct target pcre-config
Baruch Siach [Tue, 1 Mar 2016 11:34:55 +0000 (13:34 +0200)]
zsh: use the correct target pcre-config

zsh configure script mis-detects the location of pcre-config, and may use that
of host-pcre or that of the host instead of the target. Make configure use the
correct pcre-config.

Thanks to Thomas Petazzoni for pointing me at the right direction.

Fixes:
http://autobuild.buildroot.net/results/b12/b12aadf3016dab0941cae780fa9ee7bf9be8fcda/
http://autobuild.buildroot.net/results/8e8/8e8b12dbca4ef8cac2e5f33cd3cdcddd8e849840/
http://autobuild.buildroot.net/results/473/473197ec8e323ea7ae0e29e6363525dc42f9da2c/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/manual: add section about patch licensing
Luca Ceresoli [Tue, 1 Mar 2016 11:01:04 +0000 (12:01 +0100)]
docs/manual: add section about patch licensing

Use the same text that is used in COPYING.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Steve Calfee <stevecalfee@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosox: disable SSP when using MIPS Codescape toolchains
Vicente Olivert Riera [Mon, 29 Feb 2016 16:39:42 +0000 (16:39 +0000)]
sox: disable SSP when using MIPS Codescape toolchains

MIPS Codescape toolchains don't support stack-smashing protection
despite of using glibc, therefore we see failures like this one:

mips-img-linux-gnu/bin/ld: cannot find -lssp

Fixes:
  http://autobuild.buildroot.net/results/957/95721f7b88c46a20202fb02e408817097df965c3/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoCHANGES: fix typo
Luca Ceresoli [Tue, 1 Mar 2016 10:08:07 +0000 (11:08 +0100)]
CHANGES: fix typo

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfcgi:add security patch for CVE-2012-6687
niranjan.reddy [Tue, 1 Mar 2016 06:21:56 +0000 (11:51 +0530)]
libfcgi:add security patch for CVE-2012-6687

Fix-CVE-2012-6687 - remote attackers cause a denial of service (crash)
via a large number of connections (http://www.cvedetails.com/cve/CVE-2012-6687/).
use poll in os_unix.c instead of select to avoid problem with > 1024 connections.
The patch libfcgi_2.4.0-8.3.debian.tar.xz is taken from the below link:
(https://launchpad.net/ubuntu/+source/libfcgi/2.4.0-8.3)
The next release of libfcgi is 2.4.1 which may have this fix is yet to be released
officially.

Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: fix circular dependency when HEADERS_AS_KERNEL is used
Thomas Petazzoni [Wed, 24 Feb 2016 14:04:09 +0000 (15:04 +0100)]
linux-headers: fix circular dependency when HEADERS_AS_KERNEL is used

The linux-headers -> linux dependency causes a circular dependency, breaking
the source/legal-info/graph-depends/..  targets:

make graph-depends
Getting targets
Getting dependencies for ['toolchain-buildroot', 'toolchain', 'busybox',
'glibc', 'initscripts', 'linux-headers', 'skeleton', 'linux',
'host-fakeroot', 'host-makedevs', 'rootfs-cpio', 'rootfs-initramfs']
Getting dependencies for ['host-kmod', 'host-gcc-final',
'host-gcc-initial', 'host-gawk']
Getting dependencies for ['host-gmp', 'host-binutils', 'host-pkgconf',
'host-mpfr', 'host-mpc']
Getting dependencies for ['host-m4']

Recursion detected for  : toolchain
which is a dependency of: linux
which is a dependency of: linux-headers
which is a dependency of: glibc
which is a dependency of: host-gcc-final
which is a dependency of: toolchain-buildroot
which is a dependency of: toolchain
Makefile:721: recipe for target 'graph-depends' failed
make: *** [graph-depends] Error 1

Fix it by instead duplicating in linux-headers the 10-20 lines of linux.mk
logic that infer the _SOURCE/_SITE/_VERSION from the BR2_LINUX_KERNEL_*
variables.

This does mean that we extract the kernel sources twice though.

[Peter: use same git/hg tarball as linux kernel to not clone twice, minor fixes]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosquid: security bump to version 3.5.15
Gustavo Zacarias [Wed, 24 Feb 2016 12:43:23 +0000 (09:43 -0300)]
squid: security bump to version 3.5.15

Fixes:
SQUID-2016:2 - Multiple Denial of Service issues in HTTP Response
processing.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoCHANGES: Add note about the recent linux timeconst.pl patch feature
Peter Korsgaard [Mon, 29 Feb 2016 21:00:43 +0000 (22:00 +0100)]
CHANGES: Add note about the recent linux timeconst.pl patch feature

This was added just before -rc1, but was forgotten in CHANGES.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopowerpc-utils: needs dynamic toolchain
Gustavo Zacarias [Mon, 29 Feb 2016 12:57:06 +0000 (09:57 -0300)]
powerpc-utils: needs dynamic toolchain

Fixes:
http://autobuild.buildroot.net/results/a12/a1240ed6facb99518d71153c099dbd7d3d847af6/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxerces: security bump to version 3.1.3
Gustavo Zacarias [Mon, 29 Feb 2016 15:27:10 +0000 (12:27 -0300)]
xerces: security bump to version 3.1.3

Fixes:
CVE-2016-0729 - Apache Xerces-C XML Parser Crashes on Malformed Input

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobluez5_utils: fix big endian build
John Keeping [Fri, 26 Feb 2016 12:17:34 +0000 (12:17 +0000)]
bluez5_utils: fix big endian build

This patch has been accepted upstream and requires no changes to apply
to 5.37.

Fixes:

  http://autobuild.buildroot.org/results/2bf4e5ea9b67b80ba38bfeaf71b747a92be09011/

Signed-off-by: John Keeping <john@metanate.com>
[Thomas:
 - add reference to upstream commit
 - add John's SoB to the patch itself
 - add reference to autobuilder failure.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopifmrds: add patch to correct linking in static build
Eric Limpens [Fri, 26 Feb 2016 21:55:57 +0000 (22:55 +0100)]
pifmrds: add patch to correct linking in static build

This patch fixes an autobuild error during a static build:
http://autobuild.buildroot.net/results/f61ae46ba4d4fc3af3784d1f612a8c1cc7de3314/

Signed-off-by: Eric Limpens <limpens@gmail.com>
[Arnout: clean up commit message and patch log]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-pvr-nextpvr: Fix compile error with gcc5
Bernd Kuhls [Sun, 28 Feb 2016 00:15:25 +0000 (01:15 +0100)]
package/kodi-pvr-nextpvr: Fix compile error with gcc5

Fixes
http://autobuild.buildroot.net/results/eea/eea7be8691bad11546fbc9b8d3f1c0528ffd2619/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-pvr-mediaportal-tvserver: Fix compile error with gcc5
Bernd Kuhls [Sun, 28 Feb 2016 00:06:01 +0000 (01:06 +0100)]
package/kodi-pvr-mediaportal-tvserver: Fix compile error with gcc5

Fixes
http://autobuild.buildroot.net/results/651/651c47c611f0eaa317acb338d609d8851ea7b463/
http://autobuild.buildroot.net/results/63e/63edc869b780e387a8e94334bbe52ffa1c2a5f85/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-pvr-argustv: Fix compile error with gcc5
Bernd Kuhls [Sun, 28 Feb 2016 00:06:00 +0000 (01:06 +0100)]
package/kodi-pvr-argustv: Fix compile error with gcc5

Fixes
http://autobuild.buildroot.net/results/dac/dacc3bd00ab2346d7655c0a1fb99f6c50b9da08b/
http://autobuild.buildroot.net/results/a6d/a6d3b510681f54f5625908930b4da73bf9edccf7/

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, 12}.x series
Gustavo Zacarias [Sun, 28 Feb 2016 14:03:53 +0000 (11:03 -0300)]
linux-headers: bump 3.{2, 12}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoUpdate for 2016.02-rc3
Peter Korsgaard [Sat, 27 Feb 2016 22:50:51 +0000 (23:50 +0100)]
Update for 2016.02-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/mraa: disable tests build
Romain Naour [Sat, 27 Feb 2016 19:04:16 +0000 (20:04 +0100)]
package/mraa: disable tests build

mraa build system is looking for a python interpreter >= 2.7 on the host due to
a typo in MRAA_CONF_OPTS. We must use -DBUILDTESTS=OFF instead of -DTESTS=OFF.

Fixes:
http://autobuild.buildroot.net/results/5f0/5f047c4c28b34f6b1bf2306a2b00bcc6a7481c01

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocan-festival: disable on musl
Arnout Vandecappelle [Sat, 27 Feb 2016 21:32:32 +0000 (22:32 +0100)]
can-festival: disable on musl

Previous attempts to fix it failed [1], so disable it instead.

[1] http://patchwork.ozlabs.org/patch/509731/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/pax-utils: needs kernel headers >= 3.5
Romain Naour [Sat, 27 Feb 2016 19:56:35 +0000 (20:56 +0100)]
package/pax-utils: needs kernel headers >= 3.5

pax-utils require a toolchain with kernel headers >= 3.5 to provide
PR_SET_NO_NEW_PRIVS.

Fixes:
http://autobuild.buildroot.net/results/a9e/a9e0287e67c03e5e385bf54578aa6c5c85206ec2

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download: really, really make git archives reproducible
Yann E. MORIN [Sat, 27 Feb 2016 22:03:15 +0000 (23:03 +0100)]
support/download: really, really make git archives reproducible

The way we use it, gzip will store the current time in the header, which
leads to unreproducible archives.

Fix that by telling gzip to not store the name and date of the file it
compresses, with the -n option. Since it compresses its stdin, there was
already no filename stored; now there's even no date stored.

Note: gzip has had -n since at least 1.2.4, released in 1993, so
virtually every gzip out there nowadays has it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoperf: append endianness argument to ld when building for MIPS
Vicente Olivert Riera [Mon, 22 Feb 2016 10:22:45 +0000 (10:22 +0000)]
perf: append endianness argument to ld when building for MIPS

We need to pass an argument to ld for setting the endianness when
building it for MIPS architecture, otherwise the default one will always
be used (which is big endian) and the compilation for little endian will
always fail showing an error like this one:

LD    foo.o
mips-linux-gnu-ld: foo.o: compiled for a little endian system and target
is big endian

Signed-off-by: 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 agowireshark: security bump to version 2.0.2
Gustavo Zacarias [Sat, 27 Feb 2016 13:05:13 +0000 (10:05 -0300)]
wireshark: security bump to version 2.0.2

Fixes:
CVE-2016-2521 - DLL hijacking vulnerability.
CVE-2016-2522 - ASN.1 BER dissector crash.
CVE-2016-2523 - DNP dissector infinite loop.
CVE-2016-2524 - X.509AF dissector crash.
CVE-2016-2525 - HTTP/2 dissector crash.
CVE-2016-2526 - HiQnet dissector crash.
CVE-2016-2527 - 3GPP TS 32.423 Trace file parser crash.
CVE-2016-2528 - LBMC dissector crash.
CVE-2016-2529 - iSeries file parser crash.
CVE-2016-2530 - RSL dissector crash.
CVE-2016-2531 - RSL dissector crash.
CVE-2016-2532 - LLRP dissector crash.
wnpa-sec-2016-12 - Ixia IxVeriWave file parser crash.
wnpa-sec-2016-13 - IEEE 802.11 dissector crash.
wnpa-sec-2016-14 - GSM A-bis OML dissector crash.
wnpa-sec-2016-15 - ASN.1 BER dissector crash.
wnpa-sec-2016-16 - SPICE dissector large loop.
wnpa-sec-2016-17 - NFS dissector crash.
wnpa-sec-2016-18 - ASN.1 BER dissector crash.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMakefile: Add help to nobuild_targets
Ignacy Gawędzki [Fri, 26 Feb 2016 16:48:05 +0000 (17:48 +0100)]
Makefile: Add help to nobuild_targets

Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qhull: add dependency on gcc >= 4.4
Romain Naour [Sat, 27 Feb 2016 13:13:38 +0000 (14:13 +0100)]
package/qhull: add dependency on gcc >= 4.4

A variadic template template parameters [1] is used in QhullSet.h, this require
a toolchain with (at least) gcc 4.4 [2][3].

Fixes (bfin toolchain with gcc 4.3):
http://autobuild.buildroot.net/results/32f/32f324c7920ac46d393954de13b8a98a77a0c392

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf
[2] https://gcc.gnu.org/gcc-4.3/cxx0x_status.html
[3] https://gcc.gnu.org/gcc-4.4/cxx0x_status.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qhull: fix comment dependency
Romain Naour [Sat, 27 Feb 2016 13:13:37 +0000 (14:13 +0100)]
package/qhull: fix comment dependency

The comment must be displayed with toolchain without C++ compiler support when
BR2_STATIC_LIBS is not set.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mono: fixing monodoc leaking path
Angelo Compagnucci [Thu, 25 Feb 2016 22:08:47 +0000 (23:08 +0100)]
package/mono: fixing monodoc leaking path

This patch fixes a leak in host compiler path for monodoc.
This bug is solved upstream but the fix is not included
in the latest stable release.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt: add font license information
Peter Seiderer [Thu, 25 Feb 2016 22:34:49 +0000 (23:34 +0100)]
qt: add font license information

With this implementation, the different licenses will be separated with
<space><comma>. This is not nice, but to avoid it a pretty ugly construct
is needed:

QT_LICENSE = $(shell echo $(QT_LICENSE_BITS) | sed 's% , %, %g')

Since the <space><comma> is just a minor nuisance, we're not going to that kind
of complexity.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoCOPYING: add exception about patch licensing
Luca Ceresoli [Thu, 25 Feb 2016 11:51:14 +0000 (12:51 +0100)]
COPYING: add exception about patch licensing

Several people have been asking what is the license of the patches
provided by Buildroot. COPYING is the authoritative place to state it.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Steve Calfee <stevecalfee@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.4.3
Gustavo Zacarias [Fri, 26 Feb 2016 16:56:54 +0000 (13:56 -0300)]
linux: bump default to version 4.4.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{10, 14}.x and 4.4.x series
Gustavo Zacarias [Fri, 26 Feb 2016 16:56:53 +0000 (13:56 -0300)]
linux-headers: bump 3.{10, 14}.x and 4.4.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/util-linux: disable libsmartcols in no-MMU platforms
Romain Naour [Sun, 21 Feb 2016 18:14:11 +0000 (19:14 +0100)]
package/util-linux: disable libsmartcols in no-MMU platforms

As reported by Thomas Petazzoni [1], the libsmartcols library can't
be used on no-MMU platform since fork() is used.

[1] http://lists.busybox.net/pipermail/buildroot/2016-February/153414.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/avahi: add optional support for libcap
Bernd Kuhls [Sun, 21 Feb 2016 17:57:19 +0000 (18:57 +0100)]
package/avahi: add optional support for libcap

When libcap was compiled before, avahi daemon will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/sbin/avahi-daemon | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libavahi-common.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libavahi-core.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
[...]

The build system offers no option to en-/disable libcap support:
http://git.0pointer.net/avahi.git/tree/configure.ac#n382

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: make the test unconditionally, even if libcap is only used by
avahi-daemon for the moment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonfs-utils: fix struct file_handle related build failures
Maxime Hadjinlian [Tue, 2 Feb 2016 13:34:19 +0000 (14:34 +0100)]
nfs-utils: fix struct file_handle related build failures

This patch fixes
http://autobuild.buildroot.net/results/948/948f81d7ed2c080a675ee9fec754f6fda1fd905f/

The patches has been sent upstream:
http://article.gmane.org/gmane.linux.nfs/76139

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: slightly tweak commit title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkitgtk24: fix building with rpi egl/gles
Gustavo Zacarias [Tue, 9 Feb 2016 13:17:57 +0000 (10:17 -0300)]
webkitgtk24: fix building with rpi egl/gles

Some egl/gles binary-only implementations need some extra help in the
form of additional include directories, like rpi-userland. Fixes:

http://autobuild.buildroot.net/results/083/083ce94b1ac61a60aa16906336612af59e32b18b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowpa_supplicant: correct legal info
Rahul Bedarkar [Thu, 25 Feb 2016 05:48:44 +0000 (11:18 +0530)]
wpa_supplicant: correct legal info

wpa_supplicant is licensed under BSD-3c only and not dual licensed.

Quoting from COPYING file
 This software was previously distributed under BSD/GPL v2 dual license
 terms that allowed either of those license alternatives to be
 selected. As of February 11, 2012, the project has chosen to use only
 the BSD license option for future distribution. As such, the GPL v2
 license option is no longer used.

Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agohostapd: correct legal info
Rahul Bedarkar [Thu, 25 Feb 2016 05:48:43 +0000 (11:18 +0530)]
hostapd: correct legal info

hostapd is licensed under BSD-3c only and not dual licensed.

Quoting from COPYING file
 This software was previously distributed under BSD/GPL v2 dual license
 terms that allowed either of those license alternatives to be
 selected. As of February 11, 2012, the project has chosen to use only
 the BSD license option for future distribution. As such, the GPL v2
 license option is no longer used.

Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodnsmasq: separate licenses with 'or' keyword
Rahul Bedarkar [Thu, 25 Feb 2016 05:48:42 +0000 (11:18 +0530)]
dnsmasq: separate licenses with 'or' keyword

dnsmasq is dual licensed so separate licenses with 'or' keyword.

Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mono: Fixing wrong MonoPosixHelper location
Angelo Compagnucci [Thu, 25 Feb 2016 21:03:25 +0000 (22:03 +0100)]
package/mono: Fixing wrong MonoPosixHelper location

This patch solves an host path leaking in /etc/mono/config
that leads to searching libmonoposixhelper into the wrong path.
This bug is fixed upstream, but not included in the current stable
release.

Fixes bug #8651.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoofono: depends on BR2_TOOLCHAIN_HAS_SYNC_4
Gustavo Zacarias [Mon, 22 Feb 2016 12:25:38 +0000 (09:25 -0300)]
ofono: depends on BR2_TOOLCHAIN_HAS_SYNC_4

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/7ec/7ec4142d0f41234309a226a21a7da7acbece90e9/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotvheadend: depends on BR2_TOOLCHAIN_HAS_SYNC_4
Gustavo Zacarias [Mon, 22 Feb 2016 12:25:29 +0000 (09:25 -0300)]
tvheadend: depends on BR2_TOOLCHAIN_HAS_SYNC_4

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/610/610ef13ee1d62597f51b061cd1216e7a4e96abff/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: slightly clarify patch licensing
Luca Ceresoli [Mon, 1 Feb 2016 22:19:53 +0000 (23:19 +0100)]
docs/manual: slightly clarify patch licensing

Adding a patch is a modification to Buildroot. Thus this sentence might be
interpreted as "Patches are released under the Buildroot license".

Being a legal matter, the last thing we want is to be
ambiguous. Reword the sentence to avoid any misunderstandings.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt: properly enable script aarch64 support
Gustavo Zacarias [Wed, 24 Feb 2016 12:20:43 +0000 (09:20 -0300)]
qt: properly enable script aarch64 support

It's BR2_aarch64, not aarch64 alone.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt: script & webkit depend on BR2_TOOLCHAIN_HAS_SYNC_4
Gustavo Zacarias [Wed, 24 Feb 2016 12:20:42 +0000 (09:20 -0300)]
qt: script & webkit depend on BR2_TOOLCHAIN_HAS_SYNC_4

They use __sync_add_and_fetch_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/7ac/7acdbc54e26ad2ba4756512614192be0a086f563/

Also remove sparc from supported architectures since it won't grow
atomics support magically.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoeudev: Fix configure options for BR2_PACKAGE_EUDEV_RULES_DEV.
Ignacy Gawędzki [Wed, 24 Feb 2016 17:04:04 +0000 (18:04 +0100)]
eudev: Fix configure options for BR2_PACKAGE_EUDEV_RULES_DEV.

Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibssh2: security bump to version 1.7.0
Gustavo Zacarias [Wed, 24 Feb 2016 12:01:44 +0000 (09:01 -0300)]
libssh2: security bump to version 1.7.0

Fixes:
CVE-2016-0787 - diffie_hellman_sha256: convert bytes to bits.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibssh: security bump to version 0.7.3
Gustavo Zacarias [Wed, 24 Feb 2016 12:01:43 +0000 (09:01 -0300)]
libssh: security bump to version 0.7.3

Fixes:
CVE-2016-0739 - Bits/bytes confusion resulting in truncated
Difffie-Hellman secret length.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonumactl: fix uclibc build issue
Thomas Petazzoni [Wed, 24 Feb 2016 10:54:38 +0000 (11:54 +0100)]
numactl: fix uclibc build issue

The patch added in commit 21ed7a92fe5a771911ef06f97522e504d0eebbc2 to
fix the musl build had the unfortunate consequence to break the build
on uClibc. Thanks to Bernd's work with upstream, both the musl and
uclibc issues have been fixed upstream, so this patch updates our
numactl package to use the two upstream commits instead of our own
private patch.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrousers: disable pie option on ARC
Lada Trimasova [Mon, 18 Jan 2016 14:44:13 +0000 (17:44 +0300)]
trousers: disable pie option on ARC

ARC gcc understands "-pie" option and attempts to generate PIE
binaries as of today PIE is not really supported for user-space
applications.
So we provide option which checks if compiler understands relro
and pie options and disable PIE detection if building for ARC.
Also AUTORECONF option should be added because of modified
configure.in and Makefile.am files.

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: Lada Trimasova <ltrimas@synopsys.com<mailto:ltrimas@synopsys.com>>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual/contribute.txt: add formatting patches section
Arnout Vandecappelle [Mon, 1 Feb 2016 17:45:17 +0000 (18:45 +0100)]
docs/manual/contribute.txt: add formatting patches section

Thomas P. has sent a few big feedback mails recently that explain how a
patch should be formatted. Indeed, this was not explained much in the
manual, so add a section that explains how patches should be formatted.
This is based heavily on the feedback that Thomas P. gave. Also,
specific examples for new packages and version bumps are added.

This will allow us to refer to
https://buildroot.org/manual.html#submitting-patches
in the future instead of composing long mails.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: rewrap to our normal formatting practice.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual/contribute.txt: add section for preparing patch series
Arnout Vandecappelle [Mon, 1 Feb 2016 17:45:16 +0000 (18:45 +0100)]
docs/manual/contribute.txt: add section for preparing patch series

In subsequent patches, we will add more explanation about how to
prepare patches, so it will be worthwhile to have a separate section
for the series preparation.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: rewrap to our normal formatting practice.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibuci: correct lua path
Neha Bairathi [Tue, 9 Feb 2016 13:17:37 +0000 (18:47 +0530)]
libuci: correct lua path

LUAPATH is used as the path for installing lua binding.
As buildroot specifies the install prefix, STAGING_DIR gets
appended to TARGET_DIR which is incorrect path for installation,
so use relative path.

Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Neha Bairathi <Neha.Bairathi@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gnuradio: add optional support for orc
Bernd Kuhls [Sun, 21 Feb 2016 17:34:50 +0000 (18:34 +0100)]
package/gnuradio: add optional support for orc

When orc was compiled before, gnuradio will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/gnuradio-config-info | grep NEEDED
[...]
 0x0000000000000001 (NEEDED)             Shared library: [liborc-0.4.so.0]
[...]

Apparently there is no option provided by the build system to
en-/disable support for orc:
https://github.com/gnuradio/volk/blob/41b4df055b2c8d4f2c23ad2bdc60c0b47b4f0dd8/lib/CMakeLists.txt#L449

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Gwenhael Goavec-Merou" <gwenhael.goavec-merou@trabucayre.com>
Tested-by: "Gwenhael Goavec-Merou" <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: freescale_imx31_3stack: fix ARM variant selection
Peter Korsgaard [Tue, 23 Feb 2016 21:03:11 +0000 (22:03 +0100)]
configs: freescale_imx31_3stack: fix ARM variant selection

Commit 24dfbe71e (arch/arm: do not distinguish revisions of ARM1136JF-S)
removed the r0 variant of the arm1136jf-s, but didn't update the defconfig -
So it ends up using arm926 instead.

Fix it by selecting the correct symbol instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: ensure ARM EABIhf is enabled for configurations using cortex A9
Peter Korsgaard [Tue, 23 Feb 2016 20:59:56 +0000 (21:59 +0100)]
configs: ensure ARM EABIhf is enabled for configurations using cortex A9

Similar to the issue with the Atmel A5 based boards, the VFP is optional on
A9 - So we need to enable it to be able to use EABIhf.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: atmel: ensure EABIhf is selected for sama5d*
Alexandre Belloni [Tue, 23 Feb 2016 16:19:04 +0000 (17:19 +0100)]
configs: atmel: ensure EABIhf is selected for sama5d*

The recent changes in Config.in.arm regarding the VFP selection broke the
atmel_sama5d* defconfigs. Ensure EABIhf is selected as all the sama5 have a
vfp.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboard/calao: drop remaining snowball files
Peter Korsgaard [Mon, 22 Feb 2016 11:12:11 +0000 (12:12 +0100)]
board/calao: drop remaining snowball files

Commit b3fa8e24 (configs: remove calao_snowball_defconfig) dropped the
outdated snowball defconfig, but forgot to remove the board files.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/spice: depend on libglib2
Bernd Kuhls [Sun, 21 Feb 2016 17:40:07 +0000 (18:40 +0100)]
package/spice: depend on libglib2

The package selects BR2_PACKAGE_LIBGLIB2 but did not depend on it.

The buildsystem treats libglib2 as a hard-dependency:
https://cgit.freedesktop.org/spice/spice/tree/configure.ac?h=0.12#n117

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external/Config.in: Fix Linaro typo
Peter Korsgaard [Sun, 21 Feb 2016 21:19:54 +0000 (22:19 +0100)]
toolchain-external/Config.in: Fix Linaro typo

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/imagemagick: add optional support for webp
Bernd Kuhls [Sun, 21 Feb 2016 17:57:30 +0000 (18:57 +0100)]
package/imagemagick: add optional support for webp

When webp was compiled before, imagemagick will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/stream | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libMagickCore-6.Q16.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libMagickWand-6.Q16.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libjpeg.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libwebp.so.5]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/quagga: add optional support for libcap
Bernd Kuhls [Sun, 21 Feb 2016 18:00:45 +0000 (19:00 +0100)]
package/quagga: add optional support for libcap

When libcap was compiled before, quagga will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/vtysh | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/binutils: add optional support for zlib
Bernd Kuhls [Sun, 21 Feb 2016 18:09:12 +0000 (19:09 +0100)]
package/binutils: add optional support for zlib

When zlib was compiled before, binutils will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libbfd-2.24.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

Apparantly the build system offers no support to control the
dependency, --without-system-zlib with zlib installed still provides
libbfd-2.24.so linked to libz.so.1.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mutt: add optional support for libidn
Bernd Kuhls [Sun, 21 Feb 2016 17:34:59 +0000 (18:34 +0100)]
package/mutt: add optional support for libidn

When libidn was compiled before, mutt will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/mutt | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libncurses.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libidn.so.11]
 0x0000000000000001 (NEEDED)             Shared library: [libintl.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lxc: add optional support for libseccomp
Bernd Kuhls [Sun, 21 Feb 2016 17:34:58 +0000 (18:34 +0100)]
package/lxc: add optional support for libseccomp

When libseccomp was compiled before, lxc will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/lxc/lxc-monitord | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [liblxc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libseccomp.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gawk: add optional support for libsigsegv
Bernd Kuhls [Sun, 21 Feb 2016 17:34:57 +0000 (18:34 +0100)]
package/gawk: add optional support for libsigsegv

When libsigsegv was compiled before, gawk will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/gawk | grep NEEDED
  0x0000000000000001 (NEEDED)             Shared library: [libsigsegv.so.2]
[...]

The build system offers no option to en-/disable libsigsegv support:
http://git.savannah.gnu.org/cgit/gawk.git/tree/m4/libsigsegv.m4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pure-ftpd: add optional support for libsodium
Bernd Kuhls [Sun, 21 Feb 2016 17:34:56 +0000 (18:34 +0100)]
package/pure-ftpd: add optional support for libsodium

When libsodium was compiled before, pure-ftpd will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/pure-statsdecode | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libsodium.so.17]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

The build system offers no option to en-/disable libsodium support,
check configure.ac, line 953.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mediastreamer: add optional support for libvpx
Bernd Kuhls [Sun, 21 Feb 2016 17:34:55 +0000 (18:34 +0100)]
package/mediastreamer: add optional support for libvpx

When libvpx was compiled before, mediastreamer will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libmediastreamer_base.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libopus.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libvpx.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mediastreamer: add optional support for opus
Bernd Kuhls [Sun, 21 Feb 2016 17:34:54 +0000 (18:34 +0100)]
package/mediastreamer: add optional support for opus

When opus was compiled before, mediastreamer will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libmediastreamer_base.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libopus.so.0]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mediastreamer: add optional support for libupnp
Bernd Kuhls [Sun, 21 Feb 2016 17:34:53 +0000 (18:34 +0100)]
package/mediastreamer: add optional support for libupnp

When libupnp was compiled before, mediastreamer will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libmediastreamer_base.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libupnp.so.6]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gnupg2: add optional support for libusb-compat
Bernd Kuhls [Sun, 21 Feb 2016 17:34:52 +0000 (18:34 +0100)]
package/gnupg2: add optional support for libusb-compat

When libusb-compat was compiled before, gnupg2 will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/scdaemon | grep NEEDED
[...]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-0.1.so.4]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/openobex: depends on libusb-compat
Bernd Kuhls [Sun, 21 Feb 2016 17:34:51 +0000 (18:34 +0100)]
package/openobex: depends on libusb-compat

Openobex looks for libusb.pc provided by libusb-compat, not libusb-1.0.pc
provided by libusb:
https://github.com/zuckschwerdt/openobex/blob/master/acinclude.m4#L171

Openobex links against both libusb (libusb-1.0.so.0) and libusb-compat
(libusb-0.1.so.4):
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/ircp | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenobex.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-0.1.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-1.0.so.0]
[...]

This patch changes the dependency in openobex.mk and also selects
libusb-compat.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: disable Lua 5.2+ support
Romain Naour [Sat, 23 Jan 2016 23:12:02 +0000 (00:12 +0100)]
package/efl: disable Lua 5.2+ support

The efl are currently broken with Lua 5.2+.

See: https://phab.enlightenment.org/T2728

Avoid:
http://autobuild.buildroot.net/results/e178371c2c3bf42d59c6fc26409e098081239ccb/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-utils: mask tput failure for non-interactive sessions
James Knight [Sun, 21 Feb 2016 16:04:58 +0000 (11:04 -0500)]
pkg-utils: mask tput failure for non-interactive sessions

When invoking a build from a non-interactive session (for example, a
Jenkins build), there is no terminal session to modify. When preparing
variables to track the bold and boldoff mode sequences, the `tput`
command will always fail as there is no terminal to query. The following
change masks the error message when `tput` fails; leaving the TERM_BOLD
and TERM_RESET variables empty.

Signed-off-by: James Knight <james.d.knight@live.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/omniorb: add optional support for openssl
Bernd Kuhls [Sun, 21 Feb 2016 15:18:52 +0000 (16:18 +0100)]
package/omniorb: add optional support for openssl

When openssl was compiled before, omniorb will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libomnisslTP4.so.2.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libomniORB4.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libomnithread.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/omniorb: add optional support for zlib
Bernd Kuhls [Sun, 21 Feb 2016 15:18:51 +0000 (16:18 +0100)]
package/omniorb: add optional support for zlib

When zlib was compiled before, omniorb will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libomniZIOP4.so.2.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libomniORB4.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libomnithread.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
[...]

The build system offers no option to en-/disable zlib support,
check acinclude.m4, line 435+.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl_sound: add --enable/disable-speex
Bernd Kuhls [Sun, 21 Feb 2016 14:56:50 +0000 (15:56 +0100)]
package/sdl_sound: add --enable/disable-speex

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl_sound: add --enable/disable-ogg
Bernd Kuhls [Sun, 21 Feb 2016 14:56:49 +0000 (15:56 +0100)]
package/sdl_sound: add --enable/disable-ogg

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl_sound: FLAC support depends on libogg
Bernd Kuhls [Sun, 21 Feb 2016 14:56:48 +0000 (15:56 +0100)]
package/sdl_sound: FLAC support depends on libogg

For the flac package itself libogg is an optional dependency, but for
flac support in sdl_sound libogg is mandatory:
http://hg.icculus.org/icculus/SDL_sound/file/394e3ec86164/configure.in#l263

To avoid compiling flac when libogg is disabled change the if-clause
in this package to reflect the real dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libSDL_sound-1.0.so.1.0.2 | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libFLAC.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libmodplug.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libogg.so.0]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl_sound: add optional support for libmodplug
Bernd Kuhls [Sun, 21 Feb 2016 14:56:47 +0000 (15:56 +0100)]
package/sdl_sound: add optional support for libmodplug

When libmodplug was compiled before, sdl_sound will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libSDL_sound-1.0.so.1.0.2 | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libmodplug.so.1]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nfs-utils: add optional support for libcap
Bernd Kuhls [Sun, 21 Feb 2016 14:48:43 +0000 (15:48 +0100)]
package/nfs-utils: add optional support for libcap

When libcap was compiled before, nfs-utils will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/sbin/sm-notify | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libtirpc.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kismet: add optional support for libcap
Bernd Kuhls [Sun, 21 Feb 2016 14:48:42 +0000 (15:48 +0100)]
package/kismet: add optional support for libcap

When libcap was compiled before, kismet will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/kismet_server | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
[...]

The build system offers no option to en-/disable libcap support:
https://www.kismetwireless.net/gitweb/?p=kismet.git;a=blob;f=configure.ac;h=e874b10f3c1d56e2deb5e8adf4b8da4066fdde56;hb=HEAD#l635

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/chrony: add optional support for libcap
Bernd Kuhls [Sun, 21 Feb 2016 14:48:41 +0000 (15:48 +0100)]
package/chrony: add optional support for libcap

When libcap was compiled before, chrony will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/sbin/chronyd | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gstreamer1/gst1-plugins-good: add optional support for libv4l
Bernd Kuhls [Sun, 21 Feb 2016 14:48:40 +0000 (15:48 +0100)]
package/gstreamer1/gst1-plugins-good: add optional support for libv4l

When libv4l was compiled before, gst1-plugins-good will use it as
optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/gstreamer-1.0/libgstvideo4linux2.so | grep NEEDED | sort
[...]
 0x0000000000000001 (NEEDED)             Shared library: [libv4l2.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/cairo: add optional support for lzo
Bernd Kuhls [Sun, 21 Feb 2016 14:47:29 +0000 (15:47 +0100)]
package/cairo: add optional support for lzo

When lzo was compiled before, cairo will use it as optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/cairo-sphinx | grep NEEDED | sort
[...]
 0x0000000000000001 (NEEDED)             Shared library: [liblzo2.so.2]

The build system offers no option to en-/disable lzo support:
https://cgit.freedesktop.org/cairo/tree/configure.ac#n54

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/syslog-ng: add optional support for geoip
Bernd Kuhls [Sat, 20 Feb 2016 19:51:17 +0000 (20:51 +0100)]
package/syslog-ng: add optional support for geoip

When geoip was compiled before, syslog-ng will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/syslog-ng/libgeoip-plugin.so | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [ld64-uClibc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libGeoIP.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libsyslog-ng-3.7.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/syslog-ng: add optional support for libuuid from util-linux
Bernd Kuhls [Sat, 20 Feb 2016 19:51:16 +0000 (20:51 +0100)]
package/syslog-ng: add optional support for libuuid from util-linux

When libuuid was compiled before, syslog-ng will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libsyslog-ng-3.7.so.0.0.0 | grep NEEDED | sort
[...]
 0x0000000000000001 (NEEDED)             Shared library: [libuuid.so.1]

The build system offers no option to en-/disable libuuid support:
https://github.com/balabit/syslog-ng/blob/master/configure.ac#L1291

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/syslog-ng: add optional support for libcap
Bernd Kuhls [Sat, 20 Feb 2016 19:51:15 +0000 (20:51 +0100)]
package/syslog-ng: add optional support for libcap

When libcap was compiled before, syslog-ng will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/sbin/syslog-ng | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/shairport-sync: fix static build issue
Jörg Krause [Sat, 20 Feb 2016 19:10:10 +0000 (20:10 +0100)]
package/shairport-sync: fix static build issue

Add a patch from upstream to fix static build issue with linking against openssl
and alsa.

Fixes:
http://autobuild.buildroot.net/results/682/6821605cf12e1a5393c29b30baf00cb0f1e1a451/
http://autobuild.buildroot.net/results/3cb/3cb79d566e197771d88e317789d05e9f467f4717/
http://autobuild.buildroot.net/results/9bc/9bcc27461b67e718f49419ba292afd28f1152dc6/
http://autobuild.buildroot.net/results/75a/75afbec6ba4c4b0ae2c18423a0d7eccf098b2eaa/
.. and possibly more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gpm: Install libgpm.so to fix gpm detection in package links
Bernd Kuhls [Sat, 20 Feb 2016 17:09:00 +0000 (18:09 +0100)]
package/gpm: Install libgpm.so to fix gpm detection in package links

The unversioned library was missing in the build system, part of the fix
was backported from upstream, the final patch was sent upstream.

Fixes linking against gpm by the links package which fails to detect
gpm support when libgpm.so is not present.

Configure log from links without this patch:
checking for gpm.h... yes
checking for Gpm_Open in -lgpm... no
checking for Gpm_GetLibVersion... no

Configure log from links with this patch:
checking for gpm.h... yes
checking for Gpm_Open in -lgpm... yes
checking for Gpm_GetLibVersion... yes
checking for Gpm_Event wdx and wdy... yes

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add optional support for gpm
Bernd Kuhls [Sat, 20 Feb 2016 17:09:01 +0000 (18:09 +0100)]
package/links: add optional support for gpm

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add optional support for librsvg
Bernd Kuhls [Sat, 20 Feb 2016 17:22:05 +0000 (18:22 +0100)]
package/links: add optional support for librsvg

When librsvg was compiled before, links will use it as optional
dependency, along with other gtk libraries:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/links | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libbz2.so.1.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcairo.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libevent-2.0.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libgdk_pixbuf-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgio-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgobject-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgpm.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libintl.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libjpeg.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [liblzma.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpng16.so.16]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [librsvg-2.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libtiff.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --with/--without-ssl
Bernd Kuhls [Sat, 20 Feb 2016 19:49:17 +0000 (20:49 +0100)]
package/links: add --with/--without-ssl

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --with/--without-libjpeg
Bernd Kuhls [Sat, 20 Feb 2016 16:40:11 +0000 (17:40 +0100)]
package/links: add --with/--without-libjpeg

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --disable-graphics
Bernd Kuhls [Sat, 20 Feb 2016 16:40:10 +0000 (17:40 +0100)]
package/links: add --disable-graphics

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --with/--without-libtiff
Bernd Kuhls [Sat, 20 Feb 2016 16:40:09 +0000 (17:40 +0100)]
package/links: add --with/--without-libtiff

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --with/--without-bzip2
Bernd Kuhls [Sat, 20 Feb 2016 16:40:08 +0000 (17:40 +0100)]
package/links: add --with/--without-bzip2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --with/--without-libevent
Bernd Kuhls [Sat, 20 Feb 2016 16:40:07 +0000 (17:40 +0100)]
package/links: add --with/--without-libevent

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --with/--without-lzma
Bernd Kuhls [Sat, 20 Feb 2016 16:40:05 +0000 (17:40 +0100)]
package/links: add --with/--without-lzma

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/links: add --with/--without-zlib
Bernd Kuhls [Sat, 20 Feb 2016 16:40:04 +0000 (17:40 +0100)]
package/links: add --with/--without-zlib

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dvdauthor: add optional support for libfribidi
Bernd Kuhls [Sun, 21 Feb 2016 10:51:26 +0000 (11:51 +0100)]
package/dvdauthor: add optional support for libfribidi

When libfribidi was compiled before, dvdauthor will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/spumux | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libfontconfig.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libfreetype.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libfribidi.so.0]
[...]

The build system offers no option to en-/disable libfribidi support:
https://github.com/ldo/dvdauthor/blob/master/configure.ac#L83

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