buildroot.git
9 years agoenlightment: xtensa workaround no longer required
Waldemar Brodkorb [Fri, 26 Jun 2015 18:41:50 +0000 (20:41 +0200)]
enlightment: xtensa workaround no longer required

With the update to uClibc-ng 1.0.3, this is no longer needed,
as the problem is fixed upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.1.2
Gustavo Zacarias [Fri, 10 Jul 2015 18:10:05 +0000 (15:10 -0300)]
linux: bump default to version 4.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.{10, 14, 18}.x and 4.{0, 1}.x series
Gustavo Zacarias [Fri, 10 Jul 2015 18:10:04 +0000 (15:10 -0300)]
linux-headers: bump 3.{10, 14, 18}.x and 4.{0, 1}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogettext: bump to version 0.19.5
Gustavo Zacarias [Fri, 10 Jul 2015 17:40:09 +0000 (14:40 -0300)]
gettext: bump to version 0.19.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofile: bump to version 5.24
Gustavo Zacarias [Fri, 10 Jul 2015 17:40:08 +0000 (14:40 -0300)]
file: bump to version 5.24

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibunistring: bump to version 0.9.6
Gustavo Zacarias [Fri, 10 Jul 2015 17:40:07 +0000 (14:40 -0300)]
libunistring: bump to version 0.9.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibidn: bump to version 1.31
Gustavo Zacarias [Fri, 10 Jul 2015 17:40:06 +0000 (14:40 -0300)]
libidn: bump to version 1.31

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoruby: enable parallel build
Gustavo Zacarias [Fri, 10 Jul 2015 16:50:08 +0000 (13:50 -0300)]
ruby: enable parallel build

Re-enable parallel builds, it doesn't seem to be affected by the issue
worked around in 9332a1ad4 any more.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/e2fsprogs: make /sbin/fsck available
Maxim Mikityanskiy [Mon, 19 Jan 2015 16:14:08 +0000 (18:14 +0200)]
package/e2fsprogs: make /sbin/fsck available

systemd looks for fsck in /sbin, so make symlink:
/sbin/fsck -> /usr/sbin/fsck

[Thomas: add comment.]

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual/beyond-buildroot: additional minor fixes
Thomas Petazzoni [Fri, 10 Jul 2015 17:17:02 +0000 (19:17 +0200)]
docs/manual/beyond-buildroot: additional minor fixes

Those issues were noticed by Thomas De Schampheleire during the
review, but they were forgotten when applying the patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual/beyond-buildroot: building and testing live-CDs
Noé Rubinstein [Mon, 19 Jan 2015 19:52:57 +0000 (20:52 +0100)]
docs/manual/beyond-buildroot: building and testing live-CDs

[Thomas: reworked a bit the phrasing, plus mention that Grub 2 is
supported.]

Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoc-icap: new package
Guillaume GARDET [Tue, 18 Nov 2014 14:54:46 +0000 (15:54 +0100)]
c-icap: new package

[Thomas:
 - Remove trailing whitespace everywhere
 - Rewrap the Config.in help text
 - Fix Config.in comment, the proper text for BR2_PREFER_STATIC_LIB is
   "dynamic library", not "libdl library"
 - Use a PID file in the init script
 - Show OK / FAIL when stopping the service
 - Remove the largefile/IPv6 handling in c-icap.mk, since they are now
   mandatory. We therefore pass --enable-large-files and --enable-ipv6
   unconditionally.
 - Remove the reference to a non-existing
   C_ICAP_INSTALL_TARGET_CONFIGS install target hook.
 - Install the init script unconditionally.
 - Remove unneeded example configuration files (*.default) from /etc,
   and fixup the c-icap.conf so that the default values work with
   Buildroot
 - Properly handle the *-config scripts installed by c-icap.
 - Add hash file.]

Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopopt: add hash file
Gustavo Zacarias [Tue, 7 Jul 2015 12:52:32 +0000 (09:52 -0300)]
popt: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotransmission: add hash file
Gustavo Zacarias [Tue, 7 Jul 2015 12:52:31 +0000 (09:52 -0300)]
transmission: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorp-pppoe: add hash file
Gustavo Zacarias [Tue, 7 Jul 2015 12:52:30 +0000 (09:52 -0300)]
rp-pppoe: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetstat-nat: add hash file
Gustavo Zacarias [Tue, 7 Jul 2015 12:52:29 +0000 (09:52 -0300)]
netstat-nat: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoexpect: bump to version 5.45.3
Fabio Porcedda [Wed, 6 May 2015 12:17:50 +0000 (14:17 +0200)]
expect: bump to version 5.45.3

Download it from the cvs repository because it is not availabe as a
downloadable file. Also because a tag isn't available use the date.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomanual: cvs: document that a branch or a date can be used
Fabio Porcedda [Wed, 6 May 2015 12:17:49 +0000 (14:17 +0200)]
manual: cvs: document that a branch or a date can be used

Also instead of using the generic word "timestamp" use the word "tag".

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/download/cvs: add support to use a date instead of a tag
Fabio Porcedda [Wed, 6 May 2015 12:17:48 +0000 (14:17 +0200)]
support/download/cvs: add support to use a date instead of a tag

This is useful when a tag is not avaiable.

Also fix support for Fedora where the command "cvs -r :<version>" doesn't work.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqemu/configs: enable DRM+QXL for x86 and x86_64
Gustavo Zacarias [Thu, 9 Jul 2015 00:54:04 +0000 (21:54 -0300)]
qemu/configs: enable DRM+QXL for x86 and x86_64

