buildroot.git
4 years agopackage/libupnp18: bump to version 1.8.7
Fabrice Fontaine [Tue, 21 Apr 2020 13:03:29 +0000 (15:03 +0200)]
package/libupnp18: bump to version 1.8.7

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/lirc-tools: fix build with musl 1.2.0
Fabrice Fontaine [Tue, 21 Apr 2020 12:01:42 +0000 (14:01 +0200)]
package/lirc-tools: fix build with musl 1.2.0

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/paho-mqtt-c: bump to version 1.3.2
Julien Grossholtz [Tue, 21 Apr 2020 11:48:49 +0000 (13:48 +0200)]
package/paho-mqtt-c: bump to version 1.3.2

paho-c-mqtt 1.3.2 is a maintenance release. It fixes many bugs
including memory leaks and segmentation faults.

Release notes: https://github.com/eclipse/paho.mqtt.c/milestone/7?closed=1

Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoDEVELOPERS: fix typo in nanopi-neo4 board name
Thomas Petazzoni [Tue, 21 Apr 2020 19:30:41 +0000 (21:30 +0200)]
DEVELOPERS: fix typo in nanopi-neo4 board name

Commit 84ba2e8bf5f1e3a9d0d01a577f72cfd51f88a7b6 got the path to
board/friendlyarm/nanopi-neo4/ wrong in the DEVELOPERS file when
adding a new defconfig nanopi_neo4_defconfig. Let's fix the typo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/selinux-python: fix dependency
Fabrice Fontaine [Tue, 21 Apr 2020 14:53:15 +0000 (16:53 +0200)]
package/selinux-python: fix dependency

Commit 791292c48d5165515ca08f35d8cbc1ef78d3ed95 forgot to add
!BR2_PACKAGE_PYTHON dependency, without it the following error will be
raised if the user selects BR2_PACKAGE_PYTHON and python-selinux:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON3
  Depends on [n]: !BR2_PACKAGE_PYTHON [=y] && BR2_USE_WCHAR [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n]
  Selected by [y]:
  - BR2_PACKAGE_SELINUX_PYTHON [=y] && BR2_USE_MMU [=y] && BR2_USE_WCHAR [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n]

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: add dependency on MMU]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mbuffer: needs threads
Fabrice Fontaine [Tue, 21 Apr 2020 12:25:27 +0000 (14:25 +0200)]
package/mbuffer: needs threads

mbuffer unconditionally uses pthread.h and semaphore.h

Fixes:
 - http://autobuild.buildroot.org/results/2b2be32fac82f3b291f1304f977655ff8adc286a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mbuffer: add hash for license file
Fabrice Fontaine [Tue, 21 Apr 2020 12:07:38 +0000 (14:07 +0200)]
package/mbuffer: add hash for license file

