buildroot.git
6 years agognupg2: bump to version 2.2.5
Baruch Siach [Wed, 28 Feb 2018 19:00:28 +0000 (21:00 +0200)]
gnupg2: bump to version 2.2.5

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoazmq: bump to version 1.0.2
Fabrice Fontaine [Tue, 27 Feb 2018 20:51:25 +0000 (21:51 +0100)]
azmq: bump to version 1.0.2

Add license hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobind: use BIND_PKGDIR vairable
Christopher McCrory [Tue, 27 Feb 2018 12:39:22 +0000 (04:39 -0800)]
bind: use BIND_PKGDIR vairable

Use the BIND_PKGDIR variable instead of package/bind.

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscanpypi: fix licence detection handling for unknown licences
Yegor Yefremov [Mon, 26 Feb 2018 13:01:18 +0000 (14:01 +0100)]
scanpypi: fix licence detection handling for unknown licences

Check for match object not being None.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoscanpypi: fix Py2/3 conversion leftover
Yegor Yefremov [Mon, 26 Feb 2018 13:01:17 +0000 (14:01 +0100)]
scanpypi: fix Py2/3 conversion leftover

Use urlparse from six package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/htop: remove 0xe2 from MetersPanel.c
Romain Naour [Tue, 20 Feb 2018 22:20:25 +0000 (23:20 +0100)]
package/htop: remove 0xe2 from MetersPanel.c

This non ascii character trigger an issue with MakeHeader.py.

./scripts/MakeHeader.py MetersPanel.c
Traceback (most recent call last):
  File "./scripts/MakeHeader.py", line 32, in <module>
    for line in file.readlines():
  File "[...]/output/host/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 956: ordinal not in range(128)

Fixes:
http://autobuild.buildroot.net/results/8ed/8edb78b054a265447fd0e83f67cba5f978be4ed6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogcc: add the real gcc bugfix for m68k from upstream
Waldemar Brodkorb [Sun, 18 Feb 2018 18:21:52 +0000 (19:21 +0100)]
gcc: add the real gcc bugfix for m68k from upstream

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscanpypi: add support for Python3
Yegor Yefremov [Wed, 21 Feb 2018 13:26:43 +0000 (14:26 +0100)]
scanpypi: add support for Python3

The script was changed via modernize utility. The only manual
made part was the handling of StringIO.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosunxi-mali-mainline-driver: bump version
Giulio Benetti [Sat, 24 Feb 2018 12:25:57 +0000 (13:25 +0100)]
sunxi-mali-mainline-driver: bump version

For 4.16 support.

git shortlog --invert-grep --grep travis --no-merges e752ddc8c4b9f2b9b9c6d193e2ba354caf8707f5..
Giulio Benetti (1):
      mali: Fix build in 4.16

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mesa3d-demos: bump to 8.4.0
Romain Naour [Sat, 24 Feb 2018 11:12:14 +0000 (12:12 +0100)]
package/mesa3d-demos: bump to 8.4.0

Use the new upstream url.
Added all hashes provided by upstream.
Rebase patch on top of 8.4.0 and convert it to git formated patch.
Add a comment above "MESA3D_DEMOS_AUTORECONF = YES"

See https://lists.freedesktop.org/archives/mesa-dev/2018-February/186542.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopkgconf: pkg-config.in: exec pkgconf
Gaël PORTAY [Thu, 22 Feb 2018 22:49:05 +0000 (17:49 -0500)]
pkgconf: pkg-config.in: exec pkgconf

Replace the shell script with pkgconf without creating a new process.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopkgconf: pkg-config.in: double quote $@
Gaël PORTAY [Thu, 22 Feb 2018 22:49:04 +0000 (17:49 -0500)]
pkgconf: pkg-config.in: double quote $@

The shell expands "$@" as "$1" "$2" "$3"... while it expands $@ as $1 $2
$3. With the second form, we loses spaces in positional parameters.

As example, the following call

        pkg-config --cflags "one two" three

is wrapped as

        pkgconf --cflags one two three

while we are expecting

        pkgconf --cflags "one two" three

"$@" is really useful when writing wrappers. It passes the positional
arguments *as* they are given.

Double quote $@ to prevent from splitting elements.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoliblo: link with libatomic when available
Alex Baldwin [Sun, 25 Feb 2018 14:40:34 +0000 (15:40 +0100)]
liblo: link with libatomic when available

liblo uses atomic builtins that are only available inside libatomic on
some architectures, so link with it when available.

Fixes:

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

Signed-off-by: Alex Baldwin <alexbaldwinmusic@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoliblo: disable werror to fix build issues
Alex Baldwin [Sun, 25 Feb 2018 14:40:33 +0000 (15:40 +0100)]
liblo: disable werror to fix build issues

Pass the --disable-werror option to remove -Werror, and therefore
avoid a number of build failures.

