buildroot.git
3 years agopackage/libsoil: remove package
Bernd Kuhls [Sun, 1 Aug 2021 06:12:25 +0000 (08:12 +0200)]
package/libsoil: remove package

All kodi screensavers previously needing libsoil removed the dependency.

For reference:
https://github.com/xbmc/screensaver.matrixtrails/commit/92a0d44e9151cfce3be74e81a3e39f0688d69b7a
https://github.com/xbmc/screensaver.asterwave/commit/8a778873754de09c93031408c71b3c40d198f3bc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pppd: add SELinux module
Fabrice Fontaine [Sun, 1 Aug 2021 08:05:25 +0000 (10:05 +0200)]
package/pppd: add SELinux module

Support for pppd is added by the services/ppp module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/rng-tools: add SELinux module
Fabrice Fontaine [Sun, 1 Aug 2021 08:45:24 +0000 (10:45 +0200)]
package/rng-tools: add SELinux module

Support for rng-tools is added by the services/rngd module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/redis: add SELinux module
Fabrice Fontaine [Sun, 1 Aug 2021 08:44:33 +0000 (10:44 +0200)]
package/redis: add SELinux module

Support for redis is added by the services/redis module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/radvd: add SELinux module
Fabrice Fontaine [Sun, 1 Aug 2021 08:43:53 +0000 (10:43 +0200)]
package/radvd: add SELinux module

Support for radvd is added by the services/radvd module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gtest: fix host build
Fabrice Fontaine [Sun, 1 Aug 2021 08:36:41 +0000 (10:36 +0200)]
package/gtest: fix host build

Commit 9dfbbbb4105c47602da048c9bb9499fb8862e768 wrongly removed
dependency on host-python3 or host-python resulting in the following
build failure:

cp -rp /tmp/instance-2/output-1/build/host-gtest-1.11.0/googlemock/scripts/generator/cpp /tmp/instance-2/output-1/per-package/host-gtest/host/lib/python2.7/site-packages
cp: cannot create directory '/tmp/instance-2/output-1/per-package/host-gtest/host/lib/python2.7/site-packages': No such file or directory

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libgtk3: bump to version 3.24.30
Francois Perrad [Sun, 1 Aug 2021 08:29:56 +0000 (10:29 +0200)]
package/libgtk3: bump to version 3.24.30

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/cegui: needs gcc >= 5
Fabrice Fontaine [Sun, 1 Aug 2021 08:29:19 +0000 (10:29 +0200)]
package/cegui: needs gcc >= 5

cegui needs gcc >= 5 since bump to current master in commit
352a8b3fe8b1d78073b1119369f10688e00bc859 and
https://github.com/cegui/cegui/commit/17f7f6156eb0ba903d5ae926e372b8c5c26d8c68
or the build will fail on:

/home/buildroot/autobuild/instance-1/output-1/build/cegui-00b4e1fe174da53b7ed726ab5970ba51bd5b5ee0/cegui/src/widgets/Spinner.cpp: In member function 'virtual CEGUI::String CEGUI::Spinner::getTextFromValue() const':
/home/buildroot/autobuild/instance-1/output-1/build/cegui-00b4e1fe174da53b7ed726ab5970ba51bd5b5ee0/cegui/src/widgets/Spinner.cpp:310:116: error: 'defaultfloat' is not a member of 'std'
             tmp << std::fixed << std::setprecision(d_precision) << d_currentValue << std::setprecision(defPrec) << std::defaultfloat;
                                                                                                                    ^

defaultfloat is not available before gcc 5 and
https://github.com/gcc-mirror/gcc/commit/c4b64f5bcac6f7d5e1ae7d3026a3e228fb8adbbd

Fixes:
 - http://autobuild.buildroot.org/results/006ce109980a76870d2347e53307082b36d9904a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/vdr: bump to version 2.5.6
Fabrice Fontaine [Sun, 1 Aug 2021 08:28:09 +0000 (10:28 +0200)]
package/vdr: bump to version 2.5.6

- Use github mirror to get latest release
- This bump will fix a build failure with gcc 11 thanks to
  http://autobuild.buildroot.org/results/3dda387a765f7980c0bb567aeb0f0d86328ae876

https://github.com/vdr-projects/vdr/blob/2.5.6/HISTORY

Fixes:
 - http://autobuild.buildroot.org/results/3dda387a765f7980c0bb567aeb0f0d86328ae876

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ibrdtn-tools: fix build with gcc 11
Fabrice Fontaine [Sun, 1 Aug 2021 08:13:44 +0000 (10:13 +0200)]
package/ibrdtn-tools: fix build with gcc 11

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ibrdtnd: fix build with gcc 11
Fabrice Fontaine [Sun, 1 Aug 2021 08:09:28 +0000 (10:09 +0200)]
package/ibrdtnd: fix build with gcc 11

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/rabbitmq-server: add SELinux module
Fabrice Fontaine [Sun, 1 Aug 2021 08:06:20 +0000 (10:06 +0200)]
package/rabbitmq-server: add SELinux module

Support for rabbitmq-server is added by the services/rabbitmq module in
the SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ibrdtn: fix build with gcc 11
Fabrice Fontaine [Sun, 1 Aug 2021 08:04:30 +0000 (10:04 +0200)]
package/ibrdtn: fix build with gcc 11

Fix the following build failure with gcc 11:

In file included from ../../ibrdtn/data/PrimaryBlock.h:30,
                 from ../../ibrdtn/data/Serializer.h:27,
                 from ../../ibrdtn/data/Block.h:29,
                 from ../../ibrdtn/data/Bundle.h:27,
                 from ../../ibrdtn/api/Client.h:26,
                 from Client.cpp:22:
/tmp/instance-0/output-1/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/include/ibrcommon-1.0/ibrcommon/thread/Mutex.h:43:40: error: ISO C++17 does not allow dynamic exception specifications
   43 |                 virtual void trylock() throw (MutexException) = 0;
      |                                        ^~~~~

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/x11r7/xapp_fonttosfnt: bump version to 1.2.2
Bernd Kuhls [Sun, 1 Aug 2021 06:43:24 +0000 (08:43 +0200)]
package/x11r7/xapp_fonttosfnt: bump version to 1.2.2