Add hash for license file and update indentation (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: add Angelo Compagnucci for 'apparmor'
Thomas Petazzoni [Tue, 21 Apr 2020 09:10:21 +0000 (11:10 +0200)]
DEVELOPERS: add Angelo Compagnucci for 'apparmor'

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: add missing Config.in comment about C++ dependency
Thomas Petazzoni [Tue, 21 Apr 2020 06:49:59 +0000 (08:49 +0200)]
package/apcupsd: add missing Config.in comment about C++ dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: uses fork(), needs MMU
Thomas Petazzoni [Tue, 21 Apr 2020 06:48:57 +0000 (08:48 +0200)]
package/apcupsd: uses fork(), needs MMU

Fixes:

  http://autobuild.buildroot.net/results/19af985de6e26813b841e7019051da3043c2b7d1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libpam-tacplus: fix build on musl
Fabrice Fontaine [Mon, 20 Apr 2020 13:48:46 +0000 (15:48 +0200)]
package/libpam-tacplus: fix build on musl

Retrieve two upstream patches to fix build on musl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-pam: enable back on musl
Fabrice Fontaine [Mon, 20 Apr 2020 13:48:45 +0000 (15:48 +0200)]
package/linux-pam: enable back on musl

Add two upstream patches to fix build on musl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/stellarium: bump version to 0.20.1
Bernd Kuhls [Tue, 21 Apr 2020 05:42:11 +0000 (07:42 +0200)]
package/stellarium: bump version to 0.20.1

Removed patch applied upstream, adjust spaces in hash file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gerbera: bump to version 1.4.0
Jörg Krause [Mon, 20 Apr 2020 06:48:17 +0000 (08:48 +0200)]
package/gerbera: bump to version 1.4.0

Also:
 * Drop patch 0001 (fix static linking of libmagic) applied upstream
 * Add optional dependency on libmatroska
 * Add upstream patch to fix building with libmatroska
 * Adjust spacing in hash file to 2 spaces

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lua-utf8: bump to version 0.1.2
Francois Perrad [Mon, 20 Apr 2020 06:07:15 +0000 (08:07 +0200)]
package/lua-utf8: bump to version 0.1.2

switch of rocks maintainer
from https://luarocks.org/modules/dannote/utf8
to https://luarocks.org/modules/xavier-wang/luautf8

the upstream author stays http://github.com/starwing/luautf8

now, the version scheme is aligned on the upstream one,
and the version 0.1.2 was released on 06 Apr 2020.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/oniguruma: bump to version 6.9.5
Fabrice Fontaine [Mon, 20 Apr 2020 13:53:24 +0000 (15:53 +0200)]
package/oniguruma: bump to version 6.9.5

Update hash of COPYING (update in year):
https://github.com/kkos/oniguruma/commit/1952e8970a7449d5ca42a7f3bd9ce26ec6e32f43

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/stella: drop unneeded patches
Fabrice Fontaine [Mon, 20 Apr 2020 15:04:51 +0000 (17:04 +0200)]
package/stella: drop unneeded patches

Patches are not needed since bump to version 6.1.1 thanks to
https://github.com/stella-emu/stella/commit/72932aa09e022ef38a9b58721d89a02a66c29aa4
https://github.com/stella-emu/stella/commit/74450028fcf28f521951631570093494f17c4d95

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo1: needs host-openssl for kernel build
Thomas Petazzoni [Tue, 21 Apr 2020 06:21:32 +0000 (08:21 +0200)]
configs/olpc_xo1: needs host-openssl for kernel build

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/517918178

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-buildroot: PPC64(LE) support in musl requires ALTIVEC
Vincent Fazio [Tue, 4 Feb 2020 21:35:48 +0000 (15:35 -0600)]
toolchain/toolchain-buildroot: PPC64(LE) support in musl requires ALTIVEC

musl currently assumes all PPC64(LE) CPUs support ALTIVEC instructions.

However, there are exceptions (such as the e5500) for which musl builds
ultimately generate illegal instructions for the targets.

Disable musl if the PPC64(LE) CPU does not support ALTIVEC instructions.

This patch addresses the issues seen here:
  https://gitlab.com/kubu93/toolchains-builder/-/jobs/418092743
  https://gitlab.com/kubu93/toolchains-builder/-/jobs/418092744

musl mailing list thread:
  https://www.openwall.com/lists/musl/2020/02/03/10

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/armadillo: fix build when host has hdf5
Gwenhael Goavec-Merou [Mon, 20 Apr 2020 16:07:48 +0000 (18:07 +0200)]
package/armadillo: fix build when host has hdf5

When host computer has hdf5 library installed, armadillo fails to build with:

    [...]
    aarch64-buildroot-linux-gnu-g++: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/hdf5/serial'
    make[3]: *** [CMakeFiles/armadillo.dir/build.make:63: CMakeFiles/armadillo.dir/src/wrapper1.cpp.o] Error 1
    aarch64-buildroot-linux-gnu-g++: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/hdf5/serial'
    [...]

This issue seems known and is mentionned in a message, displayed at detection step:

    [...]
    -- *** If use of HDF5 is causing problems,
    -- *** rerun cmake with HDF5 detection disabled:
    -- *** cmake -D DETECT_HDF5=false .
    --
    [...]

nce hdf5 in not supported by buildroot, this patch force disabling this
detection.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
[yann.morin.1998@free.fr: fix pacakge name in title]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pixman: bump version to 0.40.0
Bernd Kuhls [Mon, 20 Apr 2020 18:04:00 +0000 (20:04 +0200)]
package/pixman: bump version to 0.40.0

Upstream now provides sha256 & sha512 hashes only.

Switch _SITE to https and use upstream-provided xz tarball.

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

Use new upstream URL libzip.org.

Add optional dependency to liblzma introduced with version 1.6.0:
https://libzip.org/news/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libselinux: fix glibc build with old toolchains
Fabrice Fontaine [Mon, 20 Apr 2020 20:00:58 +0000 (22:00 +0200)]
package/libselinux: fix glibc build with old toolchains

For an unknown reason, since bump to version 3.0.0, we got build failure
due to -D_FILE_OFFSET_BITS==64:

/home/naourr/work/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
 # error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
   ^

Update our workaround to also filter CPPFLAGS fix the issue and seems
right as we're doing it for all the other affected packages
(restorecond, elfutils ...)

Fixes:
 - http://autobuild.buildroot.org/results/200fd0accf6a1926251243b05e600fbf591bb3a2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackages/exim: enable parallel make
Luca Ceresoli [Mon, 20 Apr 2020 16:36:45 +0000 (18:36 +0200)]
packages/exim: enable parallel make

Parallel make used to be broken in exim, as reported in its docs. Now that
line has disappeared from the docs, and parallel make is actually working.

Tested with 'make exim-dirclean ; time make BR2_JLEVEL=999 exim': builds
still succeed and the build time decreases from 34 to 11 seconds on my
host.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mc: do not install mc.lib twice
Fabrice Fontaine [Mon, 20 Apr 2020 20:16:44 +0000 (22:16 +0200)]
package/mc: do not install mc.lib twice

Fixes:
 - http://autobuild.buildroot.org/results/1fded9bacffdc57fea9cb151ed889f48ceb5ff8d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mc: fix build with NLS
Fabrice Fontaine [Mon, 20 Apr 2020 20:16:43 +0000 (22:16 +0200)]
package/mc: fix build with NLS

gettext is an optional dependency since version 4.8.24 and
https://github.com/MidnightCommander/mc/commit/f30e6ff283f4bc86177e4360de94dad794678395

Fixes:
 - http://autobuild.buildroot.org/results/0e72b0b5b7d7009bd5ad5f15917e94c86e99131b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libfuse3: fix build without C++
Fabrice Fontaine [Mon, 20 Apr 2020 19:32:30 +0000 (21:32 +0200)]
package/libfuse3: fix build without C++

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/stella: fix legal-info
Fabrice Fontaine [Mon, 20 Apr 2020 14:23:09 +0000 (16:23 +0200)]
package/stella: fix legal-info

Commit a7210c24e343a13e58d1d45b7e0c4bdb51854857 forgot to update hash of
Copyright which has changed due to update in year:

https://github.com/stella-emu/stella/commit/275666b0af3e029b44be7e676526b8172da44736
https://github.com/stella-emu/stella/commit/9ad47ae5f3457693944a3754432ff1236c67203c

While at it, update indentation of hash file to two spaces

Fixes:
 - http://autobuild.buildroot.org/results/38fa47221f36f3db603ee54c86b9747b0c6ca5d7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lvm2: add missing dependency to lvmetad
Fabrice Fontaine [Mon, 20 Apr 2020 15:25:57 +0000 (17:25 +0200)]
package/lvm2: add missing dependency to lvmetad

Commit 9889b8ce7fcef50fb5089f6e3e84b54f730d0ca6 forgot to propagate
dependency from lvm2-app-library to lvmetad

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackags: fix typo in gcc version dependency
Bartosz Bilas [Mon, 20 Apr 2020 15:10:24 +0000 (17:10 +0200)]
packags: fix typo in gcc version dependency

Commit 24c66484e1 (package/qt5: bump minimum gcc requirement to 5.0)
increased the dependency on the gcc version, but used the incorrect
BR2_TOOLCHAIN_GCC_AT_LEAST_5_0, instead of BR2_TOOLCHAIN_GCC_AT_LEAST_5.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[yann.morin.1998@free.fr:
  - also fix pinentry and wireshark
  - expand commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: enable apache integration
Yann E. MORIN [Sun, 29 Mar 2020 10:39:28 +0000 (12:39 +0200)]
package/apparmor: enable apache integration

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr: split off to its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/apparmor: enable PAM integration
Yann E. MORIN [Sun, 29 Mar 2020 10:35:22 +0000 (12:35 +0200)]
package/apparmor: enable PAM integration

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr: split off to its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/apparmor: add option to install generic profiles
Yann E. MORIN [Sat, 28 Mar 2020 08:28:08 +0000 (09:28 +0100)]
package/apparmor: add option to install generic profiles

The apparmor packages comes with a set of profiles for a class of usual,
mostly server-class programs and daemons.

Even though an embedded device will mostly require custom profiles, the
generic ones may come handy, as they also provide "abstractions", that
can serve as templates for custom profiles.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr: split off into its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/apparmor: add options to install utils
Yann E. MORIN [Sun, 29 Mar 2020 07:55:01 +0000 (09:55 +0200)]
package/apparmor: add options to install utils

Most utilities are written in python3, except a few that are written in
a mixture of POSIX shell, bash, perl and awk.

The Makefile does not allow installing parts of it, but requiring all of
python3, bash, and perl to install the utils is too much of a
requirement.

Instead, we split the set in two, on one hand the python ones, which we
install when python3 is enabled, and on the other hand, the rest of the
script which we call 'extras', and which we install when all the extra
requirements (bash, perl, and busybox or gawk) are met; if not, then we
remove these extras utils as a post-install hook.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - split into its own patch
  - re-arrange the conditions
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/apparmor: add option to install binutils
Angelo Compagnucci [Fri, 27 Mar 2020 21:13:14 +0000 (22:13 +0100)]
package/apparmor: add option to install binutils

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr: split off to its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/apparmor: new package
Angelo Compagnucci [Fri, 27 Mar 2020 20:38:37 +0000 (21:38 +0100)]
package/apparmor: new package

The various AppArmor utilities are spread in a few sub-directories of
the apparmor source tree. For now, we build only the parser, but we'll
soon introduce support for a few other utilities, so we prepare the
package to be able to build more than just the parser, hence the
slightly convoluted build and install commands, and the use of the
APPARMOR_TOOLS and APPARMOR_MAKE_OPTS variables, which will come handy
in the following commits.

We must ensure the version matches that of libapparmor, but there is not
much we can do to enforce that, so as we do for various other packages,
we just add a comment to that effect.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - make it a separate package
  - split into its own patch, write a commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agolinux: enable AppArmor-related options if needed
Angelo Compagnucci [Fri, 27 Mar 2020 19:55:04 +0000 (20:55 +0100)]
linux: enable AppArmor-related options if needed

Using AppArmor requires support in the kernel, so do for AppArmor what
we did for SElinux, and enabled the necessary options.

Note that a single LSM can be the default one, so as of today, SELinux
wins, by virtue of being the last to be enabled.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - don't force DEFAULT_SECURITY_APPARMOR, it does not exist in all
    kernel versions
  - move closer to SELinux
  - split into its own patch, write a commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/libapparmor: enable python bindings
Yann E. MORIN [Sat, 28 Mar 2020 18:50:09 +0000 (19:50 +0100)]
package/libapparmor: enable python bindings

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr: split off into its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/libapparmor: new package
Angelo Compagnucci [Fri, 27 Mar 2020 09:29:05 +0000 (10:29 +0100)]
package/libapparmor: new package

The layout of the package is not amenable to building both the library
and the utilities at once, so this package will only install the
library.

The other apparmor-related tools however will almost all want to always
link with the static library (it's hard-coded in their Makefiles, like:
AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread), so we also
force the build of the static library.

The kernel headers 3.16 at least are required, for CAP_AUDIT_READ.

We need to force the C standard to gnu99, otherwise:

  - autoconf uses wchar_t in C99 test, so considers it to be missing
    on toolchains without wchar, but wchar is not otherwise needed for
    libapparmor;

  - c99 is not enough, otherwise the build fails with errors like:
        kernel.c:503:15: error: expected declaration specifiers or ‘...’ before ‘(’ token
         extern typeof((__change_hat)) __old_change_hat __attribute__((alias ("__change_hat")));
                       ^

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr: strip down the patch to only build the lib]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
4 years agopackage/nfs-utils: fix build failure with musl libc
Giulio Benetti [Fri, 17 Apr 2020 15:33:14 +0000 (17:33 +0200)]
package/nfs-utils: fix build failure with musl libc

Musl libc defines time_t as 64-bit causing printf() to fail since it
tries to pass time_t as a 32-bit("%ld"). So let's add upstream patch[1]
to fix this issue.

[1]:
http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=cb75ec49c0a92f55b2241eb1cd95a3fdf63f0dac

Fixes:
http://autobuild.buildroot.net/results/35ce3dbd63a658953008ce7e7b99e0580d3f2c4b

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-greenlet: enable only on supported architectures
James Hilliard [Sun, 19 Apr 2020 23:38:23 +0000 (17:38 -0600)]
package/python-greenlet: enable only on supported architectures

Fixes:

  http://autobuild.buildroot.net/results/4161bfcd9577cdc6b9795fc3d6903f3bcc124f99/
  http://autobuild.buildroot.net/results/be709462bbab54e4f405302d54d157218f867939/
  http://autobuild.buildroot.net/results/b0ca52e3948cbbc5bb8c6ce08932e355653b08d7/
  http://autobuild.buildroot.net/results/cd748aa26fdabcef72a581e1fe26edac14d07d2d/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuhttpd: manage BUILD_STATIC_LIBS
Fabrice Fontaine [Sun, 19 Apr 2020 23:30:09 +0000 (01:30 +0200)]
package/libuhttpd: manage BUILD_STATIC_LIBS

Use BUILD_STATIC_LIBS which has been added in version 3.1.4 with
https://github.com/zhaojh329/libuhttpd/commit/4d0f435e0b96140f7b74239bbe2f76d5f7d782b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuwsc: manage BUILD_STATIC_LIBS
Fabrice Fontaine [Sun, 19 Apr 2020 23:26:28 +0000 (01:26 +0200)]
package/libuwsc: manage BUILD_STATIC_LIBS

Use BUILD_STATIC_LIBS added in version 3.3.5 with
https://github.com/zhaojh329/libuwsc/commit/1759dfd7d9f65775dc0a27e85b8c8c482efbfd00

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuwsc: lua needs dynamic library
Fabrice Fontaine [Sun, 19 Apr 2020 23:26:27 +0000 (01:26 +0200)]
package/libuwsc: lua needs dynamic library

lua is built as a module so it needs dynamic library

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/exfatprogs: needs wchar
Fabrice Fontaine [Sun, 19 Apr 2020 22:50:24 +0000 (00:50 +0200)]
package/exfatprogs: needs wchar

exfatprogs unconditionally uses wchar_t in libexfat.h

Fixes:
 - http://autobuild.buildroot.org/results/884bbaec2bbbff33c30a0bebda3d95198aa1281c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyasn: remove duplicate package
James Hilliard [Sun, 19 Apr 2020 22:47:19 +0000 (16:47 -0600)]
package/python-pyasn: remove duplicate package

This is a duplicate of python-pyasn1.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: disable docs
James Hilliard [Sun, 19 Apr 2020 22:40:09 +0000 (16:40 -0600)]
package/apcupsd: disable docs

We can skip building docs by only running make against subdirs that are
not "doc".

Fixes:
http://autobuild.buildroot.net/results/e65/e65c23c3c1cae9aa9d697323fabf8a6f310fc3ba/build-end.log

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoDEVELOPERS: remove Rhys Willians from lirc-tools
Thomas Petazzoni [Mon, 20 Apr 2020 05:18:07 +0000 (07:18 +0200)]
DEVELOPERS: remove Rhys Willians from lirc-tools

Rhys has asked through private e-mail to be removed:

==
Please can I be removed as the developer, as I’m not longer involved.

Cheers Rhys
==

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nftables: use bundled mini-gmp without full-blown system gmp
Adrien Gallouët [Fri, 17 Apr 2020 13:36:43 +0000 (13:36 +0000)]
package/nftables: use bundled mini-gmp without full-blown system gmp

ntables bundles a mini implementation of gmp that can be used if the
system lacks the full-blown gmp.

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
[yann.morin.1998@free.fr:
  - explicitly disable mini-gmp when full one is enabled
  - reword and expand commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/collectd: remove lvm
Fabrice Fontaine [Wed, 15 Apr 2020 06:30:04 +0000 (08:30 +0200)]
package/collectd: remove lvm

lvm has been removed since version 5.11.0 and
https://github.com/collectd/collectd/commit/0e73c26f5670b2f11eecfdadaf545bcc7f260658

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/collectd: drop autoreconf
Fabrice Fontaine [Wed, 15 Apr 2020 06:30:03 +0000 (08:30 +0200)]
package/collectd: drop autoreconf

autoreconf is not needed since bump to version 5.11.0 in commit
57adbfc482454e3fb17172626b2dc971afaf5cfd which dropped patch

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/stella: bump to version 6.1.1
Sergio Prado [Sun, 19 Apr 2020 20:33:11 +0000 (17:33 -0300)]
package/stella: bump to version 6.1.1

Drop patch already applied upstream.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/procps-ng: add PROCPS_NG_INSTALL_INIT_OPENRC
Carlos Santos [Thu, 5 Mar 2020 10:55:21 +0000 (07:55 -0300)]
package/procps-ng: add PROCPS_NG_INSTALL_INIT_OPENRC

Avoid installing 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/haproxy: fix build on m68k
Fabrice Fontaine [Fri, 1 Nov 2019 11:10:05 +0000 (12:10 +0100)]
package/haproxy: fix build on m68k

When threads are enabled, haproxy expects that pthread_getcpuclockid is
available which is not the case on m68k. Fix this by enabling threads
support only if NPTL is available.

Fixes:
 - http://autobuild.buildroot.org/results/52cc4b1fcac2a4fc84ab15ec4c692d2cd9b6d8bd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dtc: bump version to 1.6.0
Julien Olivain [Sun, 19 Apr 2020 15:43:00 +0000 (17:43 +0200)]
package/dtc: bump version to 1.6.0

When host compiler is gcc 10 (for example on Fedora 32), dtc 1.5.1
fail to build with the error:
/usr/bin/ld: dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

dtc 1.6.0 fixes this issue in the commit:
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=0e9225eb0dfec51def612b928d2f1836b092bc7e

Also adopt new spacing convention in .hash files (two spaces).

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/lvm2: lvmetad integration
Pascal de Bruijn [Mon, 2 Mar 2020 07:49:50 +0000 (08:49 +0100)]
package/lvm2: lvmetad integration

lvmetad is usually combined with event-based system services that
automatically run pvscan --cache on disks added or removed.  This
way, the cache is automatically updated with metadata from new disks
when they appear.  LVM udev rules and systemd services implement this
automation.  Automatic scanning is usually combined with automatic
activation.  For more information, see pvscan(8).

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lvm2: install systemd units and generators
Pascal de Bruijn [Mon, 2 Mar 2020 07:49:15 +0000 (08:49 +0100)]
package/lvm2: install systemd units and generators

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
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>