buildroot.git
6 years agopackage/xorriso: fix to use the system xattr header
Yann E. MORIN [Sat, 30 Jun 2018 14:21:25 +0000 (16:21 +0200)]
package/xorriso: fix to use the system xattr header

We don't carry a git-formatted patch, because upstream is in fact a
collection of git trees, while the release tarball is an aggregate
of those repositories. Thus, the layout is different between the
tarball and the SCM...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Steve Kenton <skenton@ou.edu>
[Thomas:
 - add host-pkgconf as a dependency of host-xorriso, since it's needed
   for autoreconf to work
 - drop HOST_XORRISO_AUTORECONF = YES, since it's implied by
   XORRISO_AUTORECONF = YES.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibv4l: fix build with sdl2_image
Fabrice Fontaine [Sat, 30 Jun 2018 18:40:32 +0000 (20:40 +0200)]
libv4l: fix build with sdl2_image

sdlcam test includes jpeglib.h so add a patch to disable it if jpeg is
disabled

Fixes:
 - http://autobuild.buildroot.net/results/1eded8b44cc369550566c6ce0b3c042f1aec8d44

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqpdf: security bump to version 8.1.0
Baruch Siach [Fri, 29 Jun 2018 05:18:58 +0000 (08:18 +0300)]
qpdf: security bump to version 8.1.0

Fixes CVE-2018-9918: mishandle certain "expected dictionary key but
found non-name object" cases, allowing remote attackers to cause a
denial of service (stack exhaustion)

https://github.com/qpdf/qpdf/issues/202

Drop local SHA256 hash since we use upstream provided SHA512.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-pam: bump to version 1.3.1
Baruch Siach [Fri, 29 Jun 2018 05:02:58 +0000 (08:02 +0300)]
linux-pam: bump to version 1.3.1

The tarball is now at github.

Switch to .tar.xz, that's the only format that upstream provides.

Add a note on tarball signature and key.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibostree: fix libsoup configure option name
Marcus Folkesson [Fri, 29 Jun 2018 08:13:00 +0000 (10:13 +0200)]
libostree: fix libsoup configure option name

The option used by configure script is actually
--with-soup/--without-soup.

Fixes:

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

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoRevert "gnutls: drop wchar dependency"
Baruch Siach [Fri, 29 Jun 2018 10:44:04 +0000 (13:44 +0300)]
Revert "gnutls: drop wchar dependency"

This reverts commit 694cdb9273433e8a1278e2e3bb2a7fe2004aa813.

Just like commit 68c3f5257d94 (Revert "gnutls: make it non-wchar
friendly") before. It turns out that gnulib expects some other library
to provide a wctomb() implementation. So when the C library does not
provide one it is left as undefined symbol in libgnutls.so.

Add a comment to reduce the chance of repeating the same mistake again.

Fixes:
http://autobuild.buildroot.net/results/86f/86f08276fcb0cc557ab3cc5f57229b2c0c6ac2d7/
http://autobuild.buildroot.net/results/7c4/7c4bcb839f0ad5bc0496b4115ff391a3b312581a/
http://autobuild.buildroot.net/results/1c3/1c353f542c49bbe5520266c0ebb6a58589032453/

Reported-by: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/stress-ng: bump version
Yann E. MORIN [Sat, 30 Jun 2018 14:21:24 +0000 (16:21 +0200)]
package/stress-ng: bump version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/lua-flu: fix to use the system xattr header
Yann E. MORIN [Sat, 30 Jun 2018 14:21:23 +0000 (16:21 +0200)]
package/lua-flu: fix to use the system xattr header

We can't carry a mercurial patch, because the luarocks package is not
organised with the same layout as the upstream package source tree is.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoRevert "zeromq: needs NPTL"
Waldemar Brodkorb [Sat, 5 May 2018 16:05:31 +0000 (18:05 +0200)]
Revert "zeromq: needs NPTL"

This reverts commit 1e2a8d4111f57e79c1848c7a70c6501e2bdacd58.

Since version 1.0.30, uClibc-ng release supports the missing functions
even for Linuxthreads, therefore the dependency on NPTL is no longer
needed.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodropbear: enable PAM authentication if linux-pam is selected
Carlos Santos [Fri, 29 Jun 2018 12:21:09 +0000 (09:21 -0300)]
dropbear: enable PAM authentication if linux-pam is selected

- Disable password file authentication, since it's not possible to have
  both at once.
- Install a /etc/pam.d/sshd file, based on the one installed by openssh.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofftw: bump to version 3.3.8
Baruch Siach [Fri, 29 Jun 2018 10:31:47 +0000 (13:31 +0300)]
fftw: bump to version 3.3.8

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/Makefile.in: replace invocation of tempfile w/ mktemp in try-run
Joseph Kogut [Fri, 29 Jun 2018 21:40:12 +0000 (14:40 -0700)]
package/Makefile.in: replace invocation of tempfile w/ mktemp in try-run

mktemp is included in GNU Coreutils, and its usage is preferred over
tempfile.

http://lists.gnu.org/archive/html/bug-coreutils/2007-10/msg00134.html

Additionally, some distributions no longer package tempfile, causing
the try-run macro to not work as expected. For example, due to try-run
not behaving as expected, testing for the -no-pie option in the
aespipe package doesn't work, and we build without -no-pie, causing a
build failure.

See also commit 91a08ecc998 (package/Makefile.in: add host-cc-option
macro) which introduced that initial code, explicitly to add -no-pie
when needed.

Fixes:
  http://autobuild.buildroot.net/results/db50f4415d18441f94b641ef6dc5a3672678b8b9/
  http://autobuild.buildroot.net/results/76d73f767d3aab3c97d61188f5666899d72ed82d/
  http://autobuild.buildroot.net/results/6aa9031962603354086b49bc49add92fde496ec2/
  http://autobuild.buildroot.net/results/33d22f4d96fb439be8551355290896ef6d3649df/
  http://autobuild.buildroot.net/results/eeec2ed80e147c172ec2d50958b12cfa38b2cc8d/

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibv4l: add optional sdl2_image dependency
Fabrice Fontaine [Fri, 29 Jun 2018 19:52:47 +0000 (21:52 +0200)]
libv4l: add optional sdl2_image dependency

The configure.ac script simply uses PKG_CHECK_MODULES(), so there is
not --enable/--disable option.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/heimdal: fix build when the host has some DB libs
Yann E. MORIN [Sat, 30 Jun 2018 07:03:10 +0000 (09:03 +0200)]
package/heimdal: fix build when the host has some DB libs

When the host has a DB library installed, namely LMDB, host-heimdal
will detect it and try to use, resulting in a build failure due to
missing symbols.

Really disable all the DB backends, we don't need them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: bump version to 4.8.3
Bernd Kuhls [Sat, 30 Jun 2018 11:29:07 +0000 (13:29 +0200)]
package/samba4: bump version to 4.8.3

Removed patch applied upstream.

Release notes: https://www.samba.org/samba/history/samba-4.8.3.html

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5base: fix typo in qmake.conf.in
Gaël PORTAY [Sat, 30 Jun 2018 06:29:27 +0000 (02:29 -0400)]
qt5base: fix typo in qmake.conf.in

A blank space is missing.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5base: remove unused definition
Gaël PORTAY [Sat, 30 Jun 2018 12:57:13 +0000 (08:57 -0400)]
qt5base: remove unused definition

Since commit 81fb33af2a (qt5base: correct eglfs support in
qmake.conf.in) the definition QT5BASE_CONFIGURE_QMAKE_CONFIG is left
unused.

Remove it since it is not used anymore.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer: fix build on AArch64 BE
Thomas Petazzoni [Sat, 30 Jun 2018 16:04:15 +0000 (18:04 +0200)]
gstreamer: fix build on AArch64 BE

We recently enabled AArch64 big-endian testing in the autobuilders,
and gstreamer started failing because it does an AC_TRY_RUN() test to
check if unaligned accesses are allowed or not. We already handled the
AArch64 LE case, but not the AArch64 BE case, so let's handle it.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: update pre-built Buildroot toolchains
Thomas Petazzoni [Sat, 30 Jun 2018 16:00:30 +0000 (18:00 +0200)]
support/config-fragments/autobuild: update pre-built Buildroot toolchains

All pre-built Buildroot toolchains have been rebuilt with Buildroot
2018.05, so this commit updates the corresponding configuration
fragments to make sure the autobuilders use the new toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: backport arm acle bugfix 81497
Gaël PORTAY [Tue, 12 Jun 2018 19:49:39 +0000 (15:49 -0400)]
package/gcc: backport arm acle bugfix 81497

The compiler g++ reports an error when the header arm_acle.h is
included from version 7.

This patch backports the bugfix upstreamed [1] for gcc-7 and gcc-8.

Fixes:

In file included from ../../include/QtCore/5.10.1/QtCore/private/../../../../../src/corelib/tools/qsimd_p.h:333,
                 from ../../include/QtCore/5.10.1/QtCore/private/qsimd_p.h:1,
                 from global/qlogging.cpp:58:
/home/gportay/src/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.1.0/include/arm_acle.h: In function ‘void __arm_ldc(unsigned int, unsigned int, const void*)’:
/home/gportay/src/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.1.0/include/arm_acle.h:48:46: error: invalid conversion from ‘const void*’ to ‘const int*’ [-fpermissive]
   return __builtin_arm_ldc (__coproc, __CRd, __p);
                                              ^~~
<built-in>: note:   initializing argument 3 of ‘void __builtin_arm_ldc(unsigned int, unsigned int, const int*)’
...
Makefile:196: recipe for target 'sub-corelib-make_first' failed
make[3]: *** [sub-corelib-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed
make[2]: *** [sub-src-make_first] Error 2
package/pkg-generic.mk:229: recipe for target '/home/gportay/src/buildroot/output/build/qt5base-5.10.1/.stamp_built' failed
make[1]: *** [/home/gportay/src/buildroot/output/build/qt5base-5.10.1/.stamp_built] Error 2
Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2

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

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/protobuf: add a patch to fix building on mips big endian
Charles Hardin [Mon, 21 May 2018 17:53:07 +0000 (10:53 -0700)]
package/protobuf: add a patch to fix building on mips big endian

The patch was submitted upstream as
https://github.com/google/protobuf/pull/4657.

Signed-off-by: Charles Hardin <charles.hardin@storagecraft.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopixiewps: fix static linking with uclibc-ng
Fabrice Fontaine [Sun, 10 Jun 2018 18:11:04 +0000 (20:11 +0200)]
pixiewps: fix static linking with uclibc-ng

Fixes following linking error with uClibc-ng:
/home/peko/autobuild/instance-0/output/host/lib/gcc/powerpc-buildroot-linux-uclibc/7.3.0/libgcc.a(unwind-dw2-fde-dip.o):
In function `_Unwind_Find_FDE':
/home/peko/autobuild/instance-0/output/build/host-gcc-final-7.3.0/build/powerpc-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:469:
undefined reference to `dl_iterate_phdr'
collect2: error: ld returned 1 exit status

Since uClibc-ng 1.0.18 a circular dependency between libc and libgcc
exist, when static linking is used. It can be resolved by the compiler
when -static is correctly passed in the linking step.

So use TARGET_CONFIGURE_OPTS to pass CC as well as LDFLAGS to make

Fixes:
 - http://autobuild.buildroot.net/results/d9f0311538c8db1196839e36af3f6ef4e403be2b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: add Linaro AArch64 BE support
Ofer Heifetz [Thu, 28 Jun 2018 07:24:23 +0000 (10:24 +0300)]
support/config-fragments/autobuild: add Linaro AArch64 BE support

Signed-off-by: Ofer Heifetz <oferh@marvell.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain-external-linaro-aarch64-be: new package
Ofer Heifetz [Thu, 28 Jun 2018 07:24:22 +0000 (10:24 +0300)]
toolchain-external-linaro-aarch64-be: new package

This commit adds a new package for the Linaro external toolchain for
the AArch64 Big Endian architecture.

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Signed-off-by: Ofer Heifetz <oferh@marvell.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotrousers/tpm-tools: enable on ARC
Evgeniy Didin [Thu, 28 Jun 2018 10:58:14 +0000 (13:58 +0300)]
trousers/tpm-tools: enable on ARC

With the latest ARC toolchain arc-2018.03 builds of "trousers" and
"tpm-tools" packages perform without errors.
Lets enable these packages for ARC.

With the exception, building tpm-tools for ARC770/750 requires to pass
"-mno-compact-casesi" as it was made for trousers before:
see patch f4cd8ceb9cfa "trousers: Pass "-mno-compact-casesi" when
building for ARCv1".
This change is a temporary workaround and the feature is going to be
fixed in the next ARC toolchain release version.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxterm: enable for ARC external toolchain
Evgeniy Didin [Thu, 28 Jun 2018 10:57:00 +0000 (13:57 +0300)]
xterm: enable for ARC external toolchain

With the latest prebuilt ARC toolchain this package is building
without any errors.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agompv: enable for ARC external toolchain
Evgeniy Didin [Thu, 28 Jun 2018 10:56:59 +0000 (13:56 +0300)]
mpv: enable for ARC external toolchain

With the latest prebuilt ARC toolchain this package is building
without any errors.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agompd: enable for ARC external toolchain
Evgeniy Didin [Thu, 28 Jun 2018 10:56:58 +0000 (13:56 +0300)]
mpd: enable for ARC external toolchain

With the latest prebuilt ARC toolchain this package is building
without any errors.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain: bump ARC prebuild toolchain to arc-2018.03
Evgeniy Didin [Wed, 27 Jun 2018 18:29:31 +0000 (21:29 +0300)]
toolchain: bump ARC prebuild toolchain to arc-2018.03

Lets update prebuilt ARC toolchain to the most recent arc-2018.03.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: regroup entries for Sven Neumann
Sven Neumann [Thu, 28 Jun 2018 13:50:09 +0000 (15:50 +0200)]
DEVELOPERS: regroup entries for Sven Neumann

Move all entries from Sven Neumann under his new e-mail address.

Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowampcc: new package
Sven Neumann [Thu, 28 Jun 2018 13:50:08 +0000 (15:50 +0200)]
wampcc: new package

Signed-off-by: Sven Neumann <neumann@teufel.de>
[Thomas:
 - add entry to DEVELOPERS file
 - add missing dependency on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 - rework comments on the dependencies]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/imx6-sabresd: bump U-Boot and Linux kernel
Fabio Estevam [Tue, 26 Jun 2018 22:11:32 +0000 (19:11 -0300)]
configs/imx6-sabresd: bump U-Boot and Linux kernel

Bump U-Boot to version 2018.05 and kernel to 4.7.3.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowine: Bump to version 3.0.2
André Hentschel [Tue, 26 Jun 2018 20:27:15 +0000 (22:27 +0200)]
wine: Bump to version 3.0.2

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocmocka: new package
Joel Carlson [Wed, 20 Jun 2018 22:26:11 +0000 (16:26 -0600)]
cmocka: new package

Signed-off-by: Nimai Mahajan <nimaim@gmail.com>
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Joel Carlson &lt;<a href="mailto:JoelsonCarl@gmail.com" target="_blank">JoelsonCarl@gmail.com</a>&gt;<br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/dehydrated: new package
Arnout Vandecappelle (Essensium/Mind) [Mon, 18 Jun 2018 12:13:09 +0000 (14:13 +0200)]
package/dehydrated: new package

dehydrated is an ACME client written in bash. It should be able to run
under zsh as well, but this hasn't been tested so it isn't enabled for
now.

Normally, we would want an init script to start dehydrated, and an
example configuration file. However, it is very difficult to do this
in a generic way in Buildroot:
- we normally don't have cron running;
- we have no standard location for webroot;
- we have no standard location for certificates;
- we have no standard way to restart/reload the webserver.
So instead, provide brief documentation of how to use dehydrated in the
help text.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/hidapi: select glibc gconv libs copy
Dan Walkes [Sun, 17 Jun 2018 17:51:53 +0000 (17:51 +0000)]
package/hidapi: select glibc gconv libs copy

Hidapi source uses iconv_open UTF-16 conversion [1] which requires
gconv libararies when buiding with glibc in order to successfully
find serial number, manufacturer and product strings [2].

Use select in the config file to autmatically select gconv libararies
for inclusion on the target when building with glibc

Tested with ./utils/test-pkg -c hidapi.cfg -p hidapi and hidapi.cfg file
contents:
BR2_PACKAGE_HIDAPI=y
BR2_PACKAGE_EUDEV=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_USE_MMU=y
BR2_USE_WCHAR=y

Also tested on x86-64 build target with application using hidapi

[1]: https://github.com/signal11/hidapi/blob/a6a622ffb680c55da0de787ff93b80280498330f/libusb/hid.c#L446
[2]: https://www.silabs.com/community/interface/forum.topic.html/cp2114_linux_sta-RtWg

Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com>
Tested-by: Dan Walkes <danwalkes@trellis-logic.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5base: fix license
Fabrice Fontaine [Mon, 18 Jun 2018 21:36:20 +0000 (23:36 +0200)]
qt5base: fix license

- Since QT 5.11, LICENSE.GPLv3 doesn't exist anymore so use LICENSE.GPL3
  and add its hash
- Update hash of LICENSE.LGPLv3 (as it now makes a reference to
  LICENSE.GPL3 instead of LICENSE.GPLv3)
- Update hash of header.BSD (year is now YYYY instead of 2016)

Fixes:
 - http://autobuild.buildroot.net/results/b8add9b9a2defe5e64330714e9768ffa6393adc0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-imx: add hash for license file
Adam Duskett [Sat, 23 Jun 2018 22:35:29 +0000 (00:35 +0200)]
gst1-imx: add hash for license file

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1-editing-services: bump to 1.14.1
Peter Seiderer [Sat, 23 Jun 2018 22:35:28 +0000 (00:35 +0200)]
gstreamer1-editing-services: bump to 1.14.1

- change legacy select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER to
  new select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-validate: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:27 +0000 (00:35 +0200)]
gst1-validate: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-libav: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:26 +0000 (00:35 +0200)]
gst1-libav: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-vaapi: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:25 +0000 (00:35 +0200)]
gst1-vaapi: bump to 1.14.1