Fixes:

  http://autobuild.buildroot.net/results/61ab7e23d2ef62f055efc74a998e3c108a3cdb43

Signed-off-by: Alex Baldwin <alexbaldwinmusic@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: allow both in-tree and custom dts files
Simon van der Veldt [Wed, 21 Feb 2018 19:53:16 +0000 (20:53 +0100)]
linux: allow both in-tree and custom dts files

For some boards, for example the Raspberry Pi, it's necessary to build
in-tree dts files as well as custom/out of tree dts-files (dt-blob.bin).
The existing logic made these two options exclusive, this commit changes
that to allow both in-tree as well as custom sources for dts files.

Signed-off-by: Simon van der Veldt <simon.vanderveldt@gmail.com>
[Arnout: re-wrap help, add extra empty line, change = into +=]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoiptables: bump to version 1.6.2
Antoine Tenart [Fri, 23 Feb 2018 09:52:00 +0000 (10:52 +0100)]
iptables: bump to version 1.6.2

Also removed a patch fixing the build with musl as it made its way into
the 1.6.2 version.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: add firmware for ath10k QCA6174 module
Erik Larsson [Thu, 22 Feb 2018 13:12:03 +0000 (14:12 +0100)]
linux-firmware: add firmware for ath10k QCA6174 module

Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosunxi-mali-mainline-driver: set parallel build according to buildroot
Giulio Benetti [Tue, 20 Feb 2018 12:22:08 +0000 (13:22 +0100)]
sunxi-mali-mainline-driver: set parallel build according to buildroot

sunxi-mali-mainline-driver builds using parallel compilation by default,
using -j $(nproc), but this could be not wanted.

Pass -j $(PARALLEL_JOBS) to build using jobs configured in buildroot.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibite: update path for license files
Ryan Coe [Wed, 21 Feb 2018 14:17:36 +0000 (06:17 -0800)]
libite: update path for license files

Two of the license files have moved in the source package. Update the package
to reflect these changes.

Fixes:
http://autobuild.buildroot.net/results/8fd71513f021652a9a4ff2354dd5fe4fedf3d557
http://autobuild.buildroot.net/results/6a1ab663f1093351662ca7b86c9224a630798f35
http://autobuild.buildroot.net/results/066373da2da2cc8c0c22cc4a3048d1b187c9c389
http://autobuild.buildroot.net/results/edad6ac5d3f61257e99b90c6f54d4d6786aa7ad7
http://autobuild.buildroot.net/results/c2b72c2a32de949a5b1ab46d6d7c540353cfaf5e
http://autobuild.buildroot.net/results/8635ca4bbec464d196846a4018d1228d6651b211

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogo: bump to 1.10
Christian Stewart [Mon, 19 Feb 2018 07:27:18 +0000 (02:27 -0500)]
go: bump to 1.10

This commit bumps the Go programming language to the 1.10 release.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoinadyn: bump version to 2.3
Ryan Coe [Mon, 19 Feb 2018 14:30:32 +0000 (06:30 -0800)]
inadyn: bump version to 2.3

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibite: bump version to 2.0.1
Ryan Coe [Mon, 19 Feb 2018 14:30:31 +0000 (06:30 -0800)]
libite: bump version to 2.0.1

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibostree: bump to version 2018.2
Marcus Folkesson [Thu, 15 Feb 2018 20:44:13 +0000 (21:44 +0100)]
libostree: bump to version 2018.2

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosunxi-mali-mainline-driver: bump version
Peter Korsgaard [Thu, 15 Feb 2018 16:33:48 +0000 (17:33 +0100)]
sunxi-mali-mainline-driver: bump version

For 4.15 support and various fixes.  This version now uses quilt to apply
patches, which is not a required dependency of Buildroot - So add a
POST_PATCH hook to change it to use apply-patches.sh instead.

git shortlog --invert-grep --grep travis --no-merges 42c7c139c14103a83bb2ad7e7a1f0ed491f96500..
Giulio Benetti (7):
      Fix bulding driver twice.
      Fix 0014-mali-Make-devfreq-optional.patch
      Add unapply_patches function in build.sh
      Fix 0013-mali-support-building-against-4.15.patch
      Add clean option to build.sh
      Add parallel building by default and -j option to override jobs number.
      Add 0015 parallel build patch to quilt series

Jonathan Liu (2):
      Add note about FRONTBUFFER_LOCKING environment variable
      Fix Qt capitalization and add link to website

Maxime Ripard (12):
      mali: Fix build in 4.15
      mali: Make reserved memory optional as it should be
      mali: sunxi: Set platform bus type right after device allocation
      mali: Make devfreq optional
      mali: Actually fix the build
      build: Treat patch and make failures as errors
      build: Make patch return immediately on error
      build: Make sure that we're building a supported release
      README: fix the casing of sunXi
      README: Talk about triple buffering
      build: Switch to quilt
      patches: Move version-specific patches to their directory

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosunxi-mali-mainline-driver: new package
Peter Korsgaard [Thu, 15 Feb 2018 13:57:52 +0000 (14:57 +0100)]
sunxi-mali-mainline-driver: new package

