buildroot.git
4 years agopackage/matchbox: add hash for license file
Fabrice Fontaine [Fri, 8 May 2020 15:49:33 +0000 (17:49 +0200)]
package/matchbox: add hash for license file

Add hash for license file, add sha256 for tarball and update indentation
for hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/matchbox: add missing expat dependency
Fabrice Fontaine [Fri, 8 May 2020 14:56:41 +0000 (16:56 +0200)]
package/matchbox: add missing expat dependency

matchbox selects expat but does not add it to its dependency resulting
in the following build failure:

configure: error: cannot find expat library
make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/matchbox-1.2/.stamp_configured] Error 1

Fixes:
 - http://autobuild.buildroot.org/results/37021f1d7fcfd890011068a28ce6181dc509e746

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/checkpolicy: fix -fno-common build failure
Matt Weber [Wed, 6 May 2020 12:21:01 +0000 (07:21 -0500)]
package/checkpolicy: fix -fno-common build failure

Added upstream patch for removal of unused te_assertions which was
found when using GCC10 as a host complier (-fno-common is now default)

Fixes:
http://autobuild.buildroot.net/results/63f2d1897a8f581ec107374bf2cbb68d3add4109/

Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agorelease: don't include temp files
Yann E. MORIN [Fri, 8 May 2020 08:32:20 +0000 (10:32 +0200)]
release: don't include temp files

When we prepare the release, we generate the manual in various formats,
so that it can be consulted locally without needing the miriads of tools
needed to generate it.

However, this creates the temporary .br2-external.* files in the output
directory, and those end up in the release tarball.

This is not a problem in practice, but is not clean.

Run 'distclean' in the output directory, to get rid of everything but
the generated documentation.

Reported-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/domoticz: set WITH_LIBUSB
Fabrice Fontaine [Thu, 7 May 2020 22:37:20 +0000 (00:37 +0200)]
package/domoticz: set WITH_LIBUSB

Use WITH_LIBUSB which is available since version 4.9700 and
https://github.com/domoticz/domoticz/commit/f53817577a834ed0c3fc16458c374aea490be49e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: add a dependency on net-tools if utils is selected
Adam Duskett [Fri, 8 May 2020 01:59:55 +0000 (18:59 -0700)]
package/apparmor: add a dependency on net-tools if utils is selected

aa-unconfied requires the full version of netstat provided by the net-tools
package. Without the full version, running aa-unconfined will result in the
error:
netstat: invalid option -- 'p'

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - net-ttols is a runtime depednency
  - select BB_SHOW_OTHERS
  - reorder depends
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: fix typo in Config.in
Adam Duskett [Fri, 8 May 2020 01:59:54 +0000 (18:59 -0700)]
package/apparmor: fix typo in Config.in

pyhon should be python

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: fix compatibility with busybox grep
Adam Duskett [Fri, 8 May 2020 01:59:53 +0000 (18:59 -0700)]
package/apparmor: fix compatibility with busybox grep

