buildroot.git
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>
4 years agopackage/pkg-generic.mk: drop useless $(1) argument in step_pkg_size_{before, after}
Thomas Petazzoni [Thu, 30 Apr 2020 09:52:39 +0000 (11:52 +0200)]
package/pkg-generic.mk: drop useless $(1) argument in step_pkg_size_{before, after}

The $(1) argument passed to step_pkg_size_{before,after}, which
contains the package name, is no longer used. We simply use $(PKG) to
get the upper-case version of the package name.

So, let's drop this first argument that isn't needed.

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: use $(PKG)_NAME in step_pkg_size_after
Thomas Petazzoni [Thu, 30 Apr 2020 09:52:38 +0000 (11:52 +0200)]
package/pkg-generic.mk: use $(PKG)_NAME in step_pkg_size_after

Since we're already using $(PKG)_DIR in step_pkg_size_after, we can
also just use $(PKG)_NAME. This allows to make $(1) useless, which
means it can be dropped in a follow-up commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pistache: bump version to f2f5a50fbf
Thomas Ruschival [Thu, 23 Jul 2020 17:02:49 +0000 (19:02 +0200)]
package/pistache: bump version to f2f5a50fbf

Upstream improved testing and fixed minor issues.

Signed-off-by: Thomas Ruschival <thomas@ruschival.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/raspberrypi*: bump kernel version to 1c64f4b (5.4.51)
Peter Seiderer [Tue, 21 Jul 2020 19:05:49 +0000 (21:05 +0200)]
configs/raspberrypi*: bump kernel version to 1c64f4b (5.4.51)

Now based on 5.4.51 (from 4.19.113)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rpi-userland: bump version to 188d3bf
Peter Seiderer [Tue, 21 Jul 2020 19:05:48 +0000 (21:05 +0200)]
package/rpi-userland: bump version to 188d3bf

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rpi-firmware: bump version to 542aceb
Peter Seiderer [Tue, 21 Jul 2020 19:05:47 +0000 (21:05 +0200)]
package/rpi-firmware: bump version to 542aceb

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gloox: bump version to 1.0.24
Yair Ben-Avraham [Thu, 23 Jul 2020 10:45:18 +0000 (10:45 +0000)]
package/gloox: bump version to 1.0.24