Add allwinner mali kernel driver package.  Used in combination with
userspace Allwinner openGL libraries, it gives possibility to use 3D openGL
SoC acceleration.

[Peter: Rename to sunxi-mali-mainline-driver.  Use revision selection from
sunxi-mali-mainline package.  Depend on that package and default to
y if dependencies are met. Tweak Linux config]
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosunxi-mali-mainline: new package
Peter Korsgaard [Thu, 15 Feb 2018 13:57:17 +0000 (14:57 +0100)]
sunxi-mali-mainline: new package

Add Allwinner Mali openGL userspace driver r6p2.
Used combined with kernelspace Mali driver,
it gives possibility to use 3D openGL SoC acceleration.
It provides fbdev libraries and headers.
It is compatible with Linux >= 4.4 as sunxi-mali-driver-mainline.

[Peter: Move version logic to Config.in, ensure directories exists]
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiproute2: fix build with uclibc-ng
Baruch Siach [Thu, 15 Feb 2018 05:58:34 +0000 (07:58 +0200)]
iproute2: fix build with uclibc-ng

ublibc-ng does not provide PF_VSOCK/AF_VSOCK definitions. Add them
locally until ucblibc-ng updates its headers.

Fixes:
http://autobuild.buildroot.net/results/3d5/3d5a29e3c61ff071628c2937844ea4156059b3dd/

Cc: Petr Vorel <petr.vorel@gmail.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoliburiparser: bump to version 0.8.5 and move to GitHub
Carlos Santos [Thu, 8 Feb 2018 00:38:09 +0000 (22:38 -0200)]
liburiparser: bump to version 0.8.5 and move to GitHub

uriparser 0.8.5 with bugfixes has been released. It has also moved from
SourceForge to GitHub:

    https://uriparser.github.io/

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibupnp: bump to version 1.6.25
Fabrice Fontaine [Sat, 10 Feb 2018 19:27:46 +0000 (20:27 +0100)]
libupnp: bump to version 1.6.25

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agokeepalived: bump to version 1.4.1
Baruch Siach [Fri, 9 Feb 2018 10:28:47 +0000 (12:28 +0200)]
keepalived: bump to version 1.4.1

Add license file hash.

Cc: Ilias Apalodimas <apalos@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/orange-pi-zero-plus2: enable WiFi support
Sergey Matyukevich [Sun, 11 Feb 2018 15:56:49 +0000 (18:56 +0300)]
configs/orange-pi-zero-plus2: enable WiFi support

Orange-Pi Zero Plus2 board has AP6212 WiFi/BT combo, but does
not have ethernet port. So it makes sense to enable wireless
networking by default:

- add DTS patch enabling AP6212 WiFi/BT combo support
  -- this patch is on its way to mainline Linux v4.16
- enable WiFi support in kernel config
- enable Broadcom brcmfmac kernel driver in kernel config
- add Broadcom wireless firmware package to image
- add basic wireless tools to image
- add mdev to image to enable module autoloading
- add rootfs overlay with proper NVRAM file for on-board AP6212 chip

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/orange-pi-zero-plus2: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 11 Feb 2018 15:56:48 +0000 (18:56 +0300)]
configs/orange-pi-zero-plus2: bump kernel and u-boot versions

Bump versions:
- use U-Boot 2008.01
- use Linux kernel v4.15.2

Drop patch with dts sdcard fix since it has been
merged to Linux v4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoiproute2: bump to version 4.15.0
Baruch Siach [Tue, 13 Feb 2018 13:46:47 +0000 (15:46 +0200)]
iproute2: bump to version 4.15.0

Keep the musl workaround patch for now, even though libc-compat.h has
been updated from kernel v4.15. To take advantage of the new
libc-compat.h we need a newer or patched version of musl. The workaround
patch will be removed once musl is updated, and external autobuilders
toolchains are rebuilt.

Cc: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain: limit musl/kernel headers conflict workaround
Baruch Siach [Tue, 13 Feb 2018 12:27:50 +0000 (14:27 +0200)]
toolchain: limit musl/kernel headers conflict workaround

The musl/kernel headers workaround was added in commit 196932cd91
(toolchain: workaround musl/kernel headers conflict) to fix definition
collisions in networking related headers between musl headers and kernel
headers. Kernel headers from version 4.15 and newer do not need this
workaround anymore since kernel commit c0bace798436bc (uapi libc compat:
add fallback for unsupported libcs). The C library does not have to
define the __GLIBC__ macro to make the __UAPI_DEF_* macros effective.

Updated the comment to accordingly.

