buildroot.git
5 years agoMakefile: move .NOTPARALLEL statement after including .config file
Thomas Petazzoni [Fri, 23 Nov 2018 14:58:09 +0000 (15:58 +0100)]
Makefile: move .NOTPARALLEL statement after including .config file

In a follow-up commit, we will make the .NOTPARALLEL statement
conditional on a Config.in option, so we need to move it further down.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoMakefile: rework main directory creation logic
Thomas Petazzoni [Fri, 23 Nov 2018 14:58:08 +0000 (15:58 +0100)]
Makefile: rework main directory creation logic

In the current code, the creation of the main output directories
(BUILD_DIR, STAGING_DIR, HOST_DIR, TARGET_DIR, etc.) is done by a
global "dirs" target. While this works fine in the current situation,
it doesn't work well in a context where per-package host and target
directories are used.

For example, with the current code and per-package host directories,
the output/staging symbolic link ends up being created as a link to
the per-package package sysroot directory of the first package being
built, instead of the global sysroot.

This commit reworks the creation of those directories by having the
package/pkg-generic.mk code ensure that the build directory, target
directory, host directory, staging directory and binaries directory
exist before they are needed.

Two new targets, host-finalize and staging-finalize are added in the
main Makefile to create the compatibility symlinks for host and
staging directories. They will be extended later with additional logic
for per-package directories.

Thanks to those changes, the global "dirs" target is entirely removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosupport/scripts/check-host-rpath: split condition on two statements
Thomas Petazzoni [Fri, 23 Nov 2018 14:58:07 +0000 (15:58 +0100)]
support/scripts/check-host-rpath: split condition on two statements

Inside the check_elf_has_rpath(), we check if the host binary has a
correct RPATH, which should be either an absolute path to
$(HOST_DIR)/lib, or a relative path using $ORIGIN. Those two
conditions are checked in a single statements, but as we are going to
add a third condition, let's split this up a bit:

 - If we have a RPATH to $(HOST_DIR)/lib -> we're good, return 0
 - If we have a RPATH to $ORIGIN/../lib -> we're good, return 0
 - Otherwise, we will exit the loop, and return 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoMakefile: evaluate CCACHE and HOST{CC, CXX} at time of use
Thomas Petazzoni [Fri, 23 Nov 2018 14:58:06 +0000 (15:58 +0100)]
Makefile: evaluate CCACHE and HOST{CC, CXX} at time of use

As we are going to move to per-package SDK, the location of CCACHE and
therefore the definitions of HOSTCC and HOSTCXX need to be evaluated
at the time of use and not at the time of assignment. Indeed, the
value of HOST_DIR changes from one package to the other.

Therefore, we need to change from := to =.

In addition, while doing A := $(something) $(A) is possible, doing A =
$(something) $(A) is not legal. So, instead of defining HOSTCC in
terms of the current HOSTCC variable, we re-use HOSTCC_NOCCACHE
instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agommc-utils: drop 1/1 from [PATCH] header in 0002-fix-overlapping-with-strncpy.patch
Peter Korsgaard [Sun, 25 Nov 2018 20:59:38 +0000 (21:59 +0100)]
mmc-utils: drop 1/1 from [PATCH] header in 0002-fix-overlapping-with-strncpy.patch

check-package (rightly so) complains about it:

package/mmc-utils/0002-fix-overlapping-with-strncpy.patch:4: generate your
patches with 'git format-patch -N'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/keepalived: fix build with uclibc
Fabrice Fontaine [Sat, 24 Nov 2018 21:27:22 +0000 (22:27 +0100)]
package/keepalived: fix build with uclibc

Retrieve patch from upstream to fix build on uclibc

Fixes:
 - http://autobuild.buildroot.org/results/067ef9ae106b3e0740a70f6f9591b9da00d3da6a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopython-crossbar: bump to version 18.11.2
Asaf Kahlon [Sat, 24 Nov 2018 17:50:49 +0000 (19:50 +0200)]
python-crossbar: bump to version 18.11.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fail2ban: new package
Angelo Compagnucci [Sat, 24 Nov 2018 23:24:22 +0000 (00:24 +0100)]
package/fail2ban: new package

