buildroot.git
4 years agopackage/websocketpp: bump to version 0.8.2
Fabrice Fontaine [Sun, 19 Apr 2020 19:48:45 +0000 (21:48 +0200)]
package/websocketpp: bump to version 0.8.2

Drop patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wavpack: bump to version 5.3.0
Fabrice Fontaine [Sun, 19 Apr 2020 16:24:19 +0000 (18:24 +0200)]
package/wavpack: bump to version 5.3.0

Update hash of COPYING (update in year):
https://github.com/dbry/WavPack/commit/350b6d7737383029573ea2cce9bd94f1b6756bbd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtorrent-rasterbar: bump to version 1.2.6
Fabrice Fontaine [Sun, 19 Apr 2020 16:22:50 +0000 (18:22 +0200)]
package/libtorrent-rasterbar: bump to version 1.2.6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wireshark: security bump to version 3.2.3
Fabrice Fontaine [Sun, 19 Apr 2020 16:10:26 +0000 (18:10 +0200)]
package/wireshark: security bump to version 3.2.3

Fix CVE-2020-11647: In Wireshark 3.2.0 to 3.2.2, 3.0.0 to 3.0.9, and
2.6.0 to 2.6.15, the BACapp dissector could crash. This was addressed
in epan/dissectors/packet-bacapp.c by limiting the amount of recursion.

https://www.wireshark.org/security/wnpa-sec-2020-07.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyalsa: new package
Julien Olivain [Sat, 4 Jan 2020 15:59:02 +0000 (16:59 +0100)]
package/python-pyalsa: new package

Official ALSA Python binding, including hardware management, mixer and
sequencer control.

http://www.alsa-project.org/

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/zynq_qmtech: new defconfig
Julien Olivain [Thu, 2 Jan 2020 19:41:20 +0000 (20:41 +0100)]
configs/zynq_qmtech: new defconfig

This patch add support for the low cost QMTECH XC7Z010 starter kit
board [1].

[1] http://www.chinaqmtech.com/xilinx_zynq_soc

Signed-off-by: Martin Chabot <martin.chabot@gmail.com>
Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ibm-sw-tpm2: new package
Philippe Reynes [Fri, 3 Jan 2020 15:16:57 +0000 (16:16 +0100)]
package/ibm-sw-tpm2: new package

This project is an implementation of the TCG TPM 2.0 specification. It
is based on the TPM specification Parts 3 and 4 source code donated by
Microsoft, with additional files to complete the implementation.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/busybox: add BUSYBOX_INSTALL_INIT_OPENRC
Carlos Santos [Sat, 18 Apr 2020 21:39:23 +0000 (18:39 -0300)]
package/busybox: add BUSYBOX_INSTALL_INIT_OPENRC

Install the sysvinit scripts, for the moment, but not S02sysctl, since
openrc provides /etc/init.d/sysctl.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/efl: fix build with poppler and gcc 5
Fabrice Fontaine [Sat, 4 Apr 2020 21:32:45 +0000 (23:32 +0200)]
package/efl: fix build with poppler and gcc 5

-std=c++11 is needed to avoid the following build failure with poppler
and gcc 5:

/home/naourr/work/instance-0/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/poppler/cpp/poppler-page.h:40:37: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11
/home/naourr/work/instance-0/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/poppler/cpp/poppler-page.h:70:10: error: 'unique_ptr' in namespace 'std' does not name a template type
     std::unique_ptr<text_box_data> m_data;
          ^
Fixes:
 - http://autobuild.buildroot.org/results/3428b9017168db9239756dc06cdaa5ae004cab97

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/exfat-utils: indicate difference with exfatprogs in Config.in help
Thomas Petazzoni [Sun, 19 Apr 2020 13:26:39 +0000 (15:26 +0200)]
package/exfat-utils: indicate difference with exfatprogs in Config.in help

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/exfatprogs: new package
James Hilliard [Fri, 17 Apr 2020 20:14:05 +0000 (14:14 -0600)]
package/exfatprogs: new package

exFAT filesystem userspace utilities

We need a patch to fix:
error: unknown type name ‘ssize_t’

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libfuse3: new package
Asaf Kahlon [Fri, 17 Apr 2020 13:18:55 +0000 (16:18 +0300)]
package/libfuse3: new package

