buildroot.git
7 years agopackage/libnpth: new package
Bernd Kuhls [Sun, 12 Mar 2017 11:33:25 +0000 (12:33 +0100)]
package/libnpth: new package

Needed for gnupg 2.1.x
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=001352077cdc7e402421c77328bea1a052005673

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libgpg-error: bump version to 1.27
Bernd Kuhls [Sun, 12 Mar 2017 11:33:24 +0000 (12:33 +0100)]
package/libgpg-error: bump version to 1.27

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/docker-engine: introduce option to build CLI client statically
Christian Stewart [Sun, 19 Mar 2017 06:20:42 +0000 (02:20 -0400)]
package/docker-engine: introduce option to build CLI client statically

This is useful when bind-mounting the docker client binary into
containers for a docker-in-docker setup.

The Docker CLI communicates with the daemon over a socket. It is
sometimes useful to bind-mount the Docker CLI and socket into containers at
run-time, so that scripts within the containers can call the Docker API
in the host using a client compatible with the host daemon.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomesa3d: Add temporary fixes for etnaviv rendering
Fabio Estevam [Sun, 19 Mar 2017 19:26:59 +0000 (16:26 -0300)]
mesa3d: Add temporary fixes for etnaviv rendering

Currently when running Qt5_CinematicExperience demo from Qt5.8 the
covers of the movies appear with a black box instead of showing the
actual art cover.

Also, the fonts are incorrectly displayed in many cases.

Fix these issues by applying temporary patches to etnaviv.

According to Christian Gmeiner and Wladimir J. van der Laan
the correct solution to this problem is to use shader variants [1].

Use these temporary patches until the correct solution appears in
mesa mainline, so that etaniv users can run Qt successfully for
the time being.

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-March/147948.html

Tested on imx6q-sabresd board.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosysvinit: adjust help text
Baruch Siach [Sun, 19 Mar 2017 17:22:12 +0000 (19:22 +0200)]
sysvinit: adjust help text

sysvinit is far from ultimate init implementation these days. Update the
help text to match reality.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscripts/pycompile: Accomodate latest Python 3 codebase
Andrey Smirnov [Tue, 14 Mar 2017 23:42:27 +0000 (16:42 -0700)]
scripts/pycompile: Accomodate latest Python 3 codebase

As of the version 3.6.0 compile_dir() call will treat its 'quiet'
argument as a full blown integer rather than a boolean value and perform
integer comparison operations such as '<' or '>='.

To account for that convert ReportProblem type to be a true derivative
of built-in int() and override all of int's rich comparison operators in
order to be able to "sniff" for PyCompileError in all possible use-cases

The integer value ReportProblem pretends to be is teremined by class
variable VALUE which is set to 1.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotesseract-ocr: new package
Gilles Talis [Sun, 19 Mar 2017 08:07:53 +0000 (09:07 +0100)]
tesseract-ocr: new package

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Thomas:
 - remove jpeg, tiff and libpng dependencies, they do not seem to be
   used
 - add host-pkgconf as a dependency, since the configure script uses
   PKG_CHECK_MODULES()
 - pass --disable-opencl to explicitly disable OpenCL support
 - add comment to explain why we don't add support for cairo, pango and
   icu as optional dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoleptonica: new package
Gilles Talis [Sun, 19 Mar 2017 08:07:52 +0000 (09:07 +0100)]
leptonica: new package

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pkg-toolchain-external: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:52 +0000 (10:59 +0100)]
package/pkg-toolchain-external: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/uclibc-ng-test: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:51 +0000 (10:59 +0100)]
package/uclibc-ng-test: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qt5multimedia: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:50 +0000 (10:59 +0100)]
package/qt5multimedia: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openocd: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:49 +0000 (10:59 +0100)]
package/openocd: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libscrypt: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:48 +0000 (10:59 +0100)]
package/libscrypt: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytablewriter: bump version to 0.17.2
Vicente Olivert Riera [Mon, 13 Mar 2017 12:20:52 +0000 (12:20 +0000)]
python-pytablewriter: bump version to 0.17.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pathvalidate: bump version to 0.14.1
Vicente Olivert Riera [Mon, 13 Mar 2017 12:20:14 +0000 (12:20 +0000)]
python-pathvalidate: bump version to 0.14.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dataproperty: bump version to 0.17.0
Vicente Olivert Riera [Mon, 13 Mar 2017 12:19:16 +0000 (12:19 +0000)]
python-dataproperty: bump version to 0.17.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopostgresql: bump version to 9.6.2
Vicente Olivert Riera [Mon, 13 Mar 2017 11:52:13 +0000 (11:52 +0000)]
postgresql: bump version to 9.6.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomemcached: bump version to 1.4.35
Vicente Olivert Riera [Mon, 13 Mar 2017 11:43:50 +0000 (11:43 +0000)]
memcached: bump version to 1.4.35

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimagemagick: bump version to 7.0.5-2
Vicente Olivert Riera [Mon, 13 Mar 2017 11:34:23 +0000 (11:34 +0000)]
imagemagick: bump version to 7.0.5-2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoipset: bump version to 6.32
Vicente Olivert Riera [Mon, 13 Mar 2017 11:32:40 +0000 (11:32 +0000)]
ipset: bump version to 6.32

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoharfbuzz: bump version to 1.4.5
Vicente Olivert Riera [Mon, 13 Mar 2017 11:26:41 +0000 (11:26 +0000)]
harfbuzz: bump version to 1.4.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowilink-bt-firmware: new package
Baruch Siach [Mon, 13 Mar 2017 14:35:27 +0000 (16:35 +0200)]
wilink-bt-firmware: new package