The following regex string in rc.apparmor.functions
"^/.*[ \t]+flags[ \t]*=[ \t]*\([ \t]*complain[ \t]*\)[ \t]+{" is broken due to
the unescaped { at the end of the regex pattern.
GNU grep ignors the error. However, the Busybox grep does not and throws the
error "unescaped character {"

Escape the "{" character to fix this issue.

Note: Upstream has rewritten large sections of the rc.apparmor.functions file
and the function this patch fixes will no longer be necessary after the next
version is released. However, it is not possible to easily backport the
upstream patches as the rewrite comes with new features that would not be
possible with a simple patch such as this one.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: replace deprecated egrep with grep -E
Adam Duskett [Fri, 8 May 2020 01:59:52 +0000 (18:59 -0700)]
package/apparmor: replace deprecated egrep with grep -E

Upstream commit: 5f46dedd6e8109d845af118b36039a5d7dd05af9

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mbuffer: do not force c99 mode
Fabrice Fontaine [Tue, 5 May 2020 16:36:57 +0000 (18:36 +0200)]
package/mbuffer: do not force c99 mode

Do not force c99 mode to be able to remove both patches and because it
does not seem to be motivated. Indeed, even if the second patch was
sucessfully upstreamed. The first one can't be upstreamed as it raises
the following build falure on Solaris 11 (due to mixing c99 and
_POSIX_C_SOURCE):

 #if defined(STDC_C99) && (defined(_XOPEN_OR_POSIX) && !defined(XPG6))
 #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
 and pre-2001 POSIX applications"

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uclibc: bump to 1.0.34
Waldemar Brodkorb [Wed, 6 May 2020 13:04:51 +0000 (15:04 +0200)]
package/uclibc: bump to 1.0.34

Between 1.0.32 and 1.0.34, only bug fixes have been merged in
uclibc-ng. All patches can be removed, as they have been applied
upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/squid: security bump to version 4.11
Fabrice Fontaine [Wed, 6 May 2020 20:15:41 +0000 (22:15 +0200)]
package/squid: security bump to version 4.11

Fix CVE-2020-11945: An issue was discovered in Squid before 5.0.2. A
remote attacker can replay a sniffed Digest Authentication nonce to gain
access to resources that are otherwise forbidden. This occurs because
the attacker can overflow the nonce reference counter (a short integer).
Remote code execution may occur if the pooled token credentials are
freed (instead of replayed as valid credentials).

http://www.squid-cache.org/Advisories/SQUID-2020_4.txt

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apparmor: skip docs building
Angelo Compagnucci [Wed, 29 Apr 2020 21:18:40 +0000 (23:18 +0200)]
package/apparmor: skip docs building

When pod2man and pod2html are missing, building now exits with an
error.
Building of man pages and documentation should be skipped in buildroot,
setting both executables to the "true" command it's sufficient to skip
them.

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

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoUpdate for 2020.05-rc1
Thomas Petazzoni [Thu, 7 May 2020 20:26:18 +0000 (22:26 +0200)]
Update for 2020.05-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoCHANGES: update with list of issues fixed in 2020.05-rc1
Thomas Petazzoni [Thu, 7 May 2020 19:56:30 +0000 (21:56 +0200)]
CHANGES: update with list of issues fixed in 2020.05-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoCHANGES: start updating for 2020.05-rc1 release
Thomas Petazzoni [Tue, 5 May 2020 20:54:40 +0000 (22:54 +0200)]
CHANGES: start updating for 2020.05-rc1 release

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-redis: Bump to version 3.5.0
Grzegorz Blach [Mon, 4 May 2020 18:33:02 +0000 (20:33 +0200)]
package/python-redis: Bump to version 3.5.0

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: bump version to 3.52
Giulio Benetti [Mon, 4 May 2020 15:10:36 +0000 (17:10 +0200)]
package/libnss: bump version to 3.52

Bump version to 3.52 and drop all patches since they've all been
upstreamed.

Release notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.52_release_notes

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zziplib: bump to version 0.13.71
Romain Naour [Mon, 4 May 2020 14:52:12 +0000 (16:52 +0200)]
package/zziplib: bump to version 0.13.71

Remove upstream patches and CVE tags.

Switch the dependency to python3 added by [1].

Update indentation of hash file (two spaces).

[1] https://github.com/gdraheim/zziplib/commit/a144bec8d06302e7be11f0f46e02947b0becf574

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/solarus: bump to version 1.6.4
Romain Naour [Mon, 4 May 2020 14:37:42 +0000 (16:37 +0200)]
package/solarus: bump to version 1.6.4

Add glm dependency since the bundled version is gone [1].

Update indentation of hash file (two spaces).

[1] https://gitlab.com/solarus-games/solarus/commit/5285c8e1afa538bbcd4c8654f9bbfb270cc7f52

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsepol: fix -fno-common build faiures
Matt Weber [Mon, 4 May 2020 15:41:07 +0000 (10:41 -0500)]
package/libsepol: fix -fno-common build faiures

Add upstream patch for
    libsepol: remove leftovers of cil_mem_error_handler
    libsepol: fix CIL_KEY_* build errors with -fno-common

Fixes:
http://autobuild.buildroot.net/results/3d133ce6e83833f0c70a91270d0c49304c3413f6/

Cc: Romain Naour <romain.naour@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-waf: use host-python3
Titouan Christophe [Tue, 4 Feb 2020 21:59:50 +0000 (22:59 +0100)]
package/pkg-waf: use host-python3

This is the last of an unconsolidated series of patches that
removes the need for host-python(2) for all waf-based packages.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cage: bump to latest upstream version
Gilles Talis [Sun, 3 May 2020 14:43:55 +0000 (16:43 +0200)]
package/cage: bump to latest upstream version

cage v0.1.1 can't build with wlroots 0.10.1, as it uses
a set of wlroots API that are no longer available.

Moving to latest upstream version fixes the issue.

Also:
- added license file information
- updated license file hash

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wlroots: add license file information
Gilles Talis [Sun, 3 May 2020 14:43:56 +0000 (16:43 +0200)]
package/wlroots: add license file information

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/znc: bump version to 1.8.0
Bernd Kuhls [Sun, 3 May 2020 17:45:03 +0000 (19:45 +0200)]
package/znc: bump version to 1.8.0

Reformatted hashes.

Changelog: https://wiki.znc.in/ChangeLog/1.8.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/supertuxkart: remove libglu dependency
Bernd Kuhls [Sun, 3 May 2020 17:12:27 +0000 (19:12 +0200)]
package/supertuxkart: remove libglu dependency

"The inclusion of GLU is historical. [...] It's not needed for GLEW to
 build or run, but it's opt-out that reason. I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

Supertuxkart already uses -DGLEW_NO_GLU:
https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L224

This patch only removes the dependency to libglu and depends on the
previous patch of this series which removes glu from glew.pc.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libglew: do not depend on libglu
Bernd Kuhls [Sun, 3 May 2020 17:12:26 +0000 (19:12 +0200)]
package/libglew: do not depend on libglu

"The inclusion of GLU is historical. [...] It's not needed for GLEW to
 build or run, but it's opt-out that reason. I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

This patch prevents libglu being added to the "Requires:" section of
glew.pc fixing libglew detection in the supertuxkart package

-- Checking for module 'glew>=2.1'
--   Package 'glu', required by 'glew', not found

after libglu is removed as dependency of supertuxkart.

Supertuxkart already uses -DGLEW_NO_GLU:
https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L224

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/supertux: remove libglu dependency
Bernd Kuhls [Sun, 3 May 2020 17:12:25 +0000 (19:12 +0200)]
package/supertux: remove libglu dependency

"The inclusion of GLU is historical. [...] It's not needed for GLEW to
 build or run, but it's opt-out that reason. I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

Each package using glew.h has to decide whether to use the opt-out for
glu or not. Since supertux does not need libglu we can safely remove
the dependency by adding -DGLEW_NO_GLU to TARGET_CXXFLAGS.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ogre: remove libglu dependency
Bernd Kuhls [Sun, 3 May 2020 17:12:24 +0000 (19:12 +0200)]
package/ogre: remove libglu dependency

"The inclusion of GLU is historical. [...] I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

Add -DGLEW_NO_GLU to get rid of the libglu dependency.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr:
  - fix mismatch between OGRE_CXX_FLAGS and OGRE_CXXFLAGS
  - also use OGRE_CFLAGS for symetry with OGRE_CXXFLAGS
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ne10: drop arch-related comment
Baruch Siach [Sat, 2 May 2020 20:53:46 +0000 (23:53 +0300)]
package/ne10: drop arch-related comment

Commit e845f9364c2b8 ("ne10: bump to v1.2.1") removed arm arch
dependency from the comment. This comment is only relevant to arm.

Furthermore, if a target does not have a NEON unit, there is
nothing a user can do about that condition in Buildroot. Showing
a comment would not be useful, and we're not usually showing any
arch-related comment.

Cc: Cody Guldner <cody.guldner@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[yann.morin.1998@free.fr: drop the comment, explain why]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/qemu_riscv64_virt: update defconfigs to Linux 5.4.35
Romain Naour [Sun, 26 Apr 2020 10:04:48 +0000 (12:04 +0200)]
configs/qemu_riscv64_virt: update defconfigs to Linux 5.4.35

Contrary to riscv32, the qemu_riscv64_virt defconfig doesn't needs
any specific change. It could have been updated to Linux 5.4.35 in
the commit 80a044703a40bd7418a2b906ff08362ef5460b87.

So, update the kernel version to 5.4.35.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-jedi: bump to version 0.17.0
Fabrice Fontaine [Sat, 2 May 2020 17:20:30 +0000 (19:20 +0200)]
package/python-jedi: bump to version 0.17.0

Drop flask license as the old flask theme has been replaced with the
sphinx_rtd_theme since version 0.17.0 and
https://github.com/davidhalter/jedi/commit/8f96cbdabff671325a2987eb23ba91de90381c15

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exim: fix parallel build
Luca Ceresoli [Sat, 2 May 2020 18:15:04 +0000 (20:15 +0200)]
package/exim: fix parallel build

exim does build in parallel correctly, but has a concurrency bug in
generating version info files which happens either in the build step or in
the install step.

Add a patch to fix the bug.

Fixes:
  http://autobuild.buildroot.net/results/ebf/ebfccad007e216564889645a07f5487747116331//
  http://autobuild.buildroot.net/results/56a/56a8457efcb32579ad6da99a769b6438dd0db267//
  http://autobuild.buildroot.net/results/6a1/6a1f8a352649baf767b094cb6bbe2a7397fa7fac//
  http://autobuild.buildroot.net/results/5ed/5ed1c42b3d33198f32d1267e5cc2b1fa1211495a//
  http://autobuild.buildroot.net/results/b30/b304569948fd481ce33ecd052a1036153c5d459e//
  http://autobuild.buildroot.net/results/d2c/d2c7abfe08672e53ff890127f787f8d2e84860f4//

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rtl8723bu: bump version to c9549d172a4f9d6ccf6d528682640246a41c2f0c
Michael Fischer [Thu, 30 Apr 2020 12:58:17 +0000 (14:58 +0200)]
package/rtl8723bu: bump version to c9549d172a4f9d6ccf6d528682640246a41c2f0c

Signed-off-by: Michael Fischer <mf@go-sys.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qemu: disable curl for the host variant
Romain Naour [Wed, 29 Apr 2020 22:56:54 +0000 (00:56 +0200)]
package/qemu: disable curl for the host variant

Under certain circumstances (host distribution, openssl version),
the qemu-system binary fail to start:

qemu-system-aarch64: symbol lookup error: /lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

There is no problem when only host-qemu is built, but it's linked with /lib64/libcurl.so.4
$ make host-qemu
$ ldd output/host/bin/qemu-system-aarch64
        [...]
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007fb21cb57000)
libssh.so.4 => /lib64/libssh.so.4 (0x00007fb21c35d000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007fb21c34a000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007fb21c2b4000)

