buildroot.git
4 years agopackage/fluidsynth: new package
Julien Olivain [Mon, 9 Dec 2019 20:03:24 +0000 (21:03 +0100)]
package/fluidsynth: new package

FluidSynth is a real-time software synthesizer based on the SoundFont
2 specifications and has reached widespread distribution. FluidSynth
itself does not have a graphical user interface, but due to its
powerful API several applications utilize it and it has even found its
way onto embedded systems and is used in some mobile apps.

http://www.fluidsynth.org/

Signed-off-by: Julien Olivain <juju@cotds.org>
Reviewed-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/alsa-lib: add BR2_PACKAGE_ALSA_LIB_UCM
Fabrice Fontaine [Sun, 22 Dec 2019 13:18:17 +0000 (14:18 +0100)]
package/alsa-lib: add BR2_PACKAGE_ALSA_LIB_UCM

ucm needs mixer since version 1.2.1 and
https://github.com/alsa-project/alsa-lib/commit/5c88b183718ce3df11bc4753c76d95f3e9de6c7e

So add a BR2_PACKAGE_ALSA_LIB_UCM option that selects
BR2_PACKAGE_ALSA_LIB_MIXER and selects this new option in
BR2_PACKAGE_ALSA_UTILS_ALSAUCM to avoid a build failure

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysdig: reorder selects alphabetically
Fabrice Fontaine [Sun, 22 Dec 2019 16:40:39 +0000 (17:40 +0100)]
package/sysdig: reorder selects alphabetically

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/raspi-gpio: bump to revision 4edfde1
Pierre-Jean Texier [Sun, 22 Dec 2019 21:13:12 +0000 (22:13 +0100)]
package/raspi-gpio: bump to revision 4edfde1

This includes the following changes:

4edfde1 Update raw output to show pull registers on 2711

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-dpkt: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:56:39 +0000 (12:56 +0000)]
package/python-dpkt: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(405)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crc16: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:51:05 +0000 (12:51 +0000)]
package/python-crc16: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-coherence: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:44:59 +0000 (12:44 +0000)]
package/python-coherence: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pimd: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:25:06 +0000 (12:25 +0000)]
package/pimd: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-sys-cpu: add an upstream URL to Config.in
Mark Corbin [Tue, 17 Dec 2019 12:17:53 +0000 (12:17 +0000)]
package/perl-sys-cpu: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qpdf: add optional gnutls dependency
Fabrice Fontaine [Sun, 22 Dec 2019 10:49:29 +0000 (11:49 +0100)]
package/qpdf: add optional gnutls dependency

gnutls is an optional dependency since version 9.1.0 and
https://github.com/qpdf/qpdf/commit/88bedb41fe82df312d62e364a5a216b62fc8807c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qpdf: bump to version 9.1.0
Fabrice Fontaine [Sun, 22 Dec 2019 10:49:28 +0000 (11:49 +0100)]
package/qpdf: bump to version 9.1.0

- Add host-pkgconf dependency as it is used since version 9.0.0 and
  https://github.com/qpdf/qpdf/commit/12400475283f5081ea55f52a764e43f14032f6ba
- C++11 is mandatory since version 9.1.0 and
  https://github.com/qpdf/qpdf/commit/653ce3550d18a07194a4c3bb9b4a3d260ed842cd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wolfssl: bump to version 4.3.0
Sergio Prado [Sun, 22 Dec 2019 10:18:07 +0000 (07:18 -0300)]
package/wolfssl: bump to version 4.3.0

Remove patch already applied upstream (refactored on commit c06efb6c1fda0)

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: add option to install save/restore utils
David Owens [Mon, 16 Dec 2019 22:08:32 +0000 (16:08 -0600)]
package/ebtables: add option to install save/restore utils

This patch adds an option to include the tools on target that allow
the saving and restoring of ebtables. The upstream save utility is
replaced in this commit as it depended on perl which is not always
possible on an embedded system. The commit used to replace this
script seems to note it as a common approach across a few distros.

Signed-off-by: David Owens <david.owens@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: use a foreach make loop instead of a for shell loop
Thomas Petazzoni [Sun, 22 Dec 2019 20:17:36 +0000 (21:17 +0100)]
package/ebtables: use a foreach make loop instead of a for shell loop

make loops are more commonly used in Buildroot, are shorter, and have
built-in error handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: drop useless EBTABLES_SUBDIR variable
Thomas Petazzoni [Sun, 22 Dec 2019 20:15:33 +0000 (21:15 +0100)]
package/ebtables: drop useless EBTABLES_SUBDIR variable

This variable is never defined, so it is empty. Using it makes the
code needlessly more complicated than it needs to be, so let's drop
it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libglib2: bump version to 2.62.4
Adam Duskett [Sun, 22 Dec 2019 19:45:12 +0000 (11:45 -0800)]
package/libglib2: bump version to 2.62.4

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoarch/arc: Accommodate 16 KiB MMU pages
Alexey Brodkin [Wed, 18 Dec 2019 15:55:55 +0000 (18:55 +0300)]
arch/arc: Accommodate 16 KiB MMU pages

