buildroot.git
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>
6 years agopython-setuptools: bump to version 40.6.2
Asaf Kahlon [Thu, 15 Nov 2018 18:23:46 +0000 (20:23 +0200)]
python-setuptools: bump to version 40.6.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibuv: bump to version 1.24.0
Asaf Kahlon [Thu, 15 Nov 2018 18:23:45 +0000 (20:23 +0200)]
libuv: bump to version 1.24.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopaho-mqtt-c: bump to version 1.3.0
Julien Grossholtz [Fri, 16 Nov 2018 11:39:57 +0000 (12:39 +0100)]
paho-mqtt-c: bump to version 1.3.0

paho-mqtt-c 1.3.0 is the current stable version of paho-mqtt-c.

The patch 0001-Declare-mqtt-tests-as-a-C-only-project.patch is no longer
required, a similar fix was applied upstream with:
a87450ebcefed573ad4cdac77e2c893a3c314762.

Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pkg-luarocks: use <pkg>_EXTRACT_DEPENDENCIES
Thomas Petazzoni [Fri, 16 Nov 2018 13:53:00 +0000 (14:53 +0100)]
package/pkg-luarocks: use <pkg>_EXTRACT_DEPENDENCIES

The host luarocks tool is needed when *extracting* luarocks
packages. Since regular dependencies are only available at the
configure step, it caused the "luarocks" program to be available too
late to be used to extract luarocks packages.

To work around this, host-luarocks was manually added as a dependency
of the extract step of luarocks packages. While this worked fine until
now, it breaks badly with per-package folders, because host-luarocks
is not recorded as an extract dependency of luarocks packages, and
therefore is not copied to the per-package host folder, causing a
failure.

In the mean time, the <pkg>_EXTRACT_DEPENDENCIES mechanism was added,
which aims at fixing exactly this problem, so let's use it and
simplify pkg-luarocks.mk.

Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni &lt;<a href="mailto:thomas.petazzoni@bootlin.com" target="_blank">thomas.petazzoni@bootlin.com</a>&gt;<br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotpm2-tools: bump to version 3.1.3
Carlos Santos [Fri, 16 Nov 2018 02:52:17 +0000 (00:52 -0200)]
tpm2-tools: bump to version 3.1.3

- Drop C++ requirement, which came from tpm2-tss.
- Drop musl restriction.
- Drop the patch to build with LibreSSL, which is not required anymore.
- Update the patch for the "variable may be used uninitialized" error to
  match tpm2-tss 2.1.0, which defines TPM2_ALG_ERROR, not TPM_ALG_ERROR.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotpm2-abrmd: bump to version 2.0.3
Carlos Santos [Fri, 16 Nov 2018 02:52:16 +0000 (00:52 -0200)]
tpm2-abrmd: bump to version 2.0.3

- Drop C++ requirement, which came from tpm2-tss.
- Drom musl restriction.
- Update daemon command-line options in init script.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotpm2-tss: bump to version 2.1.0
Carlos Santos [Fri, 16 Nov 2018 02:52:15 +0000 (00:52 -0200)]
tpm2-tss: bump to version 2.1.0

- Drop C++ requirement (tmp2-tss is pure C now).
- Add explicit dependency on openssl (gnutls can be used too but this
  option will be added by a subsequent patch).
- Drop the patch on tcti_socket.cpp, which is not applicable.
- Add a patch already submitted upstream to support using libressl[1].
- Update LICENSE hash. The terms are is still BSD-2-Clause but the file
  now contains a SPDX license identifier.

1. https://github.com/tpm2-software/tpm2-tss/pull/1207

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibressl: bump to version 2.8.2
Carlos Santos [Fri, 16 Nov 2018 02:41:15 +0000 (00:41 -0200)]
libressl: bump to version 2.8.2

See release notes since 2.7.4 at

  https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.0-relnotes.txt
  https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.1-relnotes.txt
  https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.2-relnotes.txt

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoeudev: bump to version 3.2.7
Peter Korsgaard [Thu, 15 Nov 2018 21:51:52 +0000 (22:51 +0100)]
eudev: bump to version 3.2.7

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiwd: new package
Peter Seiderer [Fri, 9 Nov 2018 23:17:25 +0000 (00:17 +0100)]
iwd: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoell: bump version to 0.14
Peter Seiderer [Fri, 9 Nov 2018 23:17:24 +0000 (00:17 +0100)]
ell: bump version to 0.14

- remove superseeded patch 0001-ell-signal.h-use-standard-sigset_t-fixes-musl-compil.patch
- add patch for missing l_genl_family_set_unicast_handler symbol export

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/proftpd: add sendfile
Jared Bents [Mon, 12 Nov 2018 16:45:21 +0000 (10:45 -0600)]
package/proftpd: add sendfile

Enables sendfile to ProFTPD for zero-copy transfers.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/proftpd: add enable buffer size
Jared Bents [Mon, 12 Nov 2018 16:45:20 +0000 (10:45 -0600)]
package/proftpd: add enable buffer size

Enable buffer size as a compile time option to change internal
buffer size.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years ago.gitlab-ci.yml: add trigger per type of job
Ricardo Martincoski [Sun, 28 Oct 2018 23:58:37 +0000 (20:58 -0300)]
.gitlab-ci.yml: add trigger per type of job

