buildroot.git
5 years agopackage/madplay: fix build when NLS is enabled
Giulio Benetti [Tue, 16 Apr 2019 10:21:25 +0000 (12:21 +0200)]
package/madplay: fix build when NLS is enabled

MKINSTALLDIRS is not automatically called by autotools when
autoreconfigured.
This leads to the following error during install:

`/bin/sh @MKINSTALLDIRS@ /home/dawncrow/buildroot-test/scripts/instance-0/output/target/usr/share
/bin/sh: 0: Can't open @MKINSTALLDIRS@`

because @MKINSTALLDIRS@ doesn't get substituted during autoreconf.

This particular command only gets invoked when NLS is enabled.

Add patch that explicitly calls AM_MKINSTALLDIRS macro to substitute
every @MKINSTALLDIRS@ occurence in *.in Makefile.

Patch is not sent upstream since upstream is dead.

Fixes:
http://autobuild.buildroot.net/results/744/7447c03426556f787f20f7ab2d36f0cacc4af1bd/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years ago.gitlab-ci.yml: add andes_ae3xx_defconfig
Arnout Vandecappelle (Essensium/Mind) [Wed, 17 Apr 2019 19:53:54 +0000 (21:53 +0200)]
.gitlab-ci.yml: add andes_ae3xx_defconfig

It was forgotten when this defconfig was added.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoutils/genrandconfig: prevent selecting libffi on nds32
Thomas Petazzoni [Wed, 17 Apr 2019 19:17:42 +0000 (21:17 +0200)]
utils/genrandconfig: prevent selecting libffi on nds32

libffi does not have support for the nds32 architecture, so let's
disallow libffi on this CPU architecture for the moment.

Fixes:

  http://autobuild.buildroot.net/results/12803a705586e82fdfb49013da2eb3b9879ccd45/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/binutils: disable on nds32
Thomas Petazzoni [Wed, 17 Apr 2019 19:16:21 +0000 (21:16 +0200)]
package/binutils: disable on nds32

Upstream binutils does not yet have support for the nds32
architecture, so let's disable binutils for the target on this
architecture for the moment.

Fixes:

  http://autobuild.buildroot.net/results/1b18acb11db4d6c4198deb7385aff3d4d524c37e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/easydbus: bump to version b86721147b265dfefc9a857669408cb6eb3d6560
Fabrice Fontaine [Tue, 16 Apr 2019 15:18:54 +0000 (17:18 +0200)]
package/easydbus: bump to version b86721147b265dfefc9a857669408cb6eb3d6560

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sane-backends: remove unneeded first patch
Fabrice Fontaine [Tue, 16 Apr 2019 17:22:45 +0000 (19:22 +0200)]
package/sane-backends: remove unneeded first patch

This patch is not needed since version 1.0.25 and
https://gitlab.com/sane-project/backends/commit/8434ea91623f313eeb68ac301f7c7abf65976fc8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xl2tp: bump to version 1.3.14
Fabrice Fontaine [Wed, 17 Apr 2019 18:15:57 +0000 (20:15 +0200)]
package/xl2tp: bump to version 1.3.14

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/boost: bump to version 1.70.0
Fabrice Fontaine [Wed, 17 Apr 2019 17:34:50 +0000 (19:34 +0200)]
package/boost: bump to version 1.70.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openjdk: only support a single variant at a time
Adam Duskett [Wed, 17 Apr 2019 14:33:25 +0000 (10:33 -0400)]
package/openjdk: only support a single variant at a time

The Zero variant won't build with the server or client also selected at the same
time, and expressing this in the Config.in would be too complicated to do.
Even so, selecting multiple variants doesn't seem to be that important in the
context of Buildroot.

This patch removes the ability to select multiple variants in favor
of just selecting one. The default is server as that is what all of the major
distributions currently use as the default as well.

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

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/config-fragments/autobuild: test the Andes nds32 architecture
Nylon Chen [Tue, 16 Apr 2019 07:25:45 +0000 (15:25 +0800)]
support/config-fragments/autobuild: test the Andes nds32 architecture

Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/andes_ae3xx: new defconfig
Nylon Chen [Tue, 16 Apr 2019 07:25:43 +0000 (15:25 +0800)]
configs/andes_ae3xx: new defconfig

Add Andes 32-bit defconfig for AE3XX platform.

Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
[Thomas:
 - fix commit title to match the defconfig name
 - use the external toolchain package]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain/toolchain-external-andes-nds32: new package
Nylon Chen [Tue, 16 Apr 2019 07:25:44 +0000 (15:25 +0800)]
toolchain/toolchain-external-andes-nds32: new package

This commit adds a new package for the Andes external toolchain for
the nds32 Little Endian architecture.

