buildroot.git
7 years agoevemu: bump version to 2.7.0
Peter Seiderer [Wed, 27 Sep 2017 20:35:27 +0000 (22:35 +0200)]
evemu: bump version to 2.7.0

See [1] for details.

[1] https://lists.freedesktop.org/archives/input-tools/2017-September/001416.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_pc: bump linux to 4.13.3
Peter Korsgaard [Wed, 27 Sep 2017 19:49:07 +0000 (21:49 +0200)]
orangepi_pc: bump linux to 4.13.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_pc: bump u-boot to 2017.09
Peter Korsgaard [Wed, 27 Sep 2017 19:51:06 +0000 (21:51 +0200)]
orangepi_pc: bump u-boot to 2017.09

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_zero: bump u-boot to 2017.09
Peter Korsgaard [Wed, 27 Sep 2017 19:51:05 +0000 (21:51 +0200)]
orangepi_zero: bump u-boot to 2017.09

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: Update imx6-sabresd config entry
Fabio Estevam [Wed, 27 Sep 2017 10:28:08 +0000 (07:28 -0300)]
DEVELOPERS: Update imx6-sabresd config entry

After the conversion to SPL the imx6sabresd defconfig targets have
been renamed,so update the entry accordingly.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years ago.gitlab-ci.yml: Update imx6-sabresd defconfig entries
Fabio Estevam [Wed, 27 Sep 2017 10:28:07 +0000 (07:28 -0300)]
.gitlab-ci.yml: Update imx6-sabresd defconfig entries

After the conversion to SPL the imx6sabresd defconfig targets have
been renamed, so update their entries accordingly.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoperl: bump to version 5.26.1
Francois Perrad [Wed, 27 Sep 2017 08:32:50 +0000 (10:32 +0200)]
perl: bump to version 5.26.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx25pdk: Bump U-Boot and kernel versions
Fabio Estevam [Thu, 28 Sep 2017 12:44:59 +0000 (09:44 -0300)]
configs/mx25pdk: Bump U-Boot and kernel versions

Bump to U-Boot 2017.09 and kernel to 4.13.3.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/libmad: don't install .pc in target
Yann E. MORIN [Thu, 28 Sep 2017 18:06:21 +0000 (20:06 +0200)]
package/libmad: don't install .pc in target

We explicitly remove pkg-config files from target in the target-finalize
step, and our pkg-config looks for .pc files from staging, not target.

So, explicitly installing the .pc in target is useless.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoengicam: imx6qdl_icore: Bump to latest Linux and uboot releases
Jagan Teki [Wed, 13 Sep 2017 11:42:06 +0000 (17:12 +0530)]
engicam: imx6qdl_icore: Bump to latest Linux and uboot releases

- Linux: 4.13
- Uboot: 2017.07

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoflex: Fix segfault of stage1flex when host has glibc 2.26 or newer
Adrian Perez de Castro [Wed, 13 Sep 2017 14:35:24 +0000 (17:35 +0300)]
flex: Fix segfault of stage1flex when host has glibc 2.26 or newer

When the host uses glibc 2.26 or newer, Flex will try to use the
newly-introduced reallocarray() function, but as it would not define
_GNU_SOURCE a segmentation fault would occur later on due to the
compiler assumming that the function is implicitly defined.

This issue manifests itself due to a crash of "stage1flex" during the
Flex bootstrap:

  ./stage1flex   -o stage1scan.c ./scan.l
  make[2]: *** [Makefile:1725: stage1scan.c] Segmentation fault (core dumped)

This imports the patch from the upstream Git repository, and adds flags
in the .mk file to rebuild the Autotools scripts and support files. Due
to the latter, the patch to disable the documentation is changed so it
modifies the .am file instead.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Arnout:
 - Add Adrian's Sob and upstream ref to new patch;
 - Keep patch 1 as patch 1;
 - Keep Vicente as author of path 1;
 - Add reason for autoreconf in a comment.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/glibc: bump to 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:06 +0000 (23:24 +0200)]
package/glibc: bump to 2.26

Drop upstream patch:

0001-sh-Fix-building-with-gcc5-6.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=d40dbe722f004f999b589de776f7e57e564dda01

0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=f6110a8fee2ca36f8e2d2abecf3cba9fa7b8ea7d

0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=6d0ba622891bed9d8394eef1935add53003b12e8

0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch

https://sourceware.org/git/?p=glibc.git;a=commit;h=81b82fb966ffbd94353f793ad17116c6088dedd9

0005-fix-binutils-2-29-build.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=388b4f1a02f3a801965028bbfcd48d905638b797

0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=69052a3a95da37169a08f9e59b2cc1808312753c

0006-sh4-trap.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=db3d848e154b00071f4a5e729d5884efad410109

But 2.26 version introduced quite a few regressions on x86, x86_64 and
powerpc64le when float128 support was added. All these issues are now
fixed in the glibc 2.26 stable branch.

Backport patches from glibc 2.26 stable branch related to bug 21930.
Take all patches listed in this bug report in order to have all fix
for this issue [1] [2].

