buildroot.git
7 years agolvm2: disable build with uClibc-ng
Baruch Siach [Thu, 30 Mar 2017 05:29:37 +0000 (08:29 +0300)]
lvm2: disable build with uClibc-ng

lvm2 needs floorl() amnd nearbyintl(), which uClibc does not provide
for all architectures.

The simplest solution is to just disable lvm2 for uClibc.

Fixes:
  http://autobuild.buildroot.net/results/733/733c4d52f22d5f104b835d0f1c64e8a555ec1339/
  http://autobuild.buildroot.net/results/9ce/9ce371b59f0113d10261ede919a7e4f2ce377b3c/
  http://autobuild.buildroot.net/results/e48/e48fbec55160428b84c8d3b2ca957e8f6432c8e1/

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: adjust commit log, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: fix autoreconf
Yann E. MORIN [Sun, 2 Apr 2017 17:50:29 +0000 (19:50 +0200)]
package/libdrm: fix autoreconf

To properly autoreconf, the xorg macros, from host-xutil_util-macros,
are needed.

Fixes:
    http://autobuild.buildroot.org/results/2e8/2e887c25b22bd36eab36ff361645306c8ddb79aa/
    http://autobuild.buildroot.org/results/7c0/7c0050d63a1d34eecb6d16e2654369cea561707a/
    http://autobuild.buildroot.org/results/2ef/2ef3d6d74c56632c012b85e05af6eaf0259b72c9/
    [...]

(Thanks Romain for confirming the fix on IRC! ;-) )

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: fix linking of etnaviv_cmd_stream_test
Bernd Kuhls [Sun, 2 Apr 2017 10:27:30 +0000 (12:27 +0200)]
package/libdrm: fix linking of etnaviv_cmd_stream_test

Fixes
http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/
http://autobuild.buildroot.net/results/c33/c3330ef9a8cadb46bbd31c5b14ece34f192133e3/
http://autobuild.buildroot.net/results/d18/d181bd044246646732a14815aae08337b0b5eecf/
http://autobuild.buildroot.net/results/4f5/4f5872211812c7e191cffcf41cab998fc20c0d20/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add missing autoreconf=yes.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/synergy: bump to version 1.8.8 to fix build errors
Pieterjan Camerlynck [Sun, 2 Apr 2017 08:36:16 +0000 (10:36 +0200)]
package/synergy: bump to version 1.8.8 to fix build errors

Building synergy on sparc, nios2, mipsel and mips64el would fail with
the following errors:
  src/lib/ipc/IpcClientProxy.cpp: In member function 'void IpcClientProxy::send(const IpcMessage&)':
  src/lib/ipc/IpcClientProxy.cpp:150:59: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [-Werror]
     ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
                                                             ^
  In file included from src/lib/ipc/IpcClientProxy.cpp:23:0:
  src/lib/ipc/../synergy/ProtocolUtil.h:82:16: note: candidate 1: static void ProtocolUtil::writef(void*, const char*, va_list)
    static void   writef(void*, const char* fmt, va_list);
                  ^
  src/lib/ipc/../synergy/ProtocolUtil.h:53:16: note: candidate 2: static void ProtocolUtil::writef(synergy::IStream*, const char*, ...)
    static void   writef(synergy::IStream*,
                  ^
  src/lib/ipc/../synergy/ProtocolUtil.h:82:16: error: 'static void ProtocolUtil::writef(void*, const char*, va_list)' is private
    static void   writef(void*, const char* fmt, va_list);
                  ^
  src/lib/ipc/IpcClientProxy.cpp:150:59: error: within this context
     ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
                                                             ^
  At global scope:
  cc1plus: error: unrecognized command line option '-Wno-unused-local-typedef' [-Werror]
  cc1plus: all warnings being treated as errors

Fixed by upstream commits:
  https://github.com/symless/synergy/commit/c31f908fb283dadc1a34856796e2d7a9df7bbb77
  https://github.com/symless/synergy/commit/2643cea67bed960a3ae57ba881cd06f52843fa62

Fixes:
  http://autobuild.buildroot.net/results/dc40671874aac9ad491bd4c7aa57eb1c53484492
  http://autobuild.buildroot.net/results/a37905b0c93aa0dc891a85be1701e51cf2988cbe
  http://autobuild.buildroot.net/results/611895e29faba0b35b2b27005a5142192ed63fd8
  http://autobuild.buildroot.net/results/7bdd4428c1335593b04a18ce8e9705b0bc932484

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/dc3dd: fix build with NLS enabled
Yann E. MORIN [Sun, 2 Apr 2017 09:04:02 +0000 (11:04 +0200)]
package/dc3dd: fix build with NLS enabled

Fixes:
    http://autobuild.buildroot.org/results/56e/56eda8289118782de7b8b33f956bfb33b159b86a/
    http://autobuild.buildroot.org/results/b8b/b8b59ab00790ff1b29fb72852e05ef8b402f41ec/
    http://autobuild.buildroot.org/results/ef5/ef581cc3cae46a6ed08c321b575b71e6a384cced/
    [...and a lot more...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibmaxminddb: new package
Fabrice Fontaine [Sun, 12 Feb 2017 20:26:56 +0000 (21:26 +0100)]
libmaxminddb: new package

C library for the MaxMind DB file format

The libmaxminddb library provides a C library for reading
MaxMind DB files, including the GeoIP2 databases from MaxMind.
This is a custom binary format designed to facilitate fast
lookups of IP addresses while allowing for great flexibility
in the type of data associated with an address.

The MaxMind DB format is an open format. The spec is available
at http://maxmind.github.io/MaxMind-DB/. This spec is licensed
under the Creative Commons Attribution-ShareAlike 3.0 Unported
License.

http://maxmind.github.io/libmaxminddb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: add entry in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/bluez-tools: new package
Bernd Kuhls [Thu, 9 Feb 2017 21:26:16 +0000 (22:26 +0100)]
package/bluez-tools: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add licensing information.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: add version to license string
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:31 +0000 (00:36 +0530)]
php: add version to license string

As per LICENSE file, php uses PHP license version 3.01.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for EPL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:30 +0000 (00:36 +0530)]
package: use SPDX short identifier for EPL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-nfc: use SPDX short identifier for EUPL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:29 +0000 (00:36 +0530)]
python-nfc: use SPDX short identifier for EUPL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agontp: use SPDX short identifier for ntp license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:28 +0000 (00:36 +0530)]
ntp: use SPDX short identifier for ntp license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowpan-tools: correct license name
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:27 +0000 (00:36 +0530)]
wpan-tools: correct license name

