buildroot.git
8 years agozeromq: drop required openpgm library comment
Gustavo Zacarias [Wed, 9 Mar 2016 09:41:53 +0000 (06:41 -0300)]
zeromq: drop required openpgm library comment

It's obvious, buildroot has it and it's selected/depended upon.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolzlib: fix Lua dependency
Jörg Krause [Wed, 9 Mar 2016 22:18:18 +0000 (23:18 +0100)]
lzlib: fix Lua dependency

lzlib cannot be build with LuaJIT and requires Lua 5.x.

Fixes:
http://autobuild.buildroot.net/results/d71/d71209c3e5235f507afee38b618d5740ef91fdcb/
http://autobuild.buildroot.net/results/ef8/ef80136ec17ad9b0a5e3121c4b6091b15c3da0d4/
http://autobuild.buildroot.net/results/5e9/5e9d77e415e8cafb842b84d3d6d91280ae5491e3/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoowfs: remove include of rpc/netdb.h
Arnout Vandecappelle [Wed, 9 Mar 2016 22:48:25 +0000 (23:48 +0100)]
owfs: remove include of rpc/netdb.h

owfs carries a copy of netdb.h from an old glibc, which is only used
to implement getaddrinfo on platforms that miss it (Solaris 7 in
particular). Since all of our libc implementations have getaddrinfo,
we don't need it.

To make the patch minimal, just include if !HAVE_GETADDRINFO.

Fixes:
http://autobuild.buildroot.net/results/d9e918c2791cd5523b2fd6478bbd4ce21e58f4f1
http://autobuild.buildroot.net/results/3a85144753e4f18491d62dccf6d5843170f8daea

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: use $(CURDIR) to set TOPDIR
Samuel Martin [Wed, 9 Mar 2016 22:58:43 +0000 (23:58 +0100)]
core: use $(CURDIR) to set TOPDIR

This changes saves a shell call and uses a variable automatically set
by make [1].

[1] http://www.gnu.org/software/make/manual/make.html#Quick-Reference

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoltp-testsuite: indentation cleanup
Jerzy Grzegorek [Thu, 10 Mar 2016 21:48:55 +0000 (22:48 +0100)]
ltp-testsuite: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopsplash: indentation cleanup
Jerzy Grzegorek [Thu, 10 Mar 2016 21:48:54 +0000 (22:48 +0100)]
psplash: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofreerdp: indentation cleanup
Jerzy Grzegorek [Thu, 10 Mar 2016 21:48:53 +0000 (22:48 +0100)]
freerdp: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: use binutils 2.25.1 by default
Thomas Petazzoni [Thu, 10 Mar 2016 22:34:58 +0000 (23:34 +0100)]
binutils: use binutils 2.25.1 by default

Recent commit 5eb37d6adcfef996f1cd71effec8c2af42c0aed3 broke the build
by default to binutils 2.25 for the target, while we only have hashes
for 2.25.1. Use 2.25.1 instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotaskd: new package
Ben Boeckel [Thu, 10 Mar 2016 02:38:40 +0000 (21:38 -0500)]
taskd: new package

