]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
7 years agoe2fsprogs: add missing arch depends to comment
Carlos Santos [Sat, 22 Apr 2017 11:59:45 +0000 (13:59 +0200)]
e2fsprogs: add missing arch depends to comment

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoe2fsprogs: change upstream URL sf.net -> sourceforge.net
Carlos Santos [Sat, 22 Apr 2017 11:59:44 +0000 (13:59 +0200)]
e2fsprogs: change upstream URL sf.net -> sourceforge.net

sf.net redirects to sourceforge.net, so directly use that as upstream
URL. Config.in.host already uses that URL.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Arnout: remove trailing /]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xen: Use POSIX complaint header includes
Alistair Francis [Fri, 21 Apr 2017 17:29:33 +0000 (10:29 -0700)]
package/xen: Use POSIX complaint header includes

To fix build issues when using the musl library use POSIX compatible
library inclues.

This fixes this autobuilder issue:
http://autobuild.buildroot.net/results/1aa/1aa1303f60372f51aa5a7eb18caac4a5b5c1d9d4/build-end.log

These two patches have been by accepted upstream Xen and will be in 4.9:
http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=b4cd5173183fbc118e2dc2a0d2e0d5038daf4fb5
http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=4703a9ba9bb0c9c2804813ffe0943177d5f96039

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotslib: update to 1.9
Martin Kepplinger [Fri, 21 Apr 2017 06:26:47 +0000 (08:26 +0200)]
tslib: update to 1.9

The curious ones will find the release notes here:

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

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonetsniff-ng: bump to version 0.6.3
Baruch Siach [Wed, 19 Apr 2017 18:31:47 +0000 (21:31 +0300)]
netsniff-ng: bump to version 0.6.3

Drop upstream patch.

Add two more patches to deal with musl build issues.

Cc: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonetsniff-ng: fix static build with netfilter_conntrack
Baruch Siach [Wed, 19 Apr 2017 18:31:46 +0000 (21:31 +0300)]
netsniff-ng: fix static build with netfilter_conntrack

Use pkg-config to determine link flags.

Fixes:
http://autobuild.buildroot.net/results/0ef/0efb90d69fdffafe0630e6507d40198bfb1c5818/
http://autobuild.buildroot.net/results/0ea/0eaf15dd387961641b42d977c49804fe8872074b/
http://autobuild.buildroot.net/results/43d/43d3f2d54deb9d095a4f8cbf70a7b933c09ed618/

Cc: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonetsniff-ng: use upstream provided tarball
Baruch Siach [Wed, 19 Apr 2017 18:31:45 +0000 (21:31 +0300)]
netsniff-ng: use upstream provided tarball

Cc: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibcurl: bump version to 7.54.0 (security)
Vicente Olivert Riera [Wed, 19 Apr 2017 09:07:42 +0000 (10:07 +0100)]
libcurl: bump version to 7.54.0 (security)

Security fixes:
 - CVE-2017-7468: switch off SSL session id when client cert is used

Full changelog: https://curl.haxx.se/changes.html

Removing 0001-CVE-2017-7407.patch. It's included in this release:
  https://github.com/curl/curl/commit/1890d59905414ab84a35892b2e45833654aa5c13

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump version to v1.4.7
Vicente Olivert Riera [Wed, 19 Apr 2017 09:02:29 +0000 (10:02 +0100)]
cjson: bump version to v1.4.7

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: add string option for additional configure options
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:07 +0000 (22:00 +0200)]
xenomai: add string option for additional configure options

Xenomai has many configure options that users may or may not want to set.
Providing individual Buildroot config options for every single one of them
is not maintainable.

Therefore, add a string option to allow the needed flexibility.
Important options, or those that have 'select/depends on' impact, can still
be turned into real Buildroot config options.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[Thomas: rewrap Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: add support for registry
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:06 +0000 (22:00 +0200)]
xenomai: add support for registry

Add a config option to enable the Xenomai registry, which allows accessing
internal Xenomai state.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[Thomas:
 - add missing Config.in comment.
 - rewrap Config.in help text.
 - tweak the .mk file logic for the registry path to avoid the super
   long line.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: restrict installed files further
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:05 +0000 (22:00 +0200)]
xenomai: restrict installed files further

Xenomai 3 installs quite some utils and other programs to the target
filesystem, many of which will not be used by most users.

As it is currently unclear which utils are effectively useful, and as it is
undesirable to create config options for each individual util, remove all
remaining utils such that only the Xenomai libraries remain.

At the point it becomes clear that certain utils _are_ desired by some
users, we can identify how to group them in relevant config options.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: update list of testsuite files
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:04 +0000 (22:00 +0200)]
xenomai: update list of testsuite files

Since Xenomai 3, the list of installed binaries/scripts of the testsuite is
different than before.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: update list of Analogy installed files
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:03 +0000 (22:00 +0200)]
xenomai: update list of Analogy installed files

Since Xenomai 3, the list of files installed for Analogy is longer, causing
the extra files to remain on the target filesystem even if Analogy is not
selected.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: add option for Smokey skin
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:02 +0000 (22:00 +0200)]
xenomai: add option for Smokey skin

