buildroot.git
3 years agopackage: use the generic _HELP_CMDS for kconfig-based packages
Yann E. MORIN [Sat, 24 Jul 2021 21:19:22 +0000 (23:19 +0200)]
package: use the generic _HELP_CMDS for kconfig-based packages

As Thomas put it:

    The <pkg>_HELP_CMDS variable allows packages using the
    kconfig-package infrastructure to display their specific
    targets related to the handling of their configuration.

    However, it was not consistently used and handled by the
    different packages.

So, this commit switches all the kconfig-based package to use the
generic help helper.

As a consequence:

  - all kconfig packages now advetise their kconfig-related actions,
    where some were previously missing: at91bootstrap3, linux-backports,
    swupdate, xvisor;

  - busybox advertises it does not support defconfig files;

  - the 'foo-savedfconfig' action is no longer advertised: it is to be
    considered an internal implementation detail.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/pkg-kconfig: generate generic help
Yann E. MORIN [Sat, 24 Jul 2021 21:19:21 +0000 (23:19 +0200)]
package/pkg-kconfig: generate generic help

Currently, as Thomas pointed out [0], the help for kconfig packages is
not consistently used and handled by the different packages.

This commit introduces a generic help text for kconfig packages, that is
based on what the package declares:

  - the list of kconfig editors it supports;

  - whether it is possible to save back the configuration (impossible if
    the package uses an in-tree defconfig file);

  - whether the package actually supports (loading and saving) defconfig
    files, by introducing a new variable a package can set if it does
    not (only busybox is known to be in that case).

That new help helper is only used if the package does not already define
its own help, to be consistent with what we do for other _CMDS.

[0] http://lists.busybox.net/pipermail/buildroot/2021-July/313570.html

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/pkg-kconfig: move defaults before calling pkg-generic
Yann E. MORIN [Sat, 24 Jul 2021 21:19:20 +0000 (23:19 +0200)]
package/pkg-kconfig: move defaults before calling pkg-generic

Currently, we define the default values for kconfig-specific variables
after we call into the generic package infrastructure.

So far, this was totally unconsequential, because there was no kconfig
variable that could influence the generic parts. But conversely, there
are generic variables that do influence the kconfig part (e.g. $(2)_DIR
that is used in some dependency definitions), but none that do influence
the kconfig variables.

However, we are going to add a new kconfig-related variable that will
have an impact on the generic parts, so we will want that kconfig
variable to be defined before calling into the generic infrastructure.

For consistency, move all the defaults before calling the generic infra.

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>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/php: needs wchar
Fabrice Fontaine [Sun, 25 Jul 2021 12:56:17 +0000 (14:56 +0200)]
package/php: needs wchar

php depends on wchar since bump to version 8.0.7 in commit
469c11c516959375f6caddde178adbdcdc5d9887 and
https://github.com/php/php-src/commit/457380cae7813a4a34faa1f9a49fa121395fe290

Fixes:
 - http://autobuild.buildroot.org/results/751fea989e4c0136d0bbda0f5487d55d387ee5f3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/pipewire: bump to version 0.3.32
Fabrice Fontaine [Sat, 24 Jul 2021 20:19:36 +0000 (22:19 +0200)]
package/pipewire: bump to version 0.3.32

- Drop second patch (already in version)
- Update license:
  https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/31d79f4c9b606218a14e4d695aaa0afb1820c9f1
- avahi is an optional dependency since
  https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/6744934734f509087df769b447185b070c82b58e
- libusb is an optional dependency since
  https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/5e0b63b149559154a6164dbc064aefc7e773c03a
- pulseaudio is an optional dependency since
  https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/44f326013b5f5e1e858ee3788fe664f802ca2523
- webrtc-audio-processing is an optional dependency since
  https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/d95870d8d3ab7fb9b91f0dbd8ae9395b1929434b
- Fix a build failure without C++ thanks to
  https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/d95870d8d3ab7fb9b91f0dbd8ae9395b1929434b

https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/0.3.32/NEWS

Fixes:
 - http://autobuild.buildroot.org/results/20cd863cb3c83b85900e80de02d485b780288330

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/lua-silva: bump to version 0.1.8
Francois Perrad [Fri, 23 Jul 2021 20:43:33 +0000 (22:43 +0200)]
package/lua-silva: bump to version 0.1.8

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/moarvm: bump to version 2021.06
Francois Perrad [Fri, 23 Jul 2021 20:43:24 +0000 (22:43 +0200)]
package/moarvm: bump to version 2021.06

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/janet: bump to version 0.16.1
Francois Perrad [Fri, 23 Jul 2021 20:43:10 +0000 (22:43 +0200)]
package/janet: bump to version 0.16.1

patch upstreamed.

diff LICENSE:
-Copyright (c) 2020 Calvin Rose and contributors
+Copyright (c) 2021 Calvin Rose and contributors

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/at: bump version to 3.2.2
Giulio Benetti [Fri, 23 Jul 2021 20:08:37 +0000 (22:08 +0200)]
package/at: bump version to 3.2.2