iw license is ISC.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for ZPL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:26 +0000 (00:36 +0530)]
package: use SPDX short identifier for ZPL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibraw: use SPDX short identifier for CDDL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:25 +0000 (00:36 +0530)]
libraw: use SPDX short identifier for CDDL license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for libpng license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:24 +0000 (00:36 +0530)]
package: use SPDX short identifier for libpng license

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for libpng license is Libpng.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for OFL license
Rahul Bedarkar [Sat, 1 Apr 2017 19:06:23 +0000 (00:36 +0530)]
package: use SPDX short identifier for OFL license

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for OFLv1.0/OFLv1.1 is OFL-1.0/OFL-1.1.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/OFLv([1]\.[0-1])/OFL-\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.0.3
Bernd Kuhls [Sat, 1 Apr 2017 19:08:23 +0000 (21:08 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 17.0.3

Switched hash to sha512.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.76
Bernd Kuhls [Sat, 1 Apr 2017 19:08:22 +0000 (21:08 +0200)]
package/libdrm: bump version to 2.4.76

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 1 Apr 2017 19:08:21 +0000 (21:08 +0200)]
package/tvheadend: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopacakge/dieharder: fix autoreconf
Yann E. MORIN [Sat, 1 Apr 2017 19:09:09 +0000 (21:09 +0200)]
pacakge/dieharder: fix autoreconf

When dieharder was committed, Thomas removed the hook to cleanup the m4
files, on the reason that autoreconf would recreate the broken symlinks
(and because the hook was too complex).

It turns out the hook was needed: if the symbolic links are
broken (libtool not installed on the host machine), autoreconf fails to
do its job.

Reinstate a simpler hook.

Fixes:
    http://autobuild.buildroot.org/results/a92/a92e9a74b0966f8f0bc4080f918d5ddf4c1ec0ce/
    http://autobuild.buildroot.org/results/a4f/a4f6647f69ad89ff1ffe5f1331281fb7a57ade4e/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Julien Viard de Galbert <julien@vdg.name>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodieharder: new package
Julien Viard de Galbert [Wed, 8 Feb 2017 21:37:52 +0000 (22:37 +0100)]
dieharder: new package

Signed-off-by: Julien Viard de Galbert <julien@vdg.name>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - remove complicated DIEHARDER_POST_PATCH_FIXUP that replaces bogus
   libtool .m4 files: since we are anyway autoreconfiguring the
   package, this is not necessary. And therefore, remove host-libtool
   in the dependencies.
 - use GPL-2.0 instead of GPLv2
 - add entry in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoncurses: drop unneeded trailing backslashes
Rodrigo Rebello [Sat, 1 Apr 2017 16:43:09 +0000 (13:43 -0300)]
ncurses: drop unneeded trailing backslashes

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-lxml: allow build as host package
Carlos Santos [Wed, 1 Feb 2017 17:51:08 +0000 (15:51 -0200)]
python-lxml: allow build as host package

While currently there is no in-tree Buildroot package which depends on
host-python-lxml, we (DATACOM) have some proprietary modules that use it
in their test scripts.

We tested python-lxml as host package and confirmed that it builds and
works correctly. Someone else might require it, so we are proposing its
inclusion.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Thomas: add Config.in.host entry.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython3: remove full path from .pyc
Jérôme Pouiller [Tue, 20 Dec 2016 13:46:27 +0000 (14:46 +0100)]
python3: remove full path from .pyc

.pyc files include path to source .py file. This patch changes the way
`pycompile.py' is launched in order to only keep the part relative to
$TARGET_DIR.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython2: remove full path from .pyc
Jérôme Pouiller [Tue, 20 Dec 2016 13:46:26 +0000 (14:46 +0100)]
python2: remove full path from .pyc

.pyc files include path to source .py file. This patch changes the way
`pycompile.py' is launched in order to only keep the part relative to
$TARGET_DIR.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodc3dd: add patch to fix autoreconf
Thomas Petazzoni [Sat, 1 Apr 2017 15:02:21 +0000 (17:02 +0200)]
dc3dd: add patch to fix autoreconf

This commit adds a patch to dc3dd that fixes autoreconfiguration.

Fixes:

  http://autobuild.buildroot.net/results/5b73b0d735691c5f63ed9bc3122bc84ea21faae7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoncurses: bump to 6.0
Adam Duskett [Tue, 21 Mar 2017 00:53:37 +0000 (20:53 -0400)]
ncurses: bump to 6.0

ncurses 6.0 has been out for a while now (August 8th 2015!), so this
patch brings us up to the latest version.

- The first patch is no longer needed as it was fixed in the new
  release.
- The other two packages are still applicable, so they have been
  updated to apply properly on the new ncurses version.
- A new option: --with-pkg-config-libdir has been added. Without it
  pkg files wouldn't install to the correct location.
- NCURSES_ABI_VERSION is no longer needed, as there is only 6.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-engine: bump to version 17.03.1-ce
Fabrice Fontaine [Sat, 1 Apr 2017 13:50:47 +0000 (15:50 +0200)]
docker-engine: bump to version 17.03.1-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-containerd: bump to version 4ab9917febca54791c5f071a9d1f404867857fcc
Fabrice Fontaine [Sat, 1 Apr 2017 13:50:46 +0000 (15:50 +0200)]
docker-containerd: bump to version 4ab9917febca54791c5f071a9d1f404867857fcc

This is a runtime dependency of docker-engine in version 17.03.1-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorunc: bump to version 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
Fabrice Fontaine [Sat, 1 Apr 2017 13:50:45 +0000 (15:50 +0200)]
runc: bump to version 54296cf40ad8143b62dbcaa1d90e520a2136ddfe

This is a runtime dependency of docker-engine in version 17.03.1-ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add entry for hiredis and motion
Fabrice Fontaine [Sat, 1 Apr 2017 14:03:50 +0000 (16:03 +0200)]
DEVELOPERS: add entry for hiredis and motion

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqemu: allow to build host variant statically
Jérôme Pouiller [Wed, 9 Nov 2016 10:03:05 +0000 (11:03 +0100)]
qemu: allow to build host variant statically

Compiling Qemu statically allows to use it to chroot into target/. It is a
nice feature, so add an option for it.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
[Thomas: slightly tweak Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: enable gallium extra hud
Romain Naour [Sun, 26 Mar 2017 16:28:53 +0000 (18:28 +0200)]
package/mesa3d: enable gallium extra hud

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: explicitely disable asm
Romain Naour [Sun, 26 Mar 2017 16:28:52 +0000 (18:28 +0200)]
package/mesa3d: explicitely disable asm

assembly are enabled by default on supported plaforms even while
crosscompiling if host == target:

checking whether to enable assembly... yes, x86_64

It was also disabled in the mesa package in Fedora since 7.6 [1].

[1] http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/commit/?id=629c8726

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/meda3d: add xlib_libXvMC optional dependency
Romain Naour [Sun, 26 Mar 2017 16:28:51 +0000 (18:28 +0200)]
package/meda3d: add xlib_libXvMC optional dependency

If xlib_libXvMC package is build before mesa3d, it will be detected and
enabled by the configure script.

Handle xlib_libXvMC in mesa3d for consistency.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: add libvdpau optional dependency
Romain Naour [Sun, 26 Mar 2017 16:28:50 +0000 (18:28 +0200)]
package/mesa3d: add libvdpau optional dependency

If libvdpau package is build before mesa3d, it will be detected and
enabled by the configure script.

Handle libvdpau in mesa3d for consistency.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: allow to enable OpenGL texture float support
Romain Naour [Sun, 26 Mar 2017 16:28:49 +0000 (18:28 +0200)]
package/mesa3d: allow to enable OpenGL texture float support

While testing on a PC target with an HD6310 graphic card, the
OpenGL support was in "compat profile" mode (i.e OpenGL 2.1).

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD PALM (DRM 2.49.0 / 4.10.4) (0x9802)
    Version: 17.0.2
    Accelerated: yes
    Video memory: 256MB
    Unified memory: no
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PALM (DRM 2.49.0 / 4.10.4)
OpenGL version string: 2.1 Mesa 17.0.2
OpenGL shading language version string: 1.30

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 17.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

It turn out that texture float support was missing...

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD PALM (DRM 2.49.0 / 4.10.4) (0x9802)
    Version: 17.0.2
    Accelerated: yes
    Video memory: 256MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PALM (DRM 2.49.0 / 4.10.4)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.0.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 17.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

Add a new option to let the user disable this feature if
it doesn't comply to the SGI license.
Add docs/patents.txt to MESA3D_LICENSE_FILES

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas:
 - rewrap Config.in help text
 - add note that not all drivers are affected by the texture float
   option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/scripts: add generic genimage script
Phelip Etienne [Wed, 29 Mar 2017 14:51:17 +0000 (10:51 -0400)]
support/scripts: add generic genimage script

This script is a wrapper for the genimage tool used by most boards.
The board postimage script can now call this script instead of invoking
genimage command themselves.

Signed-off-by: Etienne Phelip <etienne.phelip@savoirfairelinux.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/sdl_sound: fix build with physfs
Sam bobroff [Thu, 30 Mar 2017 04:31:23 +0000 (15:31 +1100)]
package/sdl_sound: fix build with physfs

A buildroot package for physfs has recently been added, and if it is
detected by sdl_sound's configure it enables code in the simple
player which fails to build (if the player is enabled).

(The build problem is due to physfs renaming a macro which has not been
reflected in sdl_sound.)

So, add the physfs dependency to the package information and correct
the build problem with a patch taken from Arch Linux, where they seem
to have already found and fixed this issue.

Fixes:
http://autobuild.buildroot.net/results/ae5839b978244c434dd86d49b672c437a7b19a66

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscripts/scanpypi: use SPDX short identifier for license
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:50 +0000 (19:13 +0530)]
scripts/scanpypi: use SPDX short identifier for license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscripts/scancpan: use SPDX short identifier for license
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:49 +0000 (19:13 +0530)]
scripts/scancpan: use SPDX short identifier for license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoMakefile: use SPDX short identifier for Buildroot license
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:48 +0000 (19:13 +0530)]
Makefile: use SPDX short identifier for Buildroot license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackages: use SPDX short identifier for zlib license
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:47 +0000 (19:13 +0530)]
packages: use SPDX short identifier for zlib license

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for zlib license is Zlib.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/zlib( )?(license)?/Zlib/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for Boost Software License 1.0
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:46 +0000 (19:13 +0530)]
package: use SPDX short identifier for Boost Software License 1.0

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for Boost Software License 1.0 is BSL-1.0.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for AFLv2.1
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:45 +0000 (19:13 +0530)]
package: use SPDX short identifier for AFLv2.1

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for AFLv2.1 is AFL-2.1.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/AFLv2.1(\+)?/AFL-2.1\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofreeswitch: use SPDX short identifier for license strings
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:44 +0000 (19:13 +0530)]
freeswitch: use SPDX short identifier for license strings

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for GFDL family licenses
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:43 +0000 (19:13 +0530)]
package: use SPDX short identifier for GFDL family licenses

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for GFDLv1.1/GFDLv1.2/GFDLv1.3 is GFDL-1.1/
GFDL-1.2/GFDL-1.3.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/GFDL(v)?([1]\.[1-3])(\+)?/GFDL-\2\3/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for MPL family licenses
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:42 +0000 (19:13 +0530)]
package: use SPDX short identifier for MPL family licenses

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for MPLv1.0/MPLv1.1/MPLv2.0 is MPL-1.0/MPL-1.1/
MPL-2.0.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/MPLv([1-2]\.[0-1])/MPL-\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for Apache version 2
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:41 +0000 (19:13 +0530)]
package: use SPDX short identifier for Apache version 2

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for Apache version 2 license is Apache-2.0.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for BSD-4c
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:40 +0000 (19:13 +0530)]
package: use SPDX short identifier for BSD-4c

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for BSD-4c is BSD-4-Clause.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-4c/BSD-4-Clause/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboot, package: use SPDX short identifier for BSD-2c
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:39 +0000 (19:13 +0530)]
boot, package: use SPDX short identifier for BSD-2c

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for BSD-2c is BSD-2-Clause.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboot, package: use SPDX short identifier for BSD-3c
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:38 +0000 (19:13 +0530)]
boot, package: use SPDX short identifier for BSD-3c

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for BSD-3c is BSD-3-Clause.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for LGPLv2/LGPLv2+
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:37 +0000 (19:13 +0530)]
package: use SPDX short identifier for LGPLv2/LGPLv2+

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for LGPLv2/LGPLv2+ is LGPL-2.0/LGPL-2.0+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2(\+)?/LGPL-2.0\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for AGPLv3
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:36 +0000 (19:13 +0530)]
package: use SPDX short identifier for AGPLv3

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for AGPLv3 is AGPL-3.0.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/AGPLv3/AGPL-3.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for LGPLv3/LGPLv3+
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:35 +0000 (19:13 +0530)]
package: use SPDX short identifier for LGPLv3/LGPLv3+

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for LGPLv3/LGPLv3+ is LGPL-3.0/LGPL-3.0+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv3(\+)?/LGPL-3.0\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:34 +0000 (19:13 +0530)]
boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboot, package: use SPDX short identifier for GPLv3/GPLv3+
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:33 +0000 (19:13 +0530)]
boot, package: use SPDX short identifier for GPLv3/GPLv3+

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboot, linux, package: use SPDX short identifier for GPLv2/GPLv2+
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:32 +0000 (19:13 +0530)]
boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+