Add firmware files for the UART attached Bluetooth on TI Wilink series
wireless connectivity combo chips.

Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Thomas: rename config option so that it has the BR2_PACKAGE_ prefix.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomono: remove nonexistent configure options
Dustin Johnson [Wed, 15 Mar 2017 01:55:07 +0000 (21:55 -0400)]
mono: remove nonexistent configure options

The .mk file for the mono package contains out of date configuration
options. The --disable-gtk-doc option is no longer available in
configure. Moonlight is no longer supported in Mono and the
--with-moonlight=no option is no longer required.

Signed-off-by: Dustin Johnson <dustin.r.johnson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouccp420wlan: new package
Abhimanyu Vishwakarma [Thu, 16 Mar 2017 11:43:20 +0000 (17:13 +0530)]
uccp420wlan: new package

Wifi kernel module and firmware for Imagination explorer RPU

Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Reviewed-by: Rahul Bedarkar <Rahul.Bedarkar@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: indicate linux >= 4.2 dependency, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Fabio Estevam [Sat, 18 Mar 2017 14:21:42 +0000 (11:21 -0300)]
linux-headers: bump 4.{4, 9, 10}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.10.4
Fabio Estevam [Sat, 18 Mar 2017 14:21:41 +0000 (11:21 -0300)]
linux: bump default to version 4.10.4

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoskeleton: fix permissions on /dev/pts/ptmx
Jan Kundrát [Fri, 17 Mar 2017 16:02:54 +0000 (17:02 +0100)]
skeleton: fix permissions on /dev/pts/ptmx

Without this patch, it is not possible to allocate PTYs when a generated
rootfs image with a recent glibc and systemd is launched as a container  on
an RHEL7 system via machinectl/systemd-nspawn. The container boots, but
`machinectl login mycontainer` fails. The culprit is /dev/pts/ptmx with
0000 perms.

On a typical system, there are two `ptmx` devices. One is provided by the
devpts at /dev/pts/ptmx and it is typically not directly accessed from
userspace. The other one which actually *is* opened by processes is
/dev/ptmx. Kernel's documentation says these days that /dev/ptmx should be
either a symlink, or a bind mount of the /dev/pts/ptmx from devpts.

When a container is launched via machinectl/machined/systemd-nspawn, the
container manager prepares a root filesystem so that the container can live
in an appropriate namespace (this is similar to what initramfs is doing on
x86 desktops). During these preparations, systemd-nspawn mounts a devpts
instance using a correct ptmxmode=0666 within the container-to-be's
/dev/pts, and it adds a compatibility symlink at /dev/ptmx. However, once
systemd takes over as an init in the container,
/lib/systemd/systemd-remount-fs applies mount options from /etc/fstab to
all fileystems. Because the buildroot's template used to not include the
ptmxmode=... option, a default value of 0000 was taking an effect which in
turn led to not being able to allocate any pseudo-terminals.

The relevant kernel option was introduced upstream in commit 1f8f1e29 back
in 2009. The oldest linux-headers referenced from buildroot's config is
3.0, and that version definitely has that commit. Mount options that are
not understood by the system are anyway ignored, so backward
compatibility is preserved.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: fix commit title, adjust commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibkcapi: new package
Marcin Nowakowski [Fri, 17 Mar 2017 09:11:19 +0000 (10:11 +0100)]
libkcapi: new package

This package provides a userspace library that allows easy use of crypto
interfaces exposed by the kernel.

A git tip is used instead of the last official release, as autotools
support and cross-compilation fixes have been added only very recently.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas:
 - Change sub-option prompt to "build test applications"
 - Be more specific about the license: the library is under BSD-3c only,
   while the programs are under BSD-3c or GPLv2.
 - Explicitly disable programs when BR2_PACKAGE_LIBKCAPI_APPS is not
   enabled.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5declarative: build and install examples
Gaël PORTAY [Thu, 16 Mar 2017 22:54:25 +0000 (18:54 -0400)]
qt5declarative: build and install examples

This patch builds and installs Qt examples for declarative module.

