buildroot.git
4 years agopackage/libnspr: allow building for Arc Architecture
Giulio Benetti [Fri, 27 Dec 2019 14:43:22 +0000 (15:43 +0100)]
package/libnspr: allow building for Arc Architecture

Arc architecture is now supported by NSPR so let's allow to build for
it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ecryptfs-utils: fix typo in Config.in comment
Giulio Benetti [Fri, 27 Dec 2019 14:35:48 +0000 (15:35 +0100)]
package/ecryptfs-utils: fix typo in Config.in comment

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fbterm: update the upstream URL in Config.in
Mark Corbin [Fri, 27 Dec 2019 17:47:49 +0000 (17:47 +0000)]
package/fbterm: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(405)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboot/uboot: add an upstream URL to Config.in
Mark Corbin [Fri, 27 Dec 2019 15:35:34 +0000 (15:35 +0000)]
boot/uboot: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the issue where an incorrect URL is displayed
on the package stats web page.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/zd1211-firmware: add an upstream URL to Config.in
Mark Corbin [Fri, 27 Dec 2019 14:58:28 +0000 (14:58 +0000)]
package/zd1211-firmware: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ympd: add an upstream URL to Config.in
Mark Corbin [Fri, 27 Dec 2019 14:50:40 +0000 (14:50 +0000)]
package/ympd: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mesa3d: fix build with egl but without drm, wayland or x11
Fabrice Fontaine [Sat, 28 Dec 2019 18:29:59 +0000 (19:29 +0100)]
package/mesa3d: fix build with egl but without drm, wayland or x11

A user can enable mesa3d and EGL by selecting
BR2_PACKAGE_MESA3D_OPENGL_EGL

This will result in a build failure if the user does not select a driver
that enables drm, wayland or x11 as platforms will be empty.

To fix this build failure, always enable surfaceless platform which
defining property is that it has no native surfaces:
https://gitlab.freedesktop.org/mesa/mesa/blob/master/docs/specs/EGL_MESA_platform_surfaceless.txt

Fixes:
 - http://autobuild.buildroot.org/results/8960b950f79be82f81db20be41fa4b47bc76dee8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/strace: drop default in Config.in
Fabrice Fontaine [Fri, 27 Dec 2019 13:17:04 +0000 (14:17 +0100)]
package/strace: drop default in Config.in

Commit d52e98655fb6b00606ffe5294051ff0581c464bf wrongly sets a default
value for strace so drop it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libffi: fix build on powerpc64 with no __int128
Fabrice Fontaine [Thu, 26 Dec 2019 22:09:20 +0000 (23:09 +0100)]
package/libffi: fix build on powerpc64 with no __int128

Fixes:
 - http://autobuild.buildroot.net/results/cb69d82ad1d41f6ea13d289ec2226d9bd5b67984

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtorrent-rasterbar: bump to version 1.2.3
Fabrice Fontaine [Thu, 26 Dec 2019 21:57:00 +0000 (22:57 +0100)]
package/libtorrent-rasterbar: bump to version 1.2.3

This bump fixes the build failure with boost 1.72 thanks to
https://github.com/arvidn/libtorrent/commit/48fa5343b5d99416ba9606f5f52fba58b93dffe6

Fixes:
 - http://autobuild.buildroot.net/results/7d494bff409bbf39ea59df7a2d1cfb3018b4d9a6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/at91bootstrap3: fix hash
Pierre-Jean Texier [Thu, 26 Dec 2019 20:49:43 +0000 (21:49 +0100)]
boot/at91bootstrap3: fix hash

When at91bootstrap3 was bumped to 3.9.0 in commit
513899e471890f4eb677066876890d43ea91b25e, an incorrect hash was set:
it was the hash of the tarball generated by the Git download logic of
Buildroot, and not the hash of the tarball auto-generated by Github,
which is the one that we really download by default.

Fixes:

