buildroot.git
5 years agopackage/libfm-extra: bump to version 1.3.1
Fabrice Fontaine [Thu, 8 Aug 2019 08:03:24 +0000 (10:03 +0200)]
package/libfm-extra: bump to version 1.3.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libfm: bump to version 1.3.1
Fabrice Fontaine [Thu, 8 Aug 2019 08:03:23 +0000 (10:03 +0200)]
package/libfm: bump to version 1.3.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pcmanfm: fix build with NLS
Fabrice Fontaine [Thu, 8 Aug 2019 08:03:22 +0000 (10:03 +0200)]
package/pcmanfm: fix build with NLS

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: only do reproducible builds with diffoscope
Thomas Petazzoni [Sun, 4 Aug 2019 09:13:19 +0000 (11:13 +0200)]
utils/genrandconfig: only do reproducible builds with diffoscope

After a few weeks of running reproducible builds in the autobuilders,
we found out that such builds without a diffoscope analysis are pretty
useless: the cmp on the tarballs doesn't help us fix the
reproducibility issue.

So, let's only do reproducible builds when diffoscope is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Atharva Lele <itsatharva@gmail.com>
Acked-by: Atharva Lele <itsatharva@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: instantiate SystemInfo() earlier
Thomas Petazzoni [Sun, 4 Aug 2019 09:13:18 +0000 (11:13 +0200)]
utils/genrandconfig: instantiate SystemInfo() earlier

In a future patch, we are going to need a SystemInfo() instance in
gen_config(), so create the SystemInfo() instance there, and pass it
to fixup_config(), where we currently use it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Atharva Lele <itsatharva@gmail.com>
Acked-by: Atharva Lele <itsatharva@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gpsd: unconditionally enable NTP time hinting support
Bernd Kuhls [Tue, 6 Aug 2019 05:19:20 +0000 (07:19 +0200)]
package/gpsd: unconditionally enable NTP time hinting support

Mandatory LEAP* defines are only enabled when TIMEHINT_ENABLE is
enabled: https://gitlab.com/gpsd/gpsd/blob/master/gpsd.h#L293

And TIMEHINT_ENABLE is only enabled when NTPSHM_ENABLE is enabled:
https://gitlab.com/gpsd/gpsd/blob/master/gpsd.h#L109

Upstream has entirely dropped the TIMEHINT_ENABLE option:

  https://gitlab.com/gpsd/gpsd/commit/8546be5f1eee36fd3fc66f09f2adfc18814d574c

So, for the time being, we simply enable it unconditionally.

Fixes:

  http://autobuild.buildroot.net/results/44639b8fe407bee30ac96ab54b8037439f3dac88/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: drop Config.in.legacy, improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ffmpeg: bump version to 4.2
Bernd Kuhls [Tue, 6 Aug 2019 21:03:37 +0000 (23:03 +0200)]
package/ffmpeg: bump version to 4.2

Updated license hash after three upstream commits:
http://git.videolan.org/?p=ffmpeg.git;a=history;f=LICENSE.md;h=c7d6bf7121d8811b36ee2a4ae6b810c072ed70e4;hb=refs/heads/release/4.2

Build-tested using this defconfig:
BR2_x86_64=y
BR2_x86_core2=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-x86-64-core2-full-2019.05.1.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_FFMPEG_NONFREE=y
BR2_PACKAGE_FFMPEG_FFPLAY=y
BR2_PACKAGE_FFMPEG_FFPROBE=y
BR2_PACKAGE_FFMPEG_POSTPROC=y
BR2_PACKAGE_GSTREAMER=y
BR2_PACKAGE_GST_FFMPEG=y
BR2_PACKAGE_GST_FFMPEG_GPL=y
BR2_PACKAGE_GSTREAMER1=y
BR2_PACKAGE_GST1_LIBAV=y
BR2_PACKAGE_LAME=y
BR2_PACKAGE_MOTION=y
BR2_PACKAGE_MPD=y
BR2_PACKAGE_MPD_FFMPEG=y
BR2_PACKAGE_MPV=y
BR2_PACKAGE_SQUEEZELITE=y
BR2_PACKAGE_VLC=y
BR2_PACKAGE_WAVPACK=y
BR2_PACKAGE_FREERDP=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_AUBIO=y
BR2_PACKAGE_FDK_AAC=y
BR2_PACKAGE_LIBMODPLUG=y
BR2_PACKAGE_LIBSOXR=y
BR2_PACKAGE_OPUS=y
BR2_PACKAGE_FONTCONFIG=y
BR2_PACKAGE_LIBDRM=y
BR2_PACKAGE_OPENCV3=y
BR2_PACKAGE_OPENCV3_WITH_FFMPEG=y
BR2_PACKAGE_OPENJPEG=y
BR2_PACKAGE_DAV1D=y
BR2_PACKAGE_LIBASS=y
BR2_PACKAGE_LIBBLURAY=y
BR2_PACKAGE_LIBOPENH264=y
BR2_PACKAGE_LIBTHEORA=y
BR2_PACKAGE_LIBYUV=y
BR2_PACKAGE_MEDIASTREAMER=y
BR2_PACKAGE_X265=y
BR2_PACKAGE_RTMPDUMP=y
BR2_PACKAGE_FETCHMAIL=y
BR2_PACKAGE_FREESWITCH=y
BR2_PACKAGE_GERBERA=y
BR2_PACKAGE_MINIDLNA=y
BR2_PACKAGE_TVHEADEND=y
BR2_PACKAGE_TVHEADEND_TRANSCODING=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/freeswitch: bump version to 1.10.0
Bernd Kuhls [Wed, 7 Aug 2019 05:40:06 +0000 (07:40 +0200)]
package/freeswitch: bump version to 1.10.0

