buildroot.git
4 years agopackage/llvm: remove outdated variables disabling bindings
Joseph Kogut [Mon, 16 Mar 2020 20:01:06 +0000 (13:01 -0700)]
package/llvm: remove outdated variables disabling bindings

LLVM no longer disables unsupported bindings by overriding OCAMLFIND and
GO_EXECUTABLE, so remove them.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/llvm: specify LLVM_ENABLE_BINDINGS=OFF
Joseph Kogut [Mon, 16 Mar 2020 20:01:05 +0000 (13:01 -0700)]
package/llvm: specify LLVM_ENABLE_BINDINGS=OFF

LLVM builds bindings for other languages such as Go and OCaml when the
appropriate dependencies can be found. We currently don't support
building these bindings in Buildroot, as they're currently unused by any
package.

Building these bindings was originally disabled by overriding the
dependencies with values indicating that they were not found.

Newer versions of LLVM no longer disable the OCaml bindings when overriding
OCAMLFIND. Consequently, the build process attempts to install the bindings
to the default location on the host of /usr/lib/ocaml/llvm, causing a
permissions error and build failure.

Additionally, LLVM has since added the variable LLVM_ENABLE_BINDINGS to
control whether bindings are enabled, so we override that to disable the
bindings.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agofs/initramfs: fix show-info
Yann E. MORIN [Mon, 16 Mar 2020 21:55:36 +0000 (22:55 +0100)]
fs/initramfs: fix show-info

The initramfs is not a reall filesystem, so it does not use the
$(rootfs) infrastructure.

As a consequence, the usual rootfs-related variables are not set,
especially the name, type, and dependencies of the (non-)filesystem.

Yet, it is present in the list of rootfs to build, and thus we end
up including it in the output of show-info. But the missing variables
yield an incorrect json:

    "": {
        "type": "",
        "virtual": false,
        "version": "",
        "licenses": "",
        "dl_dir": "",
        "install_target": ,
        "install_staging": ,
        "install_images": ,
        "downloads": [ ],
        "dependencies": [ ],
        "reverse_dependencies": [ ]
    },

First, the object key is empty; second, the install_target,
install_staging, and install_images values are empty, which is not
valid (if they were null, that be OK though). Third, this is clearly
the layout of a 'package' entry, not that of a 'rootfs' entry.

An option to fix that would be to actually make use of the rootfs
infra. However, that would mean doing a lot of work for nothing
(there is actually nothing to do, yet the infra would still do a lot
of preparatory and clean up work).

The alternative is pretty simple: declare and set the variables as if
it were a real filesystem, so that show-info can filter it to the
proper layout and can spit out appropriate content (even if fake).

The third option would be to teach show-info (and its internal
implementation, the macro json-info) to ignore specific cases, like
no-name items, or replace empty values with null, or whatnots. This
again would be quite a lot of work for a single occurence.

So we go for the simple faked variables.

We add linux as a dependency, so that the graph-depends also properly
represent the dependency chain, which ends up with something liKe:

              ALL
               |
               v
        rootfs-initramfs
         |            |
         v            v
       linux     rootfs-cpio

which is pretty fitting in the end.

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ccache: bump to version 3.7.8
Asaf Kahlon [Tue, 17 Mar 2020 19:04:03 +0000 (21:04 +0200)]
package/ccache: bump to version 3.7.8

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/arm-trusted-firmware: add optional host-dtc dependency
Thomas Petazzoni [Wed, 18 Mar 2020 20:50:05 +0000 (21:50 +0100)]
boot/arm-trusted-firmware: add optional host-dtc dependency

Some ATF configurations, such as the ones for the STM32MP1 processor
family, require DTC during the build as Device Tree files are
used. Without dtc, the build fails:

/bin/sh: 1: dtc: not found
dtc version too old (), you need at least version 1.4.4
plat/st/stm32mp1/platform.mk:239: recipe for target 'check_dtc_version' failed
make[1]: *** [check_dtc_version] Error 1

To solve this, this commit implements a
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC option, in a way that mimics
the BR2_TARGET_UBOOT_NEEDS_DTC option we already have for the U-Boot
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ed: bump to version 1.16
Kévin L'hôpital [Wed, 18 Mar 2020 08:47:43 +0000 (09:47 +0100)]
package/ed: bump to version 1.16

Signed-off-by: Kévin L'hôpital <kevin.lhopital@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/luvi: bump to version 2.11.0
Jörg Krause [Wed, 18 Mar 2020 08:16:30 +0000 (09:16 +0100)]
package/luvi: bump to version 2.11.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuv: bump to version 1.35.0
Jörg Krause [Wed, 18 Mar 2020 08:08:43 +0000 (09:08 +0100)]
package/libuv: bump to version 1.35.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/luv: bump to version 1.34.2-2
Jörg Krause [Wed, 18 Mar 2020 08:02:57 +0000 (09:02 +0100)]
package/luv: bump to version 1.34.2-2

Drop pathch 0001 which was applied upstream.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/grinn_liteboard_defconfig: bump Linux to 5.4.23
Bartosz Bilas [Wed, 18 Mar 2020 12:55:04 +0000 (13:55 +0100)]
configs/grinn_liteboard_defconfig: bump Linux to 5.4.23

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/monit: fix URL in hash file comment
Alexander Dahl [Wed, 18 Mar 2020 09:11:40 +0000 (10:11 +0100)]
package/monit: fix URL in hash file comment

Previous URL gives:

    % curl https://mmonit.com/monit/dist/monit-5.25.3.tar.gz.sha256
    c10258c8839d20864d30390e7cbf2ff5e0480a67a6fb80c02aa457d6e3390569 monit-5.25.3.tar.gz