Fixes gnuradio build:
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp: In function ‘std::size_t boost::hash_detail::float_hash_value(T)’:
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘float’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘long’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: found ‘:’ in nested-name-specifier, expected ‘::’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Float128’ is not a class or namespace
             switch (fpclassify(v))
                     ^

[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
             switch (fpclassify(v))
                     ^

Also backport fix for glibc bug 22146.
Without this patch some C++ applications (jsoncpp, mesa3d and kodi) fail
to build due to an issue while building the toolchain.

A test in the libstdc++ configure script fail when -Os and float128 are
used.

See the bug report for details [3].

[1] https://sourceware.org/ml/libc-alpha/2017-08/msg00586.html
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=21930
[3] https://sourceware.org/bugzilla/show_bug.cgi?id=22146

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/flex: disable reallocarray
Romain Naour [Sat, 23 Sep 2017 21:24:05 +0000 (23:24 +0200)]
package/flex: disable reallocarray

This doesn't compile with glibc 2.26 where reallocarray() as been introduced.

It's a nasty issue, when reallocarray() is available for the target, flex will
build a small tool called stage1flex for the host (using _FOR_BUILD) but with
the config.h generated for the target.

When the host doesn't have a glibc >= 2.26, reallocarray() is never defined
while building stage1flex:

misc.c:147:8: warning : implicit declaration of function « reallocarray »
[-Wimplicit-function-declaration]
  mem = reallocarray(NULL, (size_t) size, element_size);
        ^~~~~~~~~~~~
misc.c:147:6: warning : assignment makes pointer from integer without a cast
[-Wint-conversion]
  mem = reallocarray(NULL, (size_t) size, element_size);
      ^

Disable reallocarray for now, reallocarray() support may be
enabled in a followup patch.

Fixes:
stage1flex-misc.o: In function `allocate_array':
misc.c:(.text+0x38f): undefined reference to `reallocarray'
stage1flex-misc.o: In function `reallocate_array':
misc.c:(.text+0xc8a): undefined reference to `reallocarray'
collect2: error: ld returned 1 exit status

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/diffutils: disable getopt_long replacement with glibc
Romain Naour [Sat, 23 Sep 2017 21:24:04 +0000 (23:24 +0200)]
package/diffutils: disable getopt_long replacement with glibc

Since glibc >= 2.26, don't try to use getopt_long replacement bundled
with diffutils. It will conflict with the one from glibc.
The getopt copy bundled in glibc has been updated with the one from gnulib.

After a lot of warnings...
Fixes:
xstrtol-error.c: In function 'xstrtol_error':
xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
     option = long_options[opt_idx].name;
                          ^
xstrtol-error.c:84:26: error: dereferencing pointer to incomplete type 'const struct rpl_option'

[...]

xstrtol-error.c:92:1: error: conflicting types for 'xstrtol_fatal'
 xstrtol_fatal (enum strtol_error err,
 ^~~~~~~~~~~~~
In file included from xstrtol-error.c:20:0:
xstrtol.h:69:16: note: previous declaration of 'xstrtol_fatal' was here
 _Noreturn void xstrtol_fatal (enum strtol_error,
                ^~~~~~~~~~~~~

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains
Romain Naour [Sat, 23 Sep 2017 21:24:03 +0000 (23:24 +0200)]
package/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains

float128 is now required on powerpc64le with glibc >= 2.26 toolchains.

Fixes:
running configure fragment for sysdeps/gnu
running configure fragment for sysdeps/powerpc/powerpc64le
checking if [...]powerpc64le-buildroot-linux-gnu-gcc supports binary128 floating point type... no
checking if the target machine is at least POWER8... yes
configure: error: ***  binary128 floating point type (GCC >= 6.2) is required on powerpc64le.

In order to prepare the glibc bump to this version, we enable
binary128 floating point in gcc. This require at least gcc >= 6.2.

Disable gcc 4.x and 5.x for internal toolchain.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/glibc: needs kernel headers >= 3.10 on powerpc64le
Romain Naour [Sat, 23 Sep 2017 21:24:02 +0000 (23:24 +0200)]
package/glibc: needs kernel headers >= 3.10 on powerpc64le

Since glibc 2.26, kernel headers >= 3.10 are needed on powerpc64le [1].
In order to prepare the glibc bump to this version, we don't allow to
build a Buildroot toolchain with kernel headers older than 3.10.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=c2ff5ec13fca1bdd1cd646a0260808386d7bd7ff

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: fix build issue with glibc 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:01 +0000 (23:24 +0200)]
package/gcc: fix build issue with glibc 2.26

../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:241:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;

../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;
                      ^~~~~~~~~~~~~

The fix is already included in gcc 7.2 release [1]. We have to backport it to
all older gcc release since it's not included in any stable release yet.

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=72edc2c02f8b4768ad660f46a1c7e2400c0a8e06

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: fix build issue with glibc 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:00 +0000 (23:24 +0200)]
package/gcc: fix build issue with glibc 2.26

In file included from ../../../libgcc/unwind-dw2.c:403:0:
./md-unwind-support.h: In function « aarch64_fallback_frame_state »:
./md-unwind-support.h:58:21: error: field « uc »  has incomplete type
     struct ucontext uc;
                     ^~

The fix is already included in gcc 7.2 release [1]. We have to backport it to
all older gcc release since it's not included in any stable release yet.

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=14c2f22a1877f6b60a2f7c2f83ffb032759456a6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoutils/config: new script to manipulate .config files on the command line
Marcus Folkesson [Tue, 26 Sep 2017 21:15:02 +0000 (23:15 +0200)]
utils/config: new script to manipulate .config files on the command line

Default prefix is set to `BR2_` but may be overidden by setting
BR2_PREFIX.

Example usage:

Enable `BR2_PACKAGE_GNUPG`:
./utils/config --package --enable GNUPG

Check state of config option `BR2_PACKAGE_GNUPG`:
./utils/config --package --state GNUPG
y

Enable `BR2_PACKAGE_GNUPG`:
./utils/config --package --disable GNUPG

Set `BR2_TARGET_GENERIC_ISSUE` to "Welcome":
./utils/config --set-str  TARGET_GENERIC_ISSUE "Welcome"

Copied from the Linux kernel (4.13-rc6) source code and adapted to
Buildroot.
Thanks to Andi Kleen who is the original author of this script.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[Arnout: merge the two tr invications]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/raspberrypi3_qt5we: set gpu-mem to 200
Gaël PORTAY [Sat, 23 Sep 2017 23:30:07 +0000 (19:30 -0400)]
configs/raspberrypi3_qt5we: set gpu-mem to 200

Qt WebEngine requires more GPU memory than initial setup.

This fixes crashes such as this one.

#0 0x0000742c63de <unknown>
#1 0x0000742d0c38 <unknown>
#2 0x0000749d7bde <unknown>
#3 0x0000749e3c70 <unknown>
#4 0x00007530227c <unknown>
#5 0x000075302480 <unknown>
#6 0x0000752fb1e4 <unknown>
#7 0x00007430f878 <unknown>
#8 0x0000742d5fee <unknown>
#9 0x0000742d6f44 <unknown>
#10 0x0000742d721e <unknown>
#11 0x0000742d7ad6 <unknown>
#12 0x0000742d57b2 <unknown>
#13 0x0000742e74f6 <unknown>
#14 0x0000742f6a74 <unknown>
#15 0x0000742f41dc <unknown>

Received signal 6
#0 0x0000742c63de <unknown>
#1 0x0000742c66a0 <unknown>
#2 0x0000725b5d10 <unknown>
[end of stack trace]
qml: Render process exited with code 256 (abnormal exit)

Reported-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoraspberrypi: post-image.sh add new gpu_mem option
Gaël PORTAY [Sat, 23 Sep 2017 23:30:06 +0000 (19:30 -0400)]
raspberrypi: post-image.sh add new gpu_mem option

The amount of GPU memory can be set using the new option --gpu_mem_XXX
(where XXX is the total amount of memory available on the board).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoboard/raspberrypi/post-image.sh: add multi arg support
Erik Stromdahl [Sat, 15 Jul 2017 12:50:29 +0000 (14:50 +0200)]
board/raspberrypi/post-image.sh: add multi arg support

Add possibility to supply multiple arguments to
post-image.sh

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
[Arnout: indent esac, suggested by Gaël PORTAY]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/mx6sx_udoo_neo: bump Kernel and U-Boot versions
Breno Lima [Wed, 27 Sep 2017 12:57:12 +0000 (09:57 -0300)]
configs/mx6sx_udoo_neo: bump Kernel and U-Boot versions

Bump U-Boot to 2017.09 and kernel to 4.13.3 versions.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/git: security bump to version 2.13.6
Bernd Kuhls [Wed, 27 Sep 2017 17:14:31 +0000 (19:14 +0200)]
package/git: security bump to version 2.13.6

Release notes:
https://public-inbox.org/git/xmqqy3p29ekj.fsf@gitster.mtv.corp.google.com/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openvpn: security bump to version 2.4.4
Bernd Kuhls [Wed, 27 Sep 2017 17:05:00 +0000 (19:05 +0200)]
package/openvpn: security bump to version 2.4.4

Fixes CVE-2017-12166:
https://community.openvpn.net/openvpn/wiki/CVE-2017-12166

Changelog:
https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/librsync: fix build without C++ support
Bernd Kuhls [Tue, 26 Sep 2017 17:10:50 +0000 (19:10 +0200)]
package/librsync: fix build without C++ support

Fixes:

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro AArch64 toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:12 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro AArch64 toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro ARMeb toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:11 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro ARMeb toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro ARM toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:10 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro ARM toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoopenntpd: fix build with musl
Baruch Siach [Tue, 26 Sep 2017 12:37:35 +0000 (15:37 +0300)]
openntpd: fix build with musl

The recent version bump added a local sys/cdefs.h header that overrides
the internal libc provided one. But since musl does not use this header,
the __dead definition in this file is missing. Add a patch that moves
the __dead definition to sys/types.h.

Update the autoreconf reason comment. Current openntpd ships libtool
version 2.4.2 that Buildroot can safely patch.

Fixes:
http://autobuild.buildroot.net/results/2b1/2b14b7012b93f0f2bfaf9e61435dd8826217d481/
http://autobuild.buildroot.net/results/7b0/7b08c987ce200deefa21ba85a9361d818be6b206/
http://autobuild.buildroot.net/results/230/2304c4de26bd6217b79aa035be340a3c81497cbd/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mono: bump to version 5.2.0.224
Angelo Compagnucci [Tue, 26 Sep 2017 13:59:09 +0000 (15:59 +0200)]
package/mono: bump to version 5.2.0.224

This patch bumps mono to version 5.2.0.224 and the required monolite
dependency to 1050200001.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoedid-decode: bump to latest version
Baruch Siach [Tue, 26 Sep 2017 15:46:13 +0000 (18:46 +0300)]
edid-decode: bump to latest version

This version brings bug fixes and improvements.

http://www.spinics.net/lists/linux-media/msg122284.html

Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodash: bump to version 0.5.9.1
Carlos Santos [Wed, 27 Sep 2017 16:41:53 +0000 (13:41 -0300)]
dash: bump to version 0.5.9.1

Use the maintainer's repository, update the package description, based
on the official one, and drop an obsolete patch.

Change-Id: I2170aa4c1cc57de2a25ef04e89a216b254f2a859
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.13.4
Bernd Kuhls [Wed, 27 Sep 2017 16:27:36 +0000 (18:27 +0200)]
linux: bump default to version 4.13.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 13}.x series
Bernd Kuhls [Wed, 27 Sep 2017 16:27:35 +0000 (18:27 +0200)]
linux-headers: bump 4.{4, 9, 13}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowsapi: fix broken patch
Francois Perrad [Wed, 27 Sep 2017 12:54:44 +0000 (14:54 +0200)]
wsapi: fix broken patch