Note: /lib64/libcurl.so.4 is linked with libssh and libssl:
$ ldd /lib64/libcurl.so.4
[...]
libssh.so.4 => /lib64/libssh.so.4 (0x00007f90d8efd000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f90d8eea000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f90d8e54000)

Continue the build.
$ make

We can notice that qemu_aarch64_virt_defconfig set
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

So host-openssl package is built and this is the problem:

$ ldd output/host/bin/qemu-system-aarch64
[...]
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f3adb444000)
libssh.so.4 => /lib64/libssh.so.4 (0x00007f3adac4a000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f3adac37000)
libssl.so.1.1 => /home/naourr/buildroot/test/qemu_aarch64_virt_defconfig-master/host/lib/libssl.so.1.1 (0x00007f3adaba8000)

qemu-system-aarch64: symbol lookup error: /lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

This is due to the build system trying to find libcurl using
pkg-config or curl-config.

libcurl is used by the QEMU Block driver for CURL images and
elf2dmp tool which is not needed.
Instead of adding host-libcurl dependency, we can disable it
entierely.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/vlc: bump version to 3.0.10
Bernd Kuhls [Thu, 30 Apr 2020 17:24:30 +0000 (19:24 +0200)]
package/vlc: bump version to 3.0.10

Release notes: https://www.videolan.org/developers/vlc-branch/NEWS

