]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
6 years agosupport/docker: use a known base distribution
Yann E. MORIN [Sun, 4 Feb 2018 14:44:24 +0000 (15:44 +0100)]
support/docker: use a known base distribution

Currently, we are using debian:stable, which is subject to change with
time, as new stable versions of Debian are released/updated.

Use the latest tagged stable release, stretch-20171210 as of today, as
the base distribution to use.

This will ease reproducible builds in the future.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/docker: don't be silent when setting up
Yann E. MORIN [Sun, 4 Feb 2018 14:44:23 +0000 (15:44 +0100)]
support/docker: don't be silent when setting up

This image is not built very often, and when it is, it is important to
see what's going on, so don't be silent when installing packages from
the distro, and since that can take a bit of time it thus serves as
progress report...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/docker: limit the number of layers
Yann E. MORIN [Sun, 4 Feb 2018 14:44:22 +0000 (15:44 +0100)]
support/docker: limit the number of layers

The official documentation [0] suggests limiting the number of layers
generated from a dockerfile. A layer is created for each RUN (and COPY
and ADD) command. But we are only ever interested in the final image,
so the intermediate layers are useless to us.

Limit the number of RUN commands to limit the number of generated
layers.

[0] https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#minimize-the-number-of-layers

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxcb-util-wm: add license file
Danomi Manchego [Sun, 4 Feb 2018 18:46:35 +0000 (13:46 -0500)]
xcb-util-wm: add license file

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxcb-util-image: add license file
Danomi Manchego [Sun, 4 Feb 2018 18:46:34 +0000 (13:46 -0500)]
xcb-util-image: add license file

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-remi: fix trailing whitespace and line size
Gwenhael Goavec-Merou [Sun, 4 Feb 2018 18:46:13 +0000 (19:46 +0100)]
python-remi: fix trailing whitespace and line size

Fixes line size in Config.in, trailing whitespace after # and empty line

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

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosafeclib: fix trailing whitespace
Fabrice Fontaine [Sun, 4 Feb 2018 16:36:50 +0000 (17:36 +0100)]
safeclib: fix trailing whitespace

Fixes trailing whitespace after MIT

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agontp: explicitly enable openssl-random when crypto is enabled
Adam Duskett [Wed, 8 Nov 2017 13:18:39 +0000 (08:18 -0500)]
ntp: explicitly enable openssl-random when crypto is enabled

If OpenSSL is selected, --enable-openssl-random should be explicitly
enabled for consistency with the disable case.

[Peter: tweak commit text]
Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodash: enable line editting if libedit is selected
Carlos Santos [Thu, 28 Sep 2017 18:07:56 +0000 (15:07 -0300)]
dash: enable line editting if libedit is selected

Otherwise, explicitly disable it, so that the configure script does not
misdetect a system-installed libedit for example.

Also, add a profile snippet enabling line editing, Emacs style.

[Peter: move DASH_INSTALL_PROFILE inside conditional,
ensure /etc/profile.d exists]
Change-Id: I68c6dbbafa95e266860329cb9c7ff5519fda5bf8
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogconf: add dependency on toolchain w/ dynamic lib
Joseph Kogut [Mon, 22 Jan 2018 06:11:21 +0000 (22:11 -0800)]
gconf: add dependency on toolchain w/ dynamic lib

GConf fails to build when BR2_STATIC_LIBS=y.

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

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-remi: new package
Gwenhael Goavec-Merou [Fri, 2 Feb 2018 21:42:05 +0000 (22:42 +0100)]
python-remi: new package

Remi is a GUI library for Python applications which transpiles an
application's interface into HTML to be rendered in a web browser.
This removes platform-specific dependencies and lets you easily
develop cross-platform applications in Python!

https://github.com/dddomodossola/remi/tree/master

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogdk-pixbuf: unbreak gdk-pixbuf loaders.cache
Pierre CROKAERT [Sat, 20 Jan 2018 10:46:19 +0000 (11:46 +0100)]
gdk-pixbuf: unbreak gdk-pixbuf loaders.cache

Fix gdk-pixbuf broken by host package moved to /lib instead of /usr/lib
Regression occured following commit 19ba17ee3ba946ac86 (Globally replace
$(HOST_DIR)/usr/lib with $(HOST_DIR)/lib).