We want to use SPDX identifier for license strings as much as possible.
SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+.

This change is done by using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for GPLv1/GPLv1+
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:31 +0000 (19:13 +0530)]
package: use SPDX short identifier for GPLv1/GPLv1+

We want to use SPDX identifier for licenses as much as possible. SPDX
short identifier for GPLv1/GPLv1+ is GPL-1.0/GPL-1.0+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/GPLv1(\+)?/GPL-1.0\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: refer to SPDX License List
Rahul Bedarkar [Thu, 30 Mar 2017 13:43:30 +0000 (19:13 +0530)]
docs/manual: refer to SPDX License List

We want to use SPDX short identifier for license string as much as
possible. So refer to SPDX license list and use SPDX short identifier
for license strings in documentation.

Also remove License abbreviations that we have.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
[Thomas: take into account suggestions from Arnout.]
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxorriso: bump version to 1.4.6
Benoît Allard [Fri, 31 Mar 2017 12:16:23 +0000 (14:16 +0200)]
xorriso: bump version to 1.4.6

Patch 0001-fix-musl-build is removed, as it has been applied upstream.

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibiio: don't force specific backends when enabling tests
Paul Cercueil [Fri, 31 Mar 2017 15:23:53 +0000 (17:23 +0200)]
libiio: don't force specific backends when enabling tests

