buildroot.git
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>
4 years agopackage/fetchmail: bump to version 6.4.4
Ryan Barnett [Wed, 29 Apr 2020 01:57:32 +0000 (20:57 -0500)]
package/fetchmail: bump to version 6.4.4

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-vfs-rar: bump version to 2.3.1
Bernd Kuhls [Wed, 29 Apr 2020 16:08:48 +0000 (18:08 +0200)]
package/kodi-vfs-rar: bump version to 2.3.1

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: security bump version to 4.11.8
Bernd Kuhls [Wed, 29 Apr 2020 17:29:04 +0000 (19:29 +0200)]
package/samba4: security bump version to 4.11.8

Reformatted hash.

Fixes CVE 2020-10700 & CVE 2020-10704.

Release notes: https://www.samba.org/samba/history/samba-4.11.8.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/matio: new package
Gwenhael Goavec-Merou [Tue, 28 Apr 2020 06:42:24 +0000 (08:42 +0200)]
package/matio: new package

matio is an C library for reading and writing MATLAB MAT files.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-wtforms: bump to version 2.3.1
Grzegorz Blach [Tue, 28 Apr 2020 13:07:48 +0000 (15:07 +0200)]
package/python-wtforms: bump to version 2.3.1

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-crontab: bump to version 2.4.2
Grzegorz Blach [Tue, 28 Apr 2020 13:07:47 +0000 (15:07 +0200)]
package/python-crontab: bump to version 2.4.2

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agodocs: adding-packages-python: don't mention distutilscross
Asaf Kahlon [Tue, 28 Apr 2020 11:47:15 +0000 (14:47 +0300)]
docs: adding-packages-python: don't mention distutilscross

The package was removed a long time ago.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: trim Carlos Santos' watch list
Carlos Santos [Tue, 28 Apr 2020 15:16:20 +0000 (12:16 -0300)]
DEVELOPERS: trim Carlos Santos' watch list

- I fixed build problems on cups and cups-filters but don't use them.

- gtest, libpam-radius-auth, libpam-tacplus and perl-file-util were
  used in my previous job. I don't have access to the packages that
  use them neither to the corresponding test infrastructure anymore.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcr: gobject-introspection needs xsltproc
Fabrice Fontaine [Fri, 24 Apr 2020 12:37:15 +0000 (14:37 +0200)]
package/gcr: gobject-introspection needs xsltproc

Build of gcr with gobject-introspection needs host-libxslt otherwise
build will fail on:

  XSLTPROC Gcr-3.gir
/bin/bash: xsltproc: command not found
Makefile:6878: recipe for target 'Gcr-3.gir' failed

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libspatialindex: fix build with microblaze
Fabrice Fontaine [Fri, 24 Apr 2020 17:53:45 +0000 (19:53 +0200)]
package/libspatialindex: fix build with microblaze

Add an upstream patch so the microblaze workaround for gcc bug 68485
won't get ignored

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mesa3d: add valgrind support
James Hilliard [Tue, 28 Apr 2020 05:22:25 +0000 (23:22 -0600)]
package/mesa3d: add valgrind support

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wlroots: bump to version 0.10.1
James Hilliard [Tue, 28 Apr 2020 04:33:38 +0000 (22:33 -0600)]
package/wlroots: bump to version 0.10.1

wlroots dropped RDP backend support in:
https://github.com/swaywm/wlroots/commit/ebdbe177d62d3c8bab04f77b86326804ff185bef

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/c-icap-modules: bump to version 0.5.4
Ryan Barnett [Tue, 28 Apr 2020 01:36:56 +0000 (20:36 -0500)]
package/c-icap-modules: bump to version 0.5.4

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/c-icap: bump version to 0.5.6
Ryan Barnett [Tue, 28 Apr 2020 01:36:55 +0000 (20:36 -0500)]
package/c-icap: bump version to 0.5.6

* Update hash file to two space format and add hashes from sourceforge
   website.
 * Drop 0001-Required-fixes-to-compile*.patch as it is included with
   new release

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gettext-tiny: support gettext 0.20.1
Adam Duskett [Tue, 21 Apr 2020 20:55:04 +0000 (13:55 -0700)]
package/gettext-tiny: support gettext 0.20.1

Other changes:
  - Update gettext to 0.20.1 and the respective hashes.
  - Remove share/gettext-tiny/m4/lock.m4 from GETTEXT_TINY_EXTRA_GETTEXT_FILES
    and the install list, as this file was removed in commit
    8c2bfdbddb13a480d88ceac4ab0e5886bda957cb.

Tested with test-pkg -p gettext-tiny in Debian 10 and Centos 7

            br-arm-full [1/6]: OK
 br-arm-cortex-a9-glibc [2/6]: OK
  br-arm-cortex-m4-full [3/6]: OK
         br-x86-64-musl [4/6]: OK
     br-arm-full-static [5/6]: OK
           sourcery-arm [6/6]: OK

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gettext-gnu: bump version to 0.20.1
Adam Duskett [Tue, 21 Apr 2020 20:55:03 +0000 (13:55 -0700)]
package/gettext-gnu: bump version to 0.20.1

Other changes:
  - Update license hash due to http -> https URL changes.
  - Depend on host-libtextstyle for host-gettext-gnu.
  - Update 0001-error_print_progname.patch to apply cleanly.
  - Remove upstream 0002-Update-after-gnulib-changed.patch
  - Add 0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch
    which allows gettext-tools to build with an external libtextstyle.