Current URL is:

    % curl https://mmonit.com/monit/dist/monit-5.26.0.tar.gz.sha256
    87fc4568a3af9a2be89040efb169e3a2e47b262f99e78d5ddde99dd89f02f3c2 monit-5.26.0.tar.gz

This was probably just forgotten on the last version bump.

Fixes: ad250c3d1884 ("package/monit: bump to version 5.26.0")
Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/localedef: fix dependencies
Yann E. MORIN [Tue, 17 Mar 2020 21:11:02 +0000 (22:11 +0100)]
package/localedef: fix dependencies

localedef needs bison to satisfy a .y.c rule to generate a parser for
plural forms, to ultimately generate data for the target. So we do not
want to depend on the host-provided bison; we want to build our own (for
reproducibility).

localedef is a host-only package, and dependencies are not inherited
from the target variant, so we need to make them explicit host
dependencies.

And move the assignment after all the download-related variables.

Reported-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/coreutils: bump to v8.32
Joao Marcos Costa [Tue, 17 Mar 2020 14:55:04 +0000 (15:55 +0100)]
package/coreutils: bump to v8.32

The update to version 8.32 removes the need for an extra patch [1]
(which was added in upstream) but requires another one [2] to fix a new
build issue related to the file 'src/ls.c'.
[1]: 0001-strtod_fix_clash_with_strtold.patch
[2]: 0001-ls-restore-8.31-behavior-on-removed-directories.patch

The changes in the 'COPYING' license file are purely cosmetic: the
https protocol is replacing http in all the links pointing to the
fsf.org and the gnu.org websites (plus a page being renamed). The
following diff shows one of these changes, they are all similar anyway:

- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: fix locale purge when BR2_PER_PACKAGE_DIRECTORIES=y
Thomas Petazzoni [Mon, 16 Mar 2020 15:46:23 +0000 (16:46 +0100)]
Makefile: fix locale purge when BR2_PER_PACKAGE_DIRECTORIES=y

With BR2_PER_PACKAGE_DIRECTORIES=y, we have the following code in the
main Makefile:

target-finalize: $(PACKAGES) $(TARGET_DIR) host-finalize
@$(call MESSAGE,"Finalizing target directory")
$(call per-package-rsync,$(sort $(PACKAGES)),target,$(TARGET_DIR))
$(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep))

The per-package-rsync call creates the global $(TARGET_DIR) from the
per-package $(TARGET_DIR). Then, we call the TARGET_FINALIZE_HOOKS.

One of the TARGET_FINALIZE_HOOKS, PURGE_LOCALES, remove locales that
are not desired by the user. It does so using a loop with the
$(wildcard ...) function.

However, the $(wildcard ...) function is expanded at the moment the
rule is evaluated. And with per-package directory, at the time the
rule is evaluated, the global $(TARGET_DIR) is empty, so $(wildcard
...) will return nothing. It is indeed only after the call to
per-package-rsync that the TARGET_DIR will be populated.

This commit fixes that by moving away from $(wildcard ...) and use a
shell test instead, since we are anyway in big block of shell code.

With this, locales are properly purged again when
BR2_PER_PACKAGE_DIRECTORIES=y.

Fixes: c4e6d5c8be6ada8e7c60950e3b499c55d48761cb ("core: implement per-package SDK and target")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - make the style look like the code around (no space in front of ;)
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/syslog-ng: Bump version to 2.26.1
Chris Packham [Mon, 16 Mar 2020 23:53:25 +0000 (12:53 +1300)]
package/syslog-ng: Bump version to 2.26.1

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/syslog-ng: fix build if net-snmp is installed on the host
Thomas De Schampheleire [Mon, 16 Mar 2020 15:01:05 +0000 (16:01 +0100)]
package/syslog-ng: fix build if net-snmp is installed on the host

If syslog-ng is selected in Buildroot and net-snmp is not, but net-snmp is
found on the host machine (at least its net-snmp-config script) then
compilation of syslog-ng fails with:

  CC       modules/snmp-dest/modules_snmp_dest_libsnmpdest_la-snmpdest-grammar.lo
  CC       modules/snmp-dest/modules_snmp_dest_libsnmpdest_la-snmpdest.lo
  CC       modules/snmp-dest/modules_snmp_dest_libsnmpdest_la-snmpdest-plugin.lo
