buildroot.git
4 years agopackage/lz4: make program installation optional
Ed Spiridonov [Sat, 23 May 2020 17:34:25 +0000 (20:34 +0300)]
package/lz4: make program installation optional

Often lz4 is used as a library, and not as a standalone program.
Excluding lz4 binary will save some space in this case. Indeed, the
lz4 program is always statically linked against its library, which
makes it duplicate the whole library size:

$ ls -l usr/lib/liblz4.so.1.9.2 usr/bin/lz4
-rwxr-xr-x 1 thomas thomas 226724 27 juil. 16:33 usr/bin/lz4
-rwxr-xr-x 1 thomas thomas 156996 27 juil. 16:33 usr/lib/liblz4.so.1.9.2

Since lz4 is now primarily a library, it's moved to the "Libraries"
section.

Of course, installation of programs defaults to "yes" to preserve
backward compatibility.

Signed-off-by: Ed Spiridonov <edo.rus@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-matplotlib: add QT5 support
Gwenhael Goavec-Merou [Mon, 27 Jul 2020 13:00:22 +0000 (15:00 +0200)]
package/python-matplotlib: add QT5 support

python-matplotlib may be used in qt5 application. This patch add option to
enable qt5. Since this backend is automatically enabled when pyqt5 is detected,
list dependencies is simply an updated (no enable/disable options).

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-networkx: install for host-python3
Thomas Petazzoni [Thu, 23 Jul 2020 19:46:00 +0000 (21:46 +0200)]
package/python-networkx: install for host-python3

This Python module only works for Python 3: the target variant has a
"depends on BR2_PACKAGE_PYTHON3".

However today in Buildroot, when no target python is selected, or when
BR2_PACKAGE_PYTHON=y, all host python modules are installed for
host-python, i.e Python 2. But this module won't install in Python 2,
so let's force its host variant to be installed with Python 3 on the
host. Of course, for that to work, its dependency must also be built
for host-python3, so we change it to the newly introduced
host-python3-decorator package.

Fixes:

  http://autobuild.buildroot.net/results/46a89bd6cd0d0b896b28010db287068309e7a43c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python3-decorator: new package
Thomas Petazzoni [Thu, 23 Jul 2020 19:45:59 +0000 (21:45 +0200)]
package/python3-decorator: new package

The host-python-networkx package needs to be built for the
host-python3, even when the target Python is not necessarily Python
3.x. Since it depends on host-python-decorator, we need a Python 3
variant of it, which this patch introduces.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rocksdb: bump to version 6.10.1
Fabrice Fontaine [Sat, 30 May 2020 09:28:49 +0000 (11:28 +0200)]
package/rocksdb: bump to version 6.10.1

- Update indentation of hash file (two spaces)
- Remove first patch (already in version)
- Add link to upstream PR in second patch
- Add upstream patch to fix build on powerpc (patch does not apply
  cleanly on current version)
- Update hash of README.md, slack forum added with
  https://github.com/facebook/rocksdb/commit/cf342464caf8155ab60f7a48e39a8d6ae3138a7a

Fixes:
 - http://autobuild.buildroot.org/results/242db7139ce5dd6ece4a1eb50a1aa47c841a41b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-rpi-ws281x: bump to version 4.2.4
Grzegorz Blach [Wed, 10 Jun 2020 23:34:52 +0000 (01:34 +0200)]
package/python-rpi-ws281x: bump to version 4.2.4

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{glibc, localedef}: bump to version 2.31
Romain Naour [Mon, 27 Jul 2020 09:29:49 +0000 (11:29 +0200)]
package/{glibc, localedef}: bump to version 2.31

For glibc 2.31.x:

  - Update LICENSES file hash due to url change:
    "Prefer https to http for gnu.org and fsf.org URLs"

  - riscv64 does not build with kernel headers < 5.0, but upstream
    has not yet comitted a single fix, neither in master nor in the
    maintenance branch:
       https://sourceware.org/ml/libc-alpha/2020-02/msg00018.html

For localedef 2.31.x:

  - Remove upstream patch for localedef:
    0003-localedef-Use-initializer-for-flexible-array-member-.patch

Note that this version bump required some patches applied on
several packages (already applied):
    [Busybox] 13f2d688a24f47446af236829bd6ca194d5aea5b
    [openssh] bad75bca315dbd2c69f8a9cb02fa9f27636e3d48
    [gcc] disable libsanitizer with gcc 7.5

See:
https://sourceware.org/legacy-ml/libc-announce/2020/msg00001.html

Tested by toolchain builder:
https://gitlab.com/kubu93/toolchains-builder/pipelines/129551000

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcc: disable libsanitizer with gcc 7.5 and glibc 2.31 toolchain
Romain Naour [Mon, 27 Jul 2020 09:29:48 +0000 (11:29 +0200)]
package/gcc: disable libsanitizer with gcc 7.5 and glibc 2.31 toolchain

libsanitizer in gcc 7.x fails to build with glibc 2.31. Fixing it would
require backporting an upstream commit:

    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=4abc46b51af5751d657764d0c44b8a4aeed06302

However, the backport is not trivial, as there are a lot of conflicts.

Disable libsanitizer since the gcc 7.5 branch is now closed
(unmaintained) and it's not a trivial merge.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/c-periphery: bump to v2.2.2
Ryan Barnett [Fri, 24 Jul 2020 11:56:04 +0000 (06:56 -0500)]
package/c-periphery: bump to v2.2.2