ARC processors are known for its configurability and one of those
configurable things is MMU page size which might be set to any
power of two from 4 KiB to 16 MiB, though in the Linux kernel we
only support 4, 8 and 16 KiB due to practical considerations.

And the most used setting is 8 KiB thus GNU LD assumes maximum
page size is 8 KiB by default and while this works for smaller
pages (it's OK to align segments by larger value it will be still
peoperly aligned) this breaks execution of user-space apps on HW
with larger pages because Elf sections might very well span across
allocated pages and thus make executable broken.

Simplest example:
------------------------------------>8-----------------------------------
$ arc-linux-gcc test.c
$ arc-linux-readelf --segments a.out

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
...
  LOAD           0x000000 0x00010000 0x00010000 0x003e8 0x003e8 R E 0x2000 <-- See
  LOAD           0x001f24 0x00013f24 0x00013f24 0x000f0 0x0010c RW  0x2000
------------------------------------>8-----------------------------------

Fortunately we may override default page size settings with "max-page-size"
linker option this way:
------------------------------------>8-----------------------------------
$ arc-linux-gcc test.c -Wl,-z,max-page-size=16384
$ arc-linux-readelf --segments a.out
Elf file type is EXEC (Executable file)
Entry point 0x102c4
There are 8 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
...
  LOAD           0x000000 0x00010000 0x00010000 0x003e8 0x003e8 R E 0x4000 <-- See
  LOAD           0x001f24 0x00015f24 0x00015f24 0x000f0 0x0010c RW  0x4000
------------------------------------>8-----------------------------------

Which we implement with that change.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[yann.morin.1998@free.fr: fix comment: s/8196/8192/]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agolinux: Set MMU page size for ARC processors
Alexey Brodkin [Tue, 17 Dec 2019 13:15:28 +0000 (16:15 +0300)]
linux: Set MMU page size for ARC processors

ARC processors have configurable size of MMU page. This configuration
happens during ASIC design and couldn't be changed in final silicone
not to mention runtime changes.

Given PAGE_SIZE macro is used a lot throughout the Linux kernel sources
we just hardcode a required value during the kernel configuration.

We used to support different MMU page sizes for ARC in Buildroot for
quite some time now but so far we only tweaked uClibc on the matter.
That left us with the kernel configured with whatever was in used defconfig.

In most of real cases that's OK because typically we're building firmware
for a particular ASIC which is supposed to have a unique kernel defconfig.
But if we're dealing with FPGA-based boards or even simlators like
Synopsys DesignWare nSIM or QEMU it's possible to have dfferent MMU page
size configured in that target mostly for the sake of testing.

And so we're trying to solve 2 problems here:
 1. Make sure both user-space (via libc settings) and the Linux kernel
    are "on the same page", i.e. expect to use the same MMU page size.
 2. Simplify process of testing different page sizes.
    As now we first need to set page size in Buildroot and then in the
    kernel via "make linux-configure" or via Kconfig fragment.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[yann.morin.1998@free.fr: simplify the conditions]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/usb_modeswitch_data: bump to version 20191128
Fabrice Fontaine [Sun, 22 Dec 2019 11:06:46 +0000 (12:06 +0100)]
package/usb_modeswitch_data: bump to version 20191128