Tested under Debian 8 with test-pkg -a:
44 builds, 5 skipped, 0 build failed, 0 legal-info failed

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtextstyle: new package
Adam Duskett [Tue, 21 Apr 2020 20:55:02 +0000 (13:55 -0700)]
package/libtextstyle: new package

This library provides an easy way to add styling to programs that produce
output to a console or terminal emulator window.

libtextstyle is for you if your application produces text that is more readable
when it is accompanied with styling information, such as color, font
attributes (weight, posture), or underlining.

Our gettext-gnu package currently has HOST_GETTEXT_GNU_SUBDIR = gettext-tools
so we only configure and build the gettext-tools sub-directory. Version 0.20.1
of gettext-gnu now requires libtextstyle, which the subdirectory gettext-tools
does not provide.

We have three options:

1) Add hooks to configure and build libtextstyle as a pre-configure hook in
gettext-gnu, and install it in a pre-install hook.

2) Revert to building the whole of gettext.

3) Add a separate package for libtextstyle.

Here are the results of a test with BR2_JLEVEL=4:
- Only gettext-tools:      38.86s user 22.13s system 124% CPU 49.035 total
- gettext + libtextstyle:  40.78s user 14.57s system 146% CPU 37.817 total
- All of gettext:          203.18s user 122.87s system 161% CPU 3:22.39 total

As seen above, compiling the entire gettext package takes 5x longer than
building libtextstyle and gettext separately!

As such, the best option is option 3, as the time increase to build
libtextstyle is negligible.

Tested with test-pkg -p gettext-tiny in Debian 10 and Centos 7

            br-arm-full [1/6]: OK
 br-arm-cortex-a9-glibc [2/6]: OK
  br-arm-cortex-m4-full [3/6]: OK
         br-x86-64-musl [4/6]: OK
     br-arm-full-static [5/6]: OK
           sourcery-arm [6/6]: OK

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-external: install ldd on the target
Julien Boibessot [Wed, 22 Apr 2020 15:34:42 +0000 (17:34 +0200)]
toolchain/toolchain-external: install ldd on the target

From: Julien Boibessot <julien.boibessot@armadeus.com>

It could be usefull to have ldd on the target so install it.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
[Sébastien: add commit message]
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: fix compilation with libintl
Angelo Compagnucci [Sat, 25 Apr 2020 14:03:56 +0000 (16:03 +0200)]
package/apparmor: fix compilation with libintl

When libintl is enabled, Apparmor should link againts libintl.
The patch is already sent upstream.

Fixes:
http://autobuild.buildroot.net/results/8bf/8bf5ce74721f828b01fd708443d020cdf8dc7d3a

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tzdata: do extract to get the license file
Yann E. MORIN [Mon, 27 Apr 2020 20:36:08 +0000 (22:36 +0200)]
package/tzdata: do extract to get the license file

Back in 2014, about 6 years ago now, in my infinite wisdom, I
decided that extracting the tzdata source was not necessary for
the target variant, because we would be installing the files
generated by the host variant, in commit 7aad5daa5d (package/tzdata:
only compile the zoneinfo once).

However, that did not account for the fact that we would eventually
like to have the licensing information for tzdata, later added in
2019, in commit 60889ccdf0 (package/tzdata: bump to version 2019b).

However, that last comit only added the license file to the host
variant, without explanations why that was so. It turns out that the
reason it was not added to the target variant is, probably, that he
source code for the target variant is not extracted, and thus saving
the license file fails.

But we really want the license file for what goes on into the target.

So, do extract the source code for the target variant, even if only to
get the license file.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Richard Braun <rbraun@sceen.net>
Cc: Martin Bark <martin@barkynet.com>
Cc: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sg3_utils: link with libatomic when needed
Fabrice Fontaine [Sun, 26 Apr 2020 07:21:16 +0000 (09:21 +0200)]
package/sg3_utils: link with libatomic when needed

sg3_utils uses __atomic_fetch_add_4 since version 1.45 and
https://github.com/hreinecke/sg3_utils/commit/e9445f4efc012d37809342ba21f16360a0208f06

Fixes:
 - http://autobuild.buildroot.org/results/7773ead32375ca9073f45db83dac299aa2edd619

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-pam: another fix for musl
Fabrice Fontaine [Sun, 26 Apr 2020 10:54:18 +0000 (12:54 +0200)]
package/linux-pam: another fix for musl

Add an upstream patch to remove u_intX_t, this will fix a build failure
with python-pam

Fixes:
 - http://autobuild.buildroot.org/results/80b38ed2c21655ac5548c56c3229e51d226bed2a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ibm-sw-tpm2: add patch to fix build issues on several architectures
Thomas Petazzoni [Mon, 27 Apr 2020 05:46:49 +0000 (07:46 +0200)]
package/ibm-sw-tpm2: add patch to fix build issues on several architectures

src/LibSupport.h has some logic to find the wordsize of the current
architecture, using an explicit list of CPU architectures. This makes
the build fail on a number of CPU architectures that are not
explicitly handled.

Let's instead use the __WORDSIZE definition of the C library, which is
guaranteed to be available for all CPU architectures.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>