Xenomai has a skin 'Smokey' that Buildroot is currently unaware of, which
means that the associated files are present on target even though most users
will not need them.

Add a config option and associated logic to remove the skin if not selected.

Additionally, fixup order of VxWorks skin removal entry.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: group skin selection in separate menu and cleanup
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:01 +0000 (22:00 +0200)]
xenomai: group skin selection in separate menu and cleanup

Clarify the Xenomai config options by grouping the skin-related options in a
separate menu.

Additionally:
- update proper capitalization of skin names
- sort entries
- replace 'skin library' by 'skin' to match the terminology in Xenomai
  sources

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: native skin is now called alchemy
Thomas De Schampheleire [Wed, 19 Apr 2017 20:00:00 +0000 (22:00 +0200)]
xenomai: native skin is now called alchemy

Since the introduction of Xenomai 3, the native skin is dubbed Alchemy.
Update the config menu (but leave the symbol name to avoid hurting existing
users needlessly) and fix the unselected-skin cleanup code.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxenomai: update LICENSE_FILES
Thomas De Schampheleire [Wed, 19 Apr 2017 19:59:59 +0000 (21:59 +0200)]
xenomai: update LICENSE_FILES

Xenomai sources contain much more license files than we currently list, so
complete the current list.

Based on:
    find | grep -Ei 'copying|license|copyright' | sort

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomutt: bump version to 1.8.2
Vicente Olivert Riera [Wed, 19 Apr 2017 09:25:51 +0000 (10:25 +0100)]
mutt: bump version to 1.8.2

0001-nodoc.patch is no longer necessary since a new --disable-doc
configure option has been added by this commit:
  https://dev.mutt.org/hg/mutt/rev/b45bfce1bb0e

Use that option and remove the patch. Since we are not patching
Makefile.am we also don't need to autoreconf.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogtest: fix usage on ARM platforms
Carlos Santos [Wed, 19 Apr 2017 11:51:52 +0000 (08:51 -0300)]
gtest: fix usage on ARM platforms

Ensure that GTest is compiled with -fPIC to allow linking the static
libraries with dynamically linked programs. This is not a requirement
for most architectures but is mandatory for ARM.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck-package: move parts to subdirectory
Ricardo Martincoski [Wed, 19 Apr 2017 18:06:21 +0000 (15:06 -0300)]
check-package: move parts to subdirectory

Currently the check-package script uses many files in the same
directory. This commit keeps the main script in support/scripts/ and
moves the rest into a subdirectory.

The modules were previously prefixed to make it easy to identify which
script they belong to. This is no longer needed when using a
subdirectory, so the prefix is removed.

Note: if this commit is checked out and the script is run, and later on
a previous version is checked out, the file
support/scripts/checkpackagelib/__init__.pyc needs to be manually
removed to prevent Python interpreter to look for checkpackagelib
package when only the checkpackagelib module is available.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/eudev: bump version to 3.2.2
Bernd Kuhls [Thu, 20 Apr 2017 07:06:13 +0000 (09:06 +0200)]
package/eudev: bump version to 3.2.2

Removed patch 0001 applied upstream:
https://github.com/gentoo/eudev/commit/c0f63850ad29ec978d070a08b816dc2bfca337e3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodownload/git: clarify why .git is removed
Ricardo Martincoski [Thu, 20 Apr 2017 06:36:47 +0000 (03:36 -0300)]
download/git: clarify why .git is removed

The removal of the .git dir before creating the tarball is not anymore
just an optimization. It is necessary to make the tarball reproducible.
Also, without the removal, large tarballs (gigabytes) would be created
for some linux trees.

Update the comment accordingly.

Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotzdata: bump to version 2017b
Baruch Siach [Thu, 20 Apr 2017 12:02:46 +0000 (15:02 +0300)]
tzdata: bump to version 2017b

Cc: Martin Bark <martin@barkynet.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozic: bump to version 2017b
Baruch Siach [Thu, 20 Apr 2017 12:02:45 +0000 (15:02 +0300)]
zic: bump to version 2017b

Cc: Martin Bark <martin@barkynet.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodbus: bump to version 1.10.18
Baruch Siach [Thu, 20 Apr 2017 11:21:29 +0000 (14:21 +0300)]
dbus: bump to version 1.10.18

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibnss: security bump to version 3.30.2
Baruch Siach [Thu, 20 Apr 2017 17:34:29 +0000 (20:34 +0300)]
libnss: security bump to version 3.30.2