- add upstream patch to fix the following compile failure:

  gstvaapipluginutil.c:259:12: error: ‘GstGLDisplay’ undeclared (first use in this function); did you mean ‘GstVaapiDisplay’?
             (GstGLDisplay **) & plugin->gl_display,
              ^~~~~~~~~~~~
              GstVaapiDisplay
  gstvaapipluginutil.c:259:12: note: each undeclared identifier is reported only once for each function it appears in
  gstvaapipluginutil.c:259:27: error: expected expression before ‘)’ token
             (GstGLDisplay **) & plugin->gl_display,
                             ^

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-rtsp-server: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:24 +0000 (00:35 +0200)]
gst1-rtsp-server: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst-omx: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:23 +0000 (00:35 +0200)]
gst-omx: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-${base, good, bad, ugly}: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:22 +0000 (00:35 +0200)]
gst1-plugins-${base, good, bad, ugly}: bump to 1.14.1

These are grouped together because several plugins have been re-arranged and
there is no way to individually update each plugin package.

Changes:

Add the following to gst1-plugins-base and remove them from plugins-bad:
 - opengl
 - gles2
 - glx
 - egl
 - x11
 - dispmanx
 - audiomixer

Add the following to plugins-good and remove them from plugins-ugly:
 - lame
 - mpg123

