buildroot.git
6 years agobluez-alsa: bump to version 1.3.0
Jörg Krause [Fri, 20 Jul 2018 07:04:18 +0000 (09:04 +0200)]
bluez-alsa: bump to version 1.3.0

Add optional build of rfcomm which requires readline.

Update license hash as authorship has been updated in the license file.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowavemon: bump to version 0.8.2
Jörg Krause [Fri, 20 Jul 2018 06:40:49 +0000 (08:40 +0200)]
wavemon: bump to version 0.8.2

Also add hash for license file.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoutil-linux: bump to version 2.32.1
Carlos Santos [Thu, 19 Jul 2018 16:59:21 +0000 (13:59 -0300)]
util-linux: bump to version 2.32.1

Small improvements and bug fixes. See change log at

    http://www.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32.1-ChangeLog

Change-Id: Ia337a51bb72fc25ca7867eeb88d8ed86bcfe7be8
Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 17}.x series
Fabio Estevam [Thu, 19 Jul 2018 17:33:35 +0000 (14:33 -0300)]
linux-headers: bump 4.{4, 17}.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.17.8
Fabio Estevam [Thu, 19 Jul 2018 17:33:34 +0000 (14:33 -0300)]
linux: bump default to version 4.17.8

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobusybox: Update to 1.29.1
Samuel Mendoza-Jonas [Thu, 19 Jul 2018 03:12:36 +0000 (13:12 +1000)]
busybox: Update to 1.29.1

Includes fixes to sendmail and wget.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcurl: add nghttp2 optional dependency
Michaël Burtin [Thu, 19 Jul 2018 13:54:09 +0000 (15:54 +0200)]
libcurl: add nghttp2 optional dependency

The nghttp2 package has recently been added to buildroot. When
enabled, this adds support for HTTP2 to libcurl.

By default, libcurl configure script will enable HTTP2 if the library
is found using pkg-config. Adding this option makes the build
consistent.

Signed-off-by: Michaël Burtin <michael.burtin@netgem.com>
Signed-off-by: Anisse Astier <anisse.astier.ext@netgem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonghttp2: new package
Michaël Burtin [Thu, 19 Jul 2018 13:54:08 +0000 (15:54 +0200)]
nghttp2: new package

nghttp2 is an implementation of HTTP/2 and its header
compression algorithm HPACK in C.

Signed-off-by: Michaël Burtin <michael.burtin@netgem.com>
Signed-off-by: Anisse Astier <anisse.astier.ext@netgem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/nitrogen8m: Add new defconfig
Gary Bisson [Thu, 19 Jul 2018 10:31:09 +0000 (12:31 +0200)]
configs/nitrogen8m: Add new defconfig

NXP i.MX8MQ based SBC with 2GB of LPDDR4 and 8GB eMMC.

More details on the platform here:
https://boundarydevices.com/product/nitrogen8m

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard/boundarydevices: add i.MX8MQ support to u-boot scripts
Gary Bisson [Thu, 19 Jul 2018 10:31:08 +0000 (12:31 +0200)]
board/boundarydevices: add i.MX8MQ support to u-boot scripts

- Update RAM address
- Update kernel image name for ARM64
- Update U-Boot boot command for ARM64
- Remove obsolete cmd_xxx_present check
- Remove obsolete wlan.mac parameter
- Add cmd_mipi command for MIPI-DSI interface

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard/boundarydevices: add i.MX8MQ support to post-build.sh
Gary Bisson [Thu, 19 Jul 2018 10:31:07 +0000 (12:31 +0200)]
board/boundarydevices: add i.MX8MQ support to post-build.sh

- Use proper ARCH for mkimage command
- Use different U-Boot binary name depending on ARCH

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard/boundarydevices: remove obsolete u-boot scripts
Gary Bisson [Thu, 19 Jul 2018 10:31:06 +0000 (12:31 +0200)]
board/boundarydevices: remove obsolete u-boot scripts

6x_bootscript/6x_upgrade have been deprecated for more than a year.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard/boundarydevices/common/post-build.sh: fix U-Boot naming
Gary Bisson [Thu, 19 Jul 2018 10:31:05 +0000 (12:31 +0200)]
board/boundarydevices/common/post-build.sh: fix U-Boot naming

The upgrade.cmd script expects the binary to be named
u-boot.<uboot_defconfig>.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard/freescale/common/imx: make imx8-bootloader-prepare more generic
Gary Bisson [Thu, 19 Jul 2018 10:31:04 +0000 (12:31 +0200)]
board/freescale/common/imx: make imx8-bootloader-prepare more generic

Allow user to override the hardcoded dtb name by using
BR2_ROOTFS_POST_SCRIPT_ARGS.