The host package loader.cache now refer to $(HOST_DIR)/lib, and the target
one should refer to /usr/lib.

Fix it by adjusting the sed invocation.

[Peter: extend commit message]
Signed-off-by: Pierre CROKAERT <pct@crookies.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: drop old unsupported 3.x versions
Peter Korsgaard [Mon, 29 Jan 2018 21:48:25 +0000 (22:48 +0100)]
linux-headers: drop old unsupported 3.x versions

These versions are very old and no longer supported according to
https://www.kernel.org/category/releases.html, so drop them and add legacy
entries.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonetwork-manager: Add option for OpenVSwitch support
Petr Vorel [Thu, 1 Feb 2018 23:45:16 +0000 (00:45 +0100)]
network-manager: Add option for OpenVSwitch support

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonetwork-manager: Bump to version 1.10.2
Petr Vorel [Thu, 1 Feb 2018 23:45:15 +0000 (00:45 +0100)]
network-manager: Bump to version 1.10.2

handle new dependency to Jansson (since 1.10.0).

[Peter: unconditionally disable ovs support as suggested by Thomas]
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodhcp: disable isc assertions (reproducible builds)
Peter Seiderer [Fri, 27 Oct 2017 19:24:24 +0000 (21:24 +0200)]
dhcp: disable isc assertions (reproducible builds)

The isc assertions from the bundled bind dns library are
using the __FILE__ macro for debug messages (see
dhcp-4.3.5/bind/bind-9.9.9-P3/lib/isc/include/isc/assertions.h).

Disabling the assertions gains:

- reproducible builds (no build time paths in the executable)
- space saving on the target:
  dhcpd: 1.9M -> 1.6M
  dhcrelay: 1.6M -> 1.3M

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosafeclib: new package
Fabrice Fontaine [Tue, 19 Dec 2017 19:12:04 +0000 (20:12 +0100)]
safeclib: new package

safec fork with all C11 Annex K functions

This library implements the secure C11 Annex K functions on
top of most libc implementations, which are missing from them.

https://rurban.github.io/safeclib/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoliburiparser: bump to version 0.8.4
Carlos Santos [Fri, 2 Feb 2018 12:16:30 +0000 (10:16 -0200)]
liburiparser: bump to version 0.8.4

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoustr: bump debian patch to 1.0.4-6
Andrey Yurovsky [Wed, 31 Jan 2018 19:32:08 +0000 (11:32 -0800)]
ustr: bump debian patch to 1.0.4-6

Version 1.0.4-5 is no longer available, replace with 1.0.4-6 so ustr can
continue to be built.

[Peter: use snapshot.debian.org as suggested by Baruch]
Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodrbd-utils: bump version to 9.2.0
Christophe Vu-Brugier [Thu, 1 Feb 2018 09:37:04 +0000 (10:37 +0100)]
drbd-utils: bump version to 9.2.0

Also update the download URL.

This patch fixes many autobuild failures because drbd-utils packages
older than 8.9.9 are no longer provided by linbit.com.

Fixes:
http://autobuild.buildroot.net/results/a6d61c7ca8e505509d84869f072d812da79e949a
http://autobuild.buildroot.net/results/53ea7cfc57d912377b566474b15a47ffc077b047
http://autobuild.buildroot.net/results/3a6d7a384e6558156695b6ac46754976f4db7652
http://autobuild.buildroot.net/results/0576b80240ba439f7c2842a58e8bd418199e6100
http://autobuild.buildroot.net/results/3f9db30f18b58a6258acb5dfb9301936e5e05bf6

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/wf111: do a direct download
Yann E. MORIN [Sat, 3 Feb 2018 17:05:59 +0000 (18:05 +0100)]
package/wf111: do a direct download

We can now do a download without prior registration, so we can drop the
requirement for a local, pre-downloaded tarball, now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Cc: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/wf111: fix armv5 URL
Yann E. MORIN [Sat, 3 Feb 2018 17:05:58 +0000 (18:05 +0100)]
package/wf111: fix armv5 URL