c-periphery now supports building on older kernels before 4.8 as there
are now checks for the new kernel cdev gpio interface.

Also updated 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/wine: bump version to 5.12
Heiko Thiery [Mon, 13 Jul 2020 20:27:58 +0000 (22:27 +0200)]
package/wine: bump version to 5.12

Also update hash file formatting (2 spaces).

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/setools: add comment about Python 3.x dependency
Fabrice Fontaine [Thu, 16 Jul 2020 21:02:25 +0000 (23:02 +0200)]
package/setools: add comment about Python 3.x dependency

Commit 09b94b1e8f94d1f49f7a2349b4c8cbfecefa73da forgot to add the
usual comment that python3 dependency is due to python-networkx.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nodejs: use system-icu for host-nodejs
James Hilliard [Mon, 27 Jul 2020 11:51:55 +0000 (05:51 -0600)]
package/nodejs: use system-icu for host-nodejs

The nodejs configure.py file orders zlib headers before the bundled ICU
headers. The zlib headers happen to be located in the system include
directory, next to some system ICU headers (not bundled). If these are
built before nodejs is, nodejs will get confused and try to use the
system ICU headers instead of the bundled ones.

Fix this by always using host-icu.

Set CXXFLAGS to -DU_DISABLE_RENAMING=1 when building with
system-icu since host-icu is built with --disable-renaming.

Fixes:
 - http://autobuild.buildroot.net/results/1ef947553ec762dba6a6202b1cfc84ceed75dbb2/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - keep alphabetical order in _DEPENDENCIES
  - don't introduce HOST_NODEJS_CONF_OPTS
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agogitlab: generate the gitlab-ci configuration before each build
Romain Naour [Sat, 25 Jul 2020 21:35:58 +0000 (23:35 +0200)]
gitlab: generate the gitlab-ci configuration before each build

Since Gitlab 12.9, Gitlab allow to trigger child pipeline with generated configuration file.
See: https://gitlab.com/gitlab-org/gitlab/-/issues/35632

This allow us to stop updating the .gitlab-ci.yml file when a
new defconfig is added to Buildroot.

Remove check-gitlab-ci.yml job since it is now uneeded.
Remove .gitlab-ci.yml make target.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
[ann.morin.1998@free.fr: manual: no longer needed to update at all]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rust: drop reference to HOST_RUST_JEMALLOC_CONF
Thomas Petazzoni [Mon, 27 Jul 2020 09:01:34 +0000 (11:01 +0200)]
package/rust: drop reference to HOST_RUST_JEMALLOC_CONF