Fail2ban scans log files (e.g. /var/log/apache/error_log)
and bans IPs that show malicious behaviours.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[Thomas: simplify $(SED) expression by using comma as a separator
instead of slash.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-python: use proper --prefix and --root values
Angelo Compagnucci [Sat, 24 Nov 2018 23:21:39 +0000 (00:21 +0100)]
package/pkg-python: use proper --prefix and --root values

Some python software refers to setuptool/distutils options
to install files in python root directory (like data_files option).
To use this type of option, python root should point to the real python
root in buildroot folder and not to the guest os /.
Prefix path is always built starting from the python root, so it should
be simply /usr.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agostress-ng: bump to version 0.09.47
Carlos Santos [Sun, 25 Nov 2018 00:14:08 +0000 (22:14 -0200)]
stress-ng: bump to version 0.09.47

- Enable for uClibc, which is supported now.
- Keep microblaze, nios2 and arc restrictions, since it was not possible
  to test on those architectures (no hardware available).
- Keep musl restriction, since it was possible to compile the code (with
  some patches) but it failed at run time with

    Cannot set scheduler: errno=38 (Function not implemented)

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stress-ng: really remove patch merged upstream
Carlos Santos [Sun, 25 Nov 2018 01:59:36 +0000 (23:59 -0200)]
package/stress-ng: really remove patch merged upstream

Should have been removed in commit 27bce5fc8e (package/stress-ng: bump
to version 0.09.39) but was left as an empty file.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoiptables: fix build with kernel headers < 3.12
Baruch Siach [Sun, 25 Nov 2018 05:46:39 +0000 (07:46 +0200)]
iptables: fix build with kernel headers < 3.12

Extend the workaround that was added in patch 0003 to cover ipv6
definitions.

Fixes:
http://autobuild.buildroot.net/results/23f/23ff396a568a865751471bf1f9e5dff2b73c8ab0/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoqemu: enable seccomp if libseccomp is selected
Carlos Santos [Sun, 25 Nov 2018 01:21:22 +0000 (23:21 -0200)]
qemu: enable seccomp if libseccomp is selected

It is required to use qemu with libvirt and allows us to resume working
on the libvirt package (https://patchwork.ozlabs.org/patch/841613).

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uclibc: bump to version 1.0.31
Carlos Santos [Sat, 24 Nov 2018 23:49:29 +0000 (21:49 -0200)]
package/uclibc: bump to version 1.0.31

Remove all patches, since they were already applied upstream.
Add license file hash.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/dependencies: add a check for a suitable gzip
Yann E. MORIN [Sat, 17 Nov 2018 17:15:51 +0000 (18:15 +0100)]
support/dependencies: add a check for a suitable gzip

Recently, some hash mismatch have been reported, both by users as well
as autobuilder failures, about tarballs generated from git repositories.

This turned out to be caused by users having the 'gzip' command somehow
aliased to 'pigz' (which stand for: parallel implementation of gzip,
which takes advantage of multi-processor system to parallelise the
compression).

Unfortunately, the output of pigz-compressed archives differ from that
of gzip (even though they *are* valid gzip-compressed streams).

Add a dependency check that ensures that gzip is not pigz. If that is
the case, define a conditional dependency to host-gzip, that is used as
a download dependency for packages that will generate compressed files,
i.e. cvs, git, and svn.

Fixes:
    http://autobuild.buildroot.org/results/330/3308271fc641cadb59dbf1b5ee529a84f79e6d5c/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Marcin Niestrój <m.niestroj@grinn-global.com>
Cc: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gzip: add host variant
Yann E. MORIN [Sat, 17 Nov 2018 17:15:50 +0000 (18:15 +0100)]
package/gzip: add host variant

In case someone is building on a musl-based distro (Alpine), we do as
for the target variant, and force the fflush_stdin detection.

We however do not do the /bin/sh trick, because we are building
natively, so the shell check is working.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/dependencies: treat BSD-tar like the other cases
Yann E. MORIN [Sat, 17 Nov 2018 17:15:49 +0000 (18:15 +0100)]
support/dependencies: treat BSD-tar like the other cases

Currently, when we detect that tar is BSD-tar, we fake an unsupported
version (major, minor) and rely on the version check to reject BSD-tar.

There is no reason to use such shenanigans, when we can simply reject it
from the onset.

Simplify the logic:
  - use positive logic in the condition
  - directly exit in error

Also, comment that case like the other cases are commented.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tpm2-tss: force libopenssl as openssl provider
Carlos Santos [Wed, 21 Nov 2018 02:44:37 +0000 (00:44 -0200)]
package/tpm2-tss: force libopenssl as openssl provider

Select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL and drop the patch to
compile with libressl.

The discussion with the tpm2-tss developers led to the conclusion that
libressl lacks some required functionalities. Quoting Andreas Fuchs[1]:
"LibreSSL does not support OAEP-mode with labels at all, even though the
internal OAEP-padding-function includes the parameters already. [...]
Further, the internal OAEP-padding-function does not support variable
hash algs, but staticly uses SHA1."

Notice that there will NOT be an option to use libgcrypt. OpenSSL will
soon become the default ESAPI crypto backend to prevent the problem of
forcing applications to link against both libgcrypt and libssl[2].

1. https://github.com/tpm2-software/tpm2-tss/pull/1207#issuecomment-440217659
2. https://github.com/tpm2-software/tpm2-tss/issues/1169

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/qemu: add option to enable virtual filesystem in host qemu
Etienne Carriere [Thu, 22 Nov 2018 15:21:40 +0000 (16:21 +0100)]
package/qemu: add option to enable virtual filesystem in host qemu

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: tweak option prompt]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodante: add linux-pam optional dependency
Fabrice Fontaine [Thu, 22 Nov 2018 17:49:14 +0000 (18:49 +0100)]
dante: add linux-pam optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodante: disable pam
Fabrice Fontaine [Thu, 22 Nov 2018 17:49:13 +0000 (18:49 +0100)]
dante: disable pam

Fixes:
 - http://autobuild.buildroot.org/results/5222592f2052e18c184fae42214c112e7f39be6e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-sortedcontainers: bump to version 2.1.0
Asaf Kahlon [Thu, 22 Nov 2018 19:14:30 +0000 (21:14 +0200)]
python-sortedcontainers: bump to version 2.1.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-autobahn: bump to version 18.11.2
Asaf Kahlon [Thu, 22 Nov 2018 19:14:29 +0000 (21:14 +0200)]
python-autobahn: bump to version 18.11.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-cython: bump to version 0.29.1
Asaf Kahlon [Sat, 24 Nov 2018 10:14:41 +0000 (12:14 +0200)]
python-cython: bump to version 0.29.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/linuxptp: bump to version 2.0
Fabrice Fontaine [Fri, 23 Nov 2018 21:04:25 +0000 (22:04 +0100)]
package/linuxptp: bump to version 2.0

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/android-tools: add option to build ext4 utils for the host
Alex Kaplan [Sun, 11 Nov 2018 05:38:34 +0000 (21:38 -0800)]
package/android-tools: add option to build ext4 utils for the host

This patch adds an option to build and install the ext4_utils for the
host, i.e. make_ext4fs, ext4fixup, ext2simg, img2simg, simg2img and
simg2simg.

Signed-off-by: Alex Kaplan <kaplan2539@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - simplify a bit the installation logic by using a single
   HOST_ANDROID_TOOLS_INSTALL_TARGETS variable, instead of having one
   specific for ext4 tools
 - drop "default n" from Config.in.host]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/{dovecot, dovecot-pigeonhole}: bump version to 2.3.4, 0.5.4