The package is separated from the regular libfuse package, as it
contains new API (and can co-exist with libfuse).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qt5: bump minimum gcc requirement to 5.0
Peter Seiderer [Sat, 18 Apr 2020 22:59:01 +0000 (00:59 +0200)]
package/qt5: bump minimum gcc requirement to 5.0

As a side effect of avoiding gcc bug 57694 ([1]) through commit
'GCC: revoke constexpr before 5.0' ([2]) for qtbase the minimum
gcc requirement was lifted to 5.0 ([3], [4]), so bump the
buildroot determined one too.

Adjust the two packages (pinentry, wireshark) which are brave enough
to do a 'select BR2_PACKAGE_QT5' accordingly.

Fixes:
  http://autobuild.buildroot.net/results/74f5249d1ee14c1269685af53a65055da7dc2ee6

  ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
   #  error "Qt requires C++11 support"

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57694
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=c61cedcc5475a77fb94ed12788f61039835f8079
[3] https://codereview.qt-project.org/c/qt/qtbase/+/285582
[4] https://bugreports.qt.io/browse/QTBUG-81761

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyasn-modules: remove duplicate package
James Hilliard [Sun, 19 Apr 2020 08:50:11 +0000 (02:50 -0600)]
package/python-pyasn-modules: remove duplicate package

This is a duplicate of python-pyasn1-modules.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: add readme.txt
Lubomir Rintel [Sun, 19 Apr 2020 08:39:23 +0000 (10:39 +0200)]
board/olpc: add readme.txt

This adds some instructions on how to build and run images for the OLPC
XO laptops.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: new package
James Hilliard [Sun, 19 Apr 2020 00:39:53 +0000 (18:39 -0600)]
package/apcupsd: new package

Apcupsd is a UPS control system that permits orderly shutdown of your
computer in the event of a power failure.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/luarocks: fix typo
Francois Perrad [Sun, 19 Apr 2020 07:48:27 +0000 (09:48 +0200)]
package/luarocks: fix typo

many build are broken, that starts by this kind of message:
 Warning: could not load configuration file `.../host/etc/luarocks/config.lua` given in environment variable LUAROCKS_CONFIG

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openvpn: security bump version to 2.4.9
Bernd Kuhls [Sun, 19 Apr 2020 07:59:19 +0000 (09:59 +0200)]
package/openvpn: security bump version to 2.4.9

Changelog:
https://github.com/OpenVPN/openvpn/blob/release/2.4/ChangeLog

Fixes CVE-2020-11810.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-stars: bump version to 2.1.4
Bernd Kuhls [Sun, 19 Apr 2020 08:03:26 +0000 (10:03 +0200)]
package/kodi-screensaver-stars: bump version to 2.1.4

Switched license file to LICENSE.md.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-coherence: use pyasn1 instead of pyasn
James Hilliard [Mon, 13 Apr 2020 23:17:04 +0000 (17:17 -0600)]
package/python-coherence: use pyasn1 instead of pyasn

The python-pyasn and python-pyasn1 packages package the exact same
upstream Python module, pyasn1. However, python-pyasn uses an outdated
version, and shouldn't be used.

We no longer need to depend on BR2_INSTALL_LIBSTDCPP as python-pyasn1
does not depend on it.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pysmb: use pyasn1 instead of pyasn
James Hilliard [Mon, 13 Apr 2020 23:12:30 +0000 (17:12 -0600)]
package/python-pysmb: use pyasn1 instead of pyasn

The python-pyasn and python-pyasn1 packages package the exact same
upstream Python module, pyasn1. However, python-pyasn uses an outdated
version, and shouldn't be used.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-service-identity: use pyasn1 instead of pyasn
James Hilliard [Mon, 13 Apr 2020 23:05:21 +0000 (17:05 -0600)]
package/python-service-identity: use pyasn1 instead of pyasn

The python-pyasn and python-pyasn1 packages package the exact same
upstream Python module, pyasn1. However, python-pyasn uses an outdated
version, and shouldn't be used.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/netsnmp: unix domain socket transport
Ryan Steffens [Tue, 14 Apr 2020 17:55:00 +0000 (12:55 -0500)]
package/netsnmp: unix domain socket transport

The support for Unix domain socket transport was disabled as part of
the bump of netsnmp from 5.5 to 5.6 in commit
de642c9904b13914017af6f10db144d559d6bd0c, but with no apparent reason.