moved --disable-qt from plugins-bad to plugins-good

Delete upstream patch from gst1-plugins-ugly ([1])
 - 0001-x264enc-fix-build-with-newer-x264-with-support-for-m.patch

Also add hashes for the license files.

[1] https://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=83c38dc44622611c1f67dd26e4cb383c5aef90f6

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Upate to 1.14.1]
[Removed legacy lame/mpg123 option, add Config.in.legacy handling]
[remove leftover audiomixer handling from gst1-plugins-bad.mk]
[remove upstream patch from gst1-plugins-ugly]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:21 +0000 (00:35 +0200)]
gstreamer1: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopatchelf: add patch to fix relative rpath issue on big-endian systems
Bryce Ferguson [Mon, 25 Jun 2018 21:44:07 +0000 (16:44 -0500)]
patchelf: add patch to fix relative rpath issue on big-endian systems

This commit adds a patch to the host package patchelf to fix an issue
with endianness when the --make-rpath-relative option is
specified. Currently, patchelf does not take into account the
architecture of the target ELF when it performs the fixup on the
RPATH. Thus, if it differs from the host in endianness, the RUNPATH
field will be invalid. The patch fixes the bug reported here:

https://bugs.busybox.net/show_bug.cgi?id=11101

Signed-off-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibostree: bump to version 2018.6
Marcus Folkesson [Tue, 26 Jun 2018 09:09:41 +0000 (11:09 +0200)]
libostree: bump to version 2018.6

