buildroot.git
5 years agopackage/python-sip: fix install with python 3.8
Fabrice Fontaine [Fri, 1 Nov 2019 09:41:08 +0000 (10:41 +0100)]
package/python-sip: fix install with python 3.8

Install python-sip in the correct directory otherwise build of
python-pyqt5 will fail

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/systemd: bump to 243-78
Jérémy Rosen [Fri, 1 Nov 2019 08:57:46 +0000 (09:57 +0100)]
package/systemd: bump to 243-78

The systemd project maintains a separate repository on github where patches
are backported on top of released version by the systemd maintainers.

This patch changes the SYSTEMD_SITE to point on that repository and points
to the latest version of v243, which was the previous version used by
systemd.

Unfortunately, upstream does not tag any version,so we use 'git describe'
as a SYSTEMD_VERSION

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: enable systemd services
James Hilliard [Fri, 1 Nov 2019 06:18:02 +0000 (00:18 -0600)]
package/iputils: enable systemd services

These are normally enabled by systemctl preset-all.

[Peter: use positive logic, explicitly pass BUILD_NINFOD=true in the
 positive case]
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackagesystemd: generate the hwdb.bin
Yann E. MORIN [Tue, 29 Oct 2019 22:07:55 +0000 (23:07 +0100)]
packagesystemd: generate the hwdb.bin

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/eudev: generate the hwdb.bin
Yann E. MORIN [Tue, 29 Oct 2019 22:07:54 +0000 (23:07 +0100)]
package/eudev: generate the hwdb.bin

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/eudev: introduce a host variant
Yann E. MORIN [Tue, 29 Oct 2019 22:07:53 +0000 (23:07 +0100)]
package/eudev: introduce a host variant

eudev and systemd provide a hardware database (hwdb) as a set of
multiple files. Various other utilities may also use that database.

Those files have to be "compiled" into a binary to be useful; libudev
(and thus all utilities based on it) only use the compiled hwdb.

Compiling the hwdb is done with udevadm, using the hwdb sub-command:
    udevadm hwdb --update

Provide a simple host-variant of eudev, so that we can call udevadm at
build time.

When it is configured, eudev will shoehorn its --prefix path as the base
location where the .hwdb file will be searched from, as well as where
the hwdb.bin will be generated in. This means that with the usual
--prefix=$(HOST_DIR), it would look into there.

udevadm also accepts a --root=/path option at runtime, which prepends
/path to all the paths it uses to find and generate files.

Obviously, combining --root=$(TARGET_DIR) and --prefix=$(HOST_DIR) would
not do what we want: all files would be searched for, and generated, in
$(HOST_DIR)$(TARGET_DIR)/ . Avoiding use of --root would not help much
either, as files would still searched in $(HOST_DIR) (we could use a
trick to copy files there, generate and then move the hwdb.bin, but
that's not nice).

However, since we only need udevadm, and since udevadm has no internal
and no external dependency, we can use a less dirty trick and configure
host-eudev with --prefix=/usr (and similar for the other paths), manually
copy udevadm to HOST_DIR, and then use --root when calling it.

Then, we get a udevadm that can read files from, and generate files into
$(TARGET_DIR). We register a target-finalize hook to generate the
hwdb.bin, so that any pakage may install its .hwdb files (currently only
eudev and systemd do, but other packages might (e.g. sane is known to do
so on standard desktop distros))

The *.hwdb source files consume a lot of space, roughly the same as the
generated database, i.e. ~8MiB as of today, and they are totally useless
on the target; only the generated hwdb.bin is useful. So we want to get
rid of them.

However, we also want to be able to complete a build (e.g. make
foo-reinstall to reinstall more hwdb files), so we don't want to
irremediably lose them. As such, we register a pre-rootfs-cmd hook, that
removes them just before assembling the filesystems, when we're only
using a copy of the target directory.

Note that this is the first host package to register a target-finalize
hook, and also the first to register a pre-rootfs-cmd hook. This avoids
duplicating these hooks logic in both eudev and systemd.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/linux-tools: selftests depend on !static
Arnout Vandecappelle (Essensium/Mind) [Tue, 29 Oct 2019 20:40:17 +0000 (21:40 +0100)]
package/linux-tools: selftests depend on !static

The indirect dependency through kmod was not tracked.

Detected with randconfig.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-autobahn: add missing dependency on C++
Arnout Vandecappelle (Essensium/Mind) [Tue, 29 Oct 2019 20:37:01 +0000 (21:37 +0100)]
package/python-autobahn: add missing dependency on C++

The indirect dependency via python-cryptography was not set in the
Config.in.

Detected with randconfig.

And propagate this to the reverse dependencies.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Peter: also propagate to the reverse dependencies]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libinput: bump version to 1.14.3
Peter Seiderer [Tue, 29 Oct 2019 21:47:53 +0000 (22:47 +0100)]
package/libinput: bump version to 1.14.3

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2019-October/040967.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libgtk3: bump to version 3.24.12
Fabrice Fontaine [Wed, 30 Oct 2019 15:50:11 +0000 (16:50 +0100)]
package/libgtk3: bump to version 3.24.12