Release notes:
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.10.x+Release+notes

Rebased 0001-Fix-cross-compiling-libvpx.patch.

Add mod_pgsql replacing PostgreSQL support in the core:
https://freeswitch.org/jira/browse/FS-11880

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libgpiod: bump version to v1.4.1
Bartosz Golaszewski [Wed, 7 Aug 2019 11:42:41 +0000 (13:42 +0200)]
package/libgpiod: bump version to v1.4.1

This is a bug-fix release addressing the following issues:

- fix GCC8 warnings when building python bindings
- fix a bug in gpioinfo where lines used by the kernel without any
  consumer string were reported as unused
- fix a bug in line::event_get_fd() in C++ bindings where the exception
  wouldn't be thrown in error cases due to a missing 'throw' keyword

It also fixed a couple problems with the test-suite but it doesn't
affect the buildroot package.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wpewebkit: fix gstreamer-gl dependency
James Hilliard [Wed, 7 Aug 2019 04:45:11 +0000 (22:45 -0600)]
package/wpewebkit: fix gstreamer-gl dependency

The gstreamer1 opengl plugin was moved from gst1-plugins-bad to
gst1-plugins-base so we need to update wpewebkit to depend on the
correct package.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
[Thomas: don't add gst1-plugins-base to the DEPENDENCIES variable when
BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL is enabled, because it's
already added when BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA=y, and
BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL depends on
BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mosquitto: fix static linking with c-ares and openssl
Fabrice Fontaine [Tue, 6 Aug 2019 20:32:31 +0000 (22:32 +0200)]
package/mosquitto: fix static linking with c-ares and openssl

Add WITH_TLS_STATIC_LIB_DEPS to fix static linking with openssl and
c-ares as using STATIC_LIB_DEPS override internal settings such as
-lcares

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/stellarium: new package
Bernd Kuhls [Tue, 6 Aug 2019 05:04:45 +0000 (07:04 +0200)]
package/stellarium: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-utils: add install_{staging, target, images} details in show-info
Vadim Kochan [Tue, 6 Aug 2019 11:02:03 +0000 (14:02 +0300)]
package/pkg-utils: add install_{staging, target, images} details in show-info

This commit extends the show-info/<pkg>-show-info logic to include in
the JSON output details about whether the package installs files to
target, staging and/or images.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/clamav: security bump version to 0.101.3
Bernd Kuhls [Tue, 6 Aug 2019 05:29:52 +0000 (07:29 +0200)]
package/clamav: security bump version to 0.101.3

Release notes:
https://blog.clamav.net/2019/08/clamav-01013-security-patch-release-and.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: add Bernd Kuhls for gpsd
Bernd Kuhls [Tue, 6 Aug 2019 05:19:21 +0000 (07:19 +0200)]
DEVELOPERS: add Bernd Kuhls for gpsd

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gpsd: add whitespaces
Bernd Kuhls [Tue, 6 Aug 2019 05:19:19 +0000 (07:19 +0200)]
package/gpsd: add whitespaces

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fetchmail: bump version to 6.4.0.rc1
Bernd Kuhls [Tue, 6 Aug 2019 18:59:00 +0000 (20:59 +0200)]
package/fetchmail: bump version to 6.4.0.rc1

Updated license hash after upstream commit:
https://sourceforge.net/p/fetchmail/git/ci/c58fae843fbcbd3c1040a7fbc2196fbc758cc186/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/oniguruma: security bump to version 6.9.3
Fabrice Fontaine [Tue, 6 Aug 2019 17:51:16 +0000 (19:51 +0200)]
package/oniguruma: security bump to version 6.9.3

Fixes CVE-2019-13224: A use-after-free in onig_new_deluxe() in regext.c
in Oniguruma 6.9.2 allows attackers to potentially cause information
disclosure, denial of service, or possibly code execution by providing a
crafted regular expression. The attacker provides a pair of a regex
pattern and a string, with a multi-byte encoding that gets handled by
onig_new_deluxe().

Fixes CVE-2019-13225: A NULL Pointer Dereference in match_at() in
regexec.c in Oniguruma 6.9.2 allows attackers to potentially cause
denial of service by providing a crafted regular expression.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/jemalloc: bump to version 5.2.1
Fabrice Fontaine [Tue, 6 Aug 2019 17:58:00 +0000 (19:58 +0200)]
package/jemalloc: bump to version 5.2.1

Remove patch: documentation can be disabled through --disable-doc
since
https://github.com/jemalloc/jemalloc/commit/702d76dbd03e4fe7347399e1e322c80102c95544,
and the autotools infra already passes --disable-doc to all packages.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mdadm: update website link
Baruch Siach [Tue, 6 Aug 2019 17:32:19 +0000 (20:32 +0300)]
package/mdadm: update website link

Neil Brown no longer maintains mdadm. The old website refers to a stale
git repository. There is nothing else but this wiki page to serve as a
website.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mdadm: fix build with musl libc
Baruch Siach [Tue, 6 Aug 2019 13:17:57 +0000 (16:17 +0300)]
package/mdadm: fix build with musl libc

Add a patch to make sys/sysmacros.h include unconditional for the
major/minor macros. musl libc recently removed include of
sys/sysmacros.h from sys/types.h (musl commit a31a30a0076c28).

Fixes:
http://autobuild.buildroot.net/results/37d6b351f989ceaf1acf0fe0b3b9be6d1c5c300e/
http://autobuild.buildroot.net/results/a0d9b49c99b36468e2ef506d55a1c3cbbcf43a4e/
http://autobuild.buildroot.net/results/979b5e9dd8fb27969ed6bd0b82d9dd5f88b2b986/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/harfbuzz: bump version to 2.5.3
Bernd Kuhls [Sat, 3 Aug 2019 19:21:05 +0000 (21:21 +0200)]
package/harfbuzz: bump version to 2.5.3

Removed backported patch.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agodocs/manual: update pkg-kconfig doc about <pkg>-diff-config
Marcel Patzlaff [Mon, 5 Aug 2019 06:43:01 +0000 (08:43 +0200)]
docs/manual: update pkg-kconfig doc about <pkg>-diff-config

Briefly states what the output of this target is about.

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
[Thomas: improve wording]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mosquitto: fix static build with openssl
Fabrice Fontaine [Sun, 4 Aug 2019 20:44:58 +0000 (22:44 +0200)]
package/mosquitto: fix static build with openssl

mosquitto library can be built statically since commit
a95bdd964761ec69a23174f5213dd54b77d0971b however build fails with
openssl because mosquitto does not use pkg-config to retrieve static
dependencies so provide them through the STATIC_LIB_DEPS variable

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/getdeveloperlib.py: fix flake8 warnings
Victor Huesca [Mon, 5 Aug 2019 09:51:47 +0000 (11:51 +0200)]
utils/getdeveloperlib.py: fix flake8 warnings

Fix a weird blank-line missing and 2 trailing blank-space.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: fix hardening tests
Ricardo Martincoski [Mon, 5 Aug 2019 01:20:50 +0000 (22:20 -0300)]
support/testing: fix hardening tests

Since "2467822c85 package/checksec: bump to version 2.1.0" the hardening
tests fail because upstream slightly changed the way the script is
called.
According to README.md: "- All options now require `--$option=$value`
instead of `--$option $value`"

Instead of just replacing '--output json' with '--output=json' take into
account that upstream also changed the usage example to show --format
instead of --output. Both options do exactly the same, but following the
usage example seems to be more future-proof.

Upstream also improved the json output. Now when a file is passed as
parameter, the json has the file name as the main key, instead of the
string "file". Adjust the test cases accordingly.

Fixes:
tests.core.test_hardening.TestFortifyConserv
tests.core.test_hardening.TestFortifyNone
tests.core.test_hardening.TestRelro
tests.core.test_hardening.TestRelroPartial
tests.core.test_hardening.TestSspNone
tests.core.test_hardening.TestSspStrong

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: drop odroidc2 from Dagg Stompler
Thomas Petazzoni [Sun, 4 Aug 2019 22:03:05 +0000 (00:03 +0200)]
DEVELOPERS: drop odroidc2 from Dagg Stompler

The odroidc2_defconfig has been dropped in commit
b80712a16ae3deb65331a7923aa878e13e2e66b6, do it no longer makes sense
to list it in the DEVELOPERS file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/getdeveloperlib.py: add defconfig parsing
Victor Huesca [Sun, 4 Aug 2019 14:21:43 +0000 (16:21 +0200)]
utils/getdeveloperlib.py: add defconfig parsing

This patch extends the Developer class so that it associates each
developer with the defconfigs (in configs/) is in responsible for,
according to the DEVELOPERS file.

It will allow using the getdeveloperlib module to find which developer
is responsible for which defconfig, and send e-mail notifications of
defconfig build failures.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/getdeveloperlib.py: add runtime test parsing
Victor Huesca [Sun, 4 Aug 2019 14:21:42 +0000 (16:21 +0200)]
utils/getdeveloperlib.py: add runtime test parsing

This patch extends the Developer class so that it associates each
developer with the runtime tests (in support/testing) is in
responsible for, according to the DEVELOPERS file.

The implementation relies on the unittest module to list all test
cases and does some manual parsing of these test-case objects to get
the actual list of test-cases per test-suite.

A global variable is used to compute the list of unittest only once.

This feature will allow to use the getdeveloperlib module to find
which developer is responsible for which runtime test, and send e-mail
notifications of runtime tests failures.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/getdeveloperlib: add some debug information
Victor Huesca [Sun, 4 Aug 2019 14:21:41 +0000 (16:21 +0200)]
utils/getdeveloperlib: add some debug information

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gpsd: bump version to 3.19
Bernd Kuhls [Sun, 4 Aug 2019 13:44:31 +0000 (15:44 +0200)]
package/gpsd: bump version to 3.19

Removed patches applied upstream:
https://gitlab.com/gpsd/gpsd/commit/02d21faebec245e1526449fb54e7078914d75db7
https://gitlab.com/gpsd/gpsd/commit/d685ab05952d7eadf012fc054032f0190cf2abda
https://gitlab.com/gpsd/gpsd/commit/bfc7d136fb78fd20875efceb949c2e537e5435ee

Project moved to gitlab, updated project URL.

Updated license hash and changed license to BSD-2-Clause after upstream
commit:
https://gitlab.com/gpsd/gpsd/commit/2a286af6cf4f7fd469bf6bea644a7416c9631cde

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/glibc: bump version for additional post-2.29 fixes
Peter Korsgaard [Sun, 4 Aug 2019 13:24:29 +0000 (15:24 +0200)]
package/glibc: bump version for additional post-2.29 fixes

The following additional bugs are fixed:

  [16573] malloc: Set and reset all hooks for tracing
  [18035] Fix pldd hang
  [20568] Fix crash in _IO_wfile_sync
  [24228] old x86 applications that use legacy libio crash on exit
  [24476] dlfcn: Guard __dlerror_main_freeres with __libc_once_get (once)
  [24744] io: Remove the copy_file_range emulation

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/uboot: use proper spelling of "U-Boot"
Pierre-Jean Texier [Sun, 4 Aug 2019 12:22:52 +0000 (14:22 +0200)]
boot/uboot: use proper spelling of "U-Boot"

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/collectd: security bump to version 5.9.0
Bernd Kuhls [Sun, 4 Aug 2019 15:09:57 +0000 (17:09 +0200)]
package/collectd: security bump to version 5.9.0

Removed patches applied upstream.

Added upstream sha1 & sha512 hashes.

Removed libltdl/COPYING.LIB from LICENSE_FILES after upstream removal
in version 5.8.0:
https://git.octo.it/?p=collectd.git;a=blob;f=ChangeLog;h=7ea5a07f10c0334f9b0f32480590b2c848577559;hb=HEAD#l90

Version 5.7.2 fixed CVE-2017-7401
https://git.octo.it/?p=collectd.git;a=blob;f=ChangeLog;h=7ea5a07f10c0334f9b0f32480590b2c848577559;hb=HEAD#l285

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/collectd: remove libvirt from list of disabled plugins
Bernd Kuhls [Sun, 4 Aug 2019 15:09:56 +0000 (17:09 +0200)]
package/collectd: remove libvirt from list of disabled plugins

With collectd 5.5.0 the "libvirt plugin has been renamed to virt":
https://git.octo.it/?p=collectd.git;a=blob;f=ChangeLog;h=b0a997c53ac1a74bc39470bdd243f853fa095c9f;hb=refs/tags/collectd-5.5.0#l235

"virt" is already mentioned in COLLECTD_PLUGINS_DISABLE so we can just
remove "libvirt" to fix:

configure: WARNING: unrecognized options: [...] --disable-libvirt

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xapian: bump to version 1.4.12
Gilles Talis [Sun, 4 Aug 2019 16:30:54 +0000 (18:30 +0200)]
package/xapian: bump to version 1.4.12

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoMakefile: ensure $BINARIES_DIR exist before post-image scripts
Brent Generous [Sun, 4 Aug 2019 15:07:07 +0000 (17:07 +0200)]
Makefile: ensure $BINARIES_DIR exist before post-image scripts

When no filesystem is enabled, the $BINARIES_DIR is not created. Yet,
the post-image scripts are still run. When those want to generate an
image in there, they may fail as the dirctory does not exist (it did
exist before we started applying preparatory changes for top-level
parallel build, so scripts got to rely on that assumption).

Do in target-post-image as we do in the sdk rule: create the directory
before calling the scripts.

Signed-off-by: Brent Generous <bgenerous@impinj.com>
[yann.morin.1998@free.fr:
  - create the directory before calling the scripts
  - don't drop the creation in the sdk rule
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/assimp: needs wchar
Fabrice Fontaine [Sun, 4 Aug 2019 11:55:03 +0000 (13:55 +0200)]
package/assimp: needs wchar

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gcc: remove version 6.5
Romain Naour [Fri, 2 Aug 2019 13:09:36 +0000 (15:09 +0200)]
package/gcc: remove version 6.5

gcc 9.1 is around, gcc 8.3 is the default version, so drop
6.5 in order to reduce the gcc choice.

Keep gcc 5.5 since it still used by beaglebone_qt5_defconfig.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gcc: remove gcc 4.9
Romain Naour [Fri, 2 Aug 2019 13:09:35 +0000 (15:09 +0200)]
package/gcc: remove gcc 4.9

In order to reduce the number of choice in gcc selection, remove the
gcc 4.9 version.

This version was kept due to libstdc++ ABI-incompatible changes and
other build issues with kernel and bootloader as reported by Arnout
[1].

Since then, gcc 4.9 is not supported any more since glibc 2.29 [2]
and recent kernel and bootloaders has been fixed to use more recent
compiler version.

[1] http://lists.busybox.net/pipermail/buildroot/2017-June/194374.html
[2] https://www.sourceware.org/ml/libc-alpha/2019-01/msg00723.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/odroidc2: remove the defconfig
Romain Naour [Fri, 2 Aug 2019 13:09:34 +0000 (15:09 +0200)]
configs/odroidc2: remove the defconfig

The odroidc2 defconfig is using gcc 4.9 version in order to build
uboot (2015.01) and kernel (3.14.79) for the board.

We are going to remove gcc 4.9 version in Buildroot and this
defconfig is the only remaining one using this version.

Since we don't have the board, we can't update the defconfig with
newer bootloader and kernel version.

A new defconfig for the odroidc2 board are welcome as soon as
it use a newer uboot and kernel version.

Remove the defconfig from the gitlab yaml.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/linux-headers: apply all Linux patches when BR2_KERNEL_HEADERS_AS_KERNEL=y
Thomas Petazzoni [Sun, 4 Aug 2019 09:36:44 +0000 (11:36 +0200)]
package/linux-headers: apply all Linux patches when BR2_KERNEL_HEADERS_AS_KERNEL=y

When BR2_KERNEL_HEADERS_AS_KERNEL=y, we expect that the Linux kernel
headers code will be exactly the same as the Linux kernel code
itself. The code currently takes into account the patches defined by
BR2_LINUX_KERNEL_PATCH, but not the kernel patches that are stored in
linux's BR2_GLOBAL_PATCH_DIR.

So for example, the current qemu_riscv32_virt_defconfig has:

BR2_GLOBAL_PATCH_DIR="board/qemu/riscv32-virt/patches/"

With:

board/qemu/riscv32-virt/patches/
└── linux
    â””── 0001-Revert-riscv-Use-latest-system-call-ABI.patch

This patch gets properly applied when the Linux kernel is built, but
not when the linux-headers package is built.

This commit fixes that by making sure patches stored in the "linux"
BR2_GLOBAL_PATCH_DIR subdirectory are taken into account.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-redis: new package
Grzegorz Blach [Sun, 17 Mar 2019 19:05:40 +0000 (20:05 +0100)]
package/python-redis: new package

The Python interface to the Redis key-value store.

https://github.com/andymccurdy/redis-py

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Peter: hiredis is an optional runtime dependency, not build time]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-hiredis: new package
Grzegorz Blach [Sun, 17 Mar 2019 19:05:39 +0000 (20:05 +0100)]
package/python-hiredis: new package

Python extension that wraps protocol parsing code in hiredis.
It primarily speeds up parsing of multi bulk replies.

https://github.com/redis/hiredis-py

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libcurl: introduce options to extend/reduce feature set
Thomas De Schampheleire [Fri, 8 Feb 2019 21:23:11 +0000 (22:23 +0100)]
package/libcurl: introduce options to extend/reduce feature set

Libcurl is more than 250 KiB (libcurl) / 100 KiB (curl binary) in size.
About 50 KiB / 15 KiB of this can be saved by disabling features/protocols
that are not commonly needed:

- proxy support: 15 KiB
- cookies support: 10 KiB
- various less common protocols: 25 KiB (libcurl) + 15 KiB (curl binary)

Note that the exact amount of space saved depends on the architecture,
toolchain, and other factors.

Other packages that are selecting libcurl might require protocols from the
'extra' set. But, there is no clear way to find out which packages are in
this situation, in particular because issues may only be visible at runtime.

Note: remove the text 'enable' on the option for 'verbose strings' as that
is more common in Buildroot.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[Peter: unconditionally remove the libcurl-option to generate C code]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-urllib3: bump version to 1.25.3
Bernd Kuhls [Sat, 3 Aug 2019 20:40:39 +0000 (22:40 +0200)]
package/python-urllib3: bump version to 1.25.3

Updated license hash after upstream commit:
https://github.com/urllib3/urllib3/commit/2a0957ea27e966166f81f88693af8e2f87d19fb6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/domoticz: bump to version 0f411f781ae4fb4a82f592d38a3f40578c149533
Fabrice Fontaine [Sat, 3 Aug 2019 09:22:31 +0000 (11:22 +0200)]
package/domoticz: bump to version 0f411f781ae4fb4a82f592d38a3f40578c149533

- Replace first patch to fix build when using a development version
- Fix build with openzwave 1.6 through:
  https://github.com/domoticz/domoticz/commit/56d3fa099d9c98222d6cf5043891c6ba2f1df6bf
- Add patch to revert cmake 3.14 dependency as buildroot currently
  requires only 3.8

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-mwclient: bump version to 0.10.0
Bernd Kuhls [Sat, 3 Aug 2019 20:40:40 +0000 (22:40 +0200)]
package/python-mwclient: bump version to 0.10.0

Switched license file to LICENSE.md.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-requests-oauthlib: bump version to 1.2.0
Bernd Kuhls [Sat, 3 Aug 2019 20:40:38 +0000 (22:40 +0200)]
package/python-requests-oauthlib: bump version to 1.2.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-oauthlib: bump version to 3.0.2
Bernd Kuhls [Sat, 3 Aug 2019 20:40:37 +0000 (22:40 +0200)]
package/python-oauthlib: bump version to 3.0.2

Updated license hash after upstream bump to 2019
https://github.com/oauthlib/oauthlib/commit/f4273e75250dd36c88d63dc075ae45650a5172e9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-certifi: bump version to 2019.6.16
Bernd Kuhls [Sat, 3 Aug 2019 20:40:36 +0000 (22:40 +0200)]
package/python-certifi: bump version to 2019.6.16

Updated project URL to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ddrescue: remove patch
Bernd Kuhls [Sun, 4 Aug 2019 07:36:36 +0000 (09:36 +0200)]
package/ddrescue: remove patch

Not needed anymore after upstream change:
https://lists.gnu.org/archive/html/bug-ddrescue/2017-02/msg00002.html

Build-tested using br-x86-64-core2-full.config

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gsl: bump version to 2.5
Bernd Kuhls [Sun, 4 Aug 2019 08:11:19 +0000 (10:11 +0200)]
package/gsl: bump version to 2.5

Added license hash.

Release notes:
https://lists.gnu.org/archive/html/info-gnu/2018-06/msg00007.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xorriso: bump version to 1.5.0
Bernd Kuhls [Sun, 4 Aug 2019 08:06:49 +0000 (10:06 +0200)]
package/xorriso: bump version to 1.5.0

Removed patch for sys/xattr.h handling and replaced it with the new
upstream-provided configure option --disable-xattr-h-pref-attr
https://dev.lovelyhq.com/libburnia/libisofs/commit/848e039e6d5222b07da7ec810ce4cca1c60bd935

Removed autoreconf, not needed anymore.

Added license hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/time: add upstream sha1 hash
Bernd Kuhls [Sun, 4 Aug 2019 08:14:06 +0000 (10:14 +0200)]
package/time: add upstream sha1 hash

Also added a reference for upstream-provided sha1 & sha256 hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/zstd: bump version to 1.4.2
Bernd Kuhls [Sat, 3 Aug 2019 19:45:28 +0000 (21:45 +0200)]
package/zstd: bump version to 1.4.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ddrescue: bump version to 1.24
Bernd Kuhls [Sun, 4 Aug 2019 06:19:23 +0000 (08:19 +0200)]
package/ddrescue: bump version to 1.24

Added license hash and upstream sha256 hash for tarball.

Release notes:
1.23: https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00004.html
1.24: https://lists.gnu.org/archive/html/info-gnu/2019-02/msg00012.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gdbm: bump version to 1.18.1
Bernd Kuhls [Sun, 4 Aug 2019 07:39:20 +0000 (09:39 +0200)]
package/gdbm: bump version to 1.18.1

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mtools: bump version to 4.0.23
Bernd Kuhls [Sun, 4 Aug 2019 07:31:57 +0000 (09:31 +0200)]
package/mtools: bump version to 4.0.23

Switched to .lz tarball.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/neon: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:42:01 +0000 (08:42 +0200)]
package/neon: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ncurses: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:42:00 +0000 (08:42 +0200)]
package/ncurses: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mjpegtools: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:59 +0000 (08:41 +0200)]
package/mjpegtools: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/lzo: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:58 +0000 (08:41 +0200)]
package/lzo: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libsilk: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:57 +0000 (08:41 +0200)]
package/libsilk: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/kompexsqlite: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:56 +0000 (08:41 +0200)]
package/kompexsqlite: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/iostat: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:55 +0000 (08:41 +0200)]
package/iostat: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/haserl: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:54 +0000 (08:41 +0200)]
package/haserl: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/giflib: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:53 +0000 (08:41 +0200)]
package/giflib: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ftop: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:52 +0000 (08:41 +0200)]
package/ftop: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/flot: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:51 +0000 (08:41 +0200)]
package/flot: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/flickcurl: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:50 +0000 (08:41 +0200)]
package/flickcurl: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/fbdump: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:49 +0000 (08:41 +0200)]
package/fbdump: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/enscript: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:48 +0000 (08:41 +0200)]
package/enscript: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ebtables: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:47 +0000 (08:41 +0200)]
package/ebtables: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/dfu-util: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:46 +0000 (08:41 +0200)]
package/dfu-util: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/cegui06: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:45 +0000 (08:41 +0200)]
package/cegui06: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/cairomm: add license hash
Bernd Kuhls [Sun, 4 Aug 2019 06:41:44 +0000 (08:41 +0200)]
package/cairomm: add license hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/nfs-utils: bump version to 1.3.4
Bernd Kuhls [Sun, 4 Aug 2019 06:11:02 +0000 (08:11 +0200)]
package/nfs-utils: bump version to 1.3.4

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/diffutils: bump version to 3.7
Bernd Kuhls [Sun, 4 Aug 2019 06:57:43 +0000 (08:57 +0200)]
package/diffutils: bump version to 3.7