Fixes:

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

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/opencore-amr: bump version to 0.1.5
Bernd Kuhls [Sat, 16 Sep 2017 13:22:03 +0000 (15:22 +0200)]
package/opencore-amr: bump version to 0.1.5

Added md5 & sha1 hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx6-sabresd/readme: Add an entry for glmark benchmark
Fabio Estevam [Mon, 25 Sep 2017 11:59:48 +0000 (08:59 -0300)]
imx6-sabresd/readme: Add an entry for glmark benchmark

Add an entry to explain how to run the glmark benchmark.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6-sabresd_qt5: Bump kernel to 4.13.3
Fabio Estevam [Mon, 25 Sep 2017 11:59:47 +0000 (08:59 -0300)]
configs/imx6-sabresd_qt5: Bump kernel to 4.13.3

Bump the kernel version to 4.13.3.

Kernel 4.13.3 uses the /dev/dri/card0 device as rendering node, so
adjust it accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6q-sabresd_qt5: Switch to SPL
Fabio Estevam [Mon, 25 Sep 2017 11:59:46 +0000 (08:59 -0300)]
configs/imx6q-sabresd_qt5: Switch to SPL

U-Boot 2017.09 uses SPL, so bump to this version so that we can
have a single qt5 image that supports the different imx6 sabresd
boards: imx6q, imx6dl and imx6qp.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6q-sabresd-qt5: Increase the rootfs size
Fabio Estevam [Mon, 25 Sep 2017 11:59:45 +0000 (08:59 -0300)]
configs/imx6q-sabresd-qt5: Increase the rootfs size