ERROR: at91bootstrap3-v3.9.0.tar.gz has wrong sha256 hash:
ERROR: expected: 9960b0d18fe42feee566d4c52efa0d7c8251685bf9acfdf343f30a27951ada1e
ERROR: got     : e23e6df23b79ca81e412cb73a1f48bd95df8d46c7d52a1d073c2ed9d4f3a1a71
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Reported-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
[Thomas: improved commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyqt5: manage qt optional dependencies
Fabrice Fontaine [Thu, 22 Aug 2019 22:06:38 +0000 (00:06 +0200)]
package/python-pyqt5: manage qt optional dependencies

Explictly enable the needed pyqt5 modules depending on Qt5 options or
packages

QtQuick moodule can't be built without opengl support so enable only
when OpenGL is available

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=12121
 - http://autobuild.buildroot.org/results/cb69c5daa564aa9f3250faa395399cb00a445e85

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysrepo: bump to version 1.3.21
Heiko Thiery [Fri, 20 Dec 2019 13:53:45 +0000 (14:53 +0100)]
package/sysrepo: bump to version 1.3.21

This sysrepo version is a complete rewrite of the older versions.

Thus several changes are made in the package to support this new version.

- several cmake config options dropped
- no systemd service scripts availble in upstream version
- no sysrepod daemon available
- drop patches that are no longer needed
- add new patch

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ecryptfs-utils: fix parallel build
Fabrice Fontaine [Thu, 26 Dec 2019 16:47:48 +0000 (17:47 +0100)]
package/ecryptfs-utils: fix parallel build

Build randomly fails since December 2017 on:

make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/ecryptfs-utils-111/src/utils'
 /bin/mkdir -p '/home/buildroot/autobuild/instance-2/output-1/target/sbin'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c mount.ecryptfs umount.ecryptfs mount.ecryptfs_private '/home/buildroot/autobuild/instance-2/output-1/target/sbin'
libtool: install: /usr/bin/install -c mount.ecryptfs /home/buildroot/autobuild/instance-2/output-1/target/sbin/mount.ecryptfs
/usr/bin/install: cannot create regular file '/home/buildroot/autobuild/instance-2/output-1/target/sbin/mount.ecryptfs': File exists
Makefile:832: recipe for target 'install-rootsbinPROGRAMS' failed
make[5]: *** [install-rootsbinPROGRAMS] Error 1

Fixes:
 - http://autobuild.buildroot.org/results/2063bd18830ef02dca0bed889c43639009bc688e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dav1d: bump to version 0.5.2
Fabrice Fontaine [Thu, 26 Dec 2019 15:08:19 +0000 (16:08 +0100)]
package/dav1d: bump to version 0.5.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/quota: drop QUOTA_LIBS
Fabrice Fontaine [Thu, 26 Dec 2019 15:05:10 +0000 (16:05 +0100)]
package/quota: drop QUOTA_LIBS

Drop QUOTA_LIBS as this variable is always set to $(TARGET_NLS_LIBS)
since bump to version 4.05 in commit
540797f95553b0b5cbdd314e4bb0d3b136935b0a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/icorem6: fix the Qt5 display name
Fabio Estevam [Thu, 26 Dec 2019 13:32:27 +0000 (10:32 -0300)]
board/icorem6: fix the Qt5 display name

The correct syntax that Qt5 understands for display names is
"LVDS1", so fix it accordingly.

Reported-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/imx8qxpmek: update to 4.14.98 components
Fabio Estevam [Tue, 17 Dec 2019 18:18:55 +0000 (15:18 -0300)]
configs/imx8qxpmek: update to 4.14.98 components

Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gmrender-resurrect: bump to version 0.0.8
Fabrice Fontaine [Thu, 26 Dec 2019 09:00:54 +0000 (10:00 +0100)]
package/gmrender-resurrect: bump to version 0.0.8

libupnp18 is supported since
https://github.com/hzeller/gmrender-resurrect/commit/cc96edeb70fa2938a4d963524261142132ece540

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/quota: fix NLS build
Fabrice Fontaine [Thu, 26 Dec 2019 11:01:22 +0000 (12:01 +0100)]
package/quota: fix NLS build

Fixes:
 - http://autobuild.buildroot.org/results/9e40a5b97dcd52cdfbd11688426ecad70390d56b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/bitcoin: fix build with boost 1.72
Fabrice Fontaine [Thu, 26 Dec 2019 11:27:20 +0000 (12:27 +0100)]
package/bitcoin: fix build with boost 1.72

Fixes:
 - http://autobuild.buildroot.org/results/6b4d9877aa416b788b94fe44b2673149aae4af43

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/boost: propagate boost-thread dependency on a toolchain without bug 64735
Fabrice Fontaine [Thu, 26 Dec 2019 11:04:04 +0000 (12:04 +0100)]
package/boost: propagate boost-thread dependency on a toolchain without bug 64735

Commit d7e49f5f42881f8781e7a8add6e0114af0bd9511 does not fully propagate
the dependency on a toolchain without bug 64735 to reverse dependencies
of boost-thread

Fixes:
 - http://autobuild.buildroot.org/results/2b0ca8ce4df7496dcc7d078fae2114d75bd0a455

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/moarvm: fix build with uclibc
Fabrice Fontaine [Thu, 26 Dec 2019 08:27:24 +0000 (09:27 +0100)]
package/moarvm: fix build with uclibc

Fixes:
 - http://autobuild.buildroot.org/results/b88e55dde1acab967023ae49bb1722eadb9cc6ab

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/luvi: fix build with aarch64
Fabrice Fontaine [Thu, 26 Dec 2019 08:24:47 +0000 (09:24 +0100)]
package/luvi: fix build with aarch64

aarch64 is a supported architecture of luajit since switch to moonjit
fork in commit 2ca0accc21a090874ac6e97670b47153a1f0a0b5 so manage this
new target in luvi.mk to avoid an "unknown architecture" build failure

Fixes:
 - http://autobuild.buildroot.org/results/ae610141b488d7ca8ea9db0575dec8f5eb13650c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoutils/scanpypi: remind developer about updating DEVELOPERS and Config.in
Matt Weber [Tue, 19 Nov 2019 17:15:27 +0000 (11:15 -0600)]
utils/scanpypi: remind developer about updating DEVELOPERS and Config.in

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/boost: bump to version 1.72.0
Fabrice Fontaine [Sun, 15 Dec 2019 10:19:02 +0000 (11:19 +0100)]
package/boost: bump to version 1.72.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: remove check against GCC_AT_LEAST_4_8
Giulio Benetti [Mon, 16 Dec 2019 16:14:15 +0000 (17:14 +0100)]
package/libnss: remove check against GCC_AT_LEAST_4_8

NSS_ENABLE_WERROR=0 is already added by default to LIBNSS_BUILD_VARS
previously, so let's remove this check and set.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gstreamer1/gst1-plugins-bad: wayland plugin needs libdrm
Peter Seiderer [Tue, 17 Dec 2019 19:15:01 +0000 (20:15 +0100)]
package/gstreamer1/gst1-plugins-bad: wayland plugin needs libdrm

Fixes:
  http://autobuild.buildroot.net/results/e06fbed25fc8369c2ff1f3d89b8800766e365ea3
  http://autobuild.buildroot.net/results/252d2d247339ee6f89ae2b813d33518d612dd9b3

  Run-time dependency wayland-client found: YES 1.17.0
  Run-time dependency libdrm found: NO (tried pkgconfig)
  gst-libs/gst/wayland/meson.build:3:0: ERROR: Dependency "libdrm" not found, tried pkgconfig

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cereal: new package
Thomas De Schampheleire [Mon, 23 Dec 2019 15:10:59 +0000 (16:10 +0100)]
package/cereal: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/boost: boost-thread needs a toolchain without bug 64735
Fabrice Fontaine [Sun, 22 Dec 2019 22:33:53 +0000 (23:33 +0100)]
package/boost: boost-thread needs a toolchain without bug 64735

boost-thread needs std::current_exception since version 1.71.0 and
https://github.com/boostorg/exception/commit/386f5507cb8ec99c03ca535bea4f8bd61e0de910

std::current_exception depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 as a
result, gnuradio fails to build on:

[ 12%] Building CXX object gnuradio-runtime/lib/pmt/CMakeFiles/gnuradio-pmt.dir/pmt_pool.cc.o
In file included from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:15:0,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception_ptr.hpp:9,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/future.hpp:34,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread.hpp:24,
                 from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/include/pmt/pmt_pool.h:27,
                 from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/lib/pmt/pmt.cc:31:
/home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp: In function 'std::string boost::current_exception_diagnostic_information(bool)':
/home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp:49:26: error: 'current_exception' is not a member of 'std'
         else if (auto* p=std::current_exception().__cxa_exception_type())
                          ^
So add this dependency on boost-thread, boost-log and gnuradio (the only
reverse dependencies of boost-thread that does not already depends on
!BR2_TOOLCHAIN_HAS_GCC_BUG_64735)

Finally, add this dependency on gqrx as it is a reverse dependency of
gnuradio

Fixes:
 - http://autobuild.buildroot.org/results/c384205cf50929c320d90b620f2390837721d9f9
 - http://autobuild.buildroot.org/results/47440354b336b943b74b72fa303b079dc962bfd0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoarch/arc: explicitly set "max-page-size" for GNU LD
Alexey Brodkin [Tue, 24 Dec 2019 14:10:32 +0000 (17:10 +0300)]
arch/arc: explicitly set "max-page-size" for GNU LD

Back in the day we relied on a default value that used to be 8KiB
and it worked perfectly fine for ARC's default 8KiB page as well as
4 KiB ones, but not for 16 KiB, see [1] for more details.

So that we fixed by setting "max-page-size" if 16KiB pages are in use by
commit d024d369b82d2 ("arch/arc: Accommodate 16 KiB MMU pages").

But as Yann very rightfully mentioned here [2] we should be setting this
thing explicitly for all page sizes because:
 1. Defaults might change unexpectedly
 2. Explicitly set stuff is better understood
 3. We act similarly to all settings but not only addressing some corner cases

[1] https://git.buildroot.org/buildroot/commit/?id=d024d369b82d2d3d9d4d75489c19e9488202bca0
[2] https://patchwork.ozlabs.org/patch/1212544/#2330647

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dante: fix configure error
Fabrice Fontaine [Tue, 24 Dec 2019 15:07:09 +0000 (16:07 +0100)]
package/dante: fix configure error

Fixes:
 - http://autobuild.buildroot.org/results/9be8a0d5af85370ecb52bcd315aa73cacbc95abc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/librsvg: add libcroco to Requires.private
Fabrice Fontaine [Tue, 24 Dec 2019 16:02:43 +0000 (17:02 +0100)]
package/librsvg: add libcroco to Requires.private

This will fix a static build failure with imagemagick

Fixes:
 - http://autobuild.buildroot.org/results/42f4b4881569779162d3efe4628b934f965913b9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apitrace: fix build on uclibc
Fabrice Fontaine [Tue, 24 Dec 2019 15:09:18 +0000 (16:09 +0100)]
package/apitrace: fix build on uclibc

Fixes:
 - http://autobuild.buildroot.org/results/d5a12c35ecd712c54aa0cd64f9db54bdcc66eafd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-daemon: select python-lockfile
Adam Duskett [Mon, 25 Nov 2019 19:38:50 +0000 (11:38 -0800)]
package/python-daemon: select python-lockfile

python-lockfile is needed for runtime. Without it, importing python-daemon
results in an import error.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-lockfile: new package
Adam Duskett [Mon, 25 Nov 2019 19:38:49 +0000 (11:38 -0800)]
package/python-lockfile: new package

The lockfile package exports a LockFile class which provides a
simple API for locking files. Unlike the Windows
msvcrt.locking function, the fcntl.lockf and flock functions,
and the deprecated posixfile module, the API is identical
across both Unix (including Linux and Mac) and Windows
platforms.

The lock mechanism relies on the atomic nature of the link
(on Unix) and mkdir (on Windows) system calls. An
implementation based on SQLite is also provided, more as a
demonstration of the possibilities it provides than as
production-quality code.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pbr: new package
Adam Duskett [Mon, 25 Nov 2019 19:38:48 +0000 (11:38 -0800)]
package/python-pbr: new package

PBR is a library that injects some useful and sensible default
behaviors into a setuptools run.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ntp: override host shell check
James Byrne [Tue, 26 Nov 2019 11:33:01 +0000 (11:33 +0000)]
package/ntp: override host shell check

Add a patch from the upstream AutoGen package that allows POSIX_SHELL
to be taken from the environment, then define that to be '/bin/sh'.

Since we are cross-compiling, the original behaviour of detecting the
host shell is not useful as we cannot assume that the target uses the
same shell, and it can prevent builds being reproducible because a
different host environment will result in a different target binary.

Signed-off-by: James Byrne <james.byrne@origamienergy.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libfcgi: bump to version 2.4.2
Louis Rannou [Tue, 26 Nov 2019 21:42:01 +0000 (22:42 +0100)]
package/libfcgi: bump to version 2.4.2

FCGI is abandonned (https://repo.or.cz/fcgi2.git). Replace it by a maintained
fork (https://github.com/FastCGI-Archives/fcgi2).

Patchs status:
0001-eof.patch -> fixed by commit 122e55cc354dd4a78849aed8d36c61ed9edeaeb2
0002-link-against-libfcgi-la.patch -> included in commit 2a575066bcbdadfc161d46ef816a45f6edf9d529
0004-make-autoreconfable.patch -> fixed in commits 854643b36e87cf1262da2eb82b3f10b56185131b and ad30485fa12be4415d57422702ee4f64a09b7bea
0006-fix-CVE-2012-6687.patch -> applied in commit 5c15a7bb5260bc83715090c9fd386d704c139671

Signed-off-by: Louis Rannou <louis.rannou@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ecryptfs-utils: add optional dependency on linux-pam
Yi Zheng [Wed, 27 Nov 2019 04:23:48 +0000 (12:23 +0800)]
package/ecryptfs-utils: add optional dependency on linux-pam

If linux-pam is enabled, we want to build pam_ecryptfs.so and install
it into /lib/security/.

Signed-off-by: Yi Zheng <goodmenzy@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libfcgi: update the upstream URL in Config.in
Mark Corbin [Thu, 28 Nov 2019 12:06:26 +0000 (12:06 +0000)]
package/libfcgi: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mali-t76x: update the upstream URL in Config.in
Mark Corbin [Thu, 28 Nov 2019 15:08:44 +0000 (15:08 +0000)]
package/mali-t76x: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. Removing
the text from the beginning of the URL line addresses the 'Missing'
URL status in the package stats web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: add option for Qualcomm AR3012 USB Bluetooth firmware
Nicolas Cavallari [Fri, 29 Nov 2019 16:31:44 +0000 (17:31 +0100)]
package/linux-firmware: add option for Qualcomm AR3012 USB Bluetooth firmware

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: add option for Qualcomm AR3011 Bluetooth firmware
Nicolas Cavallari [Fri, 29 Nov 2019 16:31:44 +0000 (17:31 +0100)]
package/linux-firmware: add option for Qualcomm AR3011 Bluetooth firmware

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
[Thomas: split from the AR3011/AR3012 commit]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{protobuf,python-protobuf}: bump to version 3.11.0
Adam Duskett [Thu, 28 Nov 2019 23:01:57 +0000 (15:01 -0800)]
package/{protobuf,python-protobuf}: bump to version 3.11.0

Tested with test-pkg, all tests passed:
            br-arm-full [1/6]: OK
 br-arm-cortex-a9-glibc [2/6]: OK
  br-arm-cortex-m4-full [3/6]: SKIPPED
         br-x86-64-musl [4/6]: OK
     br-arm-full-static [5/6]: SKIPPED
           sourcery-arm [6/6]: OK

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/barebox: bump version to 2019.12.0
Bartosz Bilas [Tue, 24 Dec 2019 13:29:13 +0000 (14:29 +0100)]
boot/barebox: bump version to 2019.12.0

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/common/imx: use nodtb variant in uboot images for 8M
Julien Olivain [Tue, 17 Dec 2019 20:37:12 +0000 (21:37 +0100)]
board/freescale/common/imx: use nodtb variant in uboot images for 8M

In board/freescale/common/imx/imx8-bootloader-prepare.sh, when
invoking mkimage_fit_atf.sh, the U-Boot DTB is passed as parameter, to
be included in the FIT image. This parameter usually comes from
BR2_ROOTFS_POST_SCRIPT_ARGS config option. The variable
BL33=u-boot.bin set in the invocation uses the u-boot image which is
including its embedded DTB. This means the U-Boot DTB is included
twice.

The upstream script mkimage_fit_atf.sh plus its Buildroot patch are
meant to use by default the nodtb variant and use the DTB in a
separate image. See [1] and [2].

The U-Boot default DTB which will be included in u-boot.bin image is
selected with U-Boot CONFIG_DEFAULT_DEVICE_TREE, or DEVICE_TREE
variable when invoking "make". If one of those option is not aligned
to the BR2_ROOTFS_POST_SCRIPT_ARGS config option, it's possible the
two included U-Boot DTBs are different. If such case happens, the
built-in DTB is always used, regardless of the other one, selected
with BR2_ROOTFS_POST_SCRIPT_ARGS.

For example, this case happens for TechNexion Pico Pi i.MX8M and
i.MX8MMini. Since the U-Boot defconfig assumes the nodtb version will
be used, it does not set the default DTB. The u-boot.bin will include
the fsl-imx8mm-evk instead. Including the wrong board DTB breaks the
USB and UMS commands (and possibly others). Since those boards does
not have SD card slots, a recovery serial download is needed at every
update.

This patch make sure that only the separate U-Boot DTB will be
included in the FIT image by using the nodtb variant.

[1] https://source.codeaurora.org/external/imx/imx-mkimage/tree/iMX8M/mkimage_fit_atf.sh?h=rel_imx_4.14.98_2.0.0_ga#n35
[2] https://git.busybox.net/buildroot/tree/package/imx-mkimage/0001-add-support-for-overriding-bl32-and-bl33-not-only-bl.patch?h=2019.11#n42

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tio: new package
Sergio Prado [Sun, 22 Dec 2019 22:12:03 +0000 (19:12 -0300)]
package/tio: new package

"tio" is a simple TTY terminal application which features a
straightforward commandline interface to easily connect to
TTY devices for basic input/output.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
[Thomas:
 - license is GPL-2.0+ (noticed by Baruch)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cctz: new package
Gilles Talis [Sun, 22 Dec 2019 13:23:14 +0000 (14:23 +0100)]
package/cctz: new package

CCTZ is a C++ library for translating between absolute
and civil times using the rules of a time zone.

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fluidsynth: alsa support needs rawmidi and seq
Fabrice Fontaine [Tue, 24 Dec 2019 10:06:37 +0000 (11:06 +0100)]
package/fluidsynth: alsa support needs rawmidi and seq

Fixes:
 - http://autobuild.buildroot.org/results/8c8149a7cf87f24271fa6af8a6c81d2dfe241bbe
 - http://autobuild.buildroot.org/results/d7b05205b0bb45d927b5bb462e06fd8c345ebc42

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dante: bump to version 1.4.2
Fabrice Fontaine [Tue, 24 Dec 2019 09:47:01 +0000 (10:47 +0100)]
package/dante: bump to version 1.4.2

- Add hash for license file
- Drop second patch (not needed anymore as the sed expression s/-g//g
  has been replaced by s/-g //g)
- This bump fixes the build failure with latest libminiupnpc

Fixes:
 - http://autobuild.buildroot.org/results/8a92d5257ba3e6fd0ad56ddb0afad8b6edd40ae3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apitrace: needs dynamic library
Fabrice Fontaine [Tue, 24 Dec 2019 09:32:12 +0000 (10:32 +0100)]
package/apitrace: needs dynamic library

apitrace uses dlfcn.h in lib/os/os_backtrace.cpp if _Unwind_Backtrace
symbol is found in unwind.h. dlfcn.h is also used in 9 other source
files

Fixes:
 - http://autobuild.buildroot.org/results/4d60477cc46e4071dd3da21abfe7082e0d12cee2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/log4cplus: bump to version 2.0.5
Fabrice Fontaine [Tue, 24 Dec 2019 09:25:14 +0000 (10:25 +0100)]
package/log4cplus: bump to version 2.0.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lapack: bump to version 3.9.0
Benjamin Kamath [Tue, 24 Dec 2019 08:55:31 +0000 (00:55 -0800)]
package/lapack: bump to version 3.9.0

Most recent release hosted on Github instead of previous location

Signed-off-by: Benjamin Kamath <kamath.ben@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/quota: add autoreconf
Fabrice Fontaine [Tue, 24 Dec 2019 08:06:25 +0000 (09:06 +0100)]
package/quota: add autoreconf

Commit feef4b733c4e5a6ee89d1554d29786304be7a720 added a patch on
configure.ac but forgot to set QUOTA_AUTORECONF=YES

Fixes:
 - http://autobuild.buildroot.org/results/15f2dbfbafc91719ad1f5209811300ddaa5cec91

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lftp: bump to version 4.9.0
Fabrice Fontaine [Mon, 23 Dec 2019 22:31:07 +0000 (23:31 +0100)]
package/lftp: bump to version 4.9.0

Drop second patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libffi: fix build failure on power7 and older
Fabrice Fontaine [Mon, 23 Dec 2019 21:36:10 +0000 (22:36 +0100)]
package/libffi: fix build failure on power7 and older

Fixes:
 - http://autobuild.buildroot.org/results/3ab73995b8393592c0b147670d8ff7f8ebc8c79c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: remove patch
Giulio Benetti [Thu, 12 Dec 2019 14:01:18 +0000 (15:01 +0100)]
package/libnss: remove patch

Remove uClibc fix patch since its change has been upstreamed despite the
comment contained in patch.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: fix build failure on powerpc without <sys/auxv.h>
Giulio Benetti [Tue, 10 Dec 2019 12:13:22 +0000 (13:13 +0100)]
package/libnss: fix build failure on powerpc without <sys/auxv.h>

Add patch to fix build failure on PowerPc without <sys/auxv.h>. The patch
inserts #if statements to include or note <sys/auxv.h> prior it exists.

Fixes:
http://autobuild.buildroot.net/results/8bf95bd8a0aec8c53889308ab1e00d0a94f53d57/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: fix build failure on RHEL 7
Giulio Benetti [Thu, 12 Dec 2019 14:01:17 +0000 (15:01 +0100)]
package/libnss: fix build failure on RHEL 7

-DLINUX flag was passed to OS_CFLAGS instead of DEFINES, but OS_CFLAGS
is only used when cross-compiling, not when native building.

Add patch to fix build failure on RHEL 7 host by substituting OS_CFLAGS
with DEFINES.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/atmel: fix at91bootstrap custom tarball call function
Eugen Hristev [Mon, 16 Dec 2019 15:06:34 +0000 (15:06 +0000)]
configs/atmel: fix at91bootstrap custom tarball call function

The function was wrong, missing '$', and we also fix the filename,
which was prefixed at91bootstrap and not at91bootstrap3 as it should
have been.

Fixes: 806409533202 ("configs/atmel: use tarballs to fetch U-Boot and at91bootstrap")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/at91bootstrap3: implement custom tarball download
Eugen Hristev [Mon, 16 Dec 2019 15:06:34 +0000 (15:06 +0000)]
boot/at91bootstrap3: implement custom tarball download

Implement possibility to download AT91Bootstrap from a custom tarball
URL.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libffi: fix build failure with powerpc7
Fabrice Fontaine [Sun, 24 Nov 2019 09:03:05 +0000 (10:03 +0100)]
package/libffi: fix build failure with powerpc7

Fixes:
 - http://autobuild.buildroot.org/results/5c9dd8fb3b6a128882b6250f197c80232d8a3b53

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openblas: bump to version 0.3.7
Fabrice Fontaine [Sun, 22 Dec 2019 22:34:43 +0000 (23:34 +0100)]
package/openblas: bump to version 0.3.7

Remove both patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/twolame: libsndfile is optional
Fabrice Fontaine [Sun, 22 Dec 2019 22:37:21 +0000 (23:37 +0100)]
package/twolame: libsndfile is optional

libsndfile is optional not mandatory since version 0.4.0 and
https://github.com/njh/twolame/commit/fe2770bffb9da10b7a26c82a340c81299ff82c76

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/twolame: bump to version 0.4.0
Fabrice Fontaine [Sun, 22 Dec 2019 22:37:20 +0000 (23:37 +0100)]
package/twolame: bump to version 0.4.0

- Drop patch (already in version)
- Update hash of license file (trailing whitespace removed:
  https://github.com/njh/twolame/commit/2cdcd064aa340b30209d8a0e86cef5a22394b4d5)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: remove trailing space in samba4.mk
Titouan Christophe [Mon, 23 Dec 2019 10:48:01 +0000 (11:48 +0100)]
package/samba4: remove trailing space in samba4.mk

This fixes the following warning from `make check-package`:
    package/samba4/samba4.mk:34: line contains trailing whitespace

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tpm2-tss: fix build without C++
Carlos Santos [Mon, 23 Dec 2019 11:13:21 +0000 (08:13 -0300)]
package/tpm2-tss: fix build without C++

C++ is required only for the fuzzing tests but AC_PROG_CXX is included
by configure.ac even when fuzzing is not enabled (which we don't do on
Buildroot).

The patch applied upstream had issues and was reverted[1]. Use a local
patch to solve the problem temporaryly.

Fixes:
    http://autobuild.buildroot.net/results/13f5e37b47b255da4158bec34e5459136f7e60d4
    http://autobuild.buildroot.net/results/1c26db2509c79e00c0de1165945277eaa57b149f
    http://autobuild.buildroot.net/results/b7b6b7b7aca79e847b442cbd2305427d91fe5d70
    http://autobuild.buildroot.net/results/1cd5a82a0e799aa5027e2e2c03b246332cc3a15d
    http://autobuild.buildroot.net/results/d7ec878907f714377c83e9a496e97cbf9382d787
    http://autobuild.buildroot.net/results/1c7f0c1b3ce4871cd87bd6059b1f0a6dc4e74a9c
    http://autobuild.buildroot.net/results/196b81d580325607c8da90beeb79e1f6b8ab8b47
    http://autobuild.buildroot.net/results/f90f7b4ac710b56686635f8ae27059c11b963e47

1. https://github.com/tpm2-software/tpm2-tss/commit/60c26e4c4faba6ba12469485653e17092b510840

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/imx6-sabresd: Remove unneeded CONFIG_VIDEO_CODA fragment
Fabio Estevam [Mon, 23 Dec 2019 12:22:53 +0000 (09:22 -0300)]
board/freescale/imx6-sabresd: Remove unneeded CONFIG_VIDEO_CODA fragment

Since kernel commit a5a56f07c272 ("ARM: imx_v6_v7_defconfig: Select the
coda driver as module") the VPU coda driver is selected as module, so it can
be safely removed from linux_qt5.fragment.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/imx6-sabresd: Fix the Qt5 display names
Fabio Estevam [Mon, 23 Dec 2019 12:22:52 +0000 (09:22 -0300)]
board/freescale/imx6-sabresd: Fix the Qt5 display names

The correct syntax that Qt5 understands for display names is
"HDMI1" and "LVDS1", so fix it accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-autobahn: bump to version 19.11.1
James Hilliard [Mon, 23 Dec 2019 15:14:31 +0000 (08:14 -0700)]
package/python-autobahn: bump to version 19.11.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtomcrypt: add security patch for CVE-2019-17362
Thomas De Schampheleire [Mon, 23 Dec 2019 15:03:37 +0000 (16:03 +0100)]
package/libtomcrypt: add security patch for CVE-2019-17362

CVE-2019-17362:
"The der_decode_utf8_string function (in der_decode_utf8_string.c) does not
properly detect certain invalid UTF-8 sequences.  This allows
context-dependent attackers to cause a denial of service (out-of-bounds read
and crash) or read information from other memory locations via carefully
crafted DER-encoded data."

Details:
https://github.com/libtom/libtomcrypt/issues/507
https://nvd.nist.gov/vuln/detail/CVE-2019-17362

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pycares: bump to version 3.1.0
James Hilliard [Mon, 23 Dec 2019 15:01:17 +0000 (08:01 -0700)]
package/python-pycares: bump to version 3.1.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: fix build without python3
Fabrice Fontaine [Sun, 15 Dec 2019 17:36:29 +0000 (18:36 +0100)]
package/samba4: fix build without python3

python3 is mandatory since version 4.11 and
https://gitlab.com/samba-team/samba/commit/63d20d7822ead1626f7cb41fdbae6c9300893314

The only way to build samba4 without python3 is to disable python
bindings through --disable-python option

Fixes:
 - http://autobuild.buildroot.org/results/c4bb3d41fa07e38f0360a563bdcb4a368740cfe5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: fix build with uclibc
Fabrice Fontaine [Sun, 15 Dec 2019 17:34:31 +0000 (18:34 +0100)]
package/samba4: fix build with uclibc

Fixes:
 - autobuild.buildroot.org/results/9507739b3d5d51024ee9c60b74c2f85d5004e7e2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cython: bump version to 0.29.14
Adam Duskett [Sun, 8 Dec 2019 20:19:23 +0000 (12:19 -0800)]
package/python-cython: bump version to 0.29.14

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fluidsynth: new package
Julien Olivain [Mon, 9 Dec 2019 20:03:24 +0000 (21:03 +0100)]
package/fluidsynth: new package

FluidSynth is a real-time software synthesizer based on the SoundFont
2 specifications and has reached widespread distribution. FluidSynth
itself does not have a graphical user interface, but due to its
powerful API several applications utilize it and it has even found its
way onto embedded systems and is used in some mobile apps.

http://www.fluidsynth.org/

Signed-off-by: Julien Olivain <juju@cotds.org>
Reviewed-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/alsa-lib: add BR2_PACKAGE_ALSA_LIB_UCM
Fabrice Fontaine [Sun, 22 Dec 2019 13:18:17 +0000 (14:18 +0100)]
package/alsa-lib: add BR2_PACKAGE_ALSA_LIB_UCM

ucm needs mixer since version 1.2.1 and
https://github.com/alsa-project/alsa-lib/commit/5c88b183718ce3df11bc4753c76d95f3e9de6c7e

So add a BR2_PACKAGE_ALSA_LIB_UCM option that selects
BR2_PACKAGE_ALSA_LIB_MIXER and selects this new option in
BR2_PACKAGE_ALSA_UTILS_ALSAUCM to avoid a build failure

Fixes:
 - http://autobuild.buildroot.org/results/aaa615d4e38d100bb9001ecdf7357e755ef42a87

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysdig: reorder selects alphabetically
Fabrice Fontaine [Sun, 22 Dec 2019 16:40:39 +0000 (17:40 +0100)]
package/sysdig: reorder selects alphabetically

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/raspi-gpio: bump to revision 4edfde1
Pierre-Jean Texier [Sun, 22 Dec 2019 21:13:12 +0000 (22:13 +0100)]
package/raspi-gpio: bump to revision 4edfde1

This includes the following changes:

4edfde1 Update raw output to show pull registers on 2711

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-dpkt: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:56:39 +0000 (12:56 +0000)]
package/python-dpkt: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(405)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crc16: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:51:05 +0000 (12:51 +0000)]
package/python-crc16: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-coherence: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:44:59 +0000 (12:44 +0000)]
package/python-coherence: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pimd: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:25:06 +0000 (12:25 +0000)]
package/pimd: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-sys-cpu: add an upstream URL to Config.in
Mark Corbin [Tue, 17 Dec 2019 12:17:53 +0000 (12:17 +0000)]
package/perl-sys-cpu: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qpdf: add optional gnutls dependency
Fabrice Fontaine [Sun, 22 Dec 2019 10:49:29 +0000 (11:49 +0100)]
package/qpdf: add optional gnutls dependency

gnutls is an optional dependency since version 9.1.0 and
https://github.com/qpdf/qpdf/commit/88bedb41fe82df312d62e364a5a216b62fc8807c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qpdf: bump to version 9.1.0
Fabrice Fontaine [Sun, 22 Dec 2019 10:49:28 +0000 (11:49 +0100)]
package/qpdf: bump to version 9.1.0

- Add host-pkgconf dependency as it is used since version 9.0.0 and
  https://github.com/qpdf/qpdf/commit/12400475283f5081ea55f52a764e43f14032f6ba
- C++11 is mandatory since version 9.1.0 and
  https://github.com/qpdf/qpdf/commit/653ce3550d18a07194a4c3bb9b4a3d260ed842cd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wolfssl: bump to version 4.3.0
Sergio Prado [Sun, 22 Dec 2019 10:18:07 +0000 (07:18 -0300)]
package/wolfssl: bump to version 4.3.0

Remove patch already applied upstream (refactored on commit c06efb6c1fda0)

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: add option to install save/restore utils
David Owens [Mon, 16 Dec 2019 22:08:32 +0000 (16:08 -0600)]
package/ebtables: add option to install save/restore utils

This patch adds an option to include the tools on target that allow
the saving and restoring of ebtables. The upstream save utility is
replaced in this commit as it depended on perl which is not always
possible on an embedded system. The commit used to replace this
script seems to note it as a common approach across a few distros.

Signed-off-by: David Owens <david.owens@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: use a foreach make loop instead of a for shell loop
Thomas Petazzoni [Sun, 22 Dec 2019 20:17:36 +0000 (21:17 +0100)]
package/ebtables: use a foreach make loop instead of a for shell loop

make loops are more commonly used in Buildroot, are shorter, and have
built-in error handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: drop useless EBTABLES_SUBDIR variable
Thomas Petazzoni [Sun, 22 Dec 2019 20:15:33 +0000 (21:15 +0100)]
package/ebtables: drop useless EBTABLES_SUBDIR variable

This variable is never defined, so it is empty. Using it makes the
code needlessly more complicated than it needs to be, so let's drop
it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libglib2: bump version to 2.62.4
Adam Duskett [Sun, 22 Dec 2019 19:45:12 +0000 (11:45 -0800)]
package/libglib2: bump version to 2.62.4

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoarch/arc: Accommodate 16 KiB MMU pages
Alexey Brodkin [Wed, 18 Dec 2019 15:55:55 +0000 (18:55 +0300)]
arch/arc: Accommodate 16 KiB MMU pages

ARC processors are known for its configurability and one of those
configurable things is MMU page size which might be set to any
power of two from 4 KiB to 16 MiB, though in the Linux kernel we
only support 4, 8 and 16 KiB due to practical considerations.

And the most used setting is 8 KiB thus GNU LD assumes maximum
page size is 8 KiB by default and while this works for smaller
pages (it's OK to align segments by larger value it will be still
peoperly aligned) this breaks execution of user-space apps on HW
with larger pages because Elf sections might very well span across
allocated pages and thus make executable broken.

Simplest example:
------------------------------------>8-----------------------------------
$ arc-linux-gcc test.c
$ arc-linux-readelf --segments a.out

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
...
  LOAD           0x000000 0x00010000 0x00010000 0x003e8 0x003e8 R E 0x2000 <-- See
  LOAD           0x001f24 0x00013f24 0x00013f24 0x000f0 0x0010c RW  0x2000
------------------------------------>8-----------------------------------

Fortunately we may override default page size settings with "max-page-size"
linker option this way:
------------------------------------>8-----------------------------------
$ arc-linux-gcc test.c -Wl,-z,max-page-size=16384
$ arc-linux-readelf --segments a.out
Elf file type is EXEC (Executable file)
Entry point 0x102c4
There are 8 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
...
  LOAD           0x000000 0x00010000 0x00010000 0x003e8 0x003e8 R E 0x4000 <-- See
  LOAD           0x001f24 0x00015f24 0x00015f24 0x000f0 0x0010c RW  0x4000
------------------------------------>8-----------------------------------

Which we implement with that change.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[yann.morin.1998@free.fr: fix comment: s/8196/8192/]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agolinux: Set MMU page size for ARC processors
Alexey Brodkin [Tue, 17 Dec 2019 13:15:28 +0000 (16:15 +0300)]
linux: Set MMU page size for ARC processors

ARC processors have configurable size of MMU page. This configuration
happens during ASIC design and couldn't be changed in final silicone
not to mention runtime changes.

Given PAGE_SIZE macro is used a lot throughout the Linux kernel sources
we just hardcode a required value during the kernel configuration.

We used to support different MMU page sizes for ARC in Buildroot for
quite some time now but so far we only tweaked uClibc on the matter.
That left us with the kernel configured with whatever was in used defconfig.

In most of real cases that's OK because typically we're building firmware
for a particular ASIC which is supposed to have a unique kernel defconfig.
But if we're dealing with FPGA-based boards or even simlators like
Synopsys DesignWare nSIM or QEMU it's possible to have dfferent MMU page
size configured in that target mostly for the sake of testing.

And so we're trying to solve 2 problems here:
 1. Make sure both user-space (via libc settings) and the Linux kernel
    are "on the same page", i.e. expect to use the same MMU page size.
 2. Simplify process of testing different page sizes.
    As now we first need to set page size in Buildroot and then in the
    kernel via "make linux-configure" or via Kconfig fragment.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[yann.morin.1998@free.fr: simplify the conditions]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/usb_modeswitch_data: bump to version 20191128
Fabrice Fontaine [Sun, 22 Dec 2019 11:06:46 +0000 (12:06 +0100)]
package/usb_modeswitch_data: bump to version 20191128

Upstream provides an md5 of the tarball, so we add it (even though
that's a weak hash).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: add the md5 from upstream]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/usb_modeswitch: bump to version 2.6.0
Fabrice Fontaine [Sun, 22 Dec 2019 11:06:44 +0000 (12:06 +0100)]
package/usb_modeswitch: bump to version 2.6.0

- Drop first patch (not needed anymore) and all jimtcl related
  workarounds as embedded jimtcl has been removed
- Parallel build issue has been fixed
- Update hash of COPYING as this file has been updated to reflect that
  dispatcher.c is under BSD-2-Clause

Full ChangeLog: http://www.draisberghof.de/usb_modeswitch/ChangeLog

Upstream provides an md5 of the tarball, so we add it (even though
that's a weak hash).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - meld with the license fix patch
  - simplify license list
  - add md5 from upstream
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openocd: use host-jimtcl for host variant
Fabrice Fontaine [Sun, 22 Dec 2019 14:02:37 +0000 (15:02 +0100)]
package/openocd: use host-jimtcl for host variant

This will fix a build failure raised by commit
06aa2995350922197c6db0a46e39ac5c37d5a49e which dropped patch on embedded
jimtcl

Fixes:
 - http://autobuild.buildroot.org/results/bd140b5f433d4272f3efd43ff840e13e4301c4db

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/jimtcl: add host variant
Fabrice Fontaine [Sun, 22 Dec 2019 14:02:36 +0000 (15:02 +0100)]
package/jimtcl: add host variant

host-jimtcl is needed for host-openocd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - call hook to update config.{guess,sub}
  - reformat the build commands
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openipmi: install to staging dir
Alexey Lukyanchuk [Mon, 16 Dec 2019 09:38:03 +0000 (12:38 +0300)]
package/openipmi: install to staging dir

Needed for packages which depend on openipmi.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-sc-firmware: bump to version 1.2.1
Julien Olivain [Wed, 18 Dec 2019 13:04:29 +0000 (14:04 +0100)]
package/freescale-imx/imx-sc-firmware: bump to version 1.2.1

This version is aligned with i.MX NXP BSP components version
rel_imx_4.14.98_2.0.0_ga

This patch also add the hash file.

Signed-off-by: Julien Olivain <juju@cotds.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>