Bernd Kuhls [Sat, 24 Nov 2018 08:51:45 +0000 (09:51 +0100)]
package/{dovecot, dovecot-pigeonhole}: bump version to 2.3.4, 0.5.4

We need to bump both packages in one commit:

https://dovecot.org/pipermail/dovecot-news/2018-November/000392.html

 Adjustments to several changes in Dovecot v2.3.4 make this Pigeonhole
 release dependent on that Dovecot release; it will not compile against
 older Dovecot versions. And, conversely, you need to upgrade
 Pigeonhole when upgrading Dovecot to v2.3.4.

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.2.5
Bernd Kuhls [Sat, 24 Nov 2018 08:48:37 +0000 (09:48 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 18.2.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/kconfig/merge_config.sh: avoid false positive matches from comment lines
Nasser Afshin [Wed, 14 Nov 2018 07:11:56 +0000 (10:41 +0330)]
support/kconfig/merge_config.sh: avoid false positive matches from comment lines

We are using empty CONFIG_PREFIX_. This results in false positive match
for comment lines when merging config fragments.

To avoid false positive reports, we use separate sed expressions and
address comment lines explicitly.

This is actually is in the Linux kernel mainline (v4.20-rc2):
6bbe4385d035c6fac56f840a59861a0310ce137b
("kconfig: merge_config: avoid false positive matches from comment lines")

Signed-off-by: Nasser Afshin <Afshin.Nasser@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoutils/test-pkg: use the correct config prefix when merging
Nasser Afshin [Wed, 14 Nov 2018 07:46:05 +0000 (11:16 +0330)]
utils/test-pkg: use the correct config prefix when merging

We should use an empty prefix as we do not have any prefix.
Note that BR2_ is mere a convention.

Signed-off-by: Nasser Afshin <Afshin.Nasser@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/kconfig/merge_config.sh: fix merging buildroot config files
Nasser Afshin [Wed, 14 Nov 2018 07:11:54 +0000 (10:41 +0330)]
support/kconfig/merge_config.sh: fix merging buildroot config files

This patch allows us to define config prefix with CONFIG_ environment
variable.

By setting the proper config prefix, we will have proper 'redundant
configuration warnings' when we use '-r -m' options.

This is actually already in mainline for v4.20-rc1:
2cd3faf87d2d8f6123adf34741b9a7b98828a76f
("merge_config.sh: Allow to define config prefix")

Signed-off-by: Nasser Afshin <afshin.nasser@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoiptables: bump to version 1.8.2
Baruch Siach [Thu, 22 Nov 2018 20:19:15 +0000 (22:19 +0200)]
iptables: bump to version 1.8.2

Drop upstream patch.

Add upstream patch for fixing build with musl libc.

Add upstream patch fixing build with glibc older that 2.19, and another
upstream patch fixing musl build cause by the previous patch.

Add yet another upstream patch fixing build with kernel headers before
4.2

Switch download site to https for better security.

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: bump version to latest 1baa348
Marcin Niestroj [Tue, 13 Nov 2018 22:07:19 +0000 (23:07 +0100)]
linux-firmware: bump version to latest 1baa348

Brief license changes:
 * ath10k/QCA6174/hw3.0/notice_ath10k_firmware-6.txt: mainly cleanups
   and s/Qualcomm Atheros/Qualcomm Technologies/

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-ubjson tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:35 +0000 (01:57 -0200)]
support/testing: add python-ubjson tests

Add a simple test case to check the basic usage, storing a dict into a
file and then retrieving the dict from the file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-treq tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:34 +0000 (01:57 -0200)]
support/testing: add python-treq tests