The only user of this script, configs/freescale_imx8mqevk, is updated
accordingly.

Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/misc/toolchainfile.cmake.in: use TARGET_LDFLAGS for shared and module libraries
Damien Thébault [Thu, 12 Jul 2018 06:52:13 +0000 (06:52 +0000)]
support/misc/toolchainfile.cmake.in: use TARGET_LDFLAGS for shared and module libraries

With cmake packages, we are only using TARGET_LDFLAGS for executables
and not for shared libraries.

This patch adds CMAKE_SHARED_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to the cmake toolchain file so that
buildroot TARGET_LDFLAGS are used for shared and module libraries.

Signed-off-by: Damien Thébault <damien.thebault@vitec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobind: fix build with zlib
Baruch Siach [Wed, 18 Jul 2018 18:53:04 +0000 (21:53 +0300)]
bind: fix build with zlib

The bind configure.in now checks for "${with_zlib}/include/zlib.h".
Remove the redundant "include/".

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobind: fix build with openssl
Baruch Siach [Wed, 18 Jul 2018 18:53:03 +0000 (21:53 +0300)]
bind: fix build with openssl

The bind configure.in uses AC_TRY_RUN that is not compatible with cross
compile. Disable eddsa unconditionally since it requires a newer OpenSSL
version than we currently have. Enable aes; this is always supported in
current OpenSSL versions.

Fixes:
http://autobuild.buildroot.net/results/3ed/3edb1659954b00401b68ffc7e1c8b3c29581c0e4/
http://autobuild.buildroot.net/results/025/025e377b51b39ba34647636ad0d0661a3cb95572/
http://autobuild.buildroot.net/results/725/7250564e780e43e793ae6c8c526985e5519681f4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/binutils: bump to version 2.31.1
Romain Naour [Wed, 18 Jul 2018 12:07:54 +0000 (14:07 +0200)]
package/binutils: bump to version 2.31.1

>From the release note:
  This is a point release over the previous 2.31 version, which was
  necessary as a source file was accidentally omitted from that
  release.

  This release also contains a fix for PR gold/23409 where the gold
  linker could end up creating duplicate copies of some symbols.

https://sourceware.org/ml/binutils/2018-07/msg00286.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibglib2: Avoid absolute path to python in shebang
David Owens [Thu, 12 Jul 2018 16:37:34 +0000 (11:37 -0500)]
libglib2: Avoid absolute path to python in shebang

When the output directory is nested under a long path name, calling the
gdbus-codegen, glib-genmarshal, or glib-mkenums scripts throws the
error:

> '/usr/bin/env: /...: No such file or directory'

This is because libglib2 uses the absolute path to the python
interpreter for its shebang statements, and shebangs have a max length
of 127 chars[1]. A long absolute path will be cut off and appear as a
missing file.

Since the host Python is present in the $PATH passed to all packages, we
can copy the workaround from Yocto and just use the python interpreter
in $PATH[2]. However, 'python' is used instead of 'python3' as the
scripts are compatible with both.

[1] https://linux.die.net/man/2/execve
[2] http://cgit.openembedded.org/openembedded-core/commit/?id=eef7883587acc933d6f34b559ec03ff84d18573b

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: David Owens <david.owens@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: add bluez-alsa to Jörg Krause
Jörg Krause [Wed, 18 Jul 2018 10:40:00 +0000 (12:40 +0200)]
DEVELOPERS: add bluez-alsa to Jörg Krause

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: remove some packages from Jörg Krause
Jörg Krause [Wed, 18 Jul 2018 10:39:59 +0000 (12:39 +0200)]
DEVELOPERS: remove some packages from Jörg Krause

Remove the following packages from myself:
* bctoolbox
* libshout
* mp4v2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoshairport-sync: bump to version 3.2.1
Jörg Krause [Wed, 18 Jul 2018 10:30:20 +0000 (12:30 +0200)]
shairport-sync: bump to version 3.2.1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowireless-regdb: add regulatory.db[.p7s] to /lib/firmware
Christoph Engelbert [Mon, 16 Jul 2018 15:13:03 +0000 (18:13 +0300)]
wireless-regdb: add regulatory.db[.p7s] to /lib/firmware

Starting from kernel version 4.15, Linux supports loading
regulatory.db and regulatory.db.p7s files directly from /lib/firmware,
without the need of crda. If the kernel can't load those files it'll
fallback to using crda, but the direct way is preferred.

This patch copies those those files under /lib/firmware. The use of
crda shouldn't be necessary with kernels of 4.15 or later.

Signed-off-by: Christoph Engelbert <me@noctarius.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocutelyst: new package
Daniel Nicoletti [Tue, 17 Jul 2018 20:46:13 +0000 (17:46 -0300)]
cutelyst: new package

