buildroot.git
4 years agopackage/python-iptables: add explicit dependency on dynamic libs
Frank Vanbever [Wed, 11 Mar 2020 10:54:44 +0000 (11:54 +0100)]
package/python-iptables: add explicit dependency on dynamic libs

The package uses ctypes.CDLL extensively which only makes sense when dynamic
libraries are available.

Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/strace: fix build without fork
Fabrice Fontaine [Tue, 14 Apr 2020 11:56:41 +0000 (13:56 +0200)]
package/strace: fix build without fork

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkcs11-helper: needs dynamic library
Fabrice Fontaine [Tue, 14 Apr 2020 12:07:15 +0000 (14:07 +0200)]
package/pkcs11-helper: needs dynamic library

pkcs11-helper unconditionally use dlfcn.h in lib/pkcs11h-core.c

Fixes:
 - http://autobuild.buildroot.org/results/3411074765312e67dab0f71876a254721911714f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xorgproto: bump version to 2020.1
Bernd Kuhls [Tue, 14 Apr 2020 18:47:57 +0000 (20:47 +0200)]
package/x11r7/xorgproto: bump version to 2020.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/comix-cursors: bump version to 0.9.1
Bernd Kuhls [Tue, 14 Apr 2020 17:02:35 +0000 (19:02 +0200)]
package/comix-cursors: bump version to 0.9.1

Changelog: https://gitlab.com/limitland/comixcursors/-/blob/master/NEWS

Original repository was moved to gitlab.com, changed _SITE accordingly.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mbedtls: security bump to version 2.16.6
Fabrice Fontaine [Tue, 14 Apr 2020 16:44:48 +0000 (18:44 +0200)]
package/mbedtls: security bump to version 2.16.6

- Fix CVE-2020-10932: fix side channel in ECC code that allowed an
  adversary with access to precise enough timing and memory access
  information (typically an untrusted operating system attacking a
  secure enclave) to fully recover an ECDSA private key.
- Fix a potentially remotely exploitable buffer overread in a DTLS
  client when parsing the Hello Verify Request message.
- Fix bug in DTLS handling of new associations with the same parameters
  (RFC 6347 section 4.2.8): after sending its HelloVerifyRequest, the
  server would end up with corrupted state and only send invalid records
  to the client. An attacker able to send forged UDP packets to the
  server could use that to obtain a Denial of Service. This could only
  happen when MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE was enabled in
  config.h (which it is by default).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/check: bump version to 0.14.0
Bernd Kuhls [Tue, 14 Apr 2020 16:36:31 +0000 (18:36 +0200)]
package/check: bump version to 0.14.0

Release notes: https://github.com/libcheck/check/releases/tag/0.14.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ccache: bump version to 3.7.9
Bernd Kuhls [Tue, 14 Apr 2020 16:32:43 +0000 (18:32 +0200)]
package/ccache: bump version to 3.7.9

Release notes: https://ccache.dev/releasenotes.html#_ccache_3_7_9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/btrfs-progs: bump version to 5.6
Bernd Kuhls [Tue, 14 Apr 2020 16:15:11 +0000 (18:15 +0200)]
package/btrfs-progs: bump version to 5.6

Changelog:
https://btrfs.wiki.kernel.org/index.php/Changelog#By_version_.28btrfs-progs.29

Removed patches applied upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=9a03f6d41f8e6b3312dc0c87563d8dbd10eafafe
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=4b3e22e988c26c6c814f9ad3f50f493cd4d9dd2a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/brltty: bump version to 6.1
Bernd Kuhls [Tue, 14 Apr 2020 16:06:36 +0000 (18:06 +0200)]
package/brltty: bump version to 6.1

Changelog: https://brltty.app/doc/ChangeLog.txt

Removed patches committed upstream:
https://github.com/brltty/brltty/commit/0414ad2b4e8978a14343d920a5a1f11da892eaf3
https://github.com/brltty/brltty/commit/a2e3aa25e8ef5044422aeeaa65968f97550b5e8d

Updated hash of README due to non-license related commits:
https://github.com/brltty/brltty/commits/master/README

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/botan: bump version to 2.14.0
Bernd Kuhls [Tue, 14 Apr 2020 15:55:41 +0000 (17:55 +0200)]
package/botan: bump version to 2.14.0

Release notes: https://botan.randombit.net/news.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/bitstream: bump version to 1.5
Bernd Kuhls [Tue, 14 Apr 2020 15:43:13 +0000 (17:43 +0200)]
package/bitstream: bump version to 1.5

Release notes:
https://mailman.videolan.org/pipermail/bitstream-devel/2018-November/000116.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cbor2: bump to version 5.1.0
James Hilliard [Mon, 13 Apr 2020 23:53:33 +0000 (17:53 -0600)]
package/python-cbor2: bump to version 5.1.0

Add missing host-python-setuptools-scm dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cbor2: needs host-python-setuptools-scm
Asaf Kahlon [Tue, 14 Apr 2020 06:59:15 +0000 (09:59 +0300)]
package/python-cbor2: needs host-python-setuptools-scm