The test programs will compile just fine even when none of the
backends are enabled.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xenomai: enable armv5tej support
Romain Naour [Fri, 31 Mar 2017 20:26:03 +0000 (22:26 +0200)]
package/xenomai: enable armv5tej support

Apply a patch from Xenomai 2.6 [1].

Fixes:
http://autobuild.buildroot.net/results/762/7623410a81b1587b33b4f4b9cf1572c872b8a6e9/build-end.log

[1] https://git.xenomai.org/xenomai-2.6.git/commit/?id=ebc2779baa222db4a5936c3d3022803355585b8c

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/synergy: fix install when building in debug
Pieterjan Camerlynck [Fri, 31 Mar 2017 18:21:24 +0000 (20:21 +0200)]
package/synergy: fix install when building in debug

Synergy places it's executables in another location when building in
debug. Patch CMakeLists.txt to disable the behavior.

Fixes:
http://autobuild.buildroot.net/results/22d4d9a5d4363b1c9f3074f287b1383a366e0ce9

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xenomai: remove sh4 support
Romain Naour [Fri, 31 Mar 2017 20:39:11 +0000 (22:39 +0200)]
package/xenomai: remove sh4 support

sh4 target support has been removed since Xenomai 3.x.

Fixes:
http://autobuild.buildroot.net/results/a81/a8125847367de5fd27156e5cba9ec7315c2ccd5d/build-end.log

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/lensfun: fix static only build
Romain Naour [Fri, 31 Mar 2017 21:32:49 +0000 (23:32 +0200)]
package/lensfun: fix static only build