Taskwarrior is a task management suite of tools. Taskd is the
synchronization server for it.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
[Thomas:
 - use 'depends on' for BR2_USE_MMU, and add a comment indicating that
   the dependency is due to the use of fork()
 - use 'depends on' for BR2_USE_WCHAR, and add a comment indicating
   that the dependency is due to gnutls and util-linux.
 - add a hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: fix dynamic linker path for mips soft-float
Thomas Petazzoni [Tue, 8 Mar 2016 21:20:55 +0000 (22:20 +0100)]
gcc: fix dynamic linker path for mips soft-float

This commit updates the gcc musl patches for gcc 4.7, 4.8 and 4.9 so
that the path to the dynamic linker encoded as "program interpreter"
in the generated binaries actually matches the symbolic link installed
by musl when building for mips soft-float.

Indeed, musl installs a symlink called ld-musl-mipsel-sf.so.1, but gcc
currently generates binaries that use /lib/ld-musl-mips.so as program
interpreter.

The fix is simply the one from
https://bitbucket.org/GregorR/musl-cross/commits/825219202365, i.e
adjust MUSL_DYNAMIC_LINKER in our musl gcc patches.

Thanks to these patches:

$ ./host/usr/bin/mipsel-linux-readelf -a ./target/bin/busybox
[...]
      [Requesting program interpreter: /lib/ld-musl-mipsel-sf.so.1]
[...]

gcc 5.x doesn't need any fix because the musl patches already use the
right value.

Fixes bug #7562.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobinutils: switch to version 2.25 by default
Thomas Petazzoni [Sun, 6 Mar 2016 15:06:23 +0000 (16:06 +0100)]
binutils: switch to version 2.25 by default

binutils 2.26 has been released, it is time to switch to 2.25 as the
default version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconnman: switch to BR2_TOOLCHAIN_HAS_SYNC_4
Gustavo Zacarias [Thu, 10 Mar 2016 01:06:51 +0000 (22:06 -0300)]
connman: switch to BR2_TOOLCHAIN_HAS_SYNC_4

Switch to BR2_TOOLCHAIN_HAS_SYNC_4 from BR2_sparc conditional since it's
the correct one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-msgpack: remove useless 'depends on' in comment
Thomas Petazzoni [Thu, 10 Mar 2016 20:16:56 +0000 (21:16 +0100)]
python-msgpack: remove useless 'depends on' in comment

In commit 6709fad224692ae5e0788bbd30145f7d622b52a4, python-msgpack was
bumped to a new version that has support for Python 3. The "depends on
BR2_PACKAGE_PYTHON' was removed for the main python-msgpack Config.in
option, but not from the comment. This commit fixes this
inconsistency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-crossbar: propagate missing dependencies
Thomas Petazzoni [Thu, 10 Mar 2016 20:16:55 +0000 (21:16 +0100)]
python-crossbar: propagate missing dependencies

python-crossbar selects python-msgpack which selects msgpack, which
depends on C++ and 4-byte __sync intrinsics. But python-crossbar does
not have the dependencies propagated.

Fixes:

  http://autobuild.buildroot.org/results/80f58b7264139dd82c690cb8aae97349aa412539/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboot/grub: add rootwait to default config
Gustavo Zacarias [Thu, 10 Mar 2016 20:46:27 +0000 (17:46 -0300)]
boot/grub: add rootwait to default config

It doesn't hurt, and is useful for removable boot media like a pendrive
that may depend on usb enumeration and isn't available immediately.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboot/grub2: add rootwait to default config
Gustavo Zacarias [Wed, 9 Mar 2016 23:46:35 +0000 (20:46 -0300)]
boot/grub2: add rootwait to default config

It doesn't hurt, and is useful for removable boot media like a pendrive
that may depend on usb enumeration and isn't available immediately.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/altera_sockit_defconfig: use http access for u-boot/linux git repos
Peter Korsgaard [Wed, 9 Mar 2016 11:58:32 +0000 (12:58 +0100)]
configs/altera_sockit_defconfig: use http access for u-boot/linux git repos

Fixes:
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/114650744

git:// access to git.rocketboards.org has been failing for a while, and
git:// is sometimes not allowed through corporate firewalls, so change to
git-over-http instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/altera_socdk_defconfig: use http access for u-boot/linux git repos
Peter Korsgaard [Wed, 9 Mar 2016 11:58:31 +0000 (12:58 +0100)]
configs/altera_socdk_defconfig: use http access for u-boot/linux git repos

Fixes:
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/114650743

git:// access to git.rocketboards.org has been failing for a while, and
git:// is sometimes not allowed through corporate firewalls, so change to
git-over-http instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/uclibc: defconfig: enable sha-256/512 password auth support
Peter Korsgaard [Tue, 8 Mar 2016 17:22:57 +0000 (18:22 +0100)]
package/uclibc: defconfig: enable sha-256/512 password auth support

As recently reported on the mailing list:
http://lists.busybox.net/pipermail/buildroot/2016-February/154130.html

Our configuration options to use sha-256 / sha-512 password encoding do not
work very well with uClibc-ng as our defconfig doesn't enable support for
these encodings, breaking E.G. password login with dropbear.

Notice that it doesn't break login with the busybox login applet, as we
currently force the use of the internal busybox password handling routines
when sha-256/512 encoding is used. This workaround can afaik now be removed.

To fix this, enable support for these password encodings in our defconfig.
Do it unconditionally and not based on BR2_TARGET_GENERIC_PASSWD_* so it
also works when a Buildroot toolchain is reused as an external toolchain and
as the support code is quite small (~8KB):

-rwxr-xr-x 1 peko peko 13360 Mar  7 22:56 output/target/lib/libcrypt-1.0.12.so
-rwxr-xr-x 1 peko peko 21552 Mar  7 23:47 output-sha/target/lib/libcrypt-1.0.12.so

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoopenssh: security bump to version 7.2p2
Gustavo Zacarias [Thu, 10 Mar 2016 18:34:28 +0000 (15:34 -0300)]
openssh: security bump to version 7.2p2

Fixes:
CVE-2016-3115 - sanitise X11 authentication credentials to avoid xauth
command injection when X11Forwarding is enabled.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobind: security bump to version 9.10.3-P4
Gustavo Zacarias [Thu, 10 Mar 2016 17:22:28 +0000 (14:22 -0300)]
bind: security bump to version 9.10.3-P4

Fixes:
CVE-2016-1285 - An error parsing input received by the rndc control
channel can cause an assertion failure in sexpr.c or alist.c
CVE-2016-1286 - A problem parsing resource record signatures for DNAME
resource records can lead to an assertion failure in resolver.c or db.c
CVE-2016-2088 - A response containing multiple DNS cookies causes
servers with cookie support enabled to exit with an assertion failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofio: add upstream patch to fix build on SuperH
Thomas Petazzoni [Thu, 10 Mar 2016 15:26:41 +0000 (16:26 +0100)]
fio: add upstream patch to fix build on SuperH

Upstream was super reactive, and already committed a patch to fix the
build on SuperH, so we take this upstream patch in Buildroot and
re-enable fio on SuperH.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/nodejs: bump version to 5.8.0
Martin Bark [Thu, 10 Mar 2016 13:26:07 +0000 (13:26 +0000)]
package/nodejs: bump version to 5.8.0

See https://nodejs.org/en/blog/release/v5.8.0/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofio: disable on SuperH
Thomas Petazzoni [Thu, 10 Mar 2016 14:32:26 +0000 (15:32 +0100)]
fio: disable on SuperH

fio doesn't build on SuperH due to arch_flags being undefined while
building the test programs. Since the fix isn't immediate, the bug was
reported upstream, and this commit disables fio on SuperH until it
gets fixed upstream.

Fixes:

  http://autobuild.buildroot.net/results/578/578ae9da10d017ee9e2c15d37014f31a1114ef3a/build-end.log

Fixes #8751.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofio: bump to version 2.7
Thomas Petazzoni [Thu, 10 Mar 2016 14:32:25 +0000 (15:32 +0100)]
fio: bump to version 2.7

The patch 0001-compile-fix-for-linux-header-changes.patch is removed
as it was a backport from an upstream patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobinutils: backport xtensa .init/.fini literals moving fix to 2.26
Max Filippov [Thu, 10 Mar 2016 04:32:44 +0000 (07:32 +0300)]
binutils: backport xtensa .init/.fini literals moving fix to 2.26

Despite the documentation and the comment in xtensa_move_literals, in
the presence of --text-section-literals and --auto-litpools literals are
moved from the separate literal sections into .init and .fini, because
the check in the xtensa_move_literals is incorrect.

This fixes build errors seen with projects that have .init/.fini and use
text-section-literals.

Backported from: 4111950f363221c4641dc2f33bea61cc94f34906
Reported-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogdb: backport xtensa NPTL support to 7.10.1
Max Filippov [Thu, 10 Mar 2016 04:31:50 +0000 (07:31 +0300)]
gdb: backport xtensa NPTL support to 7.10.1

These changes allow debugging multithreaded NPTL xtensa applications and
inspect TLS variables.

Backported from: 40045d91812b25c88c8275b8c08d27c234b68ba8
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.4.5
Gustavo Zacarias [Thu, 10 Mar 2016 00:35:17 +0000 (21:35 -0300)]
linux: bump default to version 4.4.5

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 [Thu, 10 Mar 2016 00:35:16 +0000 (21:35 -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 agodropbear: security bump to 2016.72
Peter Korsgaard [Thu, 10 Mar 2016 13:35:55 +0000 (14:35 +0100)]
dropbear: security bump to 2016.72

2016.72 - 9 March 2016

- Validate X11 forwarding input. Could allow bypass of authorized_keys command= restrictions,
  found by github.com/tintinweb. Thanks to Damien Miller for a patch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/busybox: support automatic module loading with mdev
Peter Korsgaard [Tue, 8 Mar 2016 23:03:25 +0000 (00:03 +0100)]
package/busybox: support automatic module loading with mdev

A recently discussed on the mailing list:
http://lists.busybox.net/pipermail/buildroot/2016-February/154189.html

Our mdev configuration currently doesn't handle module loading. Fix that by:

- Telling mdev to run modprobe on hotplug events providing MODALIAS

- Adjust the init script to handle coldplug modalias events (E.G. modules
  for which the devices were already present before mdev was added as the
  hotplug handler). mdev -s should arguable handle this, but it doesn't.

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobusybox: Make S01logging source a default file
Nicolas Cavallari [Mon, 7 Mar 2016 09:48:17 +0000 (10:48 +0100)]
busybox: Make S01logging source a default file

The default syslog parameters are to keep only 200-400 KiB of logs,
which is very few if there is a spammy daemon on the system, or a daemon
that fails and then spams errors that hides the original problem.

Make S01logging source a /etc/default/logging file where these
parameters can be overridden.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agouboot: indentation cleanup
Jerzy Grzegorek [Wed, 9 Mar 2016 21:30:32 +0000 (22:30 +0100)]
uboot: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodcron: indentation cleanup
Jerzy Grzegorek [Wed, 9 Mar 2016 21:30:31 +0000 (22:30 +0100)]
dcron: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofirmware-imx: indentation cleanup
Jerzy Grzegorek [Wed, 9 Mar 2016 21:30:30 +0000 (22:30 +0100)]
firmware-imx: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosetserial: indentation cleanup
Jerzy Grzegorek [Wed, 9 Mar 2016 21:30:29 +0000 (22:30 +0100)]
setserial: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonvidia-driver: indentation cleanup
Jerzy Grzegorek [Wed, 9 Mar 2016 21:30:28 +0000 (22:30 +0100)]
nvidia-driver: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain: switch linaro to https urls
Jason Abele [Wed, 9 Mar 2016 19:40:39 +0000 (11:40 -0800)]
toolchain: switch linaro to https urls

Signed-off-by: Jason Abele <jason@nextthing.co>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/qemu/x86: enable USB support
Gustavo Zacarias [Wed, 9 Mar 2016 21:04:59 +0000 (18:04 -0300)]
configs/qemu/x86: enable USB support

We're not trying to be minimal here, and qemu can bridge/emulate certain
usb devices, so enable the different controllers and at least usb
storage.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/qemu/x86_64: enable USB support
Gustavo Zacarias [Wed, 9 Mar 2016 21:04:58 +0000 (18:04 -0300)]
configs/qemu/x86_64: enable USB support

We're not trying to be minimal here, and qemu can bridge/emulate certain
usb devices, so enable the different controllers and at least usb
storage.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoyasm: style and whitespace cleanup
Gustavo Zacarias [Wed, 9 Mar 2016 19:55:50 +0000 (16:55 -0300)]
yasm: style and whitespace cleanup

Use $(SED) instead of sed.
Kill trailing whitespace in comment, and move it above the define as per
standard look.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonasm: bump to version 2.12
Gustavo Zacarias [Wed, 9 Mar 2016 19:51:44 +0000 (16:51 -0300)]
nasm: bump to version 2.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocifs-utils: bump to version 6.5
Gustavo Zacarias [Wed, 9 Mar 2016 11:51:42 +0000 (08:51 -0300)]
cifs-utils: bump to version 6.5

Patch is upstream so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibnss: security bump to version 3.22.2
Gustavo Zacarias [Wed, 9 Mar 2016 11:41:20 +0000 (08:41 -0300)]
libnss: security bump to version 3.22.2

Fixes:
CVE-2016-1950 - heap-based buffer overflow related to the parsing of
certain ASN.1 structures. An attacker could create a specially-crafted
certificate which, when parsed by NSS, would cause a crash or execution
of arbitrary code with the permissions of the user.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: drop gcc 4.5 specific code
Thomas Petazzoni [Tue, 8 Mar 2016 22:30:43 +0000 (23:30 +0100)]
gcc: drop gcc 4.5 specific code

We have removed gcc 4.5 support since a long time, so this commit
removes dead code that was only used when building a toolchain based
on gcc 4.5.

Signed-off-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-headers: bump 3.12.x series
Gustavo Zacarias [Wed, 9 Mar 2016 09:34:50 +0000 (06:34 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibpjsip: depend on libsrtp
Luca Ceresoli [Tue, 8 Mar 2016 23:06:41 +0000 (00:06 +0100)]
libpjsip: depend on libsrtp

libpjsip needs libsrtp to build, but it bundles a libsrtp version in
case one is not found during the configure step. The Buildroot policy
in such cases is to force using the external package, so forcibly
depend on libsrtp.

Adding --with-external-srtp also fixes libpjsip not correctly the
libsrtp installed in staging, which shows up with the symptom:

  .../libpjmedia.so: undefined reference to `srtp_deinit'
  collect2: error: ld returned 1 exit status

Fixes:
  http://autobuild.buildroot.org/results/305/305fdc8442cd2e8f51b90485be0dca83ffa36603/
  http://autobuild.buildroot.org/results/a2f/a2f407c1361ac5c24af122445e84645e9aee309d/
  ...and many other similar autobuild failures.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agohiawatha: bump to version 10.1
Gustavo Zacarias [Tue, 8 Mar 2016 23:56:20 +0000 (20:56 -0300)]
hiawatha: bump to version 10.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agohostapd: fix musl issues
Jörg Krause [Tue, 8 Mar 2016 21:40:54 +0000 (22:40 +0100)]
hostapd: fix musl issues

Add two patches to fix build issues with the musl libc.

The first patch "0003-vlan-fix-musl-build-error" fixes the undefined __caddr_t
build error. __caddr_t is a legacy BSD type and should be avoided in modern
implementations.

The second patch "0004-vlan-fix-musl-libc-conflict-with-Linux-kernel-header"
fixes a typical musl libc header conflict with the Linux kernel header. We avoid
including the conflicting Linux header file by defining the needed macros
directly in the needing hostapd source file.

Fixes:
http://autobuild.buildroot.net/results/c26/c265cfada20621a631e9d118b9633df80b0e4864/
http://autobuild.buildroot.net/results/658/658c5e2fe6e3a4ad74ca47c926426e95eac0b9ec/
http://autobuild.buildroot.net/results/578/5787805b3e1487c4f85c3a367ed88e8730078b8e/
http://autobuild.buildroot.net/results/42d/42d8be008dcb07e9ec26ce10c797deb43ed86568/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluvi: bump to version 2.6.1
Jörg Krause [Tue, 8 Mar 2016 22:02:23 +0000 (23:02 +0100)]
luvi: bump to version 2.6.1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoubus: indentation cleanup
Jerzy Grzegorek [Tue, 8 Mar 2016 21:58:06 +0000 (22:58 +0100)]
ubus: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoltp-testsuite: indentation cleanup
Jerzy Grzegorek [Tue, 8 Mar 2016 21:58:05 +0000 (22:58 +0100)]
ltp-testsuite: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocollectd: indentation cleanup
Jerzy Grzegorek [Tue, 8 Mar 2016 21:58:04 +0000 (22:58 +0100)]
collectd: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofont-awesome: indentation cleanup
Jerzy Grzegorek [Tue, 8 Mar 2016 21:58:03 +0000 (22:58 +0100)]
font-awesome: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosamba4: security bump to version 4.3.6
Gustavo Zacarias [Tue, 8 Mar 2016 21:31:20 +0000 (18:31 -0300)]
samba4: security bump to version 4.3.6

Fixes:
CVE-2015-7560 - Authenticated client could cause Samba to overwrite ACLs
with incorrect owner/group.
CVE-2016-0771 - Malicious request can cause the Samba internal DNS
server to crash or unintentionally return uninitialized memory.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain: also source the musl package
Yann E. MORIN [Tue, 8 Mar 2016 20:02:22 +0000 (21:02 +0100)]
toolchain: also source the musl package

We do source the glibc and uClibc packages in the toolchain menu,
because they do provide user-visible options. However, we do not so
far source the musl Config.in file

However, in 822be87 (toolchain: include C libraries in legal-info),
a Config.in file for musl was explicitly created, so that:
  - legal-info would work (needed at the time, probably no longer needed
    nowadays),
  - the appropriate packages are enabled, like netbsd-queue or kernel
    headers.

Yet, we do not source musl/Config.in, which means we do not get
netbsd-queue or kernel-headers to be selected:

    $ make distclean; make menuconfig
        Toolchain  --->
          C library ---> musl
      save-and-exit
    $ grep BR2_PACKAGE_LINUX_HEADERS .config
        [nothing]
    $ grep BR2_PACKAGE_NETBSD_QUEUE .config
        [nothing]

Fix that by sourcing musl/Config.in at the same place we source glibc
and uClibc.

Normally, we do have a check in place that verifies that a package
that is not enabled is not a dependency of another package that is
enabled. However, musl is only a dependency of host-gcc-final, which
is a host package and has no corresponding BR2_PACKAGE_HOST_GCC_FINAL.
Thus host-gcc-final is not in the PACKAGES variable, and thus does not
trigger our check.

Reported-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcurl: enable mbedtls support
Gustavo Zacarias [Wed, 6 Jan 2016 18:53:37 +0000 (15:53 -0300)]
libcurl: enable mbedtls support

Now that we've got an mbedtls package in the tree we can enable the
optional support for it in libcurl.

We also remove the comment about polarssl support needing version
1.3.x. Indeed, polarssl was renamed to mbedtls when bought by ARM,
which was circa the 1.3.x polarssl release. Due to this referring to
polarssl 1.3.x doesn't make a lot of sense, and we'll probably never
package polarssl 1.3.x in Buildroot now that mbedtls replaces it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
[Thomas: slightly improve commit log as suggested by Luca, using
explanations from Gustavo.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mplayer: add optional dependencies to libgl, libvpx and opus
Bernd Kuhls [Sun, 17 Jan 2016 21:18:20 +0000 (22:18 +0100)]
package/mplayer: add optional dependencies to libgl, libvpx and opus

Mplayer links to these packages when present:

output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/mplayer | grep NEEDED | grep "opus\|vpx\|GL"
 0x0000000000000001 (NEEDED)             Shared library: [libopus.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libvpx.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libGL.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/connman: fix crash due to iptables 1.6.0 update
Martin Bark [Mon, 7 Mar 2016 10:19:10 +0000 (10:19 +0000)]
package/connman: fix crash due to iptables 1.6.0 update

iptables was updated to version 1.6.0 in commit
https://git.busybox.net/buildroot/commit/?id=35dc775 however, connman
1.31 crashes when iptables 1.6.0 is used.

This issues has already been fixed upstream but is not currently available
in a release.  To fix connman include the upstream patch. See
http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=acea08a

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoirssi: bump to version 0.8.18
Rodrigo Rebello [Mon, 7 Mar 2016 02:50:05 +0000 (23:50 -0300)]
irssi: bump to version 0.8.18

Also remove no longer needed patch (merged upstream).

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompfr: bump to version 3.1.4
Gustavo Zacarias [Mon, 7 Mar 2016 01:47:03 +0000 (22:47 -0300)]
mpfr: bump to version 3.1.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotor: disable unit-tests
Waldemar Brodkorb [Mon, 7 Mar 2016 13:46:48 +0000 (14:46 +0100)]
tor: disable unit-tests

Fixes following autobuild failure for aarch64:
http://autobuild.buildroot.net/results/13ef47c962afefbaa9ea7a95de083f885f1a8825/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5tools: qtdiag needs BR2_PACKAGE_QT5BASE_GUI
Peter Seiderer [Mon, 7 Mar 2016 22:12:29 +0000 (23:12 +0100)]
qt5tools: qtdiag needs BR2_PACKAGE_QT5BASE_GUI

Fixes [1]:

  /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output/build/qt5tools-5.5.1/src/qtdiag
  make[2]: *** No targets specified and no makefile found.  Stop.

[1] http://autobuild.buildroot.net/results/4ee/4eee2a7cee8fce63b0419668da8bd55b3cfd00af

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibpjsip: needs threads
Luca Ceresoli [Mon, 7 Mar 2016 21:56:44 +0000 (22:56 +0100)]
libpjsip: needs threads

Builds without thread support fail with the following error:

  ../src/pj/os_core_unix.c:45:21: fatal error: pthread.h: No such file or directory
   #include <pthread.h>
                       ^
  compilation terminated.

Fixes:
  http://autobuild.buildroot.org/results/744/744431e1b47d22222c4d0b48d5d20649dfeed929/
  http://autobuild.buildroot.org/results/a10/a10aca9139054502e055cb61f3925637fc515e12/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/owfs: Install owfs in staging directory
Roland Franke [Tue, 8 Mar 2016 19:53:48 +0000 (20:53 +0100)]
package/owfs: Install owfs in staging directory

Install package in staging directory, so that this package can be
linked together with other packages (for example collectd and its
onewire plugin).

Signed-off-by: Roland Franke <fli4l@franke-prem.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/scrub: new package
Samuel Martin [Mon, 7 Mar 2016 21:06:46 +0000 (22:06 +0100)]
package/scrub: new package

Fetch a patch fixing autoreconf call.
Patch already sent and merged upstream.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: bump version to 0.10.43
Martin Bark [Mon, 7 Mar 2016 11:13:15 +0000 (11:13 +0000)]
package/nodejs: bump version to 0.10.43

See https://nodejs.org/en/blog/release/v0.10.43/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: bump Codescape toolchains to version 2015.10
Vicente Olivert Riera [Tue, 8 Mar 2016 09:46:09 +0000 (09:46 +0000)]
toolchain: bump Codescape toolchains to version 2015.10

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodbus: bump to version 1.10.8
Gustavo Zacarias [Tue, 8 Mar 2016 13:28:50 +0000 (10:28 -0300)]
dbus: bump to version 1.10.8

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozeromq: unbreak pgm support
Gustavo Zacarias [Tue, 8 Mar 2016 19:43:53 +0000 (16:43 -0300)]
zeromq: unbreak pgm support

In the bump to the 4.1.x series the bundled pgm library was dropped and
the --with-system-pgm option was made pointless since using unbundled
became the only option, so it was renamed to --with-pgm, which
previously meant "use bundled" (but not any longer).
However this wasn't accounted for and pgm support has been broken since
then.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolttng-tools: fix musl build
Baruch Siach [Tue, 8 Mar 2016 18:28:11 +0000 (20:28 +0200)]
lttng-tools: fix musl build

Add two patches fixing musl build issues:

  * musl doesn't provide the __GLIBC_PREREQ macro

  * musl requires sys/types.h for mode_t

Fixes:
http://autobuild.buildroot.net/results/ac9/ac9aa3b6c468a0a6ba84758d3c9c8acc20d7fa00/
http://autobuild.buildroot.net/results/40f/40f11afb0512a89dcdad332d28ff1c5fcc435e7f/
http://autobuild.buildroot.net/results/3c6/3c66b5f05b482f33d1bc6eabe817f6d7aa21086d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoerlang-p1-stringprep: add missing dependency on erlang-p1-utils
Thomas Petazzoni [Tue, 8 Mar 2016 09:57:22 +0000 (10:57 +0100)]
erlang-p1-stringprep: add missing dependency on erlang-p1-utils

Fixes:

  http://autobuild.buildroot.net/results/6a6fe920eb54d05ba7aff0da9c4dc5a799ae0e3b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-rpi-gpio: fix typo
Yegor Yefremov [Mon, 7 Mar 2016 09:23:42 +0000 (10:23 +0100)]
python-rpi-gpio: fix typo

s/LICENSE.txt/LICENCE.txt

Fixes:
http://autobuild.buildroot.net/results/406/4060be5aed299b9fc197f2f8c398ca2800e7ec08/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libcap: install .pc file unconditionally
Yann E. MORIN [Sun, 6 Mar 2016 23:04:54 +0000 (00:04 +0100)]
package/libcap: install .pc file unconditionally

And re-format patches as git patches.

Fixes:
    http://autobuild.buildroot.org/results/c13/c13fb87c2e4739106e256f34fff93696b0133bf6/
    http://autobuild.buildroot.org/results/f82/f822801f9b811e1a0fb4627f6b528116375cacfe/
    http://autobuild.buildroot.org/results/07c/07c0315a35089a8d3e8eb1a305dcd8bf1fb882ee/
    and many more...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoerlang: remove unwanted packages from staging too
Frank Hunleth [Thu, 25 Feb 2016 14:56:35 +0000 (09:56 -0500)]
erlang: remove unwanted packages from staging too

This fixes an issue where an Erlang program compiles fine against files
in staging, but fails to run on the target due to the unwanted packages
being removed.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogmrender-resurrect: new package
kei-k@ca2.so-net.ne.jp [Mon, 19 Oct 2015 12:06:53 +0000 (21:06 +0900)]
gmrender-resurrect: new package

gmrender-resurrect is UPnP (DLNA) renderer based on gstreamer.

Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
[Thomas:
 - Fix gstreamer related dependency comments to "gstreamer1 ->
   libglib2", as suggested by Arnout.
 - select BR2_PACKAGE_GST1_PLUGINS_BASE as a run-time dependency, as
   suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lzlib: bump to version 0.4.3
Jörg Krause [Thu, 8 Oct 2015 02:12:54 +0000 (04:12 +0200)]
package/lzlib: bump to version 0.4.3

Switch to more recent github repository.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: add hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: document format for specifying licenses
Rahul Bedarkar [Mon, 25 Jan 2016 05:05:40 +0000 (10:35 +0530)]
docs/manual: document format for specifying licenses

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas: minor tweaks for clarity.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozsh: don't use host pcre-config
Baruch Siach [Thu, 3 Mar 2016 21:46:10 +0000 (23:46 +0200)]
zsh: don't use host pcre-config

Commit 5e05faec7b4 (zsh: use the correct target pcre-config) set
ac_cv_prog_PCRECONF to the location of staging pcre-config. Unfortunately zsh
configure script does not actually use this variable when running pcre-config.
Complete the fix with a patch that makes use of ac_cv_prog_PCRECONF.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/owfs: fix link with FUSE
Yann E. MORIN [Sun, 6 Mar 2016 20:24:20 +0000 (21:24 +0100)]
package/owfs: fix link with FUSE

owfs reinvents its own weird and wicked mechanism to find libfuse. It
believes that, by default, FUSE is installed in /usr/local, and forcibly
uses that path to look for headers and libs.

This is obviously wrong in cross-compilation, and triggers our check for
unsafe header/library paths.

The best option to fix that would be to use pkg-config to find FUSE, but
this is a bit involved. Instead, use config options to specify the path
to the headers and libs.

Fixes:
    http://autobuild.buildroot.org/results/2c8/2c8baf6910d7ac2e3c92efa62cc3b9d3737e1fb5/
    http://autobuild.buildroot.org/results/1f9/1f994f53ceca434ebd1d87923f85b5ed71229d94/
    and a few others...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/olimex_imx233_olinuxino: switch to u-boot
Phil Eichinger [Sat, 27 Feb 2016 18:40:32 +0000 (19:40 +0100)]
configs/olimex_imx233_olinuxino: switch to u-boot

mxs-bootlets broke somewhere in between toolchain version bumps, leading to
boot failure.

Directly boot u-boot, as this is supported now, but it requires updated
partitioning (see readme.txt)

Drop mxs-bootlets patches, they aren't needed anymore.

Kernel is built as an uImage because the u-boot defconfig expects an
uImage on the second partition.

Tested on iMX233-OLinuXino-MINI hardware.

[Peter: adjust readme/config as suggested by Arnout]
Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoprocrank_linux: new package
Gustavo Zacarias [Tue, 23 Feb 2016 15:54:48 +0000 (12:54 -0300)]
procrank_linux: new package

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
[Thomas: add hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/binutils: add binutils 2.26
Romain Naour [Sun, 7 Feb 2016 17:23:22 +0000 (18:23 +0100)]
package/binutils: add binutils 2.26

- Rebase patches from 2.25 on top of 2.26.
- Use git format for patches
- remove upstreamed xtensa patches

The first patch [1] is needed to be able to build glibc with binutils 2.26 on nios2.
The second from [2] fix an assertion issue with ld.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=a7be2893a6449e64fe6cfcdd8700b0a367a69f19
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=19405

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/czmq: fix static linking
Jörg Krause [Sun, 6 Mar 2016 14:50:03 +0000 (15:50 +0100)]
package/czmq: fix static linking

Currently, building czmq statically fails for some architectures with undefined
references to the math library:
  /usr/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/libstdc++.a(compatibility-ldbl.o): In function `std::tr1::hash<long double>::operator()(long double) const':
  compatibility-ldbl.cc:(.text._ZNKSt3tr14hashIeEclEe+0x3c): undefined reference to `frexpl'

It turns out that this is actually a problem with libstdc++. Depending on the
arch, some functions will be in compatibility-ldbl.o. If you use any of these
functions, that file will be linked in. And when that file is linked in, all
the _other_ functions, which you actually don't use, are also linked in. And
one of these functions is the template function hash<long double>::operator(),
which uses frexpl.

Requiring czmq to link with -lm is a bit weird, given that neither itself,
nor any of its dependencies really need it...

So ideally it should be fixed in libstdc++ itself. However, as upstream
accepted a patch to link with -lm, we use this patch to fix static linking.

Fixes:
http://autobuild.buildroot.net/results/206/2061238affb685db998100a56c6571538d089a5b/
http://autobuild.buildroot.net/results/caf/caf002d213c9dd09df07858c5c199411ca8ddfa3/
http://autobuild.buildroot.net/results/568/568ac92d2f6d0604b9bf354ea9dca0a7cb5341f6/
http://autobuild.buildroot.net/results/945/9452982fc14f579c61b45a1a189db5f89aab3b80/

Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agochocolate-doom: add patch to fix static linking
Rodrigo Rebello [Wed, 2 Mar 2016 01:58:14 +0000 (22:58 -0300)]
chocolate-doom: add patch to fix static linking

This commit adds a backported upstream patch which modifies the
configure script so that it uses pkg-config to detect libraries and
their static linking dependencies.

It also adds host-pkgconf as a dependency and removes the SDL static
linking workaround from chocolate-doom.mk as it's no longer necessary.

Fixes:

  http://autobuild.buildroot.net/results/d98/d981499ad82121d58fb7584b55d09c484cb6aa49/
  http://autobuild.buildroot.net/results/e41/e419f29e14edd28cbf48278bef725b696ae8ef70/
  http://autobuild.buildroot.net/results/d8f/d8fe9b5bdb262e939d4150804ea34777c91d3c04/
  ...

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosdl_mixer: add patch to fix SDL_mixer.pc for static linking
Rodrigo Rebello [Wed, 2 Mar 2016 01:58:13 +0000 (22:58 -0300)]
sdl_mixer: add patch to fix SDL_mixer.pc for static linking

A 'Libs.private' field needs to be present and properly defined in the
pkg-config file in order for static linking against SDL_mixer to work.

Besides adding the mentioned field, the included patch also modifies
configure.in so that EXTRA_LDFLAGS (which is now also used as the value
of 'Libs.private') no longer includes SDL_LIBS. This is done so as to
prevent libraries required by SDL from being listed twice when
'pkg-config --libs --static SDL_mixer' is run (they're already shown
because of the 'Requires: sdl' line in SDL_mixer.pc). Makefile.in is
adjusted accordingly as well.

Also enable autoreconf for this package since we're patching
configure.in.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibwebsockets: bump to v1.7.3
Johan Sagaert [Wed, 2 Mar 2016 21:35:40 +0000 (22:35 +0100)]
libwebsockets: bump to v1.7.3

 - Drop
   0001-cmake-disable-shared-library-build-when-BUILD_SHARED.patch,
   since CMakeLists has been reworked. Static/shared build can now be
   configured via configuration options.

 - Add support for optional libev and libuv.

 - Use the github macro for download.

 - Update hash.

Signed-off-by: Sagaert Johan <sagaert.johan@proximus.be>
[Thomas: tweak the commit log a bit.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluaposix: bump to version 33.4.0
Francois Perrad [Thu, 3 Mar 2016 21:12:46 +0000 (22:12 +0100)]
luaposix: bump to version 33.4.0

 - 0001-sched-workaround-glibc-_POSIX_PRIORITY_SCHEDULING-bu.patch is
   removed because it was merged upstream. Since this patch is
   removed, autoreconfiguring the package is no longer needed.

 - the ncurses dependency is dropped because the ncurses-related
   functionality from luaposix was removed, and moved to a separate
   project.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: write a proper commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua-messagepack: bump to version 0.3.4
Francois Perrad [Thu, 3 Mar 2016 21:12:45 +0000 (22:12 +0100)]
lua-messagepack: bump to version 0.3.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocopas: bump to version 2.0.1
Francois Perrad [Thu, 3 Mar 2016 21:12:44 +0000 (22:12 +0100)]
copas: bump to version 2.0.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: bump version to 5.7.1
Martin Bark [Thu, 3 Mar 2016 22:29:28 +0000 (22:29 +0000)]
package/nodejs: bump version to 5.7.1

See https://nodejs.org/en/blog/release/v5.7.1/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: force the use of python2
Martin Bark [Thu, 3 Mar 2016 22:29:27 +0000 (22:29 +0000)]
package/nodejs: force the use of python2

Remove the patches to use a python variable and instead force python2
into the PATH.

Upstream the python variable was recently removed
(see https://github.com/nodejs/node/commit/c3e50ca) and due to dependencies
directly calling python there is a reluctance to change this.  Instead it
is recommended to add python2 into PATH as the nodejs build machines do
(see https://github.com/nodejs/node/issues/418 and
https://github.com/nodejs/node/issues/2735).

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-screensaver-matrixtrails: new package
Bernd Kuhls [Sat, 5 Mar 2016 19:01:22 +0000 (20:01 +0100)]
package/kodi-screensaver-matrixtrails: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolegal-info: remove outdated comment
Luca Ceresoli [Fri, 4 Mar 2016 23:39:13 +0000 (00:39 +0100)]
legal-info: remove outdated comment

This comment is outdated since the assignment of $(2)_MANIFEST_TARBALL
and $(2)_MANIFEST_SITE have been removed, which happened in
b9f4727ff4d512868352494f5209fff4da147473.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: adjust comment as suggested by Yann E. MORIN.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolegal-info: fix detection of "override" packages
Luca Ceresoli [Fri, 4 Mar 2016 23:39:12 +0000 (00:39 +0100)]
legal-info: fix detection of "override" packages

The ifneq ($$($(2)_SITE_METHOD),override) test will always match
because SITE_METHOD is never set to "override". The result is that
some packages are downloaded and extracted unnecessarily, although
they are (correctly) not saved in output/legal-info/.

Fix by simply testing $(2)_OVERRIDE_SRCDIR instead: when empty, it
indicates that the packages is neither a "local" site-method package
nor a package that has its source directory overridden.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.18.x and 4.1.x series
Gustavo Zacarias [Sun, 6 Mar 2016 12:46:26 +0000 (09:46 -0300)]
linux-headers: bump 3.18.x and 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/czmq: add hash file
Jörg Krause [Sat, 5 Mar 2016 20:02:23 +0000 (21:02 +0100)]
package/czmq: add hash file

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoomniorb: remove autoreconf
Baruch Siach [Sat, 5 Mar 2016 21:04:09 +0000 (23:04 +0200)]
omniorb: remove autoreconf

Commit 03ee7f9823af (package/omniorb: bump version to 4.2.1) removed the patch
to configure.ac, making autoreconf redundant.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/multicat: add missing dependency on bitstream
Romain Naour [Sat, 5 Mar 2016 20:40:51 +0000 (21:40 +0100)]
package/multicat: add missing dependency on bitstream

Multicat select bitstream package without adding it as build dependencies.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-pvr-wmc: bump version
Bernd Kuhls [Sat, 5 Mar 2016 18:58:57 +0000 (19:58 +0100)]
package/kodi-pvr-wmc: bump version

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