Tested with the xl2tp package. This package fails to build with older
kernel headers without the workaround (struct in_pktinfo redefinition,
among others). With 4.15 headers, xl2tp builds fine with this patch
applied. That is, no workaround needed.

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomusl: add more kernel headers guards
Baruch Siach [Tue, 13 Feb 2018 12:27:49 +0000 (14:27 +0200)]
musl: add more kernel headers guards

Kernel version 4.15 (not 4.16 as the musl commit log claims) allows
disabling of more parts of the kernel headers definitions. Add upstream
musl patch that defines the relevant macros. This solves issues of
networking related symbols redefinition in kernel headers that cause
headers conflicts. With that in place a subsequent commit will limit the
musl/kernel headers conflict avoidance workaround in Buildroot to kernel
headers older than 4.15. This workaround has been introduced in commit
196932cd91 (toolchain: workaround musl/kernel headers conflict).

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/lib{va, va-intel-driver, va-utils}: bump version to 2.1.0
Bernd Kuhls [Mon, 12 Feb 2018 16:52:36 +0000 (17:52 +0100)]
package/lib{va, va-intel-driver, va-utils}: bump version to 2.1.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/htop: bump to 2.1.0
Romain Naour [Mon, 12 Feb 2018 19:25:13 +0000 (20:25 +0100)]
package/htop: bump to 2.1.0

No upstream hash provided with this release [1].

Add licence file hash.

[1] http://www.freelists.org/post/htop/ANN-htop-210

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ffmpeg: bump version to 3.4.2
Bernd Kuhls [Mon, 12 Feb 2018 16:51:06 +0000 (17:51 +0100)]
package/ffmpeg: bump version to 3.4.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocjson: bump to version 1.7.3
Fabrice Fontaine [Sun, 11 Feb 2018 22:11:26 +0000 (23:11 +0100)]
cjson: bump to version 1.7.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosystemd: allow to build with uClibc toolchains
Waldemar Brodkorb [Mon, 12 Feb 2018 21:06:33 +0000 (22:06 +0100)]
systemd: allow to build with uClibc toolchains

We need to disable any systemd parts using either IDN, NSS or gshadow.
IDN is only disabled in C library function call to getnameinfo(),
it does not effect libidn/libidn2 usage in systemd.

Tested with qemu-system-arm.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/amarula_vyasa_rk3288: uboot needs pylibfdt
Vincent Stehlé [Sat, 10 Feb 2018 22:04:27 +0000 (23:04 +0100)]
configs/amarula_vyasa_rk3288: uboot needs pylibfdt

For this platform, u-boot uses dtoc during the build, which needs Python
libfdt. Set the corresponding option TARGET_UBOOT_NEEDS_PYLIBFDT in the
defconfig.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojson-for-modern-cpp: fix license hash
Adam Duskett [Mon, 12 Feb 2018 17:27:48 +0000 (12:27 -0500)]
json-for-modern-cpp: fix license hash

Fixes:

  http://autobuild.buildroot.net/results/942485b94f21567c2f35a1a3cc62450f3461a4f9

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-flask-sqlalchemy: new package
Adam Duskett [Tue, 6 Feb 2018 13:25:04 +0000 (08:25 -0500)]
python-flask-sqlalchemy: new package

Flask-SQLAlchemy is a Flask microframework extension which adds support for
the SQLAlchemy SQL toolkit/ORM.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix check-package warnings.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-sqlalchemy: new package
Adam Duskett [Tue, 6 Feb 2018 13:25:03 +0000 (08:25 -0500)]
python-sqlalchemy: new package

SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that
gives application developers the full power and flexibility of SQL.

It provides a full suite of well known enterprise-level persistence
patterns, designed for efficient and high-performing database access,
adapted into a simple and Pythonic domain language.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix check-package warnings.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/qemu_aarch64_virt_defconfig: bump kernel to 4.15.2
Vincent Stehlé [Sat, 10 Feb 2018 09:59:11 +0000 (10:59 +0100)]
configs/qemu_aarch64_virt_defconfig: bump kernel to 4.15.2

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglibc: needs host-bison
Ryan Coe [Wed, 7 Feb 2018 00:48:49 +0000 (16:48 -0800)]
glibc: needs host-bison

Since upstream commit 1faaf7035cabda101e1d6653bff7a539f201db91
("plural.c: improve reproducibility"), glibc now requires bison to be
available on the host for its build process. This is needed starting
with glibc 2.27.

Fixes:

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

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobusybox: bump to 1.28.0
Adam Duskett [Wed, 7 Feb 2018 14:52:15 +0000 (09:52 -0500)]
busybox: bump to 1.28.0

Other changes:
 - Update 0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch
   for 1.28.0
 - Remove upstream patches 3, 4, and 5.
 - Update buxybox.config and busybox-minimal.config

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/openssh: also install ssh-copy-id script
Julien BOIBESSOT [Wed, 7 Feb 2018 18:35:59 +0000 (19:35 +0100)]
package/openssh: also install ssh-copy-id script