It proceeds the same way as others Qt5 modules. Samples are installed
under /usr/lib/qt/examples/qml directory (/usr/lib/qt/examples/quick for
quick).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agos6-rc: expose the host variant in menuconfig
Eric Le Bihan [Thu, 16 Mar 2017 21:37:58 +0000 (22:37 +0100)]
s6-rc: expose the host variant in menuconfig

Some users may want to build the s6-rc service database offline using a
post-build script. So make the host variant visible in menuconfig.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibepoxy: reinstate mesa egl cflags patch
Gustavo Zacarias [Wed, 15 Mar 2017 13:23:57 +0000 (10:23 -0300)]
libepoxy: reinstate mesa egl cflags patch

This is still required when building libepoxy against mesa egl without
x11 (GL).

Mesa needs a preprocessor define to avoid including X11 headers and
since this is not forwarded into epoxy.pc for other
libraries/applicatons that link against it it will fail.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoclasspath: xmlj requires threads.
Marcus Hoffmann [Sat, 18 Mar 2017 13:07:07 +0000 (14:07 +0100)]
classpath: xmlj requires threads.

Fixes:

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

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopolarssl: remove unmaintained package
Gustavo Zacarias [Thu, 16 Mar 2017 13:04:34 +0000 (10:04 -0300)]
polarssl: remove unmaintained package

The 1.2.x branch is no longer maintained, so remove it since it's
likely security-vulnerable.

mbedtls is the modern replacement which was renamed from polarssl when
ARM bought them up.
However major releases broke API so polarssl 1.2.x isn't always
interchangeable with polarssl/mbedtls 1.3.x (interim mixed naming
because of new ownership) or newer 2.x series.

Fortunately we don't have any package in the tree that uses polarssl
exclusively.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - Remove entry in DEVELOPERS file for this package. Noticed by Arnout.
 - Remove comment in bctoolbox.mk that no longer makes sense after
   polarssl removal. Noticed by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: bump version to 7.7.3
Martin Bark [Thu, 16 Mar 2017 10:28:30 +0000 (10:28 +0000)]
package/nodejs: bump version to 7.7.3

See https://nodejs.org/en/blog/release/v7.7.3/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowiringpi: bump to version 2.44
Peter Seiderer [Wed, 15 Mar 2017 21:08:28 +0000 (22:08 +0100)]
wiringpi: bump to version 2.44

- rebase 0001-Adjust-for-buildroot-build.patch
- delete 0002-include-asm-ioctl.h-directly-for-_IOC_SIZEBITS.patch
  (all changes are incorporated into wiringpi-2.44)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofakeroot: depend on acl
Arnout Vandecappelle [Fri, 17 Mar 2017 16:06:16 +0000 (17:06 +0100)]
fakeroot: depend on acl

Recent versions of fakeroot have grown support for acl. We don't really
need this since we don't use acls in Buildroot. However, it turns out
that "cp -a" does something funky with acls, with the result that
fakeroot without acl support looses the ownership and permissions on
the copied file. "cp -a" may be (is even likely to be) used in a
BR2_ROOTFS_POST_FAKEROOT_SCRIPT, so we need to support this.

Note that host-acl itself depends on host-attr, so this pulls in two
extra packages in each build. The impact on build time is about 10s.

Cc: Andreas Naumann <dev@andin.de>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoacl: add host variant
Arnout Vandecappelle [Fri, 17 Mar 2017 16:06:15 +0000 (17:06 +0100)]
acl: add host variant

We need host-acl to fix issues with fakeroot.

Unfortunately, all the hacks (except the .la fixup) have to be repeated.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Andreas Naumann <dev@andin.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoacl: make sure build picks up TARGET_CFLAGS
Arnout Vandecappelle [Fri, 17 Mar 2017 16:06:14 +0000 (17:06 +0100)]
acl: make sure build picks up TARGET_CFLAGS

The acl build system doesn't use automake, therefore it is broken. It
doesn't use the CFLAGS passed by configure. Work around this by passing
CFLAGS in the environment. The makefiles append to CFLAGS, so this
works.

This issue hasn't led to build failures, but it is visible e.g. when
stack protector is enabled: the stack protector options are not applied
to acl. Also debug and optimisation options aren't applied.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gdb: fix gnulib issue with musl and uClibc toolchains (finally)
Romain Naour [Thu, 16 Mar 2017 22:27:18 +0000 (23:27 +0100)]
package/gdb: fix gnulib issue with musl and uClibc toolchains (finally)

The previous fix [1] reinroduced the issue fixed by [2].
So keep gl_cv_func_gettimeofday_clobber=no in GDB_CONF_ENV
and GDB_MAKE_ENV.

Fixes:
http://autobuild.buildroot.net/results/ec6/ec60d436bd34a4f37b664e4124d7f0c96e90a1be

[1] faf38b78aee613a732f96d5022a2894efd024a25
[2] 560334bb2a46a77081a3944d092df7732dfca432

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouboot-tools: pass empty CFLAGS on invocation of libfdt/setup.py
Max Filippov [Fri, 17 Mar 2017 16:42:42 +0000 (09:42 -0700)]
uboot-tools: pass empty CFLAGS on invocation of libfdt/setup.py