Use a simple script to check the basic usage. The target has no https
server, so a connection from in the target to localhost must not
succeed.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-subprocess32 test
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:33 +0000 (01:57 -0200)]
support/testing: add python-subprocess32 test

Add a simple test case to check the basic usage by calling 'ls' and
checking the output.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-service-identity tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:32 +0000 (01:57 -0200)]
support/testing: add python-service-identity tests

Add a simple test case that imports the module.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-pyyaml tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:31 +0000 (01:57 -0200)]
support/testing: add python-pyyaml tests

Add a simple test case to check the basic usage, storing a dict into a
file and then retrieving the dict from the file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-pynacl tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:30 +0000 (01:57 -0200)]
support/testing: add python-pynacl tests

Add a simple test case that minimally uses the module.
Add haveged to the target to generate enough entropy so pynacl ->
libsodium don't hang waiting for /dev/random.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-pexpect tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:29 +0000 (01:57 -0200)]
support/testing: add python-pexpect tests

Add a simple test case to check the basic usage. Call 'login' and try
wrong user/password, expecting the 'Login incorrect' message.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-passlib tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:28 +0000 (01:57 -0200)]
support/testing: add python-passlib tests

Add a simple test case that creates a hash for a password and verifies
it against an incorrect and a correct password.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-constantly tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:27 +0000 (01:57 -0200)]
support/testing: add python-constantly tests

Add a simple test case to check the basic usage by creating a class with
two constants.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-click tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:26 +0000 (01:57 -0200)]
support/testing: add python-click tests

Use a simple script to check the basic usage. Since this package
provides command line arguments, override run_sample_scripts to call the
script with arguments and check the expected output.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-cbor tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:25 +0000 (01:57 -0200)]
support/testing: add python-cbor tests

Add a simple test case to check the basic usage, storing a dict into a
file and then retrieving the dict from the file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-bitstring tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:24 +0000 (01:57 -0200)]
support/testing: add python-bitstring tests

Add a simple test case to check the basic usage by checking the
corresponding representation of a 12-bit decimal number in hex, binary
and integer.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-automat tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:23 +0000 (01:57 -0200)]
support/testing: add python-automat tests

Use a minimal script to check the basic usage by creating and using a
small state machine.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-attrs tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:22 +0000 (01:57 -0200)]
support/testing: add python-attrs tests

Use a minimal script to check the basic usage creating a class with 2
attributes.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-argh tests
Ricardo Martincoski [Fri, 16 Nov 2018 03:57:21 +0000 (01:57 -0200)]
support/testing: add python-argh tests

Use a simple script to check the basic usage. Since this package
provides command line arguments, override run_sample_scripts to call the
script with arguments and check the expected output.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosdl2: fix build with --disable-threads
Fabrice Fontaine [Wed, 21 Nov 2018 22:09:23 +0000 (23:09 +0100)]
sdl2: fix build with --disable-threads

SDL_LinuxSetThreadPriority() has been added since version 2.0.9 and
https://github.com/SDL-mirror/SDL/commit/f25a7fa870bdceb339e5105973f689606bcb9086

However, this function is used in src/dynapi/SDL_dynapi_procs.h even
when SDL_THREADS_DISABLED

However, when SDL_THREADS_DISABLED is set, SDL_LinuxSetThreadPriority is
not defined because thread/pthread/SDL_systhread.c is not built

So check SDL_THREADS_DISABLED in addition to __LINUX__

Fixes:
 - http://autobuild.buildroot.org/results/539cb9ab6c605dc6be73ebe90debab1a998f2451

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agokeepalived: bump to version 2.0.10
Fabrice Fontaine [Wed, 21 Nov 2018 21:16:10 +0000 (22:16 +0100)]
keepalived: bump to version 2.0.10

- This version adds support for ipset version 7, see:
  https://github.com/acassen/keepalived/commit/b7a98f9265ffb5927c4d54c9a30726c76e65bb52
- Remove patch and AUTORECONF = YES, an alternative solution has been
  implemented, see:
  https://github.com/acassen/keepalived/commit/9bd10d8168b8e3c14bca61e504e64ed8c2b1eb8d
- Disable hardening option (enabled by default):
  https://github.com/acassen/keepalived/commit/5a65e1eb552bd973da35d7153b922682360a5ad2

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolldpd: update to version 1.0.1
Trent Piepho [Thu, 22 Nov 2018 00:35:44 +0000 (00:35 +0000)]
lldpd: update to version 1.0.1

Drop patches for atom glue and remove CXX compiler check as they are
applied upstream.

Replace patch to disable libbsd with upstream patch to accomplish the
same thing using --without-libbsd.

Enable support for readline when that package is enabled.

Enable lldpd's systemd unit file.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotrinity: fix build with kernel headers >= 4.19
Fabrice Fontaine [Fri, 23 Nov 2018 16:14:49 +0000 (17:14 +0100)]
trinity: fix build with kernel headers >= 4.19