https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz

Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
[Thomas:
 - rename .mk and .hash files to carry the proper package name
 - fix <pkg>_SITE variable, which was incorrect
 - add prompt in Config.in
 - add missing include of Config.in in toolchain/toolchain-external/Config.in
 - add missing selects for RPC and SSP, since the toolchain supports
   both
 - drop BR2_TOOLCHAIN_EXTERNAL_URL option, the toolchain URL is
   provided by the .mk file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch: add support for Andes 32-bit (nds32)
Nylon Chen [Tue, 16 Apr 2019 07:25:42 +0000 (15:25 +0800)]
arch: add support for Andes 32-bit (nds32)

This commit provides basic support for the Andes 32-bit (nds32)
architecture.

Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/go: fix building host go toolchain when target isn't supported
Anisse Astier [Mon, 15 Apr 2019 20:49:51 +0000 (22:49 +0200)]
package/go: fix building host go toolchain when target isn't supported

The go toolchain can cross-compile by default. So most of the time,
building a toolchain that supports a target, allows us to also build go
binaries for the host. This is how support for host go packages was
added: we use the same toolchain that was initially built only for
target.

But we might want to build a go binary for the host, when compiling a
target for which go isn't supported. Then, building host-go will fail:
by default, we build go for a specific target, and give the toolchain
bootstrap scripts the cross compiler we'll use.

This change modifies this behaviour: we only assume the go toolchain is
cross-capable if we know the current target is supported. Otherwise this
is a simple host go tool. We don't need to set any of the options needed
for cross-compilation in that case.

Thus, only set all the target-specific go options under a condition that
the target arch is supported. The only option we still set is
HOST_GO_CGO_ENABLED, and we always set it to enabled.

It was also considered to create a separate package to build the
go-for-host compiler which would be used for host-go-packages, but that
would lead to a lot of duplication and is completely unnecessary.

Fixes:
http://autobuild.buildroot.net/results/98b9c7aaff2af4d19adfedac00b768d92530ce94
http://autobuild.buildroot.net/results/bed228995ce3778720f991df9b41345a7c724a46
http://autobuild.buildroot.net/results/3b3ea148165b96513ea511ee0d4adb334a6afac8

Signed-off-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/binutils: fix loops relaxation in bare sections
Max Filippov [Thu, 11 Apr 2019 20:55:49 +0000 (13:55 -0700)]
package/binutils: fix loops relaxation in bare sections

The commit 197b5f9d1c23 ("package/binutils: fix loops relaxation in
xtensa gas") changed the way loop opcodes are relaxed resulting in build
failures in hand-made assembly code that has loops in sections without
.literal_position pseudo op or equivalent construct. This e.g. breaks
xtensa linux kernel build.

Fix that by adding literal position to the beginning of every section.

Fixes: 197b5f9d1c23 ("package/binutils: fix loops relaxation in xtensa
gas")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sslh: bump to version 1.20
Fabrice Fontaine [Thu, 11 Apr 2019 18:10:48 +0000 (20:10 +0200)]
package/sslh: bump to version 1.20

- Add hash for license file
- Enable parallel build: it has been fixed since version 1.19b and
  https://github.com/yrutschle/sslh/commit/70a2ea926efc8ca455b08d230b90789a57bc29c6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/check: bump to version 0.12
Fabrice Fontaine [Sun, 14 Apr 2019 16:08:56 +0000 (18:08 +0200)]
package/check: bump to version 0.12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-sentry-sdk: bump to version 0.7.10
Joseph Kogut [Mon, 15 Apr 2019 23:08:08 +0000 (16:08 -0700)]
package/python-sentry-sdk: bump to version 0.7.10

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-schedule: bump to version 0.6.0
Joseph Kogut [Mon, 15 Apr 2019 23:04:36 +0000 (16:04 -0700)]
package/python-schedule: bump to version 0.6.0

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openjdk: remove mips support
Adam Duskett [Mon, 15 Apr 2019 21:14:27 +0000 (17:14 -0400)]
package/openjdk: remove mips support

The mips-port project has been abandoned for some time:

  https://mail.openjdk.java.net/pipermail/mips-port/2018-August/000082.html

Fixes:

  http://autobuild.buildroot.net/results/1059026c9b5f503684fe1589cd43d25a8484290b/

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wireshark: re-enable for static build configurations
Fabrice Fontaine [Tue, 16 Apr 2019 09:41:06 +0000 (11:41 +0200)]
package/wireshark: re-enable for static build configurations

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: explain why ENABLE_STATIC=OFF is the right thing]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sudo: bump to version 1.8.27
Fabrice Fontaine [Tue, 16 Apr 2019 12:12:45 +0000 (14:12 +0200)]
package/sudo: bump to version 1.8.27

Update hash of license file:
 - update in year
 - add arc4random.c, arc4random_uniform.c and getentropy.c license (ISC)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/php: fix how external PCRE2 JIT is enabled
Artem Panfilov [Tue, 16 Apr 2019 16:03:23 +0000 (19:03 +0300)]
package/php: fix how external PCRE2 JIT is enabled

This patch adds ac_cv_have_pcre2_jit cache variable to avoid
the tests running on the host system during cross-compiling.

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pcre2: jit needs threads
Fabrice Fontaine [Tue, 16 Apr 2019 15:29:15 +0000 (17:29 +0200)]
package/pcre2: jit needs threads

Add a BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS to be able to use it in the
comment

Fixes:
 - http://autobuild.buildroot.org/results/547be5264effaf27c7f85ece88c5f5f792abd910

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luasec: bump to version 0.8
Francois Perrad [Wed, 17 Apr 2019 06:16:33 +0000 (08:16 +0200)]
package/luasec: bump to version 0.8

the license file hash changed due to a copyright year update

-LuaSec 0.7 license
-Copyright (C) 2006-2018 Bruno Silvestre, UFG
+LuaSec 0.8 license
+Copyright (C) 2006-2019 Bruno Silvestre, UFG

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ruby: security bump to version 2.4.6
Peter Korsgaard [Tue, 16 Apr 2019 21:33:40 +0000 (23:33 +0200)]
package/ruby: security bump to version 2.4.6

Fixes the following security issues:

- CVE-2019-8320: Delete directory using symlink when decompressing tar
- CVE-2019-8321: Escape sequence injection vulnerability in verbose
- CVE-2019-8322: Escape sequence injection vulnerability in gem owner
- CVE-2019-8323: Escape sequence injection vulnerability in API response handling
- CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
- CVE-2019-8325: Escape sequence injection vulnerability in errors

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tpm2-tss: bump version to 2.1.3
Peter Korsgaard [Tue, 16 Apr 2019 20:14:04 +0000 (22:14 +0200)]
package/tpm2-tss: bump version to 2.1.3

Fixes a number of issues discovered post-2.1.2. For details, see:
https://github.com/tpm2-software/tpm2-tss/releases/tag/2.1.3

Drop 002-configure.ac-switch-default-ESAPI-crypto-backend-to-.patch as this
issue is now fixed upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/nginx: bump version to 1.15.12
Adam Duskett [Tue, 16 Apr 2019 17:40:31 +0000 (13:40 -0400)]
package/nginx: bump version to 1.15.12

The license file hash has been modified due to copyright year updates:

- * Copyright (C) 2002-2018 Igor Sysoev
- * Copyright (C) 2011-2018 Nginx, Inc.
+ * Copyright (C) 2002-2019 Igor Sysoev
+ * Copyright (C) 2011-2019 Nginx, Inc.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rpi-firmware: bump version to ebf7b40cdc
Peter Seiderer [Sat, 23 Feb 2019 10:32:58 +0000 (11:32 +0100)]
package/rpi-firmware: bump version to ebf7b40cdc

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/raspberrypi*: bump kernel version to 5eeff139ea
Peter Seiderer [Sat, 23 Feb 2019 10:32:57 +0000 (11:32 +0100)]
configs/raspberrypi*: bump kernel version to 5eeff139ea

Now based on 4.19.23 (from 4.14.98) and bump linux header
version accordingly and needs host openssl.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rpi-firmware: bump version to 83977fe3b6
Peter Seiderer [Fri, 22 Feb 2019 22:37:04 +0000 (23:37 +0100)]
package/rpi-firmware: bump version to 83977fe3b6

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/raspberrypi*: bump kernel version to 877656cd14
Peter Seiderer [Fri, 22 Feb 2019 22:37:03 +0000 (23:37 +0100)]
configs/raspberrypi*: bump kernel version to 877656cd14

Now based on 4.14.98 (from 4.14.95)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/linux-firmware: move BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 to Bluetooth
David Lechner [Sat, 23 Feb 2019 01:07:32 +0000 (19:07 -0600)]
package/linux-firmware: move BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 to Bluetooth

This moves the BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 option to the
Bluetooth section of the config file. This chip is Bluetooth-only, so
it belongs there instead of with the Wi-Fi/Bluetooth combo chips.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ffmpeg: enable Intel QuickSync support
Louis-Paul Cordier [Tue, 5 Feb 2019 18:19:46 +0000 (19:19 +0100)]
package/ffmpeg: enable Intel QuickSync support

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/intel-mediasdk: new package
Louis-Paul Cordier [Tue, 5 Feb 2019 18:19:44 +0000 (19:19 +0100)]
package/intel-mediasdk: new package

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
[Thomas:
 - add missing Config.in comment
 - add missing select BR2_PACKAGE_LIBDRM_INTEL, needed as the code
   uses a header file installed only when libdrm-intel is enabled
 - add patch to drop -fstack-protector in order to support toolchains
   without SSP support]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/intel-mediadriver: new package
Louis-Paul Cordier [Tue, 5 Feb 2019 18:19:43 +0000 (19:19 +0100)]
package/intel-mediadriver: new package

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
[Thomas:
 - add missing Config.in comments
 - fix minor nit in the _LICENSE variable
 - add patch to drop hardening options, especially -fstack-protector,
   which was causing the build to fail on toolchains without SSP
   support]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkgconf: bump to version 1.6.1
Adam Duskett [Mon, 15 Apr 2019 18:03:50 +0000 (14:03 -0400)]
package/pkgconf: bump to version 1.6.1

Other changes:
  - Add a hash for the license file.

Tested against:
  - libsoup
  - X11r7
  - dbus-glib
  - atk

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/wireshark: add systemd optional dependency
Fabrice Fontaine [Mon, 15 Apr 2019 16:10:58 +0000 (18:10 +0200)]
package/wireshark: add systemd optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/wireshark: bump to version 3.0.1
Fabrice Fontaine [Mon, 15 Apr 2019 16:10:57 +0000 (18:10 +0200)]
package/wireshark: bump to version 3.0.1

- Remove patch (already in version)
- Move package to cmake infrastructure
- --disables-guides option is not avaiable with cmake
- gtk ui is no more available
- QT UI now requires:
  - qt5multimedia and qt5svg at build time
  - qt5fontconfig, qt5png and udev at runtime
- Add host-python3 dependency
- Add a hook to build host-lemon
- Disable static build (some libraries such as
  plugins/3.0/codecs/l16mono.so does not support static building)
- Disable new sdjournal feature (will be enabled in a follow up patch)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/busybox: fix S0{1sys, 2k}logd indentation
Fabrice Fontaine [Mon, 15 Apr 2019 08:36:05 +0000 (10:36 +0200)]
package/busybox: fix S0{1sys, 2k}logd indentation

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/systemd: update BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
Fabrice Fontaine [Sun, 14 Apr 2019 13:39:46 +0000 (15:39 +0200)]
package/systemd: update BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS

systemd supports:
 - nios2 since version 230 and
 https://github.com/systemd/systemd/commit/b79660e6acb964f94ddba0ea4e1182215934dfc3
 - riscv sinc version 232 and
 https://github.com/systemd/systemd/commit/171b53380085b1288b03b19a2b978f36a5c003d0
 - aarch64_be (tested with qemu_aarch64_virt_defconfig reconfigured to
 aarch64_be)
 - sparc64 (tested with qemu_sparc64_sun4u_defconfig)
 - mips64 and mips64el (tested with qemu_mips64el_malta_defconfig)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/systemd-bootchart: add BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
Fabrice Fontaine [Sun, 14 Apr 2019 13:24:37 +0000 (15:24 +0200)]
package/systemd-bootchart: add BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS

Since commit f93596d8ba82354efb545fe91449627e6c896ce1, systemd is
enabled on arc however systemd-bootchart is not available on this
architecture so add a BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS from
the information retrieved in src/architecture.h

Fixes:
 - http://autobuild.buildroot.org/results/84fb51212abf99faa2b7a46b8c44c42a3ca1201c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoDEVELOPERS: add Matt Weber to dacapo pkg
Matt Weber [Mon, 15 Apr 2019 20:12:03 +0000 (15:12 -0500)]
DEVELOPERS: add Matt Weber to dacapo pkg

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agocore: add per-package and per-filesystem show-info
Yann E. MORIN [Mon, 15 Apr 2019 19:47:32 +0000 (21:47 +0200)]
core: add per-package and per-filesystem show-info

Sometimes, it is need to quickly get the metadata of a subset of
packages, without resorting to a full-blown JSON query.

Introduce a new per-package (and per-filesystem) foo-show-info rule,
that otputs a per-entity valid JSON blob.

Note that calling it for multiple packages and.or filesystems at once
will not generate a valid JSON blob, as there would be no separator
between the JSON elements:

    $ make {foo,bar}-show-info
    { "foo": { foo stuff } }
    { "bar": { bar stuff } }

However, jq is able to absorb this, with its slurping ability, which
generates an array (ellipsed and manualy reformated for readability):

    $ make {foo,bar}-show-info |jq -s . -
    [
      { "foo": { foo stuff } },
      { "bar": { bar stuff } }
    ]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agocore: introduce new global show-info
Yann E. MORIN [Mon, 15 Apr 2019 19:47:31 +0000 (21:47 +0200)]
core: introduce new global show-info

Users are increasingly trying to extract information about packages. For
example, they might need to get the list of URIs, or the dependencies of
a package.

Although we do have a bunch of rules to generate some of that, this is
done in ad-hoc way, with most of the output formats just ad-hoc, raw,
unformatted blurbs, mostly internal data dumped as-is.

Introduce a new rule, show-info, that provides a properly formatted
output of all the meta-information about packages: name, type, version,
licenses, dependencies...

We choose to use JSON as the output format, because it is pretty
versatile, has parsers in virtually all languages, has tools to parse
from the shell (jq). It also closely matches Python data structure,
which makes it easy to use with our own internal tools as well. Finally,
JSON being a key-value store, allows for easy expanding the output
without requiring existing consumers to be updated; new, unknown keys
are simply ignored by those (as long as they are true JSON parsers).

The complex part of this change was the conditional output of parts of
the data: virtual packages have no source, version, license or
downloads, unlike non-virtual packages. Same goes for filesystems. We
use a wrapper macro, show-info, that de-multiplexes unto either the
package-related- or filesystem-related macros, and for packages, we also
use a detailed macro for non-virtual packages.

It is non-trivial to properly output correct JSON blurbs, especially
when trying to output an array of objects, like so, where the last item
shall not be followed by a comma:  [ { ... }, { ... } ]

So, we use a trick (as sugegsted by Arnout), to $(subst) any pair of
",}" or ", }" or ",]" or ", ]" with only the respective closing symbol,
"}" or "]".

The whole stuff is $(strip)ed to make it a somewhat-minified JSON blurb
that fits on a single line with all spaces squashed (but still with
spaces, as it is not possible to differentiate spaces between JSON
elements from spaces inside JSON strings).

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agofs: add all recursive dependencies to packages list
Yann E. MORIN [Mon, 15 Apr 2019 19:47:30 +0000 (21:47 +0200)]
fs: add all recursive dependencies to packages list

Currently, only first-level dependencies of a filesystem are added to
the global list of packages, thus missing all recursive dependencies.

Use the newly introduced recursive variable instead, which already
contains the rootfs-common dependencies too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agofs: introduce variable with all recursive dependencies
Yann E. MORIN [Mon, 15 Apr 2019 19:47:29 +0000 (21:47 +0200)]
fs: introduce variable with all recursive dependencies

This allows getting all the recursive dependencies of filesystems,
ike we have for packages, and allows us to treat both in a similar
fashion.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agofs: introduce variables with name and type
Yann E. MORIN [Mon, 15 Apr 2019 19:47:28 +0000 (21:47 +0200)]
fs: introduce variables with name and type

This makes the filesystems resemble packages yet a bit more, and will
allow sorting "items" on their type and names, when indexed from the
upper-case names.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoinfra/utils: add helper to generate comma-separated lists
Yann E. MORIN [Mon, 15 Apr 2019 19:47:27 +0000 (21:47 +0200)]
infra/utils: add helper to generate comma-separated lists

Add a helper macro that, from a space-separated list of items, returns a
comma-separated list of the quoted items.

This will be useful when we need to generate lists in JSON, later...

Code suggested by Thomas P.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoinfra/pkg-download: make the DOWNLOAD macro fully parameterised
Yann E. MORIN [Mon, 15 Apr 2019 19:47:26 +0000 (21:47 +0200)]
infra/pkg-download: make the DOWNLOAD macro fully parameterised

Currently, the DOWNLOAD macro is context-dependent and expects
the PKG variable to be set to the current package.

This is not so nice.

Change the macro to expect the upper-case package name as a
parameter, rather than expect it from a variable.

Adapt the caller accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoinfra/pkg-download: get rid of the FLOCK variable
Yann E. MORIN [Mon, 15 Apr 2019 19:47:25 +0000 (21:47 +0200)]
infra/pkg-download: get rid of the FLOCK variable

The FLOCK variable is context-dependent, and expects the PKG
variable to be set to the current package.

This is not so nice. Besides, it is used in a single location.

Get rid of this intermediate variable, and directly use flock
where we need it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoinfra/pkg-download: make the URI list a callable macro
Yann E. MORIN [Mon, 15 Apr 2019 19:47:24 +0000 (21:47 +0200)]
infra/pkg-download: make the URI list a callable macro

Currently, that variable is context-dependent, as it expects the PKG
variable to exist and be defined to the current package.

This is not so clean, so change the variable to a callable macro.

Adapt the caller accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoinfra/pkg-download: return just a list of URIs
Yann E. MORIN [Mon, 15 Apr 2019 19:47:23 +0000 (21:47 +0200)]
infra/pkg-download: return just a list of URIs

Currently, the internal DOWNLOAD_URIS variable is set to be a list of
options to pass to the download wrapper, with each URI passed as
'-u URI'.

This precludes using that variable to get just the list of URIs, in
case we need to do something else with it.

Fix the variable to really only contain the list of URIs.

Adapt the caller accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/cjson: security bump to version 1.7.11
Fabrice Fontaine [Sun, 14 Apr 2019 22:35:29 +0000 (00:35 +0200)]
package/cjson: security bump to version 1.7.11

Fix a bug where cJSON_Minify could overflow it's buffer, both reading
and writing: https://github.com/DaveGamble/cJSON/issues/338.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/opus: bump version to 1.3.1
Peter Korsgaard [Sun, 14 Apr 2019 19:16:53 +0000 (21:16 +0200)]
package/opus: bump version to 1.3.1

Fixes a number of post-1.3 fixes.  For details, see the announcement:

http://lists.xiph.org/pipermail/opus/2019-April/004318.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wpewebkit: security bump to version 2.22.5
Peter Korsgaard [Sun, 14 Apr 2019 18:57:36 +0000 (20:57 +0200)]
package/wpewebkit: security bump to version 2.22.5

Fixes the following security issues:

- CVE-2019-8518: Processing maliciously crafted web content may lead to
  arbitrary code execution.  Multiple memory corruption issues were
  addressed with improved memory handling.

- CVE-2019-8523: Processing maliciously crafted web content may lead to
  arbitrary code execution.  Multiple memory corruption issues were
  addressed with improved memory handling.

In addition, 2.22.5 contains a number of bugfixes.  From the announcement:

  - Fix rendering of glyphs in Hebrew (and possibly other languages) when
    Unicode NFC normalization is used.
  - Fix several crashes and race conditions.

Change SITE to https as the webserver uses HSTS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/asus_tinker_rk3288: bump to Linux kernel 5.0 and u-boot 2019.01
Shyam Saini [Mon, 15 Apr 2019 14:34:09 +0000 (20:04 +0530)]
configs/asus_tinker_rk3288: bump to Linux kernel 5.0 and u-boot 2019.01

This bumps to linux/linux-headers 5.0 and u-boot version 2019.01.

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/asus_tinker_rk3288: adjust U-Boot config to boot larger kernel image
Shyam Saini [Mon, 15 Apr 2019 14:34:08 +0000 (20:04 +0530)]
configs/asus_tinker_rk3288: adjust U-Boot config to boot larger kernel image

Default value of CONFIG_SYS_BOOTM_LEN in u-boot causes board reset for
large uImage files, so add u-boot patch to increase the maximum kernel
image size.

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wayland: bump to version 1.17.0
James Hilliard [Mon, 15 Apr 2019 19:30:13 +0000 (13:30 -0600)]
package/wayland: bump to version 1.17.0

Fix conflict in disable tests patch.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tar: add hash for license files
Adam Duskett [Mon, 15 Apr 2019 18:15:17 +0000 (14:15 -0400)]
package/tar: add hash for license files

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ninja: add hash for license files
Adam Duskett [Mon, 15 Apr 2019 18:15:16 +0000 (14:15 -0400)]
package/ninja: add hash for license files

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libtool: add hash for license files
Adam Duskett [Mon, 15 Apr 2019 18:15:15 +0000 (14:15 -0400)]
package/libtool: add hash for license files

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/autoconf: add hash for license files
Adam Duskett [Mon, 15 Apr 2019 18:15:14 +0000 (14:15 -0400)]
package/autoconf: add hash for license files

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/clang: fix build with gcc < 5.1
Valentin Korenblit [Mon, 15 Apr 2019 19:14:01 +0000 (21:14 +0200)]
package/clang: fix build with gcc < 5.1

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

Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dacapo: fix indentation
Yann E. MORIN [Sun, 14 Apr 2019 14:52:27 +0000 (16:52 +0200)]
package/dacapo: fix indentation

Fixes errors reported by running 'make check-package':
    package/dacapo/Config.in:2: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
    package/dacapo/Config.in:3: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
    package/dacapo/Config.in:4: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
    package/dacapo/Config.in:5: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
    package/dacapo/Config.in:6: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
    package/dacapo/Config.in:7: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
    package/dacapo/Config.in:12: should be indented with one tab (http://nightly.buildroot.org/#_config_files)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Daniel J. Leach <dleach@belcan.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/dacapo: new package
Leach, Daniel J [Mon, 18 Feb 2019 21:55:03 +0000 (21:55 +0000)]
package/dacapo: new package

The DaCapo benchmark suite is intended as a tool for Java benchmarking
by the programming language, memory management and computer
architecture communities.

Depends on the OpenJDK package for Java runtime environment.

Signed-off-by: Daniel J. Leach <dleach@belcan.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mutt: bump to version 1.11.4
Fabrice Fontaine [Sun, 14 Apr 2019 08:46:00 +0000 (10:46 +0200)]
package/mutt: bump to version 1.11.4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mutt: fix static build with idn2 and unistring
Fabrice Fontaine [Sun, 14 Apr 2019 08:45:59 +0000 (10:45 +0200)]
package/mutt: fix static build with idn2 and unistring

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/babeld: bump to version 1.8.4
Fabrice Fontaine [Sat, 13 Apr 2019 19:45:47 +0000 (21:45 +0200)]
package/babeld: bump to version 1.8.4

- Remove patch (already in version)
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cmocka: bump to version 1.1.5
Fabrice Fontaine [Sat, 13 Apr 2019 19:39:49 +0000 (21:39 +0200)]
package/cmocka: bump to version 1.1.5

- Remove patch (already in version)
- Use WITH_EXAMPLES=OFF (option added with
  https://git.cryptomilk.org/projects/cmocka.git/commit?id=ee264da1aa222b354cee36184ab48c2072f62243)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cgilua: bump to version 5.2.1
Francois Perrad [Sun, 14 Apr 2019 10:14:51 +0000 (12:14 +0200)]
package/cgilua: bump to version 5.2.1

The hash of the license file changes only due to a style sheet changes:

-    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+    <link rel="stylesheet" href="doc.css" type="text/css"/>

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/most: disable parallel build
Arnout Vandecappelle (Essensium/Mind) [Sun, 14 Apr 2019 10:00:26 +0000 (12:00 +0200)]
package/most: disable parallel build

The hand-written Makefile is not parallel-build safe: the objs directory
is created in a separate rule, but the rules that create files in that
directory don't depend on it.

Although this relatively simple to fix, upstream clearly doesn't care
about parallel builds so it is likely to break again in the future.
Since most consists of just a dozen source files, just disable parallel
build.

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

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Sven Oliver Moll <buildroot@svol.li>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/util-linux: fix build with glibc 2.29
Fabrice Fontaine [Sun, 14 Apr 2019 10:58:33 +0000 (12:58 +0200)]
package/util-linux: fix build with glibc 2.29

Fixes:
 - No autobuilders failures yet (found with
 qemu_mips64el_malta_defconfig)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stunnel: security bump to version 5.53
Fabrice Fontaine [Thu, 11 Apr 2019 21:12:50 +0000 (23:12 +0200)]
package/stunnel: security bump to version 5.53

- Update hash of COPYING (update in year:
  https://github.com/mtrojnar/stunnel/commit/bb693862a3497bde442ffa37e7c20f1e2f5534ea)
- Include a Security bugfix released in version 5.48: Fixed requesting
  client certificate when specified as a global option.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stunnel: fix static build with openssl and atomic
Fabrice Fontaine [Thu, 11 Apr 2019 21:12:49 +0000 (23:12 +0200)]
package/stunnel: fix static build with openssl and atomic

Use pkg-config to find openssl dependencies such as lz or latomic

Fixes:
 - http://autobuild.buildroot.org/results/28a466b98f813edb6402686cc4706766e73e1ff3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: test configurations with BR2_SYSTEM_ENABLE_NLS
Thomas Petazzoni [Sun, 31 Mar 2019 12:21:06 +0000 (14:21 +0200)]
utils/genrandconfig: test configurations with BR2_SYSTEM_ENABLE_NLS

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoFix rasberry Pi 64bit firmware overlay inclusion
Matt Flax [Thu, 3 Jan 2019 11:00:36 +0000 (22:00 +1100)]
Fix rasberry Pi 64bit firmware overlay inclusion

This patch enables the inclusion of the Pi's overlays. Previously
the overlays were not included in the genimage configuration.
This patch ensures overlays are included in the sdcard (when
enabled) by defaulting to the inclusion of an empty
output/images/rpi-firmware/overlays directory in genimage cfg.

The Pi's overlays are built with the following config
variables:
BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS=y
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
BR2_LINUX_KERNEL_IMAGE_NAME="Image"
BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image modules dtbs"

After building, the dtbo files are present in the
output/images/rpi-firmware/overlays directory but not added
to the sdcard because they are missing from the genimage cfg
file.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Arnout: fix indentation, and add comment explaining why an empty
         directory is created.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/most: new package
Sven Oliver Moll [Sat, 13 Apr 2019 20:40:57 +0000 (22:40 +0200)]
package/most: new package

--with-slang has to be given explicitly, otherwise the configure script
looks for slang.h in host directories.

Signed-off-by: Sven Oliver Moll <svolli@svolli.de>
[Arnout: add --with-slang config option]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libhtp: new package
Fabrice Fontaine [Thu, 14 Mar 2019 21:25:59 +0000 (22:25 +0100)]
package/libhtp: new package

LibHTP is a security-aware parser for the HTTP protocol and the related
bits and pieces.

https://github.com/OISF/libhtp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: always disable SSP, let our gcc/wrapper handle that]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pcre2: add JIT support option
Artem Panfilov [Fri, 15 Feb 2019 23:20:58 +0000 (02:20 +0300)]
package/pcre2: add JIT support option

Add JIT support option.

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lrandom: bump to version 20180729
Francois Perrad [Sat, 13 Apr 2019 13:33:42 +0000 (15:33 +0200)]
package/lrandom: bump to version 20180729

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luadbi-sqlite3: bump to version 0.7.2
Francois Perrad [Sat, 13 Apr 2019 13:33:41 +0000 (15:33 +0200)]
package/luadbi-sqlite3: bump to version 0.7.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luadbi: bump to version 0.7.2
Francois Perrad [Sat, 13 Apr 2019 13:33:40 +0000 (15:33 +0200)]
package/luadbi: bump to version 0.7.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sconeserver: drop unneeded static openssl workaround
Fabrice Fontaine [Sat, 13 Apr 2019 09:12:46 +0000 (11:12 +0200)]
package/sconeserver: drop unneeded static openssl workaround

sconeserver can't be built statically since commit
a845798aa8af0535b85ea0e46cc9e8af9d1ffed1

So drop unneeded workaround for statically linking with openssl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/bind: drop unneeded static openssl workarounds
Fabrice Fontaine [Sat, 13 Apr 2019 15:04:53 +0000 (17:04 +0200)]
package/bind: drop unneeded static openssl workarounds

bind can't be built statically since commit
6045904752b06a8b8e52ba8fc2e49a8548964e8d

So drop uneeded LIBS="-lz" which was added by commit
80ebf12906afc3a1e5f4e5682d4c5dc0779a556a to fix static build with
openssl

Also, drop ac_cv_func_EVP_{sha256,sha384,sha512} that was also added to
fix tests in static build by commit
26aefa672c96caefc17adf59a9ab3d327114ad36

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sqlcipher: fix static build with openssl and atomic
Fabrice Fontaine [Sat, 13 Apr 2019 15:00:05 +0000 (17:00 +0200)]
package/sqlcipher: fix static build with openssl and atomic

Use pkg-config to find openssl dependencies such as lz or latomic

Fixes: static build on sparc v8 (even if there are no autobuilder
failures yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/squid: bump to version 4.6
Fabrice Fontaine [Sat, 13 Apr 2019 15:05:41 +0000 (17:05 +0200)]
package/squid: bump to version 4.6

- Remove patch (already in version):
  https://github.com/squid-cache/squid/commit/c34582b9e8c40529db7eb9c490b081a37972f6d4
- Drop autoreconf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/terminology: bump to version 1.4.0
Romain Naour [Sat, 13 Apr 2019 13:14:18 +0000 (15:14 +0200)]
package/terminology: bump to version 1.4.0

Update COPYING file hash due to year update.

https://sourceforge.net/p/enlightenment/mailman/message/36626985/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/efl: bump to version 1.22.0
Romain Naour [Sat, 13 Apr 2019 13:14:17 +0000 (15:14 +0200)]
package/efl: bump to version 1.22.0

Remove upstream commit.

https://www.enlightenment.org/news/efl-1.22.0

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: simplify LINUX_BUILD_CMDS
Thomas Petazzoni [Mon, 8 Apr 2019 20:21:35 +0000 (22:21 +0200)]
linux: simplify LINUX_BUILD_CMDS

We currently do the Linux build as follows:

   make <imagename>
   if modules enabled; make modules; fi

However, Clement Léger recently reported that due to us not using the
"all" target, the GDB scripts that the kernel can build when
CONFIG_GDB_SCRIPTS is enabled are not built, since upstream kernel
commit 67274c083438340ad16c1437caebc84e1253b224 (merged in v5.1) moved
that logic to a separate scripts_gdb target, which is a dependency of
the "all" target.

While we could add some more logic to explicit generate the
"scripts_gdb" target, this logic would fail on Linux < 5.1 for which
this make target doesn't exist.

So instead, let's simplify the build logic, and use:

  make all <imagename>

The "all" target automatically depends on "modules" if CONFIG_MODULES
is set, so we no longer need to explicit generate the "modules" target
separately.

As a result of this change, we may generate additional kernel images
compared to what was done previously, but such images would anyway not
be installed, and the additional build time is minimal.

We did some research as to why the kernel build was done like this in
Buildroot, and it's been like that since linux/linux.mk was added back
in 2010 by commit 487e21cff69b30b404146b2ffb46959a728a4002 ("New,
simpler, infrastructure for building the Linux kernel").

Reported-by: Clément Leger <cleger@kalray.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agolinux: use host pkg-config when host libelf is set
Stuart Summers [Mon, 8 Apr 2019 18:42:33 +0000 (11:42 -0700)]
linux: use host pkg-config when host libelf is set

A patch was added to the Linux kernel in 5.1.0-rc3 which adds a
requirement that the host build environment include pkg-config. Add the
correct host-pkgconf dependency and environment variables to ensure
Linux picks up the correct libraries.

Move the existing LINUX_MAKE_ENV assignment earlier, to simplify the
append-assignment in the libelf conditional block.

Fixes: #11761
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Arnout: extend commit message as suggested by Yann]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/netsnmp: fix static build with openssl
Fabrice Fontaine [Sat, 13 Apr 2019 08:57:41 +0000 (10:57 +0200)]
package/netsnmp: fix static build with openssl

Use pkg-config to find openssl dependencies such as lz or latomic

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/ipsec-tools: fix static build with openssl and atomic
Fabrice Fontaine [Sat, 13 Apr 2019 08:49:12 +0000 (10:49 +0200)]
package/ipsec-tools: fix static build with openssl and atomic

Use pkg-config to find openssl dependencies such as lz or latomic

Fix static build on sparc v8 (even if there is no autobuilder failures
yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/softether: fix static build with openssl and atomic
Fabrice Fontaine [Sat, 13 Apr 2019 08:46:40 +0000 (10:46 +0200)]
package/softether: fix static build with openssl and atomic

Don't pass --with-openssl option to force softether to use pkg-config
(see autotools/ax_check_openssl.m4).

pkg-config will find openssl dependencies such as lz or latomic

Fix static build on sparc v8 (even if there is no autobuilder failures
yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/llvm: fix build with gcc < 5.1
Valentin Korenblit [Sat, 13 Apr 2019 08:45:55 +0000 (10:45 +0200)]
package/llvm: fix build with gcc < 5.1

Fixes:
http://autobuild.buildroot.net/results/0c046a1b57a4f0b992333003d41062e1b256eb0d

Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com>
[Arnout: add explanatory comment suggested by Romain]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/thrift: drop unneeded static openssl workaround
Fabrice Fontaine [Sat, 13 Apr 2019 08:38:58 +0000 (10:38 +0200)]
package/thrift: drop unneeded static openssl workaround

thrift uses pkg-config to find openssl dependencies such as lz or
latomic so drop unneeded workaround. This was a leftover from the very
first integration of thrift 0.9.1 in 2013.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/hostapd: fix static build with openssl and atomic
Fabrice Fontaine [Sat, 13 Apr 2019 08:37:24 +0000 (10:37 +0200)]
package/hostapd: fix static build with openssl and atomic

Use pkg-config to find openssl dependencies such as lz or latomic

Fix build on sparc v8 (even if there is no autobuilder failures yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/wpa_supplicant: fix static build with openssl and atomic
Fabrice Fontaine [Sat, 13 Apr 2019 08:34:52 +0000 (10:34 +0200)]
package/wpa_supplicant: fix static build with openssl and atomic

Use pkg-config to find openssl dependencies such as lz or latomic

Fix build on sparc v8 (even if there is no autobuilder failures yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/msmtp: bump to version 1.8.3
Fabrice Fontaine [Sat, 13 Apr 2019 08:32:18 +0000 (10:32 +0200)]
package/msmtp: bump to version 1.8.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/msmtp: drop unneeded static openssl workaround
Fabrice Fontaine [Sat, 13 Apr 2019 08:32:17 +0000 (10:32 +0200)]
package/msmtp: drop unneeded static openssl workaround

msmtp uses pkg-config to find openssl dependencies such as lz or latomic
so drop unneeded openssl workaround that was added by
https://git.buildroot.net/buildroot/commit/package/msmtp?id=468bbc1538aaea87beaf455a2ad6ea5a255d5f58

I don't know why it was added seven years ago as msmtp already used
pkg-config at this time:
https://github.com/marlam/msmtp-mirror/blob/rel-1-4-27/configure.ac

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>