Also, add upstream patch for not fail builds on 32bit architectures.
The patch will be removed when bumping to v2018.7.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{9, 14, 17}.x series
Fabio Estevam [Tue, 26 Jun 2018 11:24:46 +0000 (08:24 -0300)]
linux-headers: bump 4.{9, 14, 17}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: bump default to version 4.17.3
Fabio Estevam [Tue, 26 Jun 2018 11:24:45 +0000 (08:24 -0300)]
linux: bump default to version 4.17.3

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibnss: fix build with uClibc
Baruch Siach [Tue, 26 Jun 2018 10:28:23 +0000 (13:28 +0300)]
libnss: fix build with uClibc

Add a patch defining AT_HWCAP2 locally since uClibc is missing this
macro. Once uClibc updates its elf.h copy we can remove this patch.

Fixes:

  http://autobuild.buildroot.net/results/06f/06f5ee4bc9e623fa08d77278acdcb447148ae997/
  http://autobuild.buildroot.net/results/7cd/7cd7586f5854f9447c37adeedb9c113ba37ebea4/
  http://autobuild.buildroot.net/results/335/335bee755fbec45a6d5336c2501dc2687859ec0e/

Cc: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibnss: drop obsolete patch
Baruch Siach [Tue, 26 Jun 2018 10:28:22 +0000 (13:28 +0300)]
libnss: drop obsolete patch