Commit b857c7481 (package/wf111: bump to version 5.2.2-r3) forgot to
completely update the archive name for the armv5te variant.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Cc: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoaxfsutils: bump version
Chris Brandt [Fri, 2 Feb 2018 22:24:00 +0000 (17:24 -0500)]
axfsutils: bump version

This updated version fixes memory violations, memory leaks, compiler
warnings and includes updated documentation on usage.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump to version 0.0.20180202
Peter Korsgaard [Fri, 2 Feb 2018 23:38:07 +0000 (00:38 +0100)]
wireguard: bump to version 0.0.20180202

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/bash: remove dead comment
Yann E. MORIN [Sat, 3 Feb 2018 15:09:24 +0000 (16:09 +0100)]
package/bash: remove dead comment

Commit 02e5cef1 (system: add option to choose what /bin/sh points to)
removed the symlink creation, but forgot to remove the corresponding
comment, which is now more puzzling than amusing...

Remove the comment.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 15}.x series
Fabio Estevam [Sat, 3 Feb 2018 18:14:52 +0000 (16:14 -0200)]
linux-headers: bump 4.{4, 9, 14, 15}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.15.1
Fabio Estevam [Sat, 3 Feb 2018 18:14:51 +0000 (16:14 -0200)]
linux: bump default to version 4.15.1

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/raspberrypi*: bump kernel version
Mario Lang [Sat, 3 Feb 2018 17:21:29 +0000 (18:21 +0100)]
configs/raspberrypi*: bump kernel version

Now based on 4.9.79 (from 4.9.66).

Signed-off-by: Mario Lang <mlang@blind.guru>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython3: bump to 2.6.4
Adam Duskett [Tue, 30 Jan 2018 23:52:29 +0000 (18:52 -0500)]
python3: bump to 2.6.4

Also update necessary patches.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqemu_x86: use kernel 4.15
Adam Duskett [Tue, 30 Jan 2018 23:50:54 +0000 (18:50 -0500)]
qemu_x86: use kernel 4.15

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqemu_x86_64: use kernel 4.15
Adam Duskett [Tue, 30 Jan 2018 23:47:34 +0000 (18:47 -0500)]
qemu_x86_64: use kernel 4.15

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotzdata: bump to 2018c
Adam Duskett [Tue, 30 Jan 2018 23:45:16 +0000 (18:45 -0500)]
tzdata: bump to 2018c

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosystemd: update to v237
Adam Duskett [Tue, 30 Jan 2018 23:44:28 +0000 (18:44 -0500)]
systemd: update to v237

Also refresh patches and remove 0004-add-false-option-for-tests.patch as it has
been added upstream.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/snps_arc*_defconfig: update linux version
Evgeniy Didin [Fri, 2 Feb 2018 15:55:06 +0000 (18:55 +0300)]
configs/snps_arc*_defconfig: update linux version

With this commit we update Linux kernel version to 4.15 and
Linux headers version to 4.15.
Also patches for arc vdk are removed because these
changes were applied in Linux 4.15.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agophp: bump version to 7.2.2
Adam Duskett [Fri, 2 Feb 2018 12:50:39 +0000 (07:50 -0500)]
php: bump version to 7.2.2

Additional changes:
  - Fix ordering of patches.
  - Update patches to apply cleanly against 7.2.2
  - Updates License sha256sum

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoaudit: bump to 2.8.2
Adam Duskett [Thu, 1 Feb 2018 14:32:48 +0000 (09:32 -0500)]
audit: bump to 2.8.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoMakefile, manual, website: Bump copyright year
Peter Korsgaard [Thu, 1 Feb 2018 15:48:31 +0000 (16:48 +0100)]
Makefile, manual, website: Bump copyright year

Happy 2018!

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoautofs: update to 5.1.4
Waldemar Brodkorb [Wed, 31 Jan 2018 19:25:22 +0000 (20:25 +0100)]
autofs: update to 5.1.4

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.14.x series
Fabio Estevam [Wed, 31 Jan 2018 20:56:16 +0000 (18:56 -0200)]
linux-headers: bump 4.14.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2017.02.10
Peter Korsgaard [Wed, 31 Jan 2018 20:16:58 +0000 (21:16 +0100)]
docs/website: update for 2017.02.10

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2017.02.10
Peter Korsgaard [Wed, 31 Jan 2018 19:19:39 +0000 (20:19 +0100)]
Update for 2017.02.10

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 91850b34977440182e56c9eeb6d57ce34e5c8adc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodnsmasq: update homepage link
Baruch Siach [Wed, 31 Jan 2018 14:56:28 +0000 (16:56 +0200)]
dnsmasq: update homepage link