Added license hash.

Release notes:
https://lists.gnu.org/archive/html/info-gnu/2019-01/msg00000.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-twisted: bump to version 19.2.1
Adam Duskett [Sun, 4 Aug 2019 01:06:34 +0000 (21:06 -0400)]
package/python-twisted: bump to version 19.2.1

Also change hash for the license file due to a year change.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-docutils: bump to version 0.15.2
Adam Duskett [Sun, 4 Aug 2019 01:06:33 +0000 (21:06 -0400)]
package/python-docutils: bump to version 0.15.2

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-cffi: bump to version 1.12.3
Adam Duskett [Sun, 4 Aug 2019 01:06:32 +0000 (21:06 -0400)]
package/python-cffi: bump to version 1.12.3

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-autobahn: bump to version 19.8.1
Adam Duskett [Sun, 4 Aug 2019 01:06:31 +0000 (21:06 -0400)]
package/python-autobahn: bump to version 19.8.1

In addition:
 - select python-cryptography as it's now a runtime dependency
 - Fix a typo in the help.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years ago[PATCH 01/05 package/python-cryptography: bump to version 2.7
Adam Duskett [Sun, 4 Aug 2019 01:06:30 +0000 (21:06 -0400)]
[PATCH 01/05 package/python-cryptography: bump to version 2.7

Also change the hash for LICENSE.APACHE due to changing http to https
in the license URL.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/config-fragments/autobuild: set gcc version for RISC-V toolchains
Thomas Petazzoni [Sun, 4 Aug 2019 06:50:48 +0000 (08:50 +0200)]
support/config-fragments/autobuild: set gcc version for RISC-V toolchains

Prior to b3ba26150d49dbc6b06ad402c5f6fbd398a71451
("toolchain/toolchain-external/toolchain-external-custom: be more
flexible on gcc version"), the default gcc version selected by
Buildroot for custom external toolchain was affected by the
BR2_ARCH_NEEDS_GCC_AT_LEAST_xyz definitions.

Since BR2_riscv selects BR2_ARCH_NEEDS_GCC_AT_LEAST_7, gcc 7.x was the
default gcc version assumed to be used in a custom RISC-V external
toolchain, so our config snippets for RISC-V toolchains were correct.

With b3ba26150d49dbc6b06ad402c5f6fbd398a71451 applied, the default gcc
version assumed for custom external toolchains is the latest one
(currently gcc 9.x), while our RISC-V toolchains use gcc 7.x. So we
now need to explicitly give the gcc version used by our RISC-V
toolchains, otherwise the build fails with:

  Incorrect selection of gcc version: expected 9.x, got 7.4.0

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolibdrm: change to meson build system
Peter Seiderer [Tue, 25 Jun 2019 20:11:27 +0000 (22:11 +0200)]
libdrm: change to meson build system

- remove legacy patch
  0003-configure-Makefile.am-use-pkg-config-to-discover-lib.patch

- add patch to fix meson atomic ops detection
  0003-meson.build-fix-intel-atomics-detection.patch

- add patch to enable static build
  0004-meson.build-enable-static-build.patch

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/elfutils: fix build with glibc < 2.16
Fabrice Fontaine [Sat, 3 Aug 2019 21:46:08 +0000 (23:46 +0200)]
package/elfutils: fix build with glibc < 2.16

Fixes:
 - autobuild.buildroot.net/results/1053e2b4b51bc225c4a1a29c93946101a7a53be9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qemu: drop host kernel version check
Adam Duskett [Sun, 23 Jun 2019 21:23:41 +0000 (17:23 -0400)]
package/qemu: drop host kernel version check

There is no clean way to check if a program will actually run using
host-qemu, making this check too restrictive.

Add a warning in the help text.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/python-zeroconf: depends on ifaddr instead of netifaces
Grzegorz Blach [Fri, 5 Jul 2019 11:57:12 +0000 (11:57 +0000)]
package/python-zeroconf: depends on ifaddr instead of netifaces

Starting from 0.21.0 zeroconf uses pure-python ifaddr module
instead of netifaces.

Currently we have zeroconf 0.23.0, so this module raises
ModuleNotFoundError exception during import.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-ifaddr: new package
Grzegorz Blach [Fri, 5 Jul 2019 11:57:11 +0000 (11:57 +0000)]
package/python-ifaddr: new package

Enumerates all IP addresses on all network adapters of the system.

https://github.com/pydron/ifaddr

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas: add license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agodocs/manual: document providers from br2-external
Yann E. MORIN [Mon, 29 Jul 2019 20:20:03 +0000 (22:20 +0200)]
docs/manual: document providers from br2-external

Add documentation about how a br2-external tree can provide an external
toolchain or a libjpeg or openssl alternative implementation.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agocore: allow br2-external trees to provide opensl
Yann E. MORIN [Mon, 29 Jul 2019 20:20:02 +0000 (22:20 +0200)]
core: allow br2-external trees to provide opensl

Similar to toolchains and jpeg, we now offer a way for br2-external
trees to provide their openssl implementation, which gets included in
the openssl choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agocore: allow br2-external trees to provide libjpeg
Yann E. MORIN [Mon, 29 Jul 2019 20:20:01 +0000 (22:20 +0200)]
core: allow br2-external trees to provide libjpeg

Similar to toolchains, we now offer a way for br2-external trees to
provide their libjpeg implementation, which gets included in the jpeg
choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agocore: allow br2-external trees to provide pre-configured toolchains
Yann E. MORIN [Mon, 29 Jul 2019 20:20:00 +0000 (22:20 +0200)]
core: allow br2-external trees to provide pre-configured toolchains

Since we have a choice for the pre-configured pre-built toolchains,
there is no possbility for a br2-external to provide its own. The
only solution so far for defconfigs in br2-external trees is to use
BR2_TOOLCHAIN_EXTERNAL_CUSTOM and define all the bits by itself...

This is not so convemient, so offer a way for br2-external trees to
provide such pre-configured toolchains.

To allow for this, we now scan each br2-external tree and look for a
specific file, provides.toolchains.in. We generate a kconfig file that
sources each such file, and that generated file is sourced from within
the toolchain choice, thus making the toolchains from a br2-external
tree possible and available in the same location as the ones known to
Buildroot:

    Toolchain  --->
        Toolchain type (External toolchain)  --->
        Toolchain  --->
            (X) Arm ARM 2019.03
            ( ) Linaro ARM 2018.05
            ( ) Custom toolchain
                *** Toolchains from my-br2-ext-tree: ***
            ( ) My custom ARM toolchain
                *** Toolchains from another-br2-ext-tree: ***
            ( ) Another custom ARM toolchain
            ( ) A third custom ARM toolchain

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agocore: split generated kconfig file
Yann E. MORIN [Mon, 29 Jul 2019 20:19:59 +0000 (22:19 +0200)]
core: split generated kconfig file

Currently, the kconfig part contains two things: the kconfig option
with the paths to br2-external trees, and the kconfig menus for the
br2-external trees.

When we want to include more kconfig files from the br2-external tree
(e.g. to get definitions for pre-built toolchains), we will need to
have the paths defined earlier, so they can be used from the br2-external
tree to include files earlier than the existing menus.

Split the generated kconfig file in two: one to define the paths, which
gets included early in our main Config.in, and one to actually define
the existing menus, which still gets included at the same place they
currently are.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain: allow PIC/PIE without RELRO
Yann E. MORIN [Tue, 12 Mar 2019 12:09:36 +0000 (13:09 +0100)]
toolchain: allow PIC/PIE without RELRO

In commit 7484c1c3b806 (toolchain/toolchain-wrapper: add BR2_RELRO_),
we added the PIC/PIE flags, but based on the RELRO_FULL condition.

It is however totally possible to do a PIC/PIE executable without
RELRO_FULL, as it is also valid to do a PIC/PIE build with RELRO_PARTIAL.

Add a new option that now governs the PIC/PIE flags.

Note: it is unknown if RELRO_FULL really needs PIC/PIE or not, so we
keep the current situation, where RELRO-FULL forces PIC/PIE compilation.
Decoupling can come later from an interested party.

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agotoolchain: -fstack-protector-strong can be back-ported
Yann E. MORIN [Tue, 12 Mar 2019 12:09:35 +0000 (13:09 +0100)]
toolchain: -fstack-protector-strong can be back-ported

Currently, use of -fstack-protector-strong is only available for gcc
starting with 4.9, on the assumption that it appeared with that version.

Although this is true, it happens that quite a few vendors will have
back-ported -fstack-protector-strong to older gcc versions (at least 4.8
seen in the wild).

Remove the guard against gcc>=4.9, and expand the help text.

Note: we could have changed the guard to something like:
    depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || BR2_TOOLCHAIN_EXTERNAL_CUSTOM

However, the latest gcc we support in the internal toolchain now *is*
gcc-4.9, and similarly all external toolchains except Sourcery ARM are
4.9 or higher. So except for the Sourcery toolchain, the condition would
have always been true. For that one toolchain, we can allow it to hit
the SSP check, and just drop the condition entirely.

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agotoolchain: check the SSP option is known
Yann E. MORIN [Tue, 12 Mar 2019 12:09:34 +0000 (13:09 +0100)]
toolchain: check the SSP option is known

Some toolchain vendors may have backported those options to older gcc
versions, and we have no way to know, so we have to check that the
user's selection is acceptable.

Extend the macro that currently checks for SSP in the toolchain, with
a new test that the actual SSP option is recognised and accepted.

Note that the SSP option is either totaly empty, or an already-quoted
string, so we can safely and easily assign it to a shell variable to
test and use it.

Note that we do not introduce BR2_TOOLCHAIN_HAS_SSP_STRONG, because:

  - our internal toolchain infra only supports gcc >= 4.9, so it has
    SSP strong;

  - of the external pre-built toolchains, only the codesourcery-arm
    one has a gcc-4.8 which lacks SSP strong, all the others have a
    gcc >= 4.9;

  - we'd still have to do the actual check for custom external
    toolchains anyway.

So, we're not adding BR2_TOOLCHAIN_HAS_SSP_STRONG just for a single
case.

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gdb: update host gdb minimum host gcc version
Romain Naour [Sat, 3 Aug 2019 20:59:35 +0000 (22:59 +0200)]
package/gdb: update host gdb minimum host gcc version

Following gdb 7.12.1 removal [1] the host gcc version needs to be updated
since gdb >= 8.x now requires a C++11 compiler (gcc >= 4.8).

While at it, move BR2_HOST_GCC_AT_LEAST_4_8 under BR2_PACKAGE_HOST_GDB since
it's not an architecture dependency.  Add a comment when the host gcc is too
old to build host gdb.

[1] d36f2c73331b3ab4e238eeb47d7d79d81a895a59

Fixes:
http://autobuild.buildroot.org/results/822/822a747a6717db57705d1ce198a61988aa1173b1

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ethtool: bump to version 5.2
Pierre-Jean Texier [Sat, 3 Aug 2019 20:44:14 +0000 (22:44 +0200)]
package/ethtool: bump to version 5.2

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>