Added optional dependency to dav1d, reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-msgfy: bump to version 0.1.0
Fabrice Fontaine [Fri, 1 May 2020 13:32:50 +0000 (15:32 +0200)]
package/python-msgfy: bump to version 0.1.0

- python 2 support has been dropped since version 0.1.0 and
  https://github.com/thombashi/msgfy/commit/8ddfd20132b8d4825214252189a65570b562619f
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-parso: bump to version 0.7.0
Fabrice Fontaine [Fri, 1 May 2020 13:19:32 +0000 (15:19 +0200)]
package/python-parso: bump to version 0.7.0

Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libgeotiff: bump to version 1.6.0
Fabrice Fontaine [Fri, 1 May 2020 13:14:03 +0000 (15:14 +0200)]
package/libgeotiff: bump to version 1.6.0

- Drop patches (already in version) and so AUTORECONF
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/proj: bump to version 7.0.1
Fabrice Fontaine [Fri, 1 May 2020 13:14:02 +0000 (15:14 +0200)]
package/proj: bump to version 7.0.1

- curl and tiff are optional dependencies since version 7.0.0 and
  https://github.com/OSGeo/PROJ/commit/db31b6dfa9c8fe37d5706d95ce81012b8db3c3b9
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mesa3d: drop pkgconfig workaround
James Hilliard [Sat, 2 May 2020 00:25:02 +0000 (18:25 -0600)]
package/mesa3d: drop pkgconfig workaround

This workaround is not needed as of commit
5cff3a8bdfba92e9f61d0984df08f1ecd205c072 which properly sets the
PKG_CONFIG_LIBDIR for native: true dependencies.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wlroots: drop pkgconfig workaround
James Hilliard [Sat, 2 May 2020 00:32:54 +0000 (18:32 -0600)]
package/wlroots: drop pkgconfig workaround

This workaround is not needed as of commit
5cff3a8bdfba92e9f61d0984df08f1ecd205c072 which properly sets the
PKG_CONFIG_LIBDIR for native: true dependencies.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libfm-extra: fix dependency comment
Bernd Kuhls [Sat, 2 May 2020 09:54:07 +0000 (11:54 +0200)]
package/libfm-extra: fix dependency comment