This support is needed to allow Unix socket based AgentX subagents to
connect to netsnmp, so let's re-enable it.

Signed-off-by: Ryan Steffens <ryan.steffens@rockwellcollins.com>
Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nanopi_neo4: new defconfig
Marek Belisko [Tue, 14 Apr 2020 19:03:29 +0000 (21:03 +0200)]
configs/nanopi_neo4: new defconfig

A defconfig for the nanopi_neo4 was added in
d1cd9cdf269488d6adeb0cc6d2250cf6ffe1b3ed, but then removed in
8af7b11bd8a95bc41e4de46f727f3b0afde465a4 because an ARM32 compiler was
needed to build ATF, and this was not supported back then.

Thanks to the addition of package/arm-gnu-a-toolchain/, we can now
re-introduce this defconfig.

Compared to the previous defconfig, the following changes were done:

- enable BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
- bump kernel to 5.4
- increase default rootfs size to 70M
- use mainline u-boot
- switch to Marek Belisko as maintainer

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nitrogen8mn: new defconfig
Gary Bisson [Wed, 15 Apr 2020 16:18:31 +0000 (18:18 +0200)]
configs/nitrogen8mn: new defconfig

NXP i.MX8MNano based SBC with 1GB of LPDDR4 and 16GB eMMC.

More details on the platform here:
https://boundarydevices.com/product/nitrogen8m-nano/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nitrogen*: bump u-boot revision
Gary Bisson [Wed, 15 Apr 2020 16:18:30 +0000 (18:18 +0200)]
configs/nitrogen*: bump u-boot revision

Changelog:
- fix serial# variable creation for i.MX8MQ/MM/MN
- improve display selection
- fix fastboot support for boards with 1GB of RAM only
- add BD Nano board support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nitrogen*: bump kernel revision
Gary Bisson [Wed, 15 Apr 2020 16:18:29 +0000 (18:18 +0200)]
configs/nitrogen*: bump kernel revision

Changelog:
- fix PMIC issue for i.MX8MMini
- add support for MCP25xxFD SPI to CAN chip
- fix external module build issue for GCC >= 9
- add BD Nano board support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/common/imx: add support for i.MX8M Nano
Gary Bisson [Wed, 15 Apr 2020 16:18:28 +0000 (18:18 +0200)]
board/freescale/common/imx: add support for i.MX8M Nano

Almost identical as i.MX8M Mini, here are the differences:
- different ATF load address [1]
- different entry point [2]
- different ROM version (v2) [3]

[1] https://gitlab.denx.de/u-boot/u-boot/-/blob/v2020.04/board/freescale/imx8mn_evk/README
[2] https://gitlab.denx.de/u-boot/u-boot/-/blob/v2020.04/configs/imx8mn_ddr4_evk_defconfig#L22
[3] https://gitlab.denx.de/u-boot/u-boot/-/commit/b8f16834

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/imx-mkimage: add support for i.MX8M Nano
Gary Bisson [Wed, 15 Apr 2020 16:18:27 +0000 (18:18 +0200)]
package/imx-mkimage: add support for i.MX8M Nano

This CPU uses the same tools to generate boot images as 8MQ/8MMini.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Erik Larsson <karl.erik.larsson@gmail.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/firmware-imx: add support for i.MX8M Nano
Gary Bisson [Wed, 15 Apr 2020 16:18:26 +0000 (18:18 +0200)]
package/freescale-imx/firmware-imx: add support for i.MX8M Nano

This CPU requires the same (LP)DDR training binaries as i.MX8M Mini.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Refik Tuzakli <tuzakli.refik@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx: add option for i.MX8M Nano
Gary Bisson [Wed, 15 Apr 2020 16:18:25 +0000 (18:18 +0200)]
package/freescale-imx: add option for i.MX8M Nano

The i.MX8M Nano is slightly different from the i.MX8M Mini but very
close (pin to pin compatible).
Mainly the Nano version has no VPU and another GPU (GC7000UL).

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Refik Tuzakli <tuzakli.refik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/php: fix gd extension dependencies and options
Louis Aussedat [Sat, 18 Apr 2020 09:03:43 +0000 (11:03 +0200)]
package/php: fix gd extension dependencies and options

Due to migration to pkg-config in php 7.4, the detection of
library dependencies has been changed.