This script is useful to copy SSH keys between client and server [1] and
installed on most distributions (for example on debian: [2]).

[1] https://www.ssh.com/ssh/copy-id
[2] https://packages.debian.org/fr/jessie/armhf/openssh-client/filelist

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: use full destination path.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibgpiod: bump version to v1.0
Bartosz Golaszewski [Wed, 7 Feb 2018 15:54:54 +0000 (16:54 +0100)]
libgpiod: bump version to v1.0

This is a major update for libgpiod. The API is not compatible with the
v0.x.y series but since nothing in current buildroot git depends on
this project, I believe we can simply bump the version.

The included tools are compatible with their 0.x.y counterparts.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agorygel: bump to version 0.36.1
Fabrice Fontaine [Wed, 7 Feb 2018 20:37:17 +0000 (21:37 +0100)]
rygel: bump to version 0.36.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocjson: bump to version 1.7.2
Fabrice Fontaine [Wed, 7 Feb 2018 20:36:58 +0000 (21:36 +0100)]
cjson: bump to version 1.7.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agousb_modeswitch_data: bump to version 20170806
Carlos Santos [Thu, 8 Feb 2018 19:15:09 +0000 (17:15 -0200)]
usb_modeswitch_data: bump to version 20170806

Also add license hash for "make legal-info".

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agousb_modeswitch: bump to version 2.5.2
Carlos Santos [Thu, 8 Feb 2018 19:15:07 +0000 (17:15 -0200)]
usb_modeswitch: bump to version 2.5.2

Also add license hash for "make legal-info".

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomodem-manager: bump to version 1.6.12
Carlos Santos [Thu, 8 Feb 2018 19:15:06 +0000 (17:15 -0200)]
modem-manager: bump to version 1.6.12

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibqmi: bump to version 1.20.0
Carlos Santos [Thu, 8 Feb 2018 19:15:04 +0000 (17:15 -0200)]
libqmi: bump to version 1.20.0

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibmbim: bump to version 1.16.0
Carlos Santos [Thu, 8 Feb 2018 19:14:47 +0000 (17:14 -0200)]
libmbim: bump to version 1.16.0

Drop the patch already applied upstream.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoliblo : bump version to 0.29
Alex Baldwin [Thu, 8 Feb 2018 19:37:48 +0000 (20:37 +0100)]
liblo : bump version to 0.29

Starting from version 0.28, C++ wrappers are provided as well. The
configure script appropriately detects the availability of a C++
compiler so no Buildroot changes are needed for this.

Building fails with --enable-ipv6 so --disable-ipv6 is needed in
CONF_OPTS.  This is known by liblo developers and building without
ipv6 support is recomennded.

Included hash for license files.