A C++ Web Framework built on top of Qt, using
the simple approach of Catalyst (Perl) framework.

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: add entry in DEVELOPERS file, move cmake-package invocation
to the end of .mk file, select BR2_PACKAGE_OPENSSL.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years ago.gitlab-ci.yml: update with the addition of olimex_a10_olinuxino_lime_defconfig
Thomas Petazzoni [Wed, 18 Jul 2018 09:57:42 +0000 (11:57 +0200)]
.gitlab-ci.yml: update with the addition of olimex_a10_olinuxino_lime_defconfig

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/imx7d-sdb: Add new defconfig
Fabio Estevam [Sun, 8 Jul 2018 21:16:19 +0000 (18:16 -0300)]
configs/imx7d-sdb: Add new defconfig

Introduce imx7d-sdb_defconfig that allows booting imx7d-sdb
board using U-Boot and kernel mainline instead of the
vendor provided versions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
[Thomas: add DEVELOPERS entry, regenerate .gitlab-ci.yml]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimx/post-image: Allow flashing u-boot-dtb.imx in the SD card
Fabio Estevam [Sun, 8 Jul 2018 21:16:18 +0000 (18:16 -0300)]
imx/post-image: Allow flashing u-boot-dtb.imx in the SD card

Add support for flashing the u-boot-dtb.imx binary in the SD card
when a target selects BR2_TARGET_UBOOT_FORMAT_DTB_IMX.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocargo-bin: bump version to 0.27.0
Eric Le Bihan [Tue, 17 Jul 2018 20:48:56 +0000 (22:48 +0200)]
cargo-bin: bump version to 0.27.0

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agorust: bump version to 1.27.1
Eric Le Bihan [Tue, 17 Jul 2018 20:48:55 +0000 (22:48 +0200)]
rust: bump version to 1.27.1

Bump version to 1.27.1 and backport some patches to fix build of
rust-installer.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agorust-bin: bump version to 1.27.1
Eric Le Bihan [Tue, 17 Jul 2018 20:48:54 +0000 (22:48 +0200)]
rust-bin: bump version to 1.27.1

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/elf2flt: fix build with Binutils >= 2.31
Romain Naour [Tue, 17 Jul 2018 16:31:42 +0000 (18:31 +0200)]
package/elf2flt: fix build with Binutils >= 2.31

Binutils added diagnostics.h to bfd.h [1], so elf2flt must create a
symlink for this header.

Fixes:
https://gitlab.com/free-electrons/toolchains-builder/-/jobs/82284139

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=95da9854466ada2572b42f5528711a06a2d42db1

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoaircrack-ng: bump to version 1.3
Laurent Cans [Tue, 17 Jul 2018 15:29:06 +0000 (17:29 +0200)]
aircrack-ng: bump to version 1.3

- Remove patches (already in version)
- Add optional dependency to jemalloc

Signed-off-by: Laurent Cans <laurent.cans@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 17}.x series
Fabio Estevam [Tue, 17 Jul 2018 12:50:19 +0000 (09:50 -0300)]
linux-headers: bump 4.{4, 9, 14, 17}.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.17.7
Fabio Estevam [Tue, 17 Jul 2018 12:50:18 +0000 (09:50 -0300)]
linux: bump default to version 4.17.7

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobind: security bump to 9.11.4
Baruch Siach [Tue, 17 Jul 2018 11:32:54 +0000 (14:32 +0300)]
bind: security bump to 9.11.4

Fixes CVE-2018-5738: When recursion is enabled but the allow-recursion
and allow-query-cache ACLs are not specified, they should be limited to
local networks, but they were inadvertently set to match the default
allow-query, thus allowing remote queries.

Update license file hash; copyright year update.

Add reference to tarball signature key.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoncurses: make host-ncurses use host terminfo
Hollis Blanchard [Tue, 10 Jul 2018 16:46:03 +0000 (09:46 -0700)]
ncurses: make host-ncurses use host terminfo

Host GDB suffers a serious problem: pressing backspace (or ^W ^U or any other
"delete" key) results in a plain space being printed instead, making the
command prompt almost completely unusable.