The QT5 rootfs requires more space, so adjust it a larger size.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6-sabresd: Bump kernel and U-Boot versions
Fabio Estevam [Mon, 25 Sep 2017 11:59:44 +0000 (08:59 -0300)]
configs/imx6-sabresd: Bump kernel and U-Boot versions

Bump U-Boot to 2017.09 and kernel to 4.13.3 versions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6q-sabresd: Drop the 'quad' notation
Fabio Estevam [Mon, 25 Sep 2017 11:59:43 +0000 (08:59 -0300)]
configs/imx6q-sabresd: Drop the 'quad' notation

Now that SPL is supported a single image can run on the different
variants of imx6 sabresd boards: imx6q, imx6dl and imx6qp.

So drop the 'quad' prefix from defconfig, directory and readme file
to make it generic.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/poco: needs NPTL
Bernd Kuhls [Mon, 25 Sep 2017 08:30:01 +0000 (10:30 +0200)]
package/poco: needs NPTL

Fixes
http://autobuild.buildroot.net/results/609/6090f5a0f4bf96b9dc2b3e48eb2e33c83d2ba7d2/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/dfu-util: allow to build it for the target as well
Wolfgang Grandegger [Mon, 25 Sep 2017 06:12:48 +0000 (08:12 +0200)]
package/dfu-util: allow to build it for the target as well

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/asterisk: fix host build
Yann E. MORIN [Sun, 24 Sep 2017 16:33:01 +0000 (18:33 +0200)]
package/asterisk: fix host build

The host menuselect tool is linked to our host libxml2 library, but it
is missing an RPATH to the host directory.

This is because menuselect does not use automake, so does not inherit
the LDFLAGS from the configure run.

We fix that by simply passing $(HOST_CONFIGURE_OPTS) in the make
environment.