The doc.html seems like a better choice for a homepage link than the
list of files in the containing directory listing.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9}.x series
Fabio Estevam [Wed, 31 Jan 2018 13:15:15 +0000 (11:15 -0200)]
linux-headers: bump 4.{4, 9}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibva: remove consecutive empty lines
Thomas Petazzoni [Tue, 30 Jan 2018 22:23:09 +0000 (23:23 +0100)]
libva: remove consecutive empty lines

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: add myself for samba4
Bernd Kuhls [Sun, 28 Jan 2018 12:53:34 +0000 (13:53 +0100)]
DEVELOPERS: add myself for samba4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/samba4: Fix uClibc build on 64bit platforms by including stdint.h
Bernd Kuhls [Sun, 28 Jan 2018 12:53:33 +0000 (13:53 +0100)]
package/samba4: Fix uClibc build on 64bit platforms by including stdint.h

Fixes
http://autobuild.buildroot.net/results/fdd/fdd9bb5bea4488fc9e16746222051156224317a6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoangularjs: bump version to 1.6.7
Adam Duskett [Wed, 24 Jan 2018 22:03:57 +0000 (17:03 -0500)]
angularjs: bump version to 1.6.7

Also add a hash for the license file.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agobootstrap: bump version to 4.0.0
Adam Duskett [Wed, 24 Jan 2018 22:03:56 +0000 (17:03 -0500)]
bootstrap: bump version to 4.0.0

other changes:
  - Add a license file to bootstrap.mk
  - Add a hash for the license file to bootstrap.hash
  - Remove copying bootstrap-theme.min.css as it's no longer included.
  - Remove copying fonts folder as it's no longer included.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage: linuxptp: bump to the latest GIT version
Petr Kulhavy [Sun, 28 Jan 2018 16:00:19 +0000 (17:00 +0100)]
package: linuxptp: bump to the latest GIT version

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoaoetools: fix aoe-stat script that was using /bin/bash in its shebang
Sergio Prado [Fri, 26 Jan 2018 12:44:02 +0000 (10:44 -0200)]
aoetools: fix aoe-stat script that was using /bin/bash in its shebang

This will make the script more portable, making it possible to run on
systems that do not have bash.

The script was tested with ash from BusyBox and checked for portability
issues and bashisms with shellcheck and checkbashisms tools.

The patch was already applied upstream [1] and should be removed in the
next version bump.

[1] https://github.com/OpenAoE/aoetools/commit/4ef42740538cefd3c1554aa4df5bcb1388ac927b

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoeudev: fix printf usage in init script
Carlos Santos [Tue, 30 Jan 2018 04:07:19 +0000 (02:07 -0200)]
eudev: fix printf usage in init script

Using a variable in a printf format string may lead to undesirable
results if the variable contains format controls, so replace

    printf "foo $var bar"

by

    printf "foo %s bar" "$var"

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoeudev: fix error handling init script
Carlos Santos [Tue, 30 Jan 2018 04:07:18 +0000 (02:07 -0200)]
eudev: fix error handling init script

Replace (echo "msg" && exit 1) by { echo "msg"; exit 1; }.

The (list) compound command runs in a subshell, so the "exit" interrupts
the subshell, not the main script. Examples:

    $ sh -c "echo 1; (exit 1); echo 2"
    1
    2
    $ sh -c "echo 1; { exit 1; }; echo 2"
    1
    $

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agophp: bump to 7.2.1
Adam Duskett [Mon, 29 Jan 2018 16:53:26 +0000 (11:53 -0500)]
php: bump to 7.2.1

Also update 0003-configure-disable-the-phar-tool.patch as configure.in is no
longer provided in the tarballs. Instead, configure.ac is patched.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoltp-testsuite: Add upstream patch to fix build numa detection
Petr Vorel [Tue, 30 Jan 2018 21:23:49 +0000 (22:23 +0100)]
ltp-testsuite: Add upstream patch to fix build numa detection