That's because it's using host-ncurses, which embeds a path for the terminfo
database into the library itself. That path ends up being something like
/home/hollisb/buildroot.git/output/host/share/terminfo, which obviously doesn't
generally exist other hosts. ('relocate-sdk.sh' cannot and does not edit
binaries like libncurses.so.6, so doesn't resolve this problem.)

/usr/share/terminfo is a far better path to use, since it almost certainly
exists on the host. Theoretically, it could be from a different ncurses version
with incompatible terminfo database format, but this doesn't seem to be a
problem in practice. (Future patches could address the theoretical problem if
it actually appears in real life.)

This change allows buildroot's host gdb, which uses ncurses 6.x, to work on
RHEL5, RHEL6, and RHEL7, which all provide terminfo from ncurses 5.x.

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: Backport code generation fix for ARC700
Alexey Brodkin [Thu, 12 Jul 2018 11:13:49 +0000 (14:13 +0300)]
package/gcc: Backport code generation fix for ARC700

Fixes assembler failure when compiling for ARC700 only:
------------------------>8---------------------
{standard input}: Assembler messages:
{standard input}:213: Error: operand out of range (128 is not between -128 and 127)
make[2]: *** [scripts/Makefile.build:317: net/ipv4/xfrm4_mode_tunnel.o] Error 1
------------------------>8---------------------

This is an upstream fix scheduled for the next release, see
https://github.com/gcc-mirror/gcc/commit/5afc07eeb18fb7dd351ac981367bce721ca22af3

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/binutils: add binutils version 2.31
Romain Naour [Mon, 16 Jul 2018 21:30:10 +0000 (23:30 +0200)]
package/binutils: add binutils version 2.31

https://sourceware.org/ml/binutils/2018-07/msg00213.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: add myself for clang and llvm
Joseph Kogut [Mon, 16 Jul 2018 17:21:41 +0000 (10:21 -0700)]
DEVELOPERS: add myself for clang and llvm

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: update email for llvm and clang
Valentin Korenblit [Tue, 17 Jul 2018 09:31:09 +0000 (11:31 +0200)]
DEVELOPERS: update email for llvm and clang

Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/apache: bump version to 2.4.34
Bernd Kuhls [Mon, 16 Jul 2018 19:34:57 +0000 (21:34 +0200)]
package/apache: bump version to 2.4.34

Changelog: http://www.apache.org/dist/httpd/CHANGES_2.4.34

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pulseaudio: bump version to 12.2
Bernd Kuhls [Mon, 16 Jul 2018 18:35:52 +0000 (20:35 +0200)]
package/pulseaudio: bump version to 12.2

Release notes:
https://lists.freedesktop.org/archives/pulseaudio-discuss/2018-July/030280.html

Removed md5 and sha1 hashes, not provided by upstream anymore.
Added sha256 hash provided by upstream, removed locally computed sha256
hash.

Fixes
http://autobuild.buildroot.net/results/c8d/c8d3822ee34d0bbcba14eecc8524c8c865c85c1b/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocapnproto: new package
Joel Carlson [Tue, 10 Jul 2018 22:31:25 +0000 (16:31 -0600)]
capnproto: new package

Adds the capnproto package. This also builds a host variant to generate
the capnp compiler that can be used to compile message definitions into
C++ code. Includes a patch from upstream to fix an issue with uclibc.

Signed-off-by: Koen Martens <gmc@sonologic.nl>
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
[Thomas: only link with -latomic when BR2_TOOLCHAIN_HAS_LIBATOMIC=y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocoreutils: optimize the '[' symlink
Baruch Siach [Wed, 11 Jul 2018 19:51:19 +0000 (22:51 +0300)]
coreutils: optimize the '[' symlink

Link '[' directly to the coreutils binary instead of going through
'test'.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocoreutils: fix chroot installation
Baruch Siach [Wed, 11 Jul 2018 19:51:18 +0000 (22:51 +0300)]
coreutils: fix chroot installation

Since commit 256bb383fb7 (coreutils: use single binary in symlink
method) the chroot move command creates a dangling symlink, because the
symlink target is 'coreutils' which is not in the /usr/sbin/ directory.
Instead of moving, remove the coreutils installed symlink, and create a
new one in $(TARGET_DIR)/usr/sbin with the correct target.

Should also fix (busybox):
http://autobuild.buildroot.net/results/6b3/6b39648b466738162516aa50ab328d839ec85448/

Cc: Carlos Santos <casantos@datacom.ind.br>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowampcc: needs atomic
Fabrice Fontaine [Tue, 10 Jul 2018 18:27:40 +0000 (20:27 +0200)]
wampcc: needs atomic

Fixes:
 - http://autobuild.buildroot.net/results/2f994762d4e01a904c50cf2728a4103e6e79da2a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/minetest-game: bump to version 4.17
Romain Naour [Thu, 5 Jul 2018 22:11:08 +0000 (00:11 +0200)]
package/minetest-game: bump to version 4.17

Remove upstream patch.

Update license hash for mods/default/license.txt
(Book textures updated)

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/minetest: bump to version 4.17.1
Romain Naour [Thu, 5 Jul 2018 22:11:07 +0000 (00:11 +0200)]
package/minetest: bump to version 4.17.1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-net-telnet: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:54 +0000 (23:00 +0200)]
perl-net-telnet: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-net-ssh2: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:53 +0000 (23:00 +0200)]
perl-net-ssh2: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-net-snmp: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:52 +0000 (23:00 +0200)]
perl-net-snmp: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-net-ping: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:51 +0000 (23:00 +0200)]
perl-net-ping: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-mojolicious-plugin-authentication: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:50 +0000 (23:00 +0200)]
perl-mojolicious-plugin-authentication: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-mime-base64-urlsafe: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:49 +0000 (23:00 +0200)]
perl-mime-base64-urlsafe: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-digest-md5: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:48 +0000 (23:00 +0200)]
perl-digest-md5: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-crypt-cbc: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:47 +0000 (23:00 +0200)]
perl-crypt-cbc: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-crypt-blowfish: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:46 +0000 (23:00 +0200)]
perl-crypt-blowfish: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-convert-asn1: new package
Thomas De Schampheleire [Thu, 12 Jul 2018 21:00:45 +0000 (23:00 +0200)]
perl-convert-asn1: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoRevert "librsvg: bump to version 2.42.5"
Thomas Petazzoni [Mon, 16 Jul 2018 11:12:14 +0000 (13:12 +0200)]
Revert "librsvg: bump to version 2.42.5"