This variable is no longer used since
4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316 ("package/rust: bump version
to 1.33.0")

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cargo-bin: remove and use cargo-bin from rust-bin package
Patrick Havelange [Fri, 7 Feb 2020 18:08:29 +0000 (19:08 +0100)]
package/cargo-bin: remove and use cargo-bin from rust-bin package

Rust upstream distributes tarballs with separate rust and cargo
binaries, but also tarballs with everything together. The latter
contains a bit more than what we need, so the download is slightly
larger than separate cargo-bin and rust-bin. But it simplifies our life
if we do the same in rust-bin as in rust (i.e. get both rust and cargo).

Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust: bump to 1.40
Patrick Havelange [Fri, 7 Feb 2020 18:08:28 +0000 (19:08 +0100)]
package/rust: bump to 1.40

- remove of the llvm workaround patch as it is integrated in this
  newer version.
- bump cargo-bin to 0.41 (corresponds to rust 1.40) and update
  licenses hashes.
- bump rust-bin to 1.40.

Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agodocs/manual: cargo packages depend on host-rustc
Eric Le Bihan [Fri, 7 Feb 2020 18:08:27 +0000 (19:08 +0100)]
docs/manual: cargo packages depend on host-rustc

As Cargo is either installed by host-rust or host-rust-bin, the
Cargo-based packages should depend on host-rustc.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
[Arnout: also select HOST_RUSTC in Config.in]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cargo: drop package
Eric Le Bihan [Fri, 7 Feb 2020 18:08:26 +0000 (19:08 +0100)]
package/cargo: drop package

As no package depends on the standalone cargo package, it can be
dropped.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ripgrep: depends on host-rustc
Eric Le Bihan [Fri, 7 Feb 2020 18:08:25 +0000 (19:08 +0100)]
package/ripgrep: depends on host-rustc

As all providers of rustc also install cargo, there is no need to depend
on the standalone cargo package anymore. Instead add host-rustc to the
dependency list.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust: drop dependency on host-cargo-bin
Eric Le Bihan [Fri, 7 Feb 2020 18:08:24 +0000 (19:08 +0100)]
package/rust: drop dependency on host-cargo-bin

As host-rust depends on host-rust-bin, which depends on host-cargo-bin,
remove unneeded dependency.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust-bin: host variant depends on host-cargo-bin
Eric Le Bihan [Fri, 7 Feb 2020 18:08:23 +0000 (19:08 +0100)]
package/rust-bin: host variant depends on host-cargo-bin

Ensure installation of pre-built cargo binary by adding it to the
dependency list of the host variant of the pre-built Rust compiler.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cargo-bin: install if rust-bin selected
Eric Le Bihan [Fri, 7 Feb 2020 18:08:22 +0000 (19:08 +0100)]
package/cargo-bin: install if rust-bin selected

If host-rust-bin, the pre-built Rust compiler, is selected as a rustc
provider, then also install the pre-built cargo binary to be coherent.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
[Arnout: don't install cargo config, alread moved]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust: build and install cargo
Eric Le Bihan [Fri, 7 Feb 2020 18:08:21 +0000 (19:08 +0100)]
package/rust: build and install cargo

Cargo source code is not provided anymore as a separate tarball but is
now built along with the Rust compiler. So update rust host variant to
build Cargo.

For now, all this will be overwritten again by the host-cargo package,
but this package will be removed in later commits.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Tested-by: Sam Voss <sam.voss@rockwellcollins.com>
[Arnout: merge all install commands in HOST_RUST_INSTALL_CMDS]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rustc: install cargo config as toolchain post-install hook
Arnout Vandecappelle (Essensium/Mind) [Fri, 7 Feb 2020 18:08:20 +0000 (19:08 +0100)]
package/rustc: install cargo config as toolchain post-install hook

The cargo config file is much like the cmake and meson configuration
files, something that tells the cargo build system how the
cross-toolchain is configured.

It is currently installed by the cargo package, but this package is
about to be removed as cargo is now built as part of rust
itself. Therefore, install the cargo config file as a toolchain
post-install hook, just like we do for cmake and meson.

However, we don't have a pkg-cargo infrastructure (yet) so we can't
put it there. Therefore, put it in the rustc package - any cargo
package will need rustc.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: bump version to 3.55
Giulio Benetti [Sun, 26 Jul 2020 00:53:33 +0000 (02:53 +0200)]
package/libnss: bump version to 3.55

Bump version to 3.55. Unfortunately local patch is still pending
upstream and not applied and I've just asked why:
https://bugzilla.mozilla.org/show_bug.cgi?id=1642174

This version requires NSPR 4.27.

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

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libnspr: bump version to 4.27
Giulio Benetti [Sun, 26 Jul 2020 00:53:32 +0000 (02:53 +0200)]
package/libnspr: bump version to 4.27

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/docker-engine: needs more runtime dependencies
Francois Perrad [Sun, 21 Jun 2020 07:59:57 +0000 (09:59 +0200)]
package/docker-engine: needs more runtime dependencies

fix error:
failed to start daemon: Devices cgroup isn't mounted

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/mbpfan: new package
Christian Stewart [Mon, 18 May 2020 03:48:58 +0000 (20:48 -0700)]
package/mbpfan: new package

Adding mbpfan, a fan control daemon for MacBook laptops.

Signed-off-by: Christian Stewart <christian@paral.in>
[Peter: add hash file, drop Debian init script, drop systemd symlinks, add
 DEVELOPERS entry]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/vlc: fix missing headers when compiling with Qt 5.15
Bernd Kuhls [Mon, 27 Jul 2020 06:51:36 +0000 (08:51 +0200)]
package/vlc: fix missing headers when compiling with Qt 5.15

Fixes
http://autobuild.buildroot.net/results/832/832226c43549befda7e8c86a52354e7d6adc0a98/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tpm2-tools: bump version to 4.1.2
Peter Korsgaard [Mon, 25 May 2020 21:48:53 +0000 (23:48 +0200)]
package/tpm2-tools: bump version to 4.1.2

Bugfix release with a single fix:

- Fix missing handle maps for ESY3 handle breaks. See #1994

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/tpm2-abrmd: bump version to 2.3.2
Peter Korsgaard [Mon, 25 May 2020 21:48:52 +0000 (23:48 +0200)]
package/tpm2-abrmd: bump version to 2.3.2

Fixes various initialization / systemd issues. From the changelog:

- Provide meaningful exit codes on initialization failures.
- Prevent systemd from starting the daemon before udev changes ownership of
  the TPM device node.
- Prevent systemd from starting the daemon if there is no TPM device node.
- Prevent systemd from restarting the daemon if it fails.
- Add SELinux policy to allow daemon to resolve names.
- Add SELinux policy boolean (disabled by default) to allow daemon to
  connect to all unreserved ports.

Also adjust .hash file white space to match new agreements.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libwebsockets: add fsmount support
Adam Duskett [Sun, 26 Jul 2020 02:29:01 +0000 (19:29 -0700)]
package/libwebsockets: add fsmount support

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libwebsockets: add libglib2 support
Adam Duskett [Sun, 26 Jul 2020 02:29:00 +0000 (19:29 -0700)]
package/libwebsockets: add libglib2 support

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libwebsockets: bump version to 4.0.20
Adam Duskett [Sun, 26 Jul 2020 02:28:59 +0000 (19:28 -0700)]
package/libwebsockets: bump version to 4.0.20

Other changes:
  - Remove upstream patch.
  - Change license type to MIT.
  - Update license shasum due to the above change.
  - Upstrem agained optional support for libglib2 and fsmount, we
    disable those so far

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr: forcibly disable new features]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libwebsockets: add support for extensions
Adam Duskett [Sun, 26 Jul 2020 02:28:58 +0000 (19:28 -0700)]
package/libwebsockets: add support for extensions

libwebsockets currently depends on zlib, however, as of commit
13ba5bbc633ea962d46d9f2bfb2e87c9f7e83b62 (from 2013!) zlib is not actually a
requirement if extensions are not enabled.

By default, libwebsockets sets the "LWS_WITHOUT_EXTENSIONS" option to "ON,"
which removes the need for zlib as a dependency. Because of this default
setting, there are two options:

1) Remove the dependency on zlib, create a new option under Config.in to allow
a user to enable extensions, add zlib as a dependency, and set
LWS_WITHOUT_EXTENSIONS to "OFF" if that option is selected.