source from php.net:
--with-gd becomes --enable-gd
--with-png-dir has been removed. libpng is required.
--with-zlib-dir has been removed. zlib is required.
--with-freetype-dir becomes --with-freetype
--with-jpeg-dir becomes --with-jpeg

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/php: fix zip support
Louis Aussedat [Sat, 18 Apr 2020 09:03:42 +0000 (11:03 +0200)]
package/php: fix zip support

since php7.4, --enable-zip becomes --with-zip due to
migration to pkg-config.

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkcs11-helper: bump version to 1.26
Adam Duskett [Sat, 18 Apr 2020 03:15:56 +0000 (20:15 -0700)]
package/pkcs11-helper: bump version to 1.26

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libdvdnav: fix build with gcc-4.8
Bernd Kuhls [Fri, 17 Apr 2020 16:55:14 +0000 (18:55 +0200)]
package/libdvdnav: fix build with gcc-4.8

Fixes:

  http://autobuild.buildroot.net/results/c9514368b98bc3a7f7ab92cb33c54bd3ffd9a232/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/swupdate: add basic systemd/sysv service
Sam Voss [Sat, 18 Apr 2020 00:31:10 +0000 (19:31 -0500)]
package/swupdate: add basic systemd/sysv service

Signed-off-by: Sam Voss <sam.voss@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/polkit: enable gobject-introspection support
Adam Duskett [Sat, 18 Apr 2020 02:58:16 +0000 (19:58 -0700)]
package/polkit: enable gobject-introspection support

If gobject-introspection is selected, add the gobject-introspection package to
the dependency list and set the conf opt --enable-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/polkit: add upstream fix for SIGTTOU
Adam Duskett [Sat, 18 Apr 2020 02:58:15 +0000 (19:58 -0700)]
package/polkit: add upstream fix for SIGTTOU

If tty_handler() resets terminal while pkttyagent is run in background job,
the process gets stopped by SIGTTOU. This impacts systemctl, hence it must
be blocked for a while and then the process gets killed anyway.

Upstream commit: 28e3a6653d8c3777b07e0128a0d97d46e586e311

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/polkit: add upstream memory leak fix
Adam Duskett [Sat, 18 Apr 2020 02:58:14 +0000 (19:58 -0700)]
package/polkit: add upstream memory leak fix

This patch fixes two small memory leaks.

Upstream commit: 28e3a6653d8c3777b07e0128a0d97d46e586e311

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/polkit: install service file
Adam Duskett [Sat, 18 Apr 2020 02:58:13 +0000 (19:58 -0700)]
package/polkit: install service file

The default installed service file is missing a target, which causes preset-all
to not enable the service.

Add the service file to package/polkit with the addition of:

[Install]
WantedBy=multi-user.target

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cryptography: bump to version 2.9
James Hilliard [Mon, 13 Apr 2020 22:55:19 +0000 (16:55 -0600)]
package/python-cryptography: bump to version 2.9

We can remove CFLAGS="$(TARGET_CFLAGS) -pthread" as of upstream commit:
https://github.com/pyca/cryptography/commit/085382fb17a560dd11e4710077b63a26d5dcf05c

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/shairport-sync: bump to version 3.3.6
Jörg Krause [Tue, 14 Apr 2020 06:26:35 +0000 (08:26 +0200)]
package/shairport-sync: bump to version 3.3.6

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/mxs: specify the volume-label for vfat
Fabio Estevam [Fri, 17 Apr 2020 18:24:15 +0000 (15:24 -0300)]
board/freescale/mxs: specify the volume-label for vfat

Currently the volume-label for the vfat partition is a string with
the following pattern: 5934-861D.

Specify the volume-label as "boot" to make it easier to identify it.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo175: new defconfig
Lubomir Rintel [Thu, 16 Apr 2020 09:59:54 +0000 (11:59 +0200)]
configs/olpc_xo175: new defconfig

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo1: new defconfig
Lubomir Rintel [Thu, 16 Apr 2020 09:59:53 +0000 (11:59 +0200)]
configs/olpc_xo1: new defconfig

This defconfig supports the OLPC XO-1 platform.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: add common scripts and files for OLPC laptops
Lubomir Rintel [Thu, 16 Apr 2020 09:59:52 +0000 (11:59 +0200)]
board/olpc: add common scripts and files for OLPC laptops