This will fix the build with latest pango thanks to
https://github.com/GNOME/gtk/commit/4c94a76237446f22646a5367bdf48b6b13eeff92

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/rsyslog: bump to 8.1910.0
Matt Weber [Wed, 30 Oct 2019 13:13:28 +0000 (08:13 -0500)]
package/rsyslog: bump to 8.1910.0

The rsyslog project removed the ability to toggle libcurl dependencies in
https://github.com/rsyslog/rsyslog/commit/dc95ef09bdb07cfb7b7df4ce87df629fc2c94f8f,
however there are a series of options that now add a libcurl dependency.

This bump disables the following options to prevent libcurl as a new dependency.
--disable-elasticsearch
        --disable-clickhouse
        --disable-omhttp
        --disable-fmhttp
        --disable-imdocker
        --disable-omhttpfs
        --disable-mmkubernetes

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/wolfssl: cleanup version/download logic
Peter Korsgaard [Thu, 31 Oct 2019 22:47:02 +0000 (23:47 +0100)]
package/wolfssl: cleanup version/download logic

Use the github macro rather than manually downloading from github and
include -stable in the version number to match release-monitoring.org.

And update the .hash line to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/wolfssl: bump to version 4.2.0
Julien Grossholtz [Thu, 31 Oct 2019 22:03:06 +0000 (23:03 +0100)]
package/wolfssl: bump to version 4.2.0

WolfSSL 4.2.0 has been released, it includes new features and fixes. The
full changelog is available here [1].

Update the wolfssl package to stable version 4.2.0 and the
corresponding hash file.

[1] https://www.wolfssl.com/docs/wolfssl-changelog/

Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/alljoyn*: Remove the Alljoyn framework packages
Titouan Christophe [Thu, 31 Oct 2019 17:37:21 +0000 (18:37 +0100)]
package/alljoyn*: Remove the Alljoyn framework packages

The upstream Alljoyn project is dead since the AllSeen
Alliance merged with the Open Connectivity Foundation
back in 2016. No other package depends on Alljoyn, so
it can be removed.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
[Peter: fixup legacy option text]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/omniorb: bump to 4.2.3
Matt Weber [Wed, 30 Oct 2019 14:36:32 +0000 (09:36 -0500)]
package/omniorb: bump to 4.2.3

- added sha256 hash values for archive and license files
- updated sha1 from upstream download site

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/azmq: fix NPTL typo in comment
Fabrice Fontaine [Wed, 30 Oct 2019 16:40:27 +0000 (17:40 +0100)]
package/azmq: fix NPTL typo in comment

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libostree: bump to version 2019.5
Marcus Folkesson [Wed, 30 Oct 2019 21:50:57 +0000 (22:50 +0100)]
package/libostree: bump to version 2019.5

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sysrepo: fix debug build
Fabrice Fontaine [Thu, 31 Oct 2019 13:15:07 +0000 (14:15 +0100)]
package/sysrepo: fix debug build

Set IS_DEVELOPER_CONFIGURATION to OFF to avoid a build failure due to
files being installed in wrong directory

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sysrepo: needs NPTL
Fabrice Fontaine [Thu, 31 Oct 2019 13:15:06 +0000 (14:15 +0100)]
package/sysrepo: needs NPTL

sysrepo needs pthread_rwlock_timedrdlock

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sysrepo: link with libatomic when needed
Fabrice Fontaine [Thu, 31 Oct 2019 13:15:05 +0000 (14:15 +0100)]
package/sysrepo: link with libatomic when needed