2) Keep the dependency and explicitly set LWS_WITHOUT_EXTENSIONS to "OFF."

Below are the size differences in bytes:
  - Without zlib and extensions: 44636
  - With zlib and without extensions: 44720
  - With zlib and with extensions: 44732

Considering the size difference between all 3 is an incredible 96 bytes, and
the difference between what we have now, and enabling extensions is an
insurmountable 12 bytes, it is safe to keep the dependency on zlib and always
enable extensions.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/powerpc-utils: bump to version 1.3.7
Fabrice Fontaine [Sun, 26 Jul 2020 09:36:09 +0000 (11:36 +0200)]
package/powerpc-utils: bump to version 1.3.7

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/librtas: bump to version 2.0.2
Fabrice Fontaine [Sun, 26 Jul 2020 09:36:08 +0000 (11:36 +0200)]
package/librtas: bump to version 2.0.2

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/snmppp: fix SNMPv3 with gcc <= 5
Fabrice Fontaine [Sun, 26 Jul 2020 21:29:06 +0000 (23:29 +0200)]
package/snmppp: fix SNMPv3 with gcc <= 5

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freeswitch: fix build error
Bernd Kuhls [Sun, 26 Jul 2020 13:30:23 +0000 (15:30 +0200)]
package/freeswitch: fix build error

Freeswitch has been tested agains tan older version of libcheck, 0.12.0
or earlier, while Buildroot has 0.15.1. With 0.13.0, the API of libcheck
has changed, and Freeswitch does not account for this.

Fixes
http://autobuild.buildroot.net/results/5db/5dbce5860f57c1457962aa295857689f49a60bc6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: expand commit log with the root cause]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/chocolate-doom: bump to version 3.0.1
Fabrice Fontaine [Sat, 25 Jul 2020 22:12:01 +0000 (00:12 +0200)]
package/chocolate-doom: bump to version 3.0.1

Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/freeswitch-mod-bcg729: bump version to 1.0.5
Bernd Kuhls [Sun, 26 Jul 2020 06:16:01 +0000 (08:16 +0200)]
package/freeswitch-mod-bcg729: bump version to 1.0.5

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libhdhomerun: bump version to 20200521
Bernd Kuhls [Sun, 26 Jul 2020 06:05:47 +0000 (08:05 +0200)]
package/libhdhomerun: bump version to 20200521

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libopenh264: bump version to 2.1.1
Bernd Kuhls [Sun, 26 Jul 2020 06:02:53 +0000 (08:02 +0200)]
package/libopenh264: bump version to 2.1.1

Release notes:
https://github.com/cisco/openh264/blob/openh264v2.1.1/RELEASES

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/dovecot-pigeonhole: bump version to 0.5.10
Bernd Kuhls [Sun, 26 Jul 2020 06:02:00 +0000 (08:02 +0200)]
package/dovecot-pigeonhole: bump version to 0.5.10

Release notes:
https://raw.githubusercontent.com/dovecot/pigeonhole/release-0.5.10/NEWS

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoboot/barebox: bump version to 2020.07.0
Bartosz Bilas [Sun, 26 Jul 2020 18:05:20 +0000 (20:05 +0200)]
boot/barebox: bump version to 2020.07.0

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/check: bump version to 0.15.1
Bernd Kuhls [Sun, 26 Jul 2020 10:34:37 +0000 (12:34 +0200)]
package/check: bump version to 0.15.1

Release notes: https://github.com/libcheck/check/blob/0.15.1/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/moarvm: bump to 2020.07
Francois Perrad [Sun, 26 Jul 2020 08:52:02 +0000 (10:52 +0200)]
package/moarvm: bump to 2020.07

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/xapian: bump to version 1.4.16
Gilles Talis [Sun, 26 Jul 2020 08:46:14 +0000 (10:46 +0200)]
package/xapian: bump to version 1.4.16

Updated indentation in hash file (two spaces)

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/ncdu: bump to version 1.15.1
Gilles Talis [Sun, 26 Jul 2020 08:46:13 +0000 (10:46 +0200)]
package/ncdu: bump to version 1.15.1

Updated indentation in hash file (two spaces)

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libolm: bump to version 3.1.5
Gilles Talis [Sun, 26 Jul 2020 08:46:12 +0000 (10:46 +0200)]
package/libolm: bump to version 3.1.5