There are muliple generations of OLPC laptops, x86 ones based on
Geode, VIA and ARM based with Marvell Armada. All of boot with
OpenFirmware and share some peripherals.

This patch adds the common files.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qemu: enable or1k support in host-qemu
Romain Naour [Fri, 17 Apr 2020 20:16:26 +0000 (22:16 +0200)]
package/qemu: enable or1k support in host-qemu

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

The or1k support was named or32 until Qemu 2.9.0 and then renamed or1k
in upstream commit [1]. Since we're already using Qemu 4.2.0, we use
the or1k name.

Tested using qemu_or1k_defconfig.

[1] https://git.qemu.org/?p=qemu.git;a=commit;h=4a09d0bb34ab030e09e87173b2e3ec0fd7616cff

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/selinux-python: bump to version 3.0
Matt Weber [Wed, 15 Apr 2020 12:59:21 +0000 (07:59 -0500)]
package/selinux-python: bump to version 3.0

This is now Python 3.x only.

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/checkpolicy: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:20 +0000 (07:59 -0500)]
package/checkpolicy: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/semodule-utils: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:19 +0000 (07:59 -0500)]
package/semodule-utils: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/restorecond: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:18 +0000 (07:59 -0500)]
package/restorecond: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/policycoreutils: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:17 +0000 (07:59 -0500)]
package/policycoreutils: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsepol: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:16 +0000 (07:59 -0500)]
package/libsepol: bump version to 3.0

Other changes:
  - Add policy version 32 as a default version of toolchains build with kernel
    headers 5.5 or later.

  - Add Help text for the above.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsepol: fix help text for BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
Thomas Petazzoni [Fri, 17 Apr 2020 20:27:56 +0000 (22:27 +0200)]
package/libsepol: fix help text for BR2_PACKAGE_LIBSEPOL_POLICY_VERSION

The help text was wrong, as it didn't match the actual default values
we were specifying. Indeed, when we specify:

        default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
        default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3

It means that the policy version 30 is supported starting from Linux
4.3 included, and that 31 is supported from Linux 4.13 included.

So we shouldn't have:

  > 4.3 <= 4.13    30
  > 4.13           31

but:

  >= 4.3 < 4.13    30
  >= 4.13          31

This patch fixes that for all versions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsemanage: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:15 +0000 (07:59 -0500)]
package/libsemanage: bump version to 3.0

Other changes:
  - Remove the Python2 check, as 3.0 has removed support for Python2.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libselinux: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:14 +0000 (07:59 -0500)]
package/libselinux: bump version to 3.0

Other changes:
  - Remove upstream patches.
  - Modify existing patches to work with 3.0.
  - Remove Python2 check, as 3.0 has removed Python2 support.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libssh: add patch to fix reported version
Heiko Thiery [Wed, 15 Apr 2020 10:46:40 +0000 (12:46 +0200)]
package/libssh: add patch to fix reported version

The released libssh package does wrongly reports the previous version.
This patch fixes the version field in the lib.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-treq: bump to version 20.3.0
James Hilliard [Thu, 16 Apr 2020 00:59:18 +0000 (18:59 -0600)]
package/python-treq: bump to version 20.3.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openrc: enable selinux support when libselinux is enabled
Adam Duskett [Thu, 16 Apr 2020 03:21:37 +0000 (00:21 -0300)]
package/openrc: enable selinux support when libselinux is enabled

OpenRC suports SELinux, so there is no reason to forcibly disable it.

Notice this only allows OpenRC to perform the initial policy load and
set the enforcing mode. In order really use SELinux it's also
necessary to select refpolicy, which provides a policy, and
policycoreutils, which provides restorecon and other SELinux
utilities.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-dpkt: remove Python2 only dependency
Yegor Yefremov [Thu, 16 Apr 2020 05:27:54 +0000 (07:27 +0200)]
package/python-dpkt: remove Python2 only dependency

python-dpkt supports both Python flavors.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/warp7: bump kernel and U-Boot version
Pierre-Jean Texier [Thu, 16 Apr 2020 20:55:29 +0000 (22:55 +0200)]
configs/warp7: bump kernel and U-Boot version

Bump U-Boot to 2020.04 and kernel to version 5.6.3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/wandboard: bump U-Boot and kernel versions
Fabio Estevam [Thu, 16 Apr 2020 20:07:25 +0000 (17:07 -0300)]
configs/wandboard: bump U-Boot and kernel versions