According to the depends used the package does not need C++.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: adjust e-mail address for Davide Viti
Davide Viti [Fri, 1 May 2020 20:54:58 +0000 (22:54 +0200)]
DEVELOPERS: adjust e-mail address for Davide Viti

Previous address is still valid but not used as primary address any
longer

Signed-off-by: Davide Viti <zinosat@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/binutils: fix XTENSA_NDIFF handling for PR ld/25861
Max Filippov [Thu, 30 Apr 2020 05:08:22 +0000 (22:08 -0700)]
package/binutils: fix XTENSA_NDIFF handling for PR ld/25861

Fix for xtensa PR ld/25861 introduced a regression in handling negative
symbol differences resulting in linker performing incorrect relaxation
or failing to link. Fix XTENSA_NDIFF relocation handling.

Backported from:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=d548f47df4d2e3d117d504a4c9977982c78a0556

Fixes: f0291ef4aba0 ("package/binutils: fix xtensa PR ld/25861")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agone10: bump to v1.2.1
Cody Guldner [Fri, 1 May 2020 15:25:57 +0000 (10:25 -0500)]
ne10: bump to v1.2.1

Signed-off-by: Cody Guldner <cody.guldner@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ghostscript: add cups support
Alexey Lukyanchuk [Fri, 1 May 2020 15:49:50 +0000 (18:49 +0300)]
package/ghostscript: add cups support

Allow ghostscript to be used by cups for printing.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cups-filters: add image printing support
Alexey Lukyanchuk [Fri, 1 May 2020 15:55:24 +0000 (18:55 +0300)]
package/cups-filters: add image printing support

Enable image filters, to directly print images from cups.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
[yann.morin.1998@free.fr:
  - explicitly enable it, don;t rely on defaults
  -  reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qpdf: fix 'no such file' exeption
Alexey Lukyanchuk [Fri, 1 May 2020 15:51:39 +0000 (18:51 +0300)]
package/qpdf: fix 'no such file' exeption

Without a source for randomness, qpdf will crash with 'no such file'
error. It's can me tested by command like 'qpd some_pdf.pdf -'.
This problem breaks cups printing.

This patch change configure options to '--with-random=/dev/urandom'

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
[yann.morin.1998@free.fr: reword commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/vlc: enable gnutls if selected
Michele Comignano [Wed, 8 Apr 2020 19:48:33 +0000 (21:48 +0200)]
package/vlc: enable gnutls if selected

Signed-off-by: Michele Comignano <comick@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.0.6
Bernd Kuhls [Fri, 1 May 2020 18:19:22 +0000 (20:19 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 20.0.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/weston: drop pkgconfig workaround
James Hilliard [Tue, 28 Apr 2020 12:22:13 +0000 (06:22 -0600)]
package/weston: drop pkgconfig workaround

We no longer need this package specific pkconfig workaround as it is
now applied to all meson packages automatically.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-meson.mk: set correct pkgconfig for native dependencies
James Hilliard [Tue, 28 Apr 2020 12:22:12 +0000 (06:22 -0600)]
package/pkg-meson.mk: set correct pkgconfig for native dependencies

This sets the correct build.pkg_config_path for all meson packages so
that dependencies with native: true will properly use the the host
pkgconfig instead of the target pkgconfig.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libapparmor: bear the kernel options munging
Thomas Petazzoni [Fri, 1 May 2020 13:46:58 +0000 (15:46 +0200)]
package/libapparmor: bear the kernel options munging

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kernel-module-imx-gpu-viv: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:34 +0000 (14:10 +0200)]
package/kernel-module-imx-gpu-viv: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Gary Bisson <bisson.gary@gmail.com>
Cc: Refik Tuzakli <tuzakli.refik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libselinux: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:33 +0000 (14:10 +0200)]
package/libselinux: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wireguard-linux-compat: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:32 +0000 (14:10 +0200)]
package/wireguard-linux-compat: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xtables-addons: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:31 +0000 (14:10 +0200)]
package/xtables-addons: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iptables: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:30 +0000 (14:10 +0200)]
package/iptables: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sunxi-mali-mainline-driver: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:29 +0000 (14:10 +0200)]
package/sunxi-mali-mainline-driver: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/smack: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:28 +0000 (14:10 +0200)]
package/smack: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:27 +0000 (14:10 +0200)]
package/systemd: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pcm-tools: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:25 +0000 (14:10 +0200)]
package/pcm-tools: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ktap: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:24 +0000 (14:10 +0200)]
package/ktap: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Anders Darander <anders@chargestorm.se>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-micro-code: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:23 +0000 (14:10 +0200)]
package/intel-micro-code: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/audit: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:22 +0000 (14:10 +0200)]
package/audit: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: allow packages to set kernel config options
Yann E. MORIN [Sat, 4 Apr 2020 12:10:21 +0000 (14:10 +0200)]
linux: allow packages to set kernel config options