Signed-off-by: Alex Baldwin <alexbaldwinmusic@gmail.com>
[Thomas: use single sha256 hash for license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotinycbor: bump to version 0.5.0
Fabrice Fontaine [Tue, 6 Feb 2018 19:35:05 +0000 (20:35 +0100)]
tinycbor: bump to version 0.5.0

This version added support for shared or static library building
through BUILD_STATIC and BUILD_SHARED variables so set them depending
on BR2_xxx_LIBS variables

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosngrep: bump to 1.4.5
Adam Duskett [Tue, 6 Feb 2018 18:03:46 +0000 (13:03 -0500)]
sngrep: bump to 1.4.5

Also add 0001-Fix-building-against-LibreSSL.patch to fix compiling against
LibreSSL.

This patch has been submitted and accepted upstream.
https://github.com/irontec/sngrep/commit/0ee014d497986c40de264f6392b01fdf4e337fd5

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/wandboard: Add support for the rev D1 variants
Fabio Estevam [Tue, 6 Feb 2018 16:34:28 +0000 (14:34 -0200)]
configs/wandboard: Add support for the rev D1 variants

Since kernel 4.15 the wandboard rev D1 variants are supported.

Add support for them.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/wandboard: Bump U-Boot and kernel versions
Fabio Estevam [Tue, 6 Feb 2018 16:34:27 +0000 (14:34 -0200)]
configs/wandboard: Bump U-Boot and kernel versions

Bump U-Boot to 2018.01 version and kernel to 4.15.1.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoncurses: fix build failure with ncurses 6.1
Adam Duskett [Tue, 6 Feb 2018 17:40:35 +0000 (12:40 -0500)]
ncurses: fix build failure with ncurses 6.1

Ncurses 6.1 introduced the config option --disable-stripping which is
set to no by default.

Set this option to ensure that ncurses doesn't try to strip the
executables.

Fixes:

  http://autobuild.buildroot.net/results/3a5ddfcf7cd3a5c2bc068e3e33c823d6bcd3e79b

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu: add BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
Adam Duskett [Wed, 7 Feb 2018 21:23:53 +0000 (16:23 -0500)]
qemu: add BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS

Match the style used with other packages such as valgrind.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/rauc: Version bump to 0.3
Jan Kundrát [Thu, 8 Feb 2018 09:27:47 +0000 (10:27 +0100)]
package/rauc: Version bump to 0.3

There's a bug in 0.2 which prevents proper operation when activated via
D-Bus, which is why I'm bumping this.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Link: https://github.com/rauc/rauc/issues/125
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowget: bump to version 1.19.4
Baruch Siach [Thu, 8 Feb 2018 19:36:17 +0000 (21:36 +0200)]
wget: bump to version 1.19.4

Update license hash; s/http/https/ of in-text URLs.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoudftools: new package
Steve Kenton [Mon, 22 Jan 2018 21:31:38 +0000 (15:31 -0600)]
udftools: new package

Signed-off-by: Steve Kenton <skenton@ou.edu>
[Thomas: add hash for the license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ncurses: add option to install extra terminfo files
Cam Hutchison [Mon, 16 Oct 2017 01:13:51 +0000 (12:13 +1100)]
package/ncurses: add option to install extra terminfo files

Add an option to ncurses to install extra user-configured terminfo
files. By default, only a small number of vital terminfo files are
installed on the target. This allows a build to specify the terminfo
files it needs.

Signed-off-by: Cam Hutchison <camh@xdna.net>
[Thomas: qstrip the variable before using it.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoncurses: bump to 6.1
Adam Duskett [Tue, 6 Feb 2018 13:46:03 +0000 (08:46 -0500)]
ncurses: bump to 6.1

Remove 0002-recognise-uclinux.patch as it has been applies upstream.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojson-for-modern-cpp: bump to v3.1.0
Adam Duskett [Tue, 6 Feb 2018 13:39:44 +0000 (08:39 -0500)]
json-for-modern-cpp: bump to v3.1.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-cryptography tests
Yegor Yefremov [Thu, 7 Sep 2017 13:25:42 +0000 (15:25 +0200)]
support/testing: add python-cryptography tests

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoautofs: allow to use libtirpc
Waldemar Brodkorb [Thu, 1 Feb 2018 20:09:04 +0000 (21:09 +0100)]
autofs: allow to use libtirpc

uClibc-ng removed internal RPC implementation as it
is ipv4 only and can not be used for most important RPC software
rpcbind and nfs-utils.
musl does not implement RPC and GNU C library deprecated the
internal implementation a while ago.
It is still possible to use the C library implementation.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: change to use libtirpc when available, not just when the
toolchain does not have RPC support.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/glibc: security bump to 2.27
Romain Naour [Mon, 5 Feb 2018 20:57:16 +0000 (21:57 +0100)]
package/glibc: security bump to 2.27

See: https://sourceware.org/ml/libc-announce/2018/msg00000.html
https://sourceware.org/glibc/wiki/Release/2.27

Fixes the following CVEs:
 CVE-2017-1000408
 CVE-2017-1000409
 CVE-2017-16997
 CVE-2018-1000001
 CVE-2018-6485

While at it, add license file hashes.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboard: Add Tinker RK3288 board support
Jagan Teki [Tue, 30 Jan 2018 12:03:55 +0000 (13:03 +0100)]
board: Add Tinker RK3288 board support

Add Tinker board, from rk3288 family SOC.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoboard: Add Vyasa RK3288 board support
Jagan Teki [Tue, 30 Jan 2018 12:03:53 +0000 (13:03 +0100)]
board: Add Vyasa RK3288 board support

Add Vyasa board, from rk3288 family SOC.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/glibc: remove GLIBC_SRC_SUBDIR
Romain Naour [Mon, 5 Feb 2018 20:57:15 +0000 (21:57 +0100)]
package/glibc: remove GLIBC_SRC_SUBDIR

GLIBC_SRC_SUBDIR was needed when Buildroot supported
eglibc which stored all sources in a sub-directory.
It was not removed by the commit removing eglibc support [1].

[1] 500de2598a4902a0e9ec53f7b475046ff17c6681

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libraw: rename internal powf64
Romain Naour [Mon, 5 Feb 2018 20:57:14 +0000 (21:57 +0100)]
package/libraw: rename internal powf64

Starting with Glibc 2.27, powf64() is provided by the C library
and colide with the one defined dy libraw.

Rename internal powf64 to libraw_powf64.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pulseaudio: only define memfd_create() if not already defined
Romain Naour [Mon, 5 Feb 2018 20:57:13 +0000 (21:57 +0100)]
package/pulseaudio: only define memfd_create() if not already defined

Before glibc version 2.27 there was no wrapper for memfd_create(2).

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xlib_libxshmfence: fix build with glibc 2.27
Romain Naour [Mon, 5 Feb 2018 20:57:12 +0000 (21:57 +0100)]
package/x11r7/xlib_libxshmfence: fix build with glibc 2.27

With glibc 2.27 memfd_create() is inside a _GNU_SOURCE guard, so call
AC_USE_SYSTEM_EXTENSIONS to get this defined.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add reference to upstream commit, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments: remove bogus BR2_JLEVEL option
Thomas Petazzoni [Mon, 5 Feb 2018 21:46:59 +0000 (22:46 +0100)]
support/config-fragments: remove bogus BR2_JLEVEL option

There is no reason to have a BR2_JLEVEL option in such toolchain
defconfigs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments: add internal defconfigs for glibc and musl
Thomas Petazzoni [Mon, 5 Feb 2018 21:45:17 +0000 (22:45 +0100)]
support/config-fragments: add internal defconfigs for glibc and musl

While we have several defconfigs building internal toolchains with
uClibc, we don't have any building internal toolchain with glibc and
musl. However, having such defconfigs is nice when we bump the C
library version, in order to immediately get feedback on build
failures.

Note that while the ARC internal defconfig uses glibc, it uses the
special ARC glibc version, so it doesn't test version bumps of the
upstream glibc C library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agox11vnc: update to 0.9.15
Martin Kepplinger [Mon, 5 Feb 2018 08:31:41 +0000 (09:31 +0100)]
x11vnc: update to 0.9.15

This updates x11vnc from 0.9.14 to 0.9.15. The cherry-picked patch is now
part of the release.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/sqlite: bump version to 3220000 (3.22.0)
Scott Fan [Mon, 5 Feb 2018 12:08:41 +0000 (20:08 +0800)]
package/sqlite: bump version to 3220000 (3.22.0)

Signed-off-by: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoKick-off 2018.05 cycle
Thomas Petazzoni [Mon, 5 Feb 2018 16:49:16 +0000 (17:49 +0100)]
Kick-off 2018.05 cycle

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoCHANGES: add 2018.02-rc1 release date
Peter Korsgaard [Mon, 5 Feb 2018 16:24:45 +0000 (17:24 +0100)]
CHANGES: add 2018.02-rc1 release date

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website/news.html: update for 2018.02-rc1
Peter Korsgaard [Mon, 5 Feb 2018 16:21:04 +0000 (17:21 +0100)]
docs/website/news.html: update for 2018.02-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.02-rc1
Peter Korsgaard [Mon, 5 Feb 2018 15:34:00 +0000 (16:34 +0100)]
Update for 2018.02-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/testing: add tests for Rust
Eric Le Bihan [Sun, 4 Feb 2018 18:07:49 +0000 (19:07 +0100)]
support/testing: add tests for Rust

To test the support for the Rust language, the following tests are added:

- building Rust compiler and Cargo from source.
- installing a pre-built Rust compiler and building Cargo from source.

For each test, a Rust test program is built and installed in the root file
system of a ARM vexpress QEMU system. The test is declared OK if the program can
be run properly from the test system.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/manual: document cargo-based packages
Eric Le Bihan [Sun, 4 Feb 2018 18:07:48 +0000 (19:07 +0100)]
docs/manual: document cargo-based packages

Add instructions for adding a package which uses Cargo as build system.

[Peter: fix indentation]
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocargo: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:47 +0000 (19:07 +0100)]
cargo: new package

This new package provides Cargo, the Rust official package manager.
Cargo is written in Rust and uses Cargo as its build system. It also
depends on other Rust packages.

Normally, a previously installed version of Cargo would be used to:

 1. Fetch the dependencies.
 2. Build the new version of Cargo, using the available Rust compiler.

But the fetching step prevents offline builds. So instead two features
of Cargo are leveraged: vendoring [1] and local registry.

First, a tarball of the build dependencies generated using `cargo
vendor` is fetched along with Cargo source code.

Then, the build process is as follows:

 1. The tarball of the build dependencies is uncompressed in a local
    registry.
 2. A snapshot of Cargo, provided by cargo-bin, builds the final
    version of Cargo.
 3. A configuration file telling Cargo how to cross-compile programs for
    the target is generated and installed.

Currently, only the host variant is provided.

[1] https://github.com/alexcrichton/cargo-vendor

[Peter: use src.fedoraproject.org, fix comment]
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcurl: add host variant
Eric Le Bihan [Sun, 4 Feb 2018 18:07:46 +0000 (19:07 +0100)]
libcurl: add host variant

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibhttpparser: add host variant
Eric Le Bihan [Sun, 4 Feb 2018 18:07:45 +0000 (19:07 +0100)]
libhttpparser: add host variant

Allow build of host variant of libhttpparser.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibssh2: add host variant
Eric Le Bihan [Sun, 4 Feb 2018 18:07:44 +0000 (19:07 +0100)]
libssh2: add host variant

Allow build of host variant of libssh2, which depends on host-openssl.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agorust: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:43 +0000 (19:07 +0100)]
rust: new package

This new package provides rustc, the compiler for the Rust programming
language, built from source.

Currently, only the host variant is built.

The Rust compiler uses LLVM as its backend: a copy of LLVM source code
is provided and CMake is used to build it. It is possible to use a
pre-built external copy. When LLVM/clang will be available in Buildroot,
it would be possible to benefit from this feature and thus decrease
build time.

LLVM is configured to generate code for x86, ARM, PowerPC and MIPS
architectures.

The Rust compiler uses Cargo as its build system and is written in Rust.
Therefore this package depends on cargo-bin and rust-bin.

The internal build process is as follows:

 1. stage0 compiler, provided by rust-bin, is used to build stage1
    compiler.
 2. stage1 compiler builds the final Rust compiler (stage2 compiler)
    and the standard library for the host architecture.
 3. the standard library for the target architecture is built.

The target architecture to support is given by the GNU/LLVM target
triple. Rust supports some predefined targets [1]. As the build system
expects the triple to be in the form of <arch>-unknown-<system> and
Buildroot toolchain wrapper uses <arch>-buildroot-<system>, the package
Makefile uses $(RUST_TARGET_NAME) defined in the rustc package and uses
it instead of $(GNU_TARGET_NAME).

When compiling Rust code with this compiler, the generated program only
depends on the target C library, as it is statically linked to the Rust
standard library and any other code from Rust packages (a.k.a.
"crates").

If the jemalloc package is selected, support for this memory allocator
will be enabled in the target standard library.

The menuconfig entry for rustc is also updated to expose this provider.

[1] https://forge.rust-lang.org/platform-support.html

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocargo-bin: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:42 +0000 (19:07 +0100)]
cargo-bin: new package