Let's bump at to version 3.2.2 by:
- moving SITE to http://software.calhariz.com/at that is the official at
 realease site while the actual(https://salsa.debian.org/debian/at)
 doesn't provide consitent tarballs.
- rebasing 2 local patches(some some of them has not been accepted upstream
 because of removing -g root -o root while installing, while other simply
 has not been taken into account for 1 year.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/at: convert local patches to git format
Giulio Benetti [Fri, 23 Jul 2021 20:08:36 +0000 (22:08 +0200)]
package/at: convert local patches to git format

Convert local patches to git format. Note that some of them change name
because of use of 'git format-patch'.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libnss: bump to version 3.68
Giulio Benetti [Thu, 22 Jul 2021 23:35:44 +0000 (01:35 +0200)]
package/libnss: bump to version 3.68

libnss 3.68 requires libnspr 4.32.

Release Notes (not yet available, but should eventually land):
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.68_release_notes

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libnspr: bump to version 4.32
Giulio Benetti [Thu, 22 Jul 2021 23:35:43 +0000 (01:35 +0200)]
package/libnspr: bump to version 4.32

Bump to version 4.32

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/webkitgtk: security bump to version 2.32.3
Adrian Perez de Castro [Sat, 24 Jul 2021 20:57:10 +0000 (23:57 +0300)]
package/webkitgtk: security bump to version 2.32.3

This is a minor release which provides fixes for CVE-2021-21775,
CVE-2021-21779, CVE-2021-30663, CVE-2021-30665, CVE-2021-30689,
CVE-2021-30720, CVE-2021-30734, CVE-2021-30744, CVE-2021-30749,
CVE-2021-30795, CVE-2021-30797, and CVE-2021-30799.

Full release notes can be found at:

  https://webkitgtk.org/2021/07/23/webkitgtk2.32.3-released.html

An accompanying security advisory has been published at:

  https://webkitgtk.org/security/WSA-2021-0004.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/wpewebkit: security bump to version 2.32.3
Adrian Perez de Castro [Sat, 24 Jul 2021 20:54:18 +0000 (23:54 +0300)]
package/wpewebkit: security bump to version 2.32.3

This is a minor release which provides fixes for CVE-2021-21775,
CVE-2021-21779, CVE-2021-30663, CVE-2021-30665, CVE-2021-30689,
CVE-2021-30720, CVE-2021-30734, CVE-2021-30744, CVE-2021-30749,
CVE-2021-30795, CVE-2021-30797, and CVE-2021-30799.

Full release notes can be found at:

  https://wpewebkit.org/release/wpewebkit-2.32.3.html

An accompanying security advisory has been published at:

  https://wpewebkit.org/security/WSA-2021-0004.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/minissdpd: add SELinux refpolicy module
Fabrice Fontaine [Sun, 25 Jul 2021 07:58:41 +0000 (09:58 +0200)]
package/minissdpd: add SELinux refpolicy module

SELinux support for minissdpd is added by the services/minissdpd
refpolicy module.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/asterisk: add SELinux module
Fabrice Fontaine [Sun, 25 Jul 2021 07:57:45 +0000 (09:57 +0200)]
package/asterisk: add SELinux module

Support for asterisk is added by the services/asterisk module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/apcupsd: add SELinux module
Fabrice Fontaine [Sun, 25 Jul 2021 07:56:34 +0000 (09:56 +0200)]
package/apcupsd: add SELinux module

Support for apcupsd is added by the services/apcupsd module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/acpid: add SELinux module
Fabrice Fontaine [Sun, 25 Jul 2021 07:54:58 +0000 (09:54 +0200)]
package/acpid: add SELinux module

Support for acpid is added by the services/acpi module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libffi: bump to version 3.4.2
Fabrice Fontaine [Sat, 24 Jul 2021 22:18:50 +0000 (00:18 +0200)]
package/libffi: bump to version 3.4.2

- Use official tarball
- Drop fourth to seventh patches (already in version)
- Update hash of LICENSE file (update in year:
  https://github.com/libffi/libffi/commit/2bdc8e52efb78d939f23efb4f9c515355610bff5
  https://github.com/libffi/libffi/commit/b844a9c7f1ca792a1dfb0c09d5dae576178e6729)
- Update indentation in hash file (two spaces)

https://github.com/libffi/libffi/blob/v3.4.2/README.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/netsnmp: fix legal info
Fabrice Fontaine [Sun, 25 Jul 2021 07:48:55 +0000 (09:48 +0200)]
package/netsnmp: fix legal info

Commit 87bef179222e wrongly removed hash of COPYING

Fixes: 87bef179222ee8a0b0f39c8f96113a4ecf813085
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gtest: fix legal info
Fabrice Fontaine [Sun, 25 Jul 2021 07:24:37 +0000 (09:24 +0200)]
package/gtest: fix legal info

Commit 9dfbbbb4105c47602da048c9bb9499fb8862e768 forgot to removed
googletest from GTEST_LICENSE_FILES

Fixes:
 - http://autobuild.buildroot.org/results/848238f9f99bee6919b1b71acd078835e94a8501

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/lapack: introduce BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
Arnout Vandecappelle (Essensium/Mind) [Sat, 24 Jul 2021 21:45:25 +0000 (23:45 +0200)]
package/lapack: introduce BR2_PACKAGE_LAPACK_ARCH_SUPPORTS

This makes it easier for packages that depend on lapack to get
their dependencies correct.

The !uClibc dependency is also not sufficient: indeed, musl too does not
provide _fpu_control; only glibc does. This is the same situation as for
clapack. Add a comment about this, to mirror clapack.

Since the !glibc dependency only exists for PowerPC, treat it as
an architecture dependency.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr:
  - fpu_control depends on glibc, not on !uclibc
  - add or update comments accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/clapack: introduce BR2_PACKAGE_CLAPACK_ARCH_SUPPORTS
Arnout Vandecappelle (Essensium/Mind) [Sat, 24 Jul 2021 21:45:24 +0000 (23:45 +0200)]
package/clapack: introduce BR2_PACKAGE_CLAPACK_ARCH_SUPPORTS

This makes it easier for packages that depend on clapack to get
their dependencies correct.

Since the glibc dependency only exists for PowerPC, treat it as
an architecture dependency.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoRevert "package/htop: fix sources location"
Yann E. MORIN [Sun, 25 Jul 2021 07:06:14 +0000 (09:06 +0200)]
Revert "package/htop: fix sources location"

This reverts commit 1ad3de2abde38c023a7958cbd3ada1d7b066da67.

Indeed, the tarball changed, so its hash changed; this is going to
cause the traditional hash clash with the existing archive on s.b.o.
or on users machines...

Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/audit: replace deprecated matchpathcon calls from init script
José Pekkarinen [Fri, 23 Jul 2021 09:51:13 +0000 (12:51 +0300)]
package/audit: replace deprecated matchpathcon calls from init script

This patch replace matchpathcon calls in the auditd init script by
calls to selabel_lookup. Indeed, matchpathcon is now deprecated, and
this causes warning during the boot process.

Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/spidermonkey: drop package
Adam Duskett [Wed, 21 Jul 2021 21:45:18 +0000 (14:45 -0700)]
package/spidermonkey: drop package

Now that Spidermonkey is no longer required to build the polkit package, and
no other packages require Spidermonkey, and python2 is required to build the
package, it is safe to drop the package.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agosupport/testing: add polkit tests
Adam Duskett [Wed, 21 Jul 2021 21:45:17 +0000 (14:45 -0700)]
support/testing: add polkit tests

This test script tests polkit with and without systemd.

The Systemd test does the following:
  - The brtest user attempts to restart the systemd-timesyncd service and is
    denied.

  - A systemd-timesyncd-restart.rules file provided by polkit-rules-test
    is copied from /root/ to /etc/polkit-1/rules.d

  - The brtest user attempts to restart the systemd-timesyncd service and should
    now succeed.

The initd test does the following:
- The brtest user attempts to run the test application "hello-polkit" with the
  command "pkexec hello-polkit" and is denied.

- A hello-polkit.rules file provided by polkit-rules-test is copied from /root/
  to /etc/polkit-1/rules.d

- The brtest user attempts to re-run the test hello-polkit binary with
  "pkexec hello-polkit" and succeeds.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/polkit: add init S50polkit script
Adam Duskett [Wed, 21 Jul 2021 21:45:16 +0000 (14:45 -0700)]
package/polkit: add init S50polkit script

The Polkit source does not come with non-systemd init script. Add one that is
modeled after package/busybox/S01syslogd.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/polkit: bump version to 0.119 and use duktape
Adam Duskett [Wed, 21 Jul 2021 21:45:15 +0000 (14:45 -0700)]
package/polkit: bump version to 0.119 and use duktape

Unfortunately, as of commit 3e1d61868fa8bfc586099302e931433270e5d17d, polkit
requires mozjs >= 78, which means spidermonkey is too old. As such, this patch
is larger than usual.

Spidermonkey has a few major issues:
  - The source directory after compilation is enormous (2.7G!)
  - The shared library is 24MB stripped!
  - It requires python2 to build, which is EOLed, and Buildroot is working
    towards removing. See: https://elinux.org/Buildroot:Python2Packages

Instead of going through the arduous task of updating Spidermonkey, there is a
better solution: use duktape.

There has been a pending patch for over a year that incorporates duktape as an
optional backend for polkit found here:
https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35

As Thomas Petazzoni put it:
  "As I am subscribed to notifications on this merge request, I have been
  following the intermittent discussions taking place on this topic.
  And indeed, discussions have been sparse, and the polkit maintainer reaction
  has not been very supportive. It even feels like they are trying to find
  every possible argument or small issue not to merge the duktape integration."

Many people have come out to support using duktape, and many users, including
myself, have used polkit with duktape for as long as the above merge request has
been around without issues; merging in the above merge request is an acceptable
exception to the typical Buildroot package policies.

As Thomas also suggested, I have forked polkit on Github
(https://github.com/aduskett/polkit-duktape), with the above duktape
merge request applied, and a release made with the same tag as upstream (0.119).

I refrained from also adding 0001-make-netgroup-support-optional.patch as it is
outside of the scope of why the fork exists.

Changes:
  - refactor 0001-make-netgroup-support-optional.patch to work with 0.119 and
    duktape.
  - Remove upstream incorporated 0002-jsauthority-memleak.patch
  - Remove upstream 0003-polkit-0.116-pkttyagent-sigttou-bg-job.patch
  - Remove any trace of spidermonkey from polkit, udisks, and systemd-polkit
  - Add duktape as a dependency of polkit
  - Change POLKIT_SITE to the above polkit-duktape GitHub repository.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/htop: fix sources location
Daniil Stas [Sat, 24 Jul 2021 20:48:01 +0000 (20:48 +0000)]
package/htop: fix sources location

Change sources location from bintray to github since bintray doesn't
work anymore

Signed-off-by: Daniil Stas <daniil.stas@posteo.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libglu: bump version to 9.0.2
Bernd Kuhls [Thu, 1 Jul 2021 05:11:42 +0000 (07:11 +0200)]
package/libglu: bump version to 9.0.2

Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2021-June/000634.html

Removed md5 & sha1 hashes not provided by upstream anymore.

Updated license hash due to upstream commit:
https://cgit.freedesktop.org/mesa/glu/commit/?id=a172e0aec8f537f365078dab5486cae9c9a6880e

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/qemu: replace old configure param with new equivalent
Joseph Burt [Thu, 24 Jun 2021 14:00:43 +0000 (14:00 +0000)]
package/qemu: replace old configure param with new equivalent

QEMU 6.0.0 replaces in [1] --(enable|disable)-git-update with
--with-git-submodules=(update|validate|ignore). "Disable" is now "ignore".

[1] https://lore.kernel.org/qemu-devel/20201016203857.62572-1-ddstreet@canonical.com/

Signed-off-by: Joseph Burt <caseorum@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gtest: bump to version 1.11.0
Norbert Lange [Thu, 8 Jul 2021 14:59:46 +0000 (16:59 +0200)]
package/gtest: bump to version 1.11.0

Python is removed as dependency.
gtest uses python for self-tests which are not run by buildroot,
and the remaining scripts are not used by the build, and aren't
maintained or supported.

Special handling for gtest-config and gmock-config is removed as well,
the CMake Buildsystem now does take care of those.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[Arnout: still install gmock_gen.py]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/glibc: bump to version 2.33-46-gedfd11197ecf3629bbb4b66c5814da09a61a7f9f
Maxim Kochetkov [Thu, 8 Jul 2021 10:30:50 +0000 (13:30 +0300)]
package/glibc: bump to version 2.33-46-gedfd11197ecf3629bbb4b66c5814da09a61a7f9f

See:
https://sourceware.org/pipermail/libc-announce/2021/000030.html

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/alsa-lib: fix static build
Fabrice Fontaine [Thu, 22 Jul 2021 05:32:48 +0000 (07:32 +0200)]
package/alsa-lib: fix static build

Fix the following build failure raised since bump to version 1.2.5.1 in
commit af19131543926879fb6676a3352c63ac0b2038bc:

/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../src/.libs/libasound.a(control_symbols.o):(.data+0x4): undefined reference to `_snd_module_control_empty'

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/daq3: fix build without threads
Fabrice Fontaine [Thu, 22 Jul 2021 05:20:27 +0000 (07:20 +0200)]
package/daq3: fix build without threads

pcap module and example unconditionally uses pthread.h

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-passlib: bump to version 1.7.4
Fabrice Fontaine [Wed, 21 Jul 2021 22:29:57 +0000 (00:29 +0200)]
package/python-passlib: bump to version 1.7.4

- Update site URL
- Update indentation in hash file (two spaces)
- Update hash of LICENSE due to update in year with
  https://foss.heptapod.net/python-libs/passlib/-/commit/02ca63576ac7749c28ef48365218f291eac9b8e1

https://passlib.readthedocs.io/en/stable/history/1.7.html#whats-new

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/openvpn: add SELinux refpolicy module
Fabrice Fontaine [Wed, 21 Jul 2021 22:27:31 +0000 (00:27 +0200)]
package/openvpn: add SELinux refpolicy module

SELinux support for openvpn is added by the services/openvpn refpolicy
module.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/stunnel: add SELinux refpolicy module
Fabrice Fontaine [Wed, 21 Jul 2021 22:26:56 +0000 (00:26 +0200)]
package/stunnel: add SELinux refpolicy module

SELinux support for stunnel is added by the services/stunnel refpolicy
module.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/minidlna: add SELinux refpolicy module
Fabrice Fontaine [Wed, 21 Jul 2021 22:26:14 +0000 (00:26 +0200)]
package/minidlna: add SELinux refpolicy module

SELinux support for minidlna is provided by the services/minidlna
refpolicy module.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/wpewebkit: fix aarch64 renderer process crash
James Hilliard [Sat, 24 Jul 2021 02:05:33 +0000 (20:05 -0600)]
package/wpewebkit: fix aarch64 renderer process crash

We need to backport an aarch64 patch to prevent a crash.

Fixes:
==654== Conditional jump or move depends on uninitialised value(s)
==654==    at 0x68CF9D0: contains (Range.h:115)
==654==    by 0x68CF9D0: mark (JITStubRoutineSet.h:57)
==654==    by 0x68CF9D0: mark (ConservativeRoots.cpp:127)
==654==    by 0x68CF9D0: genericAddPointer<JSC::CompositeMarkHook> (ConservativeRoots.cpp:69)
==654==    by 0x68CF9D0: genericAddSpan<JSC::CompositeMarkHook> (ConservativeRoots.cpp:101)
==654==    by 0x68CF9D0: JSC::ConservativeRoots::add(void*, void*, JSC::JITStubRoutineSet&, JSC::CodeBlockSet&) (ConservativeRoots.cpp:147)
==654==    by 0x68EA5BB: JSC::MachineThreads::gatherConservativeRoots(JSC::ConservativeRoots&, JSC::JITStubRoutineSet&, JSC::CodeBlockSet&, JSC::CurrentThreadState*, WTF::Thread*) (MachineStackMarker.cpp:202)
==654==    by 0x68D885B: _ZZN3JSC4Heap18addCoreConstraintsEvENUlRT_E0_clINS_11SlotVisitorEEEDaS2_ (Heap.cpp:2740)
==654==    by 0x68EFF7B: JSC::MarkingConstraint::execute(JSC::SlotVisitor&) (MarkingConstraint.cpp:58)
==654==    by 0x68F3D83: JSC::MarkingConstraintSolver::runExecutionThread(JSC::SlotVisitor&, JSC::MarkingConstraintSolver::SchedulerPreference, WTF::ScopedLambda<WTF::Optional<unsigned int> ()>) (MarkingConstraintSolver.cpp:237)
==654==    by 0x68D4413: JSC::Heap::runTaskInParallel(WTF::RefPtr<WTF::SharedTask<void (JSC::SlotVisitor&)>, WTF::RawPtrTraits<WTF::SharedTask<void (JSC::SlotVisitor&)> >, WTF::DefaultRefDerefTraits<WTF::SharedTask<void (JSC::SlotVisitor&)> > >) (Heap.cpp:3061)
==654==    by 0x68F3E9F: runFunctionInParallel<JSC::MarkingConstraintSolver::execute(JSC::MarkingConstraintSolver::SchedulerPreference, WTF::ScopedLambda<WTF::Optional<unsigned int>()>)::<lambda(JSC::SlotVisitor&)> > (Heap.h:397)
==654==    by 0x68F3E9F: JSC::MarkingConstraintSolver::execute(JSC::MarkingConstraintSolver::SchedulerPreference, WTF::ScopedLambda<WTF::Optional<unsigned int> ()>) (MarkingConstraintSolver.cpp:66)
==654==    by 0x68F4033: JSC::MarkingConstraintSolver::drain(WTF::BitVector&) (MarkingConstraintSolver.cpp:97)
==654==    by 0x68F4B2F: JSC::MarkingConstraintSet::executeConvergenceImpl(JSC::SlotVisitor&) (MarkingConstraintSet.cpp:114)
==654==    by 0x68F4C6B: JSC::MarkingConstraintSet::executeConvergence(JSC::SlotVisitor&) (MarkingConstraintSet.cpp:83)
==654==    by 0x68D9BC7: JSC::Heap::runFixpointPhase(JSC::GCConductor) (Heap.cpp:1378)
==654==    by 0x68D9E93: runCurrentPhase (Heap.cpp:1208)
==654==    by 0x68D9E93: JSC::Heap::runCurrentPhase(JSC::GCConductor, JSC::CurrentThreadState*) (Heap.cpp:1176)
==654==  Uninitialised value was created by a stack allocation
==654==    at 0x5AC3E80: JSC::ARM64Assembler::linkJump(JSC::AssemblerLabel, JSC::AssemblerLabel, JSC::ARM64Assembler::JumpType, JSC::ARM64Assembler::Condition) [clone .isra.0] (ARM64Assembler.h:2556)

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/mupdf: fix CVE-2021-3407
Fabrice Fontaine [Thu, 22 Jul 2021 05:31:17 +0000 (07:31 +0200)]
package/mupdf: fix CVE-2021-3407

A flaw was found in mupdf 1.18.0. Double free of object during
linearization may lead to memory corruption and other potential
consequences.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/mono: needs host-python3
Fabrice Fontaine [Sat, 24 Jul 2021 12:21:22 +0000 (14:21 +0200)]
package/mono: needs host-python3

host-python3 is needed to avoid the following build failure since bump
to version 6.12.0.90 in commit 4be06fa8aa054e59d97866dc5568f4e10762e353
and
https://github.com/mono/mono/commit/0f47ea5d8088ede472650da47bf58e5a0e063ad4:

checking for a Python interpreter with version >= 3.2... none
configure: error: no suitable Python interpreter found

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libmbim: drop unrecognized option
Fabrice Fontaine [Fri, 23 Jul 2021 22:00:41 +0000 (00:00 +0200)]
package/libmbim: drop unrecognized option

--enable-more-warnings has been dropped since version 1.22.0 and
https://github.com/freedesktop/libmbim/commit/448e8fe7c50493c2c42399ed903906b9bb35d244

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bluez-alsa: needs gcc >= 4.9
Fabrice Fontaine [Fri, 23 Jul 2021 20:07:58 +0000 (22:07 +0200)]
package/bluez-alsa: needs gcc >= 4.9

bluez-alsa needs C11/stdatomic.h since bump to version 3.1.0 in commit
c4041c230c18d3a9d82bfc6a96b2ceaabddbc94b and
https://github.com/Arkq/bluez-alsa/commit/04d904326ae77e2919bcfa56245cb7adbc19278a

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/qt5base: select mandatory libopenssl PSK feature
Peter Seiderer [Fri, 23 Jul 2021 16:42:35 +0000 (18:42 +0200)]
package/qt5base: select mandatory libopenssl PSK feature

Fixes:

  - http://autobuild.buildroot.net/results/24230242c15eb379d653c957a08621f8a1fac55e

  ssl/qdtls_openssl.cpp: In member function ‘bool dtlsopenssl::DtlsState::initCtxAndConnection(QDtlsBasePrivate*)’:
  ssl/qdtls_openssl.cpp:717:9: error: ‘q_SSL_set_psk_server_callback’ was not declared in this scope; did you mean ‘q_SSL_set_psk_use_session_callback’?
    717 |         q_SSL_set_psk_server_callback(newConnection.data(), dtlscallbacks::q_PSK_server_callback);
        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |         q_SSL_set_psk_use_session_callback
  ssl/qdtls_openssl.cpp:719:9: error: ‘q_SSL_set_psk_client_callback’ was not declared in this scope; did you mean ‘q_SSL_set_psk_use_session_callback’?
    719 |         q_SSL_set_psk_client_callback(newConnection.data(), dtlscallbacks::q_PSK_client_callback);
        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        |         q_SSL_set_psk_use_session_callback

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libvirt: add LIBVIRT_CPE_ID_VENDOR
Fabrice Fontaine [Fri, 23 Jul 2021 16:10:50 +0000 (18:10 +0200)]
package/libvirt: add LIBVIRT_CPE_ID_VENDOR

cpe:2.3:a:redhat:libvirt is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aredhat%3Alibvirt

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libinput: fix legal info
Fabrice Fontaine [Sat, 24 Jul 2021 17:34:22 +0000 (19:34 +0200)]
package/libinput: fix legal info

Commit a87d99af2f88eb2755959163727584f673483748 forgot to update hash
of COPYING which was updated to replace master by main reference with
https://gitlab.freedesktop.org/libinput/libinput/-/commit/354df8bce9874e92de2ad8535fdcedaec0755b27

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/proxychains-ng: fix build with xtensa
Fabrice Fontaine [Fri, 23 Jul 2021 16:08:06 +0000 (18:08 +0200)]
package/proxychains-ng: fix build with xtensa

Fix build failure with xtensa raised since bump to version 4.14 in
commit 35953d1e61aa8581be09c9dca39365955b10590e

Fixes:
 - http://autobuild.buildroot.org/results/9320d9b2c69882e23bbe7b30057eb8bee0c9d2e5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bluez5_utils: fix mesh build with musl
Michael Nosthoff [Fri, 23 Jul 2021 13:26:46 +0000 (15:26 +0200)]
package/bluez5_utils: fix mesh build with musl

when compiling with mesh support and musl toolchain the build fails
due to a missing include of limits.h for PATH_MAX in mesh-cfgtest.c.

Patch submitted upstream:
https://lore.kernel.org/linux-bluetooth/20210723081039.30396-1-bluez@heine.tech

Fixes:
http://autobuild.buildroot.net/results/20cc47f54de0b0d4bdf108c3715c590ae8ab476f/
http://autobuild.buildroot.net/results/003968b25906579dbcf5a95d1e43fec0ab504ef5/

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-net-telnet: bump to version 3.05
Francois Perrad [Fri, 23 Jul 2021 20:32:42 +0000 (22:32 +0200)]
package/perl-net-telnet: bump to version 3.05

diff in README:
-    Copyright (c) 1997, 2000, 2002, 2013 Jay Rogers.  All rights
+    Copyright (c) 1997, 2000, 2002, 2013, 2021 Jay Rogers.  All rights

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-net-dns: bump to version 1.32
Francois Perrad [Fri, 23 Jul 2021 20:32:41 +0000 (22:32 +0200)]
package/perl-net-dns: bump to version 1.32

now, LICENSE lives in its own file.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-mojolicious-plugin-authorization: bump to version 1.06
Francois Perrad [Fri, 23 Jul 2021 20:32:40 +0000 (22:32 +0200)]
package/perl-mojolicious-plugin-authorization: bump to version 1.06

LICENSE was reformated, the copyright holder is unchanged:
This software is copyright (c) 2012 by John Scoles.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-mojolicious-plugin-authentication: bump to version 1.37
Francois Perrad [Fri, 23 Jul 2021 20:32:39 +0000 (22:32 +0200)]
package/perl-mojolicious-plugin-authentication: bump to version 1.37

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-mojolicious: bump to version 9.19
Francois Perrad [Fri, 23 Jul 2021 20:32:38 +0000 (22:32 +0200)]
package/perl-mojolicious: bump to version 9.19

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-libwww-perl: bump to version 6.55
Francois Perrad [Fri, 23 Jul 2021 20:32:37 +0000 (22:32 +0200)]
package/perl-libwww-perl: bump to version 6.55

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-http-message: bump to version 6.33
Francois Perrad [Fri, 23 Jul 2021 20:32:36 +0000 (22:32 +0200)]
package/perl-http-message: bump to version 6.33

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-data-optlist: bump to version 0.112
Francois Perrad [Fri, 23 Jul 2021 20:32:35 +0000 (22:32 +0200)]
package/perl-data-optlist: bump to version 0.112

LICENSE was reformated.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl-data-dump: bump to version 1.25
Francois Perrad [Fri, 23 Jul 2021 20:32:34 +0000 (22:32 +0200)]
package/perl-data-dump: bump to version 1.25

README rewritten in README.md, but same copyright holders:
    Copyright 1998-2010 Gisle Aas.
    Copyright 1996-1998 Gurusamy Sarathy.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libinput: bump version to 1.18.0
Peter Seiderer [Tue, 8 Jun 2021 19:49:26 +0000 (21:49 +0200)]
package/libinput: bump version to 1.18.0

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2021-June/041849.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libinput: bump version to 1.17.3
Peter Seiderer [Tue, 8 Jun 2021 19:49:25 +0000 (21:49 +0200)]
package/libinput: bump version to 1.17.3

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2021-May/041834.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/stunnel: bump to version 5.59
Pierre-Jean Texier [Thu, 3 Jun 2021 18:48:46 +0000 (20:48 +0200)]
package/stunnel: bump to version 5.59

This release includes the following changes:

- Security bugfixes
  OpenSSL DLLs updated to version 1.1.1k.
- New features
  Client-side "protocol = ldap" support (thx to Bart Dopheide and Seth Grover).
- Bugfixes
  The test suite fixed not to require external connectivity.
  Fixed paths in generated manuals (thx to Tatsuki Makino).
  Fixed configuration reload when compression is used.
  Fixed compilation with early releases of OpenSSL 1.1.1.

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/samba4: bump version to 4.14.5
Bernd Kuhls [Wed, 2 Jun 2021 15:38:48 +0000 (17:38 +0200)]
package/samba4: bump version to 4.14.5

Release notes of this bugfix release:
https://www.samba.org/samba/history/samba-4.14.5.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/apg: new package
Bernd Kuhls [Tue, 13 Jul 2021 19:13:59 +0000 (21:13 +0200)]
package/apg: new package

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/python-idna: bump to version 3.2
Fabrice Fontaine [Sat, 10 Jul 2021 21:55:32 +0000 (23:55 +0200)]
package/python-idna: bump to version 3.2

- Python 2 is not supported since version 3.0 so update all reverse
  dependencies and remove python-coherence
- License file name and its hash is updated due to:
  https://github.com/kjd/idna/commit/e7338bce90683246c480ddebd55b7682371389ed
  https://github.com/kjd/idna/commit/537aa99d4440b0f8a6178818350f27fcaab046ee

https://github.com/kjd/idna/blob/v3.2/HISTORY.rst

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libvirt: remove consecutive empty lines
Arnout Vandecappelle (Essensium/Mind) [Fri, 23 Jul 2021 08:00:04 +0000 (10:00 +0200)]
package/libvirt: remove consecutive empty lines

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/1446469318
Fixes: fbf25acfbfd5a73b3560918bea081768abbe5723
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libvirt: add lxc and qemu options
Jared Bents [Fri, 11 Jun 2021 14:07:32 +0000 (09:07 -0500)]
package/libvirt: add lxc and qemu options

Update to add lxc and qemu options for libvirt under the daemon
config option

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libvirt: add daemon libvirtd
Jared Bents [Fri, 11 Jun 2021 14:07:31 +0000 (09:07 -0500)]
package/libvirt: add daemon libvirtd

Update to add the libvirtd daemon for libvirt

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
[Arnout: put all CONF_OPTS that depend on LIBVIRT_DAEMON together]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libvirt: new package
Jared Bents [Fri, 11 Jun 2021 14:07:30 +0000 (09:07 -0500)]
package/libvirt: new package

Libvirt is collection of software that provides a convenient way to
manage virtual machines and other virtualization functionality, such as
storage and network interface management. These software pieces include
an API library, a daemon (libvirtd), and a command line utility (virsh).

   http://libvirt.org/

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
[Arnout:
 - Re-introduce BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS
 - Put all Config.in comments on one line
 - Put the comment before the option itself (makes sure sub-option
   indention is good)
 - Remove spurious BR2_PACKAGE_NETCAT dependency
 - Alphabetically order dependencies in Config.in
 - Add select of libglib2
 - Alphabetically order CONF_OPTS
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/chrony: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 20:03:13 +0000 (22:03 +0200)]
package/chrony: add SELinux module

Support for chrony is added by the services/chronyd module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/clamav: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 20:02:18 +0000 (22:02 +0200)]
package/clamav: add SELinux module

Support for clamav is added by the services/clamav module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/boinc: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 20:01:39 +0000 (22:01 +0200)]
package/boinc: add SELinux module

Support for boinc is added by the services/boinc module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libtirpc: drop rpcgen patches
Fabrice Fontaine [Sun, 18 Jul 2021 19:14:03 +0000 (21:14 +0200)]
package/libtirpc: drop rpcgen patches

rpcgen patches raise a build failure with host-libtirpc since commit
0a5a9741e03e666204d577f82d29d93ba610381b because rpcgen is not provided
by modern glibc:

rpcgen -h -o tirpc/rpcsvc/crypt.h tirpc/rpcsvc/crypt.x
make[1]: rpcgen: No such file or directory

Those patches were added to build rpcbind back in 2012 with commit
18828103cdc8b929b29f5cbc27cd771ab1a26326 however they don't seem to be
needed anymore as rpcbind builds fine without them

So drop those patches and autoreconf as well as the host-nfs-utils
dependency from the target variant.

Fixes:
 - http://autobuild.buildroot.org/results/6607cb9bec426b8c78e649484d5a149a1bf12a7f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libgudev: bump to version 236
Fabrice Fontaine [Sun, 18 Jul 2021 19:57:12 +0000 (21:57 +0200)]
package/libgudev: bump to version 236

- Switch to meson-package
- Update indentation in hash file (two spaces)

https://gitlab.gnome.org/GNOME/libgudev/-/blob/236/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libgudev: add gobject-introspection optional dependency
Fabrice Fontaine [Sun, 18 Jul 2021 19:57:11 +0000 (21:57 +0200)]
package/libgudev: add gobject-introspection optional dependency

gobject-introspection is an optional dependency (which is enabled by
default) since at least version 219 and
https://gitlab.gnome.org/GNOME/libgudev/-/commit/43a593b5b4097b887e49eaacafbc1337bd709718

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libxmlrpc: add option to install xmlrpc tools
Peter Seiderer [Mon, 14 Jun 2021 20:47:49 +0000 (22:47 +0200)]
package/libxmlrpc: add option to install xmlrpc tools

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libxmlrpc: bump version to 1.58.02 (code/advanced@r3119)
Peter Seiderer [Mon, 14 Jun 2021 20:47:48 +0000 (22:47 +0200)]
package/libxmlrpc: bump version to 1.58.02 (code/advanced@r3119)

Changelog ([1], [2]):

  - Build: fix bug: won't compile with --enable-libxml2, introduced with
    Release 1.44 (December 2015).

  - Build: update config.guess and config.sub so Configure can recognize
    newer environments.

  - Build: Fix link failure in several tools because they fail to link the
    Curl library. Don't know how long this was broken.

  - Build: Eliminate compiler warnings with GCC 6.3

  - Code cleanups - trailing white space, compile warnings

  - Abyss: fix bug: wild memory reference when server times out waiting for
    request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/change.html
[2] http://xmlrpc-c.sourceforge.net/change_advanced.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libxmlrpc: bump version to 1.54.03 (code/stable@r3120)
Peter Seiderer [Mon, 14 Jun 2021 20:47:47 +0000 (22:47 +0200)]
package/libxmlrpc: bump version to 1.54.03 (code/stable@r3120)

- change to SVN download (according to [1] only 1.51.x available
  via Sourceforge download)

- remove 0001-use-correct-curl-config.patch
  (upstream applied)

Changelog ([2], [3]):

  - Build: Use 'curl-config' found at configure time, not at make time.

  - Build: fix bug: ignores LDFLAGS_FOR_BUILD, LDFLAGS_PERSONAL, and
    LDFLAGS_PTHREAD when building the build tool Gennmtab.

  - Build: fix bug: won't compile with --enable-libxml2, introduced with
    Release 1.44 (December 2015).

  - Abyss: fix bug: wild memory reference when server times out waiting for
    request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/downloading.php
[2] http://xmlrpc-c.sourceforge.net/change.html
[3] http://xmlrpc-c.sourceforge.net/change_stable.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libxmlrpc: bump version to 1.51.07
Peter Seiderer [Mon, 14 Jun 2021 20:47:46 +0000 (22:47 +0200)]
package/libxmlrpc: bump version to 1.51.07

Changelog ([1]):

  - Abyss: fix bug: wild memory reference when server times out waiting for
    request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/change_super_stable.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/go-bootstrap: bump to version 1.4-bootstrap-20171003
Christian Stewart [Tue, 22 Jun 2021 01:41:17 +0000 (18:41 -0700)]
package/go-bootstrap: bump to version 1.4-bootstrap-20171003

See https://golang.org/doc/install/source#bootstrapFromSource

All Go compiler versions > 1.4.x (old) are written in Go, and require a existing
compiled Go version to use to build from source. Buildroot uses a 1.4.x version
in the "go-bootstrap" package to build a C-based Go compiler, and then uses that
compiler to build the main "host-go" compiler.

This commit updates to the latest 1.4.x go-bootstrap branch version recommended
in the documentation, which includes more compatibility fixes.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gcc: restrict gcc 8.x to PowerPC SPE
Romain Naour [Sun, 27 Jun 2021 14:00:49 +0000 (16:00 +0200)]
package/gcc: restrict gcc 8.x to PowerPC SPE

gcc 11.1 is around, gcc 10.2 is the default version, so drop
8.4 in order to reduce the gcc choice.

For PowerPC SPE, introduce BR2_GCC_VERSION_POWERPC_SPE
to avoid removing defconfigs arcturus_ucp1020_defconfig,
freescale_p1025twr_defconfig and qemu_ppc_mpc8544ds_defconfig
that are still used by some users [1].
BR2_GCC_VERSION_POWERPC_SPE use the same gcc version (8.4), no
change expected.

[1] 96e80ad214ced86c802d561946fa7da88c1595eb

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Oleksandr Zhadan <oleks@arcturusnetworks.com>
Cc: Michael Durrant <mdurrant@ArcturusNetworks.com>
Cc: Matthew Weber <matthew.weber@collins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/alsa-plugins: new package
Charles Hardin [Tue, 15 Jun 2021 00:59:23 +0000 (17:59 -0700)]
package/alsa-plugins: new package

During testing of bluez-alsa in particular, there is no compilation
dependency - but, some configurations will request the load of a
particular plugin:

    ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) \
      Cannot open shared library libasound_module_rate_samplerate_best.so \
      (/usr/lib/alsa-lib/libasound_module_rate_samplerate_best.so: \
       cannot open shared object file: No such file or directory)

Adding in the alsa-plugins package allows to build build the
appropriate plugins.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/alsa-lib: bump to 1.2.5.1
Thomas Petazzoni [Wed, 21 Jul 2021 20:09:30 +0000 (22:09 +0200)]
package/alsa-lib: bump to 1.2.5.1

This version bump is needed prior to the introduction of alsa-plugins
1.2.5.

As part of this bump, we drop 0002-dlmisc-the-snd_plugin_dir_set.patch
which was an upstream backport, and we introduce
0002-fix-build-with-disable-ucm.patch to fix the build of alsa-lib
when UCM support is disabled. This patch is also backported from
upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/proxychains-ng: bump to version 4.14
Fabrice Fontaine [Wed, 21 Jul 2021 17:18:39 +0000 (19:18 +0200)]
package/proxychains-ng: bump to version 4.14

https://github.com/rofl0r/proxychains-ng/blob/v4.14/README

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nbd: bump to version 3.21
Fabrice Fontaine [Wed, 21 Jul 2021 17:13:54 +0000 (19:13 +0200)]
package/nbd: bump to version 3.21

- Drop patch (already in version)
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bind: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 17:10:59 +0000 (19:10 +0200)]
package/bind: add SELinux module

Support for bind is added by the services/bind module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/apache: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 17:10:26 +0000 (19:10 +0200)]
package/apache: add SELinux module

Support for apache is added by the services/apache module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/tor: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 17:09:52 +0000 (19:09 +0200)]
package/tor: add SELinux module

Support for tor is added by the services/tor module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/avahi: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 17:08:52 +0000 (19:08 +0200)]
package/avahi: add SELinux module

Support for avahi is added by the services/avahi module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/darkhttpd: fix legal info
Fabrice Fontaine [Wed, 21 Jul 2021 06:50:21 +0000 (08:50 +0200)]
package/darkhttpd: fix legal info

Commit 9ca64820db6766ad51bc835c86948cbe2c87e209 forgot to update hash of
darkhttpd.c

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bird: bump to version 2.0.8
Fabrice Fontaine [Wed, 21 Jul 2021 06:45:14 +0000 (08:45 +0200)]
package/bird: bump to version 2.0.8

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

https://gitlab.nic.cz/labs/bird/-/blob/v2.0.8/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bird: add rpki support
Fabrice Fontaine [Wed, 21 Jul 2021 06:45:13 +0000 (08:45 +0200)]
package/bird: add rpki support

rpki support optionally depends on libssh

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/dnsmasq: add SELinux module
Fabrice Fontaine [Wed, 21 Jul 2021 06:38:13 +0000 (08:38 +0200)]
package/dnsmasq: add SELinux module

Support for dnsmasq is added by the services/dnsmasq module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gstreamer1/gst1-plugins-base: fix build with meson 0.58.x
James Hilliard [Tue, 20 Jul 2021 22:07:29 +0000 (16:07 -0600)]
package/gstreamer1/gst1-plugins-base: fix build with meson 0.58.x

Fixes:
In file included from ../gst-libs/gst/gl/gstglwindow.c:54:
../gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.h:25:10: fatal error: xdg-shell-client-protocol.h: No such file or directory
   25 | #include "xdg-shell-client-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bird: add SELinux module
Fabrice Fontaine [Thu, 3 Jun 2021 18:41:45 +0000 (20:41 +0200)]
package/bird: add SELinux module

Support for bird is added by the services/bird module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nginx-modsecurity: bump to version 1.0.2
Adam Duskett [Wed, 30 Jun 2021 17:37:00 +0000 (10:37 -0700)]
package/nginx-modsecurity: bump to version 1.0.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nginx-dav-ext: bump version to 3.0.0
Adam Duskett [Wed, 30 Jun 2021 17:36:59 +0000 (10:36 -0700)]
package/nginx-dav-ext: bump version to 3.0.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nginx-naxsi: bump version to 1.3
Adam Duskett [Wed, 30 Jun 2021 17:36:58 +0000 (10:36 -0700)]
package/nginx-naxsi: bump version to 1.3

Other changes:
  - Change license to GPL-3.0 and BSD-3-Clause
  - Change license file to LICENSE and naxsi_src/ext/libinjection/COPYING
  - Update license hash's in nginx-naxsi.hash

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nginx: add stream_set_module support
Adam Duskett [Wed, 30 Jun 2021 17:36:57 +0000 (10:36 -0700)]
package/nginx: add stream_set_module support

This is a new module in 1.20

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nginx: bump version to 1.20.1
Adam Duskett [Wed, 30 Jun 2021 17:36:56 +0000 (10:36 -0700)]
package/nginx: bump version to 1.20.1

Tested with ./utils/test-pkg -p nginx -a on Fedora 34
45 builds, 6 skipped, 0 build failed, 0 legal-info failed

Other changes:
  - Rebase needed patches.
  - Update license hash due to year change.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>