uClibc implements RTLD_NOLOAD for quite some time now. Remove the patch
adding a dummy definition of RTLD_NOLOAD.

Cc: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/Config.in: fix alphabetical order
Carlos Santos [Mon, 25 Jun 2018 20:39:09 +0000 (17:39 -0300)]
package/Config.in: fix alphabetical order

Commit a098636a6b6 inserted LLVM between linux-pam and its plugins.

Change-Id: Idd298321da5742c8dcc75191c79cf22c663a95ff
Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat-spi2-atk: new package
Joseph Kogut [Fri, 22 Jun 2018 00:33:36 +0000 (17:33 -0700)]
at-spi2-atk: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas: drop unneeded AT_SPI2_ATK_INSTALL_STAGING_OPTS variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat-spi2-core: new package
Joseph Kogut [Fri, 22 Jun 2018 00:33:35 +0000 (17:33 -0700)]
at-spi2-core: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas:
 - drop host-meson dependency, unneeded since the meson-package
   infrastructure is used
 - add -Ddbus_daemon=/usr/bin/dbus-daemon, otherwise at-spi2-core
   meson build system tries to find dbus-daemon on the host machine,
   where it may not be available.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 23 Jun 2018 18:55:44 +0000 (20:55 +0200)]
package/tvheadend: bump version

Removed patch 0002, applied upstream:
https://github.com/tvheadend/tvheadend/commit/068e5f921ddc22e648ebe006e515baf3e1ea12d1

Added patch to fix musl & uclibc build.

Renamed option dvbcsa to tvhcsa.

Upstream removed the dvbcsa configure option with this commit:
https://github.com/tvheadend/tvheadend/commit/4e7f837c7055f4cb173164ca31af139e0a7858a5#diff-e2d5a00791bce9a01f99bc6fd613a39d

and moved the optional dvbcsa support inside the tvhcsa option block:
https://github.com/tvheadend/tvheadend/blob/c76c7e0604977305498221f83c049d6d4fc715ed/configure#L645

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5charts: bump hash for 5.11.0
Gaël PORTAY [Mon, 18 Jun 2018 22:49:07 +0000 (18:49 -0400)]
qt5charts: bump hash for 5.11.0

The hash bump was missing commit 4fbb2d143d (qt5: bump latest version to
5.11.0).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5charts: allow to build with qt5.6
Gaël PORTAY [Mon, 18 Jun 2018 22:49:06 +0000 (18:49 -0400)]
qt5charts: allow to build with qt5.6

This module is available for Qt 5.6 since version 5.6.3 under the
version number 2.1.3.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: ARC version is based on GDB 8.0, needs C++11 support
Thomas Petazzoni [Mon, 25 Jun 2018 19:54:43 +0000 (21:54 +0200)]
gdb: ARC version is based on GDB 8.0, needs C++11 support

The special gdb version used for ARC is based on GDB 8.0, so it needs
C++11 support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain: bump ARC tools to arc-2018.03 release
Evgeniy Didin [Mon, 25 Jun 2018 15:45:35 +0000 (18:45 +0300)]
toolchain: bump ARC tools to arc-2018.03 release

This commit finally bumps ARC tools to the most recent arc-2018.03
release version.

ARC GNU tools of version arc-2018.03 bring some quite significant
changes like:
* Binutils v2.29.51 with additional ARC patches
* GCC 7.3.1 with additional ARC patches
* GDB 8.0.50 with ARC patches

More information on this release could be found here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.03-release

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: add patch to fix noMMU build issue
Thomas Petazzoni [Mon, 25 Jun 2018 08:07:38 +0000 (10:07 +0200)]
gdb: add patch to fix noMMU build issue

This commit adds a patch to fix a build issue encountered on noMMU
architectures when building gdbserver, due to the use of fork()
instead of vfork().

The patch has been submitted upstream:

  https://sourceware.org/ml/gdb-patches/2018-06/msg00569.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-libconfig: fix build with boost 1.67