Retrieve patch from upstream to fix build with kernel headers >= 4.19
because VIDIOC_RESERVED has been removed since
https://github.com/torvalds/linux/commit/ea8532daee31bc72abfbc9ca7a43cbec0f6c05af

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/luvi: add patch to fix build issue
Jörg Krause [Thu, 15 Nov 2018 19:28:46 +0000 (20:28 +0100)]
package/luvi: add patch to fix build issue

Since bumping luv from version 1.9.1 to 1.22.0, building luvi fails, as
"luv.h" now includes "compat-5.3.h", which is locally shipped as a
dependency to lua-compat-5.3.

Fixing the issue reveals, that luvi is using `luaL_newlib` which is not
available in the Lua 5.1 API. Building luvi with luv 1.9.1 was not an
issue before, because luv 1.9.1 defined `luaL_newlib` in luv.h, which
was removed in 1.22.0 in favour of using lua-compat-5.3.

Therefore, add a patch which defines `luaL_newlib` in luvi.h.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/luv: add patch to fix build issue with luvi
Jörg Krause [Thu, 15 Nov 2018 19:28:45 +0000 (20:28 +0100)]
package/luv: add patch to fix build issue with luvi

Add a patch to fix a build issue with luvi after bumping luv from
version 1.9.1 to 1.22.0.

The problem is that luv now uses lua-compat-5.3 instead of defining the
Lua 5.3 API itself. Unfortunately, luv.h now includes compat-5.3.h in the
header file, which causes the build issue with luvi, as luvi does not
find this local header file. Note, that luv ships lua-compat-5.3 as a
dependency.

Therefore, the patch includes compat-5.3.h in the source file luv.c, so
it isn't exposed to external programs.

Fixes:
http://autobuild.buildroot.net/results/2244cd30986aff29b763fb7183f6fc27a82bd7fa
http://autobuild.buildroot.net/results/01938f7f018dc69d564c22489933647b1daf62f3
http://autobuild.buildroot.net/results/8217e863c2776d299cb90b90f1a2ed8233ec82ba
.. and many more

Note, that fixing this issue reveals another issue in luvi, which is
fixed by the follow up patch.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoorangepi_zero_defconfig: bump linux to 4.19.3, u-boot to 2018.11
Peter Korsgaard [Fri, 23 Nov 2018 07:51:14 +0000 (08:51 +0100)]
orangepi_zero_defconfig: bump linux to 4.19.3, u-boot to 2018.11

4.18 brought cpufreq support for H3, but sunxi_defconfig does not enable the
ondemand cpufreq govenor so the frequency is dynamically adjusted - So
enable it in linux-extra.config.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoorangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11
Peter Korsgaard [Fri, 23 Nov 2018 07:51:13 +0000 (08:51 +0100)]
orangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11

4.18 brought cpufreq support for H3, but sunxi_defconfig does not enable the
driver for the sy8106a regulator used on the board or enable the ondemand
cpufreq govenor so the frequency is dynamically adjusted - So enable these in
linux.fragment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowireguard: bump version to 0.0.20181119
Peter Korsgaard [Thu, 22 Nov 2018 22:48:41 +0000 (23:48 +0100)]
wireguard: bump version to 0.0.20181119

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoutil-linux: fix build for SPARC
Carlos Santos [Thu, 22 Nov 2018 11:59:30 +0000 (09:59 -0200)]
util-linux: fix build for SPARC

Pull a patch already applied upstream that fixes the build of setarch
for SPARC processors.

Fixes:
  http://autobuild.buildroot.net/results/44d0538332499cea691a381048562a09cda23624
  http://autobuild.buildroot.net/results/e7e3469717ab27d66d2528087fd7c3a41477ae05

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard: macchiatobin: update readme.txt
Baruch Siach [Tue, 20 Nov 2018 13:30:10 +0000 (15:30 +0200)]
board: macchiatobin: update readme.txt

Update the kernel and U-Boot versions to the actual versions in use.
Update the description of supported hardware features.

Add a note that the stale SPI flash environment issue only affects the
vendor BSP.

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/solidrun_macchiatobin_mainline: bump kernel and U-Boot
Baruch Siach [Tue, 20 Nov 2018 13:30:09 +0000 (15:30 +0200)]
configs/solidrun_macchiatobin_mainline: bump kernel and U-Boot

Bump U-Boot to version 2018.11. This version supports autodetection of
SD/eMMC boot source, so we can now enable environment load from SD card.
Add a U-Boot kconfig fragment that sets SD/eMMC as environment load/save
device. This avoids stale environment values from the SPI flash. That in
turn, allows to use the more convenient distro boot which is enabled in
the default environment.

Bump kernel to version 4.19.2. This version enables
CONFIG_PHY_MVEBU_CP110_COMPHY in the arm64 defconfig, so remove it from
the kernel kconfig fragment. Enable support for SFP modules detection
and configuration. Leave the PHY drivers for now to keep them built into
the kernel. The kernel defconfig builds these drivers as modules. But
that does not work as expected in the default configuration.

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to 4.19.2
Baruch Siach [Tue, 20 Nov 2018 13:30:08 +0000 (15:30 +0200)]
linux: bump default to 4.19.2

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump to kernel version 4.19.2
Baruch Siach [Tue, 20 Nov 2018 13:30:07 +0000 (15:30 +0200)]
linux-headers: bump to kernel version 4.19.2