Fixes:
  http://autobuild.buildroot.net/results/124e1e628c78449fbaa027d74ab871b36d782343/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-jinja2: bump to version 2.11.2
James Hilliard [Tue, 14 Apr 2020 02:00:50 +0000 (20:00 -0600)]
package/python-jinja2: bump to version 2.11.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-influxdb: bump to version 5.3.0
James Hilliard [Tue, 14 Apr 2020 01:55:49 +0000 (19:55 -0600)]
package/python-influxdb: bump to version 5.3.0

As of upstream commit 3a5e6219a2b62af076caa4f37fab9258165ec266 msgpack
is now required.

License hash change is due to date update in upstream commit
cf83d1d429ecebb093f6eaab773bd41c251530ca.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-h2: bump to version 3.2.0
James Hilliard [Tue, 14 Apr 2020 01:49:20 +0000 (19:49 -0600)]
package/python-h2: bump to version 3.2.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-flatbuffers: bump to version 1.12
James Hilliard [Tue, 14 Apr 2020 01:46:14 +0000 (19:46 -0600)]
package/python-flatbuffers: bump to version 1.12

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-engineio: bump to version 3.12.1
James Hilliard [Tue, 14 Apr 2020 01:43:13 +0000 (19:43 -0600)]
package/python-engineio: bump to version 3.12.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crossbar: bump to version 20.4.1
James Hilliard [Tue, 14 Apr 2020 01:39:26 +0000 (19:39 -0600)]
package/python-crossbar: bump to version 20.4.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-httplib2: bump to version 0.17.2
James Hilliard [Tue, 14 Apr 2020 01:33:56 +0000 (19:33 -0600)]
package/python-httplib2: bump to version 0.17.2

License hash change is due to httplib2 package version number update.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-certifi: bump to version 2020.4.5.1
James Hilliard [Tue, 14 Apr 2020 01:26:24 +0000 (19:26 -0600)]
package/python-certifi: bump to version 2020.4.5.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-autobahn: bump to version 20.4.1
James Hilliard [Tue, 14 Apr 2020 01:22:42 +0000 (19:22 -0600)]
package/python-autobahn: bump to version 20.4.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/grep: bump to version 3.4
Baruch Siach [Mon, 13 Apr 2020 13:09:52 +0000 (16:09 +0300)]
package/grep: bump to version 3.4

Format hash file with two spaces delimiter.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dnsmasq: bump to version 2.81
Baruch Siach [Mon, 13 Apr 2020 04:24:24 +0000 (07:24 +0300)]
package/dnsmasq: bump to version 2.81

Drop upstream patches.

Remove CVE annotation; issue fixed upstream.

Depend on MMU. Upstream removed support for fork-less targets (commit
48d12f14c9c).

Reformat hashes file with two spaces delimiter. Remove stale 2.79
tarball hash entry.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exim: fix log and pid file paths
Pascal de Bruijn [Mon, 2 Mar 2020 10:19:02 +0000 (11:19 +0100)]
package/exim: fix log and pid file paths

By default, exim stores its PID file in /var/spool/exim, and its log
file in /var/spool/exim/log, but it makes a lot more sense to have the
logs in /var/log/exim and the PID file in /var/run/exim.

Using binary name subdirectory in both cases allows for the use of
systemd's LogsDirectory and RuntimeDirectory statements

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libopenh264: bump version to 2.1.0
Bernd Kuhls [Mon, 13 Apr 2020 10:17:13 +0000 (12:17 +0200)]
package/libopenh264: bump version to 2.1.0

Removed patch applied upstream in updated form:
https://github.com/cisco/openh264/commit/2122fe08cc8fe69899c3e257d0ee030c28a64174

Added new patch to fix subsequent build error on mips.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/privoxy: bump to version 3.0.28
Fabrice Fontaine [Sun, 1 Mar 2020 08:52:47 +0000 (09:52 +0100)]
package/privoxy: bump to version 3.0.28

- Update indentation of hash file (two spaces)
- Add sha256 hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-greenlet: new package
James Hilliard [Fri, 1 Nov 2019 08:01:35 +0000 (02:01 -0600)]
package/python-greenlet: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Thomas: add PSF-2.0 to the licenses and LICENSE.PSF to the license files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/unrar: bump version to 5.9.2
Bernd Kuhls [Mon, 13 Apr 2020 13:05:51 +0000 (15:05 +0200)]
package/unrar: bump version to 5.9.2

Release notes: https://www.rarlab.com/rarnew.htm

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/lzip: bump version to 1.21
Bernd Kuhls [Mon, 13 Apr 2020 12:57:25 +0000 (14:57 +0200)]
package/lzip: bump version to 1.21

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sg3_utils: bump version to 1.45
Bernd Kuhls [Mon, 13 Apr 2020 12:53:04 +0000 (14:53 +0200)]
package/sg3_utils: bump version to 1.45