Currently, the linux kernel will apply some fixups on its .config file,
based on whether some packages are enabled or not. That list of
conditional fixups is getting bigger and bigger with each new package
that needs such fixups, culminating with the pending firewalld one [0].

Furthermore, these fixups are not accessible to packages in br2-external
trees.

Add a new per-package variable, that packages may set to the commands to
run to fixup the kernel .config file, which is added at the end of the
linux' own fixups.

This opens the possibility to write things like;

    define FOO_LINUX_CONFIG_FIXUPS
        $(call KCONFIG_ENABLE_OPT,BLA)
    endef

Of course, it also opens the way to run arbitrary commands in there, but
any alternative that would be declarative only, such as a list of
options to enable or disable (as an example):

    FOO_LINUX_CONFIG_FIXUPS = +BAR -FOO +BUZ="value"

.. is not very nice either, and such lists fall flat when a value would
have a space.

For packages that we have in-tree, we can ensure they won't play foul
with their _LINUX_CONFIG_FIXUPS. For packages in br2-external trees,
there's nothing we can do; users already have the opportunity to hack
into the linux configure process by providing LINUX_PRE_CONFIGURE_HOOKS
or LINUX_POST_CONFIGURE_HOOKS anyway...

.. which brings the question of why we don't use that to implement the
per-package fixups. We don't, because _PRE or _POST_CONFIGURE_HOOKS are
run after we run 'make oldconfig' to sanitise the mangled .config.

[0] http://lists.busybox.net/pipermail/buildroot/2020-March/278683.html

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:20 +0000 (14:10 +0200)]
linux: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/uclibc: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:19 +0000 (14:10 +0200)]
boot/uclibc: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/swupdate: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:18 +0000 (14:10 +0200)]
boot/swupdate: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/busybox: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:17 +0000 (14:10 +0200)]
boot/busybox: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/uboot: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:16 +0000 (14:10 +0200)]
boot/uboot: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/barebox: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:15 +0000 (14:10 +0200)]
boot/barebox: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-utils.mk: kconfig mangling defaults to current package's .config
Yann E. MORIN [Sat, 4 Apr 2020 12:10:14 +0000 (14:10 +0200)]
package/pkg-utils.mk: kconfig mangling defaults to current package's .config

The kconfig mangling macros currently operate on the caller-supplied
.config file, on the assumption that the caller will always know what
file to mangle.

This was correct so far, as packages would indeed only mangle their
own .config files.

However, the Linux kernel does its mangling based on whether some
other packages are enabled or not. That list of conditional mangling
is getting bigger and bigger with each new package that needs such
mangling, culminating with the pending firewalld one [0]. Furthermore,
this mangling is not accessible to packages in br2-external trees. So
we'll want to have packages provide the mangling commands.

So we'll want the mangling to be done on the Linux' .config file in
the expanding package context, not in the package calling the macros.

But packages do not, and should not have knowledge about where the
.config file is, nor how it is named.

So we make the parameter to specify the .config file to mangle
optional.  If it is set, this is what the macros will mangle; if it is
not set, the expanding package's .config file will be used.

This has the added benefit that we do not have to repeat in the
expanding package context the knowledge of how the .config file is
named:

    FOO_KCONFIG_DOTCONFIG = .config
    define FOO_KCONFIG_FIXUPS_CMDS
        $(call KCONFIG_ENABLE_OPT,BLA)
    endef

[0] http://lists.busybox.net/pipermail/buildroot/2020-March/278683.html

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-utils.mk: rationalise kconfig option mangling
Yann E. MORIN [Sat, 4 Apr 2020 12:10:13 +0000 (14:10 +0200)]
package/pkg-utils.mk: rationalise kconfig option mangling

Currently, we have three macros that may mangle a .config file. All
three are modeled after the same pattern: removing the existing option
from the .config file, then adding the new definition for that option;
all three also implement that pattern with the same commands: sed and
echo.

This is all good so far, because it was simple enough, and they always
worked on a file passed in parameter.

However, we're soon going to change this file parameter to make it
optional, so that the file will then be auto-deduced for the current
package. In that case, the file to sed and echo into will be a more
complex structure than just the parameter.

As such, move the actual mangling down to a helper macro, that is called
from the three existing ones.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ibm-sw-tpm2: needs threads
Vincent Fazio [Fri, 1 May 2020 13:17:56 +0000 (08:17 -0500)]
package/ibm-sw-tpm2: needs threads

The server process leverages threads, so add the dependency.