On some architectures, atomic binutils are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libsysrepo.so.0.7.8: undefined reference to `__atomic_fetch_add_4'

This is often for example the case on sparcv8 32 bit.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luasec: bump to version 0.9
Francois Perrad [Thu, 31 Oct 2019 17:33:42 +0000 (18:33 +0100)]
package/luasec: bump to version 0.9

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openvmtools: fix build on musl
Fabrice Fontaine [Thu, 31 Oct 2019 16:46:24 +0000 (17:46 +0100)]
package/openvmtools: fix build on musl

Fixes:
 - http://autobuild.buildroot.org/results/9c67acf77fdcebab1e50d6c1b42475efcedec82d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openvpn: bump version to 2.4.8
Bernd Kuhls [Thu, 31 Oct 2019 19:14:10 +0000 (20:14 +0100)]
package/openvpn: bump version to 2.4.8

Changelog:
https://github.com/OpenVPN/openvpn/commit/3976acda9bf10b5e62375b66ee42d85eda08fbcf#diff-8ca39f14de952fe02a97ac77c27eab25

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/kodi-vfs-sftp: bump version to 1.0.3
Bernd Kuhls [Thu, 31 Oct 2019 20:28:59 +0000 (21:28 +0100)]
package/kodi-vfs-sftp: bump version to 1.0.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dbus-python: drop dbus-glib dependency
Fabrice Fontaine [Sun, 27 Oct 2019 14:28:59 +0000 (15:28 +0100)]
package/dbus-python: drop dbus-glib dependency

dbus-glib is not required since version 1.2.8 and
https://github.com/freedesktop/dbus-python/commit/28098f2c7c23bdef9247c5dfbb8437ca3f03dac4

Parts of dbus-glib have been copied into dbus-python instead. It can
only use the bundled copy, not the system dbus-glib.

So drop it and add dbus-gmain/COPYING to license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gpsd: perform SCons build with Python3
Titouan Christophe [Sun, 27 Oct 2019 14:35:00 +0000 (15:35 +0100)]
package/gpsd: perform SCons build with Python3

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/benejson: build using host-python3
Titouan Christophe [Sun, 27 Oct 2019 18:46:54 +0000 (19:46 +0100)]
package/benejson: build using host-python3

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libyang: bump version to 1.0-r4
Heiko Thiery [Mon, 28 Oct 2019 07:50:34 +0000 (08:50 +0100)]
package/libyang: bump version to 1.0-r4

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/collectd: add lua optional dependency
Fabrice Fontaine [Mon, 28 Oct 2019 15:29:35 +0000 (16:29 +0100)]
package/collectd: add lua optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/openvpn: add libselinux support
Adam Duskett [Mon, 28 Oct 2019 21:24:11 +0000 (14:24 -0700)]
package/openvpn: add libselinux support

If the libselinux package is selected, add the package to the
dependency list and explicitly set --enable-selinux.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/openvpn: add systemd support
Adam Duskett [Mon, 28 Oct 2019 21:24:10 +0000 (14:24 -0700)]
package/openvpn: add systemd support

If the systemd package is selected, add the package to the
dependency list and explicitly set --enable-systemd.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libwpe: bump to version 1.4.0.1
Adrian Perez de Castro [Tue, 29 Oct 2019 00:18:36 +0000 (02:18 +0200)]
package/libwpe: bump to version 1.4.0.1

This is a very minor bugfix release which solves an issue with wrong
version numbers in the headers included in the 1.4.0 release tarball,
without any functional changes. Programs which explicitly check for
version 1.4.0 of libwpe will not build or run without this update.
While Buildroot which use libwpe do not need this applied, they may
in the future. Also, third-party packages added through a BR2_EXTERNAL
may depend on using a version of libwpe which corrects the issue with
the version numbers.

Release notes:

  https://wpewebkit.org/release/libwpe-1.4.0.1.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/ima-evm-utils: new package
Petr Vorel [Tue, 29 Oct 2019 00:34:36 +0000 (01:34 +0100)]
package/ima-evm-utils: new package

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-try-tiny: regen with LICENCE found
Francois Perrad [Tue, 29 Oct 2019 04:33:09 +0000 (05:33 +0100)]
package/perl-try-tiny: regen with LICENCE found

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoutils/scancpan: handle LICENCE spelling
Francois Perrad [Tue, 29 Oct 2019 04:33:08 +0000 (05:33 +0100)]
utils/scancpan: handle LICENCE spelling

License files are sometimes called LICENCE, so support that as well.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/safeclib: bump to version 17102019
Fabrice Fontaine [Tue, 29 Oct 2019 08:52:43 +0000 (09:52 +0100)]
package/safeclib: bump to version 17102019

- Use official tarball (which contains a configure so drop autoreconf)
- Drop first and second patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/safeclib: fix build with musl
Fabrice Fontaine [Tue, 29 Oct 2019 08:52:42 +0000 (09:52 +0100)]
package/safeclib: fix build with musl

Fixes:
 - http://autobuild.buildroot.net/results/31a4b647ec0dcd9f517f313ec6c7c8f56da1ee47

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/minizip: bump to version 2.9.0
Fabrice Fontaine [Tue, 29 Oct 2019 08:59:38 +0000 (09:59 +0100)]
package/minizip: bump to version 2.9.0

Update license hash, minor EOL/EOF fix:
https://github.com/nmoinvaz/minizip/commit/8f397f826d0227172c2f8da1c7e297a527862a20

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/minizip: select libiconv if needed
Fabrice Fontaine [Tue, 29 Oct 2019 08:59:37 +0000 (09:59 +0100)]
package/minizip: select libiconv if needed

iconv.h is always included by mz_os_posix.c so select
BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE

Fixes:
 - No autobuilder failures

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/collectd: fix grpc plugin with gcc 5
Fabrice Fontaine [Tue, 29 Oct 2019 09:39:50 +0000 (10:39 +0100)]
package/collectd: fix grpc plugin with gcc 5

Patch has been merged upstream.

Fixes:
 - http://autobuild.buildroot.net/results/0d486edaf4c51b6438adeec61fe2c55099862acb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/uclibc-ng-test: fix build with latest glibc
Fabrice Fontaine [Tue, 29 Oct 2019 10:28:35 +0000 (11:28 +0100)]
package/uclibc-ng-test: fix build with latest glibc

Patches are merged upstream.

Fixes:
 - http://autobuild.buildroot.net/results/f370abcc8dc12975d96a46c34db978554f8c21db

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libnss: fix build failure with ARM without NEON extension
Giulio Benetti [Tue, 29 Oct 2019 12:09:16 +0000 (13:09 +0100)]
package/libnss: fix build failure with ARM without NEON extension

At the moment libnss assumes that every ARM has NEON extension but it's
not that way. So add a patch to make it aware of it and use native
functions in place of NEON optimized ones.

Fixes:
http://autobuild.buildroot.net/results/1342d305d1aeebef7af54a83afc094fda12421e2/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/xvisor: bump to version 0.2.11
Fabrice Fontaine [Tue, 29 Oct 2019 12:42:40 +0000 (13:42 +0100)]
package/xvisor: bump to version 0.2.11

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/glog: fix build without threads
Fabrice Fontaine [Tue, 29 Oct 2019 13:15:43 +0000 (14:15 +0100)]
package/glog: fix build without threads

Fixes:
 - http://autobuild.buildroot.net/results/5320bbe1205e782e3516d9bead8d1ed825bcbaad

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/optee-examples: bump version to 3.7.0
Etienne Carriere [Tue, 29 Oct 2019 14:41:30 +0000 (15:41 +0100)]
package/optee-examples: bump version to 3.7.0

Bump OP-TEE Examples package version to release 3.7.0.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/optee-benchmark: bump version to 3.7.0
Etienne Carriere [Tue, 29 Oct 2019 14:41:31 +0000 (15:41 +0100)]
package/optee-benchmark: bump version to 3.7.0

Bump OP-TEE Benchmark package version to release 3.7.0.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/optee-test: bump version to 3.7.0
Etienne Carriere [Tue, 29 Oct 2019 14:41:29 +0000 (15:41 +0100)]
package/optee-test: bump version to 3.7.0

Bump OP-TEE Test package version to release 3.7.0.

Patch removed (applied upstream).

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/optee-client: bump version to 3.7.0
Etienne Carriere [Tue, 29 Oct 2019 14:41:28 +0000 (15:41 +0100)]
package/optee-client: bump version to 3.7.0

Bump OP-TEE Client package version to release 3.7.0.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoboot/optee-os: bump version to 3.7.0
Etienne Carriere [Tue, 29 Oct 2019 14:41:27 +0000 (15:41 +0100)]
boot/optee-os: bump version to 3.7.0

Bump OP-TEE OS package version to OP-TEE release 3.7.0.

This adds host-python-pyelftools to optee-os dependencies

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoboard/qemu/arm-vexpress-tz: fixup GDB config info
Etienne Carriere [Tue, 29 Oct 2019 14:41:52 +0000 (15:41 +0100)]
board/qemu/arm-vexpress-tz: fixup GDB config info

Fixes reference path "../build/optee_os-" to "./output/build/optee-os-"
as package is optee-os and symbol file here is reached from BR top
dir and assuming output in output/.

Updates GDB tool name to arm-linux-gdb.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/leveldb: link with libatomic when needed
Fabrice Fontaine [Tue, 29 Oct 2019 16:25:27 +0000 (17:25 +0100)]
package/leveldb: link with libatomic when needed

On some architectures, atomic operations are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_sub_4'

This is often for example the case on sparcv8 32 bit.

Fixes:
 - http://autobuild.buildroot.net/results/257a820bb87a874ce0e2152d2752845be972fabe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x series
Bernd Kuhls [Tue, 29 Oct 2019 16:59:08 +0000 (17:59 +0100)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/samba4: security bump version to 4.10.10
Bernd Kuhls [Tue, 29 Oct 2019 16:56:27 +0000 (17:56 +0100)]
package/samba4: security bump version to 4.10.10

This is a security release in order to address the following defects:

o CVE-2019-10218: Client code can return filenames containing path
                  separators.
o CVE-2019-14833: Samba AD DC check password script does not receive
                  the full password.
o CVE-2019-14847: User with "get changes" permission can crash AD DC
                  LDAP server via dirsync.

Release notes: https://www.samba.org/samba/history/samba-4.10.10.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/grpc: work around gcc bug 85180
Giulio Benetti [Mon, 28 Oct 2019 11:50:10 +0000 (12:50 +0100)]
package/grpc: 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 grpc with optimization but not when building
with -O0. To work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we
force using -O0. Doing this let's optimize already present
CFLAGS/CXXFLAGS tweaking by introducing GRPC_CFLAGS and GRPC_CXXFLAGS
variable.

Fixes:
http://autobuild.buildroot.net/results/6f3/6f301904002cdd50dc3a66fe782b04a05b116319/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/proj: add SQLITE3_LIBS to proj.pc.in
Fabrice Fontaine [Sun, 20 Oct 2019 09:20:38 +0000 (11:20 +0200)]
package/proj: add SQLITE3_LIBS to proj.pc.in

This will fix a static build failure with libgeotiff.

Patch was merged upstream.

Fixes:
 - http://autobuild.buildroot.org/results/737db533c16f285a02118ab048e8427d3e35803d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/sysrepo: add package
Heiko Thiery [Mon, 28 Oct 2019 09:03:26 +0000 (10:03 +0100)]
package/sysrepo: add package

sysrepo is a YANG-based configuration and operational state
data store for Unix/Linux applications. It is a dependency
of Netopeer, a NETCONF server.

Both patches have been merged upstream.

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
[Arnout: fix sysvinit scripts to properly daemonize and to read
/etc/default]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libev: enable for host
Heiko Thiery [Mon, 28 Oct 2019 09:03:25 +0000 (10:03 +0100)]
package/libev: enable for host

Enable host support because host-sysrepo depends on host-libev and
host-sysrepo is needed for netopeer-keystored.

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gst1-validate: allow to use host-python3 and target python3
Titouan Christophe [Mon, 28 Oct 2019 11:15:56 +0000 (12:15 +0100)]
package/gst1-validate: allow to use host-python3 and target python3

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gtest: bump to version 1.10.0
Carlos Santos [Mon, 28 Oct 2019 16:36:33 +0000 (13:36 -0300)]
package/gtest: bump to version 1.10.0

Drop custom gtest.pc and gmock.pc, already provided.

Add a post-install-staging hook to install the gmock-config script.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/icu: fix double conversion compile for xtensa
Peter Seiderer [Mon, 28 Oct 2019 21:06:54 +0000 (22:06 +0100)]
package/icu: fix double conversion compile for xtensa

Fixes [1]:

  In file included from double-conversion.h:42,
                   from number_decimalquantity.cpp:19:
  double-conversion-utils.h:121:2: error: #error Target architecture was not detected as supported by Double-Conversion.
   #error Target architecture was not detected as supported by Double-Conversion.

[1] http://autobuild.buildroot.net/results/fc331ae8e2484be6818f4fc334d3f8c9658fffdc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/qemu: enable xtensa support for host-qemu
Peter Seiderer [Mon, 28 Oct 2019 21:06:53 +0000 (22:06 +0100)]
package/qemu: enable xtensa support for host-qemu

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-sub-quote: bump to version 2.006006
Francois Perrad [Mon, 28 Oct 2019 19:25:20 +0000 (20:25 +0100)]
package/perl-sub-quote: bump to version 2.006006

license lives now in its own file

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-role-tiny: bump to version 2.001004
Francois Perrad [Mon, 28 Oct 2019 19:25:19 +0000 (20:25 +0100)]
package/perl-role-tiny: bump to version 2.001004

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-moo: bump to version 2.003006
Francois Perrad [Mon, 28 Oct 2019 19:25:18 +0000 (20:25 +0100)]
package/perl-moo: bump to version 2.003006

license lives now in its own file

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-mojolicious: bump to version 8.25
Francois Perrad [Mon, 28 Oct 2019 19:25:17 +0000 (20:25 +0100)]
package/perl-mojolicious: bump to version 8.25

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-mail-dkim: bump to version 0.57
Francois Perrad [Mon, 28 Oct 2019 19:25:16 +0000 (20:25 +0100)]
package/perl-mail-dkim: bump to version 0.57

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-libwww-perl: bump to version 6.41
Francois Perrad [Mon, 28 Oct 2019 19:25:15 +0000 (20:25 +0100)]
package/perl-libwww-perl: bump to version 6.41

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-http-daemon: bump to version 6.06
Francois Perrad [Mon, 28 Oct 2019 19:25:14 +0000 (20:25 +0100)]
package/perl-http-daemon: bump to version 6.06

license lives now in its own file

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/perl-http-cookies: bump to version 6.05
Francois Perrad [Mon, 28 Oct 2019 19:25:13 +0000 (20:25 +0100)]
package/perl-http-cookies: bump to version 6.05

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/glog: switch to cmake
Fabrice Fontaine [Mon, 28 Oct 2019 17:33:04 +0000 (18:33 +0100)]
package/glog: switch to cmake

Switch to cmake to fix a build failure on m68k with uclibc because
glog's configure tests wrongly thinks that -fPIE works

By switching to cmake, we can remove the patch as the unittests won't be
built anymore

We can also finely tune options such as gflags, threads and dynamic
library support. This last option is handled through the standard
BUILD_SHARED_LIBS option

Fixes:
 - http://autobuild.buildroot.net/results/5a659d960c24256a2905f129dfa70e3dc9e92aec

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/python-sentry-sdk: bump to version 0.13.1
Joseph Kogut [Mon, 28 Oct 2019 17:30:11 +0000 (10:30 -0700)]
package/python-sentry-sdk: bump to version 0.13.1

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libsigrok: fix libftdi support
Fabrice Fontaine [Mon, 28 Oct 2019 11:24:11 +0000 (12:24 +0100)]
package/libsigrok: fix libftdi support

libsigrok optionally depends on libftdi1, not libftdi. This was already
the case for a long time, but until the recent commit 01b30e5d69f, all
the configure options were wrong so it would use the automatic check for
availability of libftdi1. Now we pass the --with-libftdi option
explicitly, configure will fail if libftdi1 is not available.

Fixes:
 - http://autobuild.buildroot.net/results/ec1f9f57944139b24738c1be529c4fc4b128a516

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/duma: fix build with latest glibc
Fabrice Fontaine [Mon, 28 Oct 2019 09:41:27 +0000 (10:41 +0100)]
package/duma: fix build with latest glibc

Fixes:
 - http://autobuild.buildroot.net/results/c7de1a1d01edced2098a804ad87dcb67b5dc6832

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mender-artifact: bump to version 3.2.0
Adam Duskett [Mon, 28 Oct 2019 17:37:50 +0000 (10:37 -0700)]
package/mender-artifact: bump to version 3.2.0

Also moved License sha256sum.
  - vendor/github.com/mendersoftware/go-liblzma/LICENSE to
    vendor/github.com/remyoudompheng/go-liblzma/LICENSE

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mender: bump to version 2.1.1
Adam Duskett [Mon, 28 Oct 2019 17:37:49 +0000 (10:37 -0700)]
package/mender: bump to version 2.1.1

Also change License sha256sums.
Removed:
  - vendor/github.com/mendersoftware/log/COPYING
  - vendor/github.com/mendersoftware/scopestack/COPYING

Added:
  - vendor/golang.org/x/crypto/LICENSE
  - vendor/github.com/konsorten/go-windows-terminal-sequences/LICENSE

moved:
  - vendor/github.com/mendersoftware/go-liblzma/LICENSE to
    vendor/github.com/remyoudompheng/go-liblzma/LICENSE

  - vendor/github.com/Sirupsen/logrus/LICENSE to
    vendor/github.com/sirupsen/logrus/LICENSE

Updated:
  - vendor/github.com/mendersoftware/log/LICENSE: Changed from copyright mender
    software to Apache 2.0

  - vendor/github.com/mendersoftware/scopestack/LICENSE: Changed from copyright
    mender to Apache 2.0.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agotoolchain: expose BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS for all toolchain types
Matt Weber [Sun, 27 Oct 2019 20:59:02 +0000 (15:59 -0500)]
toolchain: expose BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS for all toolchain types

This patch extends the "copy extra GCC libraries to target" feature to
also work for internal toolchains. The variable has been renamed to be
BR2_TOOLCHAIN_EXTRA_LIBS and the configuration option moved under the
generic toolchain package. For external toolchains, the step that does
the copy is still in the copy_toolchain_lib_root() helper which copies
from the sysroot to the target.  For the internal toolchain, the host
gcc-final package does a post install hook to copy the libraries from
the toolchain build folders to both the sysroot and target(!static).

Examples where this can be useful is for adding debug libraries to the
target like the GCC libsanitizer (libasan/liblsan/...).

Cc: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agosupport/dependencies: set cmake version min to 3.10
James Hilliard [Sat, 12 Oct 2019 13:13:04 +0000 (07:13 -0600)]
support/dependencies: set cmake version min to 3.10

This is required by wpewebkit and webkitgtk.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agocmake: bump to version 3.15.4
James Hilliard [Sun, 27 Oct 2019 14:40:14 +0000 (08:40 -0600)]
cmake: bump to version 3.15.4

Remove FindLibUV patch which is now upstream.

Resync/reformat rename cmake rootfile patch for 3.15.4 with git
format-patch.

Copyright.txt has updated copyright year and added some authors.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/jitterentropy-library: fix build without ssp
Fabrice Fontaine [Mon, 28 Oct 2019 09:02:51 +0000 (10:02 +0100)]
package/jitterentropy-library: fix build without ssp

Fixes:
 - http://autobuild.buildroot.net/results/cba1ae830c7a4d1740098fe67aec59b4dc2f9a03

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agosupport/testing: switch to Python 3 only
Ricardo Martincoski [Sun, 27 Oct 2019 13:37:00 +0000 (13:37 +0000)]
support/testing: switch to Python 3 only

Python 2.7 will not be maintained past 2020.

Many scripts on the tree are used during the build and should keep
Python 2 compatibility for a while.
This is not the case for the runtime test infra. It's meant to be run in
modern distros only, so it can safely switch to support Python 3 only.

An advantage of this approach is to have less scenarios to test in.
Otherwise every change to the test infra or runtime tests would need to
be tested against both versions of the interpreter, increasing the
effort of the developers, to ensure the compatibility to Python 2 was
not broken.

In order to accomplish the change to Python 3:
 - change the shebang for run-tests;
 - use Python 3 urllib as a drop-in replacement for Python 2 urllib2;
 - when writing the downloaded binary files, explicitly open the output
   file as binary;
 - when subprocess is used to retrieve the text output from commands,
   explicitly ask for text output. For this, use 'universal_newlines'
   because 'text' was added only on Python 3.7;
 - when pexpect is used to retrieve the text output from qemu or git,
   explicitly ask for text output using 'encoding';
 - the code using csv currently follows the example in the documentation
   for the Python 2 module, change it to follow the example in the
   documentation for the Python 3 module;
 - fix the relative import for test_git.py to be Python 3 compliant.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Romain Naour <romain.naour@smile.fr>
Tested-by: Nicolas Carrier <nicolas.carrier@orolia.com>
Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libsemanage: fix build with python 3.8
Fabrice Fontaine [Mon, 28 Oct 2019 12:53:21 +0000 (13:53 +0100)]
package/libsemanage: fix build with python 3.8

Fixes:
 - http://autobuild.buildroot.net/results/ad1f033def500b4354dc6261c8411f83420c409d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/collectd: add lvm support
Fabrice Fontaine [Mon, 10 Jun 2019 15:45:30 +0000 (17:45 +0200)]
package/collectd: add lvm support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/collectd: add onewire support
Fabrice Fontaine [Mon, 10 Jun 2019 15:45:29 +0000 (17:45 +0200)]
package/collectd: add onewire support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/collectd: add grpc support
Fabrice Fontaine [Mon, 10 Jun 2019 15:45:28 +0000 (17:45 +0200)]
package/collectd: add grpc support

Use --with-libgrpc++ option as otherwise collectd will try to find
grpc++.pc which is not available

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoConfig.in: disable PIC/PIE if the toolchain does not support PIE
Fabrice Fontaine [Sun, 27 Oct 2019 22:03:34 +0000 (23:03 +0100)]
Config.in: disable PIC/PIE if the toolchain does not support PIE

m68k does not seem to really support PIE as it raises the following
build failure with aer-inject:
/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/7.4.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot/usr/lib/Scrt1.o: in function `lib_main':
(.text+0x4): undefined reference to `__shared_flat_add_library'
/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/7.4.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: final link failed: bad value

We also have another build failure with uclibc on microblazeel:
/home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/8.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
Makefile.in:114: recipe for target '../utils/getconf' failed

So add a BR2_TOOLCHAIN_SUPPORTS_PIE dependency on BR2_PIC_PIE

Fixes:
 - http://autobuild.buildroot.net/results/4cdd6f0368cc9d3c6e88f01b1a8929eb0839b638
 - http://autobuild.buildroot.net/results/a82a484409149d7f9aff6140ddcb89f627f508c7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/go: security bump to version 1.13.3
Peter Korsgaard [Sun, 27 Oct 2019 21:27:28 +0000 (22:27 +0100)]
package/go: security bump to version 1.13.3

Fixes the following security issues (1.33.2):

- CVE-2019-17596: Invalid DSA public keys can cause a panic in dsa.Verify.
  In particular, using crypto/x509.Verify on a crafted X.509 certificate
  chain can lead to a panic, even if the certificates don’t chain to a
  trusted root.  The chain can be delivered via a crypto/tls connection to a
  client, or to a server that accepts and verifies client certificates.
  net/http clients can be made to crash by an HTTPS server, while net/http
  servers that accept client certificates will recover the panic and are
  unaffected.

Additionally, 1.13.3 fixes a number of issues. From the release notes:

Fixes to the go command, the toolchain, the runtime, syscall, net, net/http,
and crypto/ecdsa packages

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python: add option to build on the host
Nicolas Carrier [Fri, 20 Sep 2019 14:59:39 +0000 (14:59 +0000)]
package/python: add option to build on the host

Some python scripts may be ran in the custom scripts a user can define
in the config. Allow the user to enable host-python explicitly.

If any of those require ssl, they will fail with no possible fix.
Add an option to enable openssl as well. This is made optional because
openssl significantly increases the build time.

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/python3: add option to build on the host
Nicolas Carrier [Fri, 20 Sep 2019 14:59:39 +0000 (14:59 +0000)]
package/python3: add option to build on the host

Some python scripts may be ran in the custom scripts a user can define
in the config. Allow the user to enable host-python3 explicitly.

If any of those require ssl, they will fail with no possible fix.
Add an option to enable openssl as well. This is made optional because
openssl significantly increases the build time.

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agogitlab-ci: use our updated docker base image
Yann E. MORIN [Sun, 27 Oct 2019 20:45:04 +0000 (21:45 +0100)]
gitlab-ci: use our updated docker base image

It has python3 and nose for python3! :-)

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agogitlab-ci: regenerate after new defconfig addition
Yann E. MORIN [Sun, 27 Oct 2019 20:45:03 +0000 (21:45 +0100)]
gitlab-ci: regenerate after new defconfig addition

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/chrony: add option for debug logging
Robert Hancock [Wed, 29 May 2019 23:18:06 +0000 (17:18 -0600)]
package/chrony: add option for debug logging

Add a BR2_PACKAGE_CHRONY_DEBUG_LOGGING config option to allow enabling
compiled-in support for debug logging in Chrony.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
[Arnout: don't enable by default]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoboot/uboot: add missing spaces around variable assignment
Thomas Petazzoni [Sun, 27 Oct 2019 20:31:44 +0000 (21:31 +0100)]
boot/uboot: add missing spaces around variable assignment

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoboot/uboot: fix the help text of BR2_TARGET_UBOOT_ENVIMAGE_SOURCE
Thomas Petazzoni [Sun, 27 Oct 2019 20:31:43 +0000 (21:31 +0100)]
boot/uboot: fix the help text of BR2_TARGET_UBOOT_ENVIMAGE_SOURCE

In commit 2c8ff251cb16d38fb417a488ee0367cd03eebda2 ("boot/uboot: add
option to generate env image from default env"), the possibility of
generating an environment image using the built-in U-Boot environment
as a source was added.

This is meant to happen when the string option
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE is empty, but the original commit
added the Config.in help text to BR2_TARGET_UBOOT_ENVIMAGE, which is a
boolean option, and therefore cannot be empty.

Move the help text to BR2_TARGET_UBOOT_ENVIMAGE_SOURCE, where it
belongs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ngrep: relace '_' by '.' in version
Fabrice Fontaine [Sun, 27 Oct 2019 19:32:24 +0000 (20:32 +0100)]
package/ngrep: relace '_' by '.' in version

In order for the ngrep version to match what is given by
release-monitoring.org, replace '_' by '.' in NGREP_VERSION

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uvw: disable CMake pthread test
Asaf Kahlon [Sun, 27 Oct 2019 20:30:27 +0000 (22:30 +0200)]
package/uvw: disable CMake pthread test

Fixes:
 - http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gpsd: Fix systemd service installation and paths
Robert Hancock [Wed, 29 May 2019 23:02:41 +0000 (17:02 -0600)]
package/gpsd: Fix systemd service installation and paths

Fix several issues with systemd service file installation for gpsd:

- systemd support in the gpsd build was defaulting to enabled or not
based on whether the host system had systemd directories present. Set
this explicitly based on whether BR2_INIT_SYSTEMD is set.

- The installed systemd service files referenced paths in /usr/local when
the actual binaries are installed in /usr. Replace /usr/local with /usr
in the installed service files.

- When BR2_PACKAGE_HAS_UDEV was enabled, all of the binaries were
re-installed again, along with the udev rules, as part of the
post-install hooks. This overwrites the service files that were just
fixed up. Since udev-install implies install, we can just call
udev-install.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/busybox: udhcpc.script: wait for ipv6 default route from RA for stateful...
Samuel Mendoza-Jonas [Tue, 21 May 2019 02:54:28 +0000 (12:54 +1000)]
package/busybox: udhcpc.script: wait for ipv6 default route from RA for stateful DHCPv6

udhcpc6 implements "stateful" DHCPv6 for explicitly requesting an address
and other configuration information. A major difference between DHCPv4
and DHCPv6 is that DHCPv6 does *not* advertise a default route; this is
determined by normal IPv6 autoconfiguration.

Add logic to wait up to IF_WAIT_DELAY seconds for the IPv6 route to be
configured; as above this doesn't come from DHCPv6 but rather the IPv6
Router Advertisement (RA) which happens independently from udhcpc6.  The
intent here is to try and ensure that the interface is route-able upon the
script's completion as it would be if called from udhcpc.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/busybox: update udhcpc.script for stateful DHCPv6
Samuel Mendoza-Jonas [Tue, 21 May 2019 02:54:27 +0000 (12:54 +1000)]
package/busybox: update udhcpc.script for stateful DHCPv6

udhcpc6 will call the default script with the stateful address set in the
"ipv6" variable.  Set "ip" to this address if present, using the /128 prefix
used by stateful DHCPv6 so the existing renew/bound logic can be used like
in DHCPv4.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosupport/docker: add python3
Ricardo Martincoski [Sun, 27 Oct 2019 13:36:53 +0000 (13:36 +0000)]
support/docker: add python3

The test infra will soon be converted to Python 3 only.
So add the interpreter and also the Python 3 variant of modules nose2
and pexpect to the docker image used to run runtime tests.

Keep the Python 2 variant of those modules to allow a gradual
transition.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: test full set of hardening options
Matt Weber [Sun, 27 Oct 2019 16:13:24 +0000 (11:13 -0500)]
utils/genrandconfig: test full set of hardening options

This patch adds the remaining ssp and relro cases plus both of the
fortify options. The randomization was left consistant between the
options but the order of the conditions placed the most restrictive
hardening options with more priority.

Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>