Changelog: http://sg.danny.cz/sg/p/ChangeLog

Removed patch applied upstream:
https://github.com/hreinecke/sg3_utils/commit/180a604b564ca4b3cb972f6d29e1492aa6698896#diff-480477e89f9b6ddafb30c4383dcdd705

Updated BSD license hash due to switch to 2-clause license:
https://github.com/hreinecke/sg3_utils/commit/cb84e1efb96c52dcaae41e9b62b8628bca3c87a4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/collectd: add init script for SysV
Asaf Kahlon [Thu, 31 Oct 2019 20:28:59 +0000 (22:28 +0200)]
package/collectd: add init script for SysV

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Carlos Santos <unixmania@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nanopi_r1: new defconfig
Davide Viti [Sun, 27 Oct 2019 19:50:46 +0000 (20:50 +0100)]
configs/nanopi_r1: new defconfig

Add initial support for Nanopi R1 board with below features:

  - U-Boot 2019.01
  - Linux 5.0
  - Default packages from buildroot

Configuration files taken from Armbian:

  https://github.com/armbian/build/blob/master/patch

Signed-off-by: Davide Viti <zinosat@gmail.com>
[Thomas: move U-Boot config and DT to board/friendlyarm/nanopi-r1/uboot/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lsscsi: bump version to 0.31
Bernd Kuhls [Mon, 13 Apr 2020 12:53:03 +0000 (14:53 +0200)]
package/lsscsi: bump version to 0.31

Changelog: http://sg.danny.cz/scsi/lsscsi.ChangeLog

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/alsa-utils: bump version to 1.2.2
Bernd Kuhls [Mon, 13 Apr 2020 11:53:02 +0000 (13:53 +0200)]
package/alsa-utils: bump version to 1.2.2

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/alsa-lib: bump version to 1.2.2
Bernd Kuhls [Mon, 13 Apr 2020 11:53:01 +0000 (13:53 +0200)]
package/alsa-lib: bump version to 1.2.2

Changelog: https://www.alsa-project.org/wiki/Changes_v1.2.1.2_v1.2.2

Removed patch applied upstream:
https://github.com/alsa-project/alsa-lib/commit/8e2c70add782f997f7c269ed3f722888e56ff024

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libglfw: bump version to 3.3.2
Bernd Kuhls [Mon, 13 Apr 2020 11:43:37 +0000 (13:43 +0200)]
package/libglfw: bump version to 3.3.2

Changelog: https://www.glfw.org/changelog.html

Updated license hash due to upstream commit:
https://github.com/glfw/glfw/commit/f764836e58ec47b7e105687630c75f8161ffcaa8

xlib_libXi is now a mandatory dependency:
https://github.com/glfw/glfw/commit/9cc83cf07f47ac8acf46ae12f0f9312fe39cfd6e
https://github.com/glfw/glfw/commit/b383e70021bc875e6fb5c1a693e5aa85fbc160d5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libva-utils: switch back to upstream-provided tarball
Bernd Kuhls [Mon, 13 Apr 2020 13:47:12 +0000 (15:47 +0200)]
package/libva-utils: switch back to upstream-provided tarball

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libva: switch back to upstream-provided tarball
Bernd Kuhls [Mon, 13 Apr 2020 13:47:13 +0000 (15:47 +0200)]
package/libva: switch back to upstream-provided tarball

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions
Francois Perrad [Mon, 13 Apr 2020 18:05:18 +0000 (20:05 +0200)]
configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lldpd: bump to version 1.0.5
Baruch Siach [Mon, 13 Apr 2020 16:54:57 +0000 (19:54 +0300)]
package/lldpd: bump to version 1.0.5

Add tarball signature information.

Use https for site.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libkrb5: bump to 1.18.1
André Hentschel [Mon, 13 Apr 2020 16:05:03 +0000 (18:05 +0200)]
package/libkrb5: bump to 1.18.1

The hash of the NOTICE file has changed due to update in copyright year

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uboot-tools: bump to version 2020.04
Pierre-Jean Texier [Mon, 13 Apr 2020 15:38:22 +0000 (17:38 +0200)]
package/uboot-tools: bump to version 2020.04

- Bump to version 2020.04

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/uboot: bump to version 2020.04
Pierre-Jean Texier [Mon, 13 Apr 2020 15:38:21 +0000 (17:38 +0200)]
boot/uboot: bump to version 2020.04

See https://lists.denx.de/pipermail/u-boot/2020-April/406522.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libssh: security bump to version 0.9.4
Baruch Siach [Mon, 13 Apr 2020 14:47:24 +0000 (17:47 +0300)]
package/libssh: security bump to version 0.9.4

Fixes CVE-2020-1730: Possible DoS in client and server when handling
AES-CTR keys with OpenSSL.

Format hash file with two spaces delimiter.

Cc: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agogitlab.yml.in*: enable Qemu gitlab testing
Jugurtha BELKALEM [Mon, 17 Feb 2020 20:50:30 +0000 (21:50 +0100)]
gitlab.yml.in*: enable Qemu gitlab testing

Used to launch qemu tests for various qemu architectures.
Neverthless to say that this file skips any other job
different from qemu (only qemu configurations are
runtime tested).

Add the log generated by Qemu to the build artefacts.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/scripts/boot-qemu-image.py: boot Qemu images with Qemu-system.
Jugurtha BELKALEM [Mon, 17 Feb 2020 20:50:29 +0000 (21:50 +0100)]
support/scripts/boot-qemu-image.py: boot Qemu images with Qemu-system.

This script is intended to be used by gitlab CI to test at runtime Qemu
images generated by Buildroot's Qemu defconfigs.

This allows to troubleshoot different issues that may be associated with
defective builds by lanching a qemu machine, sending root password,
waiting for login shell and then perform a shutdown.

This script is inspired by toolchain builder [1] and the Buildroot
testing infrastructure.

The gitlab CI will call this script for each defconfig build but only
Qemu defconfig will be runtime tested, all others defconfig are ignored.

Some Qemu defconfig must be used with a specific Qemu version (fork)
that is not always available, so the script doesn't error out when it
can't spawn a missing command. That condition is anyway printed in the
log.

Finally, the script start Qemu like it's done for the Buildroot
testing infrastructure (using pexpect).

Note:
We noticed some timeout issues with pexpect when the Qemu machine is
powered off. That's because Qemu process doesn't stop even if the
system is halted (after "System halted"). So the script doesn't error
out when such timeout occure. The behaviour depends on the architecture
emulated by Qemu.

[1] https://github.com/bootlin/toolchains-builder/blob/master/build.sh

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/qemu*: use the post-image script with "$(BR2_DEFCONFIG)" as argument.
Romain Naour [Mon, 17 Feb 2020 20:50:28 +0000 (21:50 +0100)]
configs/qemu*: use the post-image script with "$(BR2_DEFCONFIG)" as argument.

This commit allow to use the post-image script previously added
for each qemu board.

Add "$(BR2_DEFCONFIG)" as post-image script argument to retried
the qemu command line.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/qemu: add post-image script for gitlab qemu testing
Romain Naour [Mon, 17 Feb 2020 20:50:27 +0000 (21:50 +0100)]
board/qemu: add post-image script for gitlab qemu testing

This commit add a post-image script to be used by each qemu board
defconfig in order to generate start-qemu.sh in BINARIES_DIR. The
start-qemu.sh script can be used by Buildroot user to start Qemu
or by a gitlab CI.

To find the correct qemu command line, we use the second post script
argument which must contain "$(BR2_DEFCONFIG)"

    BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"

The post-image script expect something like
"/path/to/qemu_aarch64_virt_defconfig" in BR2_DEFCONFIG.

Doing a basename allow to retrieve the name of the defconfig file that
should match on on the "tag" previously introduced in readme.txt files.

For running in the CI, as well as running from a remote machine (e.g. on
a remote build machine), it is better not to start in graphical mode,
but only with the serial line attached to the terminal. The post-build
script prepares two sets of arguments for each case, graphical or
serial, and stores them in the start-qemu.sh script, which then decodes
which to use, based on an argument on the command line (default is still
graphical)

sh4/sh4eb needs a special handling by adding "-serial stdio -display
none"; others only require "-nographics". Some qemu command lines
already contain "-serial stdio", but that does not play nicely with
"-nographics", we remove that when going serial-only (although this
might seem counter-intuitive).

Finally, we ensure the script uses our qemu-system (if it was built).

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[yann.morin.1998@free.fr:
  - drop the knowledge about gitlab-ci, replace with an argument to
    pass to start-qemu.sh
  - adapt the commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/qemu: add defconfig file name as tag after the qemu command line
Romain Naour [Mon, 17 Feb 2020 20:50:26 +0000 (21:50 +0100)]
board/qemu: add defconfig file name as tag after the qemu command line

This commit add the name of the Qemu defconfig file after each
qemu command line in order to retrieve it easily.

Since a readme.txt can be shared between several Qemu defconfig, we
need at least one qemu command line in readme.txt for each defconfig.

For now, ignore the qemu_arm_vexpress_tz_defconfig since it fail to build
due to python script issue [1]. Anyway the arm vexpress boot is tested
with qemu_arm_vexpress_defconfig.

[1] http://lists.busybox.net/pipermail/buildroot/2020-February/273738.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/udoo/neo: create boot.scr in TARGET_DIR/boot
Thomas Petazzoni [Mon, 13 Apr 2020 19:49:13 +0000 (21:49 +0200)]
board/udoo/neo: create boot.scr in TARGET_DIR/boot

There is no reason to create boot.scr in board/udoo/neo and later
install it in TARGET_DIR/boot, leaving a stale file behind.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/solidrun/mx6cubox: create boot.scr in TARGET_DIR/boot
Thomas Petazzoni [Mon, 13 Apr 2020 19:46:23 +0000 (21:46 +0200)]
board/solidrun/mx6cubox: create boot.scr in TARGET_DIR/boot

There is no reason to create boot.scr in board/solidrun/mx6cubox and
later install it in TARGET_DIR/boot, leaving a stale file behind.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/wandboard/post-build.sh: create boot.scr at TARGET_DIR/boot
Carlos Santos [Sat, 12 Oct 2019 23:30:41 +0000 (20:30 -0300)]
board/wandboard/post-build.sh: create boot.scr at TARGET_DIR/boot

There is no reason to create boot.scr at board/wandboard and later
install it at TARGET_DIR/boot, leaving a stale file behind.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-keyring: bump to version 19.2.0
Asaf Kahlon [Mon, 21 Oct 2019 13:40:31 +0000 (16:40 +0300)]
package/python-keyring: bump to version 19.2.0

* Update dependency list withn python-entrypoints.
* The need for Python 3.x is no longer only related to
  python-secretstorage: python-keyring itself also works only with
  Python 3.x

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsoundtouch: bump to version 2.1.2
Gilles Talis [Sun, 29 Sep 2019 09:42:46 +0000 (11:42 +0200)]
package/libsoundtouch: bump to version 2.1.2

- Updated download site and download method
- The hash of the license file is updated due to a newline change at
  the end of the file

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/azure-iot-sdk-c: also install libparson
Stephan Hoffmann [Mon, 13 Apr 2020 13:43:42 +0000 (15:43 +0200)]
package/azure-iot-sdk-c: also install libparson

The package builds libparson, but does not install it, let's fix this.

Signed-off-by: Stephan Hoffmann <stephan.hoffmann@ext.grandcentrix.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/azure-iot-sdk-c: fix installation of libumqtt
Stephan Hoffmann [Mon, 13 Apr 2020 13:22:31 +0000 (15:22 +0200)]
package/azure-iot-sdk-c: fix installation of libumqtt

Unlike the other libraries built by azure-iot-sdk-c, libumqtt follows
a regular versioning scheme. It has a libumqtt.so.1 SONAME, with
libumqtt.so.1 being a symlink to libumqtt.so.1.1.11.

However, we currently install the library itself as libumqtt.so to the
target filesystem, which is not its SONAME, which means it cannot be
found by any other library/program linked against it.

This commit fixes that by installing the library as
libumqtt.so.1.1.11, and creating the appropriate symlinks. The static
library installation is not modified.

Signed-off-by: Stephan Hoffmann <stephan.hoffmann@ext.grandcentrix.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/azure-iot-sdk-c: create function for library installation
Thomas Petazzoni [Mon, 13 Apr 2020 13:17:21 +0000 (15:17 +0200)]
package/azure-iot-sdk-c: create function for library installation

As a preparation for adding the creation of some symlinks, let's
factor the library installation into a function.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/azure-iot-sdk-c: use full destination path for $(INSTALL)
Thomas Petazzoni [Mon, 13 Apr 2020 12:57:01 +0000 (14:57 +0200)]
package/azure-iot-sdk-c: use full destination path for $(INSTALL)

The canonical way to use $(INSTALL) is to have a full destination
path, that includes the file name.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/azure-iot-sdk-c: format the libraries list with one lib per line
Thomas Petazzoni [Mon, 13 Apr 2020 12:54:44 +0000 (14:54 +0200)]
package/azure-iot-sdk-c: format the libraries list with one lib per line

This makes it easier to review patches modifying these lists of
libraries, such as:

  http://patchwork.ozlabs.org/project/buildroot/patch/20190923115206.4468-1-stephan.hoffmann@ext.grandcentrix.net/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-modbus-tk: new package
Pierre-Jean Texier [Tue, 17 Sep 2019 17:51:31 +0000 (19:51 +0200)]
package/python-modbus-tk: new package

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: bump to 1.1.0, adjust license information]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apache: atomic creation of pid file.
Nicolas Carrier [Mon, 23 Sep 2019 07:47:27 +0000 (07:47 +0000)]
package/apache: atomic creation of pid file.

The original pattern for creating the pid file was:
open_create(pid_file)
write(pid_file, pid)
close(pid_file)

But if a power outage occurs between open_create and write, the file will
be empty and httpd will refuse to start afterwards unless the corrupt pid
file is removed.

This patch uses the pattern:
open_create(temp_pid_file)
write(temp_pid_file)
close(temp_pid_file)
rename(temp_pid_file, pid_file)
which is guaranteed to be atomic, provided that temp_pid_file and pid_file
are located in the same file system, which this patch does by creating
a temporary file name with the pattern:
    pid_file_name + random_suffix

Patch is upstream as of
https://github.com/apache/httpd/commit/dd10a9352e87a868ad527022bbafdc3b82cc6d0a,
which will be in the next 2.5.x version.

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
[Thomas: update to use upstreamed patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/strace: bump to version 5.6
Baruch Siach [Mon, 13 Apr 2020 07:47:52 +0000 (10:47 +0300)]
package/strace: bump to version 5.6

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libhdhomerun: bump version to 20200225
Bernd Kuhls [Mon, 13 Apr 2020 07:46:16 +0000 (09:46 +0200)]
package/libhdhomerun: bump version to 20200225

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tinyxml2: bump version to 8.0.0
Bernd Kuhls [Mon, 13 Apr 2020 07:43:15 +0000 (09:43 +0200)]
package/tinyxml2: bump version to 8.0.0

Switched license file to LICENSE.txt due to upstream commit:
https://github.com/leethomason/tinyxml2/commit/db39dbc0fdf0376674b0fd94a6ff9f16a4d5b174

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/utf8proc: bump version to 2.5.0
Bernd Kuhls [Mon, 13 Apr 2020 07:38:44 +0000 (09:38 +0200)]
package/utf8proc: bump version to 2.5.0

Changelog: https://github.com/JuliaStrings/utf8proc/blob/master/NEWS.md

Updated license hash due to upstream commit:
https://github.com/JuliaStrings/utf8proc/commit/0dc0fcf8db4ae2ff1971d4f0f86a2d83b14d863d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/vlc: bump version to 3.0.9.2
Bernd Kuhls [Mon, 13 Apr 2020 07:34:13 +0000 (09:34 +0200)]
package/vlc: bump version to 3.0.9.2

Changelog:
http://git.videolan.org/?p=vlc/vlc-3.0.git;a=blob_plain;f=NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/vnstat: bump version to 2.6
Bernd Kuhls [Mon, 13 Apr 2020 07:25:17 +0000 (09:25 +0200)]
package/vnstat: bump version to 2.6

Changelog: https://humdi.net/vnstat/CHANGES

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xdriver_xf86-video-geode: bump version to 2.11.20
Bernd Kuhls [Mon, 13 Apr 2020 07:20:45 +0000 (09:20 +0200)]
package/x11r7/xdriver_xf86-video-geode: bump version to 2.11.20

Removed patches applied upstream:
https://cgit.freedesktop.org/xorg/driver/xf86-video-geode/commit/?id=09aaa3d1fae4aeb099b16e7a046151761bcdea95
https://cgit.freedesktop.org/xorg/driver/xf86-video-geode/commit/?id=8382e6bb0c76a8029493eae3f2d7a3dbfd0cfc12

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mbuffer: fix include to get 'struct timespec'
Thomas Petazzoni [Mon, 13 Apr 2020 08:27:35 +0000 (10:27 +0200)]
package/mbuffer: fix include to get 'struct timespec'

This commit adds a patch for mbuffer that fixes the build with older
glibc versions, by making sure we abide by the standards to get the
definition of 'struct timespec'.

Fixes:

  http://autobuild.buildroot.net/results/598a3c22dfff7915db4ac2cb1fae0dec67cc0f7e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mc: fix typo BR2_PACKAGE_GMP -> BR2_PACKAGE_GPM
Thomas Petazzoni [Mon, 13 Apr 2020 07:49:57 +0000 (09:49 +0200)]
package/mc: fix typo BR2_PACKAGE_GMP -> BR2_PACKAGE_GPM

Commit 9cae8f557b9d3f18ccf3694155f452d6b55de5f6 introduced an optional
dependency on GPM, but got the name of the option wrong, and used
GMP. In fact, even the commit title was wrong.

This causes a build failure:

Makefile:578: *** gpm is in the dependency chain of mc that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

Fixes:

  http://autobuild.buildroot.net/results/52fb92ae7dd55cba7d19862bb6cd89c80da9a4b6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openvpn: add pkcs11 support
Adam Duskett [Wed, 30 Oct 2019 00:56:04 +0000 (17:56 -0700)]
package/openvpn: add pkcs11 support

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

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkcs11-helper: new package
Adam Duskett [Wed, 30 Oct 2019 00:56:03 +0000 (17:56 -0700)]
package/pkcs11-helper: new package

pkcs11-helper is a library that simplifies the interaction with
PKCS#11 providers for end-user applications. Pkcs11-helper allows
using multiple PKCS#11 providers at the same time, enumerating
available token certificates, or selecting a certificate directly by
serialized id, handling card removal and card insert events, handling
card re-insert to a different slot, supporting session expiration and
much more all using a simple API.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libdvdread: fix build with gcc-4.8
Bernd Kuhls [Sat, 11 Apr 2020 12:34:51 +0000 (14:34 +0200)]
package/libdvdread: fix build with gcc-4.8

Fixes:
http://autobuild.buildroot.net/results/28a/28a2e837eae1dae9214fab1aec119a9aa6b2e5c0/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/can-utils: bump to version 2020.02.04
Baruch Siach [Sun, 12 Apr 2020 16:40:02 +0000 (19:40 +0300)]
package/can-utils: bump to version 2020.02.04

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/assimp: fix static only build
Peter Seiderer [Sun, 12 Apr 2020 16:35:25 +0000 (18:35 +0200)]
package/assimp: fix static only build

Add patch to disable internal dynamic zlib library building, fixes
compile failure for static only toolchains (and assimp links
against the static one).

Fixes:

  http://autobuild.buildroot.net/results/7c2db184ee200d1719308f38f42382bb39d8d5c6

  [13%] Linking C shared library ../../lib/libzlib.so
  .../arm-buildroot-linux-uclibcgnueabi/bin/ld: .../host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini':
  __uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start'
  .../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x160): undefined reference to `__fini_array_end'
  .../arm-buildroot-linux-uclibcgnueabi/bin/ld: final link failed: bad value
  collect2: error: ld returned 1 exit status

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnuradio: bump to 3.8.1.0
Gwenhael Goavec-Merou [Sun, 12 Apr 2020 15:26:10 +0000 (17:26 +0200)]
package/gnuradio: bump to 3.8.1.0

- use github url
- remove all patches (applied in mainline)
- add DGR_PYTHON_DIR option to force install in site-packages instead of
  dist-packages

Fixes:

  http://autobuild.buildroot.net/results/ff29b01f41c7d2e139a319aac1406dc00185fcae/
  http://autobuild.buildroot.net/results/cae9ad5b746bfd728688ab655c23087a6f70fd50/
  http://autobuild.buildroot.net/results/333fd49196d71ea68f64ad046c38e480593f127e/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/msgpack: bump version to 3.2.1
Bernd Kuhls [Sun, 12 Apr 2020 10:36:21 +0000 (12:36 +0200)]
package/msgpack: bump version to 3.2.1

Changelog:
https://github.com/msgpack/msgpack-c/blob/master/CHANGELOG.md

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mpd: bump version to 0.21.22
Bernd Kuhls [Sun, 12 Apr 2020 10:20:24 +0000 (12:20 +0200)]
package/mpd: bump version to 0.21.22

Changelog:
https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.22/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openldap: bump version to 2.4.49
Bernd Kuhls [Sun, 12 Apr 2020 14:59:35 +0000 (16:59 +0200)]
package/openldap: bump version to 2.4.49

Release notes:
https://lists.openldap.org/hyperkitty/list/openldap-announce@openldap.org/thread/VMMBUCQHEDF6QA4CDOONP2CDQEOR5YQA/

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openipmi: bump version to 2.0.28
Bernd Kuhls [Sun, 12 Apr 2020 14:52:19 +0000 (16:52 +0200)]
package/openipmi: bump version to 2.0.28

Removed patch applied upstream:
https://github.com/cminyard/openipmi/commit/d1dd570cf77cb2c63bc32bef12d5353e3a197146

Added md5 hash provided by upstream, switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openblas: bump version to 0.3.9
Bernd Kuhls [Sun, 12 Apr 2020 14:43:07 +0000 (16:43 +0200)]
package/openblas: bump version to 0.3.9

Changelog: http://www.openblas.net/Changelog.txt

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/omniorb: bump version to 4.2.4
Bernd Kuhls [Sun, 12 Apr 2020 14:33:54 +0000 (16:33 +0200)]
package/omniorb: bump version to 4.2.4

Release notes:
https://sourceforge.net/projects/omniorb/files/omniORB/omniORB-4.2.4/

Added md5 hash provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nmon: bump version to 16m
Bernd Kuhls [Sun, 12 Apr 2020 14:25:59 +0000 (16:25 +0200)]
package/nmon: bump version to 16m

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nginx: bump version to 1.17.9
Bernd Kuhls [Sun, 12 Apr 2020 14:20:55 +0000 (16:20 +0200)]
package/nginx: bump version to 1.17.9

Changelog: http://nginx.org/en/CHANGES

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mtools: bump version to 4.0.24
Bernd Kuhls [Sun, 12 Apr 2020 14:17:16 +0000 (16:17 +0200)]
package/mtools: bump version to 4.0.24

Release notes:
https://lists.gnu.org/archive/html/info-mtools/2020-03/msg00000.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mutt: bump version to 1.13.5
Bernd Kuhls [Sun, 12 Apr 2020 14:14:39 +0000 (16:14 +0200)]
package/mutt: bump version to 1.13.5

Changelog: http://www.mutt.org/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/msmtp: bump version to 1.8.7
Bernd Kuhls [Sun, 12 Apr 2020 13:56:28 +0000 (15:56 +0200)]
package/msmtp: bump version to 1.8.7

Changelog:
https://github.com/marlam/msmtp-mirror/blob/master/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/beelink_gs1: bump to kernel 5.5
Clément Péron [Sun, 16 Feb 2020 21:19:36 +0000 (22:19 +0100)]
configs/beelink_gs1: bump to kernel 5.5

Bumping to kernel 5.5 add many new features compare to
the actual 5.3 used on Beelink GS1.
Which are crypto, USB3, GPU, IR, S/PDIF and RTC.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/beelink_gs1: bump to U-Boot 2020.01
Clément Péron [Sun, 16 Feb 2020 21:19:35 +0000 (22:19 +0100)]
configs/beelink_gs1: bump to U-Boot 2020.01

The U-boot patch has been upstreamed.

Bump U-boot version and drop the patch.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/beelink_gs1: bump to ATF v2.2
Clément Péron [Sun, 16 Feb 2020 21:19:34 +0000 (22:19 +0100)]
configs/beelink_gs1: bump to ATF v2.2

The WDT workaround patch has been upstreamed.

Bump to the new ATF version and drop the patch.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ogre: fix build with RELRO
Fabrice Fontaine [Mon, 10 Feb 2020 17:45:11 +0000 (18:45 +0100)]
package/ogre: fix build with RELRO

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mbuffer: new package
Mircea Gliga [Tue, 11 Feb 2020 13:46:52 +0000 (15:46 +0200)]
package/mbuffer: new package

Signed-off-by: Mircea Gliga <gliga.mircea@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mariadb: patch mariadb_config to add sysroot path
Ryan Coe [Thu, 13 Feb 2020 17:46:55 +0000 (09:46 -0800)]
package/mariadb: patch mariadb_config to add sysroot path

This patch adds @CMAKE_SYSROOT@ to mariadb_config.c.in. Without it,
mariadb_config and mysql_config incorrectly returns host paths for
include paths and library paths.

The patch has been accepted upstream at
https://github.com/mariadb-corporation/mariadb-connector-c/commit/b787c0d69cc00af98cd4ee5bc205e1c7ddaf427a

Reported-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libmad: switch to debian to fix CVEs
Fabrice Fontaine [Sun, 12 Apr 2020 10:18:45 +0000 (12:18 +0200)]
package/libmad: switch to debian to fix CVEs

Upstream libmad is dead since 2004 so switch to debian package to get
two patches that fix the following CVEs:
 - CVE-2017-8372: The mad_layer_III function in layer3.c in Underbit MAD
   libmad 0.15.1b, if NDEBUG is omitted, allows remote attackers to
   cause a denial of service (assertion failure and application exit)
   via a crafted audio file.
 - CVE-2017-8373: The mad_layer_III function in layer3.c in Underbit MAD
   libmad 0.15.1b allows remote attackers to cause a denial of service
   (heap-based buffer overflow and application crash) or possibly have
   unspecified other impact via a crafted audio file.
 - CVE-2017-8374: The mad_bit_skip function in bit.c in Underbit MAD
   libmad 0.15.1b allows remote attackers to cause a denial of service
   (heap-based buffer over-read and application crash) via a crafted
   audio file.

Moreover:
 - Remove third patch (replaced by optimize.diff debian patch)
 - Remove fourth patch (same patch than
   Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff)
 - Remove fifth patch (same patch than libmad.thumb.diff)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libid3tag: switch to debian to fix CVEs
Fabrice Fontaine [Sun, 12 Apr 2020 10:18:44 +0000 (12:18 +0200)]
package/libid3tag: switch to debian to fix CVEs

Upstream libid3tag is dead since 2004 so switch to debian to get two
patches that fix the following CVEs:
 - CVE-2004-2779: id3_utf16_deserialize() in utf16.c in libid3tag
   through 0.15.1b misparses ID3v2 tags encoded in UTF-16 with an odd
   number of bytes, triggering an endless loop allocating memory until
   an OOM condition is reached, leading to denial-of-service (DoS).
 - CVE-2017-11550: The id3_ucs4_length function in ucs4.c in libid3tag
   0.15.1b allows remote attackers to cause a denial of service (NULL
   Pointer Dereference and application crash) via a crafted mp3 file.
 - CVE-2017-11551: The id3_field_parse function in field.c in libid3tag
   0.15.1b allows remote attackers to cause a denial of service (OOM)
   via a crafted MP3 file.

Moreover, drop patch (replaced by add-m4-directory.patch debian patch)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libcoap: properly enable DTLS support
Fabrice Fontaine [Thu, 13 Feb 2020 22:15:10 +0000 (23:15 +0100)]
package/libcoap: properly enable DTLS support

The DTLS support needs either gnutls or openssl, so let's have these
packages as optional dependencies. We prefer gnutls over openssl as
done by upstream in their configure.ac when the user does not provide
any option (which is the case currently)

While there is support for tinydtls, and Buildroot has a tinydtls
package, libcoap is only able to use its own internal library, and
only when static linking is enabled, so we simply disable the use of
tinydtls altogether.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-snappy: new package
James Hilliard [Thu, 13 Feb 2020 06:58:24 +0000 (23:58 -0700)]
package/python-snappy: new package

Python library for the snappy compression library from Google.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cbor2: new package
James Hilliard [Thu, 13 Feb 2020 06:26:14 +0000 (23:26 -0700)]
package/python-cbor2: new package

Pure Python CBOR (de)serializer with extensive tag support.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>