Bump U-Boot to version 2020.04 and kernel to 5.6.3.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/glorytun: bump version to 0.3.4
Adrien Gallouët [Fri, 17 Apr 2020 13:59:40 +0000 (13:59 +0000)]
package/glorytun: bump version to 0.3.4

The hash of the license file has changed due to year update:

-Copyright (c) 2015-2019, Adrien Gallouët <adrien@gallouet.fr>
+Copyright (c) 2015-2020, Adrien Gallouët <adrien@gallouet.fr>

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/php: security bump version to 7.4.5
Bernd Kuhls [Thu, 16 Apr 2020 17:41:35 +0000 (19:41 +0200)]
package/php: security bump version to 7.4.5

Changelog: https://www.php.net/ChangeLog-7.php#7.4.5

Fixes CVE-2020-7067.

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lua-lyaml: bump to version 6.2.5
Francois Perrad [Thu, 16 Apr 2020 12:00:44 +0000 (14:00 +0200)]
package/lua-lyaml: bump to version 6.2.5

diff LICENSE:
- Copyright (C) 2013-2019 Gary V. Vaughan
+ Copyright (C) 2013-2020 Gary V. Vaughan

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python{, 3}-mako: bump to version 1.1.2
James Hilliard [Thu, 16 Apr 2020 09:56:02 +0000 (03:56 -0600)]
package/python{, 3}-mako: bump to version 1.1.2

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.2
James Hilliard [Thu, 16 Apr 2020 09:50:02 +0000 (03:50 -0600)]
package/python-crossbar: bump to version 20.4.2

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.2
James Hilliard [Thu, 16 Apr 2020 09:42:24 +0000 (03:42 -0600)]
package/python-autobahn: bump to version 20.4.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/prosody: bump to version 0.11.5
Francois Perrad [Thu, 16 Apr 2020 06:29:07 +0000 (08:29 +0200)]
package/prosody: bump to version 0.11.5

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fbgrab: bump to version 1.3.3
Timo Ketola [Thu, 16 Apr 2020 05:50:16 +0000 (08:50 +0300)]
package/fbgrab: bump to version 1.3.3

The pixfmt report bug has been fixed upstream.

Signed-off-by: Timo Ketola <timo.ketola@exertus.fi>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-simpleaudio: bump to version 1.0.4
James Hilliard [Thu, 16 Apr 2020 11:28:08 +0000 (05:28 -0600)]
package/python-simpleaudio: bump to version 1.0.4

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-secretstorage: bump to version 3.1.2
James Hilliard [Thu, 16 Apr 2020 11:22:55 +0000 (05:22 -0600)]
package/python-secretstorage: bump to version 3.1.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-psycopg2: bump to version 2.8.5
James Hilliard [Thu, 16 Apr 2020 11:13:26 +0000 (05:13 -0600)]
package/python-psycopg2: bump to version 2.8.5

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-mbstrdecoder: bump to version 1.0.0
James Hilliard [Thu, 16 Apr 2020 10:58:41 +0000 (04:58 -0600)]
package/python-mbstrdecoder: bump to version 1.0.0

Commit hash change is due to line endings change not in upstream
git repo.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-more-itertools: bump to version 8.2.0
James Hilliard [Thu, 16 Apr 2020 10:54:52 +0000 (04:54 -0600)]
package/python-more-itertools: bump to version 8.2.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-dataproperty: bump to version 0.48.1
James Hilliard [Thu, 16 Apr 2020 10:49:57 +0000 (04:49 -0600)]
package/python-dataproperty: bump to version 0.48.1

Commit hash change is due to line endings change not in upstream
git repo.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-tabledata: bump to version 1.1.2
James Hilliard [Thu, 16 Apr 2020 10:42:01 +0000 (04:42 -0600)]
package/python-tabledata: bump to version 1.1.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python{3}-setuptools: bump to version 44.0.0
James Hilliard [Thu, 16 Apr 2020 10:38:01 +0000 (04:38 -0600)]
package/python{3}-setuptools: bump to version 44.0.0

This is the latest version of setuptools that supports python2.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-requests: bump to version 2.23.0
James Hilliard [Thu, 16 Apr 2020 10:27:13 +0000 (04:27 -0600)]
package/python-requests: bump to version 2.23.0

