buildroot.git
5 years agoconfigs/nanopc_t4: new defconfig
Shyam Saini [Tue, 4 Jun 2019 07:50:37 +0000 (13:20 +0530)]
configs/nanopc_t4: new defconfig

This initial support includes:
Linux 5.1
Custom U-Boot
Arm Trusted Firmware v2.0
Buildroot default packages

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
[Thomas:
 - Use the headers from the kernel, by using
   BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1=y
 - Use the default ext2 rootfs size]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/pine64_rockpro64: new defconfig
Shyam Saini [Tue, 4 Jun 2019 08:53:07 +0000 (14:23 +0530)]
configs/pine64_rockpro64: new defconfig

This initial support includes:
            Linux 5.1
            Custom U-Boot
            Arm Trusted Firmware v2.0
            Buildroot default packages

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
[Thomas:
 - Use the headers from the kernel, by using
   BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1=y
 - Use the default ext2 rootfs size]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/radxa_rock_pi4: new defconfig
Shyam Saini [Tue, 4 Jun 2019 08:53:06 +0000 (14:23 +0530)]
configs/radxa_rock_pi4: new defconfig

This initial support includes:
        Linux 5.1
        Custom U-Boot
        Arm Trusted Firmware v2.0
        Buildroot default packages

Tested-by: Akash Gajjar <akash@openedev.com>
Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
[Thomas:
 - Use the headers from the kernel, by using
   BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1=y
 - Use the default ext2 rootfs size]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/nenopi_neo4: new defconfig
Shyam Saini [Tue, 4 Jun 2019 08:53:05 +0000 (14:23 +0530)]
configs/nenopi_neo4: new defconfig

This initial support includes:
        Linux v5.2
        Custom U-Boot
        Arm Trusted Firmware v2.0
        Buildroot default packages

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
[Thomas:
 - Use the kernel headers from the kernel, by using
   BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2=y
 - Use the final 5.2 kernel instead of rc1.
 - Use the default ext2 rootfs size]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/quazip: bump to v0.8.1
Zoltan Gyarmati [Sun, 30 Jun 2019 17:05:11 +0000 (19:05 +0200)]
package/quazip: bump to v0.8.1

And also add the hash of the COPYING file

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/vte: needs host-intltool
Fabrice Fontaine [Sat, 13 Jul 2019 08:32:55 +0000 (10:32 +0200)]
package/vte: needs host-intltool

Fixes:
 - http://autobuild.buildroot.org/results/30a8032ebba5a30bacd321c407a1d0734fadf757

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu-*: add host-qemu-system
Jugurtha BELKALEM [Sun, 5 May 2019 16:53:56 +0000 (18:53 +0200)]
configs/qemu-*: add host-qemu-system

Such config allows to setup gitlab tests for various
qemu architectures (x86, mips, nios2, microblaze, ..., etc)
using the same Qemu version.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: remove comment about sh64
Jugurtha BELKALEM [Sun, 5 May 2019 16:53:55 +0000 (18:53 +0200)]
package/qemu: remove comment about sh64

sh64 has been removed since commit [1]:

[1] 4338a319b72570e433fd7484f8a95e1e0e978941

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: enable sparc64 support in host-qemu
Jugurtha BELKALEM [Sun, 5 May 2019 16:53:54 +0000 (18:53 +0200)]
package/qemu: enable sparc64 support in host-qemu

This change enables host qemu support for sparc64 which among other
things allows to test this architecture in gitlab.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: enable nios2 support in host-qemu
Jugurtha BELKALEM [Sun, 5 May 2019 16:53:53 +0000 (18:53 +0200)]
package/qemu: enable nios2 support in host-qemu

This change enables host qemu support for nios2 which among other
things allows to test this architecture in gitlab.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/csky_gx6605s: bump kernel to 5.0 and use buildroot toolchain
Guo Ren [Mon, 24 Jun 2019 11:43:01 +0000 (19:43 +0800)]
configs/csky_gx6605s: bump kernel to 5.0 and use buildroot toolchain

The most important change is to use the toolchain compiled by
buildroot itself. We also bump kernel to 5.0 with kernel.org.

Gx6605s' PHYS_OFFSET if 0x10000000 and we make qemu and gx6605s the
same to ease maintaince. This PHYS_OFFSET is also OK for 610 qemu.

In this patch we add gx6605s.dts in board/csky, because linux-5.0
doesn't contain gx6605s.dts in its tree.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu_cskyXXX_virt: new defconfig
Guo Ren [Thu, 13 Jun 2019 15:14:30 +0000 (23:14 +0800)]
configs/qemu_cskyXXX_virt: new defconfig

Add C-SKY defconfig for QEMU virt machine.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-matplotlib: needs a toolchain with C++ support
Peter Korsgaard [Fri, 2 Aug 2019 16:22:26 +0000 (18:22 +0200)]
package/python-matplotlib: needs a toolchain with C++ support

Matplotlib contains .cpp source code:

ls src/*.cpp
src/_backend_agg.cpp
src/_backend_agg_wrapper.cpp
src/_contour.cpp
src/_contour_wrapper.cpp
src/ft2font.cpp
src/ft2font_wrapper.cpp
src/_image.cpp
src/_image_wrapper.cpp
src/mplutils.cpp
src/_path_wrapper.cpp
src/_png.cpp
src/py_converters.cpp
src/_tkagg.cpp
src/_ttconv.cpp
src/_windowing.cpp

So add a dependency on C++ support in the toolchain to fix build errors like
(no autobuilder reference yet):

../output/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wno-unused-result \
  -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -D_LARGEFILE_SOURCE \
  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC \
  -DFREETYPE_BUILD_TYPE=system \
  -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API \
  -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 \
  -I../output/host/lib/python3.7/site-packages/numpy/core/include \
  -Iextern/agg24-svn/include \
  -I../output/host/bin/../powerpc-buildroot-linux-uclibc/sysroot/usr/include \
  -I../output/host/bin/../powerpc-buildroot-linux-uclibc/sysroot/usr/include/freetype2 \
  -I. \
  -I../output/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/python3.7m \
  -c src/ft2font.cpp -o build/temp.linux-x86_64-3.7/src/ft2font.o
powerpc-buildroot-linux-uclibc-gcc.br_real: error: src/ft2font.cpp: C++
  compiler not installed on this system

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosupport/config-fragments/autobuild: make br-arm-internal-glibc bleeding edge
Thomas Petazzoni [Fri, 2 Aug 2019 20:51:48 +0000 (22:51 +0200)]
support/config-fragments/autobuild: make br-arm-internal-glibc bleeding edge

We do not have any configuration that tests the very bleeding edge gcc
and binutils versions, so let's change br-arm-internal-glibc to use
the latest version of gcc (9.x right now) and binutils (2.32 right
now). The idea is that this defconfig should be updated to the latest
version of gcc and binutils when their version is bumped.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosupport/config-fragments/autobuild: update toolchains to 2019.05.1
Thomas Petazzoni [Fri, 2 Aug 2019 20:51:47 +0000 (22:51 +0200)]
support/config-fragments/autobuild: update toolchains to 2019.05.1

All toolchains have been rebuilt with Buildroot 2019.05.1. A number of
toolchains are now using Linux headers 5.1 instead of 4.19, because
5.1 is now the default version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosupport/config-fragments/autobuild: rename br-riscv64-musl config
Thomas Petazzoni [Fri, 2 Aug 2019 20:51:46 +0000 (22:51 +0200)]
support/config-fragments/autobuild: rename br-riscv64-musl config

For internal toolchains, we have a policy of naming the files with
"internal", to clearly distinguish them from external toolchain
configurations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoDEVELOPERS: add Pierre-Jean Texier for libevent
Pierre-Jean Texier [Fri, 2 Aug 2019 20:42:04 +0000 (22:42 +0200)]
DEVELOPERS: add Pierre-Jean Texier for libevent

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libevent: bump to version 2.1.11
Pierre-Jean Texier [Fri, 2 Aug 2019 20:42:03 +0000 (22:42 +0200)]
package/libevent: bump to version 2.1.11

See https://github.com/libevent/libevent/releases

Also remove upstreamed patch (already in version)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gupnp-tools: bump to version 0.8.15
Fabrice Fontaine [Fri, 2 Aug 2019 07:30:41 +0000 (09:30 +0200)]
package/gupnp-tools: bump to version 0.8.15

- Switch to meson-package
- Add patch to fix build without gupnp-av

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gupnp: bump to version 1.0.4
Fabrice Fontaine [Fri, 2 Aug 2019 07:28:48 +0000 (09:28 +0200)]
package/gupnp: bump to version 1.0.4

- Switch to meson-package
- Disable introspection (enabled by default)
- Disable examples (enabled by default)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gssdp: bump to version 1.0.3
Fabrice Fontaine [Fri, 2 Aug 2019 07:24:55 +0000 (09:24 +0200)]
package/gssdp: bump to version 1.0.3

- Switch to meson-package
- Disable examples (enabled by default)
- Disable introspection (enabled by default)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gssdp: add optional libgtk3 dependency
Fabrice Fontaine [Fri, 2 Aug 2019 07:24:54 +0000 (09:24 +0200)]
package/gssdp: add optional libgtk3 dependency

gssdp's sniffer depends on libgtk3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfis/qemu_mips64r6*_malta: use the default compiler version (gcc 8.x)
Romain Naour [Fri, 2 Aug 2019 13:09:33 +0000 (15:09 +0200)]
confis/qemu_mips64r6*_malta: use the default compiler version (gcc 8.x)

Theses defconfig was added at the when gcc 6 was not the default version
used by Buildroot, so the gcc version was explicitely set.

Since then, gcc 8.x is used as the default. So drop BR2_GCC_VERSION_6_X.

Tested with Qemu 2.8.1 (Debian 1:2.8+dfsg-6+deb9u7)
qemu_mips32r6_malta_defconfig
qemu_mips32r6el_malta_defconfig
qemu_mips64r6_malta_defconfig
qemu_mips64r6el_malta_defconfig

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gcc: remove libmudflap option
Romain Naour [Fri, 2 Aug 2019 13:09:32 +0000 (15:09 +0200)]
package/gcc: remove libmudflap option

libmudflap was removed from gcc 4.9 [1] so it depends on gcc <= 4.9.
This option can't be selected since we removed gcc 4.8 from Buildroot
[2].

[1] 4a692aefee10088c385d30e829abf80af1616d1b
[2] f66952197b41452b77dfa065adc7172137e4c243

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gdb: remove gdb 7.12.1
Romain Naour [Fri, 2 Aug 2019 13:09:31 +0000 (15:09 +0200)]
package/gdb: remove gdb 7.12.1

gdb 7.12.1 was released on 21 Jan 2017 [1] and is the last version that
doesn't requires a C++11 compiler.  Since Buildroot now support three other
gdb versions (8.1, 8.2 and 8.3), reduce the number of choice by dropping
7.12.1.

Remove BR2_PACKAGE_GDB_NEEDS_CXX11 symbol since it's not useful
anymore.

[1] https://lists.gnu.org/archive/html/info-gnu/2017-01/msg00009.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/quagga: bump to version 1.2.4
Fabrice Fontaine [Fri, 2 Aug 2019 11:24:41 +0000 (13:24 +0200)]
package/quagga: bump to version 1.2.4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/dnsmasq: fix build with kernel >= 5.2
Fabrice Fontaine [Fri, 2 Aug 2019 11:15:01 +0000 (13:15 +0200)]
package/dnsmasq: fix build with kernel >= 5.2

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/pdbg: fix musl build
Fabrice Fontaine [Fri, 2 Aug 2019 11:05:26 +0000 (13:05 +0200)]
package/pdbg: fix musl build

Fixes:
 - http://autobuild.buildroot.org/results/81b1107bdb06250e1a7837506aec0c9762e771c5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mpv: bump version to 0.29.1
Bernd Kuhls [Wed, 31 Jul 2019 06:11:03 +0000 (08:11 +0200)]
package/mpv: bump version to 0.29.1

Added license hash, removed patches:

0003: upstream PR was closed as 'merged'
0004: patch was backported and is now included

Renamed license file according to upstream change.

Support for sdl1 was removed upstream:
https://github.com/mpv-player/mpv/commit/1dcf511376545de7624863b76d7f30dc3bb44ac9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years ago{linux, linux-headers}: bump 4.{14, 19}.x / 5.2.x series
Peter Korsgaard [Fri, 2 Aug 2019 07:12:18 +0000 (09:12 +0200)]
{linux, linux-headers}: bump 4.{14, 19}.x / 5.2.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mosquitto: bump to version 1.6.4
Peter Korsgaard [Fri, 2 Aug 2019 07:08:34 +0000 (09:08 +0200)]
package/mosquitto: bump to version 1.6.4

Bugfix release, fixing a number of issues.  For details, see the
announcement:

https://mosquitto.org/blog/2019/08/version-1-6-4-released/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/imagemagick: fix host build for old distributions
Peter Korsgaard [Fri, 2 Aug 2019 13:40:44 +0000 (15:40 +0200)]
package/imagemagick: fix host build for old distributions

Fixes:
http://autobuild.buildroot.net/results/5f0/5f0b85033e800c9eebc46812592966ec6826bb5d/

imagemagick uses clock_gettime, which was provided by librt rather than libc
in glibc < 2.17 - Causing link errors.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/Config.in: remove double /
Arnout Vandecappelle (Essensium/Mind) [Fri, 2 Aug 2019 08:29:35 +0000 (10:29 +0200)]
package/Config.in: remove double /

Detected by check-package, which gets confused by it.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: properly initialize levels
Arnout Vandecappelle (Essensium/Mind) [Fri, 2 Aug 2019 08:29:34 +0000 (10:29 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: properly initialize levels

Fix an issue introduced by Arnout while committing. Jerzy originally
initialized the menu_of_packages, package and print_package_warning
members like they should be, but Arnout thought it wasn't needed and
removed that.

It is actually needed, to make sure the top level (level 0) works.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/264383157
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agosupport/testing: improve test_luasyslog
Francois Perrad [Thu, 1 Aug 2019 20:44:51 +0000 (22:44 +0200)]
support/testing: improve test_luasyslog

Lua has a builtin lsyslog module, so let's test this one as well.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mosquitto: fix typo in Config.in
Titouan Christophe [Fri, 2 Aug 2019 15:18:03 +0000 (17:18 +0200)]
package/mosquitto: fix typo in Config.in

Introduced in ea989ad2b2c2361c47e269dd89cb559edf561db4

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: fix build with thread support disabled
Petr Vorel [Fri, 2 Aug 2019 15:15:29 +0000 (17:15 +0200)]
package/iputils: fix build with thread support disabled

Fixes:
http://autobuild.buildroot.net/results/10652b7bf6a606f0dd802916006c44abf3e5e059
http://autobuild.buildroot.net/results/9656af1aafbd2624fb75bf5fc1dfa13b6175c10b
http://autobuild.buildroot.net/results/2e170e149b293d40978e158d55dc0102315b9d86

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-kconfig.mk: new <pkg>-diff-config target
Marcel Patzlaff [Fri, 21 Sep 2018 13:55:21 +0000 (15:55 +0200)]
package/pkg-kconfig.mk: new <pkg>-diff-config target

This patch introduces the new target to compare the current
configuration with the one derived from the defconfig + fragments (if
any). It helps identifying settings not yet inserted to the defconfig
or any fragment.

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-kconfig.mk: reusability improvements
Marcel Patzlaff [Fri, 21 Sep 2018 13:55:20 +0000 (15:55 +0200)]
package/pkg-kconfig.mk: reusability improvements

This patch refactors savedefconfig and the configuration re-generation
to separate macros so that the functionality can be re-used in further
rules.

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mtd: needs zstd
Julien BOIBESSOT [Fri, 2 Aug 2019 12:21:09 +0000 (14:21 +0200)]
package/mtd: needs zstd

For the target variant, zstd is an optional dependency when ubifs-tools
are enabled. For the host variant, we make it an unconditional
dependency.

Fixes:
http://autobuild.buildroot.org/results/99baf1de106f9c80a32e665263c1e4278097643d (target)
http://autobuild.buildroot.org/results/e3b96704f0b23e82999aa3d6e93233edecbecfe7 (host)

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Tested-by: Markus Mayer <mmayer@broadcom.com>
[yann.morin.1998@free.fr: fix the target variant too]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/quagga: fix static linking with getopt
Arnout Vandecappelle (Essensium/Mind) [Thu, 1 Aug 2019 16:24:08 +0000 (18:24 +0200)]
package/quagga: fix static linking with getopt

quagga has its own copy of getopt_long() instead of using the system's,
and this copy also defines the opterr and optind variables. Obviously,
this is only apparent when linking statically.

This problem can easily be avoided by making sure that getopt() itself
is defined too. This way, there is no reason any more to pull in libc's
getopt() and the corresponding definitions of opterr and optind. Note
that getopt() itself is pulled in by netsnmp, not by quagga itself.

Fortunately, there's a REALLY_NEED_PLAIN_GETOPT flag that we can define
to make sure getopt() does get built by quagga. We can safely do this
unconditionally (instead of only when BR2_PACKAGE_QUAGGA_SNMP and
BR2_STATIC_LIBS are enabled): without netsnmp, getopt() will simply not
be used, and with dynamic libs there's no risk of conflicts anyway.

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

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/bison: fix parallel build issue
Thomas Petazzoni [Fri, 2 Aug 2019 07:04:39 +0000 (09:04 +0200)]
package/bison: fix parallel build issue

Following the bump of Bison to 3.4.1 in commit
d3c2f33543b91670f8ead627ec7975142b9e6b5a, the build started failing on
autobuilders using a fairly old version of make (3.81). The failure is
caused by a parallel build problem in examples/c/reccalc/.

Fixing it is not trivial, and would require autoreconf, which then
fails due to help2man being missing. So for the time being, simply
disable parallel build on bison.

The issue has been reported to the bug-bison@ mailing list, but the
e-mail doesn't appear yet in the mailing list archives.

Fixes:

  http://autobuild.buildroot.net/results/856/8568bcef944096f2c21470d36f02b520989af5eb/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/config-fragments: add RISC-V 64-bit musl autobuild config
Mark Corbin [Wed, 31 Jul 2019 09:03:19 +0000 (10:03 +0100)]
support/config-fragments: add RISC-V 64-bit musl autobuild config

Add a RISC-V 64-bit autobuild configuration for the internal
toolchain with musl.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/dropwatch: remove binutils dependency
Fabrice Fontaine [Thu, 1 Aug 2019 20:50:30 +0000 (22:50 +0200)]
package/dropwatch: remove binutils dependency

Add a patch to make binutils optional and disable it in the context of
buildroot as suggested by Thomas in
https://patchwork.ozlabs.org/patch/1134299

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mono: bump to version 6.0.0.313
Angelo Compagnucci [Sun, 28 Jul 2019 15:18:29 +0000 (17:18 +0200)]
package/mono: bump to version 6.0.0.313

This patch bumps mono to version 6.0.0.313 and it's related dependency
monolite to version d0aa6798-834d-11e9-b38a-3b0d70487d01.

The hash of the mono license file has changed, with the following
modification:

-* mcs/nunit24: MS-PL
-

However, this modification is in the "Build Time Code" section, which
describes the license of the parts of the code used only at build
time, which we don't document in the <pkg>_LICENSE
variable. Therefore, no relevant licensing change has occured from the
point of view of <pkg>_LICENSE.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[Thomas: update the hash of the license file, and add a corresponding
explanation in the commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/php: security bump version to 7.3.8
Bernd Kuhls [Thu, 1 Aug 2019 20:24:44 +0000 (22:24 +0200)]
package/php: security bump version to 7.3.8

Release notes: https://www.php.net/ChangeLog-7.php#7.3.8

Fixes CVE-2019-11042 & CVE-2019-11041

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosystem: directly use system shell as root shell
Philip Molloy [Thu, 1 Aug 2019 10:48:51 +0000 (12:48 +0200)]
system: directly use system shell as root shell

Rather than through the /bin/sh symlink, because because invocating bash as
sh causes bash to mimic sh (see INVOCATION in bash(1)).

Signed-off-by: Philip Molloy <philip.a.molloy@gmail.com>
[yann.morin.1998@free.fr: use the system shell, not a new option,
 as suggested by Arnout]
[Peter: describe why this is done using the description from Philip's help
 text]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: use regex for source
Arnout Vandecappelle (Essensium/Mind) [Thu, 1 Aug 2019 08:02:37 +0000 (10:02 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: use regex for source

The 'source' strings identify which package is incorrectly ordered. We
need to extract the actual package name from that string, which is
currently done with constants that assume the file is package/Config.in.

In addition, only 'source' lines that are indented with a tab are
checked. This kind of indentation is done in package/Config.in, but not
e.g. boot/Config.in.

Therefore, use a regular expression to match the 'source' lines, and to
extract the directory part from it.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: append elements to arrays if needed
Jerzy Grzegorek [Thu, 1 Aug 2019 08:02:36 +0000 (10:02 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: append elements to arrays if needed

In the future, the nesting level of menus, comments and conditions may
increase. The fixed array length used now is not appropriate. Therefore,
append elements to the arrays if needed.

Also change order of variables.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: fix 'menuconfig' handling
Arnout Vandecappelle (Essensium/Mind) [Thu, 1 Aug 2019 08:02:35 +0000 (10:02 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: fix 'menuconfig' handling

The CommentsMenusPackagesOrder check builds the 'state' to track the
depth of menus and conditions. However, a menuconfig doesn't create a
menu by itself - it is always followed by a condition that implies the
menu. As a result, when unwinding the 'state', the level will be wrong.

Fix this by checking for menu followed by a space, so it no longer
matches menuconfig. For consistency, do the same for comment and if
as well.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gst1-plugins-good: add shout2 plugin option
Arnold Bloemert [Fri, 5 Jul 2019 21:50:38 +0000 (23:50 +0200)]
package/gst1-plugins-good: add shout2 plugin option

Signed-off-by: Arnold Bloemert <abloemert@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/piglit: new package
Romain Naour [Thu, 1 Aug 2019 09:21:19 +0000 (11:21 +0200)]
package/piglit: new package

Piglit is an open-source test suite for OpenGL implementations.
It's an python3 script based around several tools like glxinfo,
wflinfo, dmesg.

Even though waffle support can be replaced by freeglut,
using pliglit with waffle is recommended since freeglut
will be replaced by waffle.

Add host-python-{mako,numpy,six} dependency since the build system
is checking with the host-python interpreter.

There is no comment about waffle dependency due to too complex
dependencies of waffle.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Reworked during the Buildroot summer camp 2019]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Arnout: small corrections to license info. It's messy.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agosupport/testing: use virtio-rng-pci to test syslog-ng
Ricardo Martincoski [Tue, 30 Jul 2019 23:13:21 +0000 (20:13 -0300)]
support/testing: use virtio-rng-pci to test syslog-ng

Recent versions of syslog-ng need some entropy on startup.
So use VirtIORNG to provide it. In order to accomplish this:
 - build the kernel containing the driver;
 - pass '-device virtio-rng-pci' to qemu.

Use the same kernel version and kernel config as qemu_arm_versatile.
It already has PCI enabled but it does not have HW_RANDOM_VIRTIO, so add
a defconfig fragment to enable the drivers.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/259856394

At the same time, fix a typo (missing '#') that resulted in the
generation of root.tar. This file is not used in the test.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/atmel: kernel needs host openssl to build
Ludovic Desroches [Wed, 31 Jul 2019 13:46:49 +0000 (15:46 +0200)]
configs/atmel: kernel needs host openssl to build

Since commit df7005975e5a8419918600b1fcac57799a0ff5da, the linux
configuration requires host-openssl to be built.

Reported-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/atmel: bump to linux4sam_6.1
Ludovic Desroches [Wed, 31 Jul 2019 13:46:48 +0000 (15:46 +0200)]
configs/atmel: bump to linux4sam_6.1

Only the atmel_sama5d27_som1 board was bumped to linux4sam_6.1 so update
the other boards.

Moreover, display variant device trees are no longer in the linux4sam
kernel tree as we have adopted the DT overlays. In case of interest for those
DTs, please use the Microchip external available here:
https://github.com/linux4sam/buildroot-external-microchip

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoboard/atmel: genimage: remove display variant dtbs
Ludovic Desroches [Wed, 31 Jul 2019 13:46:47 +0000 (15:46 +0200)]
board/atmel: genimage: remove display variant dtbs

Display variant dtbs are no longer part of the linux-at91 tree.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/iputils: use capabilities if possible
Petr Vorel [Thu, 1 Aug 2019 16:22:33 +0000 (18:22 +0200)]
package/iputils: use capabilities if possible

If support for extended attributes is enabled, then we can use them to
store capabilities. If not, we keep using the setuid bit.

arping does not get a capability, as it can be used for arp poisoning.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
[yann.morin.1998@free.fr:
  - resort to using q full-fledged conditional block
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/iputils: drop setuid on arping
Yann E. MORIN [Thu, 1 Aug 2019 16:22:32 +0000 (18:22 +0200)]
package/iputils: drop setuid on arping

arping can be used for arp poisoning, so it should really not be setuid.

Reported-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gmrender-resurrect: bump to version a7b0b1b9ca482d2d34ac62c2f2dc0cf0dfbb702b
Fabrice Fontaine [Thu, 1 Aug 2019 17:14:09 +0000 (19:14 +0200)]
package/gmrender-resurrect: bump to version a7b0b1b9ca482d2d34ac62c2f2dc0cf0dfbb702b

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/cloop: bump to version 3.14.1.2
Fabrice Fontaine [Thu, 1 Aug 2019 12:21:09 +0000 (14:21 +0200)]
package/cloop: bump to version 3.14.1.2

- Remove patch, it is not needed anymore as CFLAGS/LDFLAGS are now
  correctly passed to extract_compressed_fs. CFLAGS/LDFLAGS are not
  passed to cloop_suspend but it isn't built. Moreover original CFLAGS
  are lost but this is acceptable)
- Switch site to http://snapshot.debian.org/archive/debian as
  http://debian-knoppix.alioth.debian.org/packages/sources/cloop is not
  available anymore
- Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/cloop: needs _GNU_SOURCE
Fabrice Fontaine [Thu, 1 Aug 2019 12:21:08 +0000 (14:21 +0200)]
package/cloop: needs _GNU_SOURCE

host-cloop needs _GNU_SOURCE for loff_t otherwise build fails with gcc
8.3.0 on:
extract_compressed_fs.c: In function 'main':
extract_compressed_fs.c:55:2: error: unknown type name 'loff_t'; did you mean 'off_t'?
  loff_t *offsets;

Fixes:
 - No autobuilder failures

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoqemu: fix host virtfs option
Vincent Stehlé [Thu, 1 Aug 2019 17:09:24 +0000 (19:09 +0200)]
qemu: fix host virtfs option

Fix the build of host-qemu with virtfs enabled: fix a typo in makefile
conditional and add a dependency on host-libcap as that is a dependency of
virtfs support:

    if test "$virtfs" != no && test "$cap" = yes && test "$attr" = yes ; then
      virtfs=yes

The virtfs configuration option was added by commit e0f49e648401
("package/qemu: add option to enable virtual filesystem in host qemu").

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/glib-networking: needs dynamic library
Fabrice Fontaine [Thu, 1 Aug 2019 10:49:18 +0000 (12:49 +0200)]
package/glib-networking: needs dynamic library

glib-networking uses the meson's shared_module function

This is a partly revert of commit
ed3eef6bb49270de619e5a86a249fdd8724c40cd 'package/glib-networking: bump
to version 2.61.1' re-adding the dynamic library dependency due to the
meson's build system and not from gnutls

Fixes:
 - http://autobuild.buildroot.org/results/60037e37e020404485df9814f3f3ad4e3b2abdb3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years ago.gitlab-ci.yml: regenerate for new defconfig
Arnout Vandecappelle (Essensium/Mind) [Thu, 1 Aug 2019 16:49:44 +0000 (18:49 +0200)]
.gitlab-ci.yml: regenerate for new defconfig

Commit a8fac3fcfc2c71 introduced qemu_ppc_mac99_defconfig but forgot to
add it to .gitlab-ci.yml.

Do that now.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/263733672
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/assimp: bump to version 4.1.0
Fabrice Fontaine [Thu, 1 Aug 2019 12:14:03 +0000 (14:14 +0200)]
package/assimp: bump to version 4.1.0

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/llvm: disable libxml2
Matt Weber [Wed, 1 May 2019 19:40:30 +0000 (14:40 -0500)]
package/llvm: disable libxml2

libxml2 is needed during Windows builds to populate the COFF
file manifest info.  This isn't required for Linux builds.

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage llvm/clang: note about version bumping dep
Matt Weber [Wed, 1 May 2019 19:40:29 +0000 (14:40 -0500)]
package llvm/clang: note about version bumping dep

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Acked-by: Romain Naour <romain.naour@smile.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/python-django: security bump to version 2.2.4
Peter Korsgaard [Thu, 1 Aug 2019 12:22:41 +0000 (14:22 +0200)]
package/python-django: security bump to version 2.2.4

Fixes the following security issues:

CVE-2019-14232: Denial-of-service possibility in django.utils.text.Truncator

If django.utils.text.Truncator's chars() and words() methods were passed the
html=True argument, they were extremely slow to evaluate certain inputs due
to a catastrophic backtracking vulnerability in a regular expression.  The
chars() and words() methods are used to implement the truncatechars_html and
truncatewords_html template filters, which were thus vulnerable.

The regular expressions used by Truncator have been simplified in order to
avoid potential backtracking issues.  As a consequence, trailing punctuation
may now at times be included in the truncated output.

CVE-2019-14233: Denial-of-service possibility in strip_tags()

Due to the behavior of the underlying HTMLParser,
django.utils.html.strip_tags() would be extremely slow to evaluate certain
inputs containing large sequences of nested incomplete HTML entities.  The
strip_tags() method is used to implement the corresponding striptags
template filter, which was thus also vulnerable.

strip_tags() now avoids recursive calls to HTMLParser when progress removing
tags, but necessarily incomplete HTML entities, stops being made.

Remember that absolutely NO guarantee is provided about the results of
strip_tags() being HTML safe.  So NEVER mark safe the result of a
strip_tags() call without escaping it first, for example with
django.utils.html.escape().

CVE-2019-14234: SQL injection possibility in key and index lookups for
JSONField/HStoreField

Key and index lookups for django.contrib.postgres.fields.JSONField and key
lookups for django.contrib.postgres.fields.HStoreField were subject to SQL
injection, using a suitably crafted dictionary, with dictionary expansion,
as the **kwargs passed to QuerySet.filter().

CVE-2019-14235: Potential memory exhaustion in
django.utils.encoding.uri_to_iri()

If passed certain inputs, django.utils.encoding.uri_to_iri could lead to
significant memory usage due to excessive recursion when re-percent-encoding
invalid UTF-8 octet sequences.

uri_to_iri() now avoids recursion when re-percent-encoding invalid UTF-8
octet sequences.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/nano: bump version to 4.3
Bernd Kuhls [Sun, 30 Jun 2019 08:09:04 +0000 (10:09 +0200)]
package/nano: bump version to 4.3

Release notes:
https://lists.gnu.org/archive/html/info-gnu/2019-06/msg00004.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/dhcp: fix target installation
Carlos Santos [Wed, 24 Jul 2019 10:54:53 +0000 (07:54 -0300)]
package/dhcp: fix target installation

We don't use "make install" for the target installation so we must pick
the executables from the ".libs" directories on which libtool generates
them otherwise we install the automatically generated wrapper scripts.

This was not necessary before the upgrade to version 4.4.1.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12051
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rtorrent: bump to version 0.9.8
Fabrice Fontaine [Thu, 1 Aug 2019 11:16:54 +0000 (13:16 +0200)]
package/rtorrent: bump to version 0.9.8

Remove patch (already in version) and drop AUTORECONF as it is not
needed anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libtorrent: bump to version 0.13.8
Fabrice Fontaine [Thu, 1 Aug 2019 11:16:53 +0000 (13:16 +0200)]
package/libtorrent: bump to version 0.13.8

Remove both patches (already in version) and drop AUTORECONF as it is
not needed anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/tinyxml2: bump to version 7.0.1
Pierre-Jean Texier [Tue, 30 Jul 2019 21:02:38 +0000 (23:02 +0200)]
package/tinyxml2: bump to version 7.0.1

Even though the hash of the license file changes, there are no changes
in the licensing terms themselves. There are changes in other parts of
readme.md, and whitespace changes in the licensing terms, but no
licensing term changes per-se.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
[Thomas: add explanation about the license file hash change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luaposix: bump to version 34.1.1
Francois Perrad [Thu, 1 Aug 2019 10:19:10 +0000 (12:19 +0200)]
package/luaposix: bump to version 34.1.1

the module std.normalize is no longer a dependency

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/duktape: bump to version 2.4.0
Fabrice Fontaine [Thu, 1 Aug 2019 09:51:22 +0000 (11:51 +0200)]
package/duktape: bump to version 2.4.0

Update hash for license file (update in year:
https://github.com/svaarala/duktape/commit/bcb37439d6b0a589707f4d611962d7381868dce4)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/scripts/pkg-stats: retrieve packages latest version using processes
Victor Huesca [Thu, 1 Aug 2019 15:12:44 +0000 (17:12 +0200)]
support/scripts/pkg-stats: retrieve packages latest version using processes

The major bottleneck in pkg-stats is the time spent waiting for
answers from remote servers. Two functions involve such communication
with remote servers:

- 'check_package_urls' which checks that each package upstream website
  is up, it is efficient due to the use of process-pools thanks to
  Matt Weber.

- 'check_package_latest_version' which fetches the latest package
  version from release-monitoring, it uses a http-pool but runs
  sequentially.

This patch extends the use of process-pools to 'check_latest_version'.
Due to some limitations of multiprocess callbacks, this patch loses
the overall progress of packages in favour of just the current package
name.

Runtimes for this function are ~3m vs ~25m for the linear version.
Tested on an i7 7500U (2/4 cores/threads @3.5GHz) with 15ms ping.

Note: There have already been work trying to parallelize this function
using threads but there were a failure on some configurations [1].
This implementation rely on a dedicated module already in use on this
script, so it's unlikely to see failure with this version.

[1] http://lists.busybox.net/pipermail/buildroot/2018-March/215368.html

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/scripts/pkg-stats: fix flake8 issues
Victor Huesca [Thu, 1 Aug 2019 15:12:43 +0000 (17:12 +0200)]
support/scripts/pkg-stats: fix flake8 issues

Fixes:
 - blank space before ':'
 - unused 'o' variable left from a previous patch
 - bad continuous alignment

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboard: Add PowerPC mac99
Joel Stanley [Tue, 25 Jun 2019 01:26:52 +0000 (10:56 +0930)]
board: Add PowerPC mac99

PowerPC kernel developers were after a userspace for testing 32-bit
powerpc kernels. This machine both suits that requirement and has
support in qemu. It's also a fairly common piece of 32-bit ppc hardware.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Tested-by: Daniel Axtens <dja@axtens.net>
[Peter: lock kernel/headers to 5.2.4]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain-external: fix find_sysroot
Yann E. MORIN [Thu, 1 Aug 2019 14:53:36 +0000 (16:53 +0200)]
toolchain-external: fix find_sysroot

Commit 23c0e97b29a (toolchain-external: anchor sysroot regex with /)
tried to make the find-sysroot work more consistently, especially for
toolchains where the C library is located in a sub-directory, like the
"Realtek mips toolchain".

After that patch, the '/' that was trailing in the returned path got
removed now. This in turn breaks the Codesourcery toolchain.

We fix that by appending the now-missing trailing '/'.

Fixes:
http://autobuild.buildroot.net/results/9284d571668148febce23d96a9c0a97a6b2b43dc

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: 陈小 刚 <shawn_chen@realsil.com.cn>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopdbg: Bump version to v2.2
Joel Stanley [Tue, 25 Jun 2019 01:53:40 +0000 (11:23 +0930)]
pdbg: Bump version to v2.2

Upstream changes:

 - libpdbg API clean-up
 - Path based targetting
 - POWER8 sreset fixes
 - gdbserver

This also adds the v back to the version string that pdbg's build system
uses, following the recent buildroot changes to remove "v" from package
versions.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/netsurf: add optional dependency on webp
Francois Perrad [Sun, 21 Jul 2019 14:11:08 +0000 (16:11 +0200)]
package/netsurf: add optional dependency on webp

new feature of version 3.9

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/webkitgtk: remove upstreamed patch
Thomas Petazzoni [Thu, 1 Aug 2019 14:44:34 +0000 (16:44 +0200)]
package/webkitgtk: remove upstreamed patch

The bump of webkitgtk to 2.24.3 in commit
3ff05d9094be1329b5987589d6b6fefb152ff006 forgot to drop a patch that
was upstreamed, and is now part of 2.24.3, causing a build failure, so
let's drop this patch.

Fixes:

  http://autobuild.buildroot.net/results/4d7bffd20344f06ca719b7c8083b81053b255aa5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: make BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT public
Philipp Wagner [Fri, 16 Nov 2018 15:45:01 +0000 (16:45 +0100)]
linux: make BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT public

Currently the BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT option is only
available to be selected by another config option. This option controls
if the Linux build system should build the DTB itself, or if buildroot
explicitly calls the Linux Makefile like "make something.dtb".

My use case: I want to build an OpenRISC image with a custom device tree
file. OpenRISC does not support appended DTBs, and I'm not using a
bootloader, but link everything into a single kernel (vmlinux) image.

The kernel option CONFIG_OPENRISC_BUILTIN_DTB allows me to specify a dtb
file, which is typically located in the kernel source tree in
arch/openrisc/boot/dts/NAME.dts.

Since my dts file is not part of the upstream kernel, I have two
options: either patch the kernel to include the DTS file, and then
specify it using the CONFIG_OPENRISC_BUILTIN_DTB option.

Or use buildroot's BR2_LINUX_KERNEL_CUSTOM_DTS_PATH config option to
copy any DTS file to the kernel source tree, and then specify this file
with CONFIG_OPENRISC_BUILTIN_DTB as before.

However, the second option also requries the buildroot option
BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT to be set, otherwise I end up with a
"make -C kerneldir NAME.dts" call, which doesn't work (no such target
exists).

Currently the BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT option exists, but it's
not visible/available. Simply making it available solves the problem for
me nicely.

Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
[Arnout: add help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/dropwatch: bump to version 1.5.1
Fabrice Fontaine [Fri, 19 Jul 2019 21:10:03 +0000 (23:10 +0200)]
package/dropwatch: bump to version 1.5.1

- Switch site, see
  http://git.infradead.org/users/nhorman/dropwatch.git/blob/975fd7331d19a32f6d0f20781dfb19f2d14c3c31:/README
- Switch to autotools (and so drop second patch on Makefile: if there is
  some errors raised by -Werror, we'll fix them)
- Update first patch by upstream commit
- 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/iputils: fix build without NLS
Fabrice Fontaine [Fri, 19 Jul 2019 21:11:52 +0000 (23:11 +0200)]
package/iputils: fix build without NLS

Set USE_GETTEXT depending on BR2_SYSTEM_ENABLE_NLS as otherwise build
will fail if gettext is not installed on host because USE_GETTEXT is
enabled by default since version 20190324 and
https://github.com/iputils/iputils/commit/2615a527209bb408b54028ef6405075cadd4541b

Fixes:
 - http://autobuild.buildroot.org/results/127823ddbd75336abc0fe0e9bd11e4f5249df87c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/bison: bump version to 3.4.1
Bernd Kuhls [Sun, 30 Jun 2019 08:09:02 +0000 (10:09 +0200)]
package/bison: bump version to 3.4.1

Release notes:
https://lists.gnu.org/archive/html/info-gnu/2019-05/msg00014.html

Removed patches applied to upstream gnulib:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=4af4a4a71827c0bc5e0ec67af23edef4f15cee8e
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/git: work around gcc bug 85180
Giulio Benetti [Tue, 25 Jun 2019 07:02:54 +0000 (09:02 +0200)]
package/git: work around gcc bug 85180

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. The bug
shows up when building git with optimization but not when building with
-O0. To work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we force
using -O0.

Fixes:

  http://autobuild.buildroot.net/results/7ad/7adff001631053ae5a3cb3e176d321f6a2d3cceb/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/proj: fix build failure due to gcc bug 68485
Giulio Benetti [Tue, 25 Jun 2019 06:44:36 +0000 (08:44 +0200)]
package/proj: fix build failure due to gcc bug 68485

The proj package exhibits gcc bug 68485 when built for the Microblaze
architecture with optimization enabled, which causes a build failure.

As done for other packages in Buildroot work around this gcc bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Fixes:

http://autobuild.buildroot.net/results/e61/e61bd55067071415223e523a81de3c2e9cafea6f/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Tested-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Acked-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libgtk3: fix build with NLS
Fabrice Fontaine [Tue, 2 Jul 2019 21:39:25 +0000 (23:39 +0200)]
package/libgtk3: fix build with NLS

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/xlib_libX11: remove unrecognized option
Fabrice Fontaine [Sun, 30 Jun 2019 08:50:18 +0000 (10:50 +0200)]
package/xlib_libX11: remove unrecognized option

Remove --with-xcb as this option has been removed since version 1.3.99:
https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=15e5eaf62897b3179d1fbe457cb19f886f0449f8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/shapelib: upgrade to 1.5.0
Zoltan Gyarmati [Sat, 29 Jun 2019 21:54:31 +0000 (23:54 +0200)]
package/shapelib: upgrade to 1.5.0

Also remove PROJ.4 dependency, as upstream decided to
drop it.

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libmicrohttpd: bump version to 0.9.64
Bernd Kuhls [Sat, 29 Jun 2019 15:27:36 +0000 (17:27 +0200)]
package/libmicrohttpd: bump version to 0.9.64

Release notes:
https://lists.gnu.org/archive/html/libmicrohttpd/2019-06/msg00004.html

Updated license hash after upstream commit
https://git.gnunet.org/libmicrohttpd.git/commit/?id=d0e81c8e0fb9676602db14a4120235f1524b1306

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/nasm: bump version to 2.14.02
Bernd Kuhls [Sat, 29 Jun 2019 15:19:46 +0000 (17:19 +0200)]
package/nasm: bump version to 2.14.02

Release notes: https://nasm.us/doc/nasmdocc.html

Removed patch applied upstream:
https://repo.or.cz/nasm.git/commitdiff/5eb1838b4d3752fd863d19442943983a2a5ee87c

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackages/python-paho-mqtt: bump version to 1.4.0
Joris Offouga [Thu, 27 Jun 2019 21:28:34 +0000 (23:28 +0200)]
packages/python-paho-mqtt: bump version to 1.4.0

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-pyzmq: bump to version 18.0.2
Asaf Kahlon [Thu, 27 Jun 2019 18:58:20 +0000 (21:58 +0300)]
package/python-pyzmq: bump to version 18.0.2

Update the patch for the newer version.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosupport/scripts/pkg-stats: improve 'package_init_make_info'
Victor Huesca [Fri, 19 Jul 2019 14:35:55 +0000 (16:35 +0200)]
support/scripts/pkg-stats: improve 'package_init_make_info'

The pkg-stats calls 3 times `make` to get a bunch of variables. These
variables can be obtained in only one make invocation.  This patch
replaces the three calls by just one and adjusts the parsing logic
accordingly.

Note: another option suggested by Arnout would be to run `make
show-info` that produces a json with the necessary variables.  This
would avoid the duplicated effort done in pkg-stats and pkg-utils and
allow to add other infos to pkg-stats like dependencies, reversed
dependencies or if the package is virtual.

In order to use this method, the following changes are required in
pkg-generic's show-info:

 - include license_files;
 - have an option to run it on *all* packages, not just the selected
   ones.

This patch take the simplest approach of only factorizing the make
calls as it requires less changes.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoUpdate .gitlab-ci.yml after addition of luaposix test
Peter Korsgaard [Thu, 1 Aug 2019 12:25:33 +0000 (14:25 +0200)]
Update .gitlab-ci.yml after addition of luaposix test

Commit a0b0976c9333 (support/testing: add luaposix test) added a new test,
but forgot to update .gitlab-ci.yml.  Do that now.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agodbus-python: add host package
Brent Generous [Fri, 9 Nov 2018 00:38:55 +0000 (00:38 +0000)]
dbus-python: add host package

This can be useful for Python scripts running on a host machine that
need to connect to a bus on a remote device, e.g. test scripts.

The target dbus-python depends on dbus instead of selecting it because
dbus has dependencies that check that it is supported. Using 'select'
would override those dependencies. For host-dbus, there are no such
checks -- it's assumed the host has the features neeeded to run dbus, so
it is okay to just depend on host-dbus.

The pyexpat dependency is not needed, as it is forced on for
host-python.

Signed-off-by: Brent Generous <bgenerous@impinj.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoboot/uboot: add option to generate env image from default env
Denis Osterland [Mon, 12 Nov 2018 10:18:19 +0000 (10:18 +0000)]
boot/uboot: add option to generate env image from default env

This patch adds support to extract compiled in default env
via u-boot's get_default_envs script and generate env image from it.

Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mosquitto: bump to v1.6.3
Titouan Christophe [Thu, 18 Jul 2019 10:06:36 +0000 (12:06 +0200)]
package/mosquitto: bump to v1.6.3

Drop dependency on libuuid as it got removed in v1.6.  From ChangeLog.txt:

1.6 - 20190417
==============
- Improved general support for broker generated client ids. Removed libuuid
  dependency.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
[Peter: explain why libuuid isn't needed any more]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>