Allows for nicer framebuffer emulation under Qemu with the QXL xorg
driver.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-qxl: new package
Gustavo Zacarias [Thu, 9 Jul 2015 00:54:03 +0000 (21:54 -0300)]
xdriver_xf86-video-qxl: new package

Add the QEMU paravirt QXL video driver.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoquagga: disable PIE on ARC
Alexey Brodkin [Thu, 9 Jul 2015 10:00:11 +0000 (13:00 +0300)]
quagga: disable PIE on ARC

Even though 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 disable PIE detection if building for ARC.
That fixes http://autobuild.buildroot.net/results/ca0/ca0b1e271f29d7639b6a6e895472a35e2c1d8aba
and also prevents execution of non-supported PIE binary in runtime.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopure-ftpd: add patch that fixes build if HAVE_EXPLICIT_BZERO is defined
Alexey Brodkin [Thu, 9 Jul 2015 09:45:26 +0000 (12:45 +0300)]
pure-ftpd: add patch that fixes build if HAVE_EXPLICIT_BZERO is defined

This patch was already merged upstream and once bumping version of that
package this patch must be removed.

See this change upstream:
https://github.com/jedisct1/pure-ftpd/commit/2d34799585dc65c8c314a2f09a281874dd9b3d55

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopure-ftpd: disable PIE on ARC
Alexey Brodkin [Thu, 9 Jul 2015 09:38:51 +0000 (12:38 +0300)]
pure-ftpd: disable PIE on ARC

Even though 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 disable PIE detection if building for ARC.
That first fixes http://autobuild.buildroot.net/results/57a/57a6180809bc51f7206280533f0b9898ce4cfbb4
and also prevents execution of non-supported PIE binary in runtime.

Interesting enough reported build failure is not directly related to PIE
it looks like if PIE is enabled then successful detection of explicit_bzero()
happens erroneously.

A simple test app that mentions explicit_bzero() while built with
"-pie" gives this output:
--------------------------------->8-----------------------------
arc-linux-gcc test.c -pie
/home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../lib/gcc/arc-snps-linux-uclibc/4.8.4/../../../../arc-snps-linux-uclibc/bin/ld: /home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../arc-snps-linux-uclibc/sysroot/usr/lib/crt1.o: warning: unresolvable relocation against symbol `__uClibc_main' from .text section
/home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../lib/gcc/arc-snps-linux-uclibc/4.8.4/../../../../arc-snps-linux-uclibc/bin/ld: /home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../lib/gcc/arc-snps-linux-uclibc/4.8.4/crtbegin.o: warning: unresolvable relocation against symbol `__deregister_frame_info@@GCC_3.0' from .text section
/home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../lib/gcc/arc-snps-linux-uclibc/4.8.4/../../../../arc-snps-linux-uclibc/bin/ld: /home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../lib/gcc/arc-snps-linux-uclibc/4.8.4/crtbegin.o: warning: unresolvable relocation against symbol `__deregister_frame_info@@GCC_3.0' from .text section
/home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../lib/gcc/arc-snps-linux-uclibc/4.8.4/../../../../arc-snps-linux-uclibc/bin/ld: /home/abrodkin/Tools/arc/gnu/2015.06-rc1-uclibc-archs/bin/../lib/gcc/arc-snps-linux-uclibc/4.8.4/crtbegin.o: warning: unresolvable relocation against symbol `__register_frame_info@@GCC_3.0' from .text section
--------------------------------->8-----------------------------

And what's really interesting exist status is 0!:
--------------------------------->8-----------------------------
$ echo $?
0
--------------------------------->8-----------------------------

With removal of "-pie" we're getting expected failure and exist status 1:
--------------------------------->8-----------------------------
$ arc-linux-gcc test.c
/tmp/ccaWbKwc.o: In function `main':
test.c:(.text+0x1c): undefined reference to `explicit_bzero'
collect2: error: ld returned 1 exit status

$ echo $?
1
--------------------------------->8-----------------------------

We'll look into that strange issue separately internally.
I filed internal STAR 9000925001 for that issue.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssl: security bump to version 1.0.2d
Gustavo Zacarias [Thu, 9 Jul 2015 18:45:13 +0000 (15:45 -0300)]
openssl: security bump to version 1.0.2d

Fixes CVE-2015-1793 - Alternative chains certificate forgery.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssl: drop !static dependency from OPENSSL_BIN option
Peter Korsgaard [Thu, 9 Jul 2015 06:55:16 +0000 (08:55 +0200)]
openssl: drop !static dependency from OPENSSL_BIN option

The dependency doesn't make sense now that the option only controls if the
built binary gets installed into the target or not, so drop it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenssl: fix static build
Benoît Thébaudeau [Tue, 7 Jul 2015 10:37:58 +0000 (12:37 +0200)]
openssl: fix static build

If configured with no-dso, the openssl binary still gets linked with
-ldl, while libdl is not available for static-only builds. The OpenSSL
framework does not support automatically dropping -ldl with no-dso, so
-ldl has to be removed from Makefile after calling ./Configure as
explained in PROBLEMS.

Fixes http://autobuild.buildroot.org/results/cbb35f2582f1cfeb3d11cb4952a80784ff660baf

[Peter: add reference to PROBLEMS file]
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosystem/device_table.txt: /etc/random-seed is no more
Peter Korsgaard [Thu, 9 Jul 2015 06:36:29 +0000 (08:36 +0200)]
system/device_table.txt: /etc/random-seed is no more

So don't try to set the permissions of it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-autotools: fix whitespace regex in libtool patch hook
Danomi Manchego [Tue, 7 Jul 2015 04:34:00 +0000 (00:34 -0400)]
pkg-autotools: fix whitespace regex in libtool patch hook