Upstream provides an md5 of the tarball, so we add it (even though
that's a weak hash).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: add the md5 from upstream]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/usb_modeswitch: bump to version 2.6.0
Fabrice Fontaine [Sun, 22 Dec 2019 11:06:44 +0000 (12:06 +0100)]
package/usb_modeswitch: bump to version 2.6.0

- Drop first patch (not needed anymore) and all jimtcl related
  workarounds as embedded jimtcl has been removed
- Parallel build issue has been fixed
- Update hash of COPYING as this file has been updated to reflect that
  dispatcher.c is under BSD-2-Clause

Full ChangeLog: http://www.draisberghof.de/usb_modeswitch/ChangeLog

Upstream provides an md5 of the tarball, so we add it (even though
that's a weak hash).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - meld with the license fix patch
  - simplify license list
  - add md5 from upstream
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openocd: use host-jimtcl for host variant
Fabrice Fontaine [Sun, 22 Dec 2019 14:02:37 +0000 (15:02 +0100)]
package/openocd: use host-jimtcl for host variant

This will fix a build failure raised by commit
06aa2995350922197c6db0a46e39ac5c37d5a49e which dropped patch on embedded
jimtcl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/jimtcl: add host variant
Fabrice Fontaine [Sun, 22 Dec 2019 14:02:36 +0000 (15:02 +0100)]
package/jimtcl: add host variant

host-jimtcl is needed for host-openocd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - call hook to update config.{guess,sub}
  - reformat the build commands
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openipmi: install to staging dir
Alexey Lukyanchuk [Mon, 16 Dec 2019 09:38:03 +0000 (12:38 +0300)]
package/openipmi: install to staging dir

Needed for packages which depend on openipmi.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-sc-firmware: bump to version 1.2.1
Julien Olivain [Wed, 18 Dec 2019 13:04:29 +0000 (14:04 +0100)]
package/freescale-imx/imx-sc-firmware: bump to version 1.2.1

This version is aligned with i.MX NXP BSP components version
rel_imx_4.14.98_2.0.0_ga

This patch also add the hash file.

Signed-off-by: Julien Olivain <juju@cotds.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/syslog-ng: update the upstream URL in Config.in
Mark Corbin [Wed, 18 Dec 2019 13:03:44 +0000 (13:03 +0000)]
package/syslog-ng: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/spidev_test: update the upstream URL in Config.in
Mark Corbin [Wed, 18 Dec 2019 12:16:34 +0000 (12:16 +0000)]
package/spidev_test: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/setserial: add an upstream URL to Config.in
Mark Corbin [Wed, 18 Dec 2019 11:39:38 +0000 (11:39 +0000)]
package/setserial: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rpcbind: add an upstream URL to Config.in
Mark Corbin [Wed, 18 Dec 2019 11:23:44 +0000 (11:23 +0000)]
package/rpcbind: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libpam-nfc: new package
Louis Aussedat [Sun, 22 Dec 2019 12:05:00 +0000 (13:05 +0100)]
package/libpam-nfc: new package

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/open2300: add hash file
Heiko Thiery [Sun, 22 Dec 2019 08:37:08 +0000 (09:37 +0100)]
package/open2300: add hash file

Add sha245 hashes for the source taball and the license file.

Note: the upstream subversion tree for open2300 is off-line (and the
package is no longer maintained), so the tarball is retrieved from
sources.buildroot.org, which makes it a stable (reproducible) tarball,
when our svn backend is in fact not stable.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr:
  - add the comment in the .hash file
  - update the commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qt5/qt5virtualkeyboard: add an upstream URL to Config.in
Mark Corbin [Tue, 17 Dec 2019 14:10:58 +0000 (14:10 +0000)]
package/qt5/qt5virtualkeyboard: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt-webkit-kiosk: add an upstream URL to Config.in
Mark Corbin [Tue, 17 Dec 2019 13:57:37 +0000 (13:57 +0000)]
package/qt-webkit-kiosk: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pypcap: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 13:51:21 +0000 (13:51 +0000)]
package/python-pypcap: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(405)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnfc: drop leftover comment
Yann E. MORIN [Sun, 22 Dec 2019 13:03:59 +0000 (14:03 +0100)]
package/libnfc: drop leftover comment

In commit 1a49188a694 (package/libnfc: add sub-options to enable
individual drivers), the dependency on threads was moved down to
the individual drivers that need it, and libnfc as a whole lost
that dependency.

However, the global comment was not removed. Do so now.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freescale-imx/firmware-imx: fix the ahab-container name
Fabio Estevam [Tue, 17 Dec 2019 18:18:54 +0000 (15:18 -0300)]
package/freescale-imx/firmware-imx: fix the ahab-container name

After the firmware-imx bump to version 8.1.1 the following
error is observed when building freescale_imx8qxpmek_defconfig:

>> firmware-imx 8.1.1 Installing to images directory
cp /home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img
/home/fabio/buildroot/output/images/ahab-container.img
cp: cannot stat
'/home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img':
No such file or directory

In the firmware-imx-8.1.1 (and newer) the i.MX8QXP container image was
renamed to mx8qx-ahab-container.img, so fix it accordingly.

Fixes: 3ec818769d51 ("package/freescale-imx/firmware-imx: bump version to 8.1.1")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zip: fix musl compile
Peter Seiderer [Tue, 17 Dec 2019 22:11:34 +0000 (23:11 +0100)]
package/zip: fix musl compile

For musl toolchain timezone.c needs time.h include.

Fixes:
  http://autobuild.buildroot.net/results/77346a2cdb9eeef661527fb9566019f3cd1b82c9

  In file included from util.c:28:
  timezone.c: In function 'mktime':
  timezone.c:644:18: error: dereferencing pointer to incomplete type 'struct tm'
       save_isdst = tm->tm_isdst;

  timezone.c:661:11: warning: implicit declaration of function 'localtime'; did you mean 'dostime'? [-Wimplicit-function-declaration]
       ltm = localtime(&then);

  timezone.c:661:9: warning: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
       ltm = localtime(&then);

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dropbear: group post-extract hooks with their call site
Thomas De Schampheleire [Fri, 20 Dec 2019 16:05:10 +0000 (17:05 +0100)]
package/dropbear: group post-extract hooks with their call site

The organization of dropbear.mk was no longer very clear: for some
post-extract blocks, the block was separated from the place where it was
enabled, but for others they were grouped.

Regroup all blocks with their call site and inside the condition, if
present.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openocd: selects jimtcl
Fabrice Fontaine [Sun, 22 Dec 2019 10:29:08 +0000 (11:29 +0100)]
package/openocd: selects jimtcl

Selects jimtcl instead of using the bundled one and drop first patch as
it is not needed anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rygel: drop autoreconf
Fabrice Fontaine [Sun, 22 Dec 2019 10:33:42 +0000 (11:33 +0100)]
package/rygel: drop autoreconf

autoreconf is not needed since bump to version 0.36.2 in commit
76f86c409d016851d4d63216ada969e6cd81dd56

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mfoc: new package
Louis Aussedat [Fri, 20 Dec 2019 18:14:56 +0000 (19:14 +0100)]
package/mfoc: new package

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
[yann.morin.1998@free.fr: fix leading spaces in Config.in]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosdl2: add patch to fix busy-loop in C library
Paul Cercueil [Fri, 20 Dec 2019 16:04:38 +0000 (17:04 +0100)]
sdl2: add patch to fix busy-loop in C library

For some obscure reason, the order in which the libdrm/libgbm libraries
are loaded matters.

Without this fix, the first call to check_modesetting() will work and
load then unload all symbols properly, but the second call to this
function will lock up as soon as dlopen() is called on libdrm.

Swapping the order in which the libdrm and libgbm libraries are loaded
is enough to fix (or work around?) this issue.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[yann.morin.1998@free.fr: add upstream commit URL]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apitrace: needs MMU
Fabrice Fontaine [Tue, 17 Dec 2019 20:12:02 +0000 (21:12 +0100)]
package/apitrace: needs MMU

apitrace uses its own version of gtest which needs fork() since
version 8.0 and
https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2

Moreover, apitrace also uses fork in ./lib/os/os_posix.cpp

Fixes:
 - http://autobuild.buildroot.org/results/1165ed62d9ae3dbdc13590c39bb55edd9a444567

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apitrace: needs threads
Fabrice Fontaine [Tue, 17 Dec 2019 20:12:01 +0000 (21:12 +0100)]
package/apitrace: needs threads

apitrace uses its own version of gtest which depends on threads since
version 8.0 and
https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2

Moreover, apitrace also uses std::thread in lib/os/os_thread.hpp

Fixes:
 - http://autobuild.buildroot.org/results/03c4939fdfb7366c1835df946c4e869cd2b87b9f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtelnet: new package
Thomas De Schampheleire [Fri, 20 Dec 2019 13:44:36 +0000 (14:44 +0100)]
package/libtelnet: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/snort: bump to version 2.9.15
Sergio Prado [Sun, 22 Dec 2019 09:33:01 +0000 (06:33 -0300)]
package/snort: bump to version 2.9.15

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/snort: fix error when building on a Fedora host machine
Sergio Prado [Sun, 22 Dec 2019 09:17:07 +0000 (06:17 -0300)]
package/snort: fix error when building on a Fedora host machine

Remove a logic from configure script that adds unsafe header/library path when
cross-compiling on a Fedora host machine.

Fixes:
http://autobuild.buildroot.net/results/47a367c2c5cbf13079b0e60ad7ebe3dbd05756d4
http://autobuild.buildroot.net/results/837e43b085ac30fb8545c67352403ceb7de59976
http://autobuild.buildroot.net/results/a69df3959b45620f811c18744aa661caa479aef4
many more...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-math-prime-util: new package
Thomas De Schampheleire [Wed, 18 Dec 2019 20:18:44 +0000 (21:18 +0100)]
package/perl-math-prime-util: new package

Standard generated with utils/scancpan.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-math-bigint: new package
Thomas De Schampheleire [Wed, 18 Dec 2019 20:18:43 +0000 (21:18 +0100)]
package/perl-math-bigint: new package

Standard generated with utils/scancpan.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-crypt-openssl-aes: new package
Thomas De Schampheleire [Wed, 18 Dec 2019 20:18:42 +0000 (21:18 +0100)]
package/perl-crypt-openssl-aes: new package

Standard generated with utils/scancpan, manually updating _LICENSE and
adding openssl dependency.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kf5-kcoreaddons: fix check-package warnings
Yann E. MORIN [Sun, 22 Dec 2019 09:51:19 +0000 (10:51 +0100)]
package/kf5-kcoreaddons: fix check-package warnings

KF5_KCOREADDONS_CONF_OPTS is set both outside and inside the
conditional block, so the value set outside would be lost if
the condition were to be true.

Use append-assignement in this case, as reported by check-package.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/minissdpd: bump to version 1.5-20190824
Fabrice Fontaine [Thu, 19 Dec 2019 22:01:20 +0000 (23:01 +0100)]
package/minissdpd: bump to version 1.5-20190824

Update hash of license file (update in year)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x265: update the upstream URL in Config.in
Mark Corbin [Thu, 19 Dec 2019 21:00:31 +0000 (21:00 +0000)]
package/x265: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wsapi-fcgi: update the upstream URL in Config.in
Mark Corbin [Thu, 19 Dec 2019 20:16:48 +0000 (20:16 +0000)]
package/wsapi-fcgi: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(406)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wsapi-xavante: update the upstream URL in Config.in
Mark Corbin [Thu, 19 Dec 2019 20:36:26 +0000 (20:36 +0000)]
package/wsapi-xavante: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(406)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wsapi: update the upstream URL in Config.in
Mark Corbin [Thu, 19 Dec 2019 20:49:26 +0000 (20:49 +0000)]
package/wsapi: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(406)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pipewire: add xlib_libX11 optional dependency
Fabrice Fontaine [Thu, 19 Dec 2019 19:28:01 +0000 (20:28 +0100)]
package/pipewire: add xlib_libX11 optional dependency

xlib_libX11 is an optional dependeny of spa, see:
https://github.com/PipeWire/pipewire/blob/0.2.7/spa/meson.build

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pipewire: add libva optional dependency
Fabrice Fontaine [Thu, 19 Dec 2019 19:28:00 +0000 (20:28 +0100)]
package/pipewire: add libva optional dependency

libva is an optional dependency of spa, see:
https://github.com/PipeWire/pipewire/blob/0.2.7/spa/meson.build

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pipewire: fix comment in Config.in
Fabrice Fontaine [Thu, 19 Dec 2019 19:27:59 +0000 (20:27 +0100)]
package/pipewire: fix comment in Config.in

Commit ac92146ebb7627378c0a8c92f6490e55333eb6bb forgot to update
comment with udev dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-multidict: bump to version 4.7.2
James Hilliard [Fri, 20 Dec 2019 01:28:30 +0000 (18:28 -0700)]
package/python-multidict: bump to version 4.7.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/imx6-sabresd_qt5: enable gstreamer videotestsrc plugin
Fabio Estevam [Fri, 20 Dec 2019 01:34:42 +0000 (22:34 -0300)]
configs/imx6-sabresd_qt5: enable gstreamer videotestsrc plugin

The videotestsrc Gstreamer plugin is very useful for testing.

Enable it by default.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-django: security bump to version 3.0.1
Peter Korsgaard [Fri, 20 Dec 2019 08:19:17 +0000 (09:19 +0100)]
package/python-django: security bump to version 3.0.1

Fixes the following security vulnerability:

- CVE-2019-19844: Potential account hijack via password reset form
  By submitting a suitably crafted email address making use of Unicode
  characters, that compared equal to an existing user email when lower-cased
  for comparison, an attacker could be sent a password reset token for the
  matched account

In addition, a number of bugs have been fixed.  For details, see the release
notes:
https://docs.djangoproject.com/en/dev/releases/3.0.1/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libebml: bump to version 1.3.10
Fabrice Fontaine [Thu, 19 Dec 2019 22:05:50 +0000 (23:05 +0100)]
package/libebml: bump to version 1.3.10

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/duktape: bump to version 2.5.0
Fabrice Fontaine [Thu, 19 Dec 2019 22:10:37 +0000 (23:10 +0100)]
package/duktape: bump to version 2.5.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openrc: cleanup sysv-rcs script
Adam Duskett [Fri, 20 Dec 2019 00:04:37 +0000 (16:04 -0800)]
package/openrc: cleanup sysv-rcs script

Currently, the sysv-rcs script has two issues:
  - The return code of each RCS script is not checked.
  - The output does not match the formatting of the other openrc
    init scripts.

Modify the script in the following ways to fix both issues:
  - Remove the "einfo "Starting sysv rc scripts"" at the top of the
    start function in favor of "einfo "Starting $i" in the loop
    itself.

  - Add a "> /dev/null" to the end of $i start; this suppresses
    stdout while still allowing for stderr messages to print to the
    terminal.

  - add an "eend $? to both the start and stop functions, this
    allows for openrc to show if an RCS script returned 0 or
    not.

The following is the startup output of OpenRC on a minimal system
with S01syslogd modified to exit with a return code 1 for testing
purposes:

Before:
 * Adding static routes ...
 [ ok ]
Starting default runlevel
 * Starting sysv rc scripts
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK

After:
 * Adding static routes ...
 [ ok ]
Starting default runlevel
 * Starting /etc/init.d/S01syslogd ...
 [ !! ]
 * Starting /etc/init.d/S02klogd ...
 [ ok ]
 * Starting /etc/init.d/S02sysctl ...
 [ ok ]

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnetconf2: bump to version 1.1.3
Heiko Thiery [Fri, 20 Dec 2019 13:53:44 +0000 (14:53 +0100)]
package/libnetconf2: bump to version 1.1.3

Other changes:

 - Remove patch (already in upstream version)

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libyang; bump to version 1.0.109
Heiko Thiery [Fri, 20 Dec 2019 13:53:43 +0000 (14:53 +0100)]
package/libyang; bump to version 1.0.109

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtirpc: bump to version 1.2.5
Petr Vorel [Fri, 20 Dec 2019 17:45:37 +0000 (18:45 +0100)]
package/libtirpc: bump to version 1.2.5

Rebased 0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch,
dropped 3 patches accepted upstream.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/jq: bump to git version a97638713ad3 (still 1.6-based)
Thomas De Schampheleire [Fri, 20 Dec 2019 20:27:28 +0000 (21:27 +0100)]
package/jq: bump to git version a97638713ad3 (still 1.6-based)

jq 1.6 has a severe performance regression compared to 1.5. The problem is
reported [1] and fixed [2] upstream, but there are different commits and
later subsequent fixes on top of them that make it cumbersome to patch
specifically.

Instead, bump to a recent git version.

[1] https://github.com/stedolan/jq/issues/1826
[2] https://github.com/stedolan/jq/pull/1834

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5/qt5webengine: fix build error due to bogus use of -isystem
Bartosz Bilas [Sat, 21 Dec 2019 11:12:18 +0000 (12:12 +0100)]
package/qt5/qt5webengine: fix build error due to bogus use of -isystem

This commit adds a patch from upstream chromium[1] that allows passing
-I instead of -isystem to CFLAGS.

Fixes:
  In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.0/include/g++-v6/bits/stl_algo.h:59:0,
                  from /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.0/include/g++-v6/algorithm:62,
                  from /usr/include/qt5/QtCore/qglobal.h:85,
                  from /usr/include/qt5/QtCore/qalgorithms.h:37,
                  from /usr/include/qt5/QtCore/qlist.h:37,
                  from /usr/include/qt5/QtCore/qstringlist.h:34,
                  from /usr/include/qt5/QtCore/QStringList:1,
                  from base/http/requestparser.cpp:32:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.0/include/g++-v6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
  #include_next <stdlib.h>

[1] https://chromium.googlesource.com/chromium/src/+/a8c8396fd20d98666d517c45b358c63736e345ef

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[Thomas: improved commit log with comments from Giulio.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/genimage: add patch to support vfat volume-label
Dario Binacchi [Sat, 21 Dec 2019 12:29:30 +0000 (13:29 +0100)]
package/genimage: add patch to support vfat volume-label

Import "0001-image-vfat-Add-label-option-to-set-volume-name.patch" from
the upstream repository. The changes made to the README.rst file had to
be removed from the patch so that the package can be compiled in
buildroot. The patch has been accepted upstream, but no releases have
been made yet which includes the feature.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libvdpau: bump to version 1.3
Fabrice Fontaine [Sat, 21 Dec 2019 16:17:18 +0000 (17:17 +0100)]
package/libvdpau: bump to version 1.3

- Switch to meson-package
- Drop second patch (not needed anymore)
- Drop third patch (after feedback from upstream:
  https://gitlab.freedesktop.org/vdpau/libvdpau/merge_requests/5)
- Disable documentation

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openrc: install sysv-rcs file
Adam Duskett [Thu, 19 Dec 2019 19:01:35 +0000 (11:01 -0800)]
package/openrc: install sysv-rcs file

package/openrc has the file sysv-rcs which starts sysvinit services
not written for openrc. However, currently it is not installed to
the target.

Install this file to $(TARGET_DIR)/etc/init.d during the
target_install step.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
[yann.morin.1998@free.fr: use full-path for destination, not just dir]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/xenomai: bump version to 3.0.10
Jan Kiszka [Thu, 19 Dec 2019 08:24:32 +0000 (09:24 +0100)]
package/xenomai: bump version to 3.0.10

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/xenomai: clean up wrappers cleanup
Jan Kiszka [Thu, 19 Dec 2019 08:24:34 +0000 (09:24 +0100)]
package/xenomai: clean up wrappers cleanup

There is no posix.wrappers anymore, but cobalt and modechk. Those only
play a role when building in combination with wrap-link.sh.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/xenomai: smokey's not a skin
Jan Kiszka [Thu, 19 Dec 2019 08:24:31 +0000 (09:24 +0100)]
package/xenomai: smokey's not a skin

That's a testsuite tool.

Rename XENOMAI_REMOVE_SKIN_LIST at this chance as it's cleaning
libraries, not only skins. Ditto, rename the hook accordingly.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
[yann.morin.1998@free.fr: also rename the hook]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tcllib: update the upstream URL in Config.in
Mark Corbin [Wed, 18 Dec 2019 13:14:41 +0000 (13:14 +0000)]
package/tcllib: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libssh: security bump to version 0.9.3
Peter Korsgaard [Thu, 19 Dec 2019 08:01:50 +0000 (09:01 +0100)]
package/libssh: security bump to version 0.9.3

Fixes the following security vulnerabilities:

- CVE-2019-14889: Unsanitized location in scp could lead to unwanted command
  execution.

And adds various hardening improvements.  For details, see the announcement:

https://www.libssh.org/2019/12/10/libssh-0-9-3-and-libssh-0-8-8-security-release/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years ago{linux, linux-headers}: bump 4.{14, 19}.x / 5.{3, 4}.x series
Peter Korsgaard [Thu, 19 Dec 2019 08:13:24 +0000 (09:13 +0100)]
{linux, linux-headers}: bump 4.{14, 19}.x / 5.{3, 4}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/glibc: hide "glibc utils" if glibc is not selected
Arthur Courtel [Thu, 19 Dec 2019 11:10:24 +0000 (12:10 +0100)]
package/glibc: hide "glibc utils" if glibc is not selected

BR2_PACKAGE_GLIBC_UTILS config must not exist if we use other libc than glibc

Signed-off-by: Arthur Courtel <arthur.courtel@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tcping: bump to version 1.3.6
Mark Corbin [Thu, 19 Dec 2019 15:20:12 +0000 (15:20 +0000)]
package/tcping: bump to version 1.3.6

Switched to latest version on GitHub as linuxco.de is no longer
active. The appropriate entry for tcping on release-monitoring.org
has been updated and a new mapping has been added for the Buildroot
project.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: bump to 244.1
Jérémy Rosen [Thu, 19 Dec 2019 15:21:34 +0000 (16:21 +0100)]
package/systemd: bump to 244.1

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/nodejs: security bump to version 12.14.0
Peter Korsgaard [Wed, 18 Dec 2019 12:57:07 +0000 (13:57 +0100)]
package/nodejs: security bump to version 12.14.0

Fixes the following security vulnerabilities (in npm):

- CVE-2019-16775: Versions of the npm CLI prior to 6.13.3 are vulnerable to
  an Arbitrary File Write.  It is possible for packages to create symlinks
  to files outside of thenode_modules folder through the bin field upon
  installation
  https://www.npmjs.com/advisories/1436

- CVE-2019-16776: Versions of the npm CLI prior to 6.13.3 are vulnerable to
  an Arbitrary File Write.  It fails to prevent access to folders outside of
  the intended node_modules folder through the bin field
  https://www.npmjs.com/advisories/1434

- CVE-2019-16777: Versions of the npm CLI prior to 6.13.4 are vulnerable to
  an Arbitrary File Overwrite.  It fails to prevent existing
  globally-installed binaries to be overwritten by other package
  installations
  https://www.npmjs.com/advisories/1437

For further details, see the upstream announcements:

https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
https://nodejs.org/en/blog/vulnerability/december-2019-security-releases/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wavpack: add openssl optional dependency
Fabrice Fontaine [Wed, 18 Dec 2019 22:23:19 +0000 (23:23 +0100)]
package/wavpack: add openssl optional dependency

wavpack optionally depends on libcrypto since version 5.2.0 and
https://github.com/dbry/WavPack/commit/e158df5353b57ac7002d5cac4b3a040eba4c0c9f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wavpack: security bump to version 5.2.0
Fabrice Fontaine [Wed, 18 Dec 2019 22:23:18 +0000 (23:23 +0100)]
package/wavpack: security bump to version 5.2.0

- Switch to github to get latest version
- Drop patches (already in version)
- Fix CVE-2018-19840: The function WavpackPackInit in pack_utils.c in
  libwavpack.a in WavPack through 5.1.0 allows attackers to cause a
  denial-of-service (resource exhaustion caused by an infinite loop) via
  a crafted wav audio file because WavpackSetConfiguration64 mishandles
  a sample rate of zero.
- Fix CVE-2018-19841: The function WavpackVerifySingleBlock in
  open_utils.c in libwavpack.a in WavPack through 5.1.0 allows attackers
  to cause a denial-of-service (out-of-bounds read and application
  crash) via a crafted WavPack Lossless Audio file, as demonstrated by
  wvunpack.
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/pipewire: use "config" instead of "menuconfig"
Thomas Petazzoni [Wed, 18 Dec 2019 22:33:54 +0000 (23:33 +0100)]
package/pipewire: use "config" instead of "menuconfig"

pipewire doesn't have enough sub-options to warrant having its own
menuconfig.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pipewire: add missing dependencies/plugins
James Hilliard [Wed, 18 Dec 2019 13:04:59 +0000 (06:04 -0700)]
package/pipewire: add missing dependencies/plugins

Added missing required and optional dependencies.
Provide option to enable gstreamer plugin.

Fixes:

  http://autobuild.buildroot.net/results/9671ad63b1ae147a6f660337cb4b3dc38209067c/
  http://autobuild.buildroot.net/results/0e80841fe9937d7a5142035c2a41158166bcf8df/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Thomas:
 - enclose new option in if ... endif block
 - add missing Config.in comment
 - add dependency on gstreamer1 in .mk file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/imx6-sabresd: bump kernel version
Fabio Estevam [Wed, 18 Dec 2019 20:03:20 +0000 (17:03 -0300)]
configs/imx6-sabresd: bump kernel version

Bump the kernel version to 5.4.2.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/meson: bump to version 0.52.1
James Hilliard [Wed, 18 Dec 2019 13:31:33 +0000 (06:31 -0700)]
package/meson: bump to version 0.52.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kf5/kf5-kcoreaddons: don't treat ld warnings as errors
Giulio Benetti [Wed, 18 Dec 2019 16:19:57 +0000 (17:19 +0100)]
package/kf5/kf5-kcoreaddons: don't treat ld warnings as errors

Microblaze ld emits warnings like:
'
FDE encoding in
CMakeFiles/KF5CoreAddons.dir/KF5CoreAddons_autogen/mocs_compilation.cpp.o(.eh_frame)
prevents .eh_frame_hdr table being created
'
Since '-Wl,--fatal-warnings' is passed by default, build fails, so don't
treat warnings as errors by appending "-Wl,--no-fatal-warnings" to
CMAKE_SHARED_LINKER_FLAGS that is previously defined in package
dependency kf5-extra-cmake-modules.

Fixes:
http://autobuild.buildroot.net/results/f19/f198c86930535c50393e17fc7a70fb4f27b096ee/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/polkit: add polkitd user and appropriate permissions
Adam Duskett [Wed, 18 Dec 2019 22:09:35 +0000 (14:09 -0800)]
package/polkit: add polkitd user and appropriate permissions

The polkit daemon requires a polkitd user with permission to access the
following directories:
  - /etc/polkit-1
  - /usr/share/polkit-1

The /usr/bin/pkexec file must be owned by owned by root with the
permissions 4755 or else the error "pkexec must be setuid root" is
thrown when it's ran.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-yieldfrom: bump to version 1.0.5
Asaf Kahlon [Wed, 18 Dec 2019 17:42:59 +0000 (19:42 +0200)]
package/python-yieldfrom: bump to version 1.0.5

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lua-msgpack-native: fix build with moonjit
Francois Perrad [Tue, 10 Dec 2019 17:40:04 +0000 (18:40 +0100)]
package/lua-msgpack-native: fix build with moonjit

compatibility with Lua 5.0 was removed in LuaJIT/moonjit 2.1.x
(Lua 5.1.x and LuaJIT 2.0.x have this compatibility)

Fixes:

  http://autobuild.buildroot.org/results/4e428df01def186cb034a1774f6c00e2e7c9468c/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: add comment on .mk file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tftpd: add an upstream URL to Config.in
Mark Corbin [Wed, 18 Dec 2019 13:37:17 +0000 (13:37 +0000)]
package/tftpd: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
[yann.morin.1998@free.fr:
  - use the git tree instead of the 8-year old freshmeat webpage
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/usbmount: update the upstream URL in Config.in
Mark Corbin [Wed, 18 Dec 2019 14:02:55 +0000 (14:02 +0000)]
package/usbmount: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/w_scan: update the upstream URL in Config.in
Mark Corbin [Wed, 18 Dec 2019 14:24:16 +0000 (14:24 +0000)]
package/w_scan: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
[yann.morin.1998@free.fr: use offical (de) homepage]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freescale-imx/firmware-imx: fix license hashes
Julien Olivain [Wed, 18 Dec 2019 18:56:33 +0000 (19:56 +0100)]
package/freescale-imx/firmware-imx: fix license hashes

License files were updated since the previous version.
This patch update to the new license hashes. It also fixes the
"make legal-info" command failure due to the hash mismatch.

Fixes:
  - http://autobuild.buildroot.org/results/d9d/d9d82dd6727b82a643cbb75ca33b88a4636bd5fe

Signed-off-by: Julien Olivain <juju@cotds.org>
[yann.morin.1998@free.fr: add autobuilder reference]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/testing: fix python-gitdb2 test
Yann E. MORIN [Wed, 18 Dec 2019 20:12:22 +0000 (21:12 +0100)]
support/testing: fix python-gitdb2 test

Cthe test-case for python-gitdb2 consists solely in verifying that the
module can indeed be imported.

However, flake8 errors out on unused imports. Furthermore, it also
errors about wildcard imports, as it can detect unused symbols.

Squelch those errors.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/alsa-utils: add a WantedBy section to the systemd unit file
Jérémy Rosen [Mon, 16 Dec 2019 10:30:52 +0000 (11:30 +0100)]
package/alsa-utils: add a WantedBy section to the systemd unit file

This allows the user to enable/disable manually the unit.
It is enabled by default

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
[yann.morin.1998@free.fr:
  - split logn lines
  - no need for continued line (no use for ';\' )
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rauc: add a WantedBy section to the systemd unit file
Jérémy Rosen [Mon, 16 Dec 2019 10:30:51 +0000 (11:30 +0100)]
package/rauc: add a WantedBy section to the systemd unit file

upstream-provided service has no WantedBy, which means that rauc won't
be enabled by default

Add a WantedBy instead of manually creating the symlink so the user can
enable/disable the unit properly

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
[yann.morin.1998@free.fr:
  - split long line
  - no need for continued line (no use for ';\' )
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/syslog-ng: implement systemd enablement using DefaultInstance
Jérémy Rosen [Mon, 16 Dec 2019 10:30:50 +0000 (11:30 +0100)]
package/syslog-ng: implement systemd enablement using DefaultInstance

Instead of using a manual symlink we use add a DefaultInstance= to the
config file

This is how upstream wants us to do it and allows systemctl preset to
correctly restore it if needed

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
[yann.morin.1998@free.fr:
  - split long line
  - no need for continued line (no use for ';\' )
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>