Updated hash file indentation (two spaces)

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agodocs/website: update for 2020.02.4
Peter Korsgaard [Sun, 26 Jul 2020 08:44:53 +0000 (10:44 +0200)]
docs/website: update for 2020.02.4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2020.02.4
Peter Korsgaard [Sun, 26 Jul 2020 08:08:24 +0000 (10:08 +0200)]
Update for 2020.02.4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit dee53013da87dfa4bcb3433bdef79ec43b5a5c24)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agodocs/website: update for 2020.05.1
Peter Korsgaard [Sun, 26 Jul 2020 08:41:42 +0000 (10:41 +0200)]
docs/website: update for 2020.05.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2020.05.1
Peter Korsgaard [Sat, 25 Jul 2020 07:32:14 +0000 (09:32 +0200)]
Update for 2020.05.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 667adccb927395ab99d17fc8877b21bf70614218)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libwebsockets: remove dependency on mmu
Adam Duskett [Sun, 26 Jul 2020 02:28:57 +0000 (19:28 -0700)]
package/libwebsockets: remove dependency on mmu

Six years ago, commit b6b5bb518d28850e024b90db1129b7f86e9d416c added the MMU
dependency for the libwebsockets package. However, according to the git
history of the CMakeLists.txt file, libwebsockets has supported the vfork
function for at least the last five years.

After testing with the qemu_arm_versatile_nommu_defconfig and the
br-arm-cortex-m4-full.config file, no errors occurred when building
libwebsockets without MMU support.

Remove the dependency; it is no longer necessary. Update the reverse
dependencies as needed.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/enchant: bump to version 2.2.8
Fabrice Fontaine [Sat, 25 Jul 2020 21:12:01 +0000 (23:12 +0200)]
package/enchant: bump to version 2.2.8