When building u-boot tools in cross-build environment CFLAGS environment
variable set up for target is taken into an account when building code
for host. Make it empty on invocation of python.

This fixes the following build errors when cross-compiling for xtensa:

  cc1: error: unrecognized command line option "-mlongcalls"
  cc1: error: unrecognized command line option "-mauto-litpools"

Fixes:
  http://autobuild.buildroot.net/results/439d6dacfaa7f9244bd15ca04990c12a25ff4777
  http://autobuild.buildroot.net/results/e2fe36c20e75d01a01a6659ef11e888965a843b9
  http://autobuild.buildroot.net/results/6f37ff347822a76571a9fe9cf3c491fe7e4164fa

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: disable display of ClueCon banner in fs_cli
Bernd Kuhls [Fri, 17 Mar 2017 19:23:06 +0000 (20:23 +0100)]
package/freeswitch: disable display of ClueCon banner in fs_cli

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxlib_libXv: correct license info
Peter Korsgaard [Thu, 16 Mar 2017 15:31:46 +0000 (16:31 +0100)]
xlib_libXv: correct license info

The license is actually closer to ISC than MIT, E.G.:

https://opensource.org/licenses/ISC
vs
https://opensource.org/licenses/MIT

>From COPYING:
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or MIT not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.

E.G.  this is very similar to the normal ISC text which has been extended
with a BSD-3c style advertisinc clause.  Both are permissive licenses, but
it is more correct to call it ISC-like.

Notice: As pointed out by Rahul Bedarkar, this may actually be more closely
related to the OpenBSD template license:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/misc/license.template?rev=HEAD

But that is also based on the ISC license, so calling it ISC-like is still
correct.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/cairo: update license information
Romain Naour [Thu, 16 Mar 2017 23:02:06 +0000 (00:02 +0100)]
package/cairo: update license information

As noticed by Rahul Bedarkar, the cairo library is LGPLv2.1 only
(not LGPLv2.1+) or MPLv1.1.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocjson: bump to version 1.4.2
Fabrice Fontaine [Fri, 17 Mar 2017 06:27:49 +0000 (07:27 +0100)]
cjson: bump to version 1.4.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibsamplerate: bump to version 0.1.9
Jörg Krause [Thu, 16 Mar 2017 14:32:01 +0000 (15:32 +0100)]
libsamplerate: bump to version 0.1.9

libsamplerate is relicensed under the 2 clause BSD license.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agophp: bump version to 7.1.3
Vicente Olivert Riera [Thu, 16 Mar 2017 15:53:33 +0000 (15:53 +0000)]
php: bump version to 7.1.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodado: bump to version 1.8.0
Francois Perrad [Thu, 16 Mar 2017 16:36:54 +0000 (17:36 +0100)]
dado: bump to version 1.8.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotcpreplay: patch security issue
Baruch Siach [Thu, 16 Mar 2017 18:41:23 +0000 (20:41 +0200)]
tcpreplay: patch security issue

Add upstream patch for CVE-2017-6429: Buffer overflow when reading crafted
pcap file with large packets.

https://github.com/appneta/tcpreplay/issues/278

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotaglib: update homepage link
Rahul Bedarkar [Thu, 16 Mar 2017 11:54:01 +0000 (17:24 +0530)]
taglib: update homepage link

Avoid redirect.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/manual: document MPL licenses
Rahul Bedarkar [Thu, 16 Mar 2017 11:54:00 +0000 (17:24 +0530)]
docs/manual: document MPL licenses

Many packages are provided under MPL v1.1 and v2.0. Document it under
License abbreviations section.

Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/manual: document ISC license
Rahul Bedarkar [Thu, 16 Mar 2017 11:53:59 +0000 (17:23 +0530)]
docs/manual: document ISC license

Many packages are provided under ISC license. Document it under License
abbreviations section.

Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojson-glib: bump version to 1.2.6
Vicente Olivert Riera [Wed, 15 Mar 2017 15:49:43 +0000 (15:49 +0000)]
json-glib: bump version to 1.2.6

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolttng-tools: bump version to 2.9.4
Vicente Olivert Riera [Wed, 15 Mar 2017 15:40:57 +0000 (15:40 +0000)]
lttng-tools: bump version to 2.9.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocryptsetup: bump version to 1.7.4
Vicente Olivert Riera [Wed, 15 Mar 2017 15:37:12 +0000 (15:37 +0000)]
cryptsetup: bump version to 1.7.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agombedtls: security bump to verison 2.4.2
Gustavo Zacarias [Wed, 15 Mar 2017 18:08:36 +0000 (15:08 -0300)]
mbedtls: security bump to verison 2.4.2