[Peter: add hash]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain: add 4.19.x choice for headers
Baruch Siach [Tue, 20 Nov 2018 13:30:06 +0000 (15:30 +0200)]
toolchain: add 4.19.x choice for headers

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-aiohttp: new package
James Hilliard [Mon, 19 Nov 2018 19:52:38 +0000 (03:52 +0800)]
python-aiohttp: new package

Async http client/server framework (asyncio).

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibostree: bump to version 2018.9.1
Fabrice Fontaine [Tue, 20 Nov 2018 21:48:24 +0000 (22:48 +0100)]
libostree: bump to version 2018.9.1

Bump to v2018.9 added ostree-finalize-staged.path through
https://github.com/ostreedev/ostree/commit/ac1a919ffd4fe944d06c4f4510604baa73d1bf8e

However, this file was not added in the tarball until commit:
https://github.com/ostreedev/ostree/commit/62594765b2fae72e332ffb21fbd11085d911ef83

So use the new 2018.9.1 tarball to get this file otherwise build with
systemd will fail

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibostree: add systemd optional dependency
Fabrice Fontaine [Tue, 20 Nov 2018 21:48:23 +0000 (22:48 +0100)]
libostree: add systemd optional dependency

This option is available since v2018.3:
https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoshadowsocks-libev: add connmarktos build option
DUPONCHEEL Sébastien [Wed, 21 Nov 2018 15:12:38 +0000 (16:12 +0100)]
shadowsocks-libev: add connmarktos build option

Signed-off-by: DUPONCHEEL Sébastien <sebastien.duponcheel@corp.ovh.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoshadowsocks-libev: bump to version 3.2.1
DUPONCHEEL Sébastien [Wed, 21 Nov 2018 15:12:37 +0000 (16:12 +0100)]
shadowsocks-libev: bump to version 3.2.1

Signed-off-by: DUPONCHEEL Sébastien <sebastien.duponcheel@corp.ovh.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-multidict: bump to verision 4.5.0
Asaf Kahlon [Tue, 20 Nov 2018 20:05:37 +0000 (22:05 +0200)]
python-multidict: bump to verision 4.5.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/olimex_a20_olinuxino_lime*: add some sunxi packages
Francois Perrad [Wed, 21 Nov 2018 07:29:01 +0000 (08:29 +0100)]
configs/olimex_a20_olinuxino_lime*: add some sunxi packages

- sunxi mali mainline
- sunxi tools

like in olimex_a20_olinuxino_lime_legacy.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/glibc: update hash of LICENSES file for ARC version
Thomas Petazzoni [Wed, 21 Nov 2018 08:18:45 +0000 (09:18 +0100)]
package/glibc: update hash of LICENSES file for ARC version