The first sed line for ltmain_version attempts to match whitespace before
VERSION with [ space_character tab_character ]. The second sed line used to
make ltmain_patchlevel has only space characters in the whitespace expression,
possibly due to a smart editor automatically converting tabs to spaces. Make
these lines consistent with each other and more resilient against accidental
loss of tab characters by replacing the tabs with '\t'.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosystem/skeleton: don't use random-seed from a read-only fs
Baruch Siach [Wed, 8 Jul 2015 05:24:12 +0000 (08:24 +0300)]
system/skeleton: don't use random-seed from a read-only fs

A random-seed from a read-only filesystem is useless.

Also, drop the check for /etc/random-seed existence; it must exist after a
touch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosystem/skeleton: remove random-seed
Baruch Siach [Wed, 8 Jul 2015 05:24:11 +0000 (08:24 +0300)]
system/skeleton: remove random-seed

Seeding the entropy pool with a known seed makes more harm than good. This is
especially bad for when /etc is not on a persistent writable storage, so the
entropy pool is seeded with the same value on every boot. Just drop it.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agousb_modeswitch_data: bump to version 20150627
Gustavo Zacarias [Tue, 7 Jul 2015 13:53:59 +0000 (10:53 -0300)]
usb_modeswitch_data: bump to version 20150627

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agousb_modeswitch: bump to version 2.2.3
Gustavo Zacarias [Tue, 7 Jul 2015 13:53:58 +0000 (10:53 -0300)]
usb_modeswitch: bump to version 2.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agostm32flash: new package
Luca Ceresoli [Wed, 8 Jul 2015 08:15:02 +0000 (10:15 +0200)]
stm32flash: new package

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolvm2: bump to version 2.02.125
Vicente Olivert Riera [Wed, 8 Jul 2015 08:51:51 +0000 (10:51 +0200)]
lvm2: bump to version 2.02.125

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobind: security bump to version 9.9.7-P1
Gustavo Zacarias [Wed, 8 Jul 2015 16:52:15 +0000 (13:52 -0300)]
bind: security bump to version 9.9.7-P1

Fixes:
CVE-2015-4620 - On servers configured to perform DNSSEC validation an
assertion failure could be triggered on answers from a specially
configured server.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosnmppp: autoreconf is not needed anymore
Luca Ceresoli [Wed, 8 Jul 2015 10:36:13 +0000 (12:36 +0200)]
snmppp: autoreconf is not needed anymore

Tarballs of recent versions ship a configure script.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoc-periphery: bump version to 1.0.3
Vanya Sergeev [Wed, 27 May 2015 23:26:13 +0000 (16:26 -0700)]
c-periphery: bump version to 1.0.3

Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua-periphery: add hash file
Vanya Sergeev [Wed, 27 May 2015 23:26:12 +0000 (16:26 -0700)]
lua-periphery: add hash file

Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua-periphery: bump version to 1.0.5, remove dependency on c-periphery
Vanya Sergeev [Wed, 27 May 2015 23:26:11 +0000 (16:26 -0700)]
lua-periphery: bump version to 1.0.5, remove dependency on c-periphery

The new version of the lua-periphery LuaRocks package handles fetching the
c-periphery dependency, so that it no longer needs to be cloned during the
lua-periphery build process. Consequently, this removes the need for selecting
c-periphery as a package dependency in buildroot and the need for the patches
that modify lua-periphery to be built against an external c-periphery.

[Thomas:
  - remove dependency from .mk file, as noticed by Baruch
  - add patch to fix uClibc build]

Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: remove host-pkgconf dependency
Jörg Krause [Tue, 5 May 2015 16:24:33 +0000 (18:24 +0200)]
package/libtirpc: remove host-pkgconf dependency

configure.ac does not contain PKG_CHECK_MODULES anymore.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiproute2: bump to version 4.1.1
Gustavo Zacarias [Tue, 7 Jul 2015 10:31:55 +0000 (07:31 -0300)]
iproute2: bump to version 4.1.1

Now with local header for tipc support on older kernels.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mesa3d: If udev is not present, sysfs is used as a replacement
Bernd Kuhls [Sun, 7 Jun 2015 11:41:02 +0000 (13:41 +0200)]
package/mesa3d: If udev is not present, sysfs is used as a replacement

Support for sysfs as a replacement for udev was added 2014/05/30:
http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=85b6f36ca5238dd3fec7c5fcacb8b7074ce53c8e

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevdev: bump version to 1.4.3
Peter Seiderer [Mon, 6 Jul 2015 18:45:56 +0000 (20:45 +0200)]
libevdev: bump version to 1.4.3

>From [1]:
- tools: widen frequency resolution to µs in the DPI tool
- tools: complain about devices that don't have abs x/y axes in the edge detector
- include: update to 4.1 header

[1] http://lists.freedesktop.org/archives/input-tools/2015-June/001171.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxtables-addons: bump to version 2.7
Gustavo Zacarias [Mon, 6 Jul 2015 18:06:38 +0000 (15:06 -0300)]
xtables-addons: bump to version 2.7

Fixes build issues with kernels 4.1+

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/bind: Enable filter-aaaa-on-v4 option
Nathaniel Roach [Mon, 6 Jul 2015 16:55:45 +0000 (00:55 +0800)]
package/bind: Enable filter-aaaa-on-v4 option

This allows usage of the filter-aaaa-on-v4 configuration option.
This option disables responding with AAAA records when the request
is made over ipv4. This may be useful on networks with
ipv6 inside, but no ISP ipv6 (when combined with only
listening on ipv4).

See https://kb.isc.org/article/AA-00576/
Filter-AAAA-option-in-BIND-9-.html
for more information.

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-autotools: fix patching libtool for version 2.4
Danomi Manchego [Sun, 5 Jul 2015 20:53:48 +0000 (16:53 -0400)]
pkg-autotools: fix patching libtool for version 2.4