Fixes:

  http://autobuild.buildroot.net/results/7cce8b7ad19a48b36a38ef8fd88b96fad30f05c4/

Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/grantlee: bump to 5.2.0, use github upstream, remove obsolete patch
Zoltan Gyarmati [Mon, 13 Jan 2020 11:55:12 +0000 (12:55 +0100)]
package/grantlee: bump to 5.2.0, use github upstream, remove obsolete patch

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kexec: fix i386 build
Fabrice Fontaine [Fri, 1 May 2020 12:59:20 +0000 (14:59 +0200)]
package/kexec: fix i386 build

Fixes:
 - http://autobuild.buildroot.org/results/905178cd793dc2b9b26814f7736186b33b468741

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wolfssl: bump version to 4.4.0
Sergio Prado [Fri, 1 May 2020 10:13:05 +0000 (07:13 -0300)]
package/wolfssl: bump version to 4.4.0

Also change the hash file to separate the fields by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/paho-mqtt-c: fix build without C++
Fabrice Fontaine [Fri, 1 May 2020 10:50:24 +0000 (12:50 +0200)]
package/paho-mqtt-c: fix build without C++

Fixes:
 - http://autobuild.buildroot.org/results/831ecc34b51ee2be82a3c25f5ec94f0dd2103655

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/opencv3: properly propagate Config.in comment dependencies
Thomas Petazzoni [Fri, 1 May 2020 12:35:39 +0000 (14:35 +0200)]
package/opencv3: properly propagate Config.in comment dependencies

Python support in OpenCV3 indeed requires a glibc or musl toolchain,
but is only available if Python 3.x is enabled, and if we're on an
architecture with Numpy support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-numpy: add missing dependency on Config.in comment
Thomas Petazzoni [Fri, 1 May 2020 12:32:14 +0000 (14:32 +0200)]
package/python-numpy: add missing dependency on Config.in comment

The python-numpy Config.in comment was missing a dependency on
BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-numpy: bump to version 1.18.2
Jagan Teki [Tue, 7 Apr 2020 11:15:11 +0000 (16:45 +0530)]
package/python-numpy: bump to version 1.18.2

Since version 1.18.0, Numpy only supports Python 3.x, so we make it
depend on BR2_PACKAGE_PYTHON3 and propagate this to its reverse
dependencies.

Also, since upstream commit d630d96598f1b7ea044d60bea8cd2b87778f072a,
the Cython generated files are no longer part of released tarballs,
and therefore Numpy requires python-cython on the host as a build
dependency.

Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Cc: Esben Haabendal <esben@geanix.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/jbig2dec: security bump to version 0.18
Fabrice Fontaine [Fri, 1 May 2020 12:05:07 +0000 (14:05 +0200)]
package/jbig2dec: security bump to version 0.18

- Fix CVE-2020-12268: jbig2_image_compose in jbig2_image.c in Artifex
  jbig2dec before 0.18 has a heap-based buffer overflow.
- Add JBIG2DEC_AUTORECONF=YES otherwise build will fail because
  install-sh has been removed from the tarball
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkcs11-helper: fix build without threads
Fabrice Fontaine [Fri, 1 May 2020 10:27:58 +0000 (12:27 +0200)]
package/pkcs11-helper: fix build without threads

Use --{en,dis}able-{threading,slotevent} to fix build without threads

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: move earlier; use single-line assignments]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ser2net: bump to version 4.1.7
Ryan Barnett [Thu, 30 Apr 2020 01:16:56 +0000 (20:16 -0500)]
package/ser2net: bump to version 4.1.7

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gensio: bump to version 2.0.3
Ryan Barnett [Thu, 30 Apr 2020 01:16:55 +0000 (20:16 -0500)]
package/gensio: bump to version 2.0.3

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gawk: bump to version 5.1.0
Ryan Barnett [Thu, 30 Apr 2020 00:43:33 +0000 (19:43 -0500)]
package/gawk: bump to version 5.1.0

* Update hash file to two space format

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pistache: new package
Thomas Ruschival [Fri, 1 May 2020 09:22:26 +0000 (11:22 +0200)]
package/pistache: new package

The upstream project http://pistache.io/ does not provide release
tarballs. However, commit 73f248acd6db4c53 has been successfully
used for some time now.

The use of BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 is for C++14 support.
Tested it with gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabi
and buildroot's ./utils/test-pkg

Pistache does not build with uClibc, the macro RUSAGE_THREAD for
getrusage() is not properly declared. This is an upstream issue:
https://github.com/oktal/pistache/issues/175
Hence the dependecy !BR2_TOOLCHAIN_USES_UCLIBC