arm-none-linux-gnueabi-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include'
make[3]: *** [Makefile:17397: modules/snmp-dest/modules_snmp_dest_libsnmpdest_la-snmpdest-grammar.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
arm-none-linux-gnueabi-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include'
make[3]: *** [Makefile:17404: modules/snmp-dest/modules_snmp_dest_libsnmpdest_la-snmpdest.lo] Error 1
arm-none-linux-gnueabi-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include'
make[3]: *** [Makefile:17411: modules/snmp-dest/modules_snmp_dest_libsnmpdest_la-snmpdest-plugin.lo] Error 1
make[2]: *** [Makefile:21428: all-recursive] Error 1
make[1]: *** [Makefile:8740: all] Error 2
make[1]: Leaving directory '.../buildroot/output/build/syslog-ng-3.25.1'
make: *** [package/pkg-generic.mk:269: .../buildroot/output/build/syslog-ng-3.25.1/.stamp_built] Error 2

The path /usr/include is obtained via /usr/bin/net-snmp-config.

The fix comprises two parts:
1. only enable net-snmp support in syslog-ng if the net-snmp package is
enabled in Buildroot
2. for the case where net-snmp is selected in Buildroot, fix the configure
script of syslog-ng to allow parsing --with-netsnmp=<path> correctly.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-generic.mk: create directories before calling hooks
Thomas Petazzoni [Thu, 12 Mar 2020 09:15:29 +0000 (10:15 +0100)]
package/pkg-generic.mk: create directories before calling hooks

In commit 0e2be4db8ab01d479177a3a187c22525752195ae
("package/pkg-generic: make file list logic parallel build
compatible"), the logic to create the list of files installed by a
particular package was significantly reworked to be compatible with
top-level parallel build.

Before this commit, there was only a after-install step of listing the
files in HOST_DIR/TARGET_DIR/STAGING_DIR. But after this commit, we
now have a before-install logic and an after-install logic.

It turns out that when the before-install logic is called for the very
first host package, $(HOST_DIR) doesn't exist yet, and therefore the
cd $(2) fails, with an error message:

/bin/sh: line 0: cd: /home/thomas/buildroot/output/host: No such file or directory

In fact, $(HOST_DIR), $(STAGING_DIR), $(TARGET_DIR) and
$(BINARIES_DIR) are created by the make rules for host installation,
staging installation, target installation and images installation, but
*after* calling the step_start hooks.

So, we simply fix this problem by creating the directories *before*
calling the step_start hooks.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agodocs/website: update for 2019.02.10
Peter Korsgaard [Mon, 16 Mar 2020 21:48:18 +0000 (22:48 +0100)]
docs/website: update for 2019.02.10

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2019.02.10
Peter Korsgaard [Mon, 16 Mar 2020 21:20:02 +0000 (22:20 +0100)]
Update for 2019.02.10

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f526ccb76de20c5969e9499737635fab1cf43a0a)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agodocs/website: update for 2019.11.2
Peter Korsgaard [Mon, 16 Mar 2020 16:43:31 +0000 (17:43 +0100)]
docs/website: update for 2019.11.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2019.11.2
Peter Korsgaard [Mon, 16 Mar 2020 15:17:07 +0000 (16:17 +0100)]
Update for 2019.11.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit c23bac676738f8c8da2a8038df4ce9a123349008)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libcpprestsdk: put back zlib dependency
Fabrice Fontaine [Sun, 15 Mar 2020 22:25:05 +0000 (23:25 +0100)]
package/libcpprestsdk: put back zlib dependency

zlib dependency was wrongly removed by commit
3037e99ae67f159626c0b148da46008e1dd23e91

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wireshark: add missing qt5 dependencies
Peter Seiderer [Tue, 10 Mar 2020 08:19:02 +0000 (09:19 +0100)]
package/wireshark: add missing qt5 dependencies

- BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
- !BR2_arc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pinentry: add missing qt5 dependencies
Peter Seiderer [Tue, 10 Mar 2020 08:19:01 +0000 (09:19 +0100)]
package/pinentry: add missing qt5 dependencies

- BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
- !BR2_arc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5: enable for xtensa
Peter Seiderer [Tue, 10 Mar 2020 08:19:00 +0000 (09:19 +0100)]
package/qt5: enable for xtensa

Add upstream patch to fix double-conversion compile for xtensa
and drop dependency on !BR_xtensa.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5: enable for nios2
Peter Seiderer [Tue, 10 Mar 2020 08:18:59 +0000 (09:18 +0100)]
package/qt5: enable for nios2

The double-conversion support for nios2 is already enabled
by commit [1], so drop dependency on !BR2_nios2.

[1] https://git.buildroot.net/buildroot/commit/?id=e2fdb41f711db8894f9c5c83f32250728d4c3aa9

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoutils/scancpan: use two spaces indentation in hash file
Fabrice Fontaine [Sun, 15 Mar 2020 22:03:57 +0000 (23:03 +0100)]
utils/scancpan: use two spaces indentation in hash file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoDEVELOPERS: add Refik Tuzakli for freescale-imx
Refik Tuzakli [Mon, 3 Feb 2020 19:31:55 +0000 (22:31 +0300)]
DEVELOPERS: add Refik Tuzakli for freescale-imx

Signed-off-by: Refik Tuzakli <tuzakli.refik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tinyproxy: new package
Alexander Mukhin [Sat, 14 Mar 2020 10:23:23 +0000 (13:23 +0300)]
package/tinyproxy: new package

Tinyproxy is a small, efficient HTTP/SSL proxy daemon.

https://tinyproxy.github.io

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysklogd: fix installation path of the daemons
Carlos Santos [Sun, 15 Mar 2020 02:27:06 +0000 (23:27 -0300)]
package/sysklogd: fix installation path of the daemons

Use "--exec-prefix=/" to install syslogd and klogd at /sbin, as required
by the init scripts. This also ensures that the BusyBox counterparts are
not installed.

Update the systemd unit files, accordingly.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5/qt5xmlpatterns: enable qml module
Peter Seiderer [Sat, 14 Mar 2020 17:56:08 +0000 (18:56 +0100)]
package/qt5/qt5xmlpatterns: enable qml module

qt5declarative:
 - remove unneded dependency on qt5mlpatterns

qt5xmlpatterns:
 - add optional dependency on qt5declarative

Reported-by: Nimai Mahajan <nimaim@gmail.com>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcpprestsdk: needs locale
Fabrice Fontaine [Sat, 14 Mar 2020 22:20:27 +0000 (23:20 +0100)]
package/libcpprestsdk: needs locale

locale_t is unconditionally used since version 2.3.0 and
https://github.com/microsoft/cpprestsdk/commit/814caa4c0a80ef223535446a274146bf46a5ef2b

Fixes:
 - No autobuilder failures

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/polkit: add linux-pam as a dependency if linux-pam is selected
Adam Duskett [Sun, 15 Mar 2020 20:56:10 +0000 (13:56 -0700)]
package/polkit: add linux-pam as a dependency if linux-pam is selected

Without linux-pam built first, polkit will throw a configuration error:
configure: error: Could not find pam/pam-devel, please install the needed packages.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/perl-module-build: bump to 0.4231
Francois Perrad [Sun, 15 Mar 2020 18:09:40 +0000 (19:09 +0100)]
package/perl-module-build: bump to 0.4231

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing: add missing test file for perl-html-parser
Thomas De Schampheleire [Mon, 10 Feb 2020 11:26:35 +0000 (12:26 +0100)]
support/testing: add missing test file for perl-html-parser

