buildroot.git
4 years agopackage/python-web2py: python-pydal is only a runtime dependency
Thomas Petazzoni [Thu, 18 Jun 2020 21:26:48 +0000 (23:26 +0200)]
package/python-web2py: python-pydal is only a runtime dependency

While host-python-pydal is needed at build time, the target variant of
this package is only needed at runtime.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-yatl: new package
Fabrice Fontaine [Thu, 11 Jun 2020 20:56:06 +0000 (22:56 +0200)]
package/python-yatl: new package

License is BSD-3-Clause as stated in upstream LICENSE.txt:
https://github.com/web2py/yatl/blob/master/LICENSE.txt

An issue was opened to add LICENSE.txt in pypi tarballs:
https://github.com/web2py/yatl/issues/21

Add host variant as it will be needed for python-web2py

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fastd: bump to v19
Alexander Dahl [Thu, 11 Jun 2020 19:25:04 +0000 (21:25 +0200)]
package/fastd: bump to v19

Maintenance release, most important is OpenSSL 1.1+ support. See full
release notes for details:

https://fastd.readthedocs.io/en/stable/releases/v19.html

Two patches went upstream.  The last remaining patch was not touched,
LTO might not work as expected, but upstream dropped CMake in favour
of the meson build system after v19, so it seemed not worth the
effort.

The hash of the license file is updated due to a copyright year
change.

Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/inotify-tools: bump to version 3.20.2.2
Baruch Siach [Thu, 11 Jun 2020 12:44:04 +0000 (15:44 +0300)]
package/inotify-tools: bump to version 3.20.2.2

Use upstream provided tarball. Drop autoreconf.

Update homepage URL. The old URL redirects to the new one.

Format hash file with two spaces delimiters.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/empty: bump to version 0.6.21b
Baruch Siach [Thu, 11 Jun 2020 12:13:45 +0000 (15:13 +0300)]
package/empty: bump to version 0.6.21b

Tarball is now without a leading directory component. Don't strip
leading patch component.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcamera: add v4l2 compatibility layer option
Peter Seiderer [Tue, 16 Jun 2020 18:59:51 +0000 (20:59 +0200)]
package/libcamera: add v4l2 compatibility layer option

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMake: simplify locales whitelisting
Yann E. MORIN [Mon, 15 Jun 2020 11:16:43 +0000 (13:16 +0200)]
Make: simplify locales whitelisting

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sngrep: bump to version 1.4.7
Adam Duskett [Sun, 14 Jun 2020 21:38:24 +0000 (14:38 -0700)]
package/sngrep: bump to version 1.4.7

Other changes:
  - Remove upstream patch

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcpprestsdk: bump to version 2.10.16
Adam Duskett [Sun, 14 Jun 2020 21:30:40 +0000 (14:30 -0700)]
package/libcpprestsdk: bump to version 2.10.16

Other changes:
  - Remove upstream patch

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/janus-gateway: add systemd socket support
Adam Duskett [Sun, 14 Jun 2020 21:19:13 +0000 (14:19 -0700)]
package/janus-gateway: add systemd socket support

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

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/janus-gateway: bump to version 0.10.1
Adam Duskett [Sun, 14 Jun 2020 21:19:12 +0000 (14:19 -0700)]
package/janus-gateway: bump to version 0.10.1

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xvkbd: bump to version 4.1
Fabrice Fontaine [Sun, 14 Jun 2020 20:52:31 +0000 (22:52 +0200)]
package/xvkbd: bump to version 4.1

- Drop patch (already in version) and so autoreconf
- Update hash of README (update in year, version, miscellaneous
  information)
- Update indentaton in 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/python3: bump version to 3.8.3
Adam Duskett [Sun, 14 Jun 2020 20:23:46 +0000 (13:23 -0700)]
package/python3: bump version to 3.8.3

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/icu: needs gcc >= 4.9 and host gcc >= 4.9
Fabrice Fontaine [Sun, 14 Jun 2020 20:13:49 +0000 (22:13 +0200)]
package/icu: needs gcc >= 4.9 and host gcc >= 4.9

icu uses std::max_align_t since version 67-1 and
https://github.com/unicode-org/icu/commit/a3078fb8c89b61c35ccebb04cf6b189bc81093b3

This raises the following build failure with gcc 4.8:

utext.cpp:572:5: error: 'max_align_t' in namespace 'std' does not name a type
     std::max_align_t    extension;
     ^

This build failure is due to GCC bug 56019:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56019

Instead of adding BR2_TOOLCHAIN_HAS_GCC_BUG_56019, just bumps gcc
dependency from 4.8 to 4.9

As this issue also affects host-icu, add a host gcc >= 4.9 dependency

Fixes:
 - http://autobuild.buildroot.org/results/6d2658a3c165c99df3eae87b2970e738bd386245
 - http://autobuild.buildroot.org/results/d204f1a528765d1440620a1eed8c29cbb5ec93c3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/minizip: fix static build of demos with openssl
Fabrice Fontaine [Sun, 14 Jun 2020 16:49:25 +0000 (18:49 +0200)]
package/minizip: fix static build of demos with openssl

Fixes:
 - http://autobuild.buildroot.org/results/2f11b237a3577df55bc1ee139ed4d51f3ee4e08d
 - http://autobuild.buildroot.org/results/b54b625751a45d3b449fffcdfaa06fb9209b4652

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

granite fails to build since bump to vala 0.46.6 in commit
2723ff3333f4f31a06628692bb644552681f8226:

make[3]: Leaving directory '/tmp/instance-0/output-1/build/granite-0.4.1'
[  1%] Generating style-classes.c;Application.c;Drawing/Color.c;Drawing/BufferSurface.c;Drawing/Utilities.c;GtkPatch/AboutDialog.c;Services/Settings.c;Services/Logger.c;Services/Paths.c;Services/System.c;Services/Contractor.c;Services/ContractorProxy.c;Services/IconFactory.c;Services/SimpleCommand.c;Widgets/AlertView.c;Widgets/Avatar.c;Widgets/Utils.c;Widgets/WrapLabel.c;Widgets/AboutDialog.c;Widgets/ModeButton.c;Widgets/DatePicker.c;Widgets/Entries.c;Widgets/TimePicker.c;Widgets/CollapsiblePaned.c;Widgets/StaticNotebook.c;Widgets/DynamicNotebook.c;Widgets/CompositedWindow.c;Widgets/AppMenu.c;Widgets/Welcome.c;Widgets/WelcomeButton.c;Widgets/Toast.c;Widgets/ToolButtonWithMenu.c;Widgets/PopOver.c;Widgets/ContractorView.c;Widgets/ContractorMenu.c;Widgets/DecoratedWindow.c;Widgets/LightWindow.c;Widgets/StatusBar.c;Widgets/SidebarPaned.c;Widgets/StorageBar.c;Widgets/SourceList.c;Widgets/CellRendererExpander.c;Widgets/CellRendererBadge.c;Widgets/ThinPaned.c;Widgets/OverlayBar.c;gr
 anite.vapi;granite.h