Fabrice Fontaine [Sun, 24 Jun 2018 17:50:45 +0000 (19:50 +0200)]
python-libconfig: fix build with boost 1.67

Since boost 1.67, python3 boost library is boost_python36.so instead of
boost_python3.so so update first patch

Fixes:
 - http://autobuild.buildroot.net/results/6f973f2945727b302409405288ef0b9808c7317b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/solidrun_clearfog: bump kernel and bootloader
Baruch Siach [Mon, 25 Jun 2018 16:20:17 +0000 (19:20 +0300)]
configs/solidrun_clearfog: bump kernel and bootloader

Update the kernel version to 4.17.2.

Update U-Boot version to 2018.05.

Migrate to U-Boot generic distro configuration which is easier than the
hand written boot script.

Improve the 'dd' command example in readme.txt.

Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: add option for contract library
Fabrice Fontaine [Sun, 24 Jun 2018 18:24:43 +0000 (20:24 +0200)]
boost: add option for contract library

Contract library has been added in boost 1.67 and depends on NPTL

Fixes:
 - http://autobuild.buildroot.net/results/a3dd35cfa50a1862c585a648298351c0aba257db

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodomoticz: remove boost hack for powerpc64le
Fabrice Fontaine [Sun, 24 Jun 2018 14:15:05 +0000 (16:15 +0200)]
domoticz: remove boost hack for powerpc64le

Since boost 1.67, seed_rng.hpp has been removed:
https://github.com/boostorg/uuid/commit/a8a1ec3d826b04d2c842e79ecd18cff6a991fd29

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognuradio: bump to version 3.7.13.3
Fabrice Fontaine [Sun, 24 Jun 2018 20:12:34 +0000 (22:12 +0200)]
gnuradio: bump to version 3.7.13.3