Drop patch that is now upstream.

License hash change is due to date change in upstream commit:
https://github.com/psf/requests/commit/a29be8f9ccf13c887e0f8861c2a35fb5289b9e3f

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyzmq: bump to version 19.0.0
James Hilliard [Thu, 16 Apr 2020 10:15:00 +0000 (04:15 -0600)]
package/python-pyzmq: bump to version 19.0.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pycparser: bump to version 2.20
James Hilliard [Thu, 16 Apr 2020 10:07:58 +0000 (04:07 -0600)]
package/python-pycparser: bump to version 2.20

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pycairo: bump to version 1.19.1
James Hilliard [Thu, 16 Apr 2020 10:04:28 +0000 (04:04 -0600)]
package/python-pycairo: bump to version 1.19.1

License hash change is due to upstream commit:
https://github.com/pygobject/pycairo/commit/886ecfd5286a8af2202e521ef2d4d7fac18f1d6f

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysrepo: drop unneeded dependencies
Heiko Thiery [Thu, 16 Apr 2020 12:18:16 +0000 (14:18 +0200)]
package/sysrepo: drop unneeded dependencies

The following dependencies are no longer needed:
- libev
- libavl
- protobuf-c

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libgit2: Bump to version 1.0.0
Nicolas Cavallari [Fri, 17 Apr 2020 07:28:01 +0000 (09:28 +0200)]
package/libgit2: Bump to version 1.0.0

This version changes the required dependencies as well as introducing
new bundled ones...

- Switch to the tarball released by upstream.
- Start depending on httpparser, instead of using the bundled one.
- Force using regcomp instead of using a bundled pcre.
- Add license for a bundled wildmatch and sha1.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
[yann.morin.1998@free.fr: reorder licenses; two spaces in hash file.]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sysrepo: bump to version 1.4.2
Heiko Thiery [Tue, 14 Apr 2020 08:17:17 +0000 (10:17 +0200)]
package/sysrepo: bump to version 1.4.2

- Align hashes to the new spacing convention
- Drop patches upstreamed applied

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libyang: bump to version 1.0.130
Heiko Thiery [Tue, 14 Apr 2020 08:17:16 +0000 (10:17 +0200)]
package/libyang: bump to version 1.0.130

- Align hashes to the new spacing convention

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnetconf2: bump to version 1.1.7
Heiko Thiery [Tue, 14 Apr 2020 08:17:15 +0000 (10:17 +0200)]
package/libnetconf2: bump to version 1.1.7

- Align hashes to the new spacing convention

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/macchiatobin*: drop vendor defconfig, rename mainline defconfig
Sergey Matyukevich [Wed, 15 Apr 2020 13:41:36 +0000 (16:41 +0300)]
configs/macchiatobin*: drop vendor defconfig, rename mainline defconfig

The support for MacchiatoBin board in U-Boot and Linux has been
significantly improved in the past years. So it no longer makes much
sense to have a separate build configuration based on older vendor
Linux kernel and U-Boot. This commit drops the configuration based on
vendor kernel and U-Boot and renames the mainline-based defconfig.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/solidrun_macchiatobin_mainline: bump Linux and U-Boot versions
Sergey Matyukevich [Wed, 15 Apr 2020 13:41:35 +0000 (16:41 +0300)]
configs/solidrun_macchiatobin_mainline: bump Linux and U-Boot versions

Bump Linux to 5.6.3, U-Boot to 2020.01. New kernel and modules based
on arm64 defconfig do not fit into default size filesystem anymore.
So increase filesystem size to 120M.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtirpc: bump to version 1.2.6
Petr Vorel [Wed, 15 Apr 2020 18:21:53 +0000 (20:21 +0200)]
package/libtirpc: bump to version 1.2.6

This fixes build on riscv64:

http://autobuild.buildroot.net/results/a334f774e95fb7805568fc3868d5cf1d790a6e73
http://autobuild.buildroot.net/results/9cf80bdd4d329788c89596b56205ef215ee09c35

There is also a fix for build with -fno-common (default for gcc-10)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/acmesystems*: drop BR2_TARGET_ROOTFS_EXT2_LABEL options
Thomas Petazzoni [Wed, 15 Apr 2020 20:50:10 +0000 (22:50 +0200)]
configs/acmesystems*: drop BR2_TARGET_ROOTFS_EXT2_LABEL options