Fixes:
CVE-2017-2784 - Freeing of memory allocated on stack when validating a
public key with a secp224k1 curve.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomariadb: security bump to version 10.1.22
Peter Korsgaard [Wed, 15 Mar 2017 10:48:32 +0000 (11:48 +0100)]
mariadb: security bump to version 10.1.22

Fixes:

CVE-2017-3302 - C client library for MySQL (libmysqlclient.so) has
use-after-free defect which can cause crash of applications using that MySQL
client.

CVE-2017-3313 - Difficult to exploit vulnerability allows low privileged
attacker with logon to the infrastructure where MySQL Server executes to
compromise MySQL Server.  Successful attacks of this vulnerability can
result in unauthorized access to critical data or complete access to all
MySQL Server accessible data.

And a number of important, but non-security related fixes:

MDEV-11842: Fix a 10.1.21 regression with failed INSERT, BEFORE INSERT
triggers, and columns with no default value

MDEV-12075: Fix a 10.1.21 regression in the InnoDB data file extension code

For details, see the release notes:
https://mariadb.com/kb/en/mariadb/mariadb-10122-release-notes/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojasper: add upstream security fix
Peter Korsgaard [Tue, 14 Mar 2017 22:58:22 +0000 (23:58 +0100)]
jasper: add upstream security fix

Fixes a NULL Pointer Dereference jp2_encode:

https://github.com/mdadams/jasper/issues/120

No CVE assigned yet.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojasper: add upstream security fix for CVE-2017-6850
Peter Korsgaard [Tue, 14 Mar 2017 22:58:21 +0000 (23:58 +0100)]
jasper: add upstream security fix for CVE-2017-6850

Fixes a NULL pointer dereference in jp2_cdef_destroy:

https://blogs.gentoo.org/ago/2017/01/25/jasper-null-pointer-dereference-in-jp2_cdef_destroy-jp2_cod-c/

https://github.com/mdadams/jasper/issues/112

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopax-utils: bump version to 1.2.2
Peter Korsgaard [Tue, 14 Mar 2017 23:20:28 +0000 (00:20 +0100)]
pax-utils: bump version to 1.2.2

Now the code checks for PR_SET_NO_NEW_PRIVS before using it, so the kernel
headers dependency can be removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Fabio Estevam [Wed, 15 Mar 2017 11:07:38 +0000 (08:07 -0300)]
linux-headers: bump 4.{4, 9, 10}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux: bump default to version 4.10.3
Fabio Estevam [Wed, 15 Mar 2017 11:07:37 +0000 (08:07 -0300)]
linux: bump default to version 4.10.3

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agorpm: bump version to 4.13.0.1 (security)
Vicente Olivert Riera [Mon, 13 Mar 2017 12:31:20 +0000 (12:31 +0000)]
rpm: bump version to 4.13.0.1 (security)

Security fixes:
 - Fix several out of bounds reads in the OpenPGP parser
 - Fix handling of OpenPGP reserved tag (should be rejected)
 - Fix various crashes from malformed packages with invalid tags

Release notes:
  http://rpm.org/wiki/Releases/4.13.0.1

This patch also switches from GitHub to rpm.org since the last one seems
to be more up-to-date.

[Peter: use RPM_VERSION_MAJOR as suggested by Jerzy Grzegorek]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoscreen: bump version to 4.5.1
Vicente Olivert Riera [Mon, 13 Mar 2017 12:37:53 +0000 (12:37 +0000)]
screen: bump version to 4.5.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomoarvm: bump version to 2017.02
Vicente Olivert Riera [Mon, 13 Mar 2017 12:48:27 +0000 (12:48 +0000)]
moarvm: bump version to 2017.02

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x and 3.12.x series
Vicente Olivert Riera [Mon, 13 Mar 2017 11:41:44 +0000 (11:41 +0000)]
linux-headers: bump 4.{4, 9, 10}.x and 3.12.x series

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoirssi: bump version to version 1.0.2
Peter Korsgaard [Tue, 14 Mar 2017 15:00:39 +0000 (16:00 +0100)]
irssi: bump version to version 1.0.2

Notice that this fixes a security issue:

CWE-416 (use after free condition during netjoin processing). No CVE
assigned yet:

https://irssi.org/security/irssi_sa_2017_03.txt

But the 0.8.x series is not believed to be vulnerable to this specific
issue.  From the advisory:

Affected versions
-----------------

Irssi up to and including 1.0.1

We believe Irssi 0.8.21 and prior are not affected since a different
code path causes the netjoins to be flushed prior to reaching the use
after free condition.

Openssl is no longer optional, so select it and drop the enable/disable
handling.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agokmscube: update the project URL
Fabio Estevam [Mon, 13 Mar 2017 18:53:07 +0000 (15:53 -0300)]
kmscube: update the project URL

kmscube repository has been moved to freedesktop.org, so
update the URL accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokmscube: Remove the manually creation of m4 directory
Fabio Estevam [Mon, 13 Mar 2017 18:24:25 +0000 (15:24 -0300)]
kmscube: Remove the manually creation of m4 directory