At the same time, we also install the tool in the host directory, even
if not used from there, so that the sanity checks we run are properly
passed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agosupport/check-rpath: recognise PIE
Yann E. MORIN [Sun, 24 Sep 2017 16:22:44 +0000 (18:22 +0200)]
support/check-rpath: recognise PIE

We sanity-check the host executables that they have a correct RPATH
pointing to the host libraries.

This is currently done by looking for all files in $(HOST_DIR) that
match the 'ELF executable' pattern (a bit more complex, but that's
idea).

However, when an executable is built with -fPIE of -fpie, it no longer
appears to be an 'ELF executable', but it rather looks like an 'ELF
sheard object' (like if it were an library.

So, we miss those files.

It turns out that the problem is a real one, because quite a few
mainline distros, expecially those based on Debian for example, have
already switched to generating PIE code by default, and thus we miss on
a whole class of systems..

We fix that by simply looking if we can find an ELF interpreter in each
file. If we there is one, this is an ELF executable; if not, it may be
anything else: we don't care (not even about ELF libraries).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agonginx (S50nginx): Fix stop, reload, restart. Add force-reload.
Thomas Claveirole [Mon, 25 Sep 2017 13:20:29 +0000 (15:20 +0200)]
nginx (S50nginx): Fix stop, reload, restart. Add force-reload.

Fix package/nginx/S50nginx:

* On stop, use start-stop-daemon -R 1 to wait for the nginx processes
  to actually stop.  This fixes a race condition with restart, where
  nginx fails to restart because start is called too early
  w.r.t. stop.  (This only works with Debian's start-stop-daemon,
  however BusyBox's start-stop-daemon does not fail when given -R; it
  just ignores the argument silently).

* Implement reload with an actual reload instead of a restart.

* Add force-reload.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/wandboard: Bump U-Boot and kernel versions
Fabio Estevam [Thu, 21 Sep 2017 13:59:39 +0000 (10:59 -0300)]
configs/wandboard: Bump U-Boot and kernel versions

Bump U-Boot to 2017.09 version and kernel to 4.13.3.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agowandboard: genimage: Pass an offset for the rootfs
Fabio Estevam [Thu, 21 Sep 2017 13:59:38 +0000 (10:59 -0300)]
wandboard: genimage: Pass an offset for the rootfs

Pass an offset of 1MB for the start of the rootfs.

Otherwise we get rootfs corruption when the bootloader is manually
written to the SD card.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs: Add qemu_ppc64le_pseries
Joel Stanley [Wed, 20 Sep 2017 02:48:45 +0000 (12:18 +0930)]
configs: Add qemu_ppc64le_pseries

This is similar to the ppc64_pseries config, except we build for little
endian instead of big endian.

The default architecture is set to Power8 as this was the first fully
enabled LE machine.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs: qemu_ppc64_pseries: Update to kernel 4.13.1
Joel Stanley [Wed, 20 Sep 2017 02:48:44 +0000 (12:18 +0930)]
configs: qemu_ppc64_pseries: Update to kernel 4.13.1

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/efl: bump to 1.20.4
Romain Naour [Sat, 23 Sep 2017 20:53:44 +0000 (22:53 +0200)]
package/efl: bump to 1.20.4

https://www.enlightenment.org/news/efl-1.20.4

Remove upstream patch.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-skin-confluence: bump version to 3.1.4
Bernd Kuhls [Sat, 23 Sep 2017 12:02:43 +0000 (14:02 +0200)]
package/kodi-skin-confluence: bump version to 3.1.4

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-pvr-hts: bump version to 3.4.28
Bernd Kuhls [Sat, 23 Sep 2017 12:02:42 +0000 (14:02 +0200)]
package/kodi-pvr-hts: bump version to 3.4.28

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-inputstream-rtmp: bump version to 1.0.6
Bernd Kuhls [Sat, 23 Sep 2017 12:02:41 +0000 (14:02 +0200)]
package/kodi-inputstream-rtmp: bump version to 1.0.6

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-inputstream-adaptive: bump version to 2.0.18
Bernd Kuhls [Sat, 23 Sep 2017 12:02:40 +0000 (14:02 +0200)]
package/kodi-inputstream-adaptive: bump version to 2.0.18

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/x11r7/xserver_xorg-server: glamor support needs egl
Bernd Kuhls [Sat, 23 Sep 2017 11:30:18 +0000 (13:30 +0200)]
package/x11r7/xserver_xorg-server: glamor support needs egl

Glamor support in xserver_xorg-server depends on gbm:
https://cgit.freedesktop.org/xorg/xserver/tree/configure.ac#n2100

Gbm is provided by mesa3d only if egl is enabled:
https://git.buildroot.net/buildroot/tree/package/mesa3d/mesa3d.mk#n167

This patch adds libegl as additional prerequisite for enabling glamor
support in xserver_xorg-server.

Fixes
http://autobuild.buildroot.net/results/04d/04d93745d63fcfbea070c0126862b49f1b6f473e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/poppler: include ctype.h to fix build error
Bernd Kuhls [Sat, 23 Sep 2017 09:44:07 +0000 (11:44 +0200)]
package/poppler: include ctype.h to fix build error