This file was created by utils/scancpan while adding other packages but
apparently not yet added in the repo.

Assign this test case to Bernd in the DEVELOPERS file since he is
listed as the maintainer for this package.

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-ssleay: new package
Thomas De Schampheleire [Mon, 10 Feb 2020 11:26:34 +0000 (12:26 +0100)]
package/perl-crypt-ssleay: new package

Added via utils/scancpan, adding a host dependency to perl-try-tiny and
target dependency to openssl.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-path-class: new host package
Thomas De Schampheleire [Mon, 10 Feb 2020 11:26:33 +0000 (12:26 +0100)]
package/perl-path-class: new host package

Dependency for perl-crypt-ssleay (added in a subsequent commit)

Added via utils/scancpan, without changes.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-lwp-protocol-https: new package
Thomas De Schampheleire [Mon, 10 Feb 2020 11:26:32 +0000 (12:26 +0100)]
package/perl-lwp-protocol-https: new package

Dependency for perl-crypt-ssleay (added in subsequent commit).

Added via utils/scancpan, without changes.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-mozilla-ca: new package
Thomas De Schampheleire [Mon, 10 Feb 2020 11:26:31 +0000 (12:26 +0100)]
package/perl-mozilla-ca: new package

This is a dependency for perl-lwp-protocol-https (added in a subsequent
patch).

Added via utils/scancpan, updating license only.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/chartjs: new package
Joeri Barbarien [Mon, 10 Feb 2020 11:26:30 +0000 (12:26 +0100)]
package/chartjs: new package

Note: even though the Chart.js developers make specific tarballs on GitHub
(i.e. not simply 'source code' tarballs), they cannot be used in Buildroot
because their names do not encode a version number, e.g. 'Chart.js.zip'.
This means that on upgrades, the same tarball name would have different
contents and thus a different hash.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-mojolicious-plugin-securityheader: new package
Joeri Barbarien [Mon, 10 Feb 2020 11:26:29 +0000 (12:26 +0100)]
package/perl-mojolicious-plugin-securityheader: new package

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-mojolicious-plugin-i18n: new package
Joeri Barbarien [Mon, 10 Feb 2020 11:26:28 +0000 (12:26 +0100)]
package/perl-mojolicious-plugin-i18n: new package

Added via utils/scancpan, adding README.pod as license file and updating
license to Artistic-2.0.

Note that the license declared in META.{json,yml} ('perl') would mean either
Artistic or GPL-1.0, while the README.pod file only talks about
Artistic-2.0. Assume the author means the latter one.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-mojolicious-plugin-cspheader: new package
Joeri Barbarien [Mon, 10 Feb 2020 11:26:27 +0000 (12:26 +0100)]
package/perl-mojolicious-plugin-cspheader: new package

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-mojolicious-plugin-authorization: new package
Joeri Barbarien [Mon, 10 Feb 2020 11:26:26 +0000 (12:26 +0100)]
package/perl-mojolicious-plugin-authorization: new package

Added via utils/scancpan, but removing the 'suspicious' dependency on
'host-perl-mojolicious'.

    During configuration, the package warns:

    Checking prerequisites...
      requires:
        !  Mojo::Base is not installed
      build_requires:
        !  Mojolicious::Lite is not installed
        !  Test::Mojo is not installed

    ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    of the modules indicated above before proceeding with this installation

    Run 'Build installdeps' to install missing prerequisites.

But the build and installation continues correctly nonetheless.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-i18n: new package
Joeri Barbarien [Mon, 10 Feb 2020 11:26:25 +0000 (12:26 +0100)]
package/perl-i18n: new package

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-locale-maketext-lexicon: new package
Joeri Barbarien [Mon, 10 Feb 2020 11:26:24 +0000 (12:26 +0100)]
package/perl-locale-maketext-lexicon: new package

This is a dependency of perl-i18n added in a subsequent patch.

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gssdp: explicitly disable vapi
Adam Duskett [Sun, 15 Mar 2020 16:41:50 +0000 (09:41 -0700)]
package/gssdp: explicitly disable vapi

Currently, vapi support does not work with meson due to meson calling vapigen
directly instead of the vala wrapper. As such, when building typelib files for
gobject-introspection, vapigen fails to find the proper .gir files and fails
to build.

Explicitly disable vapi until a fix for vapi is made.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/meson: determine g-ir-scanner and g-ir-compiler paths from pkgconfig
Adam Duskett [Sun, 15 Mar 2020 15:33:21 +0000 (16:33 +0100)]
package/meson: determine g-ir-scanner and g-ir-compiler paths from pkgconfig

Currently, meson hard codes the paths of these binaries which results in
cross-compiled environments to run the host versions of these tools.
However, GObject-introspection provides the appropriate paths to these
utilities via pkg-config

find_program is needed in the case g-i is built as a subproject. If
g-ir-scanner or g-ir-compiler are in the build or source directory use those.
If they aren't found in the source directory, use the results from pkg-config.

Backport two upstream commits to fix the issue.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gobject-introspection: export variables in g-ir-scanner
Adam Duskett [Sun, 15 Mar 2020 15:33:20 +0000 (16:33 +0100)]
package/gobject-introspection: export variables in g-ir-scanner

When building .gir .typelib files, the g-ir-scanner wrapper calls the host
g-ir-scanner. g-ir-scanner calls ccompiler.py, which searches for the following
environment variables:
    CPP, CC, CXX, CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS

These environment variables are empty by default, and as such ccompiler.py
defaults to either using the system tools (CC, CXX, and CPP) or leaving
the variables blank (LDFLAGS, CFLAGS, and CPPFLAGS.)