Signed-off-by: Thomas Ruschival <thomas@ruschival.de>
[yann.morin.1998@free.fr:
  - fix PISTACHE_LICENSE_FILES (missing trailing 'S')
  - add hash for license file
  - two spaces in license file
  - tweaks in commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/suricata: security bump to version 4.1.8
Fabrice Fontaine [Thu, 30 Apr 2020 19:42:46 +0000 (21:42 +0200)]
package/suricata: security bump to version 4.1.8

- This is the first release after Suricata joined the Oss-Fuzz program,
  leading to discovery of a number of (potential) security issues:
  https://suricata-ids.org/2020/04/28/suricata-4-1-8-released
- Drop first, second and fourth patches (already in version)
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libhtp: security bump to version 0.5.33
Fabrice Fontaine [Thu, 30 Apr 2020 19:42:45 +0000 (21:42 +0200)]
package/libhtp: security bump to version 0.5.33

- ChangeLog:
  - compression bomb protection
  - memory handling issue found by Oss-Fuzz
  - improve handling of anomalies in traffic
- Drop first patch (already in version)
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/stella: bump to version 6.1.2
Sergio Prado [Thu, 30 Apr 2020 21:03:27 +0000 (18:03 -0300)]
package/stella: bump to version 6.1.2

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/hardkernel/odroidc2: remove unused files
Dagg Stompler [Sat, 18 Apr 2020 15:10:16 +0000 (18:10 +0300)]
board/hardkernel/odroidc2: remove unused files

Commit b80712a16ae3deb65331a7923aa878e13e2e66b6 ("configs/odroidc2:
remove the defconfig") has removed the odroidc2 defconfig, but left
behind a number of files in board/hardkernel/odroidc2, which are now
unused. Let's remove them.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/odhcp6c: bump to version f575351cbb3defc0bf52680c9082912a6c264374
Fabrice Fontaine [Mon, 20 Apr 2020 16:34:02 +0000 (18:34 +0200)]
package/odhcp6c: bump to version f575351cbb3defc0bf52680c9082912a6c264374

Switch to official openwrt site instead of sbyx github fork which is not
up to date anymore. This bump will fix build with musl 1.2.0 thanks to
https://git.openwrt.org/?p=project/odhcp6c.git;a=commit;h=49305e6847efa43e008d0bebdc176e1833120947

Also update indentation of hash file (two spaces)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: pass additional libusb libs for static build
James Hilliard [Tue, 28 Apr 2020 09:31:39 +0000 (03:31 -0600)]
package/apcupsd: pass additional libusb libs for static build

By default apcupsd only passes libs for libusb-compat, this is not
sufficient for static builds which also require libusb libs.

Fixes:
http://autobuild.buildroot.net/results/747/7472fec82983f5b9c2f92578b2b20b746a8d20ae/build-end.log

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libusb-compat: bump to version 0.1.7
James Hilliard [Tue, 28 Apr 2020 07:47:43 +0000 (01:47 -0600)]
package/libusb-compat: bump to version 0.1.7

Drop patch that is now upstream and switch site to Github, which is
now the official location for libusb releases according to
https://libusb.info/.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/paho-mqtt-c: fix build on uclibc or musl
Fabrice Fontaine [Tue, 28 Apr 2020 06:34:17 +0000 (08:34 +0200)]
package/paho-mqtt-c: fix build on uclibc or musl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cegui: force libglew when libepoxy is also enabled
Bartosz Bilas [Tue, 28 Apr 2020 19:58:43 +0000 (21:58 +0200)]
package/cegui: force libglew when libepoxy is also enabled

Cegui doesn't allow to have enabled both opengl libraries so disable
libepoxy when both are enabled.

Fixes:
  - http://autobuild.buildroot.net/results/2881bbcc2dcfcaa5ed663817ff39f7574430ba5a/build-end.log

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cifs-utils: bump to version 6.10
Ryan Barnett [Tue, 28 Apr 2020 19:20:28 +0000 (14:20 -0500)]
package/cifs-utils: bump to version 6.10

In the version bump to 6.10 the following changes were:

 * Fix hash file to two spaces format
 * Add patch to respect DESTDIR and optionally install man pages for
   mount.smb3 by utilizing CONFIG_MAN.
 * Pass -std=gnu11 to fix compile issues found with the sourcery-arm
   toolchain with C99 style code errors in smbinfo.c and defintion of
   'struct sa' uisng gnu11 for C11 GNU extensions.

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
CC: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gauche: bump to version 0.9.9
Ryan Barnett [Wed, 29 Apr 2020 03:07:45 +0000 (22:07 -0500)]
package/gauche: bump to version 0.9.9

* Update hash file to two space format
* COPYING hash updated due to copyright year
* Patch dropped, as it is now upstream as of
  https://github.com/shirok/Gauche/commit/9c55c01604878325039af81a5eacc4da266ebe7d

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>