This removes fix added in commit 3c937807a3 ("ltp-testsuite: disable numa tests")

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agomacchiatobin: bump kernel and u-boot versions
Sergey Matyukevich [Tue, 30 Jan 2018 21:13:07 +0000 (00:13 +0300)]
macchiatobin: bump kernel and u-boot versions

Bump Linux to 4.15 and U-Boot to 2018.01. Remove networking dts patches
since they has landed in Linux 4.15. Update readme.txt: fix mainline BSP
versions and update boot selection for board rev 1.3.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/connman: fix compilation error for kernels >= 4.15
Martin Bark [Tue, 30 Jan 2018 21:06:09 +0000 (21:06 +0000)]
package/connman: fix compilation error for kernels >= 4.15

Include the upstream fix 0001-tethering-Reorder-header-includes.patch

Fixes
http://autobuild.buildroot.net/results/90005b436e25495a1113966112785278dfc0420a
http://autobuild.buildroot.net/results/ab713048093746576734e90290b8777222d70e7e
http://autobuild.buildroot.net/results/368c2c8ab9b8db7f445a9681082ce1e10c7e0151
http://autobuild.buildroot.net/results/1c98fd9ce430463e720212ce8a3698e2b72cbe7d
http://autobuild.buildroot.net/results/bc865093e6ffec4737433c5a213c0241495e9ccc
http://autobuild.buildroot.net/results/e4d93b136ef8aff600264d743191bf087044c27a
http://autobuild.buildroot.net/results/a2feeeed4d0d11fda5f029f8c784ed6ce16ee856

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibevdev: bump version to 1.5.8
Peter Seiderer [Tue, 30 Jan 2018 20:01:21 +0000 (21:01 +0100)]
libevdev: bump version to 1.5.8

For details see [1].

[1] https://lists.freedesktop.org/archives/input-tools/2018-January/001447.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/nodejs: bump version to 8.9.4
Martin Bark [Tue, 30 Jan 2018 19:48:55 +0000 (19:48 +0000)]
package/nodejs: bump version to 8.9.4

See https://nodejs.org/en/blog/release/v8.9.4/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoca-certificates: bump to version 20170717
Martin Bark [Tue, 30 Jan 2018 19:48:54 +0000 (19:48 +0000)]
ca-certificates: bump to version 20170717

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump Linux CIP to v4.4.112-cip18
Angelo Compagnucci [Tue, 30 Jan 2018 15:05:59 +0000 (16:05 +0100)]
linux: bump Linux CIP to v4.4.112-cip18

This patch bump the Linux CIP kernel to version v4.4.112-cip18

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/binutils: remove support for 2.27
Romain Naour [Mon, 29 Jan 2018 22:39:41 +0000 (23:39 +0100)]
package/binutils: remove support for 2.27

Now that binutils 2.30 has been introduced, and we have moved to
2.29.1 as the default version, it is time to drop support for binutils
2.27.

Also use xz-compressed tarball for all official supported version.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/binutils: switch to use 2.29.x as the default version
Romain Naour [Mon, 29 Jan 2018 22:39:40 +0000 (23:39 +0100)]
package/binutils: switch to use 2.29.x as the default version

Now that binutils 2.30 has been released, it is time to move to
binutils 2.29.x as the default binutils version, instead of 2.28.1.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/binutils: add support for binutils 2.30
Romain Naour [Mon, 29 Jan 2018 22:39:39 +0000 (23:39 +0100)]
package/binutils: add support for binutils 2.30

All patches from binutils 2.29 are kept and slightly adapted to
differences that appeared in binutils 2.30.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoscanpypi: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:39 +0000 (22:44 -0200)]
scanpypi: fix code style

Fix these warnings:
E101 indentation contains mixed spaces and tabs
E128 continuation line under-indented for visual indent
E231 missing whitespace after ','
E261 at least two spaces before inline comment
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
W191 indentation contains tabs

Ignore these warnings:
E402 module level import not at top of file

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoget-developers: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:38 +0000 (22:44 -0200)]
get-developers: fix code style