For autotools packages, this issue does not occur because autotools uses
Makefile.introspection found on the staging directory in
usr/share/gobject-introspection-1.0/ which automatically exports the above
variables.

However, for meson, the above variables are not exported when meson calls
g-ir-scanner to build .gir and .typelib files, which results in linking errors.

Exporting these variables in the g-ir-scanner wrapper fixes these issues and
ensures all build systems can generate .gir and .typelib files properly.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gobject-introspection: fix host-linking
Adam Duskett [Sun, 15 Mar 2020 15:33:19 +0000 (16:33 +0100)]
package/gobject-introspection: fix host-linking

When building, gobject-introspection uses tools/g-ir-scanner to build
several .gir and .typelib files. To that goal, it internally builds and
runs a few small executables linked to libglib2. However, it does not
pass them any LDFLAGS that we could pass the buildsystem. So, it either
ends up trying to link with the system's libglib2, which may not be
instaleld (build breaks), or is installed to an other version (build may
break); in either cases, this is not good...

g-ir-scanner can use the argument --lib-dirs-envvar to pass a list of
library directories to search for. However, during the build process,
this is not possible due to the build process calling g-ir-scanner
directly without letting the user (us) pass any option.

When discussing with upstream, they explained that the only solution in
that case was to set and export LD_LIBRARY_PATH to point to the location
where the correct libglib2 was installed.

Ergo, that's what we do.

This fix has the added benefit of allowing the host gobject-introspection
to build the host .gir, .rnc, and .typelib files, which some packages
may require.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gupnp-dlna: disable introspection
Fabrice Fontaine [Sun, 15 Mar 2020 15:02:57 +0000 (16:02 +0100)]
package/gupnp-dlna: disable introspection

Build will fail if gobject-introspection is built before gupnp-dlna:
  GISCAN   GUPnPDLNAGst-2.0.gir
Couldn't find include 'Gst-1.0.gir' (search path: '['/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../mipsel-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '.', '/home/buildroot/autobuild/run/instance-1/output-1/host/share', 'gir-1.0', '/home/buildroot/autobuild/run/instance-1/output-1/host/share/gir-1.0', '/usr/share/gir-1.0']')

Fixes:
 - http://autobuild.buildroot.org/results/829a84b37db7d9141785bfe2eec2dd0e6d3310f1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/perl-timedate: bump to version 2.32
Francois Perrad [Wed, 11 Mar 2020 07:09:56 +0000 (08:09 +0100)]
package/perl-timedate: bump to version 2.32

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-sys-mmap: bump to version 0.20
Francois Perrad [Wed, 11 Mar 2020 07:09:55 +0000 (08:09 +0100)]
package/perl-sys-mmap: bump to version 0.20

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-path-tiny: bump to version 0.112
Francois Perrad [Wed, 11 Mar 2020 07:09:54 +0000 (08:09 +0100)]
package/perl-path-tiny: bump to version 0.112

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-net-dns: bump to version 1.22
Francois Perrad [Wed, 11 Mar 2020 07:09:53 +0000 (08:09 +0100)]
package/perl-net-dns: bump to version 1.22

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-io-socket-ssl: bump to version 2.067
Francois Perrad [Wed, 11 Mar 2020 07:09:51 +0000 (08:09 +0100)]
package/perl-io-socket-ssl: bump to version 2.067

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-http-message: bump to version 6.22
Francois Perrad [Wed, 11 Mar 2020 07:09:50 +0000 (08:09 +0100)]
package/perl-http-message: bump to version 6.22

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-file-slurp: bump to version 9999.30
Francois Perrad [Wed, 11 Mar 2020 07:09:49 +0000 (08:09 +0100)]
package/perl-file-slurp: bump to version 9999.30

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-dbi: bump to version 1.643
Francois Perrad [Wed, 11 Mar 2020 07:09:48 +0000 (08:09 +0100)]
package/perl-dbi: bump to version 1.643

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-date-manip: bump to version 6.81
Francois Perrad [Wed, 11 Mar 2020 07:09:47 +0000 (08:09 +0100)]
package/perl-date-manip: bump to version 6.81

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi: needs python 2to3 library
Bernd Kuhls [Sat, 22 Feb 2020 18:55:00 +0000 (19:55 +0100)]
package/kodi: needs python 2to3 library

Kodi is in transition to support python3 instead of python2:
https://kodi.wiki/view/General_information_about_migration_to_Python_3

"For Kodi 18 (Leia), only addons that are compatible with both Python 2
 and 3 will be accepted to the official addon repository."

Some of these addons depend on the Kodi addon script.module.future to
provide support for both python versions.

The script.module.future addon contains python-future:
https://kodi.wiki/view/General_information_about_migration_to_Python_3#Future
which in turn needs lib2to3 to be included in the target build of
python2: http://python-future.org/automatic_conversion.html

Kodi addons depending on the script.module.future addon are crashing on
buildroot due to lib2to3 missing in the build.

LibreELEC added lib2to3 to python2 to fix the problem:
https://forum.libreelec.tv/thread/21239-lib2to3-pgen2-parse-missing/
https://github.com/LibreELEC/LibreELEC.tv/pull/4147

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python: add optional support for lib2to3
Bernd Kuhls [Sat, 22 Feb 2020 18:54:59 +0000 (19:54 +0100)]
package/python: add optional support for lib2to3

Kodi is in transition to support python3 instead of python2:
https://kodi.wiki/view/General_information_about_migration_to_Python_3

"For Kodi 18 (Leia), only addons that are compatible with both Python 2
 and 3 will be accepted to the official addon repository."

Some of these addons depend on the Kodi addon script.module.future to
provide support for both python versions.