Fixes
http://autobuild.buildroot.net/results/a6a/a6a336f8b6a0136b204a34091e33dc4598178125/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/libshout: enable optional dependency for libressl
Bernd Kuhls [Sat, 23 Sep 2017 09:19:49 +0000 (11:19 +0200)]
package/libshout: enable optional dependency for libressl

libshout uses pkgconfig currently only to check for openssl paths, to
fix the build error we pass our STAGING_DIR as parameter to
--with-openssl

Fixes
http://autobuild.buildroot.net/results/72a/72aa07d48d6b1d7dea046b88ee4aa943534ffad4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years ago.gitlab-ci.yml: update after adding raspberrypi3_qt5we_defconfig
Arnout Vandecappelle (Essensium/Mind) [Tue, 26 Sep 2017 21:49:01 +0000 (23:49 +0200)]
.gitlab-ci.yml: update after adding raspberrypi3_qt5we_defconfig

Commit 21234ce8 introduced raspberrypi3_qt5we_defconfig but didn't
update .gitlab-ci.yml. Do that now.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/tor: add optional support for lzma
Bernd Kuhls [Sat, 23 Sep 2017 08:46:28 +0000 (10:46 +0200)]
package/tor: add optional support for lzma

According to https://blog.torproject.org/tor-0317-now-released
we also need host-pkgconf for lzma support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/tor: security bump to version 0.3.1.7
Bernd Kuhls [Sat, 23 Sep 2017 08:46:27 +0000 (10:46 +0200)]
package/tor: security bump to version 0.3.1.7

Quoted from release notes:
https://blog.torproject.org/tor-0317-now-released
"Tor 0.3.1.7 is the first stable release in the 0.3.1 series."

Fixes CVE-2017-0380:
https://trac.torproject.org/projects/tor/ticket/23490

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopython-numpy: Ensure `_npy_scaled_cexp{, f, l}` is defined when needed
Alexey Brodkin [Fri, 22 Sep 2017 22:30:53 +0000 (01:30 +0300)]
python-numpy: Ensure `_npy_scaled_cexp{, f, l}` is defined when needed

With update of Numpy to the latest version we've got one change which
breaks Numpy compilcation in some cases.

This change back-ports upstream fix from:
https://github.com/numpy/numpy/pull/9740

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolibkcapi: bump version to 0.14.0
Marcin Nowakowski [Fri, 22 Sep 2017 06:20:20 +0000 (08:20 +0200)]
libkcapi: bump version to 0.14.0

Switch from github hash to an official release.

Several upstream patches are required to build the code correctly
on all platforms supported by buildroot.

The test application now uses fork().

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
[Arnout: Squash the two patches, MMU dependency was introduced with the
         version bump.
         Wrap assignments in libkcapi.mk differently.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/ngircd: fix pam support
Bernd Kuhls [Sun, 24 Sep 2017 15:46:41 +0000 (17:46 +0200)]
package/ngircd: fix pam support

Fix type introduced by
https://git.buildroot.net/buildroot/commit/?id=13755ca3056e4793e483c2ec634c06ac017088d2

Fixes
http://autobuild.buildroot.net/results/461/461fa08ef11dc4ae8074a2d634138e4fcfaa8d16/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoUpdate for 2017.02.6
Peter Korsgaard [Sun, 24 Sep 2017 20:17:59 +0000 (22:17 +0200)]
Update for 2017.02.6

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8ee6c1d60ebe1285e7f07afa0f8f9107ce0b3506)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/website: update for 2017.02.6
Peter Korsgaard [Sun, 24 Sep 2017 20:47:01 +0000 (22:47 +0200)]
docs/website: update for 2017.02.6

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibidn: fix build without makeinfo
Baruch Siach [Sat, 23 Sep 2017 19:47:54 +0000 (22:47 +0300)]
libidn: fix build without makeinfo

Build fails when the makeinfo utility is not installed on the host.

Fixes:
http://autobuild.buildroot.net/results/dfd/dfdfb34ed81ba3a4b7a7271be482e75eca849dbf/
http://autobuild.buildroot.net/results/b33/b33c0b0e6b1033ab1d1294a91b869ee6adcd391a/
http://autobuild.buildroot.net/results/940/9401cc10f6da6a2e3453ebc65ce573c370733fb5/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolua-markdown: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:32 +0000 (09:59 +0200)]
lua-markdown: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: name the files lua-markdown instead of lua-mardown]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolua-sailor: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:28 +0000 (09:59 +0200)]
lua-sailor: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: rewrap help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolua-valua: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:27 +0000 (09:59 +0200)]
lua-valua: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: rewrap help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolua-datafile: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:26 +0000 (09:59 +0200)]
lua-datafile: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolua-curl: new package
Francois Perrad [Sun, 24 Sep 2017 07:59:25 +0000 (09:59 +0200)]
lua-curl: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoluaposix: bump to version 34.0.1
Francois Perrad [Sun, 24 Sep 2017 07:59:24 +0000 (09:59 +0200)]
luaposix: bump to version 34.0.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6q-sabresd_defconfig: Switch to SPL boot
Fabio Estevam [Sat, 16 Sep 2017 13:12:12 +0000 (10:12 -0300)]
configs/imx6q-sabresd_defconfig: Switch to SPL boot