If the libtool used by the package is 2.4 (i.e. with no patchlevel), we
end up with error messages like this one, seen when building ntp-4.2.8p3:

    /bin/sh: line 0: test: 2.4: integer expression expected

That's because the current sed expression "[0-9].[0-9]." only deletes content
like "2.4.", so it leaves "2.4" (no patch level *and* no second period) intact,
resulting in an ltmain_patchlevel of "2.4", not empty, and not "0".  Then the
shell line goes bad, because the built in shell test -gt operates on integers
only, and fails on floating point numbers (like "2.4").

Additionally, the existing sed lines are problematic in other ways, because the
current expression "[0-9].[0-9]" will match "234" as well as "2.4", as an unescaped
period matches any character, not just a period.  Also, the lack of an asterisk
after the first character may be a problem in the future, if a two digit initial
number is used.

So, this patch changes the sed regex as follows:

* Match a string of digits when searching for a number.  I.e. "[0-9]*"
* Match specifically a period in between two numbers.  I.e. "\."
* When searching for a patch level, make the second period optional.  I.e. "\.*"

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosquid: explicitly disable openssl support when BR2_PACKAGE_OPENSSL != y
Vicente Olivert Riera [Mon, 6 Jul 2015 15:53:35 +0000 (17:53 +0200)]
squid: explicitly disable openssl support when BR2_PACKAGE_OPENSSL != y

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Fix SSE support with gcc5
Bernd Kuhls [Sun, 5 Jul 2015 16:49:14 +0000 (18:49 +0200)]
package/vlc: Fix SSE support with gcc5

Compile fails