This new package fetches a binary version of Cargo, suitable to
bootstrap the host variants of the Rust compiler and Cargo, the package
manager.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agorust-bin: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:41 +0000 (19:07 +0100)]
rust-bin: new package

This package provides a pre-built version of rustc, the compiler for the
Rust programming language, fetched from the upstream project.

A pre-built version of the standard library for the host as well as one
for the chosen target are also fetched and installed.

Only the host variant is provided to allow the user to cross-compile
Rust programs and run them on the target.

This package could also be used to provide a bootstrap compiler when building
Rust from source. So, in order to add it as a build dependency, the compiler and
standard libraries are only installed in $(HOST_DIR) if the package is
explicitly selected.

The menuconfig entry for rustc is also updated to expose this provider.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agorustc: new virtual package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:40 +0000 (19:07 +0100)]
rustc: new virtual package

The compiler for the Rust programming language is called rustc.

There is only one reference implementation for it, based on LLVM, from
the Rust project [1]. It can generate code for various architectures so
it can be labeled as a cross-compiler. But, as for GCC, building it
from source takes time.

So it would be sensible to have at least one package which provides it
as a pre-built version, fetched from the upstream project. Later another
package can be added, to build it from source code.

In addition to the compiler, the standard library for the host and/or
the target should also be fetched/built.