The script.module.future addon contains python-future:
https://kodi.wiki/view/General_information_about_migration_to_Python_3#Future
which in turn needs lib2to3 to be included in the target build of
python2: http://python-future.org/automatic_conversion.html

Kodi addons depending on the script.module.future addon are crashing on
buildroot due to lib2to3 missing in the build.

LibreELEC added lib2to3 to python2 to fix the problem:
https://forum.libreelec.tv/thread/21239-lib2to3-pgen2-parse-missing/
https://github.com/LibreELEC/LibreELEC.tv/pull/4147

This patch provides the Config.in option to be used by Kodi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-visualisation-starburst: new package
Bernd Kuhls [Mon, 9 Mar 2020 18:39:38 +0000 (19:39 +0100)]
package/kodi-visualisation-starburst: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-visualisation-goom: bump version to 2.2.1-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:37 +0000 (19:39 +0100)]
package/kodi-visualisation-goom: bump version to 2.2.1-Leia

Change license file to debian/copyright, since src/Main.cpp changed
between 2.1.0 and 2.2.1.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcurl: add bearssl support
Fabrice Fontaine [Sun, 15 Mar 2020 14:41:05 +0000 (15:41 +0100)]
package/libcurl: add bearssl support

bearssl support is available since version 7.68.0 and
https://github.com/curl/curl/commit/9b879160df01e7ddbb4770904391d3b74114302b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gupnp: disable introspection
Fabrice Fontaine [Wed, 11 Mar 2020 19:34:10 +0000 (20:34 +0100)]
package/gupnp: disable introspection

Build fails if gobject-introspection is built before gupnp:

 GISCAN   GUPnP-1.0.gir
Couldn't find include 'GSSDP-1.0.gir' (search path: '['/nvmedata/autobuild/instance-0/output-1/host/bin/../nios2-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '..', '/nvmedata/autobuild/instance-0/output-1/host/share', 'gir-1.0', '/nvmedata/autobuild/instance-0/output-1/host/share/gir-1.0', '/usr/share/gir-1.0']')

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libgtk3: disable introspection
Fabrice Fontaine [Wed, 11 Mar 2020 19:25:00 +0000 (20:25 +0100)]
package/libgtk3: disable introspection

Build will fail if gobject-introspection is built before libgtk3:

  GISCAN   Gdk-3.0.gir
Couldn't find include 'GdkPixbuf-2.0.gir' (search path: '['/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '../gdk', '/home/fabrice/buildroot/output/host/share', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/home/fabrice/buildroot/output/host/share/gir-1.0', '/usr/share/gir-1.0']')
make[5]: *** [/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/../share/gobject-introspection-1.0/Makefile.introspection:156: Gdk-3.0.gir] Error 1

So disable introspection on host and target variant

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gdk-pixbuf: disable introspection
Fabrice Fontaine [Wed, 11 Mar 2020 19:19:18 +0000 (20:19 +0100)]
package/gdk-pixbuf: disable introspection

Build will fail if host-gobject-introspection is built before
host-gdk-pixbuf:

Writing a loaders.cache file to use when running examples before installing gdk-pixbuf.
Couldn't find include 'GModule-2.0.gir' (search path: '['/home/fabrice/buildroot/output/host/share', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/home/fabrice/buildroot/output/host/share/gir-1.0', '/usr/share/gir-1.0']')

So disable introspection on target and host variant

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-screensaver-pyro: bump version to 3.0.1-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:36 +0000 (19:39 +0100)]
package/kodi-screensaver-pyro: bump version to 3.0.1-Leia

Drop 0001-Add-missing-stddef-include.patch as it is now upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-pingpong: bump version to 2.1.2-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:35 +0000 (19:39 +0100)]
package/kodi-screensaver-pingpong: bump version to 2.1.2-Leia

Removed patch applied upstream:
https://github.com/xbmc/screensaver.pingpong/commit/6ca75e7d421a49b6124d0e1cd37a529c66a701cb

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-greynetic: bump version to 2.2.2-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:34 +0000 (19:39 +0100)]
package/kodi-screensaver-greynetic: bump version to 2.2.2-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-cpblobs: bump version to 3.0.4-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:33 +0000 (19:39 +0100)]
package/kodi-screensaver-cpblobs: bump version to 3.0.4-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-biogenesis: bump version to 2.2.3-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:32 +0000 (19:39 +0100)]
package/kodi-screensaver-biogenesis: bump version to 2.2.3-Leia

Drop patch 0001-Add-missing-stddef-include.patch which was applied
upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-asterwave: bump version to 3.0.4-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:31 +0000 (19:39 +0100)]
package/kodi-screensaver-asterwave: bump version to 3.0.4-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-pvr-vdr-vnsi: bump version to 3.6.4-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:30 +0000 (19:39 +0100)]
package/kodi-pvr-vdr-vnsi: bump version to 3.6.4-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-pvr-iptvsimple: bump version to 3.9.8-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:29 +0000 (19:39 +0100)]
package/kodi-pvr-iptvsimple: bump version to 3.9.8-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-inputstream-adaptive: bump version to 2.4.3-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:28 +0000 (19:39 +0100)]
package/kodi-inputstream-adaptive: bump version to 2.4.3-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi: bump version to 18.6-Leia
Bernd Kuhls [Mon, 9 Mar 2020 18:39:27 +0000 (19:39 +0100)]
package/kodi: bump version to 18.6-Leia

Removed patches applied upstream:
https://github.com/xbmc/xbmc/commit/d1b2a27d2d2795fe82c103b49faef74b55df22c7
https://github.com/xbmc/xbmc/commit/d5947e6733fd564edb68df91fd6d389d9fb82319

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-pvr-*: mass update of license files
Bernd Kuhls [Mon, 9 Mar 2020 18:39:26 +0000 (19:39 +0100)]
package/kodi-pvr-*: mass update of license files

