Commit Graph

50587 Commits

Author SHA1 Message Date
Yann E. MORIN
4cc586695f package/openrc: needs kmod
openrc provides scripts that have been written for the big-gun kmod, and
so use options unknown to the busybox' provided applets:

  - Busybox modprobe does not have a "--first-time" option,
  - the "--verbose" option is just "-v",
  - the "--use-blacklist" option is just "-b". Also blacklist support is
    not selected in our default busybox configuration.

One of two options, is to "fix" or "adapt" openrc's scripts to busybox,
which means for the openrc package to go peek into files from the
busybox package, which is not nice, and can't work because that is not
available by the time we scan our Makefiles.

The other option, which this patch implements, is to just add a
dependency onto kmod and its tools.

Reported-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 17:47:47 +01:00
Thomas Petazzoni
15e96f9417 package/pkg-generic.mk: in image install, print message before pre-hooks
In all steps, we print the message indicating the start of the step
using the MESSAGE macro before running pre-hooks. Except in the image
installation step, where the message is printed after the pre-hooks.

Let's fix this inconsistency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 17:47:47 +01:00
Pascal de Bruijn
891c5b7b4b package/exim: fix systemd service binary path
modern versions of exim are installed into sbin not bin

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 17:47:47 +01:00
Fabrice Fontaine
6785c19bf5 package/libarchive: security bump to version 3.4.2
- Fix CVE-2020-9308: archive_read_support_format_rar5.c in libarchive
  before 3.4.2 attempts to unpack a RAR5 file with an invalid or
  corrupted header (such as a header size of zero), leading to a SIGSEGV
  or possibly unspecified other impact.
- use --with-nettle to enable nettle support, see
  f96a71144b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - drop new optional dependency to mbedtsl, forced off for now
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-02-29 17:43:59 +01:00
Fabrice Fontaine
71d6e2cc05 package/lxc: fix build with ultrasparc
Fixes:
 - http://autobuild.buildroot.org/results/17c2319850f02f24da6fbef9656c07f86fdc5a3a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-02-29 17:37:54 +01:00
Fabrice Fontaine
8d76402ee1 package/libssh2: fix CVE-2019-17498
In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in
packet.c has an integer overflow in a bounds check, enabling an attacker
to specify an arbitrary (out-of-bounds) offset for a subsequent memory
read. A crafted SSH server may be able to disclose sensitive information
or cause a denial of service condition on the client system when a user
connects to the server.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-02-29 17:31:50 +01:00
Fabrice Fontaine
2f813df3d9 package/poco: PDF needs XML, JSON and Util
PDF needs XML, JSON and Util since version 1.9.0 and
c5acb2ac27

Fixes:
 - http://autobuild.buildroot.org/results/294b604a0e37aafbe085f0e6f0d1a83ab110c3a4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-02-29 17:27:28 +01:00
Fabrice Fontaine
d0063f2ff1 package/dnsmasq: fix CVE-2019-14834
A vulnerability was found in dnsmasq before version 2.81, where the
memory leak allows remote attackers to cause a denial of service
(memory consumption) via vectors involving DHCP response creation.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-02-29 16:12:08 +01:00
Fabrice Fontaine
4390b365a2 package/lz4: security bump to version 1.9.2
- Fix CVE-2019-17543: LZ4 before 1.9.2 has a heap-based buffer overflow
  in LZ4_write32 (related to LZ4_compress_destSize), affecting
  applications that call LZ4_compress_fast with a large input. (This
  issue can also lead to data corruption.) NOTE: the vendor states "only
  a few specific / uncommon usages of the API are at risk."
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 08:39:06 +01:00
Fabrice Fontaine
df1d834420 package/squid: security bump to version 4.10
Drop patch (already in version)
Update indentation of hash file (two spaces)

Fix the following issues:
 - CVE-2020-8517: Buffer Overflow issue in ext_lm_group_acl helper.
 - CVE-2019-12528: Information Disclosure issue in FTP Gateway.
 - CVE-2020-8449, CVE-2020-8450: Improper Input Validation issues in
   HTTP Request processing.
 - CVE-2019-18679: Information Disclosure issue in HTTP Digest
   Authentication.
 - CVE-2019-18678: HTTP Request Splitting issue in HTTP message
   processing.
 - CVE-2019-18677: Cross-Site Request Forgery issue in HTTP Request
   processing.
 - CVE-2019-12523, CVE-2019-18676: Multiple issues in URI processing.
 - CVE-2019-12526: Heap Overflow issue in URN processing.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 08:36:30 +01:00