Release notes:
https://lists.x.org/archives/xorg-announce/2021-June/003093.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 1.1.0
Bernd Kuhls [Sun, 1 Aug 2021 06:41:26 +0000 (08:41 +0200)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 1.1.0

Release notes:
https://lists.x.org/archives/xorg-announce/2021-June/003094.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/fetchmail: security bump version to 6.4.20
Bernd Kuhls [Sun, 1 Aug 2021 06:38:44 +0000 (08:38 +0200)]
package/fetchmail: security bump version to 6.4.20

Fixes CVE-2021-36386:
https://sourceforge.net/p/fetchmail/mailman/message/37327393/

Release notes:
https://sourceforge.net/p/fetchmail/mailman/message/37327392/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/x11r7/xserver_xorg-server: bump version to 1.20.13
Bernd Kuhls [Sun, 1 Aug 2021 06:35:07 +0000 (08:35 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.20.13

Release notes:
https://lists.x.org/archives/xorg-announce/2021-July/003100.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/intel-mediasdk: bump version to 21.2.3
Bernd Kuhls [Sun, 1 Aug 2021 06:32:42 +0000 (08:32 +0200)]
package/intel-mediasdk: bump version to 21.2.3

Rebased patch.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/{mesa3d, mesa3d-headers}: bump version to 21.1.6
Bernd Kuhls [Sun, 1 Aug 2021 06:11:24 +0000 (08:11 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 21.1.6

Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2021-July/000640.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libmbim: fix static build
Fabrice Fontaine [Sat, 31 Jul 2021 21:53:30 +0000 (23:53 +0200)]
package/libmbim: fix static build

Fix static build failure raised since switch to meson in commit
be76508af2b2253f95137a28198139732be2dcb3

Fixes:
 - http://autobuild.buildroot.org/results/8553211d87a2c41d8b47b51bbb193736fce49714

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gli: disable tests
Fabrice Fontaine [Sat, 31 Jul 2021 21:39:54 +0000 (23:39 +0200)]
package/gli: disable tests

Disable tests to avoid the following build failure with gcc 11:

/srv/storage/autobuild/run/instance-2/output-1/build/gli-559cbe1ec38878e182507d331e0780fbae5baf15/test/core/core_convert.cpp: In function 'bool convert_rgb32f_rgb9e5(const char*, const char*)':
/srv/storage/autobuild/run/instance-2/output-1/build/gli-559cbe1ec38878e182507d331e0780fbae5baf15/test/core/core_convert.cpp:36:45: error: ordered comparison of pointer with integer zero ('const char*' and 'int')
   36 |         if(std::strstr(FilenameDst, ".dds") > 0 || std::strstr(FilenameDst, ".ktx") > 0)
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

Fixes:
 - http://autobuild.buildroot.org/results/4f1dbb7cf2b071f3b92d00d13984068ef5f5b329

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/duma: fix build with gcc 11
Fabrice Fontaine [Sat, 31 Jul 2021 21:32:47 +0000 (23:32 +0200)]
package/duma: fix build with gcc 11

Fix the following build failure with gcc 11:

In file included from dumapp.cpp:39:
dumapp.h:88:49: error: ISO C++17 does not allow dynamic exception specifications
   88 |     void * DUMA_CDECL operator new(DUMA_SIZE_T) throw(std::bad_alloc);
      |                                                 ^~~~~

While at it, also drop DUMA_CPP which does not seem to be set since the
addition of the package back in 2013 in commit
bda69bf4e4b642ab199ffa13c7356709885f129d

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/dtc: bump to version 1.6.1
Fabrice Fontaine [Sat, 31 Jul 2021 21:22:08 +0000 (23:22 +0200)]
package/dtc: bump to version 1.6.1

This will fix a build failure with gcc 11

https://github.com/dgibson/dtc/releases/tag/v1.6.1

Fixes:
 - http://autobuild.buildroot.org/results/59305de179a5bde415cfd42d75e005b36b7ec4f6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/xerces: needs dynamic library
Fabrice Fontaine [Sat, 31 Jul 2021 20:44:25 +0000 (22:44 +0200)]
package/xerces: needs dynamic library

Disable xerces on toolchains without dynamic library to avoid a static
build failure raised since the addition of xml-security-c in commit
bbda38afbbfa79ff436e1a187bb267b8d9558036 because xerces-c.pc does not
contain icu or iconv dependencies in Libs.Private

Fixes:
 - http://autobuild.buildroot.org/results/3e4f31eb017878d3417742cbc83e16bc848db98e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/pkcs11-helper: bump to version 1.27
Fabrice Fontaine [Sat, 31 Jul 2021 20:22:39 +0000 (22:22 +0200)]
package/pkcs11-helper: bump to version 1.27

https://github.com/OpenSC/pkcs11-helper/releases/tag/pkcs11-helper-1.27

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/privoxy: add SELinux module
Fabrice Fontaine [Sat, 31 Jul 2021 20:14:02 +0000 (22:14 +0200)]
package/privoxy: add SELinux module

Support for privoxy is added by the services/privoxy module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gtest: drop unrecognized option
Fabrice Fontaine [Sat, 31 Jul 2021 20:11:37 +0000 (22:11 +0200)]
package/gtest: drop unrecognized option

BUILD_GTEST has been dropped from gtest since version 1.8.1 and
https://github.com/google/googletest/commit/aff0379441a392d618ec87b6d55a29070e97eaf1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gtest: needs gcc >= 4.9
Fabrice Fontaine [Sat, 31 Jul 2021 20:05:55 +0000 (22:05 +0200)]
package/gtest: needs gcc >= 4.9

gtest unconditionally uses is_trivially_copy_constructible since
version 1.11.0 and
https://github.com/google/googletest/commit/c13c27a513ecd1cbf5700a45fe590e85e8ae6770

So add a dependency on gcc >= 4.9 to avoid a build failure since commit
9dfbbbb4105c47602da048c9bb9499fb8862e768

Fixes:
 - http://autobuild.buildroot.org/results/3d23d7c2c340c23e468890e4df73a9b3b142ecf6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/swupdate: needs dynamic libary
Fabrice Fontaine [Sat, 31 Jul 2021 20:03:27 +0000 (22:03 +0200)]
package/swupdate: needs dynamic libary

dynamic library is needed since bump to version 2021.04 in commit
2c6b0359c3b819fadb4437b2d780e95c32fdab21 and
https://github.com/sbabic/swupdate/commit/f802cfa427686c5c90245ae08da36f4c7e31862f

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ibrcommon: fix build with gcc 11
Fabrice Fontaine [Sat, 31 Jul 2021 16:07:01 +0000 (18:07 +0200)]
package/ibrcommon: fix build with gcc 11

Fix the following build failure with gcc 11:

In file included from ../../ibrcommon/data/BLOB.h:25,
                 from BLOB.cpp:22:
../../ibrcommon/thread/Mutex.h:43:40: error: ISO C++17 does not allow dynamic exception specifications
   43 |                 virtual void trylock() throw (MutexException) = 0;
      |                                        ^~~~~

Fixes:
 - http://autobuild.buildroot.org/results/7a9a4319916efe8cd7e04b8686a9ae0b233b017a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/neard: update url
Michael Nosthoff [Sat, 31 Jul 2021 14:46:20 +0000 (16:46 +0200)]
package/neard: update url

01.org url is permission denied. There seems to be no project page
anymore. Use kernel.org repo with cleaner https url.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nut: fix SELinux
Fabrice Fontaine [Sat, 31 Jul 2021 11:42:56 +0000 (13:42 +0200)]
package/nut: fix SELinux

Add apache module as for now it is unconditionally used in nut.fc to
fix build failure raised since 991c33e61cbc161d2e4735919591157a61fe07fe

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/refpolicy: fix build with ifplugd
Fabrice Fontaine [Sat, 31 Jul 2021 11:38:39 +0000 (13:38 +0200)]
package/refpolicy: fix build with ifplugd

Fix build failure raised since commit
499bf5319bf66ecd28d1b85c39ed7ffdeb5bf296

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/olsr: backport upstream patch to fix compat with gpsd 3.21
Thomas Petazzoni [Sat, 31 Jul 2021 21:50:00 +0000 (23:50 +0200)]
package/olsr: backport upstream patch to fix compat with gpsd 3.21

Since the update of gpsd to 3.21, olsr was failing to build with:

src/gpsdclient.c: In function 'nmeaInfoFromGpsd':
src/gpsdclient.c:373:14: error: 'struct gps_data_t' has no member named 'status'
  373 |   if (gpsdata->status == STATUS_NO_FIX) {
      |              ^~

This is due to an API change in gpsd. This commit fixes that by
backporting an upstream commit from olsr.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/cegui: add missing <string.h> include
Thomas Petazzoni [Sat, 31 Jul 2021 19:53:49 +0000 (21:53 +0200)]
package/cegui: add missing <string.h> include

Backport an upstream patch to fix a missing <string.h> include.

Fixes:

  http://autobuild.buildroot.net/results/7507b3c5cdcae04804a750f688057adae93cd329/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/exiv2: fix patch with stack protector flag
Thomas Petazzoni [Sat, 31 Jul 2021 14:38:54 +0000 (16:38 +0200)]
package/exiv2: fix patch with stack protector flag

One of the files have CRLF line endings, which have been lost in the
process, causing build issues. Also, we update the upstream status of
the patch.

Fixes:

  http://autobuild.buildroot.net/results/31744f8476819c725f8c0024529515bb8059582d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/pkg-kconfig: only define -update-{def, }config if supported
Arnout Vandecappelle (Essensium/Mind) [Sun, 25 Jul 2021 14:11:46 +0000 (16:11 +0200)]
package/pkg-kconfig: only define -update-{def, }config if supported

The foo-update-config and foo-update-defconfig targets only work if a
custom config file was defined. Remove those targets entirely if they
don't work to begin with.

This was originally handled with an error condition in the
kconfig-package-update-config macro. However, it makes more sense to
simply remove the target if it anyway can't be used.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr: move PHONY before corresponding rule]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pkg-kconfig: hide defconfig targets if defconfig not supported
Arnout Vandecappelle (Essensium/Mind) [Sun, 25 Jul 2021 14:11:45 +0000 (16:11 +0200)]
package/pkg-kconfig: hide defconfig targets if defconfig not supported

When the savedefconfig target is not supported by a kconfig package,
(like is the case for busybox) it doesn't make sense to define
busybox-savedefconfig or busybox-update-defconfig. Calling these leads
to an error from busybox itself "No rule to make target
'savedefconfig'.", which may be confusing.

Only define the savedefconfig and update-defconfig target if
$(2)_KCONFIG_SUPPORTS_DEFCONFIG is YES.

Note that we also need to define it as phony in the condition, otherwise
'make busybox-update-defconfig' will just say "Nothing to be done" and
we really want the error "No rule to make target
'busybox-update-defconfig'".

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr: move PHONY before corresponding rule]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/tpm2-tools: disable on uClibc, due to c16rtomb()
Thomas Petazzoni [Sat, 31 Jul 2021 10:16:04 +0000 (12:16 +0200)]
package/tpm2-tools: disable on uClibc, due to c16rtomb()

Since upstream commit eca77c1419617a8e2d6d8008bac716878b0c27ca, the
c16rtomb() wide-char function is used by tpm2-tools, but this function
is not implemented by uClibc.

This commit first appeared in tpm-tools 4.2, and therefore the bump
from version 4.1.2 to 4.3.2 in commit
91aa6efa8588bf7617cc4a640eb55052b524ceb7 causes a build failure on
uClibc configurations.

An issue was reported at
https://github.55860.com/tpm2-software/tpm2-tools/issues/2785, but in
the mean time, we disable tpm2-tools on uClibc configurations.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/tftpd: bump to latest git commit
Fabrice Fontaine [Sun, 18 Jul 2021 21:55:16 +0000 (23:55 +0200)]
package/tftpd: bump to latest git commit

- Update indention in hash file (two spaces)
- This will fix a static build failure with gcc-10 thanks to
  https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git/commit/?id=18ac1e26f756dd47fef33f5f706b0ec8fa696216

Fixes:
 - http://autobuild.buildroot.org/results/913e8b75422c8beba60df5ea2e2c9e431364566e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gcc: fix libsanitizer build with Linux 5.13 headers
Maxim Kochetkov [Thu, 1 Jul 2021 08:47:18 +0000 (11:47 +0300)]
package/gcc: fix libsanitizer build with Linux 5.13 headers

Starting from 5.13 Cyclades async mux support is dropped from linux kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f76edd8f7ce06cdff2fe5b6b39a49644c684a161

But gcc's libsanitizer uses <linux/cyclades.h> header.
This issue is fixed by:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=745dae5923aba02982563481d75a21595df22ff8

gcc 9.4.0 has already been released with the fix, so we only patch gcc
8.x, 10.x, 11.x, the ARC and C-SKY versions

Fixes:

  http://autobuild.buildroot.net/results/7f2056d05f4e05fcb95e2606583e95fac8bf3aef/ (gcc 10.x)
  http://autobuild.buildroot.net/results/116f40c22946952a8190ccba85d26913d9786e52/ (gcc 11.x)

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/git: fix SELinux
Fabrice Fontaine [Sat, 31 Jul 2021 08:51:37 +0000 (10:51 +0200)]
package/git: fix SELinux

Add apache module as for now it is unconditionally used in git.fc to
fix build failure raised since d6644c9705f7d9bc2d647b343d0dfedbe7923907

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/collectd: fix SELinux
Fabrice Fontaine [Sat, 31 Jul 2021 08:49:31 +0000 (10:49 +0200)]
package/collectd: fix SELinux

Add apache module as for now it is unconditionally used in collectd.fc
to fix build failure raised since
4f20ad546fd89e8e2dee7b40ebea9878e72d082f

Fixes:
 - http://autobuild.buildroot.org/results/94d8adab9fd0083e24d5112ae7daa56e7944793b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/apcupsd: fix SELinux
Fabrice Fontaine [Sat, 31 Jul 2021 08:37:59 +0000 (10:37 +0200)]
package/apcupsd: fix SELinux

Add apache module as for now it is unconditionally used in apcupsd.fc to
fix build failure raised since dc8b2905f1161918b856a9aff01a0607a50184ab

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/cvs: fix SELinux
Fabrice Fontaine [Sat, 31 Jul 2021 08:33:01 +0000 (10:33 +0200)]
package/cvs: fix SELinux

Add apache module as for now it is unconditionally used in cvs.fc

Fixes:
 - http://autobuild.buildroot.org/results/838266bef1deec560e336d03a64d64fa1990c344

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/refpolicy: fix build with cvs
Fabrice Fontaine [Sat, 31 Jul 2021 08:33:00 +0000 (10:33 +0200)]
package/refpolicy: fix build with cvs

Fix build failure with cvs raised since commit
da93f38cb19f7f7a9b75232f5f2bad25b8180982 by making inetd optional

Fixes:
 - http://autobuild.buildroot.org/results/838266bef1deec560e336d03a64d64fa1990c344

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/freerdp: fix uclibc build
Fabrice Fontaine [Sat, 31 Jul 2021 08:00:51 +0000 (10:00 +0200)]
package/freerdp: fix uclibc build

Fix build failure with uclibc raised since bump to version 2.4.0 in
commit 196b29f3273035888d8743075be453649ad82e93

Fixes:
 - http://autobuild.buildroot.org/results/31e770a330158035e24b7b952bec0030138482b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/pkcs11-helper: fix build with libnss
Fabrice Fontaine [Sat, 31 Jul 2021 07:20:33 +0000 (09:20 +0200)]
package/pkcs11-helper: fix build with libnss

Build is broken since bump of libnss to version 3.68 in commit
0a73b9b962421ce7a72c88e5f5bbd8849f21b041

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-pvr-nextpvr: bump version to 8.2.6-Matrix
Bernd Kuhls [Sat, 31 Jul 2021 05:25:25 +0000 (07:25 +0200)]
package/kodi-pvr-nextpvr: bump version to 8.2.6-Matrix

Changelog:
https://github.com/kodi-pvr/pvr.nextpvr/blob/Matrix/pvr.nextpvr/changelog.txt

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/i2c-tools: bump to version 4.3
Baruch Siach [Fri, 30 Jul 2021 13:12:42 +0000 (16:12 +0300)]
package/i2c-tools: bump to version 4.3

Drop upstream patch.

Update README hash for text changes that are not related to license.

Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Cc: Matt Weber <matthew.weber@collins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/freerdp: bump to version 2.4.0
Fabrice Fontaine [Fri, 30 Jul 2021 13:06:20 +0000 (15:06 +0200)]
package/freerdp: bump to version 2.4.0

https://github.com/FreeRDP/FreeRDP/releases/tag/2.4.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php: bump version to 8.0.9
Bernd Kuhls [Fri, 30 Jul 2021 05:42:27 +0000 (07:42 +0200)]
package/php: bump version to 8.0.9

Changelog: https://www.php.net/ChangeLog-8.php#8.0.9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/go: security bump version to 1.16.6
Christian Stewart [Thu, 29 Jul 2021 22:49:49 +0000 (15:49 -0700)]
package/go: security bump version to 1.16.6

These minor releases include a security fix according to the new security policy (#44918).

crypto/tls clients can panic when provided a certificate of the wrong type for the negotiated parameters.
net/http clients performing HTTPS requests are also affected. The panic can be triggered by an attacker
in a privileged network position without access to the server certificate's private key, as long as a trusted
ECDSA or Ed25519 certificate for the server exists (or can be issued), or the client is configured with
Config.InsecureSkipVerify. Clients that disable all TLS_RSA cipher suites (that is, TLS 1.0–1.2 cipher
suites without ECDHE), as well as TLS 1.3-only clients, are unaffected.

This is CVE-2021-34558.

View the release notes for more information:

https://golang.org/doc/devel/release.html#go1.16.minor

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/fetchmail: fix SELinux
Fabrice Fontaine [Fri, 30 Jul 2021 20:51:22 +0000 (22:51 +0200)]
package/fetchmail: fix SELinux

Build is broken since commit f043646044261578fd554c1f899b84e798ef9437
because services/mta module is mandatory with fetchmail

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/exim: fix SELinux
Fabrice Fontaine [Fri, 30 Jul 2021 20:43:08 +0000 (22:43 +0200)]
package/exim: fix SELinux

Build is broken since commit 6aeee4007322574083533a71c2be9a74e2faed55
because services/mta module is mandatory with exim

Fixes:
 - http://autobuild.buildroot.org/results/7032d13c4a1b5979f6737d1482a8452e26c705aa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/fail2ban: fix CVE-2021-32749
Fabrice Fontaine [Fri, 30 Jul 2021 12:56:11 +0000 (14:56 +0200)]
package/fail2ban: fix CVE-2021-32749

fail2ban is a daemon to ban hosts that cause multiple authentication
errors. In versions 0.9.7 and prior, 0.10.0 through 0.10.6, and 0.11.0
through 0.11.2, there is a vulnerability that leads to possible remote
code execution in the mailing action mail-whois. Command `mail` from
mailutils package used in mail actions like `mail-whois` can execute
command if unescaped sequences (`\n~`) are available in "foreign" input
(for instance in whois output). To exploit the vulnerability, an
attacker would need to insert malicious characters into the response
sent by the whois server, either via a MITM attack or by taking over a
whois server. The issue is patched in versions 0.10.7 and 0.11.3. As a
workaround, one may avoid the usage of action `mail-whois` or patch the
vulnerability manually.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/xml-security-c: requires DES support in openssl
Fabrice Fontaine [Fri, 30 Jul 2021 12:41:21 +0000 (14:41 +0200)]
package/xml-security-c: requires DES support in openssl

Enable DES in openssl to fix build failure raised since the addition of
the package in bbda38afbbfa79ff436e1a187bb267b8d9558036

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

Tested-by: Matthew Weber <matthew.weber@collins.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gssdp: disable sniffer
Fabrice Fontaine [Fri, 30 Jul 2021 11:30:47 +0000 (13:30 +0200)]
package/gssdp: disable sniffer

Disable sniffer as it depends on gtk4 since
https://gitlab.gnome.org/GNOME/gssdp/-/commit/c251ddcd03331ecba8702658be8023fb32743a85
and so build failures are raised since bump to version 1.3.0 in commit
42b46562a286d0082638f9bac5346c523877b5c2

Fixes:
 - http://autobuild.buildroot.org/results/3b4f4a2c19696b32c3a70af5792a305cd861328c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/refpolicy: fix build with minidlna
Fabrice Fontaine [Fri, 30 Jul 2021 07:23:23 +0000 (09:23 +0200)]
package/refpolicy: fix build with minidlna

Fix build failure with minidlna raised since commit
e3c31814adaa3e773c310cd97e28ffea9b980a10

Fixes:
 - http://autobuild.buildroot.org/results/52490172afd9b72b08a7deb0bd3c2124398bbffa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libtalloc: add proper Config.in comment for dynlib dependency
Thomas Petazzoni [Thu, 29 Jul 2021 21:23:23 +0000 (23:23 +0200)]
package/libtalloc: add proper Config.in comment for dynlib dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libtalloc: new package
David GOUARIN [Mon, 12 Apr 2021 16:40:10 +0000 (11:40 -0500)]
package/libtalloc: new package

talloc is a hierarchical, reference counted memory pool system with destructors.
It is the core memory allocator used in Samba.

Signed-off-by: David GOUARIN <dgouarin@gmail.com>
Signed-off-by: Kalpesh Panchal <kalpesh.panchal@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agodocs/manual/resources.txt: change pastebin site URL
Thomas Petazzoni [Thu, 29 Jul 2021 21:01:31 +0000 (23:01 +0200)]
docs/manual/resources.txt: change pastebin site URL

code.bulix.org no longer exists, suggest paste.ack.tf instead, as an
example.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agodocs/manual/resources.txt: add link to lore.kernel.org
Thomas Petazzoni [Thu, 29 Jul 2021 21:00:45 +0000 (23:00 +0200)]
docs/manual/resources.txt: add link to lore.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agodocs/website: mention mailing list archives at lore.kernel.org
Thomas Petazzoni [Wed, 21 Jul 2021 17:15:37 +0000 (19:15 +0200)]
docs/website: mention mailing list archives at lore.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/cwiid: update url
Michael Nosthoff [Thu, 29 Jul 2021 20:26:16 +0000 (22:26 +0200)]
package/cwiid: update url

The project URL is 404. Link to github instead.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/sdl2: fix sdl2-config.cmake instead of removing it
Gleb Mazovetskiy [Thu, 1 Jul 2021 06:24:32 +0000 (07:24 +0100)]
package/sdl2: fix sdl2-config.cmake instead of removing it

SDL2 autotools-provided sdl2-config.cmake uses the absolute /usr prefix.
For this reason, we previously removed it (as of d59261836a).

This commit fixes sdl2-config.cmake to use relative paths instead.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/xml-security-c: fix syntax error
Maxim Kochetkov [Thu, 29 Jul 2021 05:25:30 +0000 (08:25 +0300)]
package/xml-security-c: fix syntax error

Add missed backslash to fix such error:
package/xml-security-c/Config.in:16: syntax error
package/xml-security-c/Config.in:15: invalid option
package/xml-security-c/Config.in:15:warning: ignoring unsupported character '!'
package/xml-security-c/Config.in:16: unknown option "BR2_TOOLCHAIN_GCC_AT_LEAST_4_7"

Fixes: bbda38afbbfa ("package/xml-security-c: new package")
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libtomcrypt: use makefile.unix, brings pkgconfig support
Peter Seiderer [Thu, 6 May 2021 20:52:29 +0000 (22:52 +0200)]
package/libtomcrypt: use makefile.unix, brings pkgconfig support

Change from makefile to makefile.unix:
  - brings pkgconfig support (libtomcrypt.pc will be installed)
  - remove NODOCS (legacy, not used anymore)
  - remove INSTALL_USER/INSTALL_GROUP (not needed for makefile.unix)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/xml-security-c: new package
Chris Simons [Mon, 12 Apr 2021 16:23:47 +0000 (11:23 -0500)]
package/xml-security-c: new package

Adds support for the Apache Santuario XML Security for C++ that
implementations the XML Digital Signature and Encryption
specifications.

Signed-off-by: Chris Simons <chris.simons@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/erlang: support build when gcc __atomic_* exist
Frank Hunleth [Sat, 8 May 2021 22:24:19 +0000 (18:24 -0400)]
package/erlang: support build when gcc __atomic_* exist

While Erlang will use it's own atomic operations, it can also use gcc
__atomic_* builtins. This is now listed in Erlang's HOWTO/INSTALL.md.

This change was necessary on RISC-V, since Erlang didn't have a built-in
implementation, but it was able to use gcc's __atomic_* functions.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/osm2pgsql: new package
Maxim Kochetkov [Wed, 28 Apr 2021 04:12:15 +0000 (07:12 +0300)]
package/osm2pgsql: new package

osm2pgsql is a tool for loading OpenStreetMap data into a
PostgreSQL / PostGIS database suitable for applications like
rendering into a map, geocoding with Nominatim, or general analysis.

https://osm2pgsql.org

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libosmium: new package
Maxim Kochetkov [Wed, 28 Apr 2021 04:12:14 +0000 (07:12 +0300)]
package/libosmium: new package

A fast and flexible C++ library for working with OpenStreetMap data.
Libosmium works on Linux, macOS and Windows.

https://osmcode.org/libosmium/

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/linux-tools: add support for bpftool
James Hilliard [Thu, 8 Jul 2021 20:15:57 +0000 (14:15 -0600)]
package/linux-tools: add support for bpftool

This tool is available to be compiled since kernel 4.15.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nfs-utils: add dynamic library comment for NFSv4/NFSv4.1
James Hilliard [Sun, 25 Jul 2021 21:39:42 +0000 (15:39 -0600)]
package/nfs-utils: add dynamic library comment for NFSv4/NFSv4.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nfs-utils: fix printfs format build failure on 64-bits platforms
Giulio Benetti [Sun, 25 Jul 2021 21:00:54 +0000 (23:00 +0200)]
package/nfs-utils: fix printfs format build failure on 64-bits platforms

Add 2 upstream patches from nfs-utils that fix build failures on
64-bits where time_t is assumed to be a long long when passed to
printf("%ld"), but that is not always true, so in these patches the
author (Petr) uses PRIu64 tag.

Fixes:
http://autobuild.buildroot.net/results/9bc1d43a588338b7395af7bc97535ee16a6ea2d9/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Petr Vorel <petr.vorel@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nginx-modsecurity: fix static build
Fabrice Fontaine [Mon, 26 Jul 2021 06:37:50 +0000 (08:37 +0200)]
package/nginx-modsecurity: fix static build

Fix static build which has been enabled since bump of libmodsecurity to
version 3.0.5 in commit 464d0be380c84ac7c3f1684e49153c3868280d7e

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libmodsecurity: fix static build
Fabrice Fontaine [Mon, 26 Jul 2021 06:37:49 +0000 (08:37 +0200)]
package/libmodsecurity: fix static build

Fix the following static build failure with nginx raised since bump of
libmodsecurity to version 3.0.5 in commit
464d0be380c84ac7c3f1684e49153c3868280d7e:

/home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-2/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libmodsecurity.a(libmodsecurity_la-transaction.o): in function `std::basic_streambuf<char, std::char_traits<char> >::sbumpc() [clone .isra.0]':
transaction.cc:(.text+0x40): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()'

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/nmap: fix ncat on Unix socket
Alexey Neyman [Wed, 28 Jul 2021 02:15:34 +0000 (19:15 -0700)]
package/nmap: fix ncat on Unix socket

Starting with nmap 7.91, ncat segfaults on an attempt to use it for a
Unix-domain socket (`ncat -U path`). The fix has been committed to nmap
in r38121.

Signed-off-by: Alexey Neyman <stilor@att.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gnuradio: bump to 3.8.2.0
Gwenhael Goavec-Merou [Mon, 4 Jan 2021 15:11:15 +0000 (16:11 +0100)]
package/gnuradio: bump to 3.8.2.0

Refresh patch 0002-boost_qualify_placeholders_with_their_full_namespace.patch

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gpsd: enable python support and modules
Sergey Matyukevich [Sun, 1 Nov 2020 11:47:12 +0000 (14:47 +0300)]
package/gpsd: enable python support and modules

Add option that enables gpsd python support including modules, tools,
and gpsfake test harness. If python is enabled then install python
modules unconditionally. Note that gpsd python modules run compatibly
under Python 2 and 3.x for x >= 2. So enable gpsd python support when
any Python version is enabled in board configuration. If no Python is
enabled, but gpsd Python support is requested, then select Python 3.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
[yann.morin.1998@free.fr: fix check-package]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gpsd: bump version to 3.21
Olivier Dautricourt [Sun, 1 Nov 2020 11:47:11 +0000 (14:47 +0300)]
package/gpsd: bump version to 3.21

Update gpsd to latest release v3.21:
- bump version
- update checksums
- remove patch for v3.20: it is not needed for v3.21
- remove obsolete options and add them to Config.in.legacy

Signed-off-by: Olivier Dautricourt <olivier.dautricourt@orolia.com>
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/webkitgtk: fix aarch64 renderer process crash
James Hilliard [Tue, 27 Jul 2021 09:31:17 +0000 (03:31 -0600)]
package/webkitgtk: fix aarch64 renderer process crash

We need to backport an aarch64 patch to prevent a crash.

Fixes:
==654== Conditional jump or move depends on uninitialised value(s)
==654==    at 0x68CF9D0: contains (Range.h:115)
==654==    by 0x68CF9D0: mark (JITStubRoutineSet.h:57)
==654==    by 0x68CF9D0: mark (ConservativeRoots.cpp:127)
==654==    by 0x68CF9D0: genericAddPointer<JSC::CompositeMarkHook> (ConservativeRoots.cpp:69)
==654==    by 0x68CF9D0: genericAddSpan<JSC::CompositeMarkHook> (ConservativeRoots.cpp:101)
==654==    by 0x68CF9D0: JSC::ConservativeRoots::add(void*, void*, JSC::JITStubRoutineSet&, JSC::CodeBlockSet&) (ConservativeRoots.cpp:147)
==654==    by 0x68EA5BB: JSC::MachineThreads::gatherConservativeRoots(JSC::ConservativeRoots&, JSC::JITStubRoutineSet&, JSC::CodeBlockSet&, JSC::CurrentThreadState*, WTF::Thread*) (MachineStackMarker.cpp:202)
==654==    by 0x68D885B: _ZZN3JSC4Heap18addCoreConstraintsEvENUlRT_E0_clINS_11SlotVisitorEEEDaS2_ (Heap.cpp:2740)
==654==    by 0x68EFF7B: JSC::MarkingConstraint::execute(JSC::SlotVisitor&) (MarkingConstraint.cpp:58)
==654==    by 0x68F3D83: JSC::MarkingConstraintSolver::runExecutionThread(JSC::SlotVisitor&, JSC::MarkingConstraintSolver::SchedulerPreference, WTF::ScopedLambda<WTF::Optional<unsigned int> ()>) (MarkingConstraintSolver.cpp:237)
==654==    by 0x68D4413: JSC::Heap::runTaskInParallel(WTF::RefPtr<WTF::SharedTask<void (JSC::SlotVisitor&)>, WTF::RawPtrTraits<WTF::SharedTask<void (JSC::SlotVisitor&)> >, WTF::DefaultRefDerefTraits<WTF::SharedTask<void (JSC::SlotVisitor&)> > >) (Heap.cpp:3061)
==654==    by 0x68F3E9F: runFunctionInParallel<JSC::MarkingConstraintSolver::execute(JSC::MarkingConstraintSolver::SchedulerPreference, WTF::ScopedLambda<WTF::Optional<unsigned int>()>)::<lambda(JSC::SlotVisitor&)> > (Heap.h:397)
==654==    by 0x68F3E9F: JSC::MarkingConstraintSolver::execute(JSC::MarkingConstraintSolver::SchedulerPreference, WTF::ScopedLambda<WTF::Optional<unsigned int> ()>) (MarkingConstraintSolver.cpp:66)
==654==    by 0x68F4033: JSC::MarkingConstraintSolver::drain(WTF::BitVector&) (MarkingConstraintSolver.cpp:97)
==654==    by 0x68F4B2F: JSC::MarkingConstraintSet::executeConvergenceImpl(JSC::SlotVisitor&) (MarkingConstraintSet.cpp:114)
==654==    by 0x68F4C6B: JSC::MarkingConstraintSet::executeConvergence(JSC::SlotVisitor&) (MarkingConstraintSet.cpp:83)
==654==    by 0x68D9BC7: JSC::Heap::runFixpointPhase(JSC::GCConductor) (Heap.cpp:1378)
==654==    by 0x68D9E93: runCurrentPhase (Heap.cpp:1208)
==654==    by 0x68D9E93: JSC::Heap::runCurrentPhase(JSC::GCConductor, JSC::CurrentThreadState*) (Heap.cpp:1176)
==654==  Uninitialised value was created by a stack allocation
==654==    at 0x5AC3E80: JSC::ARM64Assembler::linkJump(JSC::AssemblerLabel, JSC::AssemblerLabel, JSC::ARM64Assembler::JumpType, JSC::ARM64Assembler::Condition) [clone .isra.0] (ARM64Assembler.h:2556)

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Acked-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/open62541: fix build with nios2
Fabrice Fontaine [Tue, 27 Jul 2021 07:37:55 +0000 (09:37 +0200)]
package/open62541: fix build with nios2

Fix the following build failure with nios2 raised since bump to version
1.2.2 in commit b436b82411305839abc76bb438fe92661a067526:

/home/buildroot/autobuild/instance-1/output-1/build/open62541-v1.2.2/src/ua_types_encoding_binary.c: In function 'unpack754':
/home/buildroot/autobuild/instance-1/output-1/build/open62541-v1.2.2/src/ua_types_encoding_binary.c:322:12: error: conversion to 'long double' from 'long long int' may alter its value [-Werror=conversion]
     result /= (1LL<<significandbits);
            ^~

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bluez5_utils: make a single option for avrcp and a2dp
Fabrice Fontaine [Tue, 27 Jul 2021 07:25:23 +0000 (09:25 +0200)]
package/bluez5_utils: make a single option for avrcp and a2dp

Build of avrcp without a2dp is broken since commit
fb9fc969d91f69851b4c70dba512b607e52bda7b:

/home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/9.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: profiles/audio/bluetoothd-avrcp.o: in function `avrcp_handle_set_volume':
avrcp.c:(.text+0x9c4): undefined reference to `media_transport_update_device_volume'

However, build of a2dp without avrcp is also broken:

/data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: profiles/audio/bluetoothd-media.o: in function `.L50':
media.c:(.text+0x508): undefined reference to `avrcp_unregister_player'
/data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: profiles/audio/bluetoothd-media.o: in function `match_endpoint_by_path':
media.c:(.text+0x824): undefined reference to `avrcp_register_player'

Fixes:
 - http://autobuild.buildroot.org/results/d54cdfc03212fff772a863d1bc8afd3cfb605831
 - http://autobuild.buildroot.org/results/64d75af986a4d6e9c5a176efb6e22046f4d82350

So make a single audio option for a2dp and avrcp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bluez5_utils: hid needs hog
Fabrice Fontaine [Tue, 27 Jul 2021 07:20:11 +0000 (09:20 +0200)]
package/bluez5_utils: hid needs hog

Build of hid without hog is broken since commit
fb9fc969d91f69851b4c70dba512b607e52bda7b:

/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: profiles/input/bluetoothd-manager.o: in function `input_init':
manager.c:(.text+0x2fd): undefined reference to `input_set_auto_sec'

Fixes:
 - http://autobuild.buildroot.org/results/9222879c9fe958e01e33f69531270355ea016d17

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/daq3: needs threads
Fabrice Fontaine [Tue, 27 Jul 2021 08:01:15 +0000 (10:01 +0200)]
package/daq3: needs threads

daq3 depends on threads since its addition in commit
6e75a990ae35580800f24f3ddc4573c6bc38fa05

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoRevert "package/daq3: fix build without threads"
Fabrice Fontaine [Tue, 27 Jul 2021 08:01:14 +0000 (10:01 +0200)]
Revert "package/daq3: fix build without threads"

This reverts commit 7c8641e5a97b89c14aebd730772e9cc037de6ccc as threads
are also used by afpacket and bpf modules if libpcap is found.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libmbim: bump to version 1.26.0
Yegor Yefremov [Wed, 28 Jul 2021 07:45:50 +0000 (09:45 +0200)]
package/libmbim: bump to version 1.26.0

This release introduces meson build system support that fixes
gobject-intorspection issue with autotools.

As meson files are only available in git, switch the location to
https://gitlab.freedesktop.org.

Since 1.26.0 libgudev is not required anymore so drop this dependency.

Add support for bash-completion.

Fixes:
http://autobuild.buildroot.net/results/f8a81aad0e262a567a2b31712575472ae92e5518

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/openrc: bump to version 0.43.3
Fabrice Fontaine [Wed, 28 Jul 2021 06:35:03 +0000 (08:35 +0200)]
package/openrc: bump to version 0.43.3

- Refresh second patch
- Drop sixth and seventh patches (already in version)
- Update indentation in hash file (two spaces)

https://github.com/OpenRC/openrc/blob/0.43.3/ChangeLog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libogg: switch back to http
Fabrice Fontaine [Wed, 28 Jul 2021 06:06:36 +0000 (08:06 +0200)]
package/libogg: switch back to http

LIBOGG_SITE has been switched to https since commit
c8dd578b135041eed639c06810e67b8b018402d4 resulting in the following
download failure:

Connecting to downloads.xiph.org (downloads.xiph.org)|2001:470:eb26:42::1|:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

So switch back to http

Fixes:
 - http://autobuild.buildroot.org/results/56225b5daa471668d25cbe3b794e83c75c6724f7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/opencv4: bump to version 4.5.3
Fabrice Fontaine [Tue, 27 Jul 2021 21:54:13 +0000 (23:54 +0200)]
package/opencv4: bump to version 4.5.3

https://github.com/opencv/opencv/wiki/ChangeLog#version453

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/opencv3: bump to version 3.4.15
Fabrice Fontaine [Tue, 27 Jul 2021 21:52:34 +0000 (23:52 +0200)]
package/opencv3: bump to version 3.4.15

Update hash of LICENSE (update in year:
https://github.com/opencv/opencv/commit/4f9cb3871a5d6552ef25229c2f81d2e1531c7df9)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/opencv4: add CPE variables
Fabrice Fontaine [Tue, 27 Jul 2021 21:51:48 +0000 (23:51 +0200)]
package/opencv4: add CPE variables

cpe:2.3:a:opencv:opencv is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aopencv%3Aopencv

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/iputils: bump release to 20210722
Petr Vorel [Tue, 27 Jul 2021 17:41:24 +0000 (19:41 +0200)]
package/iputils: bump release to 20210722

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gupnp: bump to version 1.3.0
Fabrice Fontaine [Tue, 27 Jul 2021 12:05:36 +0000 (14:05 +0200)]
package/gupnp: bump to version 1.3.0

- Drop patch (already in version)
- Update license to LGPL-2.1+:
  https://gitlab.gnome.org/GNOME/gupnp/-/commit/37b22d0a050842d91dc64678518c425b1e2a3451

https://gitlab.gnome.org/GNOME/gupnp/-/blob/gupnp-1.3.0/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gssdp: bump to version 1.3.0
Fabrice Fontaine [Tue, 27 Jul 2021 12:05:35 +0000 (14:05 +0200)]
package/gssdp: bump to version 1.3.0

Update license to LGPL-2.1+:
https://gitlab.gnome.org/GNOME/gssdp/-/commit/b018ff574f482a178f0c8515faf32962da70396a

https://gitlab.gnome.org/GNOME/gssdp/-/blob/gssdp-1.3.0/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/vsftpd: bump to version 3.0.4
Fabrice Fontaine [Tue, 27 Jul 2021 11:25:43 +0000 (13:25 +0200)]
package/vsftpd: bump to version 3.0.4

https://security.appspot.com/vsftpd/Changelog.txt

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/boinc: bump to version 7.16.18
Fabrice Fontaine [Tue, 27 Jul 2021 11:22:50 +0000 (13:22 +0200)]
package/boinc: bump to version 7.16.18

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/minizip: bump to version 3.0.2
Fabrice Fontaine [Tue, 27 Jul 2021 10:31:16 +0000 (12:31 +0200)]
package/minizip: bump to version 3.0.2

https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.0
https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.1
https://github.com/zlib-ng/minizip-ng/releases/tag/3.0.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/mutt: bump to version 2.1.1
Fabrice Fontaine [Tue, 27 Jul 2021 10:22:46 +0000 (12:22 +0200)]
package/mutt: bump to version 2.1.1

https://gitlab.com/muttmua/mutt/-/blob/mutt-2-1-1-rel/ChangeLog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>