Fix these warnings:
E202 whitespace before ']'
E203 whitespace before ':'
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
E711 comparison to None should be 'if cond is None:'
E741 ambiguous variable name 'l'
F401 'sys' imported but unused
W391 blank line at end of file

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocheck-package: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:35 +0000 (22:44 -0200)]
check-package: fix code style

Ignore these warnings:
F401 'lib.ConsecutiveEmptyLines' imported but unused

And remove comments that are not needed anymore.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotesting/tests/boot/test_atf: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:34 +0000 (22:44 -0200)]
testing/tests/boot/test_atf: fix code style

Fix these warnings:
E122 continuation line missing indentation or outdented
E302 expected 2 blank lines, found 1
F401 'os' imported but unused

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agosize-stats: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:33 +0000 (22:44 -0200)]
size-stats: fix code style

Fix these warnings:
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
E713 test for membership should be 'not in'

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopycompile: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:32 +0000 (22:44 -0200)]
pycompile: fix code style

Fix these warnings:
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agograph-build-time: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:31 +0000 (22:44 -0200)]
graph-build-time: fix code style

Fix these warnings:
E201 whitespace after '['
E202 whitespace before ']'
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1

Ignore these warnings:
E402 module level import not at top of file

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocheck-uniq-files: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:30 +0000 (22:44 -0200)]
check-uniq-files: fix code style

Fix these warnings:
E128 continuation line under-indented for visual indent
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agograph-depends: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:29 +0000 (22:44 -0200)]
graph-depends: fix code style

Fix these warnings:
E122 continuation line missing indentation or outdented
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent
E202 whitespace before ']'
E221 multiple spaces before operator
E225 missing whitespace around operator
E231 missing whitespace after ','
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
E502 the backslash is redundant between brackets
E713 test for membership should be 'not in'

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agokodi-texturepacker: fix compilation error with host gcc 7.x
Dagg Stompler [Fri, 19 Jan 2018 16:42:32 +0000 (18:42 +0200)]
kodi-texturepacker: fix compilation error with host gcc 7.x

When host-kodi-texturepacker is built on a machine using gcc 7.x, it
fails to build with:

/usr/include/stdlib.h:443:14: error: declaration of ‘void* reallocarray(void*, size_t, size_t) throw ()’ has a different exception specifier
 extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)

This commit backports the upstream fix for this problem.

The issue could be reproduced with the following defconfig (and a gcc
7.x host compiler):

BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_PY_PYC=y

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoorangepi-pc-plus: bump kernel and u-boot versions
Sergey Matyukevich [Mon, 29 Jan 2018 21:37:20 +0000 (00:37 +0300)]
orangepi-pc-plus: bump kernel and u-boot versions

Bump Linux to 4.15 and U-Boot to 2018.01. Enable dhcp for eth0 since
Ethernet support for Allwinner H2/H3 SoCs has landed in Linux 4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoorangepi-one: bump kernel and u-boot versions
Sergey Matyukevich [Mon, 29 Jan 2018 21:37:19 +0000 (00:37 +0300)]
orangepi-one: bump kernel and u-boot versions

Bump Linux to 4.15 and U-Boot to 2018.01. Enable dhcp for eth0 since
Ethernet support for Allwinner H2/H3 SoCs has landed in Linux 4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoejabberd: Bump to version 17.11
Johan Oudinet [Fri, 19 Jan 2018 16:29:31 +0000 (17:29 +0100)]
ejabberd: Bump to version 17.11

* Adapt all patches.
* Use the new configure option enable-system-deps even though there is
  still a patch needed to correct includes.
* Disable graphics to not depends on X libraries. Disable also
  mod_avatar from the default loaded modules, since this module
  requires graphics enabled.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodaq: add necessary dependencies on host-flex and host-bison
Sergio Prado [Tue, 23 Jan 2018 22:37:59 +0000 (20:37 -0200)]
daq: add necessary dependencies on host-flex and host-bison

daq depends on flex and bison to be configured.