This reverts commit 1ec1f865515223426518e0709d4ca8b57dded6fc, which
causes numerous build failures due to Rust handling problems. See the
thread at
http://lists.busybox.net/pipermail/buildroot/2018-June/223642.html for
details.

Fixes (or rather avoids):

  http://autobuild.buildroot.net/results/26102d0ec258d5ef3af36ac32371fba1c996965b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoRevert "package/automake: bump version to 1.16.1"
Thomas Petazzoni [Mon, 16 Jul 2018 11:09:30 +0000 (13:09 +0200)]
Revert "package/automake: bump version to 1.16.1"

This reverts commit d36a01273b4d6be2758682784c47ee4e2e610090, which
causes several build breakage. The squid build breakage has a proposed
fix, but it has some comments from Arnout.

In order to reduce the build failure noise in the autobuilders, let's
revert back to the previous version of automake.

Fixes (or rather avoids):

  http://autobuild.buildroot.net/results/2f6ac1663681b702538a2163a02e030880075eda/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pulseaudio: bump version to 12.1
Bernd Kuhls [Sun, 15 Jul 2018 08:25:37 +0000 (10:25 +0200)]
package/pulseaudio: bump version to 12.1

Release notes:
https://lists.freedesktop.org/archives/pulseaudio-discuss/2018-July/030259.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/asus_tinker_rk3288: use uboot 2018.07
Yannis Damigos [Wed, 11 Jul 2018 12:38:29 +0000 (15:38 +0300)]
configs/asus_tinker_rk3288: use uboot 2018.07

Using uboot version 2017.11 creates an sd card image which fails to
boot with the following error:

  Missing DTB
  ### ERROR ### Please RESET the board ###

Updating tinkerboard default configuration to use latest uboot release
2018.07 creates a sd card image which boot fine.

Signed-off-by: Yannis Damigos <ydamigos@iccs.gr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopkg-generic: fix no-check-hash for inferred site method
Ricardo Martincoski [Fri, 29 Jun 2018 01:42:46 +0000 (22:42 -0300)]
pkg-generic: fix no-check-hash for inferred site method

Currently, when the site method is explicitly set to a SCM other than
git, the main download is correctly excluded from being hash-checked.
But when the site method is inferred from the site uri, the download
from a SCM other than git is wrongly being hash-checked.

Fix this by moving the code that excludes SCM methods from hash-check
below the code that infers the site method.

Currently there is no package in the tree that uses inferred site
method, and that is why the autobuilder didn't caught this. We had
packages using inferred site method in the past, the last one was
'expect', but since they didn't have a hash file (for a license or
extra-download for example) the build didn't error out.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xapp_mkfontscale: select dependencies
Bernd Kuhls [Fri, 13 Jul 2018 19:51:36 +0000 (21:51 +0200)]
package/x11r7/xapp_mkfontscale: select dependencies