Since kmscube upstream commit a2dc60cf05b704 ("Add m4/.gitignore")
there is no need to manually create the m4 directory anymore, so
simply remove KMSCUBE_POST_PATCH_HOOKS.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokmscube: bump version to fix build failures
Fabio Estevam [Mon, 13 Mar 2017 16:26:21 +0000 (13:26 -0300)]
kmscube: bump version to fix build failures

Bump kmscube version to fix build failures such as this one seen on sparc64:
http://autobuild.buildroot.net/results/d7e/d7e82c67e0b04b0aea990bfb19dd6e4fd914bebe/build-end.log

,and also the one reported by Gary Bisson with Linaro 2017.02 ARM
gnueabihf toolchain.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibiio: explicitly disable matlab bindings
Matthew Fornero [Mon, 13 Mar 2017 19:35:02 +0000 (15:35 -0400)]
libiio: explicitly disable matlab bindings

If building on a machine with MATLAB installed, the MATLAB bindings will
default to ON, which is not the desired behavior for a cross build.

The bindings are designed to be called from within MATLAB, and we are
not currently running MATLAB on buildroot-generated targets.

This does not preclude the use of the bindings from a host connecting
over the network backend (assuming libiio on the host has the bindings
enabled).

Signed-off-by: Matthew Fornero <mfornero@mathworks.com>
Acked-By: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouboot: improve BR2_TARGET_UBOOT_SPL_NAME help text
Jagan Teki [Tue, 14 Mar 2017 11:01:05 +0000 (16:31 +0530)]
uboot: improve BR2_TARGET_UBOOT_SPL_NAME help text