Fixes:
http://autobuild.buildroot.net/results/43da4ae3b7fc26e6712d369d4d030954d0d85149
http://autobuild.buildroot.net/results/0fc2bcf9da758f427adf2fddca8ad1dace6a080e
http://autobuild.buildroot.net/results/7411ac4ae5bef71b78c69b680de2b72f389ad2ee
... and many more.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoorangepi-zero: bump linux to 4.15, u-boot to 2018.01
Peter Korsgaard [Mon, 29 Jan 2018 19:27:39 +0000 (20:27 +0100)]
orangepi-zero: bump linux to 4.15, u-boot to 2018.01

And enable dhcp for eth0 now that the ethernet is finally supported.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoorangepi-pc: bump linux to 4.15, u-boot to 2018.01
Peter Korsgaard [Mon, 29 Jan 2018 15:32:33 +0000 (16:32 +0100)]
orangepi-pc: bump linux to 4.15, u-boot to 2018.01

And enable dhcp for eth0 now that the ethernet is finally supported.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowine: Bump to version 3.0
André Hentschel [Sat, 20 Jan 2018 14:11:21 +0000 (15:11 +0100)]
wine: Bump to version 3.0

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcpprestsdk: require nptl threads
Adam Duskett [Tue, 23 Jan 2018 10:39:24 +0000 (05:39 -0500)]
libcpprestsdk: require nptl threads

pthread_condattr_setclock is used which is NPTL only.

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

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pinentry: avoid building qt5 version if qt4 is enabled
Zoltan Gyarmati [Mon, 29 Jan 2018 05:38:11 +0000 (06:38 +0100)]
package/pinentry: avoid building qt5 version if qt4 is enabled

BR2_PACKAGE_PINENTRY_QT5 selects BR2_PACKAGE_QT5, which can lead to Qt
version clash if otherwise Qt4 is selected as well. Making
BR2_PACKAGE_PINENTRY_QT5 depending on !BR2_PACKAGE_QT to avoid this.

Fixes:
     http://autobuild.buildroot.net/results/3c537e1260dc9ce57657ca0d49e318a10aee111e

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/berkeleydb: add security fix for CVE-2017-10140
Bernd Kuhls [Sat, 27 Jan 2018 22:41:21 +0000 (23:41 +0100)]
package/berkeleydb: add security fix for CVE-2017-10140

Fixes CVE-2017-10140: Berkeley DB reads DB_CONFIG from cwd

For more details, see:
https://security-tracker.debian.org/tracker/CVE-2017-10140

And add license hash while we are at it.

[Peter: extend commit message]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibpqxx: needs at least gcc 4.8 for c++11 features
James Knight [Tue, 23 Jan 2018 18:24:43 +0000 (13:24 -0500)]
libpqxx: needs at least gcc 4.8 for c++11 features

This package uses autoconf (AX_CXX_COMPILE_STDCXX_11) to validate C++11
support. The test code uses an auto static data member for validation;
however, support for this only exists in GCC 4.8+ [1]. This causes the
configuration script to generated the following errors:

    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ accepts -g... yes
    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features by default... no
    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -std=c++11... no
    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with +std=c++11... no
    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -h std=c++11... no
    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -std=c++0x... no
    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with +std=c++0x... no
    checking whether .../host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -h std=c++0x... no

Bumping the required GCC version of this package to at least v4.8.

Fixes:

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