- This bump to 3.7.13.x fixes build with boost 1.67
- Remove patch (not needed as boost unit_test_framework has been
  removed since
  https://github.com/gnuradio/volk/commit/6dda1a1e9545d24a1c6f0b2a5d4b5d018fdcbff9)
- Add host-python-mako and host-python-six dependencies
- Add hash for license file

Fixes:
 - http://autobuild.buildroot.net/results/ca3b01a13cb0c580266aae5f3673b2c0a19ac6a4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: remove 7.11
Romain Naour [Sun, 24 Jun 2018 13:53:10 +0000 (15:53 +0200)]
package/gdb: remove 7.11

Now that 8.1 has been added and 8.0 is the default version, let's
remove the old 7.11 release.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: remove 7.10
Romain Naour [Sun, 24 Jun 2018 13:53:09 +0000 (15:53 +0200)]
package/gdb: remove 7.10

Now that 8.1 has been added and 8.0 is the default version, let's
remove the old 7.10 release.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: switch to 8.0 as the default version
Romain Naour [Sun, 24 Jun 2018 13:53:08 +0000 (15:53 +0200)]
package/gdb: switch to 8.0 as the default version

8.1 is around, 8.0 has already seen a point release, so it's time to
make 8.0 the default version for gdb.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: add version 8.1
Romain Naour [Sun, 24 Jun 2018 13:53:07 +0000 (15:53 +0200)]
package/gdb: add version 8.1

https://sourceware.org/ml/gdb-announce/2018/msg00001.html

gdb 8.1 has a new optional dependency on mpfr, which according to the
NEWS file:

   GDB now uses the GNU MPFR library, if available, to emulate target
   floating-point arithmetic during expression evaluation when the
   target uses different floating-point formats than the host.  At
   least version 3.1 of GNU MPFR is required.

So for the target gdb, this is unnecessary, and therefore we
forcefully disable mpfr support by passing --without-mpfr.

For the host gdb, it would potentially be useful, but since it's a new
feature that isn't essential, we for now keep it disabled as well. An
option may be added later if needed.

To avoid gnulib issues with uClibc/musl, we need to pass additional
configure/make variables, like is done in OpenEmbedded [1].

[1] http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gdb/gdb_8.1.bb?id=02664a8dcd1ebb6cd77248e1b97a78390ea06033#n9

We re-add the same patches as the ones present for gdb 8.0.1, except
0004-nat-linux-ptrace.c-add-missing-gdb_byte-cast.patch, which was
merged upstream.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: change mpfr handling.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: rework dependency for C++11
Thomas Petazzoni [Sun, 24 Jun 2018 13:53:06 +0000 (15:53 +0200)]
package/gdb: rework dependency for C++11

As we are about to switch to 8.0 as the default gdb version, we
need to adjust how the gdb dependencies are handled. Indeed, from 8.0
onwards, gdb needs a C++11 capable compiler, i.e at least gcc 4.8.

Until now, Config.in.host was making sure that gdb 8.0 was not
selectable if the cross-compilation toolchain did not have C++ support
with gcc >= 4.8. This worked fine because the default version of gdb,
used as the target gdb version when no host gdb is built, was 7.11,
and did not require C++11.

With the switch to 8.0 as the default version, when target gdb is
enabled but not host gdb, 8.0 is used, which means we need a C++11
capable compiler. The dependencies in Config.in.host are no longer
sufficient.

So instead, we remove the target-related dependencies from
Config.in.host and move them properly to Config.in. The overall logic
is the following:

 - In Config.in.host, BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS ensures that
   we have at least host gcc 4.8 if we're on ARC, because the ARC gdb
   needs C++11. We remove the target toolchain related dependencies
   from here.

 - In Config.in.host, the version selection ensures that 8.0 cannot be
   selected if the host toolchain does not have at least gcc 4.8. We
   remove the target toolchain related dependencies from here.

 - In Config.in.host, we introduce a BR2_PACKAGE_GDB_NEEDS_CXX11
   option, that indicates whether the currently selected version of
   gdb requires C++11 support in the toolchain to build the target
   variant. Even though this option is more related to the target
   variant of gdb, we keep it in Config.in.host so that it appears
   next to the definition of BR2_GDB_VERSION, to make sure they are
   kept in sync.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agouboot: don't override HOSTCC/HOSTLDFLAGS for kconfig
Peter Korsgaard [Sun, 24 Jun 2018 14:12:42 +0000 (16:12 +0200)]
uboot: don't override HOSTCC/HOSTLDFLAGS for kconfig

So the host ncurses includes and library are used instead of a mix of both,
causing corrupted characters.  Similar to the linux fix in commit
6d3d09e23213e8 (linux: don't override HOSTCC for kconfig), except that we
pass the linker flags in HOSTLDFLAGS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodos2unix: fix static build
Baruch Siach [Sun, 24 Jun 2018 18:15:00 +0000 (21:15 +0300)]
dos2unix: fix static build

Pass the -static flag to the final link command. Otherwise, the
generated executables are not static when the external toolchain
provides both shared and static libraries.

Should also fix:
http://autobuild.buildroot.net/results/a5a/a5a64bc3ff5a91a8680ac52f3505362491923b26/
http://autobuild.buildroot.net/results/ebf/ebfe81e65751d7a5ca3aa4e20cc708a24ba65204/

Cc: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocollectd: use --disable-werror
Fabrice Fontaine [Sun, 24 Jun 2018 15:44:52 +0000 (17:44 +0200)]
collectd: use --disable-werror

Since version 5.6.0, --disable-werror is available:
https://github.com/collectd/collectd/pull/1222

So use this option, instead of adding a hook to remove it from
Makefile.in

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-tornado: bump to version 5.0.2
Jan Dohl [Wed, 13 Jun 2018 14:28:16 +0000 (16:28 +0200)]
python-tornado: bump to version 5.0.2

Tornado got a requirement on the SSL module in version 5.0.2
which is also checked in the setup.py script before installing.
Since the check in buildroot runs against the host-python which
is built without SSL support, these checks fail.

Adding OpenSSL support to host-python does not make sense since the
Python on the target will be a different one. Instead, remove the
checks (which, according to the source code comments essentially check
for Python >= 2.7.9 / Python3 >= 3.4 which is true for current
Buildroot) and select the SSL option of Python/Python3 when Tornado is
selected.

Signed-off-by: Jan Dohl <polygon@wh2.tu-dresden.de>
[Thomas: adjust commit title, convert patch to a Git formatted one.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: bump to version 1.67.0
Fabrice Fontaine [Sun, 24 Jun 2018 10:03:37 +0000 (12:03 +0200)]
boost: bump to version 1.67.0

Remove fifth patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodomoticz: bump to version 4.9700
Fabrice Fontaine [Sun, 24 Jun 2018 09:56:37 +0000 (11:56 +0200)]
domoticz: bump to version 4.9700

Remove patch (not needed anymore)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocollectd: fix license
Fabrice Fontaine [Sun, 24 Jun 2018 12:03:23 +0000 (14:03 +0200)]
collectd: fix license

- Since version 5.5, daemon is licensed under MIT:
  https://github.com/collectd/collectd/commit/889e5e6bd51d38d490289332053a238a4f1c70b3
- Plugins are licensed under MIT, GPL-2.0 or LGPL-2.1
- Add libltdl/COPYING.LIB to license files to have a copy of LGPL-2.1 as
  it is not in COPYING
- Add hash for both license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohost-protobuf-c: fix build with gcc 4.8
Fabrice Fontaine [Sun, 24 Jun 2018 08:52:19 +0000 (10:52 +0200)]
host-protobuf-c: fix build with gcc 4.8

protobuf requires C++11 so add -std=c++11 for host-protobuf-c as it is
experimental in gcc 4.8

Fixes:
 - http://autobuild.buildroot.net/results/7fe12457ccac7e8c95b1d4c1fa20d6753599742d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodavfs2: new package
Roman Gorbenkov [Fri, 22 Jun 2018 13:33:25 +0000 (15:33 +0200)]
davfs2: new package

davfs2 is a Linux file system driver that allows to
mount a WebDAV resource. WebDAV is an extension to HTTP/1.1
that allows remote collaborative authoring of Web resources.

[Peter: Add patch to drop -fstack-protector-strong and update dependencies,
Not available on musl and nommu, fixup .hash file comments,
Fix _SITE and drop autoreconf, update DEVELOPERS]
Signed-off-by: Roman Gorbenkov <roman.gorbenkov@ens2m.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf: add dependency on gcc >= 4.8
Fabrice Fontaine [Sat, 23 Jun 2018 15:32:32 +0000 (17:32 +0200)]
protobuf: add dependency on gcc >= 4.8

Since version 3.6.0, protobuf requires C++11

Fixes:
 - http://autobuild.buildroot.net/results/bb299008423edf4c65ade6c159e33c4216428bf1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomosh: fix build with protobuf 3.6.0
Fabrice Fontaine [Sat, 23 Jun 2018 19:59:45 +0000 (21:59 +0200)]
mosh: fix build with protobuf 3.6.0

protobuf now requires C++11

Fixes:
 - http://autobuild.buildroot.net/results/6e4550e080a9d558b441dcc735b6be14f39fb03f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocmake: fix build with libuv 1.21.0
Fabrice Fontaine [Sat, 23 Jun 2018 20:24:56 +0000 (22:24 +0200)]
cmake: fix build with libuv 1.21.0

Retrieve patch from
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229255#c1

Fixes:
 - http://autobuild.buildroot.net/results/86d67e5d30f7e3ba9a4932c06640a7924202d3f9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf-c: fix build with protobuf 3.6
Fabrice Fontaine [Sat, 23 Jun 2018 16:40:18 +0000 (18:40 +0200)]
protobuf-c: fix build with protobuf 3.6

Add two patches retrieved from upstream

Fixes:
 - http://autobuild.buildroot.net/results/26b84f2614f75ac101078a59afeb63bc4c0d28b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiproute2: fix rdma build
Fabrice Fontaine [Sat, 23 Jun 2018 19:25:06 +0000 (21:25 +0200)]
iproute2: fix rdma build

Retrieve upstream patch

Fixes:
 - http://autobuild.buildroot.net/results/63229f485f58be32238916cd997cbe92ac3ca953

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pcre2: bump version to 10.31
Bernd Kuhls [Sat, 23 Jun 2018 18:57:52 +0000 (20:57 +0200)]
package/pcre2: bump version to 10.31

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pcre: bump version to 8.42
Bernd Kuhls [Sat, 23 Jun 2018 18:56:44 +0000 (20:56 +0200)]
package/pcre: bump version to 8.42

Updated license hash after upstream commit
https://vcs.pcre.org/pcre/code/tags/pcre-8.42/LICENCE?r1=1674&r2=1726

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro ARMeb toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:36 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro ARMeb toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro ARM toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:35 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro ARM toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro AArch64 toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:34 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro AArch64 toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/erlang: fix host build with host-pcre package
Bernd Kuhls [Sat, 23 Jun 2018 13:34:10 +0000 (15:34 +0200)]
package/erlang: fix host build with host-pcre package

https://git.buildroot.net/buildroot/commit/?id=bd12cd7d4633200ce01663df6528fd061d64b784
added an incompletely rebased patch to fix host-erlang when pcre is
available on the host.

Fixes
http://autobuild.buildroot.net/results/484/484a54b005764958073674bf07f6a760bfedb071/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add a trailing slash for libuv
Peter Korsgaard [Sat, 23 Jun 2018 15:17:36 +0000 (17:17 +0200)]
DEVELOPERS: add a trailing slash for libuv

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: fix gdbserver build for m68k
Romain Naour [Fri, 22 Jun 2018 21:09:49 +0000 (23:09 +0200)]
package/gdb: fix gdbserver build for m68k

As for strace [1], when <sys/reg.h> is included after <linux/ptrace.h>,
the build fails on m68k with the following diagnostics:

In file included from ./../nat/linux-ptrace.h:28:0,
                 from linux-low.h:27,
                 from linux-m68k-low.c:20:
[...]/usr/include/sys/reg.h:26:3: error: expected identifier before numeric constant
   PT_D1 = 0,
   ^
[...]usr/include/sys/reg.h:26:3: error: expected « } » before numeric constant
[...]usr/include/sys/reg.h:26:3: error: expected unqualified-id before numeric constant
In file included from linux-m68k-low.c:27:0:
[...]usr/include/sys/reg.h:99:1: error: expected declaration before « } » token
 };
 ^