SPL is the name used for spl on i.MX6, so update the same on
BR2_TARGET_UBOOT_SPL_NAME help text.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[Thomas: rewrap Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgtk3: bump version to 3.22.10
Vicente Olivert Riera [Tue, 14 Mar 2017 11:46:28 +0000 (11:46 +0000)]
libgtk3: bump version to 3.22.10

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgtk3: remove non-existent configure options
Vicente Olivert Riera [Tue, 14 Mar 2017 11:46:26 +0000 (11:46 +0000)]
libgtk3: remove non-existent configure options

>From config.log:

configure: WARNING: unrecognized options: --disable-doc, --disable-docs,
--disable-documentation, --with-xmlto, --with-fop, --enable-ipv6,
--enable-gtk2-dependency, --disable-introspection

Remove non-existent --enable-gtk2-dependency and --disable-introspection
configure options from libgtk3.mk.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libscrypt: add patch to fix CFLAGS/LDFLAGS passing
Stefan Sørensen [Tue, 14 Mar 2017 08:36:08 +0000 (09:36 +0100)]
package/libscrypt: add patch to fix CFLAGS/LDFLAGS passing

Because Buildroot passes its own CFLAGS/LDFLAGS, this was overriding
the ones from the package Makefile, leading to build failures because
-fPIC was no longer being passed.

This commit fixes that by adding a patch that allows to keep the
package CFLAGS while passing additional ones through the make command
line. While doing this, it also removes a few hardcoded optimization
and hardening flags, leaving it to Buildroot to decide whether they
should be passed or not. This makes the workaround for stack protector
no longer needed.

Fixes:

  http://autobuild.buildroot.net/results/b25/b256d003d841e492da073788198203e7cbc834cf/

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
[Thomas: tweak commit log and patch description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: bump version to 7.7.2
Martin Bark [Tue, 14 Mar 2017 12:06:18 +0000 (12:06 +0000)]
package/nodejs: bump version to 7.7.2

See https://nodejs.org/en/blog/release/v7.7.2/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: remove 0.10.x support
Martin Bark [Tue, 14 Mar 2017 12:06:17 +0000 (12:06 +0000)]
package/nodejs: remove 0.10.x support

nodejs 0.10.x is now end of life and is no longer maintained so remove it.
See https://github.com/nodejs/LTS

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozmqpp: update license
Rahul Bedarkar [Tue, 14 Mar 2017 14:29:37 +0000 (19:59 +0530)]
zmqpp: update license

Since version 4.1.2, zmqpp is provided under MPLv2.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: enable uBoot image type for xtensa kernel
Max Filippov [Tue, 14 Mar 2017 18:30:52 +0000 (11:30 -0700)]
linux: enable uBoot image type for xtensa kernel

Starting with the release 2016.09 xtensa architecture is supported by
the U-Boot. Enable uimage target in xtensa linux kernel.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/qemu: update xtensa linux to 4.9
Max Filippov [Tue, 14 Mar 2017 18:58:56 +0000 (11:58 -0700)]
configs/qemu: update xtensa linux to 4.9

Linux configs are missing memmap= option that is required for xtfpga
boards configured w/o device tree starting with linux-4.9. Add it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokeepalived: fix build with musl
Baruch Siach [Tue, 14 Mar 2017 19:33:01 +0000 (21:33 +0200)]
keepalived: fix build with musl

Apply upstream patch ("keepalived/ip_vs: fix integer types") removing non
standard integer types that musl does not provide.

Fixes:
http://autobuild.buildroot.net/results/503/5038874be985ad2b6588150071ced0d6589af601/
http://autobuild.buildroot.net/results/6e9/6e9f5885de99847a24cc1c3a17adf0cd1606b316/
http://autobuild.buildroot.net/results/b61/b61c2cfa949c2a20f0702522857d78651207e6d2/

Cc: Ilias Apalodimas <apalos@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoolimex_a20_olinuxino_lime: bump versions
Francois Perrad [Tue, 14 Mar 2017 07:19:54 +0000 (08:19 +0100)]
olimex_a20_olinuxino_lime: bump versions

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoolimex_imx233_olinuxino: bump versions
Francois Perrad [Tue, 14 Mar 2017 07:19:53 +0000 (08:19 +0100)]
olimex_imx233_olinuxino: bump versions

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotslib: update to 1.7
Martin Kepplinger [Mon, 13 Mar 2017 17:09:27 +0000 (18:09 +0100)]
tslib: update to 1.7

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoser2net: bump version to 3.4
Vicente Olivert Riera [Mon, 13 Mar 2017 12:36:17 +0000 (12:36 +0000)]
ser2net: bump version to 3.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoti-uim: add license file
Baruch Siach [Mon, 13 Mar 2017 14:42:13 +0000 (16:42 +0200)]
ti-uim: add license file

In the absence of full license text file, take a short source file that
mentions the license in its comment header.

[Peter: add DEVELOPERS entry]
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agouboot-tools: bump to version 2017.03
Fabio Estevam [Mon, 13 Mar 2017 19:44:23 +0000 (16:44 -0300)]
uboot-tools: bump to version 2017.03

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoboot/uboot: bump to version 2017.03
Fabio Estevam [Mon, 13 Mar 2017 19:44:22 +0000 (16:44 -0300)]
boot/uboot: bump to version 2017.03

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibscrypt: New package
Stefan Sørensen [Thu, 9 Feb 2017 13:45:55 +0000 (14:45 +0100)]
libscrypt: New package

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
[Thomas:
 - Add entry to DEVELOPERS file for the new package
 - Add dependency on !BR2_STATIC_LIBS, because the Makefile
   unconditionally builds a shared library
 - Use the "github" helper function to define <pkg>_SITE, get rid of
   <pkg>_SOURCE.
 - License is BSD-2c, not just BSD.
 - Add <pkg>_LICENSE_FILES variable.
 - Define LIBSCRYPT_DISABLE_STACK_PROTECTOR inside the
   BR2_TOOLCHAIN_HAS_SSP condition, and move from a
   LIBSCRYPT_POST_EXTRACT_HOOKS to a LIBSCRYPT_POST_PATCH_HOOKS.
 - Pass $(TARGET_CONFIGURE_OPTS) instead of just passing CC.
 - Pass $(TARGET_MAKE_ENV) when calling $(MAKE).]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodomoticz: fix build on powerpc64le
Fabrice Fontaine [Mon, 13 Feb 2017 17:24:51 +0000 (18:24 +0100)]
domoticz: fix build on powerpc64le

There is an issue with powerpc64le and boost::uuids::random_generator on the
following line of code (from include/boost/uuid/seed_rng.hpp):
sha.process_bytes( (unsigned char const*)&std::rand, sizeof( void(*)() ) )
This line "inspects the first couple bytes (here eight) of the std::rand
function to seed some rng. Due to the implementation of process_bytes and
inlining happening, it seems that one of the loops therein uses &rand-1 as
some boundary, compiling with -O0 makes that reloc come out as 'rand + 0' and
the link will succeed."
See: https://bugzilla.suse.com/show_bug.cgi?id=955832#c7

Fixes:
 - http://autobuild.buildroot.org/results/454c0ea393615bae2d1b44be9920f25b5c49fc33

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: remove 3.18.x and 4.8.x series
Gustavo Zacarias [Thu, 2 Mar 2017 20:18:29 +0000 (17:18 -0300)]
linux-headers: remove 3.18.x and 4.8.x series

These aren't supported upstream any more so remove the options and add
them to legacy handling.

Switch older deprecations that used 3.18.x to 3.12.x

Remove stray version strings as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: Bump ARC tools to arc-2017.03-eng008
Zakharov Vlad [Fri, 3 Mar 2017 12:47:21 +0000 (15:47 +0300)]
toolchain: Bump ARC tools to arc-2017.03-eng008

This commit bumps ARC toolchain to arc-2017.03-eng008.

Please note that it is an engineering build and it might have all kinds
of breakages, please don't use it for production builds.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibnl: bump to version 3.2.29
Baruch Siach [Sun, 12 Mar 2017 17:18:06 +0000 (19:18 +0200)]
libnl: bump to version 3.2.29

Include upstream equivalent patch to fix build with older kernel headers. This
fixes build failures caused by the previous (reverted) version bump:
http://autobuild.buildroot.net/results/563/563f46e9a11f9e3b174a4e1308444f284d1b3421/
http://autobuild.buildroot.net/results/970/970463b628d9c81d5e217e92a455d2e05d0aa89e/
http://autobuild.buildroot.net/results/cee/ceea635a9d620398cbcd44ccb859b07bf6682780/

Add libc-compat.h patch to make it work for musl libc.

Add another upstream patch to fix both missing strerror_l() implementation,
and optionally missing locale support in uClibc-ng:
http://autobuild.buildroot.net/results/dce/dce5d21c27df57ac96d9302752dd1802e7a9786b/
http://autobuild.buildroot.net/results/c4b/c4b1c3f396ddd1d9242aed0953558606f929d57d/
http://autobuild.buildroot.net/results/44d/44dd3db6cdda4646fa12ccf243d6aca16bed3c90/

Add host-pkgconf dependency, since configure.ac uses PKG_CHECK_MODULES.

Add optional dependency on the 'check' package.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobtrfs-progs: fix build with musl
Baruch Siach [Sun, 12 Mar 2017 17:57:31 +0000 (19:57 +0200)]
btrfs-progs: fix build with musl

Add a patch adding the required limits headers.

Fixes:
http://autobuild.buildroot.net/results/dd5/dd556f2adc449c4961ff425c52fb78c5279bfae7/
http://autobuild.buildroot.net/results/7b5/7b5ccd88cdedd02d7fe77d4a07dd88d4045f4284/
http://autobuild.buildroot.net/results/ab1/ab12d07c73e3f8af102f00bd2e7124f6c6a076c3/

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-psutil: enable musl build
Baruch Siach [Sun, 12 Mar 2017 18:49:33 +0000 (20:49 +0200)]
python-psutil: enable musl build

The sysinfo.h header conflict issue is now fixed since upstream commit
c414ecd9b9151 ("Fix build with musl libc"). Enable build with musl. Enable
reverse dependencies as well.

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-psutil: bump to version 5.2.0
Baruch Siach [Sun, 12 Mar 2017 18:49:32 +0000 (20:49 +0200)]
python-psutil: bump to version 5.2.0

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck: bump to version 0.11.0
Baruch Siach [Sun, 12 Mar 2017 20:30:49 +0000 (22:30 +0200)]
check: bump to version 0.11.0

Upstream moved to github. Update homepage and download links.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-vaapi: add optional encoder support
Adam Duskett [Wed, 1 Feb 2017 13:18:54 +0000 (08:18 -0500)]
gst1-vaapi: add optional encoder support

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
[Thomas: pass explicit --enable-encoders.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-vaapi: new package
Adam Duskett [Wed, 1 Feb 2017 13:18:53 +0000 (08:18 -0500)]
gst1-vaapi: new package

gstreamer-vaapi consists in a collection of VA-API based plugins for
GStreamer and helper libraries.  These libraries are used for hardware
decoding and encoding of several video formats.

decoding formats:
JPEG, MPEG-2, MPEG-4:2, H.264 AVC, H.264 MVC, VP8, VC-1, WMV3, and HEVC.

encoding formats:
MPEG-2, H.264 AVC, H.264 MVC, JPEG, VP8, HEVC

The package won't compile without at least one renderer enabled, so I
chose to enable DRM by default, as X11, GLX, and wayland are heavy
handed with the dependencies.  As such, I have disabled every option
defaulting to yes except for DRM for the first patch.

Also, these codecs are only for x86 and require a Intel CPU (See Hardware
Requirements on line 82 of the README file.)

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
[Thomas:
 - Add entry to DEVELOPERS file.
 - Add BR2_TOOLCHAIN_HAS_THREADS dependency to the main Config.in
   option.
 - Add BR2_PACKAGE_HAS_UDEV dependency to the main Config.in option.
 - Add comments about the BR2_STATIC_LIBS config option.
 - Rewrap Config.in help text and removing trailing tabs/spaces.
 - Remove restriction to i386/x86-64
 - Add patch to fix build with uClibc.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mplayer: add optional support for pulseaudio
Bernd Kuhls [Sun, 12 Mar 2017 11:44:57 +0000 (12:44 +0100)]
package/mplayer: add optional support for pulseaudio

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python: add optional support for libintl
Bernd Kuhls [Sun, 12 Mar 2017 14:06:05 +0000 (15:06 +0100)]
package/python: add optional support for libintl

Python links to gettext when available:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/python2.7/lib-dynload/_locale.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libintl.so.8]
 0x00000001 (NEEDED)                     Shared library: [libpython2.7.so.1.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

In comparison the same library compiled without gettext:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/python2.7/lib-dynload/_locale.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libpython2.7.so.1.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

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