Currently the user has 2 sets of jobs that can be triggered on a GitLab
pipeline.
 - to trigger all defconfigs, all runtime tests and all check-* jobs:
   $ git tag <name>
   $ git push gitlab <name>                     # currently 260 jobs
 - to trigger only the check-* jobs:
   $ git push gitlab HEAD:<name>                # currently   4 jobs

This is not much versatile, so the user ends up hand-editing the
.gitlab-ci.yml in order to trigger some subsets, even the common ones,
for instance all runtime tests.

Add 2 more subsets that can be triggered based on the name of the
branch pushed.
 - to trigger all defconfigs and all check-* jobs:
   $ git push gitlab HEAD:<name>-defconfigs     # currently 192 jobs
 - to trigger all runtime tests and all check-* jobs:
   $ git push gitlab HEAD:<name>-runtime-tests  # currently  72 jobs

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopython-cchardet: new package
James Hilliard [Sun, 11 Nov 2018 23:23:12 +0000 (07:23 +0800)]
python-cchardet: new package

cChardet is high speed universal character encoding detector.

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 agopackage/acpid: add systemd service
Alexander Sverdlin [Tue, 13 Nov 2018 20:17:28 +0000 (21:17 +0100)]
package/acpid: add systemd service

This one is based on Archlinux's service file.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonftables: bump to version 0.9.0
Baruch Siach [Tue, 13 Nov 2018 20:00:09 +0000 (22:00 +0200)]
nftables: bump to version 0.9.0

Switch to https download site to save a redirect.

Optionally depend on the jansson for the newly introduced JSON output
support.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibnftnl: bump to version 1.1.2
Baruch Siach [Tue, 13 Nov 2018 20:00:08 +0000 (22:00 +0200)]
libnftnl: bump to version 1.1.2

Update patch 0001.

Switch to https for download site to save a redirect.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/linux-tools: add support for pcitest tool
Gustavo Pimentel [Tue, 13 Nov 2018 05:55:53 +0000 (06:55 +0100)]
package/linux-tools: add support for pcitest tool

Add support for selection and compiling the pcitest tool on buildroot.

This tool is available to be compiled since kernel 4.20.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-crossbar tests
Yegor Yefremov [Sat, 10 Nov 2018 02:16:09 +0000 (00:16 -0200)]
support/testing: add python-crossbar tests

This test invokes "crossbar version" command, that checks all
dependencies found in setup.py files and prints some system related
information.
Add haveged to the target to generate enough entropy so crossbar ->
pynacl -> libsodium don't hang waiting for /dev/random.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Ricardo: move test script to a separate file, remove Python 2 variant,
 add haveged to target to add entropy and avoid hanging]
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-txtorcon
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:08 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-txtorcon

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-txaio
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:07 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-txaio

Move the test scripts to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-twisted
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:06 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-twisted

Move the test script to be run on the target from inline in the test
case to a separate file.

Get the base defconfig fragment from the immediate parent class and not
directly from TestPythonBase because it is the correct way of doing
this. This way the base class TestPythonTwisted could even be placed in
a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-incremental
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:05 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-incremental

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-cryptography
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:04 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-cryptography

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-autobahn
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:03 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-autobahn

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: create default test case for python packages
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:02 +0000 (00:16 -0200)]
support/testing: create default test case for python packages

Test cases for python packages are very similar among each other: run a
simple script in the target that minimally tests the package.
So create a new helper class named TestPythonPackageBase that holds all
the logic to run a script on the target.

TestPythonPackageBase adds in build time one or more sample scripts to
be run on the target. The test case for the python package must
explicitly list them in the "sample_scripts" property. The test case
then automatically logins to the target, checks the scripts are really
in the rootfs (it calls "md5sum" instead of "ls" or "test" in an attempt
to make the logfile more friendly, since someone analysing a failure can
easily check the expected script was executed) and then calls the python
interpreter passing the sample script as parameter.
An optional property "timeout" exists for the case the sample script
needs more time to run than the default timeout from the test infra
(currently 5 seconds).

A simple test case for a package that only supports Python 2 will look
like this:

|from tests.package.test_python import TestPythonPackageBase
|
|
|class TestPythonPy2<Package>(TestPythonPackageBase):
|    __test__ = True
|    config = TestPythonPackageBase.config + \
|        """
|        BR2_PACKAGE_PYTHON=y
|        BR2_PACKAGE_PYTHON_<PACKAGE>=y
|        """
|    sample_scripts = ["tests/package/sample_python_<package>.py"]
|    timeout = 15

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-aiodns: new package
James Hilliard [Mon, 12 Nov 2018 08:09:16 +0000 (16:09 +0800)]
python-aiodns: new package

Simple DNS resolver for asyncio.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-pycares: new package
James Hilliard [Mon, 12 Nov 2018 08:09:15 +0000 (16:09 +0800)]
python-pycares: new package

Python interface for c-ares.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcurl: Don't need --without-(ssl/gnutls/nss/mbedtls) twice
Trent Piepho [Tue, 13 Nov 2018 00:24:02 +0000 (00:24 +0000)]
libcurl: Don't need --without-(ssl/gnutls/nss/mbedtls) twice

Remove the --without-* options from the yes side of the TLS libraries
selection checks.

Since the --without-* option is now specified when the corresponding TLS
library is not being used, it's no longer necessary when enabling a TLS
library to explicity list all the other TLS libs that curl should not
use.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>