In commit 5d4f23cbe65c79826b1b2071e972803a453934cb ("toolchain: Bump
ARC tools to arc-2018.09-rc1"), the glibc version for the ARC
architecture was bumped, but the hashes of the license files were not
updated accordingly, causing a build failure during "legal-info":

ERROR: LICENSES has wrong sha256 hash:
ERROR: expected: 61abdd6930c9c599062d89e916b3e7968783879b6be0ee1c6229dd6169def431
ERROR: got     : 35bdb41dc0bcb10702ddacbd51ec4c0fe6fb3129f734e8c85fc02e4d3eb0ce3f

The changes between the previous LICENSES file and the new one are:

 - The text related to libidn has been removed from the LICENSES file,
   following the switch to libidn2:

   https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=7f9f1ecb710eac4d65bb02785ddf288cac098323#patch2

 - The text related to stdio-common/tst-printf.c has been removed from
   the LICENSES file, following the removal of this non-free code from
   glibc:

   https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5a357506659f9a00fcf5bc9c5d8fc676175c89a7#patch2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotpm2-tss: depend on shared libraries
Carlos Santos [Tue, 20 Nov 2018 10:14:02 +0000 (08:14 -0200)]
tpm2-tss: depend on shared libraries

The code includes dlfcn.h even if --enable-static and --disable-shared
are passed to configure. There is an "#ifndef NO_DL ... #endif" wrapper
but NO_DL is never defined and adding "-DNO_DL" to CFLAGS causes other
compilation errors.

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

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain: Bump ARC tools to arc-2018.09-rc2
Evgeniy Didin [Tue, 20 Nov 2018 16:25:22 +0000 (19:25 +0300)]
toolchain: Bump ARC tools to arc-2018.09-rc2

This commit bumps ARC toolchain to arc-2018.09-rc2,
which includes significant changes since arc-2018.09-rc1.
We want to test how new toolchain-rc2 builds packages,
so we can make fixes before release of toolcain.
This makes us closer to toolchain release which will be in a few weeks.

Please note that it is a release candidate and it might
contain some breakages, please don't use it for production builds.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoweston: drop libunwind optional dependency
Fabrice Fontaine [Tue, 20 Nov 2018 20:19:25 +0000 (21:19 +0100)]
weston: drop libunwind optional dependency

libunwind was dropped since 3.0.91, see:
https://github.com/wayland-project/weston/commit/bb707dc0fe331c9af112a0552b7aa6fde755dd83

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 agosupport/testing/test_rust: use standard defconfig fragment style
Ricardo Martincoski [Fri, 16 Nov 2018 22:21:47 +0000 (20:21 -0200)]
support/testing/test_rust: use standard defconfig fragment style

Since commit "2927f412be support/testing: standardize defconfig
fragments style" all other test cases use the same style for defconfig
fragments:
 - start after a backslash;
 - be declared as a multi-line string literal;
 - be indented one level more than the variable that contains it.

Do the same here for consistency.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/olimex_a20_olinuxino_lime*: bump Linux/U-Boot versions
Francois Perrad [Thu, 15 Nov 2018 04:16:21 +0000 (05:16 +0100)]
configs/olimex_a20_olinuxino_lime*: bump Linux/U-Boot versions

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/olimex_imx233_olinuxino: bump kernel version
Francois Perrad [Thu, 15 Nov 2018 04:16:20 +0000 (05:16 +0100)]
configs/olimex_imx233_olinuxino: bump kernel version

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovmtouch: new package
Brandon Maier [Fri, 16 Nov 2018 15:52:53 +0000 (09:52 -0600)]
vmtouch: new package

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocore/download: drop the SSH command
Yann E. MORIN [Sat, 17 Nov 2018 17:15:48 +0000 (18:15 +0100)]
core/download: drop the SSH command

The ssh command was added back in 2011 with commit c61788f09 (GENTARGETS:
add support for scp://) and was used to check that the remote file
existed, back when we supported 'make source-check'.

However, in 2017, with commit bf28a165d (pkg-{download, generic}: remove
source-check), we actually removed support for source-check.

The SSH command however was not removed then, and stuck, even though
nothing ever uses it It is not even exported in the environment, and scp
does not use it either (it has -S to specify an ssh-compatible program).

Get rid of it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibtirpc: bump to version 1.1.4
Petr Vorel [Sat, 17 Nov 2018 19:48:55 +0000 (20:48 +0100)]
libtirpc: bump to version 1.1.4

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotpm2-tss: fix build without stack smashing protection (SSP)
Carlos Santos [Mon, 19 Nov 2018 02:26:24 +0000 (00:26 -0200)]
tpm2-tss: fix build without stack smashing protection (SSP)

Restore a configuration environment setup that was incorrectly removed
along with the upgrade to version 2.1.0.

Fixes:
  http://autobuild.buildroot.net/results/44221140fb8e2ddcb7d624e657b92a59375c02dd
  http://autobuild.buildroot.net/results/08b2a8a4bdd1c38703626a4fc37dab31dce98f49
  http://autobuild.buildroot.net/results/e469b47a6c8f1e8812325fd2860345105052316c
  http://autobuild.buildroot.net/results/f230fe6bbeb8b22d2b5b7cfb3f0ac4b3b936dc37
  http://autobuild.buildroot.net/results/ceb824033888086f6dde22c66d5b5f692a253c7e
  http://autobuild.buildroot.net/results/f863947a7384cb754706e6c346d222be59ad4136

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pkg-luarocks: drop flock at installation time
Thomas Petazzoni [Mon, 19 Nov 2018 10:32:26 +0000 (11:32 +0100)]
package/pkg-luarocks: drop flock at installation time

In commit 22b327fc743b48a33aec0a9190bd67118641b294 ("pkg-luarocks: fix
top-level parallel makefile support"), a flock on $(TARGET_DIR) was
added to ensure that two Luarocks packages are not installed at the
same time.

However, to support top-level parallel build, we have now clearly
decided that per-package folders is a requirement. Therefore,
TARGET_DIR is anyway going to be different for each package, making
this flock unnecessary.

Trying to use top-level parallel build without per-package folder is
simply not supported, so this commit drops the unnecessary flock.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
6 years agokeepalived: add libglib2 optional dependency
Fabrice Fontaine [Mon, 19 Nov 2018 18:06:50 +0000 (19:06 +0100)]
keepalived: add libglib2 optional dependency

gio from libglib2 is used for dbus support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agokeepalive: add optional json-c dependency
Fabrice Fontaine [Mon, 19 Nov 2018 18:06:49 +0000 (19:06 +0100)]
keepalive: add optional json-c dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agokeepalived: remove popt dependency
Fabrice Fontaine [Mon, 19 Nov 2018 18:06:48 +0000 (19:06 +0100)]
keepalived: remove popt dependency

popt is not needed since version 1.3.1 and:
https://github.com/acassen/keepalived/commit/3452517c4f2b69badabf19fc06cc56db49d37603

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojpeg-turbo: bump to version 2.0.1
Fabrice Fontaine [Mon, 19 Nov 2018 20:32:11 +0000 (21:32 +0100)]
jpeg-turbo: bump to version 2.0.1

Remove patch (already in version), see:
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/950580eb0c020598a4c6c8aa46c86e31062e1ddc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomsmtp: enable msmtpd if MMU is available
Fabrice Fontaine [Sun, 18 Nov 2018 11:58:41 +0000 (12:58 +0100)]
msmtp: enable msmtpd if MMU is available

msmtpd uses fork so enable it if MMU is available

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomsmtp: bump to version 1.8.0
Fabrice Fontaine [Sun, 18 Nov 2018 11:58:40 +0000 (12:58 +0100)]
msmtp: bump to version 1.8.0

- Update site to https://marlam.de/msmtp/ (see
  https://sourceforge.net/projects/msmtp)
- Replace libidn by libidn2:
  https://github.com/marlam/msmtp-mirror/commit/0d8be2a35f0c7757d1f423e2d21f042626fec60e
- Disable msmtpd (minimal SMTP server) as it uses fork:
  https://github.com/marlam/msmtp-mirror/commit/e0bc975fbfb8b26a6dfaac87ebc64d3f37ef1e36

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobinutils: Get rid of obsolete patches
Alexey Brodkin [Sun, 21 Oct 2018 18:18:30 +0000 (21:18 +0300)]
binutils: Get rid of obsolete patches

Some patches for Binutils seems to not be really needed.
Moreover for some of them I was not able to find any justification
for their introduction.

1. 0002-ld-makefile.patch

   This one I may track down to at least 2.15.92.0.2 here [1].
   Commit message just says: "Integrate some debian patches,
   extracted from binutils_2.15-4.diff"

   But in OpenEmbedded they got rid of it long ago on switch to 2.26, see [2].

2. 0003-check-ldrunpath-length.patch

   The same story here.

3. 0004-add-sysroot-fix-from-bug-3049.patch

   Bug mentioned in this patch was marked as "fixed" in 2012, see [3].

[1] https://git.buildroot.org/buildroot/commit/?id=ce2722a8f2abee5b60862bc896333b77a7502c82
[2] https://github.com/openembedded/openembedded-core/commit/3c7fe424f850af70989ad682dd9c5be70cd02ca5
[3]https://sourceware.org/bugzilla/show_bug.cgi?id=10340

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/alsa-utils: bump to version to 1.1.7
Zenichi Amano [Sun, 4 Nov 2018 11:53:35 +0000 (20:53 +0900)]
package/alsa-utils: bump to version to 1.1.7

Signed-off-by: Zenichi Amano <crow.misia@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/alsa-lib: bump to version to 1.1.7
Zenichi Amano [Sun, 4 Nov 2018 11:48:11 +0000 (20:48 +0900)]
package/alsa-lib: bump to version to 1.1.7

Signed-off-by: Zenichi Amano <crow.misia@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain: Bump ARC tools to arc-2018.09-rc1
Evgeniy Didin [Thu, 8 Nov 2018 11:32:07 +0000 (14:32 +0300)]
toolchain: Bump ARC tools to arc-2018.09-rc1

This commit bumps ARC toolchain to arc-2018.09-rc1.
We want to test how new toolchain-rc1 builds packages,
so we can make fixes before release of toolcain.

ARC GNU tools of version arc-2018.09-rc1 bring some quite significant changes like:
* Binutils v2.31.1 with additional ARC patches
* GCC 8.2.1 with additional ARC patches
* glibc 2.28 with additional ARC patches

Please note that it is a release candidate and it might contain some
breakages, please don't use it for production builds.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowebsocketpp: new package
Ryan Barnett [Wed, 14 Nov 2018 21:43:25 +0000 (15:43 -0600)]
websocketpp: new package

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Peter: fix alphabetical ordering as suggested by Ryan]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopulseview: bump version to 0.4.1
Bartosz Golaszewski [Sat, 17 Nov 2018 14:12:03 +0000 (15:12 +0100)]
pulseview: bump version to 0.4.1

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibsigrokdecode: bump version to 0.5.2
Bartosz Golaszewski [Sat, 17 Nov 2018 14:12:02 +0000 (15:12 +0100)]
libsigrokdecode: bump version to 0.5.2

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibsigrok: bump version to 0.5.1
Bartosz Golaszewski [Sat, 17 Nov 2018 14:12:01 +0000 (15:12 +0100)]
libsigrok: bump version to 0.5.1

Since commit 79034d4f39f7 ("strutil: Locale independent snprintf()
and vsnprintf() functions") libsigrok now needs to know locale_t.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodoxygen: bump version to 1.8.14
Bartosz Golaszewski [Sat, 17 Nov 2018 14:25:12 +0000 (15:25 +0100)]
doxygen: bump version to 1.8.14

Patches are now upstream - remove both.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomemcached: bump to version 1.5.12
Fabrice Fontaine [Sat, 17 Nov 2018 13:35:47 +0000 (14:35 +0100)]
memcached: bump to version 1.5.12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosdl2: bump to version 2.0.9
Fabrice Fontaine [Sat, 17 Nov 2018 13:25:27 +0000 (14:25 +0100)]
sdl2: bump to version 2.0.9

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibpng: bump to 1.6.35
Nasser Afshin [Sat, 17 Nov 2018 07:07:52 +0000 (10:37 +0330)]
libpng: bump to 1.6.35

Also use https instead of http to retrieve the hashes.

Note that the only changes in the LICENSE file is the copy-right date and
the version number.

Signed-off-by: Nasser Afshin <afshin.nasser@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>