Build lensfun.a for static only build.

Fixes:
http://autobuild.buildroot.net/results/63e/63e7700a242c7c28ede0fe0b6a63db288e73e974/build-end.log

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/systemd: fix build on not-recent distros
Yann E. MORIN [Fri, 31 Mar 2017 21:33:54 +0000 (23:33 +0200)]
package/systemd: fix build on not-recent distros

systemd is at it again, using ln --relative once more, which is not
available but on the most recent distros.

Patch it out with a bit of sed magic.

Fixes:
    http://autobuild.buildroot.org/results/48e/48ecf31eca9b22339a770abd3f9abdf1ae41cfd3/
    http://autobuild.buildroot.org/results/c62/c6297c61d8c2d3ab9be77b9d398598adacdb33b3/
    http://autobuild.buildroot.org/results/22f/22ff106a4626c84422d9a3e69aa9c8fe7c76938c/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython: re-add patch mistakenly removed
Thomas Petazzoni [Sat, 1 Apr 2017 10:25:09 +0000 (12:25 +0200)]
python: re-add patch mistakenly removed

As noticed by André Hentschel <nerv@dawncrow.de>, commit
652076293235276e2f978fe377322a6cbd615455 ("python: move to Git formatted
patches") mistakenly removed 018-fix-add-gcc-paths-logic.patch.

This causes bug #7971 to re-appear. To fix this, we re-introduce the
missing patch.

Reported-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoaudiofile: add security patch for CVE-2017-6839
Peter Korsgaard [Thu, 30 Mar 2017 21:03:35 +0000 (23:03 +0200)]
audiofile: add security patch for CVE-2017-6839

Integer overflow in modules/MSADPCM.cpp in Audio File Library (aka
audiofile) 0.3.6 allows remote attackers to cause a denial of service
(crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-multiple-ubsan-crashes/
https://github.com/mpruett/audiofile/issues/41

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoaudiofile: add security patch for CVE-2017-6831
Peter Korsgaard [Thu, 30 Mar 2017 21:03:34 +0000 (23:03 +0200)]
audiofile: add security patch for CVE-2017-6831

Heap-based buffer overflow in the decodeBlockWAVE function in IMA.cpp in
Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a
denial of service (crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-imadecodeblockwave-ima-cpp
https://github.com/mpruett/audiofile/issues/35

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoaudiofile: add security patch for CVE-2017-6830 / CVE-2017-6834 / CVE-2017-6836 ...
Peter Korsgaard [Thu, 30 Mar 2017 21:03:33 +0000 (23:03 +0200)]
audiofile: add security patch for CVE-2017-6830 / CVE-2017-6834 / CVE-2017-6836 / CVE-2017-6838

CVE-2017-6830: A heap-based buffer overflow in the alaw2linear_buf function
in G711.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote
attackers to cause a denial of service (crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-alaw2linear_buf-g711-cpp
https://github.com/mpruett/audiofile/issues/34

CVE-2017-6834: A heap-based buffer overflow in the ulaw2linear_buf function
in G711.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote
attackers to cause a denial of service (crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-ulaw2linear_buf-g711-cpp
https://github.com/mpruett/audiofile/issues/38

CVE-2017-6836: A heap-based buffer overflow in the Expand3To4Module::run
function in libaudiofile/modules/SimpleModule.h in Audio File Library (aka
audiofile) 0.3.6 allows remote attackers to cause a denial of service
(crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-expand3to4modulerun-simplemodule-h
https://github.com/mpruett/audiofile/issues/40

CVE-2017-6838: Integer overflow in sfcommands/sfconvert.c in Audio File
Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of
service (crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-multiple-ubsan-crashes/
https://github.com/mpruett/audiofile/issues/41

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoaudiofile: add security patch for CVE-2017-6829
Peter Korsgaard [Thu, 30 Mar 2017 21:03:32 +0000 (23:03 +0200)]
audiofile: add security patch for CVE-2017-6829

The decodeSample function in IMA.cpp in Audio File Library (aka audiofile)
0.3.6 allows remote attackers to cause a denial of service (crash) via a
crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-global-buffer-overflow-in-decodesample-ima-cpp
https://github.com/mpruett/audiofile/issues/33

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoaudiofile: add security patch for CVE-2017-6827 / CVE-2017-6828 / CVE-2017-6832 ...
Peter Korsgaard [Thu, 30 Mar 2017 21:03:31 +0000 (23:03 +0200)]
audiofile: add security patch for CVE-2017-6827 / CVE-2017-6828 / CVE-2017-6832 / CVE-2017-6833 / CVE-2017-6835 / CVE-2017-6837

CVE-2017-6827: A heap-based buffer overflow in the
MSADPCM::initializeCoefficients function in MSADPCM.cpp in audiofile (aka
libaudiofile and Audio File Library) 0.3.6 allows remote attackers to have
unspecified impact via a crafted audio file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-msadpcminitializecoefficients-msadpcm-cpp
https://github.com/mpruett/audiofile/issues/32

CVE-2017-6828: A Heap-based buffer overflow in the readValue function in
FileHandle.cpp in audiofile (aka libaudiofile and Audio File Library) 0.3.6
allows remote attackers to have unspecified impact via a crafted WAV file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-readvalue-filehandle-cpp
https://github.com/mpruett/audiofile/issues/31

CVE-2017-6832: A Heap-based buffer overflow in the decodeBlock in
MSADPCM.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote
attackers to cause a denial of service (crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-msadpcmdecodeblock-msadpcm-cpp
https://github.com/mpruett/audiofile/issues/36

CVE-2017-6833: The runPull function in libaudiofile/modules/BlockCodec.cpp
in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause
a denial of service (divide-by-zero error and crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-divide-by-zero-in-blockcodecrunpull-blockcodec-cpp
https://github.com/mpruett/audiofile/issues/37

CVE-2017-6835: The reset1 function in libaudiofile/modules/BlockCodec.cpp in
Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a
denial of service (divide-by-zero error and crash) via a crafted file.

https://blogs.gentoo.org/ago/2017/02/20/audiofile-divide-by-zero-in-blockcodecreset1-blockcodec-cpp
https://github.com/mpruett/audiofile/issues/39

CVE-2017-6837: WAVE.cpp in Audio File Library (aka audiofile) 0.3.6 allows
remote attackers to cause a denial of service (crash) via vectors related to
a large number of coefficients.

http://blogs.gentoo.org/ago/2017/02/20/audiofile-multiple-ubsan-crashes/
https://github.com/mpruett/audiofile/issues/41

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopcre: add upstream security fixes
Baruch Siach [Fri, 31 Mar 2017 11:09:36 +0000 (14:09 +0300)]
pcre: add upstream security fixes

Take Debian adapted patches of upstream.

Fixes:

CVE-2017-6004: crafted regular expression may cause denial of service

CVE-2017-7186: invalid Unicode property lookup may cause denial of service

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/coreutils: remove legacy comment
Yann E. MORIN [Thu, 30 Mar 2017 21:11:43 +0000 (23:11 +0200)]
package/coreutils: remove legacy comment

This comment was added in 2007 (e4c6340a: cleanup and fixes), back when
removing a package was (seemingly) supported.

This ability was lost when coreutils was converted to autotarget in 2010
(386183f: coreutils: convert to autotarget), but the comment stuck.

Get rid of it: it nowadays does not make sense and is a bit confusing.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodc3dd: upcase the autoreconf value
Benoît Allard [Fri, 31 Mar 2017 07:39:44 +0000 (09:39 +0200)]
dc3dd: upcase the autoreconf value

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibmediaart: fix qt5 build
Fabrice Fontaine [Thu, 30 Mar 2017 18:34:37 +0000 (20:34 +0200)]
libmediaart: fix qt5 build

Use BR2_PACKAGE_QT5_VERSION_LATEST instead of BR2_QT5_VERSION_LATEST

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Fabio Estevam [Thu, 30 Mar 2017 14:24:45 +0000 (11:24 -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 version to 4.10.7
Fabio Estevam [Thu, 30 Mar 2017 14:24:44 +0000 (11:24 -0300)]
linux: bump default version to 4.10.7

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibmediaart: new package
Fabrice Fontaine [Fri, 24 Mar 2017 20:38:50 +0000 (21:38 +0100)]
libmediaart: new package

Library tasked with managing, extracting and handling media art caches

https://github.com/GNOME/libmediaart

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: add entry to DEVELOPERS file, fix license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch, linux, package: remove whitespaces
Bernd Kuhls [Sun, 26 Mar 2017 15:05:43 +0000 (17:05 +0200)]
arch, linux, package: remove whitespaces

Whitespaces were searched using the following regex:

[ ]{1,}\t

and then manually removed in most of the cases. For
xserver_xorg-server.mk, tabs before backslashes were removed.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystem: do not overwrite /bin/sh Busybox symlink
Thomas Petazzoni [Sun, 26 Mar 2017 21:43:40 +0000 (23:43 +0200)]
system: do not overwrite /bin/sh Busybox symlink

The BR2_SYSTEM_BIN_SH hidden option defines to what binary the /bin/sh
symlinks should point to. If busybox is chosen, then /bin/sh is created
to point to /bin/busybox.

This works fine with the default installation mode of Busybox, but it
fails with the upcoming "individual binaries" mode, in which each applet
is installed as its own binary, and /bin/busybox doesn't exist: we get
/bin/sh as a broken symlink to /bin/busybox.

Since Busybox already installs its own /bin/sh symlink, properly
pointing to /bin/ash or /bin/hush depending on the selected shell, it
doesn't make sense for the BR2_SYSTEM_BIN_SH logic to override
this. Just let Busybox install its own /bin/sh by making
BR2_SYSTEM_BIN_SH empty when Busybox shell is selected as /bin/sh.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodc3dd: new package
Benoît Allard [Mon, 27 Mar 2017 08:32:10 +0000 (10:32 +0200)]
dc3dd: new package

We actually prefer the version 7.2.641 (over 7.2.646) as the
content of the release is identical and the 641 has the advantage
of providing a proper .tar.xz file.

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/synergy: bump to version 1.8.5
Pieterjan Camerlynck [Wed, 29 Mar 2017 10:14:05 +0000 (12:14 +0200)]
package/synergy: bump to version 1.8.5

The project moved from SourceForge to GitHub.

The buildsystem changed from autotools to CMake.

Removed patches:
- 0001-includes.patch
    Not needed anymore, was fixed upstream.
- 0002-remove-werror.patch
    Autotools patch, no longer applicable.
- 0003-Fix-build-with-gcc-6.patch
    This patch was applied upstream:
    https://github.com/symless/synergy/commit/3d963bfbe7897d0a33ad477c06a6341c7708780d

Add patch to disable building of tests and allow building without gtest.

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: fix license files variable
Thomas Petazzoni [Wed, 29 Mar 2017 20:05:09 +0000 (22:05 +0200)]
xenomai: fix license files variable

In commit 472b07ea8ff1cd341c5f97508e5c29266146fa51 ("xenomai: bump
version to 3.0.3"), the XENOMAI_LICENSE_FILES variable was not
updated, causing a number of build failures. This commit fixes that to
point to existing files.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: enhance printvars
Yann E. MORIN [Wed, 29 Mar 2017 09:43:05 +0000 (11:43 +0200)]
core: enhance printvars

Currently, the output of printvars copntains the name of the variable,
its expanded value and its un-expanded value.

However, most of the time, we need the actual, expanded value, so it can
be re-used from a (non-Buildroot) infrastructure script, like a
post-build script, or a build-farm driver (e.g. a Jenkins job...)

Add two options that a user may set to change the output of printvars:
  - QUOTED_VARS, if set, will quote the value
  - RAW_VARS, if set, will print the unexpanded value

The new output by default only prints the expanded value now.

So that it can be used as such:

    $ make -s printvars VARS=BUSYBOX_VERSION
    BUSYBOX_VERSION=1.26.2

    $ make -s printvars VARS=BUSYBOX_RDEPENDENCIES QUOTED_VARS=YES
    BUSYBOX_RDEPENDENCIES='ncurses util-linux'

    $ make -s printvars VARS=BUSYBOX_FINAL_PATCH_DEPENDENCIES RAW_VARS=YES
    BUSYBOX_FINAL_PATCH_DEPENDENCIES=$(sort $(BUSYBOX_PATCH_DEPENDENCIES))

And it is even possible to directly evaluate it in a shell script:

    eval $(make -s printvars VARS=BUSYBOX_VERSION QUOTED_VARS=YES)

Backward compatibility of the output is not maintained. It is believed
that scripts that depended on the previous output were very fragile to
begin with, because they had to filter the non-formatted output
(splitting on spaces or braces was not really possible, because values
could contain either).

Document printvars and its options in the manual; list it in the output
of 'make help'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoshairport-sync: requires C++
Baruch Siach [Wed, 29 Mar 2017 19:09:31 +0000 (22:09 +0300)]
shairport-sync: requires C++

Fixes:
http://autobuild.buildroot.net/results/122/122d6cedf0205e8db27d498d6a2a839e11e7b6f2/
http://autobuild.buildroot.net/results/bef/bef5fb328e6688107496cb213d8aeeca527abf03/

Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agontfs-3g: bump version to 2017.3.23
Vicente Olivert Riera [Wed, 29 Mar 2017 13:51:36 +0000 (14:51 +0100)]
ntfs-3g: bump version to 2017.3.23

And remove patches already included in this release.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: bump version to 2.02.169
Vicente Olivert Riera [Wed, 29 Mar 2017 13:28:44 +0000 (14:28 +0100)]
lvm2: bump version to 2.02.169

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocups: bump version to 2.2.3
Vicente Olivert Riera [Wed, 29 Mar 2017 13:15:38 +0000 (14:15 +0100)]
cups: bump version to 2.2.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump version to v1.4.5
Vicente Olivert Riera [Wed, 29 Mar 2017 13:07:23 +0000 (14:07 +0100)]
cjson: bump version to v1.4.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: add homepage link
Baruch Siach [Wed, 29 Mar 2017 15:19:34 +0000 (18:19 +0300)]
lvm2: add homepage link

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/lensfun: new package
Romain Naour [Sun, 5 Mar 2017 15:09:56 +0000 (16:09 +0100)]
package/lensfun: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jeremy Rosen <jeremy.rosen@enst-bretagne.fr>
[Thomas: add missing select BR2_PACKAGE_LIBGLIB2, noticed by Baruch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogdb: pass gdb_cv_prfpregset_t_broken=no
Arnout Vandecappelle [Sun, 26 Mar 2017 22:40:32 +0000 (00:40 +0200)]
gdb: pass gdb_cv_prfpregset_t_broken=no

Starting with glibc 2.25, the proc_service.h header has been copied
from gdb to glibc so other tools can use it. However, that makes it
necessary to make sure that declaration of prfpregset_t declaration
is consistent between gdb and glibc. In gdb, however, there is a
workaround for a broken prfpregset_t declaration in glibc 2.3 which
uses AC_TRY_RUN to detect if it's needed, which doesn't work in
cross-compilation. So pass the cache option to configure.
It needs to be passed to GDB_CONF_ENV to build gdbserver only but
also to GDB_MAKE_ENV, because otherwise it does not get passed to the
configure script of nested packages while building gdbserver with full
debugger.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogdb: add upstream patch to fix inconsistency with glibc header
Arnout Vandecappelle [Sun, 26 Mar 2017 22:40:31 +0000 (00:40 +0200)]
gdb: add upstream patch to fix inconsistency with glibc header

In glibc 2.25, the proc_service.h header was copied from gdb to glibc.
However, in the process the 'const' was removed, which leads to build
failures with glibc >= 2.25.

gdb 7.12.1 already contains this patch. The patch for 7.11.1 comes
straight from upstream, the patch for 7.10.1 is backported by me.

Fixes http://autobuild.buildroot.net/results/6b1b44e72147113b3f0e3f049cb9026d6c7dffb7

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosyslog-ng: Bump version header in conf file to 3.9
Pawel Sikora [Sun, 26 Mar 2017 22:44:14 +0000 (00:44 +0200)]
syslog-ng: Bump version header in conf file to 3.9

Package version of syslog-ng is 3.9.1.
Bumping version number in syslog-ng.conf to 3.9

Fixing warning message about configuration file being too old.

Signed-off-by: Pawel Sikora <sikor6@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-ubjson: bump version to 0.9.0
Vicente Olivert Riera [Mon, 27 Mar 2017 16:24:32 +0000 (17:24 +0100)]
python-ubjson: bump version to 0.9.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogdk-pixbuf: bump version to 2.36.6
Vicente Olivert Riera [Mon, 27 Mar 2017 16:22:47 +0000 (17:22 +0100)]
gdk-pixbuf: bump version to 2.36.6

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gdb: fix gdb-7.12.1 build on xtensa
Max Filippov [Mon, 27 Mar 2017 20:22:10 +0000 (13:22 -0700)]
package/gdb: fix gdb-7.12.1 build on xtensa

This fixes the following gdb-7.12.1 build error on xtensa architecture:

  gdb/xtensa-linux-nat.c: In function 'void fetch_gregs(regcache*, ptid_t, int)':
  gdb/xtensa-linux-nat.c:178:23: error: uninitialized const 'regs' [-fpermissive]
     const gdb_gregset_t regs;

Backported from: d274ecf4ddf76768af57e27f654b9ce6784b391c
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopowerpc-utils: Bump to v1.3.3
Sam Mendoza-Jonas [Tue, 28 Mar 2017 05:37:02 +0000 (16:37 +1100)]
powerpc-utils: Bump to v1.3.3

In particular this includes commit d63e12a "nvram:read list of partion
names dynamically" which fixes an issue preventing the nvram tool from
writing to certain partitions.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>