Fix this by moving <sys/reg.h> on top of "linux-low.h".

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

[1] https://github.com/strace/strace/commit/6ebf6c4f9e5ebca123a5b5f24afe67cf0473cf92

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add myself to package/libuv
Asaf Kahlon [Sat, 23 Jun 2018 09:11:07 +0000 (12:11 +0300)]
DEVELOPERS: add myself to package/libuv

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowiringpi: bump version to 2.46
Atanas Palavrov Updating wiringPi to add support for RPi3B+ [Fri, 22 Jun 2018 07:33:33 +0000 (10:33 +0300)]
wiringpi: bump version to 2.46

Signed-off-by: Atanas Palavrov <palavrov@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibuv: bump to version 1.21.0
Asaf Kahlon [Sat, 23 Jun 2018 05:49:56 +0000 (08:49 +0300)]
libuv: bump to version 1.21.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agostrongswan: bump to version 5.6.3
Paresh Chaudhary [Wed, 20 Jun 2018 21:04:33 +0000 (16:04 -0500)]
strongswan: bump to version 5.6.3

Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibxml2: bump to version 2.9.8
Fabrice Fontaine [Fri, 22 Jun 2018 21:12:18 +0000 (23:12 +0200)]
libxml2: bump to version 2.9.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibnss: bump to version 3.38
Fabrice Fontaine [Fri, 22 Jun 2018 21:25:26 +0000 (23:25 +0200)]
libnss: bump to version 3.38

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>