CVE-2017-5461 - Out-of-bounds write in Base64 encoding in NSS. Might cause
remote arbitrary code execution
(https://access.redhat.com/errata/RHSA-2017:1100).

CVE-2017-5462 - DRBG flaw in NSS

Drop 0001-cross-compile.patch and TARGET* variables. Upstream Makefile now
allows override of CC, so use TARGET_CONFIGURE_OPTS instead.

Drop upstream 0003-it-uninitialized-fix.patch.

Renumber the remaining patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibnspr: bump to version 4.14
Baruch Siach [Thu, 20 Apr 2017 17:34:28 +0000 (20:34 +0300)]
libnspr: bump to version 4.14

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozsh: bump to version 5.3.1
Baruch Siach [Thu, 20 Apr 2017 12:33:52 +0000 (15:33 +0300)]
zsh: bump to version 5.3.1

Cc: Phil Eichinger <phil.eichinger@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobind: bump version to 9.11.1
Vicente Olivert Riera [Thu, 20 Apr 2017 12:32:19 +0000 (13:32 +0100)]
bind: bump version to 9.11.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-engine: fix handling of vendor tree
Christian Stewart [Tue, 18 Apr 2017 07:53:59 +0000 (03:53 -0400)]
docker-engine: fix handling of vendor tree

The latest docker-engine release changes the vendor tree slightly. The
Go tool will recognize a ./vendor directory and use it as a vendor tree
automatically, but only when run inside a valid GOPATH. This patch
adjusts how the GOPATH is built - now docker/docker is linked into a
blank tree, and the Go tool recognizes the ./vendor directory correctly.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: bump version to 1.6.17
Bernd Kuhls [Tue, 18 Apr 2017 07:29:46 +0000 (09:29 +0200)]
package/freeswitch: bump version to 1.6.17

Added all upstream hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default version to 4.10.11
Bernd Kuhls [Tue, 18 Apr 2017 13:54:30 +0000 (15:54 +0200)]
linux: bump default version to 4.10.11

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/linux-headers: bump 3.12.x and 4.{4, 9, 10}.x series
Bernd Kuhls [Tue, 18 Apr 2017 13:54:29 +0000 (15:54 +0200)]
package/linux-headers: bump 3.12.x and 4.{4, 9, 10}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard/synopsys: remove patch for linux vdk defconfig
Zakharov Vlad [Tue, 18 Apr 2017 15:40:39 +0000 (18:40 +0300)]
board/synopsys: remove patch for linux vdk defconfig

The patch for linux vdk defconfig introduced ARC_SMP_HALT_ON_RESET
config symbol. In fact that is not required as this symbol is enabled by
default if ARC_UBOOT_SUPPORT config symbol is set (and it is set in
vdk configs).

Also this commit fixes build failure, pointed us by Arnout:
https://gitlab.com/buildroot.org/buildroot/builds/14419270

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrinity: needs __sync_val_compare_and_swap_4
Rahul Bedarkar [Tue, 18 Apr 2017 09:26:30 +0000 (14:56 +0530)]
trinity: needs __sync_val_compare_and_swap_4

syscalls/futex.c uses sync_val_compare_and_swap(). So add dependency on
BR2_TOOLCHAIN_HAS_SYNC_4.

Fixes:
  http://autobuild.buildroot.net/results/17f/17f7fe79242a40ff3e588748230de7bf2a010941

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: bump version to 7.1.4
Vicente Olivert Riera [Tue, 18 Apr 2017 10:15:21 +0000 (11:15 +0100)]
php: bump version to 7.1.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/test-pkg: run legal-info
Yann E. MORIN [Fri, 7 Apr 2017 11:16:17 +0000 (13:16 +0200)]
support/test-pkg: run legal-info

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/test-pkg: calculate toolchain name only once
Arnout Vandecappelle [Fri, 7 Apr 2017 11:16:16 +0000 (13:16 +0200)]
support/test-pkg: calculate toolchain name only once

The toolchain name was calculated in main() for reporting to the user,
and again in build_one() for creating the build directory. Calculate
it only once, in main(), and pass the build directory as an argument
to build_one().

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libunwind: disable for x86 with uClibc toolchain
Romain Naour [Sun, 16 Apr 2017 19:49:06 +0000 (21:49 +0200)]
package/libunwind: disable for x86 with uClibc toolchain

libunwind use sigreturn() while building for x86 [1] but this function
is not available with uClibc-ng.

This throw a warning during libunwind build:
In file included from x86/Los-linux.c:4:0:
x86/Gos-linux.c: In function ‘_ULx86_local_resume’:
x86/Gos-linux.c:298:7: warning: implicit declaration of function ‘sigreturn’ [-Wimplicit-function-declaration]
       sigreturn (sc);
       ^

But any program trying to link against libunwind-generic.so fail to build:
[...]usr/lib/libunwind-generic.so: undefined reference to `sigreturn'
collect2: error: ld returned 1 exit status

Disable libunwind for x86 target when uClibc-ng is used.

Fixes:
http://autobuild.buildroot.net/results/54a/54afac8148cff5f3c17e83f80917fd9006948fe0//build-end.log

[1] http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=blob;f=src/x86/Gos-linux.c;h=17aebc2974af50eb0bf8292689b2ed22a4c97866;hb=HEAD#l299

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: add libunwind optional dependency
Romain Naour [Sun, 16 Apr 2017 19:49:05 +0000 (21:49 +0200)]
package/efl: add libunwind optional dependency

There is no configure option to enable/disable libunwind support.
See efl/m4/efl_libunwind.m4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xenomai: add host-pkgconf dependency
Romain Naour [Mon, 17 Apr 2017 10:29:50 +0000 (12:29 +0200)]
package/xenomai: add host-pkgconf dependency

Without pkg-config PKG_CHECK_MODULES won't be expanded
and ./configure script produces following error message:

./configure: line 13810: syntax error near unexpected token `FUSE,'
./configure: line 13810: ` PKG_CHECK_MODULES(FUSE, fuse)'

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: use SPDX short identifier for license string in comments
Rahul Bedarkar [Mon, 17 Apr 2017 09:27:13 +0000 (14:57 +0530)]
package: use SPDX short identifier for license string in comments

We have started using SPDX short identifier for license string in
<PKG>_LICENSE variable. But license strings in comments are still
using old strings. For consistency, use SPDX short identifier in
comments as well.

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoti-cgt-pru: use SPDX short identifier for license string
Rahul Bedarkar [Mon, 17 Apr 2017 09:27:12 +0000 (14:57 +0530)]
ti-cgt-pru: use SPDX short identifier for license string

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosam-ba: use SPDX short identifier for license string
Rahul Bedarkar [Mon, 17 Apr 2017 09:27:11 +0000 (14:57 +0530)]
sam-ba: use SPDX short identifier for license string

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowhich: update homepage URL
Rahul Bedarkar [Mon, 17 Apr 2017 09:27:10 +0000 (14:57 +0530)]
which: update homepage URL

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mpv: bump version to 0.24.0
Bernd Kuhls [Sun, 16 Apr 2017 12:21:44 +0000 (14:21 +0200)]
package/mpv: bump version to 0.24.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mpv: disable cuda support
Bernd Kuhls [Sun, 16 Apr 2017 12:12:36 +0000 (14:12 +0200)]
package/mpv: disable cuda support

mpv wrongly detects cuda being available:

Checking for CUDA hwaccel : yes

leading to build errors.

Fixes
http://autobuild.buildroot.net/results/e89/e892a537265ad7259024403a0bb3ca5da85ed096/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agortl8821au: bump to latest
Christian Stewart [Sat, 15 Apr 2017 17:33:20 +0000 (13:33 -0400)]
rtl8821au: bump to latest

We add -Wno-error to not error out on warnings, which would otherwise
cause build failures.

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: as suggested by Baruch, use -Wno-error instead of disabling
specific warnings.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrinity: add optional dependency on btrfs-progs
Baruch Siach [Sat, 15 Apr 2017 22:53:27 +0000 (01:53 +0300)]
trinity: add optional dependency on btrfs-progs

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrinity: fix detection of BPF features
Baruch Siach [Sat, 15 Apr 2017 22:23:31 +0000 (01:23 +0300)]
trinity: fix detection of BPF features

Add upstream patch to detect presence of the map_flags field in bpf_attr.

Fixes:
http://autobuild.buildroot.net/results/1d3/1d3dcb908b7bb4559e1103e09907ab043ed44679/
http://autobuild.buildroot.net/results/269/269e1c125094b97dd9dfda0e174d2c9f3b103c3b/

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years ago.gitlab-ci.yml: refresh after rename of Synopsys ARC defconfigs
Arnout Vandecappelle [Sat, 15 Apr 2017 19:39:40 +0000 (21:39 +0200)]
.gitlab-ci.yml: refresh after rename of Synopsys ARC defconfigs

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophytool: add kernel headers dependency
Yegor Yefremov [Sat, 15 Apr 2017 18:19:04 +0000 (20:19 +0200)]
phytool: add kernel headers dependency

phytool includes linux/mdio.h, that is available since
kernel 3.7. So add related dependency.

Fixes:
http://autobuild.buildroot.net/results/e0e/e0eebcb9a694cd5d4c76c40e5dba971e3ac9d7c5/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "package/xenomai: disable obstack support"
Romain Naour [Sat, 15 Apr 2017 17:42:01 +0000 (19:42 +0200)]
Revert "package/xenomai: disable obstack support"

This reverts commit e87644cb2abb78c5bf3bd0c3c6955c202e798ef2.

The issue is now fixed in Xenomai, let use Xenomai obstack support
if it's not already available from the libc.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xenomai: build obstack support conditionally
Romain Naour [Sat, 15 Apr 2017 17:42:00 +0000 (19:42 +0200)]
package/xenomai: build obstack support conditionally

The configure script check whether the underlying libc provides for
native obstack support, only building Xenomai replacement code if not.
This as been tested against uClibc 1.0.22, and common glibc releases.

Backport the patch provided by uptream.

Add XENOMAI_AUTORECONF=YES since the patch modify configure.ac.

[1] http://xenomai.org/pipermail/xenomai/2017-April/037272.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xenomai: bump to version 3.0.4
Romain Naour [Sat, 15 Apr 2017 17:41:59 +0000 (19:41 +0200)]
package/xenomai: bump to version 3.0.4

Remove upstream patch 0001-testsuite-cyclictest.

Announce:
http://xenomai.org/pipermail/xenomai/2017-April/037254.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pawel Sikora <sikor6@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ffmpeg: use BR2_TOOLCHAIN_HAS_LIBATOMIC
Bernd Kuhls [Sat, 15 Apr 2017 10:22:36 +0000 (12:22 +0200)]
package/ffmpeg: use BR2_TOOLCHAIN_HAS_LIBATOMIC

Fixes
http://autobuild.buildroot.net/results/69d/69d33792f2e7ec62bfe593eb4bbc8fb2652d7011/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "package/sdl2: disable altivec built-in function for PowerPC"
Romain Naour [Sat, 25 Mar 2017 21:59:01 +0000 (22:59 +0100)]
Revert "package/sdl2: disable altivec built-in function for PowerPC"

The bug discovered while packaging supertux is now fixed by the previous
patch but the issue can still be present in other C++11 package if
-std=c++11 is used on PPC with Altivec vectorization.

This reverts commit d2903aaf1314b50a8a10ce937d2b33c5c42e463e.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/supertux: fix bug when compiling with PPC altivec vectorization
Romain Naour [Sat, 25 Mar 2017 21:59:00 +0000 (22:59 +0100)]
package/supertux: fix bug when compiling with PPC altivec vectorization

>From [1]:
Acording to a bug report in GCC [2]:
"You need to use -std=g++11 or undefine bool after the include of altivec.h
as context sensitive keywords is not part of the C++11 standard".

So use gnu++11 instead of c++11 only for altivec system.

This allow to revert [3] and keep Altivec vectorization.

[1] 0024465d8a7b51f7fc7c9e8581072695d869adca
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3
[3] d2903aaf1314b50a8a10ce937d2b33c5c42e463e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/supertux: new package
Romain Naour [Sat, 25 Mar 2017 21:58:59 +0000 (22:58 +0100)]
package/supertux: new package

Checked that libphysfs.so.1 is used by supertux2 binary.
$ LD_TRACE_LOADED_OBJECTS=1 /usr/bin/supertux2
...
libphysfs.so.1 => /usr/lib64/libphysfs.so.1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - slightly tweak Config.in comment
 - use SPDX license codes]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xenomai: disable obstack support
Romain Naour [Fri, 31 Mar 2017 20:26:04 +0000 (22:26 +0200)]
package/xenomai: disable obstack support

Obstack support in Xenomai is broken when the libc doesn't support
obstack support itself. Make sure we disable obstack support for all
libc since it was removed in uClibc-ng since 1.0.21 release and it's
always disabled with Glibc.

Fixes:
http://autobuild.buildroot.net/results/555/555d9cb9cb59fad6353516bed206e1117974e8cd/build-end.log

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pawel Sikora <sikor6@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: add poppler imageloader optional dependency
Romain Naour [Fri, 14 Apr 2017 21:14:24 +0000 (23:14 +0200)]
package/efl: add poppler imageloader optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/expedite: bump version for efl 1.19 support
Romain Naour [Fri, 14 Apr 2017 21:14:23 +0000 (23:14 +0200)]
package/expedite: bump version for efl 1.19 support

Required due to eo api changes.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: bump to version 1.19.0
Romain Naour [Fri, 14 Apr 2017 21:14:22 +0000 (23:14 +0200)]
package/efl: bump to version 1.19.0

This new version of the EFL enables systemd support by default, so
we have to disable it explicitely for host-efl by adding an
additional --disable-systemd option to HOST_EFL_CONF_OPTS.

Also handle newly introduced options vnc-server and net-control
which brings additional dependencies. Disable them by default.

Select wayland-protocol package which is now required to build
the efl wayland support [1].

See the release announcement [2].

[1] https://git.enlightenment.org/core/efl.git/commit/?id=55750d41fad6055a549664ae92a34e636d7fb1f0
[2] https://sourceforge.net/p/enlightenment/mailman/message/35785467

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoat91sam9x5ek_mmc_dev_defconfig: increase ext2 filesystem size
Arnout Vandecappelle [Fri, 14 Apr 2017 21:26:06 +0000 (23:26 +0200)]
at91sam9x5ek_mmc_dev_defconfig: increase ext2 filesystem size

Since commit c6bca8cef0 removed autocalculation of the ext2 filesystem
size, the default size is now set to 60MB. However, this is just too
small for at91sam9x5ek_mmc_dev_defconfig, which has a lot of extra
packages for development.

Increase the filesystem size to 120000K, which is a nice and round
number and leaves enough space for overhead on a 128MB flash drive.
Only 65MB is used.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofirefly_rk3288_demo_defconfig: increase ext2 filesystem size
Arnout Vandecappelle [Fri, 14 Apr 2017 21:26:05 +0000 (23:26 +0200)]
firefly_rk3288_demo_defconfig: increase ext2 filesystem size

Since commit c6bca8cef0 removed autocalculation of the ext2 filesystem
size, the default size is now set to 60MB. However, this is too small
for firefly_rk3288_demo_defconfig. Indeed, the ext2 filesystem contains
the mali blob (90MB) and Qt5 (14MB), totalling to 125MB.

This is a bit too small to fit comfortably on a 128M flash driver, so
increase the size to 250000K (245MB).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopc_x86_64_bios_defconfig: increase ext2 filesystem size
Arnout Vandecappelle [Fri, 14 Apr 2017 21:26:04 +0000 (23:26 +0200)]
pc_x86_64_bios_defconfig: increase ext2 filesystem size

Since commit c6bca8cef0 removed autocalculation of the ext2 filesystem
size, the default size is now set to 60MB. However, this is too small
for pc_x86_64_bios_defconfig. Indeed, the ext2 filesystem contains the
kernel (4MB), the wireless modules (4MB), all firmware for wireless
modules (40MB), and the wifi userspace (9MB) and the udev hwdb (5MB)
which brings the total to 70MB.

Increase the filesystem size to 120000K, which is a nice and round
number and leaves enough space for overhead on a 128MB flash drive.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpi-firmware: allow to build for aarch64 targets
Gaël PORTAY [Fri, 14 Apr 2017 21:45:50 +0000 (17:45 -0400)]
rpi-firmware: allow to build for aarch64 targets

The RaspberryPi 3 is based on a AArch64 CPU and requires binaries from
this package.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: contribute: fix license string for Buildroot license
Rahul Bedarkar [Sat, 15 Apr 2017 05:14:40 +0000 (10:44 +0530)]
docs/manual: contribute: fix license string for Buildroot license

As per section 12.2 "Complying with the Buildroot license", Buildroot
is released under GPL version 2 or (at your option) any later version.
But SPDX license string for Buildroot license in section 21.5
"Submitting patches" refers to only GPL version 2. Fix this
inconsistency by using correct SPDX identifier.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.80
Bernd Kuhls [Sat, 15 Apr 2017 06:24:40 +0000 (08:24 +0200)]
package/libdrm: bump version to 2.4.80

Removed AUTORECONF, forgotten in 2.4.77 bump:
https://git.buildroot.net/buildroot/commit/package/libdrm?id=137407a7f9a29daf6312a261bd50cf1d6d9622da

Also removed host-xutil_util-macros which was only needed for
autoreconf:
https://git.buildroot.net/buildroot/commit/package/libdrm?id=3284e1e2b4984ac487e04d0d826a49351dc0fc38

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: fix coding style problems reported by check-package
Romain Naour [Fri, 14 Apr 2017 12:13:42 +0000 (14:13 +0200)]
package/efl: fix coding style problems reported by check-package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: remove leftover disable-wayland option
Romain Naour [Fri, 14 Apr 2017 12:13:41 +0000 (14:13 +0200)]
package/efl: remove leftover disable-wayland option

Wayland support was re-added by [1] but the --disable-wayland option
was not removed from EFL_CONF_OPTS.

[1] f30eec41f95ed99909eb2c7590d83c12b9142df2

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/hiredis: fix install step for static build only
Romain Naour [Fri, 14 Apr 2017 13:02:25 +0000 (15:02 +0200)]
package/hiredis: fix install step for static build only

The previous patch [1] didn't take into acount the static build only
scenario. It tries to unconditionally install a shared library.

Handle the install step like for bzip2 package: install the shared
library only if BR2_SHARED_LIBS or BR2_SHARED_STATIC_LIBS is set and
install the static library only if BR2_STATIC_LIBS or
BR2_SHARED_STATIC_LIBS is set.

[1] 96daacb720cffe1f83259462bef9d3da92925cd9

Fixes:
http://autobuild.buildroot.net/results/6be/6be8024dd664af83fcf49ede29c8ad59a37f73d1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi3_defconfig: bump version to 4.9.21
Martin Bark [Fri, 14 Apr 2017 15:32:29 +0000 (16:32 +0100)]
configs/raspberrypi3_defconfig: bump version to 4.9.21

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi2_defconfig: bump version to 4.9.21
Martin Bark [Fri, 14 Apr 2017 15:32:28 +0000 (16:32 +0100)]
configs/raspberrypi2_defconfig: bump version to 4.9.21

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi0_defconfig: bump version to 4.9.21
Martin Bark [Fri, 14 Apr 2017 15:32:27 +0000 (16:32 +0100)]
configs/raspberrypi0_defconfig: bump version to 4.9.21

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/raspberrypi_defconfig: bump version to 4.9.21
Martin Bark [Fri, 14 Apr 2017 15:32:26 +0000 (16:32 +0100)]
configs/raspberrypi_defconfig: bump version to 4.9.21

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/rpi-userland: bump version
Martin Bark [Fri, 14 Apr 2017 15:32:25 +0000 (16:32 +0100)]
package/rpi-userland: bump version

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/rpi-firmware: bump version
Martin Bark [Fri, 14 Apr 2017 15:32:24 +0000 (16:32 +0100)]
package/rpi-firmware: bump version

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: bump version to 7.9.0
Martin Bark [Fri, 14 Apr 2017 11:03:16 +0000 (12:03 +0100)]
package/nodejs: bump version to 7.9.0

See https://nodejs.org/en/blog/release/v7.9.0/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoffmpeg: fix neon support for aarch64
Bernd Kuhls [Fri, 14 Apr 2017 09:30:26 +0000 (11:30 +0200)]
ffmpeg: fix neon support for aarch64

ffmpeg ported arm 32-bit NEON code to aarch64 as hard dependency:
http://ffmpeg.org/pipermail/ffmpeg-devel/2016-November/202733.html

Buildroot option BR2_ARM_CPU_HAS_NEON handles only the 32bit case:
https://git.buildroot.net/buildroot/commit/?id=0976cd6cd64a128a2ac921e4f35f0e7cbe306692

For aarch64 we need to make sure to pass --enable-neon in order to
prevent a link error, fixes

http://autobuild.buildroot.net/results/fa4/fa46003249664b1f97f6c18253c84cd3d6fb9cdb/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobusybox: preserve ncurses progs/tools
Matt Weber [Fri, 14 Apr 2017 03:20:47 +0000 (22:20 -0500)]
busybox: preserve ncurses progs/tools

The ncurses package installs a full version of clear and reset(tset)
tools.  Preserve these by disabling the options in the busybox config
file.  This removes the need for ncurses to depend on busybox for solely
ordering of target install.

This commit resolves the following python circular dependency with python.
busybox -> libselinux -> python3 -> ncurses -> busybox

Fixes:
http://autobuild.buildroot.net/results/db1/db1e6f3054092fc5576ccab8e04a3b9d74ca9a8c/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: minor tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoatop: bump version to 2.3.0
Ricardo Martincoski [Fri, 14 Apr 2017 00:22:25 +0000 (21:22 -0300)]
atop: bump version to 2.3.0

Remove patch applied upstream [1].

[1] https://github.com/Atoptool/atop/commit/a2306c0e1c83f5a123ce521a34d9efaa2297c26d

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrinity: fix build BPF support is missing
Baruch Siach [Fri, 14 Apr 2017 04:20:02 +0000 (07:20 +0300)]
trinity: fix build BPF support is missing

Use upstream patch.

Fixes:
http://autobuild.buildroot.net/results/2ae/2ae76fb61d017d99653d57807cb62c4d8c91ff4d/
http://autobuild.buildroot.net/results/a53/a5391fc272f99b80974582ea735d764db8dc8e9e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrinity: fix ipv6 headers detection
Baruch Siach [Fri, 14 Apr 2017 05:27:37 +0000 (08:27 +0300)]
trinity: fix ipv6 headers detection

The trinity configure script looks into a host header to check for libc/kernel
headers conflict resolution. This is not compatible with cross compilation.
Add a patch that does direct compilation test instead.

This issue was not caught by the autobuilder yet.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: add rule to dump packages' build order
Yann E. MORIN [Sun, 2 Apr 2017 13:03:38 +0000 (15:03 +0200)]
core: add rule to dump packages' build order

When debugging hidden dependencies, the build order is very important.
Most notably, it is interesting to identify potential culprits.

Add a new top-level rule, show-biuld-order, that dumps all the packages
in the order they would get built.

Note that there are a few differences with show-targets:

  - more packages are reported, becasue show-targets does not report
    host packages that have no prompt;

  - the output is line-based, because we're using $(info $(1)); getting
    a single output line like show-targets would require we use an
    actual command, like printf '%s ' $(1); but that takes a lot of
    time, while $(info $(1)) is almost instantaneous (the time to parse
    the Makefiles);

  - rootfs targets are not reported.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agompir: new package
Semyon Kolganov [Thu, 13 Apr 2017 20:32:01 +0000 (23:32 +0300)]
mpir: new package

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
[Thomas:
 - rewrap Config.in help text
 - add missing host-yasm dependency
 - remove custom MPIR_MAKE_OPTS, apparently not needed]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoatest: new package
Fabio Estevam [Sun, 9 Apr 2017 17:44:02 +0000 (14:44 -0300)]
atest: new package

Add support for atest application, which is useful for testing
alsa kernel drivers and detecting if playback/capture work correct
without artifacts, such as channel swap.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
[Thomas: add missing Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/fmt: fix permissions
Bernd Kuhls [Sun, 9 Apr 2017 15:17:51 +0000 (17:17 +0200)]
package/fmt: fix permissions

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgphoto2: new package
Kevin JOLY [Tue, 11 Apr 2017 07:00:08 +0000 (09:00 +0200)]
libgphoto2: new package

Add support for libgphoto2 core library designed to allow access to
digital camera.

Signed-off-by: Kevin JOLY <kevin.joly@sensefly.com>
Cc: Romain Naour <romain.naour@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - Use downloads.sourceforge.net
 - Remove final dot at end of <pkg>_LICENSE variable
 - Minor tweaks in comments.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibselinux: adjust build of Python bindings
Matt Weber [Thu, 13 Apr 2017 04:16:12 +0000 (23:16 -0500)]
libselinux: adjust build of Python bindings

In order to work-around dependency issues, the Python bindings should be
built though a separate make invocation from the rest of the
library. This avoids build issues like this:

selinux_restorecon.lo: file not recognized: File truncated
[...]
collect2: error: ld returned 1 exit status
make[2]: *** [libselinux.so.1] Error 1

Fixes:

  http://autobuild.buildroot.net/results/967b74d0ae5b4b83ea2729217b005a3e1e4514d0/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: improve commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/telit_evk_pro3: bump linux kernel to 3.9.11
Fabio Porcedda [Thu, 13 Apr 2017 15:07:37 +0000 (17:07 +0200)]
configs/telit_evk_pro3: bump linux kernel to 3.9.11

Also use "BR2_TARGET_LINUX_CONFIG_FRAGMENT_FILES" instead of
"BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE".

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/telit_evk_pro3: add support for gcc 5
Fabio Porcedda [Thu, 13 Apr 2017 15:07:36 +0000 (17:07 +0200)]
configs/telit_evk_pro3: add support for gcc 5

Use two official kernel patches to add support for gcc 5:

commit 71458cfc782eafe4b27656e078d379a34e472adf
kernel: add support for gcc 5

commit aeea3592a13bf12861943e44fc48f1f270941f8d
ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglibc: add patches to fix sh4 compile issue
Waldemar Brodkorb [Thu, 13 Apr 2017 05:07:32 +0000 (07:07 +0200)]
glibc: add patches to fix sh4 compile issue

Fixes:

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

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: rework patches as Git formatted patches, fix numbering.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoffmpeg: bump version to 3.3
Vicente Olivert Riera [Thu, 13 Apr 2017 13:44:41 +0000 (14:44 +0100)]
ffmpeg: bump version to 3.3

And remove non-existent configure options from ffmpeg.mk:

  --disable-x11grab
  --disable-memalign-hack

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowireshark: bump version to 2.2.6 (security)
Vicente Olivert Riera [Thu, 13 Apr 2017 13:37:20 +0000 (14:37 +0100)]
wireshark: bump version to 2.2.6 (security)

Security fixes:

- wnpa-sec-2017-12
  IMAP dissector crash (Bug 13466) CVE-2017-7703
- wnpa-sec-2017-13
  WBMXL dissector infinite loop (Bug 13477) CVE-2017-7702
- wnpa-sec-2017-14
  NetScaler file parser infinite loop (Bug 13478) CVE-2017-7700
- wnpa-sec-2017-15
  RPCoRDMA dissector infinite loop (Bug 13558) CVE-2017-7705
- wnpa-sec-2017-16
  BGP dissector infinite loop (Bug 13557) CVE-2017-7701
- wnpa-sec-2017-17
  DOF dissector infinite loop (Bug 13453) CVE-2017-7704
- wnpa-sec-2017-18
  PacketBB dissector crash (Bug 13559)
- wnpa-sec-2017-19
  SLSK dissector long loop (Bug 13576)
- wnpa-sec-2017-20
  SIGCOMP dissector infinite loop (Bug 13578)
- wnpa-sec-2017-21
  WSP dissector infinite loop (Bug 13581)

Full release notes:

  https://www.wireshark.org/docs/relnotes/wireshark-2.2.6.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobind: bump version to 9.11.0-P5 (security)
Vicente Olivert Riera [Thu, 13 Apr 2017 13:32:09 +0000 (14:32 +0100)]
bind: bump version to 9.11.0-P5 (security)

Security Fixes:
 - rndc "" could trigger an assertion failure in named. This flaw is
   disclosed in (CVE-2017-3138). [RT #44924]
 - Some chaining (i.e., type CNAME or DNAME) responses to upstream
   queries could trigger assertion failures. This flaw is disclosed in
   CVE-2017-3137. [RT #44734]
 - dns64 with break-dnssec yes; can result in an assertion failure. This
   flaw is disclosed in CVE-2017-3136. [RT #44653]
 - If a server is configured with a response policy zone (RPZ) that
   rewrites an answer with local data, and is also configured for DNS64
   address mapping, a NULL pointer can be read triggering a server
   crash. This flaw is disclosed in CVE-2017-3135. [RT #44434]
 - A coding error in the nxdomain-redirect feature could lead to an
   assertion failure if the redirection namespace was served from a
   local authoritative data source such as a local zone or a DLZ instead
   of via recursive lookup. This flaw is disclosed in CVE-2016-9778.
   [RT #43837]
 - named could mishandle authority sections with missing RRSIGs,
   triggering an assertion failure. This flaw is disclosed in
   CVE-2016-9444. [RT #43632]
 - named mishandled some responses where covering RRSIG records were
   returned without the requested data, resulting in an assertion
   failure. This flaw is disclosed in CVE-2016-9147. [RT #43548]
 - named incorrectly tried to cache TKEY records which could trigger an
   assertion failure when there was a class mismatch. This flaw is
   disclosed in CVE-2016-9131. [RT #43522]
 - It was possible to trigger assertions when processing responses
   containing answers of type DNAME. This flaw is disclosed in
   CVE-2016-8864. [RT #43465]

Full release notes:

  ftp://ftp.isc.org/isc/bind9/9.11.0-P5/RELEASE-NOTES-bind-9.11.0-P5.html

Also, remove --enable-rrl configure option from bind.mk as it doesn't
exist anymore.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: bump version to 2.02.170
Vicente Olivert Riera [Thu, 13 Apr 2017 13:14:14 +0000 (14:14 +0100)]
lvm2: bump version to 2.02.170

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophytool: new package
Yegor Yefremov [Thu, 13 Apr 2017 09:33:20 +0000 (11:33 +0200)]
phytool: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrinity: bump to version 1.7
Baruch Siach [Thu, 13 Apr 2017 05:29:19 +0000 (08:29 +0300)]
trinity: bump to version 1.7

Use upstream provided tarball.

Drop upstream patch.

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>