[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55003

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/turbolua: bump version to v2.1.2
Marcin Niestroj [Mon, 29 Jan 2018 12:08:44 +0000 (13:08 +0100)]
package/turbolua: bump version to v2.1.2

Drop patch now upstream.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomerge_config.sh: add br2-external support
Ilya Kuzmich [Tue, 9 Jan 2018 11:37:43 +0000 (14:37 +0300)]
merge_config.sh: add br2-external support

Pass BR2_EXTERNAL value via -e option.
This will prevent merge_config.sh from silently eating any symbols defined in
external trees on a clean buildroot tree invocation.

Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-flask-cors: new package
Matt Weber [Tue, 23 Jan 2018 14:25:16 +0000 (08:25 -0600)]
python-flask-cors: new package

A Flask extension for handling Cross Origin Resource
Sharing (CORS), making cross-origin AJAX possible.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gpsd: upgrade to 3.17, remove obsolete patch
Zoltan Gyarmati [Mon, 29 Jan 2018 08:26:38 +0000 (09:26 +0100)]
package/gpsd: upgrade to 3.17, remove obsolete patch

The upstream patch which disables the build-time systemctl call made it into
this release so removing it here. Also adding hash for the COPYING file.

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/wf111: Fix manufacturer name and url
Julien Corjon [Mon, 29 Jan 2018 08:28:19 +0000 (09:28 +0100)]
package/wf111: Fix manufacturer name and url

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoaugeas: bump to version 1.10.1
Jörg Krause [Mon, 29 Jan 2018 13:18:32 +0000 (14:18 +0100)]
augeas: bump to version 1.10.1

Remove upstream patches included in the version bump.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoopen-lldp: requires dynamic linking interface (dlopen, ...)
Laurent Charpentier [Mon, 29 Jan 2018 12:45:30 +0000 (13:45 +0100)]
open-lldp: requires dynamic linking interface (dlopen, ...)

Fixes:
http://autobuild.buildroot.net/results/516456c8e21759e1ecee4ef9f9689a8f720ecd90/

This patch is to fix the following build error:
weak_readline.c:30:19: fatal error: dlfcn.h: No such file or directory
 #include <dlfcn.h>
                   ^
compilation terminated.
Makefile:890: recipe for target 'weak_readline.o' failed

Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/systemd: fix build with fallback hostname
Stefan Becker [Mon, 29 Jan 2018 09:45:06 +0000 (11:45 +0200)]
package/systemd: fix build with fallback hostname

Commit aebabb2780da4c5f85fec00b56f4690feb646073 used an automoake
configuration option. Replace it with the meson version.

Fixes #10716

Signed-off-by: Stefan Becker <chemobejk@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodovecot: add upstream security fix for CVE-2017-15132
Peter Korsgaard [Sun, 28 Jan 2018 22:33:10 +0000 (23:33 +0100)]
dovecot: add upstream security fix for CVE-2017-15132

A flaw was found in dovecot 2.0 up to 2.2.33 and 2.3.0.  An abort of SASL
authentication results in a memory leak in dovecot's auth client used by
login processes.  The leak has impact in high performance configuration
where same login processes are reused and can cause the process to crash due
to memory exhaustion.

For more details, see:
http://www.openwall.com/lists/oss-security/2018/01/25/4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoopenocd: add security fix for CVE-2018-5704
Peter Korsgaard [Sun, 28 Jan 2018 22:02:56 +0000 (23:02 +0100)]
openocd: add security fix for CVE-2018-5704

Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP
POST for sending data to 127.0.0.1 port 4444, which allows remote attackers
to conduct cross-protocol scripting attacks, and consequently execute
arbitrary commands, via a crafted web site.

For more details, see:
https://sourceforge.net/p/openocd/mailman/message/36188041/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: add menu for Intel QuickAssist firmware
Carlos Santos [Thu, 25 Jan 2018 17:29:51 +0000 (15:29 -0200)]
linux-firmware: add menu for Intel QuickAssist firmware

Firmware required when Intel QuickAssist is enabled in the kernel via
CRYPTO_DEV_QAT_DH895xCC, CRYPTO_DEV_QAT_C3XXX or CRYPTO_DEV_QAT_C62X.

See https://dpdk.org/doc/guides/cryptodevs/qat.html

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: add hashes for license files
Carlos Santos [Thu, 25 Jan 2018 17:29:50 +0000 (15:29 -0200)]
linux-firmware: add hashes for license files

Locally calculated, to fix legal-info generation.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/imx6-sabresd: Bump to kernel 4.15
Fabio Estevam [Sun, 28 Jan 2018 22:34:57 +0000 (20:34 -0200)]
configs/imx6-sabresd: Bump to kernel 4.15

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.15
Fabio Estevam [Sun, 28 Jan 2018 22:34:56 +0000 (20:34 -0200)]
linux: bump default to version 4.15

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump to 4.15 kernel version
Fabio Estevam [Sun, 28 Jan 2018 22:34:55 +0000 (20:34 -0200)]
linux-headers: bump to 4.15 kernel version

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain: add 4.15.x choice for headers
Fabio Estevam [Sun, 28 Jan 2018 22:34:54 +0000 (20:34 -0200)]
toolchain: add 4.15.x choice for headers

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>