make[3]: Entering directory '/tmp/instance-0/output-1/build/granite-0.4.1'
/tmp/instance-0/output-1/build/granite-0.4.1/lib/Application.vala:145.9-145.26: error: Creation method of abstract class cannot be public.
        public Application () {
        ^^^^^^^^^^^^^^^^^^

So bump granite to latest version to include the following commit (that
does not apply cleanly on current version):
https://github.com/elementary/granite/commit/fd26013c84afdeb6300ae2f4a574856753fc2b58

Moreover:
- Switch site to github to get latest release
- Switch to meson-package
- Add gobject-introspection optional dependency

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcamera: bump version to 96fab38
Peter Seiderer [Tue, 16 Jun 2020 18:59:50 +0000 (20:59 +0200)]
package/libcamera: bump version to 96fab38

- add host dependencies: openssl, pkgconf, python3-pyyaml
- add dependencies: gnutls
- changed from mandatory to optional dependency: udev
- add dedicated pipeline configure options
- add optional dependencies: boost, gstreamer1/gst1-plugins-base,
  qt5base, tiff
- update license info (Apache-2.0 omitted - applies only for android code)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
[yann.morin.1998@free.fr:
  - simplify the qt5-widgets and qt5tools-linguist conditions
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/open-plc-utils: bump to version 32408520fcebe785983a68e39ec83830a3005779
Adam Duskett [Wed, 17 Jun 2020 22:21:58 +0000 (15:21 -0700)]
package/open-plc-utils: bump to version 32408520fcebe785983a68e39ec83830a3005779

Other changes:
  - Update 0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch to apply
    properly with the udpated version.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/iperf3: bump to version 3.8.1
Baruch Siach [Fri, 12 Jun 2020 05:32:21 +0000 (08:32 +0300)]
package/iperf3: bump to version 3.8.1

Don't pass --disable-profiling, profiling is now disabled by default,
and in fact due to a bug in the configure.ac script, passing
--disable-profiling enables profiling.

Update LICENSE hash; copyright year update.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing: add python-gpiozero test
Peter Seiderer [Sat, 13 Jun 2020 19:20:34 +0000 (21:20 +0200)]
support/testing: add python-gpiozero test

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-gpiozero: new package
Peter Seiderer [Sat, 13 Jun 2020 19:20:33 +0000 (21:20 +0200)]
package/python-gpiozero: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing: add python-colorzero test
Peter Seiderer [Sat, 13 Jun 2020 19:20:32 +0000 (21:20 +0200)]
support/testing: add python-colorzero test

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-colorzero: new package
Peter Seiderer [Sat, 13 Jun 2020 19:20:31 +0000 (21:20 +0200)]
package/python-colorzero: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/open-plc-utils: install packages to /usr/bin
Adam Duskett [Wed, 17 Jun 2020 22:21:59 +0000 (15:21 -0700)]
package/open-plc-utils: install packages to /usr/bin

By default, open-plc-utils installs all of the compiled binaries to
/usr/local/bin which is not in the default path provided by Buildroot.

Passing BIN="$(TARGET_DIR)/usr/bin" to make install forces open-plc-utils to
install the compiled binaries to /usr/bin.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openjdk: fix building against gcc10
Adam Duskett [Thu, 18 Jun 2020 17:49:55 +0000 (10:49 -0700)]
package/openjdk: fix building against gcc10

GCC10 set's the -fno-common flag by default which causes OpenJDK to fail when
compiling.

Because there is no easy way to create a patch from the OpenJDK mercurial
repository, this patch was created by hand from the three commits listed in
the provided patch itself.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/glibc: remove outdated cvs configure option
Romain Naour [Thu, 18 Jun 2020 16:17:34 +0000 (18:17 +0200)]
package/glibc: remove outdated cvs configure option

--without-cvs has been removed from glibc tree since glibc 2.15 [1]

[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=92963737c4376bcfd65235d5c325fa7f48302f89

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 0.30.0
Bernd Kuhls [Mon, 15 Jun 2020 18:02:12 +0000 (20:02 +0200)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.30.0

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xapp_twm: bump version to 1.0.11
Bernd Kuhls [Mon, 15 Jun 2020 18:01:27 +0000 (20:01 +0200)]
package/x11r7/xapp_twm: bump version to 1.0.11

Follow upstream-switch to .xz tarball, reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xkeyboard-config: bump version to 2.30
Bernd Kuhls [Mon, 15 Jun 2020 17:54:19 +0000 (19:54 +0200)]
package/x11r7/xkeyboard-config: bump version to 2.30

Removed patch which was committed upstream, updated project URL,
reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libva-intel-driver: bump version to 2.4.1
Bernd Kuhls [Mon, 15 Jun 2020 17:47:18 +0000 (19:47 +0200)]
package/libva-intel-driver: bump version to 2.4.1

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/liteboard: bump to kernel 5.7.2
Bartosz Bilas [Mon, 15 Jun 2020 16:19:39 +0000 (18:19 +0200)]
configs/liteboard: bump to kernel 5.7.2

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/liteboard: bump U-Boot to 2020.04
Bartosz Bilas [Mon, 15 Jun 2020 16:19:38 +0000 (18:19 +0200)]
configs/liteboard: bump U-Boot to 2020.04

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/paho-mqtt-c: bump to version 1.3.4
Titouan Christophe [Mon, 15 Jun 2020 16:09:52 +0000 (18:09 +0200)]
package/paho-mqtt-c: bump to version 1.3.4

This is a crucial bugfix release that fixes a backward incompatible ABI
change introduced in 1.3.2.

Also drop patches that are now applied upstream.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openjdk-bin: install to host/usr/lib/jvm
Adam Duskett [Wed, 17 Jun 2020 21:55:20 +0000 (14:55 -0700)]
package/openjdk-bin: install to host/usr/lib/jvm

Buildroot currently installs openjdk-bin to $(HOST_DIR)/ instead of the more
traditional (for java installations) $(HOST_DIR)/usr/lib/jvm.

As described in https://bugs.busybox.net/show_bug.cgi?id=13001

"Openjdk-bin provides it's own libfreetype.so and places it into
$(HOST_DIR)/lib/. This library causes build failures with the
host-xapp_mkfontscale package due to the overwritten libfreetype.so.

mkfontscale.o: In function `doDirectory':
mkfontscale.c:(.text+0x1a80): undefined reference to `FT_Get_BDF_Property'
collect2: error: ld returned 1 exit status

Reproducing the error is done by repeating the following steps.
make host-freetype
make host-openjdk-bin
make host-xapp_mkfontscale"

There are two options for fixing this problem:

 1) add host-freetype and host-lksctp-tools as dependencies to host-openjdk-bin
    and then remove the provided libfreetype.so and libsctp.so libraries
    in a post_extract_hook.

 2) change the installation directory from $(HOST_DIR)/ to
    $(HOST_DIR)/usr/lib/jvm just like the target OpenJDK package and
    copy the entire source directories contents to the above location.

The second option provides the following advantages:
  - the directory structure is consistent with how we handle the target OpenJDK.

  - the HOST_OPENJDK_BIN_INSTALL_CMDS step is simplified.

  - packages such as Maven require directories of which we are currently not
    copying. These missing directories cause programs such as Maven to crash
    when running with an error such as
    "Can't read cryptographic policy directory: unlimited."

  - does not miss any other libraries that solution 1 would not cope with
    (e.g. libzip.so from host-libzip, or libnet.so from not-yet existing
    host-libnet, or libsctp.so from not-yet existing host-lksctp-tools)

Because the second option is both simple, easier to implement, is low-impact,
and fixes the problems described above wholly, it is the best to implement.

To implement the above changes, we must also modify the following files in the
same patch to match the host's new directory paths:

 - openjdk.mk
 - openjdk-jni-test.mk
 - openjdk-hello-world.mk

To avoid having to change all those packages in the future, expose two
new variables, HOST_OPENJDK_BIN_ROOT_DIR which contains the path where
the openjdk-bin was installed in, and JAVAC, which contains the path to
the javac compiler (modeled after the way the autoconf et al. variables
are set and exposed).

Tested with:
./support/testing/run-tests -o out -d dl tests.package.test_openjdk.TestOpenJdk

Fixes: https://bugs.busybox.net/show_bug.cgi?id=13001
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - introduce HOST_OPENJDK_BIN_ROOT_DIR and JAVAC
  - expand and tweak the commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-python.mk: fixup typo, PYTHON#_PATH --> PHYON3_PATH
Yi Zheng [Thu, 18 Jun 2020 04:55:44 +0000 (12:55 +0800)]
package/pkg-python.mk: fixup typo, PYTHON#_PATH --> PHYON3_PATH

Signed-off-by: Brock.Zheng <goodmenzy@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agofs: squashfs: Add config option to pass nopad parameter to mksquashfs
Christoph Muellner [Sun, 14 Jun 2020 22:41:43 +0000 (00:41 +0200)]
fs: squashfs: Add config option to pass nopad parameter to mksquashfs

Add an option to enable/disable padding to a multiple of 4k. Padding is
the default as it also was the past default behaviour.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/imx-usb-loader: bump version to 30b43d6
Sébastien Szymanski [Mon, 15 Jun 2020 13:37:35 +0000 (15:37 +0200)]
package/imx-usb-loader: bump version to 30b43d6

Bump version to get i.MX8M Nano support.

Changes sinces 4aa9809:

  30b43d6 (HEAD -> master, origin/master, origin/HEAD) Fix MinGW Build (#114)
  25d6c0d mx8m_usb_sdp_spl: create generic sdp spl config for all imx8m
  dc0fb26 mx8mn_usb_sdp_spl.conf: initial addition
  f009770 imx_sdp: don't try to load hdmi firmware
  c5c4d28 add SPDS protocol support, imx8mn(nano)
  15dbbd7 tests: add pid 0x1001
  353791c tests: add pids 0x0134/0x1000
  06fb581 tests: pid=0x0080 is for mx6ull
  6b07a0a mx8mm_usb_sdp_spl.conf/ mx8mm_usb_work.conf: s/imx-mkimage/u-boot-imx6/
  b00b0e2 mx8mq_usb_work.conf: load flash.bin from u-boot-imx6 directory
  bda7ab6 add mx8mq_usb_sdp_spl.conf
  7984efc Moving libusb_free_device_list to get imx_usb to work on Windows.
  29fa8ab imx_usb: use device found by find_imx_device
  abe7f5d add support for relocatable installs
  3d36c83 Fixed build for Visual Studio 2015 Express.
  fe50624 imx_usb.config: add mx8mm_usb_sdp_spl.conf/mx8mm_usb_work.conf lines
  f7752f4 mx8mq_usb_work.conf: use bl31-iMX8MQ-2g.bin to match branch boundary-imx_4.9.123_imx8mm_ga of imx-mkimage
  8c9eee7 add mx8mm config files

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freetype: bump version to 2.10.2
Bernd Kuhls [Mon, 15 Jun 2020 18:17:53 +0000 (20:17 +0200)]
package/freetype: bump version to 2.10.2

Release notes:
https://sourceforge.net/projects/freetype/files/freetype2/2.10.2/

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/jsoncpp: bump version to 1.9.3
Bernd Kuhls [Mon, 15 Jun 2020 18:13:02 +0000 (20:13 +0200)]
package/jsoncpp: bump version to 1.9.3

Removed patch which was committed upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fetchmail: bump version to 6.4.8
Bernd Kuhls [Mon, 15 Jun 2020 18:07:22 +0000 (20:07 +0200)]
package/fetchmail: bump version to 6.4.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosuport/download: fix git wrapper with submodules on older git versions
Yann E. MORIN [Sun, 24 May 2020 10:30:48 +0000 (12:30 +0200)]
suport/download: fix git wrapper with submodules on older git versions

Older versions of git store the absolute path of the submodules'
repository as stored in the super-project, e.g.:

    $ cat some-submodule/.git
    gitdir: /path/to/super-project/.git/modules/some-submodule

Obviously, this is not very reproducible.

More recent versions of git, however, store relative paths, which
de-facto makes it reproducible.

Fix older versions by replacing the absolute paths with relative ones.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/uftp: bump to version 5.0
Asaf Kahlon [Mon, 15 Jun 2020 18:46:31 +0000 (21:46 +0300)]
package/uftp: bump to version 5.0

And use two spaces for hash file indentation.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/spdlog: bump to version 1.6.1
Asaf Kahlon [Mon, 15 Jun 2020 18:46:30 +0000 (21:46 +0300)]
package/spdlog: bump to version 1.6.1

License was updated with little rephrasings, typo fixes,
and a note about using fmt as a third party library under the
MIT license.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyzmq: bump to version 19.0.1
Asaf Kahlon [Mon, 15 Jun 2020 18:46:29 +0000 (21:46 +0300)]
package/python-pyzmq: bump to version 19.0.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-lxml: bump to version 4.5.1
Asaf Kahlon [Mon, 15 Jun 2020 18:46:28 +0000 (21:46 +0300)]
package/python-lxml: bump to version 4.5.1

The options --with-xslt-config and --with-xml2-config were
renamed to --xslt-config and --xml2-config", respectively.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-bitstring: bump to version 3.1.7
Asaf Kahlon [Mon, 15 Jun 2020 18:46:27 +0000 (21:46 +0300)]
package/python-bitstring: bump to version 3.1.7

* License was changed from UNIX to Windows line endings.
* SETUP_TYPE is actually distutils, and not setuptools.
* Use two spaces for hash file indentation.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libfuse3: bump to version 3.9.2
Asaf Kahlon [Mon, 15 Jun 2020 18:46:25 +0000 (21:46 +0300)]
package/libfuse3: bump to version 3.9.2

Remove patch (applied upstream).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{libuv,uvw}: bump to versions 1.38.0, 2.6.0_libuv-v1.38
Asaf Kahlon [Mon, 15 Jun 2020 18:46:26 +0000 (21:46 +0300)]
package/{libuv,uvw}: bump to versions 1.38.0, 2.6.0_libuv-v1.38

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ttyd: new package
Bartosz Bilas [Tue, 16 Jun 2020 17:19:01 +0000 (19:19 +0200)]
package/ttyd: new package

ttyd is a simple command-line tool for sharing terminal over the web.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: fixup RPATH for more systemd host binaries
Norbert Lange [Mon, 15 Jun 2020 22:28:55 +0000 (00:28 +0200)]
package/systemd: fixup RPATH for more systemd host binaries

All systemd binaries depend on libsystemd-shared and need their RPATH
fixed. Use a glob to catch them all.

We can't use $(wildcard ...) because this is expanded before any file
may exist (it's in the same rule that install those file, and the
expansion in Makefile is done once at the beginning of the recipe).

We need to test each file:
 1. to ignore files that were not build (e.g. because the host is
    missing some dependencies (in which case we don't care; we're only
    interested in systemctl, and that one is already built)
 2. to ensure the glob was expanded (in case no file would match
    systemd-*)

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr:
  - don't use 'set -e', use the more traditional '|| eixt 1'
  - don't cd into HOST_DIR/bin, but use $(addprefix ...)
  - use positive logic in the test
  - expand commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/vpnc: use github release
Fabrice Fontaine [Wed, 17 Jun 2020 20:20:56 +0000 (22:20 +0200)]
package/vpnc: use github release

Use github release instead of commit hash so the package will be set as
"up-to-date" in http://autobuild.buildroot.org/stats

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/glib-networking: bump to version 2.64.3
Fabrice Fontaine [Wed, 17 Jun 2020 20:04:48 +0000 (22:04 +0200)]
package/glib-networking: bump to version 2.64.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: fix build with old PPC ABI
Joseph Kogut [Wed, 17 Jun 2020 20:02:51 +0000 (13:02 -0700)]
package/libnss: fix build with old PPC ABI

Fixes:
http://autobuild.buildroot.net/results/bdbd33c7a764931b2066dd8b527dde2f5dc298b4
http://autobuild.buildroot.net/results/61bf50f73bb79e85c22e663f5fc22f4b9ccc0d3b
http://autobuild.buildroot.net/results/4437942a528ab8f782d3b97595e76bb690d3a409

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/json-for-modern-cpp: bump to version 3.8.0
Adam Duskett [Mon, 15 Jun 2020 22:14:47 +0000 (15:14 -0700)]
package/json-for-modern-cpp: bump to version 3.8.0

Other changes:
  - Update the hash for LICENSE.MIT due to a year change.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tinydtls: security bump to version 0.9-rc1
Fabrice Fontaine [Mon, 15 Jun 2020 20:31:50 +0000 (22:31 +0200)]
package/tinydtls: security bump to version 0.9-rc1

- Switch site to github
- License is now EPL-1.0 or EDL-1.0 as specified in the new LICENSE file
- Update indentation of hash file (two spaces)
- Drop first patch (already in version) and second patch (not needed since
  https://github.com/eclipse/tinydtls/commit/f1ff324a4d1cc14dc6e1c3a88ea16f0242e106de)
- Fix CVE-2017-7243 as specified in
  https://github.com/eclipse/tinydtls/issues/12 as well as other
  security issues:
  https://github.com/eclipse/tinydtls/commit/68a1cdaff9e329e13ea59529f1eb61b05632c297
  https://github.com/eclipse/tinydtls/commit/494a40dfbb174930ca616e560532d52549736b42
  https://github.com/eclipse/tinydtls/commit/2d9f0a82377277af1be8d559d18e30477d63e8ec

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openjdk: install header files to staging
Adam Duskett [Tue, 16 Jun 2020 00:12:43 +0000 (17:12 -0700)]
package/openjdk: install header files to staging

These files are necessary for C or C++ programs to use the native java
interface (JNI.)

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tcpreplay: security bump to version 4.3.3
Fabrice Fontaine [Wed, 17 Jun 2020 19:56:54 +0000 (21:56 +0200)]
package/tcpreplay: security bump to version 4.3.3

- Fix CVE-2020-12740: tcprewrite in Tcpreplay through 4.3.2 has a
  heap-based buffer over-read during a get_c operation. The issue is
  being triggered in the function get_ipv6_next() at common/get.c.
- Update indentation in 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/iproute2: bump to version 5.7.0
Petr Vorel [Tue, 16 Jun 2020 16:25:39 +0000 (18:25 +0200)]
package/iproute2: bump to version 5.7.0

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iwd: add sysv init script
Peter Seiderer [Tue, 16 Jun 2020 06:34:31 +0000 (08:34 +0200)]
package/iwd: add sysv init script

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iwd: add basic configuration file
Peter Seiderer [Tue, 16 Jun 2020 06:34:30 +0000 (08:34 +0200)]
package/iwd: add basic configuration file

Add basic /etc/iwd/main.conf configuration file to enable
network configuration (use built-in dhcp client).

For the non systemd-resolved case select the openresolv package
to fulfill the iwd resolvconf requirement (and adjust the
configuration file accordingly).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo175: bump kernel version
Lubomir Rintel [Wed, 17 Jun 2020 10:49:25 +0000 (12:49 +0200)]
configs/olpc_xo175: bump kernel version

Update kernel to version 5.7.1.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo1: bump kernel version
Lubomir Rintel [Wed, 17 Jun 2020 10:49:24 +0000 (12:49 +0200)]
configs/olpc_xo1: bump kernel version

Update kernel to version 5.7.1.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: document flashing the JFFS2 image
Lubomir Rintel [Wed, 17 Jun 2020 10:49:23 +0000 (12:49 +0200)]
board/olpc: document flashing the JFFS2 image

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: move the paragraph on firmware up in the readme
Lubomir Rintel [Wed, 17 Jun 2020 10:49:22 +0000 (12:49 +0200)]
board/olpc: move the paragraph on firmware up in the readme

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo1: enable JFFS2 image
Lubomir Rintel [Wed, 17 Jun 2020 10:49:21 +0000 (12:49 +0200)]
configs/olpc_xo1: enable JFFS2 image

The machine has a NAND flash device and firmware capable of loading the
OS from a JFFS2 file system on it. Enable creation of JFFS2 image that
can be written to said flash device.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: set JFFS2 root when booting from a MTD
Lubomir Rintel [Wed, 17 Jun 2020 10:49:20 +0000 (12:49 +0200)]
board/olpc: set JFFS2 root when booting from a MTD

This makes the boot script set appropriate root parameters when it's
loaded from a NAND flash device.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc/xo-1: drop garbage from kernel config
Lubomir Rintel [Wed, 17 Jun 2020 10:49:19 +0000 (12:49 +0200)]
board/olpc/xo-1: drop garbage from kernel config

These are unnecessary in a defconfig.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc/xo-1: enable ACPI
Lubomir Rintel [Wed, 17 Jun 2020 10:49:18 +0000 (12:49 +0200)]
board/olpc/xo-1: enable ACPI

The DCON drivers depends on it.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc/xo-1: enable STAGING
Lubomir Rintel [Wed, 17 Jun 2020 10:49:17 +0000 (12:49 +0200)]
board/olpc/xo-1: enable STAGING

The DCON driver for the platform is a staging driver.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc/xo-1: enable JFFS2
Lubomir Rintel [Wed, 17 Jun 2020 10:49:16 +0000 (12:49 +0200)]
board/olpc/xo-1: enable JFFS2

The XO-1 laptop has a NAND flash and firmware capable of reading JFFS2
from it. Enable JFFS2 kernel support so that we'll be able to create
images capable of booting from the internal flash.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: enable dependencies of options we use
Lubomir Rintel [Wed, 17 Jun 2020 10:49:15 +0000 (12:49 +0200)]
board/olpc: enable dependencies of options we use

A couple of config symbols were mising that things we enable depend on.
Enable them.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: move LIS3_SPI to XO-1.75
Lubomir Rintel [Wed, 17 Jun 2020 10:49:14 +0000 (12:49 +0200)]
board/olpc: move LIS3_SPI to XO-1.75

It's only present on ARM OLPC laptops.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: move GPIO_SYSFS to common config
Lubomir Rintel [Wed, 17 Jun 2020 10:49:13 +0000 (12:49 +0200)]
board/olpc: move GPIO_SYSFS to common config

It's not specific to XO-1.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: move the SDHCI drivers to appropriate board configs
Lubomir Rintel [Wed, 17 Jun 2020 10:49:12 +0000 (12:49 +0200)]
board/olpc: move the SDHCI drivers to appropriate board configs

Platform driver on XO-1.75, PCI on XO-1.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: move BACKLIGHT_CLASS_DEVICE up to common config
Lubomir Rintel [Wed, 17 Jun 2020 10:49:11 +0000 (12:49 +0200)]
board/olpc: move BACKLIGHT_CLASS_DEVICE up to common config

Both machines need it.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: move SERIO_OLPC_APSP to XO-1.75
Lubomir Rintel [Wed, 17 Jun 2020 10:49:10 +0000 (12:49 +0200)]
board/olpc: move SERIO_OLPC_APSP to XO-1.75

This is the keyboard connected via the SP "security processor" on a
XO-1.75. XO-1 has a regular PC keyboard.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc: move MTD symbols up to the common config
Lubomir Rintel [Wed, 17 Jun 2020 10:49:09 +0000 (12:49 +0200)]
board/olpc: move MTD symbols up to the common config

XO-1 has an internal MTD device.

Also, CONFIG_MTD_SPI_NOR was set twice for XO-1.75. One copy is removed,
one remains.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/vlc: security bump version to 3.0.11
Bernd Kuhls [Wed, 17 Jun 2020 17:54:10 +0000 (19:54 +0200)]
package/vlc: security bump version to 3.0.11

Fixes CVE-2020-13428: https://www.videolan.org/security/sb-vlc3011.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mjpg-streamer: bump to version 5a6e0a2db163e6ae9461552b59079870d0959340
James Hilliard [Sat, 6 Jun 2020 23:37:39 +0000 (17:37 -0600)]
package/mjpg-streamer: bump to version 5a6e0a2db163e6ae9461552b59079870d0959340

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/v4l2loopback: bump to version 0.12.5
James Hilliard [Sat, 6 Jun 2020 23:45:39 +0000 (17:45 -0600)]
package/v4l2loopback: bump to version 0.12.5

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gsettings-desktop-schemas: bump to version 3.36.1
Fabrice Fontaine [Sun, 7 Jun 2020 07:16:28 +0000 (09:16 +0200)]
package/gsettings-desktop-schemas: bump to version 3.36.1

Update indentation in hash fle (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/eigen: use cmake-package infra
Julien Olivain [Mon, 15 Jun 2020 18:49:11 +0000 (20:49 +0200)]
package/eigen: use cmake-package infra

The eigen package was introduced as a generic package, but upstream was
in fact using CMake.

The motivation of this change is to fix package detection with CMake.

Eigen3 library normally installs a signature file named
"signature_of_eigen3_matrix_library" to help library detection:
https://gitlab.com/libeigen/eigen/-/blob/3.3.7/CMakeLists.txt#L423

The library also provide a CMake macro that use this file to
detect it:
https://gitlab.com/libeigen/eigen/-/blob/3.3.7/cmake/FindEigen3.cmake#L76

Without the signature file installed, packages searching for this
library with this method will fail. Other packages usings pkg-config are
not affected by this issue.

By using the cmake-package infrastructure, all the needed files
are now installed, fixing this CMake detection issue.

Other changes in this patch:
- Updated the Eigen git repository to the new url:
  https://gitlab.com/libeigen/eigen
- Removed all build and install staging commands
  (now included in upstream cmake)
- Package needs EIGEN_SUPPORTS_IN_SOURCE_BUILD = NO
- Removed the BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES option,
  as this option is not proposed by the upstream CMake.
  Unsupported module header files are now unconditionally installed. As
  such, no need to introduce a legacy entry for
  BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES: users that had it enabled will
  still get the files installed, while those that did not will get them
  installed now.
- Updated hash for source package, because the first component in the
  stored paths changed from eigen-eigen-323c052e1731/ to eigen-3.3.7/
  and some mercurial related files (.hg_archival.txt, .hgtags) got
  dropped after the conversion to git.
- Reformat hash file with two spaces delimiters
- Define EIGEN_CONF_OPTS to set pkg-config .pc install path

Signed-off-by: Julien Olivain <juju@cotds.org>
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-python: use a shell expansion for sysconfigdata_name
Adam Duskett [Fri, 5 Jun 2020 20:59:20 +0000 (13:59 -0700)]
package/pkg-python: use a shell expansion for sysconfigdata_name

Currently, GNU Make expands the Python SYSCONFIGDATA_NAME variable;
however, when building with per-package directories, this variable is
not set because the evaluation of this variable occurs before buildroot
creates the per-package directories of a given package.

This can be easily demonstrated with that trivial Makefile:

    $ cat Makefile
    BLA = $(wildcard bla)
    all:
        @echo 'BLA=$(BLA)'
        @touch bla
        @echo 'BLA=$(BLA)'

    $ make
    BLA=
    BLA=

    $ make
    BLA=bla
    BLA=bla

I.e. the variables are evaluated at the beginning of a recipe, not for
each line of the recipe.

There are two solutions to fix this problem:

  - add a step between "patch" and "configure," which would evaluate all
    of the variables after creating the per-package directories;

  - evaluate SYSCONFIGDATA_NAME via a shell expansion instead of
    Makefile, to postpone the effective ex[ansion to until after the
    file has been created.

Even though the first option is semantically the best solution, this is
also very intrusive, especially since python3 is so far the only case
where we would need it. The second option however is more expedient, adn
so this is what we're doing here.

We introduce PKG_PYTHON_SYSCONFIGDATA_PATH to avoid duplication and to
make the following line easier to read.

Then PKG_PYTHON_SYSCONFIGDATA_NAME is actually defined as a back-tick
shell expansion (although back-ticks have their drawbacks, using $(...)
in Makefile is not trivial either):

  - we test that the file does exist, to cover the python2 and python3
    cases: with python2, the file does not exist, so we want to expand
    to an empty string; 'basename' only works on the filename, and does
    not check the file actually exists;

  - if the file exist, we get its basename without the .py extension,
    and this makes our expansion;

  - the "|| true" is added to ensure the old behavior of returning an
    empty string if the file does not exist still works, when the
    expansion is attempted in a shell where 'set -e' is in effect (the
    test would fail with python2, but this is not an error).

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12941
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr: slight rewording in commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopkg-python.mk: use PYTHON3_PATH instead of duplicating its value
Asaf Kahlon [Mon, 15 Jun 2020 18:46:32 +0000 (21:46 +0300)]
pkg-python.mk: use PYTHON3_PATH instead of duplicating its value

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/readline: update homepage link
Baruch Siach [Mon, 15 Jun 2020 09:47:47 +0000 (12:47 +0300)]
package/readline: update homepage link

The old link is dead since 2017.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: sync user comments to upstream
Norbert Lange [Mon, 15 Jun 2020 07:20:45 +0000 (09:20 +0200)]
package/systemd: sync user comments to upstream

The necessary system users are documented in the projects README.

Description is matched to the ones in the upstream sysusers.d
files. Remove homedirectory (upstream doesnt care either).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: create "remote" user if the feature is enabled
Norbert Lange [Mon, 15 Jun 2020 07:20:43 +0000 (09:20 +0200)]
package/systemd: create "remote" user if the feature is enabled

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: remove unused user accounts
Norbert Lange [Mon, 15 Jun 2020 07:20:42 +0000 (09:20 +0200)]
package/systemd: remove unused user accounts

Since V235 the "gateway" and "upload" services use DynamicUsers,
requiring no entries in /etc/passwd.
This functionality requires nss-systemd, which is always
enabled in buildroot.

The "bus-proxy" user was removed in V230.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/orangepi_zero_defconfig: use python 3.x
Sergey Matyukevich [Mon, 15 Jun 2020 07:59:47 +0000 (10:59 +0300)]
configs/orangepi_zero_defconfig: use python 3.x

Orange Pi Zero defconfig has been updated to use U-Boot 2020.04 by
commit 9e2bfccf4da8 (configs/orangepi_zero: bump kernel and uboot
versions). Since then it requires Python 3.x on the host.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/593313572

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agocore/br2-external: report better error messages
Yann E. MORIN [Fri, 22 May 2020 21:39:05 +0000 (23:39 +0200)]
core/br2-external: report better error messages

The error is misleading: it reports that no name was provided,
when in fact the external.desc file is missing.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>p
Reviewed-by: Romain Naour <romain.naour@gmail.com>
4 years agocore/br2-external: fix reporting errors
Yann E. MORIN [Fri, 22 May 2020 21:15:52 +0000 (23:15 +0200)]
core/br2-external: fix reporting errors

When a br2-external tree has an issue, e.g. a missing file, or does not
have a name, or the name uses invalid chars, we report that condition by
setting the variable BR2_EXTERNAL_ERROR.

That variable is defined in the script support/scripts/br2-external,
which outputs it on stdout, and checked by the Makefile.

Before d027cd75d09, stdout was explicitly redirected to the generated
.mk file, with   exec >"${ofile}"   as the Makefile and Kconfig
fragments were generated each with their own call to the script, and
the validation phase would emit the BR2_EXTERNAL_ERROR variable in the
Makefile fragment.

But with d027cd75d09, both the Makefile and Kconfig fragments were now
generated with a single call to the script, and as such the semantics of
the scripts changed, and only each of the actual generators, do_mk and
do_kconfig, had their out put redirected. Which left do_validate with
the default stdout. Which would emit BR2_EXTERNAL_ERROR on stdout.

In turn, the stdout of the script would be interpreted by as part of the
Makefile. But this does not end up very well when a br2-external tree
indeed has an error:

  - missing a external.desc file:

    Makefile:184: *** multiple target patterns.  Stop.

  - empty external.desc file:

    Config.in:22: can't open file "output/.br2-external.in.paths"

So we must redirect the output of the validation step to the
Makefile fragment, so that the error message is correctly caught by the
top-level Makefile.

Note that we don't need to append in do_mk, and we can do an overwrite
redirection: if we go so far as to call do_mk, it means there was no
error, and thus the fragment is empty.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
4 years agopackage/dbus: security bump to version 1.12.18
Fabrice Fontaine [Sun, 14 Jun 2020 19:44:01 +0000 (21:44 +0200)]
package/dbus: security bump to version 1.12.18

- Fix CVE-2020-12049: An issue was discovered in dbus >= 1.3.0 before
  1.12.18. The DBusServer in libdbus, as used in dbus-daemon, leaks file
  descriptors when a message exceeds the per-message file descriptor
  limit. A local attacker with access to the D-Bus system bus or another
  system service's private AF_UNIX socket could use this to make the
  system service reach its file descriptor limit, denying service to
  subsequent D-Bus clients.
- Also update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agotoolchain: adjust version check to allow for single numbers
Norbert Lange [Wed, 10 Jun 2020 23:53:12 +0000 (01:53 +0200)]
toolchain: adjust version check to allow for single numbers

A gcc compiler, which was configured with
--with-gcc-major-version-only, will only return a single
number. (debian does this for example).

A simple modification allows the check to work with both
single numbers (eg. '9') and full versions (eg. '9.2.1').

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/boost: drop first patch
Fabrice Fontaine [Sun, 14 Jun 2020 18:46:47 +0000 (20:46 +0200)]
package/boost: drop first patch

First patch is not needed since version 1.67.0 and
https://github.com/boostorg/locale/commit/90dd8146fbb01fd0a1b0473ad5a5d28644b65e87

Indeed, since this bump, the patch is wrongly patching
virtual string_type format(double value,size_t &code_points) const

instead of:
virtual string_type format(int64_t value,size_t &code_points) const

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/linux-pam: fix build on musl
Fabrice Fontaine [Sun, 14 Jun 2020 16:55:49 +0000 (18:55 +0200)]
package/linux-pam: fix build on musl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/linux-pam: fix build with uclibc
Fabrice Fontaine [Thu, 11 Jun 2020 11:28:20 +0000 (13:28 +0200)]
package/linux-pam: fix build with uclibc

Fixes:
 - http://autobuild.buildroot.org/results/92b3dd7c984d2b843ac9aacacd69eec99f28743e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/php: bump version to 7.4.7
Bernd Kuhls [Sat, 13 Jun 2020 08:32:14 +0000 (10:32 +0200)]
package/php: bump version to 7.4.7

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

Contrary to the release notification on the mailinglist
https://news-web.php.net/php.announce/287
which declares this release as "security bug fix release" no CVE IDs
could be found on the bugtracker entries mentioned in the Changelog.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libzip: bump to version 1.7.1
Pierre-Jean Texier [Sat, 13 Jun 2020 13:31:33 +0000 (15:31 +0200)]
package/libzip: bump to version 1.7.1

See https://github.com/nih-at/libzip/releases

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-platform: bump version
Bernd Kuhls [Sun, 14 Jun 2020 14:22:19 +0000 (16:22 +0200)]
package/kodi-platform: bump version

Sent patch upstream and added URL for reference.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pcsc-lite: bump to version 1.9.0
Fabrice Fontaine [Sun, 14 Jun 2020 15:45:57 +0000 (17:45 +0200)]
package/pcsc-lite: bump to version 1.9.0

ChangeLog:
- SCardEndTransaction(): greatly improve performances (x300)
- tokenparser: accept any Unicode character in a reader name
- Use /run instead of /var/run by default
- Fix a memory leak from a polkit call
- Some other minor improvements

Also update indentation in hash file (two spaces)

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