So, add a virtual package named rustc to enable support for multiple
providers.

Currently, only the host variant will be available to allow the user to
cross-compile Rust programs for the target.

[1] http://rust-lang.org

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libsamplerate: add optional dependency to alsa-lib
Bernd Kuhls [Sun, 4 Feb 2018 12:05:27 +0000 (13:05 +0100)]
package/libsamplerate: add optional dependency to alsa-lib

Configure summary without this patch and without alsa-lib built before:

  Extra tools required for testing and examples :
[...]
    Have ALSA : ................... no

and with this patch

  Extra tools required for testing and examples :
[...]
    Have ALSA : ................... yes

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/mx53loco: Bump U-Boot and kernel versions
Fabio Estevam [Mon, 5 Feb 2018 12:03:55 +0000 (10:03 -0200)]
configs/mx53loco: Bump U-Boot and kernel versions

Bump U-Boot to 2018.01 version and kernel to 4.15.1.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogcc: or1k: use 20170218 tag instead of branch
Peter Korsgaard [Sat, 3 Feb 2018 20:18:21 +0000 (21:18 +0100)]
gcc: or1k: use 20170218 tag instead of branch

As pointed out by Joel Stanley:
https://patchwork.ozlabs.org/patch/863011/

Github now longer provides the exact same tarball for the or1k musl-5.4.0
tarball, breaking the build.  Even more, musl-5.4.0 is the name of a git
branch, not a tag.

Fix both problems by changing to the or1k-musl-5.4.0-20170218 tag, which
points to the exact same git commit.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoRevert "python3: bump to 2.6.4"
Thomas Petazzoni [Mon, 5 Feb 2018 06:08:42 +0000 (07:08 +0100)]
Revert "python3: bump to 2.6.4"

This reverts commit 233202597d9411399aeaded2f9a7cd14f2e29833, which
causes a lot of build failures. Part of the Python build process tries
to use os.replace(), which is only available since Python 3.3. It
should work if the host-python being built was used, but unfortunately
the system Python ends up being used, causing the build failure.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>