Switch _LICENSE_FILES to debian/copyright instead of using a source
code file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-inputstream-rtmp: bump version to 2.0.9
Bernd Kuhls [Mon, 9 Mar 2020 18:39:25 +0000 (19:39 +0100)]
package/kodi-inputstream-rtmp: bump version to 2.0.9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-audioencoder-*: mass version bump
Bernd Kuhls [Mon, 9 Mar 2020 18:39:24 +0000 (19:39 +0100)]
package/kodi-audioencoder-*: mass version bump

Switch _LICENSE_FILES to debian/copyright instead of using a source
code file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-audiodecoder-*: mass version bump
Bernd Kuhls [Mon, 9 Mar 2020 18:39:23 +0000 (19:39 +0100)]
package/kodi-audiodecoder-*: mass version bump

Switch _LICENSE_FILES to debian/copyright instead of using a source
code file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-pvr-nextpvr: bump version to 3.3.19-Leia
Bernd Kuhls [Fri, 13 Mar 2020 07:11:51 +0000 (08:11 +0100)]
package/kodi-pvr-nextpvr: bump version to 3.3.19-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-pvr-hts: bump version to 4.4.21-Leia
Bernd Kuhls [Fri, 13 Mar 2020 07:11:50 +0000 (08:11 +0100)]
package/kodi-pvr-hts: bump version to 4.4.21-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: bump version to 3.51
Giulio Benetti [Thu, 12 Mar 2020 18:06:29 +0000 (19:06 +0100)]
package/libnss: bump version to 3.51

Release notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.51_release_notes

Remove upstreamed patch but add another patch to allow disable Neon
acceleration while building gcm on Arm32. This patch adds
NSS_DISABLE_GCM_ARM32_NEON variable that is set to 1 if
BR2_ARM_CPU_HAS_NEON is not set to y.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mini-snmpd: fix musl build
Fabrice Fontaine [Thu, 12 Mar 2020 19:05:56 +0000 (20:05 +0100)]
package/mini-snmpd: fix musl build

Fixes:
 - http://autobuild.buildroot.org/results/6903a0f685076b4a2c2824de6158da40e9e712d8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: add automatic selinux config selection
Adam Duskett [Thu, 12 Mar 2020 18:09:08 +0000 (11:09 -0700)]
linux: add automatic selinux config selection

Enabling SELinux support in the kernel requires several options, many
of which are in different areas. These options are as follows:

  - CONFIG_AUDIT
  - CONFIG_DEFAULT_SECURITY_SELINUX
  - CONFIG_INET
  - CONFIG_NET
  - CONFIG_SECURITY
  - CONFIG_SECURITY_NETWORK
  - CONFIG_SECURITY_SELINUX

As such, if a user selects the libselinux package, it is much easier
to select these options for them, much like we already do with other
packages such as systemd or iptables.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linuxptp: rename systemd service scripts
Heiko Thiery [Thu, 12 Mar 2020 19:04:36 +0000 (20:04 +0100)]
package/linuxptp: rename systemd service scripts

Use the same name as for the SysVinit scripts. This name is also used in
debian.

linuxptp-system-clock.service -> phc2sys.service
linuxptp.service -> ptp4l.service

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Tested-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/linuxptp: make initscript options configurable
Heiko Thiery [Thu, 12 Mar 2020 19:04:34 +0000 (20:04 +0100)]
package/linuxptp: make initscript options configurable

The "package/busybox/S01sysklogd" is taken as template to change the
init script of the linuxptp daemon. The init script is split two parts
because there are 2 daemons (ptp4l and phc2sys).

Let the user supply its own options in /etc/default/ptp4l and
/etc/default/phc2sys.

This patch also fixes an issue with the creation of the pid file that is
needed to properly stop the daemon again.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ffmpeg: fix typo "--enable-bsfs" -> "--enable-bsf"
Anatoly Borodin [Thu, 12 Mar 2020 19:45:17 +0000 (20:45 +0100)]
package/ffmpeg: fix typo "--enable-bsfs" -> "--enable-bsf"

Fix ffmpeg configuration when BR2_PACKAGE_FFMPEG_BSFS is not default ("all"):

Unknown option "--enable-bsfs=h264_metadata".
See ./configure --help for available options.
package/pkg-generic.mk:254: recipe for target '/root/buildroot/output/build/ffmpeg-4.2.2/.stamp_configured' failed

The option is named according to the scheme "--enable-SINGULAR=..." /
"--disable-PLURAL".

The typo is present since the release 2014.02:

https://git.buildroot.net/buildroot/commit/package/ffmpeg/ffmpeg.mk?id=62ab07ef769bd6504fe1db144aaac3fd45db9dad

Signed-off-by: Anatoly Borodin <anatoly.borodin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/minicom: bump version to latest
Giulio Benetti [Thu, 12 Mar 2020 23:12:00 +0000 (00:12 +0100)]
package/minicom: bump version to latest

Drop patch since it's replaced by upstream commit:
https://salsa.debian.org/minicom-team/minicom/-/commit/23292150e07ec264827fb6cf237ddb0ac9fc043b

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/util-linux: add missing SOB to patches
Carlos Santos [Fri, 13 Mar 2020 01:04:18 +0000 (22:04 -0300)]
package/util-linux: add missing SOB to patches

It is required that all patches in packages have the Signed-off-by of
the contributor who brought them into Buildroot.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/util-linux: fix build for riscv64 and powerpc64le
Carlos Santos [Fri, 13 Mar 2020 01:06:11 +0000 (22:06 -0300)]
package/util-linux: fix build for riscv64 and powerpc64le

Pull two upstream patches that fix the declaration of pidfd_open and
pidfd_send_signal.