BR2_TARGET_ROOTFS_EXT2_LABEL now defaults to "rootfs", so repeating
that in those defconfigs is no longer necessary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agofs/ext2: pass a default string to filesystem label
Fabio Estevam [Wed, 15 Apr 2020 12:36:56 +0000 (09:36 -0300)]
fs/ext2: pass a default string to filesystem label

Currently the volume-label for the root filesystem partition is a string
wit the following pattern: ad09a287-46a9-4790-ba97-fbbb549e5e96.

Specify the volume-label as "rootfs" to make it easier to identify it.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale: specify the volume-label for FAT partition
Fabio Estevam [Wed, 15 Apr 2020 12:36:55 +0000 (09:36 -0300)]
board/freescale: specify the volume-label for FAT partition

Currently the volume-label for the vfat partition is a string with
the following pattern: 5934-861D.

Specify the volume-label as "boot" to make it easier to identify it.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libid3tag: needs host-gperf
Fabrice Fontaine [Wed, 15 Apr 2020 20:36:31 +0000 (22:36 +0200)]
package/libid3tag: needs host-gperf

Since switch to debian in commit
210ccaef5784011bc035d0ae13611cb4e76f389f, host-gperf is needed to
generate frametype.c because debian/patches/add-m4-directory.patch
patches Makefile.am. As a side effect, libid3tag tries to generate
frametype.c from frametype.gperf due to following rule:

$(srcdir)/frametype.c: $(srcdir)/frametype.gperf Makefile.am
        cd $(srcdir) &&  \
        gperf -tCcTonD -K id -N id3_frametype_lookup -s -3 -k '*'  \
                frametype.gperf |  \
        sed -e 's/\(struct id3_frametype\);/\1/' |  \
        sed -e '/\$$''Id: /s/\$$//g' >frametype.c

If host-gperf is not available, frametype.c will be empty and build with
madplay will fail on:

configure:17243: checking for snd_pcm_open in -lasound
configure:17268: /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/powerpc64-linux-gcc -o conftest -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=1  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c -lasound  -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib -lasound  -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib -lid3tag  >&5
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/8.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libid3tag.so: undefined reference to `id3_frametype_lookup'

Fixes:
 - http://autobuild.buildroot.org/results/15a8c7f6e34b26446179c04383719ea71495403e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnuradio: revert patch 003 removal
Gwenhael Goavec-Merou [Tue, 14 Apr 2020 08:51:54 +0000 (10:51 +0200)]
package/gnuradio: revert patch 003 removal

In commit 14476b7fcaf102dcc39b5d4919a4f08660f821de ("package/gnuradio:
bump to 3.8.1.0"), all gnuradio patches were dropped. However, it
turns out that the path
0003-gr-digital-glfsr.h-drop-boost-cstdint.hpp-and-use-cs.patch was
applied in gnuradio master branch but has not been backported to
maint-3.8.  So this patch can't be supressed as we are using gnuradio
3.8.1.0.

Fix:
  http://autobuild.buildroot.net/results/79a7dabc20016bcf11afe22e6a5691edbba2455b/
  http://autobuild.buildroot.net/results/7342833ebcc8f399d98ba05e63fce6b60403371e/
  http://autobuild.buildroot.net/results/1807c1b054623148f0a2e55dd998b0b428f48b47/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-iptables: account for platform tag in extensions
Frank Vanbever [Wed, 11 Mar 2020 10:54:47 +0000 (11:54 +0100)]
package/python-iptables: account for platform tag in extensions

EXT_SUFFIX in Python versions > 3.5 contains a platform tag which only applies
to cpython extensions. Given that ctypes.util.find_library does not work on the
target due to the absence of the underlying tools '.so' needs to be added as a
possible suffix for libraries to enable python-iptables to find the iptables
shared libraries.

Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-iptables: try known libc instead of find_library()
Frank Vanbever [Wed, 11 Mar 2020 10:54:45 +0000 (11:54 +0100)]
package/python-iptables: try known libc instead of find_library()

ctypes.util.find_library() depends on gcc and friends to detect the location of
a given shared library. Given that these are not available on the target and
that python-iptables depends on this functionality we need to work around this.
The SONAMEs of the libc are well known so we try the known ones for glibc,
uClibc and musl.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12271
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
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>