Fabrice Fontaine
141ec69812 package/zsh: security bump to version 5.8
- Fix CVE-2019-20044: In Zsh before 5.8, attackers able to execute
  commands can regain privileges dropped by the --no-PRIVILEGED option.
  Zsh fails to overwrite the saved uid, so the original privileges can
  be restored by executing MODULE_PATH=/dir/with/module zmodload with a
  module that calls setuid().
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 08:36:11 +01:00
Fabrice Fontaine
8619025300 package/ntfs-3g: annotate _IGNORE_CVES for the included security patch
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 08:35:40 +01:00
Fabrice Fontaine
16d3e1734e package/linknx: host-pkgconf is mandatory
host-pkgconf is a mandatory dependency, this will fix per-package build

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-28 07:35:45 +01:00
Peter Korsgaard
993ddd2765 package/qt5: drop QT5_VERSION_LATEST symbol
Now that all the references to this symbol are gone, remove the blind
symbol.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:56:04 +01:00
Peter Korsgaard
f88e67a1db package/libv4l: drop QT5_VERSION_LATEST logic
Now that the version selection has been removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:56:00 +01:00
Peter Korsgaard
ec99c3a765 package/libmediaart: drop QT5_VERSION_LATEST logic
Now that the version selection has been removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:55:54 +01:00
Peter Korsgaard
41425ef67a package/kf5: drop QT5_VERSION_LATEST logic
Now that the version selection has been removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:55:50 +01:00
Peter Korsgaard
dad59b831e package/gst1-plugins-good: drop QT5_VERSION_LATEST logic
Now that the version selection has been removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:55:45 +01:00
Peter Korsgaard
ce0eaca1ea package/cutelyst: drop QT5_VERSION_LATEST logic
Now that the version selection has been removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:55:21 +01:00
Peter Korsgaard
80dd5c98f4 package/qt5xmlpatterns: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:55:04 +01:00
Peter Korsgaard
83f8813d41 package/qt5x11extras: drop qt 5.6 support
And get rid of the 5.12.7 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:41 +01:00
Peter Korsgaard
55e5b3464b package/qt5webview: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:34 +01:00
Peter Korsgaard
9c59c74714 package/qt5websockets: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:30 +01:00
Peter Korsgaard
1b15344f43 package/qt5webkit-examples: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:26 +01:00
Peter Korsgaard
68917a6fe5 package/qt5webkit: drop qt 5.6 support
And get rid of the 5.9.1 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:23 +01:00
Peter Korsgaard
d2b562b5ff package/qt5webengine: drop qt 5.6 support
And get rid of the 5.12.7 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:18 +01:00
Peter Korsgaard
f57ab9d1d2 package/qt5webchannel: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:08 +01:00
Peter Korsgaard
7a962dacdc package/qt5wayland: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:04 +01:00
Peter Korsgaard
8f6092dbb6 package/qt5virtualkeyboard: drop qt 5.6 support
And get rid of the 5.12.7 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:53:01 +01:00
Peter Korsgaard
86940ea633 package/qt5tools: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:57 +01:00
Peter Korsgaard
c99c2f7e6a package/qt5svg: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:53 +01:00
Peter Korsgaard
abdf3851e9 package/qt5serialport: drop qt 5.6 support
And get rid of the 5.12.7 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:50 +01:00
Peter Korsgaard
061157fc7b package/qt5serialbus: drop qt 5.6 support
And get rid of the 5.12.7 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:45 +01:00
Peter Korsgaard
e4b6e4198a package/qt5sensors: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:37 +01:00
Peter Korsgaard
57e30291c5 package/qt5scxml: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:30 +01:00
Peter Korsgaard
051a2e7b1b package/qt5script: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:28 +01:00
Peter Korsgaard
6496afdcde package/qt5quickcontrols2: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:24 +01:00
Peter Korsgaard
49bdf1763b package/qt5quickcontrols: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:21 +01:00
Peter Korsgaard
be8015ac6d package/qt5multimedia: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:18 +01:00
Peter Korsgaard
7bc2eca708 package/qt5location: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:12 +01:00
Peter Korsgaard
fce260c8c0 package/qt5imageformats: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:52:07 +01:00
Peter Korsgaard
bd75bdc762 package/qt5graphicaleffects: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:51:58 +01:00
Peter Korsgaard
366b3bb39f package/qt5enginio: drop qt 5.6 support
And get rid of the now unused BR2_PACKAGE_QT5BASE_OPENSSL symbol.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:51:29 +01:00
Peter Korsgaard
17fafd712a package/qt5declarative: drop 5.6 support
And get rid of the 5.12.7 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:51:21 +01:00
Peter Korsgaard
29469b6452 package/qt5connectivity: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:51:13 +01:00
Peter Korsgaard
4ccf0f8360 package/qt5charts: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:51:10 +01:00
Peter Korsgaard
50a3409a91 package/qt5canvas3d: drop qt 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:50:57 +01:00
Peter Korsgaard
66afb27b9d package/qt53d: drop 5.6 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:50:51 +01:00
Peter Korsgaard
7ef6ade0de package/qt5base: drop 5.6 support
And get rid of the 5.12.7 subdir now that the version selection is gone.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:50:43 +01:00
Peter Korsgaard
f2744e48ad package/qt5: drop 5.6 support
As discussed during the FOSDEM2019 develop days, Qt 5.6 is very old (5.6.3
was released in September 2017, and 5.6.x became EOL in March 2019), so drop
it before the new Buildroot LTS release:

https://elinux.org/Buildroot:DeveloperDaysFOSDEM2019#Qt5_versions_to_support:_keep_5.6_or_a_newer_LTS.3F

And add legacy handling for it.

There are a number of places where code checks for
BR2_PACKAGE_QT5_VERSION_LATEST, so leave that as a blind option for now to
not break the build.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:50:30 +01:00