Fixes:
  http://autobuild.buildroot.net/results/2396b04478f9d358b94f2e2e05540625ddc9f205/
  http://autobuild.buildroot.net/results/ed4b5ec61bd33d3ccf0ebb16000af46d0499366d/

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: disable gcc 9.x for csky
Romain Naour [Thu, 12 Mar 2020 23:41:27 +0000 (00:41 +0100)]
package/gcc: disable gcc 9.x for csky

When building a toolchain with upstream gcc 9.x the build
fail due to several issues.

Note: The upstream Binutils support csky target since
release 2.32 but the support was never enabled in the
Buildroot packaging. So the latest version (2.33.1) was
tested here.

[upstream gcc 9.x w/ glibc csky fork with binutils csky for or binutils 2.33.1]
In file included from <command-line>:
./../include/libc-symbols.h:534:26: error: '__EI___errno_location' specifies less restrictive attributes than its target '__errno_location': 'const', 'nothrow' [-Werror=missing-attributes]
  534 |   extern __typeof (name) __EI_##name \

[upstream gcc 9.x w/ glibc 2.30 w/ binutils csky fork]
/tmp/ccThLRhb.s: Assembler messages:
/tmp/ccThLRhb.s:10: Error: invalid or unsupported encoding in .cfi_personality
/tmp/ccThLRhb.s:11: Error: invalid or unsupported encoding in .cfi_lsda

[upstream gcc 9.x w/ glibc 2.30 w/ binutils 2.33.1]
build/elf/librtld.os: in function `__sync_fetch_and_add_2':
libgcc/config/csky/linux-atomic.c:116: undefined reference to `__kernel_cmpxchg'

Currenlty, only the toolchain using binutils, gcc, glibc
fork produce a working toolchain. So disable gcc 9.x for
csky.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Guo Ren <guoren@kernel.org>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: fix download url when using upstream gcc for csky
Romain Naour [Thu, 12 Mar 2020 23:41:26 +0000 (00:41 +0100)]
package/gcc: fix download url when using upstream gcc for csky

When the csky cpu support was added [1], the gcc download url was selected
depending on the csky cpu architecture (BR2_csky) rather than the csky gcc
fork version (BR2_GCC_VERSION_CSKY)[2].

When adding gcc 9.x version [3], we forgot to update the condition in order
to use the url to the gcc csky fork only when BR2_GCC_VERSION_CSKY=y.

Due to this error, the toolchain build with the upstream gcc 9.x for csky
cpu is broken due a download error.

Fix this by using BR2_GCC_VERSION_CSKY instead of BR2_csky.

Fixes:
https://gitlab.com/kubu93/buildroot/-/jobs/470072924

[1] 7873a5bd5ebbeb1674293dae6b06b50f0a1f2184
[2] https://git.buildroot.net/buildroot/tree/package/gcc/gcc.mk?id=7873a5bd5ebbeb1674293dae6b06b50f0a1f2184#n19
[3] 089000eccf584d611ad1a8e5400436952450e883

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Guo Ren <guoren@kernel.org>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linphone: bump to version 4.3.1
Fabrice Fontaine [Fri, 13 Mar 2020 21:50:15 +0000 (22:50 +0100)]
package/linphone: bump to version 4.3.1

- Update site to get latest release
- License is GPL-3.0+ since version 4.3.0 and
  https://gitlab.linphone.org/BC/public/liblinphone/commit/2bc924c184e2f00f1be3f82a736bccaeacce106e
- Switch to cmake-infrastructure
- Remove most of the existing dependencies (alsa, speex, libupnp, ...)
  as they are now only managed in mediatreamer
- Add external dependencies: belr, belle-sip, libxml2, mediastreamer,
  sqlite
- This bump is needed as current linphone does not build with latest
  libeXosip2

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rdesktop: bump to version 1.9.0
Fabrice Fontaine [Fri, 13 Mar 2020 21:39:31 +0000 (22:39 +0100)]
package/rdesktop: bump to version 1.9.0

- Retrieve official tarball and so remove autoreconf
- xlib_Xcursor is a mandatory dependency since
  https://github.com/rdesktop/rdesktop/commit/6dd85edc6f8293acd100b34add1405ea5a744111
- libtasn1 is a mandatory dependency since
  https://github.com/rdesktop/rdesktop/commit/673b267e665642def474f228142e46b18d195e01
- nettle is a mandatory dependency since
  https://github.com/rdesktop/rdesktop/commit/00d9e0c4c806c1d5d21ec7865f03cafe9acbeab3
- gnutls is a mandatory dependency instead of openssl since
  https://github.com/rdesktop/rdesktop/commit/166d1bc14d34c20dd0c640571a749a6599180367
- pulseaudio is an optional dependency since
  https://github.com/rdesktop/rdesktop/commit/9b98c3b2296f07b99b94aceb2c19131f32bde476
- iconv is mandatory since
  https://github.com/rdesktop/rdesktop/commit/2ea3f69873d18d07ef79c724c656d25b9d63a114

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libgee: bump to version 0.20.3
Fabrice Fontaine [Fri, 13 Mar 2020 21:14:37 +0000 (22:14 +0100)]
package/libgee: bump to version 0.20.3

Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/c-ares: bump to version 1.16.0
Fabrice Fontaine [Fri, 13 Mar 2020 21:04:49 +0000 (22:04 +0100)]
package/c-ares: bump to version 1.16.0

- Remove patch (already in version)
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dropwatch: remove license comment
Fabrice Fontaine [Fri, 13 Mar 2020 20:56:16 +0000 (21:56 +0100)]
package/dropwatch: remove license comment

This comment is not needed since bump to version 1.5.2 and
https://github.com/nhorman/dropwatch/commit/83a2b4e9bfe5ad26f59c15da5f77e86fbc0a6701

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>