U-Boot 2017.07 has switched to SPL boot, which allows the same binary to
boot on imx6dl, imx6q and imx6qp sabresd boards.

Switch to the SPL mechanism.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoimx: Introduce an SPL genimage template
Fabio Estevam [Sat, 16 Sep 2017 13:12:11 +0000 (10:12 -0300)]
imx: Introduce an SPL genimage template

Introduce a genimage template for booting SPL + u-boot.img U-Boot
binaries.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/mpfr: bump to version 3.1.6
Bernd Kuhls [Thu, 21 Sep 2017 16:45:36 +0000 (18:45 +0200)]
package/mpfr: bump to version 3.1.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopython-lxml: bump to version 4.0.0
Yegor Yefremov [Thu, 21 Sep 2017 05:40:26 +0000 (07:40 +0200)]
python-lxml: bump to version 4.0.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/sysklogd: add systemd services
Petr Kulhavy [Wed, 20 Sep 2017 10:21:30 +0000 (12:21 +0200)]
package/sysklogd: add systemd services

Sysklogd had only SYSV init scripts. Add systemd service files to start
klogd and syslogd.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/rsyslog: fix wrong symlink for systemd service
Petr Kulhavy [Wed, 20 Sep 2017 10:10:34 +0000 (12:10 +0200)]
package/rsyslog: fix wrong symlink for systemd service

The symlink to /etc/systemd/system/syslog.service was pointing 4 levels up
to /usr/lib instead of 3 levels up.

This wasn't an issue on the actual system (/../ equals to / ) but was causing a
deadlink in the TARGET directory.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/pulseaudio: bump version to 11.1
Bernd Kuhls [Tue, 19 Sep 2017 17:35:42 +0000 (19:35 +0200)]
package/pulseaudio: bump version to 11.1

Dependency to json-c was dropped, updated reverse dependencies as well
and added optional dependency to libatomic_ops
https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/configure.ac#n250
when __sync_bool_compare_and_swap is not available.

Removed patch applied upstream:
0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/protobuf-c: bump version to 1.3.0
Bernd Kuhls [Sun, 17 Sep 2017 18:47:09 +0000 (20:47 +0200)]
package/protobuf-c: bump version to 1.3.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoprotobuf, python-protobuf: bump to v3.4.1
Bernd Kuhls [Sun, 17 Sep 2017 18:47:08 +0000 (20:47 +0200)]
protobuf, python-protobuf: bump to v3.4.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/poco: Update check for uclibc toolchain
Bernd Kuhls [Sun, 17 Sep 2017 17:58:18 +0000 (19:58 +0200)]
package/poco: Update check for uclibc toolchain

LIBC is really only used to construct the target tuple. To check if we
are using a uClibc toolchain, we use BR2_TOOLCHAIN_USES_UCLIBC.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/poco: bump version to 1.7.9
Bernd Kuhls [Sun, 17 Sep 2017 17:58:17 +0000 (19:58 +0200)]
package/poco: bump version to 1.7.9

Removed patch applied upstream:
https://github.com/pocoproject/poco/commit/30159aea4b3f6421da9d74a8bf22aad6d3bf26b4

Renumbered remaining patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/pinentry: added optional support for qt5
Bernd Kuhls [Sun, 17 Sep 2017 17:09:58 +0000 (19:09 +0200)]
package/pinentry: added optional support for qt5

Upstream added support for qt5:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=commit;h=abb59f50abf698ff1e56490fb39bcc98c26ab44b

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: completely separate qt4 and qt5 in the .mk file instead of
 making a complicated mix.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agobash: fix static build
Baruch Siach [Mon, 18 Sep 2017 18:30:27 +0000 (21:30 +0300)]
bash: fix static build

When building bash statically, configure does not initialize the
SHOBJ_STATUS variable. The SHOBJ_STATUS make variable in
examples/loadables/Makefile.in must resolve to either 'supported' or
'unsupported'. Otherwise, the install-$(SHOBJ_STATUS) target does not
exist.

This leads to the following build failure:

make[2]: Entering directory '.../output/build/bash-4.4/examples/loadables'
make[2]: *** No rule to make target 'install-', needed by 'install'.  Stop.
make[2]: Leaving directory '.../output/build/bash-4.4/examples/loadables'
Makefile:793: recipe for target 'install' failed

with the following defconfig:

BR2_arm=y
BR2_STATIC_LIBS=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BASH=y

Note that this doesn't terminate the build so it's not detected as an
error by the autobuilders.

Set SHOBJ_STATUS in the configure environment as a workaround.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/openobex: bump version to 1.7.2
Bernd Kuhls [Sat, 16 Sep 2017 15:15:35 +0000 (17:15 +0200)]
package/openobex: bump version to 1.7.2

Package switched to cmake without providing most of the autoconf
options previously available. Therefore we move all suboptions to
Config.in.legacy.

All patches are removed, the files to be patched do not exist anymore.