- Update site to get latest version
- Update hash of COPYING.LIB (update in FSF address with
  https://github.com/AbiWord/enchant/commit/adcb08292d4650a1c258f9b02c53cf1e26b47185)
- 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>
4 years agopackage/qlibc: bump to version 2.4.5
Fabrice Fontaine [Fri, 24 Jul 2020 18:43:19 +0000 (20:43 +0200)]
package/qlibc: bump to version 2.4.5

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>
4 years agopackage/perl-mail-dkim: bump to version 1.20200708
Francois Perrad [Fri, 24 Jul 2020 16:21:28 +0000 (18:21 +0200)]
package/perl-mail-dkim: bump to version 1.20200708

- new scheme for version
- LICENSE file added

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-net-dns: bump to version 1.25
Francois Perrad [Fri, 24 Jul 2020 16:21:27 +0000 (18:21 +0200)]
package/perl-net-dns: bump to version 1.25

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-mojolicious: bump to version 8.57
Francois Perrad [Fri, 24 Jul 2020 16:21:26 +0000 (18:21 +0200)]
package/perl-mojolicious: bump to version 8.57

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-lwp-protocol-https: bump to version 6.09
Francois Perrad [Fri, 24 Jul 2020 16:21:25 +0000 (18:21 +0200)]
package/perl-lwp-protocol-https: bump to version 6.09

now, LICENSE has its own file

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-libwww-perl: bump to version 6.46
Francois Perrad [Fri, 24 Jul 2020 16:21:24 +0000 (18:21 +0200)]
package/perl-libwww-perl: bump to version 6.46

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-http-message: bump to version 6.25
Francois Perrad [Fri, 24 Jul 2020 16:21:23 +0000 (18:21 +0200)]
package/perl-http-message: bump to version 6.25

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-http-entity-parser: bump to version 0.23
Francois Perrad [Fri, 24 Jul 2020 16:21:22 +0000 (18:21 +0200)]
package/perl-http-entity-parser: bump to version 0.23

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-gd: bump to version 2.72
Francois Perrad [Fri, 24 Jul 2020 16:21:21 +0000 (18:21 +0200)]
package/perl-gd: bump to version 2.72

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-file-util: bump to version 4.201720
Francois Perrad [Fri, 24 Jul 2020 16:21:20 +0000 (18:21 +0200)]
package/perl-file-util: bump to version 4.201720

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-file-slurp: bump to version 9999.32
Francois Perrad [Fri, 24 Jul 2020 16:21:19 +0000 (18:21 +0200)]
package/perl-file-slurp: bump to version 9999.32

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/minizip: use pkg-config to find zstd
Fabrice Fontaine [Thu, 23 Jul 2020 20:51:35 +0000 (22:51 +0200)]
package/minizip: use pkg-config to find zstd

Fix build with zstd in version 2.10.0

Fixes:
 - http://autobuild.buildroot.org/results/0fe0ca0a7d39f863614f2aecd9eefc20cd64daf4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agogitlab-ci: convert only/except to rules
Romain Naour [Sat, 18 Jul 2020 15:47:13 +0000 (17:47 +0200)]
gitlab-ci: convert only/except to rules

only/except keywords will be deprecated by upcoming gitlab release,
upstream recommend to use rules keyword instead [1][2][3][4][5].

This patch convert .gitlab-ci.yml to use rules, no functional
changes intended.

After this patch, we should still have the following behaviour
while pushing commit, tag, branches:

     - to trigger only the check-* jobs:
       $ git push gitlab HEAD:<name>

     - to trigger all defconfigs and all check-* jobs:
       $ git push gitlab HEAD:<name>-defconfigs

     - to trigger all runtime tests and all check-* jobs:
       $ git push gitlab HEAD:<name>-runtime-tests

     - to trigger one defconfig job:
       $ git push gitlab HEAD:<name>-<defconfig name>

     - to trigger one runtime job:
       $ git push gitlab HEAD:<name>-<test case name>

[1] https://gitlab.com/gitlab-org/gitlab/-/commit/7eaaa597e24bf24743bdd8f8d1d51ade83b3f6de
[2] https://about.gitlab.com/releases/2020/06/22/gitlab-13-1-released/#templates-to-simplify-initial-rules-keyword-configuration
[3] https://about.gitlab.com/releases/2020/05/22/gitlab-13-0-released/#auto-devops-and-secure-configuration-templates-are-changing-to-%60rules%60-instead-of-%60only/except%60
[4] https://gitlab.com/gitlab-org/gitlab/issues/27449
[5] https://gitlab.com/groups/gitlab-org/-/epics/2783
[6] https://buildroot.org/downloads/manual/manual.html#_using_the_run_tests_framework

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: add Angelo Compagnucci to several packages
Angelo Compagnucci [Sat, 25 Jul 2020 20:49:42 +0000 (22:49 +0200)]
DEVELOPERS: add Angelo Compagnucci to several packages

This patch adds some packages I contributed to my entry.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: bump CIP RT kernel to version 4.19.132-cip30-rt12
Angelo Compagnucci [Sat, 25 Jul 2020 20:46:26 +0000 (22:46 +0200)]
linux: bump CIP RT kernel to version 4.19.132-cip30-rt12

This patch bumps Linux CIP RT to version 4.19.132-cip30-rt12

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: bump CIP kernel to version 4.19.132-cip30
Angelo Compagnucci [Sat, 25 Jul 2020 20:46:13 +0000 (22:46 +0200)]
linux: bump CIP kernel to version 4.19.132-cip30

This patch bumps Linux CIP to version 4.19.132-cip30

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/bananapi_m2_zero: new defconfig
Vincent Stehlé [Thu, 7 May 2020 16:45:19 +0000 (18:45 +0200)]
configs/bananapi_m2_zero: new defconfig

The Banana Pi M2 Zero [1] is a board from Sinovoip, based on the
Allwinner H2+ SoC.

It is similar to the other Banana Pi M2* boards, from which this
configuration is inspired.

[1]: http://www.banana-pi.org/m2z.html

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/snps_archs38_hsdk: re-enable USB support
Evgeniy Didin [Tue, 5 May 2020 20:49:30 +0000 (23:49 +0300)]
configs/snps_archs38_hsdk: re-enable USB support

With this patch we enable CONFIG_USB for HSDK, which is not explicitly
selected by UDL since the commit 5d50bd440bc2 ("drm/udl: Make udl
driver depend on CONFIG_USB"). Commit 4c13ca86dcf8 ("ARC:
[plat-hsdk]: fix USB regression") is not yet backported to Linux
kernel 5.6.x, so we enable this option in fragment file for HSDK.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/globalscale_espressobin: new defconfig
Joachim Nilsson [Fri, 8 May 2020 09:45:09 +0000 (11:45 +0200)]
configs/globalscale_espressobin: new defconfig

Basic support for the Marvell ESPRESSObin, by Globalscale Technologies.

  http://espressobin.net

The kernel config has been extended with a fragment to enable switchcore
support, DSA drivers, and VLAN filtering in the bridge.  To make use of
this you need a custom libnl based application, or the iproute2 suite
rather than the brctl tools, which don't support the VLAN filtering.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/grpc: bump version to 1.30.2
Adam Duskett [Tue, 21 Jul 2020 21:45:22 +0000 (14:45 -0700)]
package/grpc: bump version to 1.30.2

Other changes:
  - Add a dependency on libabseil-cpp
  - Update the patches to apply properly.

Tested with the following distributions:
  - Debian 9
  - CentOS 7
  - Fedora 32

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libabseil-cpp new package
Adam Duskett [Tue, 21 Jul 2020 21:45:21 +0000 (14:45 -0700)]
package/libabseil-cpp new package

This package is a new dependency on grpc versions > 1.25.0

Tested with the following distributions:
  - Debian 9
  - CentOS 7
  - Fedora 32

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/debianutils: bump version to 4.11
Petr Vorel [Wed, 22 Jul 2020 19:23:40 +0000 (21:23 +0200)]
package/debianutils: bump version to 4.11

+ updated copyright hash

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-spidev: bump to version 3.5
Angelo Compagnucci [Sat, 25 Jul 2020 15:35:11 +0000 (17:35 +0200)]
package/python-spidev: bump to version 3.5

This patch bump python-spidev to version 3.5

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-pillow: bump to version 7.2.0
Angelo Compagnucci [Sat, 25 Jul 2020 15:30:16 +0000 (17:30 +0200)]
package/python-pillow: bump to version 7.2.0

This patch bump pillow to version 7.2.0. The bump requires the python
xml module available.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ltris: fix build with gcc 4.8
Fabrice Fontaine [Sat, 25 Jul 2020 16:45:59 +0000 (18:45 +0200)]
package/ltris: fix build with gcc 4.8

Fixes:
 - http://autobuild.buildroot.org/results/991d601b30831df61c78dc7109a2f4ab9ace3f84

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gvfs: fix linking with libmetadata
Fabrice Fontaine [Sat, 25 Jul 2020 16:54:41 +0000 (18:54 +0200)]
package/gvfs: fix linking with libmetadata

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/easy-rsa: bump to version 3.0.7
Fabrice Fontaine [Sat, 25 Jul 2020 17:54:58 +0000 (19:54 +0200)]
package/easy-rsa: bump to version 3.0.7

Update indentation in hash file (two spaces)

https://github.com/OpenVPN/easy-rsa/releases/tag/v3.0.7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cramfs: bump to version 2.1
Fabrice Fontaine [Sat, 25 Jul 2020 17:38:36 +0000 (19:38 +0200)]
package/cramfs: bump to version 2.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-pydal: bump to version 20200714.1
Angelo Compagnucci [Sat, 25 Jul 2020 20:00:07 +0000 (22:00 +0200)]
package/python-pydal: bump to version 20200714.1

this patch bumps python-pydal to version 20200714.1

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libzip: fix build with cmake < 3.16
Fabrice Fontaine [Sat, 25 Jul 2020 10:23:22 +0000 (12:23 +0200)]
package/libzip: fix build with cmake < 3.16

Fixes:
 - http://autobuild.buildroot.org/results/7e996aebafa4c690ff130b7d18e5b09c7b255829

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libgsasl: enable gcrypt support
Fabrice Fontaine [Sat, 25 Jul 2020 10:18:29 +0000 (12:18 +0200)]
package/libgsasl: enable gcrypt support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libgsasl: bump to version 1.8.1
Fabrice Fontaine [Sat, 25 Jul 2020 10:18:28 +0000 (12:18 +0200)]
package/libgsasl: bump to version 1.8.1

- Update hash of README
- Update indentation in hash file (two spaces)

https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00000.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mraa: add json-c support
Fabrice Fontaine [Sat, 25 Jul 2020 09:29:04 +0000 (11:29 +0200)]
package/mraa: add json-c support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcc: bump to gcc 10.2
Romain Naour [Fri, 24 Jul 2020 23:13:41 +0000 (01:13 +0200)]
package/gcc: bump to gcc 10.2

Remove upstream patch backported to gcc 10.2:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e86ae54172bb982e3c9d5aa62d20be5b72fe0f24

"GCC 10.2 is a bug-fix release from the GCC 10 branch
containing important fixes for regressions and serious bugs in
GCC 10.1 with more than 94 bugs fixed since the previous release."

https://gcc.gnu.org/pipermail/gcc-announce/2020/000164.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/mraa: fix architecture
Fabrice Fontaine [Fri, 24 Jul 2020 20:31:03 +0000 (22:31 +0200)]
package/mraa: fix architecture

mraa supports aarch64 since version 0.9.0 and
https://github.com/eclipse/mraa/commit/47ec54c3330de176ed0b8e3254e81d9451fb866a

mips is supported since version 1.9.0 and
https://github.com/eclipse/mraa/commit/6770be911ba18b25ff284eeac80390e4111f602f

Moreover, BUILD_ARCH must be passed otherwise build will fail on i686
and arm

Fixes:
 - http://autobuild.buildroot.org/results/8e99eb282668f6f83f43c5be45112d82936e3408
 - http://autobuild.buildroot.org/results/75ba0840da6eb4907847ef05adeec2df109c9937

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/haproxy: fix static only build
Baruch Siach [Fri, 24 Jul 2020 04:59:20 +0000 (07:59 +0300)]
package/haproxy: fix static only build

Add a patch to avoid dlfcn.h use when the toolchain is static only.

Fixes:
http://autobuild.buildroot.net/results/98caf66e8a7f72ee24e4d39f3aab541f82310369/
http://autobuild.buildroot.net/results/3024eb48a026b1a91e39f7d996be3d7f50314762/
http://autobuild.buildroot.net/results/e6bbf1469926bde9057f270940d1455e0f758e0e/

Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/squid: security bump to version 4.12
Fabrice Fontaine [Thu, 23 Jul 2020 21:56:23 +0000 (23:56 +0200)]
package/squid: security bump to version 4.12

- Fix CVE-2020-15049: Cache Poisoning Issue in HTTP Request processing
- Fix CVE-2020-14058: Denial of Service issue in TLS handshake
- Fix CVE-2020-14059: Denial of Service when using SMP cache

This version also fix a build failure with systemd

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/squid: add optional systemd dependency
Fabrice Fontaine [Thu, 23 Jul 2020 21:56:22 +0000 (23:56 +0200)]
package/squid: add optional systemd dependency

systemd is an optional dependency (enabled by default) since version
4.11 and
https://github.com/squid-cache/squid/commit/6fa8c66435d55a2e713db0222cdca3a9dccf5bbe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/netopeer2: add package
Heiko Thiery [Tue, 16 Jun 2020 12:16:45 +0000 (14:16 +0200)]
package/netopeer2: add package

Netopeer2 is a set of tools implementing network configuration
tools based on the NETCONF Protocol.

Netopeer2 needs libnetconf2 to have SSL/TSL and SSH support, so
we enable both openssl and libssh+server from netopeer2, so that
libnetconf2 has appropriate support. But netopeer2 does not use
either, so does not build-depend on them.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr:
  - fix dependencies and their comments
  - explain openssl and libssh+server dependencies
  - fix codestyle in Config,in, noticed by Adam
  - fix codestyle in .mk
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-generic.mk: move pkg_size_{before, after} and check_bin_arch functions
Thomas Petazzoni [Thu, 30 Apr 2020 09:52:44 +0000 (11:52 +0200)]
package/pkg-generic.mk: move pkg_size_{before, after} and check_bin_arch functions

These functions are no longer using the GLOBAL_INSTRUMENTATION_HOOKS
mechanism, so it doesn't make much sense for them to be in the section
of pkg-generic.mk related to those hooks.

Move them to the "Helper functions" section.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-generic.mk: exclude the staging sub-directory
Thomas Petazzoni [Thu, 30 Apr 2020 09:52:43 +0000 (11:52 +0200)]
package/pkg-generic.mk: exclude the staging sub-directory

Now that we are checking the host directory changes throughout all
installation steps and not just during the "host installation step",
it means that changes done within the staging directory (which is a
subdir of the host directory) are also visible in the
.files-list-host.txt file.

Note that this problem already potentially occurs if a host package is
installing files in the staging directory: they would be listed in
.files-list-host.txt even without the changes in this series.

To fix this up, we simply exclude files that are beneath the
$(STAGING_SUBDIR). Note that we do that in all cases, so when
searching $(HOST_DIR), $(HOST_DIR)/$(STAGING_SUBDIR) is excluded, but
when searching $(TARGET_DIR), $(TARGET_DIR)/$(STAGING_SUBDIR) is
excluded, and when search $(STAGING_DIR),
$(STAGING_DIR)/$(STAGING_SUBDIR) is excluded. This is not a problem in
practice since $(TARGET_DIR)/$(STAGING_SUBDIR) and
$(STAGING_DIR)/$(STAGING_SUBDIR) don't exist, but it's not very
nice. However, it allows to keep the code simple.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-generic.mk: rework pkg_size logic with the "installed" step
Thomas Petazzoni [Thu, 30 Apr 2020 09:52:42 +0000 (11:52 +0200)]
package/pkg-generic.mk: rework pkg_size logic with the "installed" step

This commits reworks the pkg_size logic to no longer use the
GLOBAL_INSTRUMENTATION_HOOKS mechanism, but instead be directly
implemented within the configure step and install step.

The problem with the current implementation in the
GLOBAL_INSTRUMENTATION_HOOKS is that we only capture what is installed
in $(HOST_DIR) during the "host installation step", what is installed
in $(TARGET_DIR) during the "target installation step" and what is
installed in "$(STAGING_DIR)" during the staging installation step.

While this seems reasonable in principle, it is in fact not completely
true. For example, "toolchain", which is a target package, installs
tons of files in $(HOST_DIR). "qt5base", which is also a target
package, also installs things in $(HOST_DIR). Same with the "syslinux"
package.

The idea behind this patch is pretty simple:

 - At the beginning of the configure step, right after the per-package
   directories have been populated (if BR2_PER_PACKAGE_DIRECTORIES=y),
   we capture the state of the HOST_DIR, TARGET_DIR and STAGING_DIR.

 - At the end of all install steps (which is possible thanks to the
   newly introduced "install" step), we capture again the state of
   HOST_DIR, TARGET_DIR and STAGING_DIR, and compare it to what we
   have saved at the configure step.

So regardless of whether a file has been installed in $(HOST_DIR)
during the target or staging installation steps of a target package,
or if a host package has installed a file in $(TARGET_DIR), we will
detect it.

The pkg_size_before and pkg_size_after macros are intentionally left
where they are (even if they now fall in the middle of the
GLOBAL_INSTRUMENTATION_HOOKS implementations) to minimize the diffstat
and facilitate review.

Note that we also have to change check_bin_arch to be explicitly
called from the install step rather than through a
GLOBAL_INSTRUMENTATION_HOOKS as it depends on the .files-list.txt file
produced by the pkg_size_after function.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-generic.mk: create directories upfront in the configure step
Thomas Petazzoni [Thu, 30 Apr 2020 09:52:41 +0000 (11:52 +0200)]
package/pkg-generic.mk: create directories upfront in the configure step

We currently create HOST_DIR, TARGET_DIR, STAGING_DIR and BINARIES_DIR
in their respective installation steps. However, as we are about to
change how the logic to capture files installed by packages is
implemented, we will need these directories to exist at the configure
step to keep things simple.

Note that when BR2_PER_PACKAGE_DIRECTORIES=y, the HOST_DIR, TARGET_DIR
and STAGING_DIR are anyway already created at the configure step, when
populating the per-package HOST_DIR and TARGET_DIR. This also means
that we can drop the "mkdir" from per-package-rsync.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - create directories after MESSAGE
  - use $(Q) not @
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-generic.mk: introduce final 'install' step
Thomas Petazzoni [Thu, 30 Apr 2020 09:52:40 +0000 (11:52 +0200)]
package/pkg-generic.mk: introduce final 'install' step

We currently have four different install steps: target installation,
staging installation, images installation and host installation. These
steps are directly triggered from the $(1)-install make target, so
there is no place where we can run some logic once all installation
steps have completed.

However, as part of improving the reliability of the logic done in
step_pkg_size_before and step_pkg_size_after to detect the files
installed by packages, we would in fact need to run some logic after
all installation steps have completed. This will allow us to make sure
that all files are detected, even if a host package installs something
in the target directory, or if a target package installs something in
the host directory.

To achieve this, this commit implements a new stamp file,
.stamp_installed, which is a step that depends on all four install
steps. Currently, this step does nothing except creating the stamp
file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr: remove stampfile on foo-reinstall]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>