Signed-off-by: Yair Ben Avraham <yairba@protonmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.1.4
Bernd Kuhls [Thu, 23 Jul 2020 06:24:37 +0000 (08:24 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 20.1.4

Removed patch 0001-musl.patch, upstream added a different fix in 2019:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/da84d071a6f4c33015525c168d22c0f121025010

Renumbered remaining patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{openjdk,openjdk-bin}: bump to version 14.0.2+12
Adam Duskett [Tue, 21 Jul 2020 20:49:58 +0000 (13:49 -0700)]
package/{openjdk,openjdk-bin}: bump to version 14.0.2+12

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11vnc: fix build with 64 bits time_t
Fabrice Fontaine [Tue, 21 Jul 2020 20:09:40 +0000 (22:09 +0200)]
package/x11vnc: fix build with 64 bits time_t

Fixes:
 - http://autobuild.buildroot.org/results/75e45b566c85d19c5ed00529d036b4808413b1ca

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/setools: update the project location in the Kconfig help
Antoine Tenart [Wed, 22 Jul 2020 07:44:30 +0000 (09:44 +0200)]
package/setools: update the project location in the Kconfig help

setools is no longer hosted on https://github.com/TresysTechnology/setools/.
Updated the Kconfig help to point to its new home,
https://github.com/SELinuxProject/setools/.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/setools: remove C++ dependency on comment
Antoine Tenart [Wed, 22 Jul 2020 07:44:29 +0000 (09:44 +0200)]
package/setools: remove C++ dependency on comment

Bump to 4.1.1 (commit 96d3d017963b) removed setools' dependency on
BR2_INSTALL_LIBSTDCPP, but the corresponding inverse dependency on one
of its Kconfig comment was not removed. This led to have the package
being available while a Kconfig comment on non-matched dependencies is
shown. Fix this by removing the dependency on !BR2_INSTALL_LIBSTDCPP on
the Kconfig comment.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gettext-tiny: bump to version 0.3.2
Heiko Thiery [Wed, 22 Jul 2020 14:53:50 +0000 (16:53 +0200)]
package/gettext-tiny: bump to version 0.3.2

- Adapt license hash
  (minor additions in LICENSE file about files in doc folder:
  "Files contained in the doc/ directory may be licensed under different terms.",
  but there are no folder present so no license change)
- Also separate the fields in the hash file by two spaces

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nettle: bump version to 3.6
Bernd Kuhls [Tue, 21 Jul 2020 05:39:00 +0000 (07:39 +0200)]
package/nettle: bump version to 3.6

Release notes:
https://git.lysator.liu.se/nettle/nettle/-/blob/master/NEWS

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cryptodev-linux: bump to version f2927e3
Alejandro González [Mon, 20 Jul 2020 21:11:14 +0000 (23:11 +0200)]
package/cryptodev-linux: bump to version f2927e3

This version mainly fixes build issues with more
recent kernels.

98b163a cryptlib.c: fix build on kernel v5.5+
7e72f67 enabled the support for TLS1.1 - AES128-SHA1 - AES256-SHA1
9e76506 Fix build for Linux 5.8-rc1

Signed-off-by: Alejandro González <alejandro.gonzalez.correo@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freerdp: security bump to version 2.2.0
Fabrice Fontaine [Mon, 20 Jul 2020 20:50:19 +0000 (22:50 +0200)]
package/freerdp: security bump to version 2.2.0

Fix CVE-2020-15103 - Integer overflow due to missing input sanitation in
rdpegfx channel

https://github.com/FreeRDP/FreeRDP/releases/tag/2.2.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libzip: add mbedtls optional dependency
Fabrice Fontaine [Mon, 20 Jul 2020 20:42:07 +0000 (22:42 +0200)]
package/libzip: add mbedtls optional dependency

mbedtls is available (and enabled by default) since version 1.5.2 and
https://github.com/nih-at/libzip/commit/8e01a4fe8fa830c973b6a00f0da1e8b01789529a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libzip: use ENABLE_BZIP2
Fabrice Fontaine [Mon, 20 Jul 2020 20:42:06 +0000 (22:42 +0200)]
package/libzip: use ENABLE_BZIP2

Use ENABLE_BZIP2 option which is available since version 1.5.2 and
https://github.com/nih-at/libzip/commit/028c492c9d45ca29e2fbec79a203ba492016f15e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python3: security bump version to 3.8.5
Bernd Kuhls [Mon, 20 Jul 2020 19:17:03 +0000 (21:17 +0200)]
package/python3: security bump version to 3.8.5

Fixes CVE-2020-15801 & CVE-2019-20907.

Changelog:
https://docs.python.org/release/3.8.5/whatsnew/changelog.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/urandom-scripts: new package
Christoph Müllner [Mon, 20 Jul 2020 15:20:10 +0000 (17:20 +0200)]
package/urandom-scripts: new package

The init script S20urandom is used to preserve the kernel's RNG
seed between reboots. This functionality is not required for the
package "initscripts". Further there are use-cases where this script
should not be installed at all (e.g. systems that only have read-only
partitions), but that's currently not possible as the script is
a mandatory part of the package "initscripts".

Let's move the script into its own package "urandom-scripts" and select it,
if the default skeleton is enabled. This maintains backward-compatibility
and allows to deselect it.

Signed-off-by: Christoph Müllner <christoph.muellner@theobroma-systems.com>
[yann.morin.1998@free.fr:
  - extend help text
  - default y if initscripts (instead of skeleton default)
  - allow use with openRC, but not systemd
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboot/arm-trusted-firmware: bump to version 2.2
Dick Olsson [Sun, 19 Jul 2020 18:09:45 +0000 (18:09 +0000)]
boot/arm-trusted-firmware: bump to version 2.2

Release notes:
https://trustedfirmware-a.readthedocs.io/en/latest/change-log.html#version-2-2

Take this opportunity to fix the hash file spacing.

Signed-off-by: Dick Olsson <hi@senzilla.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/resiprocate: new package
Ryan Barnett [Mon, 20 Jul 2020 14:32:45 +0000 (09:32 -0500)]
package/resiprocate: new package

reSIProcate is a framework that aims to fully implement the SIP
protocol in first class C++. It is intended for use in other
applications, such as the repro SIP proxy.

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python3: bump version to 3.8.4
Adam Duskett [Mon, 20 Jul 2020 17:12:41 +0000 (10:12 -0700)]
package/python3: bump version to 3.8.4

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/bison: bump version to 3.6.4
Sergio Prado [Sun, 19 Jul 2020 23:48:48 +0000 (20:48 -0300)]
package/bison: bump version to 3.6.4

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ltris: bump to version 1.2
Fabrice Fontaine [Sun, 19 Jul 2020 08:38:03 +0000 (10:38 +0200)]
package/ltris: bump to version 1.2

Drop patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libzip: bump version to 1.7.3
Bernd Kuhls [Sun, 19 Jul 2020 06:14:18 +0000 (08:14 +0200)]
package/libzip: bump version to 1.7.3

Release notes: https://libzip.org/news/

Updated license hash due to copyright year bump:
https://github.com/nih-at/libzip/commit/40098f0445599d53eb85254777734ccef6ce6915

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnupg2: bump vesion to 2.2.21
Bernd Kuhls [Sun, 19 Jul 2020 06:09:39 +0000 (08:09 +0200)]
package/gnupg2: bump vesion to 2.2.21

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libgcrypt: bump version to 1.8.6
Bernd Kuhls [Sun, 19 Jul 2020 06:09:38 +0000 (08:09 +0200)]
package/libgcrypt: bump version to 1.8.6

Release notes:
https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000445.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libvorbis: bump version to 1.3.7
Bernd Kuhls [Sun, 19 Jul 2020 05:33:28 +0000 (07:33 +0200)]
package/libvorbis: bump version to 1.3.7

Removed patches which were applied upstream.

Reformatted hashes,

Updated license hash after copyright year update:
https://gitlab.xiph.org/xiph/vorbis/-/commit/eb40ca5fbd0c60d8bd1fd33be07f02defc21e5d7

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libevdev: bump version to 1.9.1
Peter Seiderer [Sat, 18 Jul 2020 22:29:11 +0000 (00:29 +0200)]
package/libevdev: bump version to 1.9.1

For details see [1].

- drop 0001-meson.build-use-local-include-path-for-tools.patch
  (upstream [2])
- drop 0003-meson.build-enable-static-library-build.patch
  (upstream [3])

[1] https://lists.freedesktop.org/archives/input-tools/2020-July/001541.html
[2] https://gitlab.freedesktop.org/libevdev/libevdev/-/commit/fe8238a71ae3ad8a776ee35a88fc292f1f006ec7
[3] https://gitlab.freedesktop.org/libevdev/libevdev/-/commit/a9d324f82bd5e822ea57224000fea43cb64aa214

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/avro-c: fix build without C++
Fabrice Fontaine [Sun, 19 Jul 2020 08:27:44 +0000 (10:27 +0200)]
package/avro-c: fix build without C++

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cdrkit: fix build with GCC 10
Urja Rannikko [Sun, 19 Jul 2020 17:42:36 +0000 (20:42 +0300)]
package/cdrkit: fix build with GCC 10

This patch adds a missing extern on the outfile
variable in genisoimage.h.

Signed-off-by: Urja Rannikko <urjaman@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exim: fix build with ccache
Alejandro González [Sun, 19 Jul 2020 10:29:46 +0000 (12:29 +0200)]
package/exim: fix build with ccache

When using ccache to build the exim package, the HOSTCC value contains
spaces, that are incorrectly interpreted by exim's Makefilei, which uses
the first word of ${CC} to test compiler options. This breaks the build
with "unrecognized option" ccache errors.

Fix that by wrapping the HOSTCC variable in double quotes, as it is done
for other variables that follow.

Signed-off-by: Alejandro González <alejandro.gonzalez.correo@gmail.com>
[yann.morin.1998@free.fr: slight rewording of commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exiv2: fix compiler flags detection
Thomas Petazzoni [Sun, 19 Jul 2020 14:34:04 +0000 (16:34 +0200)]
package/exiv2: fix compiler flags detection

Add a patch, which has been submitted upstream, to properly detect the
availability of compiler flags before using them.

This will fix the build of exiv2 on CPU architectures for which gcc
doesn't implement -fcf-protection.

Fixes:

  http://autobuild.buildroot.net/results/ef6a6fa2309e66a7a36fface626ae0da1a7ec633/
  (and many similar build failures on other architectures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - fix indentation s/TAB/spaces/
  - fix CRLF dropped by patchwork
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/meson: fix LDFLAGS rpath match pattern
James Hilliard [Sun, 19 Jul 2020 01:21:40 +0000 (19:21 -0600)]
package/meson: fix LDFLAGS rpath match pattern

The upstream change in d7235c5905fa98207d90f3ad34bf590493498d5b is not
sufficient to prevent rpaths from being stripped in some cases due to
a bug in how it matches rpaths in LDFLAGS.

Add a patch fixing the LDFLAGS rpath match pattern.

Fixes:
http://autobuild.buildroot.net/results/f2f/f2f912416ab11d454479ef3d22ed6b757207f84f/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/unclutter-xfixes: new package
Joseph Kogut [Tue, 23 Jun 2020 21:41:54 +0000 (14:41 -0700)]
package/unclutter-xfixes: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas:
 - Fix incorrect "select"
 - Simplify the build command, to allow the package Makefile to use
   pkg-config, so added host-pkgconf
 - Use a full destination path for the installation step
 - Use the Github macro]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/jq: needs threads
Fabrice Fontaine [Sat, 18 Jul 2020 21:11:34 +0000 (23:11 +0200)]
package/jq: needs threads

threads is a strong requirement since
https://github.com/stedolan/jq/commit/cf4b48c7ba30cb30e116b523cff036ea481459f6

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage./systemd: disable utmp
Norbert Lange [Sat, 18 Jul 2020 20:37:02 +0000 (22:37 +0200)]
package./systemd: disable utmp

From wikipedia:

    utmp maintains a full accounting of the current status of the
    system, system boot time (used by uptime), recording user
    logins at which terminals, logouts, system events etc.

This is seldom use, if at all, on an embedded device, and may expose
users' behaviour to others (by observing who logs in from where, for
example).

Forcibly disable support for utmp.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr: split off to its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: remove SysV compatibility feature
Norbert Lange [Fri, 17 Jul 2020 23:43:12 +0000 (01:43 +0200)]
package/systemd: remove SysV compatibility feature

Systemd enables compatibility with SysV services and utmp by default,
none of which is needed for buildroot as the packages' .mk will install
only the files for the chosen init system.

Furthermore, SysV support requires a setup where *both* /etc/init.d and
/etc/rc.d exists (the latter for the usual /etc/rcN.d). However, in
Buildroot, the latter does not exist; so we would not be able to provide
a working SysV support anyway.

So, just forcibly disable SysV support.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr:
  - expand commit log
  - disable utmp in its own patch
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fmt: bump version to 7.0.1
Bernd Kuhls [Sat, 18 Jul 2020 20:16:25 +0000 (22:16 +0200)]
package/fmt: bump version to 7.0.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/spdlog: bump version to 1.7.0
Bernd Kuhls [Sat, 18 Jul 2020 20:16:24 +0000 (22:16 +0200)]
package/spdlog: bump version to 1.7.0

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nano: bump version to 4.9.3
Bernd Kuhls [Sat, 18 Jul 2020 20:14:45 +0000 (22:14 +0200)]
package/nano: bump version to 4.9.3

Release notes: https://www.nano-editor.org/news.php

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dbus: use /run for runtime data
Norbert Lange [Fri, 17 Jul 2020 21:55:20 +0000 (23:55 +0200)]
package/dbus: use /run for runtime data

All init systems supported by Buildroot have a /run directory and have
a symlink for /var/run -> /run.

Use the /run directory directly.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoConfig.in: update BR2_OPTIMIZE_FAST prompt and help text
Fabrice Fontaine [Thu, 16 Jul 2020 21:44:51 +0000 (23:44 +0200)]
Config.in: update BR2_OPTIMIZE_FAST prompt and help text

Update label as suggested by Stéphane Veyret, as -Ofast is potentially
dangerous, and may break packages.

Fixes:

 - https://bugs.buildroot.org/show_bug.cgi?id=13046

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnftnl: bump to version 1.1.7
Fabrice Fontaine [Thu, 16 Jul 2020 21:33:43 +0000 (23:33 +0200)]
package/libnftnl: bump to version 1.1.7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nftables: bump to version 0.9.6
Fabrice Fontaine [Thu, 16 Jul 2020 21:31:38 +0000 (23:31 +0200)]
package/nftables: bump to version 0.9.6

- Drop patch (already in version)
- Drop host-bison and host-flex, not needed since version 0.9.5 and
  https://git.netfilter.org/nftables/commit/?id=2885cf2e65042b3dbc44fc232fd35840df255935

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/a10disp: add license file
Sergio Prado [Thu, 16 Jul 2020 22:42:58 +0000 (19:42 -0300)]
package/a10disp: add license file

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/alsa-lib: bump version to 1.2.3.2
Sergio Prado [Thu, 16 Jul 2020 23:10:10 +0000 (20:10 -0300)]
package/alsa-lib: bump version to 1.2.3.2

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/meson: bump to version 0.55.0
James Hilliard [Fri, 17 Jul 2020 08:03:56 +0000 (02:03 -0600)]
package/meson: bump to version 0.55.0

Drop fix rpath patch which is no longer needed.

Drop g-ir-scanner/g-ir-compiler override patch which is now upstream.

Rebase remaining patches.

Meson now requires single quotes for cross-compilation.conf, replace
double quotes with single quotes.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/e2fsprogs: explicitly do not install udev and systemd files for host variant
Antoine Tenart [Fri, 17 Jul 2020 12:06:54 +0000 (14:06 +0200)]
package/e2fsprogs: explicitly do not install udev and systemd files for host variant

Explicitly do not install udev rules and systemd units when installing
the host version of e2fsprogs, as we do not need those files when
calling host tools provided by e2fsprogs from Buildroot.

This fixes a weird issue I encountered: host-e2fsprogs was built and
installed without any issue when building an image from scratch. But
any attempt to rebuild host-e2fsprogs alone was failing during the
installation steps as it tried to install files to the host system.

This is because e2fsprogs' build system (autotools) is using the
prefix given at configuration time when installing its binaries,
configuration files, man pages, etc... but not when installing its
systemd units and udev rules.

The issue did not arise when building it from scratch, as
host-e2fsprogs do not have a dependency on host-udev/systemd, so its
configure script did not automatically enable udev/systemd
installation steps at first.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>