make[4]: Entering directory `/home/fli4l/br6_freeswitch/output/build/vlc-2.2.1/modules'
  CC       video_chroma/libi420_yuy2_sse2_plugin_la-i420_yuy2.lo
In file included from video_chroma/i420_yuy2.c:35:0:
video_chroma/i420_yuy2.c: In function 'I420_UYVY_Filter':
video_chroma/i420_yuy2.c:194:23: error: calling 'I420_UYVY.isra.2' with SSE caling convention without SSE/SSE2 enabled
 VIDEO_FILTER_WRAPPER( I420_UYVY )
                       ^
../include/vlc_filter.h:266:13: note: in definition of macro 'VIDEO_FILTER_WRAPPER'
             name( p_filter, p_pic, p_outpic );                          \

using this defconfig

BR2_x86_pentium2=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_GCC_VERSION_5_1_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_VLC=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosquid: add gnutls support
Vicente Olivert Riera [Mon, 6 Jul 2015 08:02:05 +0000 (10:02 +0200)]
squid: add gnutls support

A new --without-gnutls option has been added to configure, so let's use
it in order to enable or disable gnutls support in squid.

Related:

  http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.6-RELEASENOTES.html#ss4.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosquid: bump to version 3.5.6
Vicente Olivert Riera [Mon, 6 Jul 2015 08:02:04 +0000 (10:02 +0200)]
squid: bump to version 3.5.6

- Bump to version 3.5.6
- Update hash file
- Change configure options according to release notes

Release notes:

  http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.6-RELEASENOTES.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonano: bump to version 2.4.2
Vicente Olivert Riera [Mon, 6 Jul 2015 08:02:03 +0000 (10:02 +0200)]
nano: bump to version 2.4.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolvm2: bump to version 2.02.124
Vicente Olivert Riera [Mon, 6 Jul 2015 08:02:02 +0000 (10:02 +0200)]
lvm2: bump to version 2.02.124

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoberkeleydb: accommodate threads presence/absence
Alexey Brodkin [Mon, 6 Jul 2015 14:48:04 +0000 (17:48 +0300)]
berkeleydb: accommodate threads presence/absence

In BerkeleyDB the most convenient implementation of mutexes on Linux is
via POSIX mutex, and that requires pthread library.

Still it is possible to build (and hopefully use) BerkeleyDB without
mutexes. For this we pass "--disable-mutexsupport" during configuration
of the package.

Fixes:
http://autobuild.buildroot.net/results/717f3b37600a56262badc6f7cb64d7949fdacb67/
http://autobuild.buildroot.net/results/80ebf0382992b277fd94743815bbf0c7426a3654/

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssl: always build apps
Benoît Thébaudeau [Mon, 6 Jul 2015 13:06:08 +0000 (15:06 +0200)]
openssl: always build apps

Now that building the openssl binary without MMU is supported, the only
reason left for not building apps if the openssl binary is disabled is
to save build time. Moreover, the commit
720893b62510438237b9923d744dd079ddb4f67d "openssl: disable apps for
NOMMU", which added this behavior, had a side effect: the scripts from
apps (CA.pl, CA.sh and tsget) and the default configuration file
(openssl.cnf) were no longer installed, which is not advertized by the
BR2_PACKAGE_OPENSSL_BIN option. CA.pl and CA.sh use the openssl binary,
so not installing them without the latter makes sense. But tsget does
not use the openssl binary, and openssl.cnf can be used by libcrypto, so
it is preferable to handle BR2_PACKAGE_OPENSSL_BIN like before the
commit mentioned above, i.e. to always build and install apps and to
just remove the openssl binary afterwards if needed.

This is what the current commit does, but installing only the helper
scripts having their dependencies (perl or the openssl binary)
satisfied. The help text is updated accordingly.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocollectd: fix parallel build issues
Gustavo Zacarias [Mon, 6 Jul 2015 13:12:23 +0000 (10:12 -0300)]
collectd: fix parallel build issues

For version 5.5.x a reorganization was made and some common funtionality
was moved to libraries, however proper dependency accounting isn't
handled in the Makefile thus causing build breakage on some parallel
builds. Fixes:
http://autobuild.buildroot.net/results/a5e/a5e6891e9ea66ac8216d3302da3702770ef7247b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage:sysdig: bump to version 0.1.100
Angelo Compagnucci [Tue, 26 May 2015 07:34:14 +0000 (09:34 +0200)]
package:sysdig: bump to version 0.1.100

This patch bumps to version 0.1.100, removes the no more
neded upstream included patch and adds the ENABLE_DKMS=OFF
configure option.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agontp: drop unused POST_PATCH_HOOKS handling
Peter Korsgaard [Mon, 6 Jul 2015 12:20:30 +0000 (14:20 +0200)]
ntp: drop unused POST_PATCH_HOOKS handling

Now that NTP_PATCH_FIXUPS is gone.

Reported-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobtrfs-progs: drop dependency on acl and attr
Christophe Vu-Brugier [Mon, 6 Jul 2015 07:25:24 +0000 (09:25 +0200)]
btrfs-progs: drop dependency on acl and attr

btrfs-progs does not depend on libacl since version v4.0.1:

  ab5984f btrfs-progs: convert: drop dependency on sys/acl.h
  https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=ab5984ff6cce6f12063720b6dafc1afcd6606853

Moreover, btrfs-progs does not depend on attr since version v3.14:

  b5fe148 btrfs-progs: include <sys/xattr.h> instead of <attr/xattr.h>
  https://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=b5fe148715ea295e2b951ec6c90409b9d81978d8

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomtd: Add xattr support
Clayton Shotwell [Tue, 2 Jun 2015 13:28:37 +0000 (08:28 -0500)]
mtd: Add xattr support

Adding extended attribute support for the mtd tools when the attr
package is selected. This is needed for SELinux support.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoola: Bump to version 0.9.6
Simon Marchi [Sun, 5 Jul 2015 23:30:45 +0000 (19:30 -0400)]
ola: Bump to version 0.9.6

We can delete the patch, as it was integrated upstream.

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add opengl support
Samuel Martin [Sun, 5 Jul 2015 21:54:48 +0000 (23:54 +0200)]
package/opencv: add opengl support

In OpenCV, OpenGL is only used by highgui module.

OpenGL support is done using extensions from 3rd party framework: either
Qt5OpenGL with Qt5 (with GL support only, not GLES); or gtkglext (which
is not available in Buildroot) with gtk2

So, make OpenGL knob a sub-option of the Qt5 support option.

Note: we enclose both the GUI toolkit choice and the GL option in an
if-block, so that the GL option gets properly indented; having it
depend on WITH_QT5 is not enough, because it does not directly follow
it, so kconfig would not consider it for indenting.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: tweak commit log about the if-block]
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add gtk3 support
Samuel Martin [Sun, 5 Jul 2015 21:54:47 +0000 (23:54 +0200)]
package/opencv: add gtk3 support

OpenCV now also supports gtk3 as a GUI toolkit, in addition to gtk2,
but only one may be enabled at a time.

So, add gtk3 in the choice to select the GUI toolkit.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: drop the superfluous depends-on for the
 kconfig symbol, since they're no longer needed now we depend-on rather
 than select]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add qt5 support
Samuel Martin [Sun, 5 Jul 2015 21:54:46 +0000 (23:54 +0200)]
package/opencv: add qt5 support

Starting with the 2.4.6 release, OpenCV supports either Qt4 or Qt5 as GUI
toolkit, so add Qt5 in the GUI toolkit choice.

When Qt4 is enabled (and thus Qt5 is hidden and disabled), no need to
show a comment stating "Qt5 support needs Qt5", because Qt5 is not
selectable.

Conversely, when Qt5 is enabled and Qt4 is not, then no need to show a
comment stating "Qt4 support needs Qt4", because enabling Qt4 would
disable Qt5.

So, we only show the comments when neither toolkit is enabled.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: split-out the Qt5 hunk from the
 switch-selects-to-depends hunk]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: depends on GUI toolkits, rather than select them
Samuel Martin [Sun, 5 Jul 2015 21:54:45 +0000 (23:54 +0200)]
package/opencv: depends on GUI toolkits, rather than select them

Currently, we only support either Qt4 or gtk2, but OpenCV also
additionally supports Qt5 or gtk3, making for a choice of four
toolkits, one of: Qt4, Qt5, gtk3, gtk2 (and obviously, none).

Since Buildroot does not support coexistence of Qt4 and Qt5, we
can no longer select one and depend on the other, like so:

    config BR2_PKG_OCV_WITH_QT4
        bool "Qt4"
        depends on !BR2_PKG_QT5
        select BR2_PKG_QT

    config BR2_PKG_OCV_WITH_QT5
        bool "Qt5"
        depends on !BR2_PKG_QT
        select BR2_PKG_QT5

otherwise, we'd get a circular dependency chain in Kconfig, which would
complain with:

  package/opencv/Config.in:57:error: recursive dependency detected!
  package/opencv/Config.in:57:    choice <choice> contains symbol BR2_PKG_OCV_WITH_QT5
  package/opencv/Config.in:111:   symbol BR2_PKG_OCV_WITH_QT5 depends on BR2_PKG_QT
  package/qt/Config.in:5: symbol BR2_PKG_QT is selected by BR2_PKG_OCV_WITH_QT
  package/opencv/Config.in:98:    symbol BR2_PKG_OCV_WITH_QT is part of choice <choice>

Instead, we need to depend on either Qt version.

So, to have a consistent choice, we make all support for GUI toolkits
actually depend on the toolkit, rather than select it.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: split-out the switch-selects-to-depends hunk
 from the add-qt5 hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add a choice for selecting the gui toolkit
Samuel Martin [Sun, 5 Jul 2015 21:54:44 +0000 (23:54 +0200)]
package/opencv: add a choice for selecting the gui toolkit

In OpenCV, only one GUI toolkit may be used at any one time, so group
the two existing options into a choice to make this situation explicit.

This will also be useful when we later add support for Qt5 and gtk3.

Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: tweak commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: security bump
Yann E. MORIN [Sun, 5 Jul 2015 17:43:23 +0000 (19:43 +0200)]
package/nodejs: security bump

Critical security flaw:
    https://medium.com/@iojs/important-security-upgrades-for-node-js-and-io-js-8ac14ece5852

Fixes #8201.

Reported-by: Chris Becker <goabonga@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: drop minor version in Config.in
Yann E. MORIN [Sun, 5 Jul 2015 17:43:22 +0000 (19:43 +0200)]
package/nodejs: drop minor version in Config.in

Drop the minor version from the Kconfig symbol, so we can seamlessly
update the versions without having to handle legacy stuff.

Note: not adding legacy handling, as we haven't had any release with
those symbols yet.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Chris Becker <goabonga@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimagemagick: bump to version 6.9.1-7
Jerzy Grzegorek [Mon, 6 Jul 2015 06:58:51 +0000 (08:58 +0200)]
imagemagick: bump to version 6.9.1-7

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agontpd: drop unneeded uClibc workaround for refclock_pcf.c
Peter Korsgaard [Mon, 6 Jul 2015 07:54:51 +0000 (09:54 +0200)]
ntpd: drop unneeded uClibc workaround for refclock_pcf.c

refclock_pcf.c contains code using the tm_gmtoff member of struct tm, which
is only available on uClibc if it is built with __UCLIBC_HAS_TM_EXTENSIONS__.

This change date back to:

commit 7129da009cc72575a84a30c4587bd99f745c49d4
Author: Eric Andersen <andersen@codepoet.org>
Date:   Sat Jan 18 21:27:22 2003 +0000

    Merge a bunch of stuff over from the tuxscreen buildroot, with
    many updates to make things be more consistant.
     -Erik

But nowadays our uClibc configs DO enable __UCLIBC_HAS_TM_EXTENSIONS__, so
it is no longer needed and can be dropped.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agontp: drop uselss patch fixup which sometimes breaks rebuild
Danomi Manchego [Sun, 5 Jul 2015 20:52:25 +0000 (16:52 -0400)]
ntp: drop uselss patch fixup which sometimes breaks rebuild

Drop sed line which no longer changes anything as upstream has changed to
use strrchr.  Worse, it bumps each ntpd/*.c file's modification time, which
sometimes triggers a strange dependency path causing the makefile to attempt
to run the ntpd keyword-gen app, which fails, because it's been
cross-compiled.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowine: fix sane related build failure
Thomas Petazzoni [Sun, 5 Jul 2015 11:15:00 +0000 (13:15 +0200)]
wine: fix sane related build failure

If sane is installed system-wide on the build machine, then the
sane-config binary found is the one of the system, which returns
incorrect library paths for cross-compilation.

To fix this, this commit adds a patch to wine to make it support a
SANE_CONFIG environment variable, and then adjusts wine.mk to
explicitly pass the path to $(STAGING_DIR)/usr/bin/sane-config.

Fixes:

  http://autobuild.buildroot.org/results/8bd/8bdc1eed55075313403aa8a6c9af6a427bce198e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agosamba4: install systemd files
Alex Suykov [Sat, 23 May 2015 10:14:42 +0000 (13:14 +0300)]
samba4: install systemd files

The package comes with usable .service files for smbd, nmbd and
winbind, but does not install them.

[Thomas: use relative paths for the symbolic links.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoupmpdcli: use relative path for systemd service symlink
Thomas Petazzoni [Sun, 5 Jul 2015 14:08:46 +0000 (16:08 +0200)]
upmpdcli: use relative path for systemd service symlink

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosquid: systemd support
Alex Suykov [Sat, 23 May 2015 10:07:42 +0000 (13:07 +0300)]
squid: systemd support

squid comes with a .service file, but does not install it.

[Thomas: use relative path for symlink instead of absolute path.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoupmpdcli: systemd support
Alex Suykov [Sat, 23 May 2015 10:13:53 +0000 (13:13 +0300)]
upmpdcli: systemd support

Usable .service file is provided in the package.

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: add opencv support
Samuel Martin [Sun, 5 Jul 2015 09:40:29 +0000 (11:40 +0200)]
package/vlc: add opencv support

This change adds 2 patches (backported from upstream) to vlc fixing the
build against opencv2 APIs.
This allows to select the minimal set of opencv modules when opencv
support is enabled.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add gstreamer-1.x support
Samuel Martin [Sun, 5 Jul 2015 09:40:24 +0000 (11:40 +0200)]
package/opencv: add gstreamer-1.x support

Starting with the 2.4.10 release, OpenCV supports both Gstreamer-0.10
and Gstreamer-1, but only one can be enabled at the same time (OpenCV
chooses Gstreamer-1 over Gstreamer-0.10 when both are available).

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add a choice for selecting gstreamer support
Samuel Martin [Sun, 5 Jul 2015 09:40:23 +0000 (11:40 +0200)]
package/opencv: add a choice for selecting gstreamer support

OpenCV 3.0 support both gstreamer-0.10 and gstreamer-1.x, but only one
is used at the time.

This patch turns the gstreamer support into a choice, in order to prepare
adding the support for gstreamer-1 in a following patch.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Fix i586 compilation with gcc5
Bernd Kuhls [Sat, 20 Jun 2015 19:44:55 +0000 (21:44 +0200)]
package/ffmpeg: Fix i586 compilation with gcc5

In file included from libavcodec/cabac_functions.h:46:0,
                 from libavcodec/h264_cabac.c:37:
libavcodec/h264_cabac.c: In function 'ff_h264_decode_mb_cabac':
libavcodec/x86/cabac.h:192:5: error: 'asm' operand has impossible constraints
     __asm__ volatile(

To reproduce the bug use this defconfig:

BR2_GCC_VERSION_5_1_X=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_FFMPEG_GPL=y
BR2_PACKAGE_FFMPEG_NONFREE=y
BR2_PACKAGE_FFMPEG_FFPLAY=y
BR2_PACKAGE_FFMPEG_FFSERVER=y
BR2_PACKAGE_FFMPEG_FFPROBE=y
BR2_PACKAGE_FFMPEG_AVRESAMPLE=y
BR2_PACKAGE_FFMPEG_POSTPROC=y

[Thomas: add a comment in the code.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobarebox: bump to version 2015.07.0
Fabio Porcedda [Sun, 5 Jul 2015 09:59:09 +0000 (11:59 +0200)]
barebox: bump to version 2015.07.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocoreutils: bump to version 8.24
Gustavo Zacarias [Sat, 4 Jul 2015 14:50:19 +0000 (11:50 -0300)]
coreutils: bump to version 8.24

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{10,14}.x series
Gustavo Zacarias [Sat, 4 Jul 2015 14:12:44 +0000 (11:12 -0300)]
linux-headers: bump 3.{10,14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agokvmtool: new package
Gustavo Zacarias [Wed, 24 Jun 2015 18:44:11 +0000 (15:44 -0300)]
kvmtool: new package

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: PAM support needs thread support
Thomas Petazzoni [Sat, 4 Jul 2015 13:48:04 +0000 (15:48 +0200)]
busybox: PAM support needs thread support

In commit f21b2558a097d07b53b6f20a47770468e9e4f7ed ("busybox: added
linux-pam support"), we added optional support for PAM in
Busybox. However, this support requires the toolchain to have thread
support, which causes build failures with non-thread capable
toolchains.

This commit therefore enables Busybox PAM support only if the
linux-pam package is available *and the toolchain has thread support.

Fixes:

  http://autobuild.buildroot.org/results/1a3/1a380aaca9303b67cc59165d56cf12f35966fe26/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotor: needs NPTL threads
Thomas Petazzoni [Sat, 4 Jul 2015 13:36:04 +0000 (15:36 +0200)]
tor: needs NPTL threads

Fixes:

  http://autobuild.buildroot.org/results/f09/f09af8dd0d85bc6137a0c2f26cbe62686767b957/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-generic: sanitise FOO_OVERRIDE_SRCDIR
Yann E. MORIN [Sun, 28 Jun 2015 12:27:29 +0000 (14:27 +0200)]
core/pkg-generic: sanitise FOO_OVERRIDE_SRCDIR

In case FOO_OVERRIDE_SRCDIR has trailing spaces, like so:
    FOO_OVERRIDE_SRCDIR = /path/to/sources\x20

we would end up with a rsync command like so:
    rsync -au /path/to/sources / /path/to/build/foo

which would effectively rsync the whole vfs, eventually filling the
whole disk... :-(

So, just qstrip the variable before use.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-luarocks: fix top-level parallel makefile support
Fabio Porcedda [Wed, 1 Jul 2015 08:10:47 +0000 (10:10 +0200)]
pkg-luarocks: fix top-level parallel makefile support

In the *-install-target phase the manifest file is being updated, if multiply packages try to update it they fail.

To avoid multiple access to the manifest file use flock to sync
multiple luarocks packages.

e.g. installing three luarocks packages:
make lua-cjson-build lua-coat-build lua-coatpersistent-build
make lua-cjson lua-coat lua-coatpersistent -j

Fix error:
Updating manifest for /home/tetsuya/buildroot/br2/output/target/usr/lib/luarocks/rocks
No existing manifest. Attempting to rebuild...

Error: rock_manifest file not found for lua-coat 0.9.1-1 - not a LuaRocks 2 tree?

[Thomas: get rid of LUAROCKS_RUN, and use LUAROCKS_RUN_ENV +
LUAROCKS_RUN_CMD everywhere.]

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackages: fix and improve support for top-level parallel make
Fabio Porcedda [Wed, 1 Jul 2015 08:10:46 +0000 (10:10 +0200)]
packages: fix and improve support for top-level parallel make

The boost and jack2 packages fail to build when PARALLEL_JOBS is empty
so instead of using an empty PARALLEL_JOBS don't use it in the MAKE
variable when top-level parallel make is being used.

To simplify the use of top-level parallel make, check the MAKEFLAGS
variable to know automatically if the -j option is being used, also use
the "=" operator instead of the ":=" operator because the MAKEFLAGS
variable can be checked only in a "recursively expanded variable".
The "override" keyword must be used in order to change the automatic
variable "MAKE".

When the top-parallel make is being used the sub-make are called without
specifying the "-j" option in order to let GNU make share the job slots
specified in the top make. This is done because GNU make is able
to share the job slots available between each instance of make so if you
want to increase the number of jobs you just need to increase the <jobs>
value in the top make -j<jobs> command.

If we specify the -j<jobs> option in each instance of make, it is less
efficient, e.g. in a processor with 8 cores we specify -j9 in each instance:
the number of processes goes up to 81 because each sub-make can execute
9 processes. The excessive number of processes is not a good thing
because in my tests even -j16 is slower than -j9.
Instead if we don't specify the -j<jobs> option in the sub-make, the top
make share the job slots automatically between each instance, so the
number of process in this examples goes up to 9 that is faster than
using up to 81 processes.

e.g. when the -j3 option is specified only in the top make:

possible state n. 1:
process 1 - <packagea>-build
process 2 - <packagea>-build
process 3 - <packagea>-build

possible state n. 2:
process 1 - <packagea>-extract
process 2 - <packageb>-configure
process 3 - <packagec>-build

possible state n. 3:
process 1 - <packagea>-build make -j1
process 2 - <packageb>-build make -j1
process 3 - <packagec>-build make -j1

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboard: add support for WarPboard
Arthur LAMBERT [Wed, 1 Jul 2015 09:22:42 +0000 (11:22 +0200)]
board: add support for WarPboard

This is a set of patch to add support for warpboard
(Freescale board based on imx6sl)

The patch contains :
  - defconfig for warpboard
  - linux patches from Fabio Estevam to fix device tree due to last change on
  warpboard schematics (rev 1.12) and to fix kernel imx_v6_v7 defconfig which
  use incorrect hci protocol
  - specific firmware file for warpboard bluetooth
  nvram : brcmfmac4330-sdio.txt

Origin of nvram config file for wifi :
https://github.com/Freescale/meta-fsl-arm-extra

[Thomas: misc rewording/improvements in the README file.]

Signed-off-by: Arthur LAMBERT <arthur@dreem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/acmesystems_aria_g25: new configs
Gustavo Zacarias [Wed, 1 Jul 2015 10:24:53 +0000 (07:24 -0300)]
configs/acmesystems_aria_g25: new configs

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopolarssl: security bump to version 1.2.14
Gustavo Zacarias [Sat, 4 Jul 2015 12:32:30 +0000 (09:32 -0300)]
polarssl: security bump to version 1.2.14

Fixes one remotely-triggerable issue that was found by the Codenomicon
Defensics tool, one potential remote crash and countermeasures against
the "Lucky 13 strikes back" cache-based attack.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoharfbuzz: bump to version 0.9.41
Gustavo Zacarias [Sat, 4 Jul 2015 12:33:04 +0000 (09:33 -0300)]
harfbuzz: bump to version 0.9.41

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoisl: bump to version 0.14.1
Gustavo Zacarias [Sat, 4 Jul 2015 12:33:27 +0000 (09:33 -0300)]
isl: bump to version 0.14.1

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocloog: bump to version 0.18.3
Gustavo Zacarias [Sat, 4 Jul 2015 12:33:26 +0000 (09:33 -0300)]
cloog: bump to version 0.18.3

Patch upstream so remove.
And add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: Define NPM command for other packages to use
Martin Bark [Thu, 2 Jul 2015 09:43:27 +0000 (10:43 +0100)]
package/nodejs: Define NPM command for other packages to use

Other nodejs-related packages will need to call npm with the same set of
arguments as is currently used by the nodejs package itself.

To avoid duplicating this code, set the NPM variable so those packages can
re-use it.

Signed-off-by: Martin Bark <martin@barkynet.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: Fixes for node-pre-gyp
Martin Bark [Thu, 2 Jul 2015 09:43:26 +0000 (10:43 +0100)]
package/nodejs: Fixes for node-pre-gyp

Many packages use node-pre-gyp as a way of deploying precompiled binary
dependencies with fall back to compilation for other targets.  Currently
installing node modules that use node-pre-gyp can fail to use the correct
binary for the target.  This patch fixes this issue by correctly
configuring node-pre-gyp.

Firstly, node-gyp uses the option --arch to determine its target
architecture (which is already set correctly), however, node-pre-gyp uses
--target-arch.  Without this set node.js packages that uses node-pre-gyp
will pick the wrong target architecture.

Secondly, the use of precompiled binary packages is not desirable due to
potential security and licensing issues.  To solve this we use the
--build-from-source option to force node-pre-gyp to always build the C++
code.

This patch passes npm_config_target_arch and npm_config_build_from_source
to npm which causes --target-arch and --build-from-source to be passed to
node-pre-gyp.

I have tested this using the node.js package serialport which now
successfully builds and runs.

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin
Martin Bark [Thu, 2 Jul 2015 09:43:25 +0000 (10:43 +0100)]
package/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin

This patch symlinks all executables in /usr/lib/node_modules/.bin
to /usr/bin so that node.js modules installed using
BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL are accessible from the command line.

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: Add node.js v0.12.5 and set as the default version
Martin Bark [Thu, 2 Jul 2015 09:43:24 +0000 (10:43 +0100)]
package/nodejs: Add node.js v0.12.5 and set as the default version

The version of the V8 JavaScript engine used by node.js v0.12.5 requires
at least an ARMv6 architecture with VFPv2.  For this reason v0.10.39
remains the default for ARMv5 targets, all other targets now default to
v0.12.5.

Signed-off-by: Martin Bark <martin@barkynet.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltrace: enable for mips/mipsel
Vicente Olivert Riera [Fri, 3 Jul 2015 11:05:24 +0000 (13:05 +0200)]
ltrace: enable for mips/mipsel

ltrace was disabled for MIPS due to a build failure on this
architecture. Now that problem has been fixed so we can enable this
package again.

Related:
http://git.buildroot.net/buildroot/commit/?id=dfaa18af00dfcff71a0159adaafb0880e58fa6a1
http://anonscm.debian.org/cgit/collab-maint/ltrace.git/commit/?id=a8ff0ff2b6e6c229f8a9242828fb47f1a5a78967

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>