OPENOBEX_EXTRACT_CMDS is not needed anymore, upstream provides the
source as .tar.gz now.

Version 1.6 added support for libusb-1.x and udev. The current version
also supports bluez5_utils, not only bluez_utils.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: add help text to legacy options]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/openmpi: bump version to 1.10.7
Bernd Kuhls [Sat, 16 Sep 2017 14:20:22 +0000 (16:20 +0200)]
package/openmpi: bump version to 1.10.7

Added sha256 hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/opencv3: bump version to 3.3.0
Bernd Kuhls [Sat, 16 Sep 2017 13:56:06 +0000 (15:56 +0200)]
package/opencv3: bump version to 3.3.0

Removed patch applied upstream:
https://github.com/opencv/opencv/commit/e16227b53cabab1caa4b7aba8ff59a630528348f

In-source-builds are not allowed anymore:
https://github.com/opencv/opencv/commit/a07d8a89b6b38b1a1f35ac808955dab97985becb

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agompv: bump version to 0.27.0
Mahyar Koshkouei [Thu, 14 Sep 2017 15:02:37 +0000 (16:02 +0100)]
mpv: bump version to 0.27.0

Includes some fixes for the Raspberry Pi, amongst many others.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoffmpeg: Add support for hardware accelaration on RPi
Mahyar Koshkouei [Thu, 14 Sep 2017 15:01:56 +0000 (16:01 +0100)]
ffmpeg: Add support for hardware accelaration on RPi

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
[Arnout: wrap the long line]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agorpi-userland: bump to latest version
Mahyar Koshkouei [Thu, 14 Sep 2017 15:00:27 +0000 (16:00 +0100)]
rpi-userland: bump to latest version

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agodocs: clarify <packagename>_PATCH behaviour
Alexander Mukhin [Thu, 14 Sep 2017 14:47:42 +0000 (17:47 +0300)]
docs: clarify <packagename>_PATCH behaviour

Reiterate once more that <packagename>_PATCH variable can point
to an arbitrary URL, not just to a path relative to <packagename>_SITE.

While we're at it, also explain that the patch should be added to the
.hash file.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
[Arnout: add sentence about .hash file.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/tslib: update to 1.13
Martin Kepplinger [Thu, 14 Sep 2017 07:20:33 +0000 (09:20 +0200)]
package/tslib: update to 1.13

see https://github.com/kergoth/tslib/releases

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/lvm2: add missing host-pkgconf dependency
Romain Naour [Wed, 13 Sep 2017 20:17:55 +0000 (22:17 +0200)]
package/lvm2: add missing host-pkgconf dependency

configure.ac use PKG_CHECK_MODULES macro to find some libraries dependencies.
So add host-pkgconf in LVM2_DEPENDENCIES.

Fixes:
checking pkg-config is at least version 0.9.0... ./configure: line 9875: [...]/host/bin/pkg-config: No such file or directory

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/nvidia-driver: bump version to 384.69
Bernd Kuhls [Wed, 13 Sep 2017 18:45:44 +0000 (20:45 +0200)]
package/nvidia-driver: bump version to 384.69

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/nvidia-driver: depends on xlib_libX11 & xlib_libXext
Bernd Kuhls [Wed, 13 Sep 2017 18:45:43 +0000 (20:45 +0200)]
package/nvidia-driver: depends on xlib_libX11 & xlib_libXext

Fix libglu build error

  CXXLD    libGLU.la
/home/buildroot/br4/output/host/lib/gcc/i586-buildroot-linux-gnu/6.4.0/../../../../i586-buildroot-linux-gnu/bin/ld: cannot find -lXext
/home/buildroot/br4/output/host/lib/gcc/i586-buildroot-linux-gnu/6.4.0/../../../../i586-buildroot-linux-gnu/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_NVIDIA_DRIVER=y
BR2_PACKAGE_LIBGLU=y

The nvidia binary blob is linked to libX11.so & libEext.so

$ output/host/bin/i586-buildroot-linux-gnu-readelf -a output/target/usr/lib/libGL.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libnvidia-tls.so.381.09]
 0x00000001 (NEEDED)                     Shared library: [libnvidia-glcore.so.381.09]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]

which is also reflected by Libs-section of package/nvidia-driver/gl.pc.

To allow other packages linking to libGL.so provided by this package we
need to reflect the fact that xlib_libX11 & xlib_libXext are not
runtime-only dependencies.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/libglu: needs host-pkgconf
Bernd Kuhls [Wed, 13 Sep 2017 18:45:42 +0000 (20:45 +0200)]
package/libglu: needs host-pkgconf

Fix build error

>>> libglu 9.0.0 Autoreconfiguring
configure.ac:50: error: Could not locate the pkg-config autoconf macros.
  These are usually located in /usr/share/aclocal/pkg.m4. If your macros
  are in a different location, try setting the environment variable
  ACLOCAL="aclocal -I/other/macro/dir" before running autoreconf.
configure.ac:50: the top level
autom4te: /home/buildroot/br4/output/host/bin/m4 failed with exit status: 1

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_NVIDIA_DRIVER=y
BR2_PACKAGE_LIBGLU=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>