xapp_mkfontscale depends on xproto_xproto & zlib but did not select
them.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ffmpeg: bump version to 3.4.3
Bernd Kuhls [Sat, 14 Jul 2018 08:27:10 +0000 (10:27 +0200)]
package/ffmpeg: bump version to 3.4.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.1.4
Bernd Kuhls [Sat, 14 Jul 2018 07:14:41 +0000 (09:14 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 18.1.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibuv: bump to version 1.22.0
Asaf Kahlon [Sat, 14 Jul 2018 06:21:49 +0000 (09:21 +0300)]
libuv: bump to version 1.22.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 0.28.0
Bernd Kuhls [Sat, 14 Jul 2018 08:28:35 +0000 (10:28 +0200)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.28.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard/minnowboard: add CONFIG_IGB in Linux kernel config
Pierre-Louis Bossart [Sat, 14 Jul 2018 19:15:14 +0000 (14:15 -0500)]
board/minnowboard: add CONFIG_IGB in Linux kernel config

The 2017 MinnowBoard Turbot skews no longer use the Realtek 8169
Ethernet chip.  The Turbot D0 uses The Intel I211, the Turbot Dual
Ethernet has an I210 (quad-core) or I211 (dual-core).

Add CONFIG_IGB to the Linux config but keep the Realtek 8169 support
to avoid breaking older boards

Tested on Turbot D0, lspci -k shows the igb driver is used:
03:00.0 Class 0200: 8086:1539 igb

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tor: bump version to 0.3.3.9
Bernd Kuhls [Fri, 13 Jul 2018 20:29:31 +0000 (22:29 +0200)]
package/tor: bump version to 0.3.3.9

Changelog:
https://gitweb.torproject.org/tor.git/commit/ChangeLog?h=tor-0.3.3.9&id=5521729da9fc5ca732db4f9ccd2e217f4231e1b6

o Directory authority changes:
  - The "Bifroest" bridge authority has been retired; the new bridge
    authority is "Serge", and it is operated by George from the
    TorBSD project. Closes ticket 26771.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibostree: add upstream patch to fix linking errors
Marcus Folkesson [Thu, 12 Jul 2018 05:55:15 +0000 (07:55 +0200)]
libostree: add upstream patch to fix linking errors

Support for Avahi in libostree depends on some support functions from
libsoup.
Use its own support functions in case of libsoup is not provided.

Fixes:
  http://autobuild.buildroot.net/results/5e5441822e2a94f8de51bfa0470aced84720ce31

[Peter: enable AUTORECONF as .am file is touched]
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/x265: fix arm build
Bernd Kuhls [Sat, 7 Jul 2018 15:54:25 +0000 (17:54 +0200)]
package/x265: fix arm build

Fixes
http://autobuild.buildroot.net/results/048/048e1914d89d7893f12b90b66a7aa1dbf41b820c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcurl: security bump to version 7.61.0
Baruch Siach [Thu, 12 Jul 2018 18:15:57 +0000 (21:15 +0300)]
libcurl: security bump to version 7.61.0

Fixes CVE-2018-0500: curl might overflow a heap based memory buffer when
sending data over SMTP and using a reduced read buffer.

Drop upstream patch.

Add reference to tarball signature key.

Drop CRYPTO_lock seed. Removed from configure script since 7.45.

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, 14, 17}.x series
Fabio Estevam [Wed, 11 Jul 2018 16:03:51 +0000 (13:03 -0300)]
linux-headers: bump 4.{4, 9, 14, 17}.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.17.6
Fabio Estevam [Wed, 11 Jul 2018 16:03:50 +0000 (13:03 -0300)]
linux: bump default to version 4.17.6

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/x11r7/xlib_libdmx: bump version to 1.1.4
Bernd Kuhls [Mon, 9 Jul 2018 17:45:49 +0000 (19:45 +0200)]
package/x11r7/xlib_libdmx: bump version to 1.1.4

Added license hash and all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/x11r7/xlib_libXinerama: bump version to 1.1.4
Bernd Kuhls [Mon, 9 Jul 2018 17:45:48 +0000 (19:45 +0200)]
package/x11r7/xlib_libXinerama: bump version to 1.1.4

Added license hash and all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/x11r7/xlib_libXScrnSaver: bump version to 1.2.3
Bernd Kuhls [Mon, 9 Jul 2018 17:45:47 +0000 (19:45 +0200)]
package/x11r7/xlib_libXScrnSaver: bump version to 1.2.3

Added license hash and all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/x11r7/xdriver_xf86-video-intel: bump version
Bernd Kuhls [Mon, 9 Jul 2018 17:45:46 +0000 (19:45 +0200)]
package/x11r7/xdriver_xf86-video-intel: bump version

This version bump includes

https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=359477215092ac1b602ad1e2f17a28963d9224c2

which is needed for compatibility with upcoming xserver_xorg-server
1.20.0.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/x11r7/xdriver_xf86-input-mouse: bump version to 1.9.3
Bernd Kuhls [Mon, 9 Jul 2018 17:45:45 +0000 (19:45 +0200)]
package/x11r7/xdriver_xf86-input-mouse: bump version to 1.9.3

Added license hash and all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/x11r7/xdriver_xf86-video-vmware: bump version to 13.3.0
Bernd Kuhls [Mon, 9 Jul 2018 17:45:44 +0000 (19:45 +0200)]
package/x11r7/xdriver_xf86-video-vmware: bump version to 13.3.0

Added license hash and all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/x11r7/xdriver_xf86-video-mach64: bump version to 6.9.6
Bernd Kuhls [Mon, 9 Jul 2018 17:45:43 +0000 (19:45 +0200)]
package/x11r7/xdriver_xf86-video-mach64: bump version to 6.9.6

Added license hash and all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/attr: bump version
Yann E. MORIN [Sat, 30 Jun 2018 14:21:27 +0000 (16:21 +0200)]
package/attr: bump version

The current version of attr uses a canned custom buildsystem, that
is borked in quite a few ways (no support for static, overwrites
destination files without unlinking...)

There has been a release recently-ish, with a complete overhaul of
the buildsystem. We can now drop all our patches.

The option to disable NLS has changed, so update accordingly.

Fixes: #10986
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
[Arnout: use the original SITE instead of a specific mirror]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/acl: bump version
Yann E. MORIN [Sat, 30 Jun 2018 14:21:26 +0000 (16:21 +0200)]
package/acl: bump version

Of most interest is the build system overhaul, and the drop of the
dependency on attr-provided <attr/xattr.h> in favour of the
system-provided <sys/xattr.h>.

That last bit meaning that we will be able to bump attr.

We can drop our patches: static is now natively supported thanks to
the use of libtool, and the internal symbols patch was a backport,
and finally, our install patch is superseded by the use of autotools.

The option to disable NLS has changed, so update accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoboost: detect missing selects
Fabrice Fontaine [Sat, 7 Jul 2018 12:49:40 +0000 (14:49 +0200)]
boost: detect missing selects

As suggested by Arnout during the review of
http://patchwork.ozlabs.org/patch/934589, add a mechanism to detect a
missing boost select by checking that we do not install a boost library
which hasn't been selected by the user.

To manage a change of boost configuration by the user between two
builds, add a BOOST_PRE_INSTALL_TARGET_HOOKS to remove all boost
libraries before installing them.

Also, use ls with a wildcard instead of test to avoid trying to guess
library names if boost layout is set to tagged or versionned (the
wildcard will also help us to manage shared or static library)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoutils/test-pkg: log the output of merge-config
Yann E. MORIN [Sun, 8 Jul 2018 10:26:59 +0000 (12:26 +0200)]
utils/test-pkg: log the output of merge-config

Currently, the stdout is consigned to oblivion, while the stderr is not
redirected at all. So, when the configuration under test redefines a
symbol, like is the case when testing busybox for example, there is an
ugly warning.

So, just redirect both stdout and stderr to the logfile.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoconfigs/olimex_a10_olinuxino_lime_defconfig: new board
Leon Anavi [Mon, 9 Jul 2018 13:46:25 +0000 (16:46 +0300)]
configs/olimex_a10_olinuxino_lime_defconfig: new board

Add a defconfig for the Olimex A10-OLinuXino-LIME, reusing most
of the A20-OLinuXino-Lime and A13-OLinuXino files (sym links).

The configurations for Olimex A10-OLinuXino-LIME feature:
- U-Boot 2018.03
- Mainline Linux kernel 4.14.26

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
[Arnout: remove commented-out BR2_ARM_EABIHF=y (which is default)]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agolua: bump to version 5.3.5
Francois Perrad [Tue, 10 Jul 2018 16:36:37 +0000 (18:36 +0200)]
lua: bump to version 5.3.5

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump to 0.0.20180708
Jason A. Donenfeld [Tue, 10 Jul 2018 19:35:54 +0000 (21:35 +0200)]
wireguard: bump to 0.0.20180708

* chacha20poly1305: use slow crypto on -rt kernels on arm too

Leftover from the last commit of the previous snapshot that we forgot to
handle.

* tools: getentropy requires macOS 10.12

Small build time fixup for old versions of macOS.

* queueing: remove useless spinlocks on sc
* queueing: re-enable preemption periodically to lower latency
* simd: encapsulate fpu amortization into nice functions
* simd: no need to restore fpu state when no preemption

This will improve general system latency on preempt-enabled systems, like
desktops.

* dns-hatchet: apply resolv.conf's selinux context to new resolv.conf

Fixes wg-quick's dns hatchet on CentOS.

* qemu: bump default kernel

By bumping to 4.17.2, we actually uncovered a bug in the SLUB allocator, which
upstream is now fixing: https://lkml.org/lkml/2018/6/18/1407

* noise: take locks for ss precomputation
* netlink: maintain static_identity lock over entire private key update

Minor locking correctness fixes and optimizations.

* noise: wait for crng before taking locks

We now make sure that an outgoing packet which needs a potentially unseeded
rng won't block a call to wg(8), which takes similar locks for retrieving
data.

* receive: drop handshake packets if rng is not initialized

If the rng is unseeded, we drop incoming handshake packets, so that it's not
possible for an attacker to fill the handshake queue thereby provoking
cookies.

* ratelimiter: mitigate reference underflow
* ratelimiter: do not allow concurrent init and uninit

Minor correctness and hardening fixes, which don't fix anything particular in
WireGuard, but might be useful if our ratelimiter is ever used elsewhere.

* compat: use stabler lkml links
* poly1305: add missing string.h header

Minor fixups.

* receive: don't toggle bh

The last snapshot caused a big performance regression, which we partially
revert here. This general matter, though, will be revisited in the future,
perhaps by switching to NAPI.

* main: test poly1305 before chacha20poly1305
* poly1305: give linker the correct constant data section size

While the default bfd linker did the right thing, gold would sometimes merge
section incorrectly because of an incorrect section length field, resulting in
wrong calculations.

* simd: add missing header

Fixes a compile error on a few odd kernels.

* global: fix a few typos
* manpages: eliminate whitespace at the end of the line
* tools: fix misspelling of strchrnul in comment

Cosmetic fixups.

* global: use ktime boottime instead of jiffies
* global: use fast boottime instead of normal boottime
* compat: more robust ktime backport

We now use the equivalent of clock_gettime(CLOCK_BOOTTIME) for doing age
checks on time-limited objects, such as ephemeral keys, so that on systems
where we don't clear before sleep (like Android), we make sure to invalidate
the objects after the proper amount of time, taking into account time spent
asleep.

* wg-quick: android: prevent outgoing handshake packets from being dropped

Recent android phones block outgoing packets using iptables while the system
is asleep. This makes sense for most services, but not for a tunnel device
itself, so we work around this by inserting our own iptables rule.

* device: print daddr not saddr in missing peer error
* receive: style

Debug messages now make sense again.

* wg-quick: android: support excluding applications

Android now supports excluding certain apps (uids) from the tunnel.

* selftest: ratelimiter: improve chance of success via retry
* qemu: bump default kernel version
* qemu: decide debug kernel based on KERNEL_VERSION

Some improvements to our testing infrastructure.

* receive: use NAPI on the receive path

This is a big change that should both improve preemption latency (by not
disabling it unconditionally) and vastly improve rx performance on most
systems by using NAPI. The main purpose of this snapshot is to test out this
technique.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobrltty: add optional at-spi2-core dependency
Fabrice Fontaine [Tue, 10 Jul 2018 18:22:26 +0000 (20:22 +0200)]
brltty: add optional at-spi2-core dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agozstd: bump to version 1.3.5
Baruch Siach [Tue, 10 Jul 2018 15:45:06 +0000 (18:45 +0300)]
zstd: bump to version 1.3.5

Drop upstream patches.

Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agouemacs: bump to latest git commit
Baruch Siach [Tue, 10 Jul 2018 14:48:51 +0000 (17:48 +0300)]
uemacs: bump to latest git commit

Add license and license hash.

Change git download site. The git download method does not work with
BR2_KERNEL_MIRROR that is set to https://cdn.kernel.org/pub by default.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosed: bump to version 4.5
Baruch Siach [Tue, 10 Jul 2018 12:10:05 +0000 (15:10 +0300)]
sed: bump to version 4.5

Add signature and key reference.

Add license hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/ffmpeg: add optional support for libdrm
Bernd Kuhls [Mon, 9 Jul 2018 17:47:44 +0000 (19:47 +0200)]
package/ffmpeg: add optional support for libdrm

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/tor: bump version to 0.3.3.8
Bernd Kuhls [Mon, 9 Jul 2018 22:59:36 +0000 (00:59 +0200)]
package/tor: bump version to 0.3.3.8

Release notes: https://blog.torproject.org/tor-0338-released

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/clamav: security bump to 0.100.1
Bernd Kuhls [Mon, 9 Jul 2018 22:52:19 +0000 (00:52 +0200)]
package/clamav: security bump to 0.100.1

Fixes CVE-2017-16932, CVE-2018-0360 & CVE-2018-0361:
http://lists.clamav.net/pipermail/clamav-announce/2018/000032.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiperf: bump to version 2.0.12
Baruch Siach [Tue, 10 Jul 2018 06:05:33 +0000 (09:05 +0300)]
iperf: bump to version 2.0.12

Drop patch #1; not needed anymore.

Drop patch #2; fixed upstream in a slightly different way.

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 agopackage/dovecot: bump version to 2.3.2.1
Bernd Kuhls [Mon, 9 Jul 2018 17:18:02 +0000 (19:18 +0200)]
package/dovecot: bump version to 2.3.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoszip: bump to version 2.1.1
Fabrice Fontaine [Mon, 9 Jul 2018 18:17:30 +0000 (20:17 +0200)]
szip: bump to version 2.1.1

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: fix alphabetic order of entries
Baruch Siach [Mon, 9 Jul 2018 19:53:33 +0000 (22:53 +0300)]
DEVELOPERS: fix alphabetic order of entries

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>