buildroot.git
7 years agopackage/h*: fix wrapping of Config.in help text
Adam Duskett [Mon, 31 Jul 2017 13:53:44 +0000 (09:53 -0400)]
package/h*: fix wrapping of Config.in help text

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter h in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/g*: fix wrapping of Config.in help text
Adam Duskett [Mon, 31 Jul 2017 13:53:43 +0000 (09:53 -0400)]
package/g*: fix wrapping of Config.in help text

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter g in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/f*: fix wrapping of Config.in help text
Adam Duskett [Mon, 31 Jul 2017 13:53:42 +0000 (09:53 -0400)]
package/f*: fix wrapping of Config.in help text

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter f in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/e*: fix wrapping of Config.in help text
Adam Duskett [Mon, 31 Jul 2017 13:53:41 +0000 (09:53 -0400)]
package/e*: fix wrapping of Config.in help text

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter e in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobusybox: disable new TLS support
Thomas Petazzoni [Sun, 30 Jul 2017 13:44:46 +0000 (15:44 +0200)]
busybox: disable new TLS support

Busybox 1.17.1 has added built-in TLS support. Unfortunately, it fails
to build on i686 with gcc 4.8, with:

networking/tls_pstm_mul_comba.c: In function 'pstm_mul_comba':
networking/tls_pstm_mul_comba.c:82:1: error: 'asm' operand has impossible constraints
 asm(                                                      \
 ^
networking/tls_pstm_mul_comba.c:279:4: note: in expansion of macro 'MULADD'
    MULADD(*tmpx++, *tmpy--);
    ^
make[3]: *** [networking/tls_pstm_mul_comba.o] Error 1
make[2]: *** [networking] Error 2

Since TLS support is a new feature in 1.27, and wasn't present until
now, let's disable it to avoid the build failure.

The bug has been reported upstream at
http://lists.busybox.net/pipermail/busybox/2017-July/085713.html.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolet-me-create: new package
Rahul Bedarkar [Wed, 3 May 2017 18:01:24 +0000 (23:31 +0530)]
let-me-create: new package

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
[Thomas: minor tweaks in Config.in file, adjust .mk file for
static+shared build.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibrsvg: security bump to version 2.40.18
Baruch Siach [Sat, 29 Jul 2017 20:19:38 +0000 (23:19 +0300)]
librsvg: security bump to version 2.40.18

http://ftp.gnome.org/pub/gnome/sources/librsvg/2.40/librsvg-2.40.18.news

CVE-2017-11464 - Fix division-by-zero in the Gaussian blur code.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibrsvg: update homepage link
Baruch Siach [Sat, 29 Jul 2017 20:19:37 +0000 (23:19 +0300)]
librsvg: update homepage link

The SF page redirects to gnome.org.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/cc-tool: link with libatomic when needed
Bernd Kuhls [Sat, 29 Jul 2017 20:32:20 +0000 (22:32 +0200)]
package/cc-tool: link with libatomic when needed

Detecting the boost program_options library is broken:

checking for the Boost program_options library... no
configure: error: cannot find the flags to link with Boost program_options

config.log shows the reason, libatomic is missing:

conftest.o: In function `boost::detail::sp_counted_base::release()':
conftest.cpp:(.text._ZN5boost6detail15sp_counted_base7releaseEv[_ZN5boost6detail15sp_counted_base7releaseEv]+0xc):
 undefined reference to `__atomic_fetch_sub_4'
conftest.cpp:(.text._ZN5boost6detail15sp_counted_base7releaseEv[_ZN5boost6detail15sp_counted_base7releaseEv]+0x38):
 undefined reference to `__atomic_fetch_sub_4'
/home/buildroot/br4/output/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libboost_program_options.so:
 undefined reference to `__atomic_fetch_add_4'

Please note that using LIBS=-latomic is not enough, although it fixes
the configure check the bug reoccurs when linking cc-tool:

  CXXLD    cc-tool
src/application/cc_flasher.o: In function `boost::detail::sp_counted_base::weak_release()':
cc_flasher.cpp:(.text._ZN5boost6detail15sp_counted_base12weak_releaseEv[_ZN5boost6detail15sp_counted_base12weak_releaseEv]+0xc):
 undefined reference to `__atomic_fetch_sub_4'

We need to add -latomic to CXXFLAGS to both fix configure and linking.

Fixes
http://autobuild.buildroot.net/results/596/596f97364bb2c7598b0646da8160939356f0d2c6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore/legal-info: use hash file from version sub-dir
Yann E. MORIN [Sun, 16 Jul 2017 17:22:39 +0000 (19:22 +0200)]
core/legal-info: use hash file from version sub-dir

When we have multiple versions for a package, and the licensing terms
depend on the version actually selected (e.g. like Qt5), storing the
hashes for those license files in the .hash file is broken: the infra
will ensure that all hashes for a file do match, which would not be the
case here.

We fix that by first looking for a hash file in the version sub-dir
first, and if that does not exist, then we use the main hash file.

Drop the useless intermediate variable 'ret'.

Update the documentation accordingly.

Reported-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Joshua Henderson <joshua.henderson@microchip.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore/legal-info: properly check hashes of license files for host packages
Yann E. MORIN [Sun, 16 Jul 2017 17:22:38 +0000 (19:22 +0200)]
core/legal-info: properly check hashes of license files for host packages

When called for a host package, we currently miss the hash file, because
it is named after the target package.

Fix that by using the package raw-name.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibpng: bump to version 1.6.31
Adam Duskett [Sat, 29 Jul 2017 15:31:54 +0000 (11:31 -0400)]
libpng: bump to version 1.6.31

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
[Thomas: fix hash file comment, noticed by Baruch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutil-linux: bump to v2.30.1
Marcus Hoffmann [Sat, 29 Jul 2017 15:36:02 +0000 (17:36 +0200)]
util-linux: bump to v2.30.1

- Drop patch 0002-column-fix-compilation-when-libc-lacks-wide-characte.patch
as it has been applied upstream
- Patch 0001-Revert-build-sys-ncurses-headers-cleanup.patch is still
required to fix ncursesw support.

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Cc: "Carlos Santos" <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowebkitgtk: Add upstream patch needed for builds with ENABLE_VIDEO=OFF
Adrián Pérez de Castro [Sat, 29 Jul 2017 19:27:05 +0000 (22:27 +0300)]
webkitgtk: Add upstream patch needed for builds with ENABLE_VIDEO=OFF

This includes a slightly modified version of the patch for bug
https://bugs.webkit.org/show_bug.cgi?id=174940

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobusybox: bump version to 1.27.1
Adam Duskett [Fri, 28 Jul 2017 16:18:08 +0000 (12:18 -0400)]
busybox: bump version to 1.27.1

In addition, update busybox-minimal.config and busybox.config by loading the
config files and saving them back.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojanus-gateway: bump version to v0.2.4
Adam Duskett [Fri, 28 Jul 2017 15:57:50 +0000 (11:57 -0400)]
janus-gateway: bump version to v0.2.4

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibssh2: fix build with libgcrypt and mbedtls enabled
Baruch Siach [Fri, 28 Jul 2017 04:28:13 +0000 (07:28 +0300)]
libssh2: fix build with libgcrypt and mbedtls enabled

The --without-libgcrypt configure parameter is not enough to disable the
libgcrypt back-end. This breaks the build when mbedtls (default backend) is
enabled, and libgcrypt builds before libssh2. Seed ac_cv_libgcrypt to really
disable libgcrypt when it is not the selected crypto back-end.

Fixes:
http://autobuild.buildroot.net/results/b4e/b4e39890e003e9e590a5bf17c9300c653020d88c/
http://autobuild.buildroot.net/results/45a/45a9b3559ceea4e1399794f9612f717f7c57a4a3/
http://autobuild.buildroot.net/results/ae4/ae4afec62ca297df1cd02350601f1d62fc3cd1b7/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/config-fragments/autobuild: fix ARM internal fragment
Thomas Petazzoni [Sat, 29 Jul 2017 13:41:57 +0000 (15:41 +0200)]
support/config-fragments/autobuild: fix ARM internal fragment

The toolchain configuration used by the autobuilders to test the
internal toolchain backend on ARM contains an option that no longer
exists: BR2_UCLIBC_VERSION_NG. This option has been removed since
uClibc-ng has been made the one and only uClibc version supported.

Due to this option no longer existing, this toolchain configuration
was in fact never used, because the randgenconfig script validates
that a toolchain configuration is valid by checking that all lines are
still present in the final .config.

Therefore, this commit removes the bogus option, which will make sure
this toolchain config gets used again by our autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutils/readme.txt: add documentation of genrandconfig
Arnout Vandecappelle [Tue, 25 Jul 2017 21:36:13 +0000 (23:36 +0200)]
utils/readme.txt: add documentation of genrandconfig

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutils/test-pkg: add option to use an alternate toolchains CSV file
Arnout Vandecappelle [Tue, 25 Jul 2017 21:36:12 +0000 (23:36 +0200)]
utils/test-pkg: add option to use an alternate toolchains CSV file

When testing a package with test-pkg, it may be useful to override the
set of toolchains used. For example:
- to test with toolchains used in your company;
- to test against a subset that is known to be problematic;
- to use only toolchains you already have available locally when you
  have no network access.

Add an option to use an alternate CSV file containing the config
fragments of toolchains to try.

Cc: "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/python-service-identity: the attrs distribution is required
Charles Hardin [Wed, 26 Jul 2017 18:59:56 +0000 (11:59 -0700)]
package/python-service-identity: the attrs distribution is required

Apparently the service identify code requires the python attrs
to be availabe:

Traceback (most recent call last):
  File "/opt/exablox/bin/configsrv", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3138, in <module>
    @_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3124, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 661, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 962, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'attrs' distribution was not found and is required by service-identity

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoswupdate: bump to version 2017.07
Jörg Krause [Thu, 27 Jul 2017 10:37:06 +0000 (12:37 +0200)]
swupdate: bump to version 2017.07

* Remove patch applied upstream
* Update the default config file

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 12}.x series
Fabio Estevam [Fri, 28 Jul 2017 17:46:29 +0000 (14:46 -0300)]
linux-headers: bump 4.{4, 9, 12}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.12.4
Fabio Estevam [Fri, 28 Jul 2017 17:46:28 +0000 (14:46 -0300)]
linux: bump default to version 4.12.4

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xen: Include linux/limits.h when building QEMU inside of Xen
Alistair Francis [Fri, 28 Jul 2017 18:45:17 +0000 (11:45 -0700)]
package/xen: Include linux/limits.h when building QEMU inside of Xen

If building Xen and not using glibc (using musl for example) the QEMU
project inside of Xen fails to build as it relys on the XATTR_SIZE_MAX
macro which is defined in <linux/limits.h>.

Glibc includes this header indirectly but as that is not part of the
POSIX standard other libraries don't neccessearily have this. To fix the
issue we explicitly include <linux/limits.h> to ensure the build works
for all libc libraries.

Fixes:
  http://autobuild.buildroot.net/results/bb1/bb1310eb1464d880a357ae5e491fd168361d25a0

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowebkitgtk: Allow building with BR2_PACKAGE_WEBKITGTK_MULTIMEDIA disabled
Adrián Pérez de Castro [Sat, 29 Jul 2017 13:18:44 +0000 (16:18 +0300)]
webkitgtk: Allow building with BR2_PACKAGE_WEBKITGTK_MULTIMEDIA disabled

Explicitly pass "-DENABLE_MEDIA_STREAM=OFF" to CMake, to workaround a
missing feature dependency in the WebKitGTK+ build files.

Related upstream bug: https://bugs.webkit.org/show_bug.cgi?id=174940

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowebkitgtk: Add patches which allow building for ARMv8-A
Adrián Pérez de Castro [Sat, 29 Jul 2017 13:16:39 +0000 (16:16 +0300)]
webkitgtk: Add patches which allow building for ARMv8-A

The two added patches allow building WebKitGTK+ when the compiler
scpecifically targets ARMv8-A, and reports as such be pre-defining
__ARCH_ARM_8A__ instead of just __ARCH_ARM_8__. Both patches were
pulled from the corresponding upstream bug reports and edited to
remove the conflicting parts which edit the ChangeLog files.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-libconfig: fix Python3 build
Yegor Yefremov [Thu, 27 Jul 2017 08:45:15 +0000 (10:45 +0200)]
python-libconfig: fix Python3 build

boost_python library is named boost_python3, if boost is built
under Python3 environment. The patch fixes setup.py accordingly.

Fixes:
http://autobuild.buildroot.net/results/975/97533965180436c2f7a99de07fdc360ef57f84b0
http://autobuild.buildroot.net/results/b49/b49de32704f0f7ce5a610cf4363c6dcc2d8bafa1
http://autobuild.buildroot.net/results/e26/e26b4b9b486c582fb55826817a3428569968320f

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoninja: bump to version 1.7.2
Jörg Krause [Thu, 27 Jul 2017 10:01:21 +0000 (12:01 +0200)]
ninja: bump to version 1.7.2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libgpiod: install to staging
Andrey Smirnov [Sat, 29 Jul 2017 02:44:43 +0000 (19:44 -0700)]
package/libgpiod: install to staging

Install to staging to make API headers discoverable by other packages.

Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: update to 1.0.26
Waldemar Brodkorb [Sat, 29 Jul 2017 02:56:20 +0000 (04:56 +0200)]
uclibc: update to 1.0.26

Both patches applied upstream.
The release contains mostly bugfixes and a basic sparc64
port. As the sparc64 port only contains support for static
binaries, it will be not enabled in buildroot yet.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt-webkit-kiosk: put Config.in dependency comments in our typical format
Arnout Vandecappelle (Essensium/Mind) [Fri, 28 Jul 2017 23:13:01 +0000 (01:13 +0200)]
qt-webkit-kiosk: put Config.in dependency comments in our typical format

Forgotten to push in the previous commit

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoqt-webkit-kiosk: fix icu/qt5webkit dependecy propagation
Peter Seiderer [Thu, 27 Jul 2017 19:24:31 +0000 (21:24 +0200)]
qt-webkit-kiosk: fix icu/qt5webkit dependecy propagation

ICU depends on BR2_HOST_GCC_AT_LEAST_4_8 and
BR2_TOOLCHAIN_GCC_AT_LEAST_4_8, these dependencies are propagated to
qt5webkit but were not propagated to qt-webkit-kiosk.

Fixes [1]:

  The WebKit build was disabled for the following reasons:
      * ICU is required.
  [...]
  cp -dpf .../host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libQt5WebKit*.so.* .../target/usr/lib
  cp: cannot stat `.../host/i686-buildroot-linux-uclibc/sysroot/usr/lib/libQt5WebKit*.so.*': No such file or directory

[1] http://autobuild.buildroot.net/results/2f3/2f381967c82775ad911a246a9607034ef489c1ce

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Arnout:
 - rewrap commit message
 - fix spelling mistakes in commit message
 - reformulate the dependency comments]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/libv4l: no libv4lconvert helper support if no fork()
Hugues Fruchet [Fri, 28 Jul 2017 11:01:47 +0000 (13:01 +0200)]
package/libv4l: no libv4lconvert helper support if no fork()

Build libv4lconvert helper support only when fork()
is available.

Fixes [1]:
    CXXLD    v4l2-compliance
   .../build/libv4l-1.12.5/lib/libv4lconvert/.libs/libv4lconvert.so: undefined reference to `fork'
  collect2: error: ld returned 1 exit status

[1] http://autobuild.buildroot.net/results/7e8/7e8fbd99a8c091d7bbeedd16066297682bbe29fe

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Tested-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/pkg-kconfig.mk: fix typo in comment
Marcus Hoffmann [Thu, 27 Jul 2017 23:02:27 +0000 (01:02 +0200)]
package/pkg-kconfig.mk: fix typo in comment

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agofs/ext2: fix typo
Marcus Hoffmann [Thu, 27 Jul 2017 23:02:26 +0000 (01:02 +0200)]
fs/ext2: fix typo

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agodbus: bump version to 1.10.22
Adam Duskett [Fri, 28 Jul 2017 12:50:26 +0000 (08:50 -0400)]
dbus: bump version to 1.10.22

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolibgsm: bump version to 1.0.17
Adam Duskett [Fri, 28 Jul 2017 12:25:28 +0000 (08:25 -0400)]
libgsm: bump version to 1.0.17

Other changes:
- Refresh 0001-misc.patch to work with 1.0.17.
- Reformat 0001-misc.patch to git style patch.
- Rename 0001-misc.patch to 0001-misc-fixes-from-archlinux.patch.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/qt5location: isolate patch to qt5location 5.9.1
Joshua Henderson [Fri, 28 Jul 2017 21:53:19 +0000 (14:53 -0700)]
package/qt5location: isolate patch to qt5location 5.9.1

The patch only applies to the 5.9.1 version, not 5.6.*.  This moves the
patch into the appropriate directory.

Fixes:
http://autobuild.buildroot.net/results/676abe008c9c4bddfddd7b041d8db9999e9e899d

Cc: Julien Corjon <corjon.j@ecagroup.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
[Arnout: slightly edit commit message]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agohost-mariadb: compile against bundled yassl
Adam Duskett [Fri, 28 Jul 2017 10:44:40 +0000 (06:44 -0400)]
host-mariadb: compile against bundled yassl

On Fedora26, openssl 1.1.x is included by default.  This causes build
errors when building the host variant of mariadb.

Adding -DWITH_SSL=bundled fixes this issue.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoUpdate for 2017.05.2
Peter Korsgaard [Thu, 27 Jul 2017 06:16:52 +0000 (08:16 +0200)]
Update for 2017.05.2

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 84eee43369a1afae6905f4a8f2c2b0afc23098f0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/website: update for 2017.05.2
Peter Korsgaard [Thu, 27 Jul 2017 06:40:40 +0000 (08:40 +0200)]
docs/website: update for 2017.05.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoUpdate for 2017.02.5
Peter Korsgaard [Wed, 26 Jul 2017 21:33:09 +0000 (23:33 +0200)]
Update for 2017.02.5

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit a2818c7cfa3b7efef41ed85215db60e23cc0876a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/website: update for 2017.02.5
Peter Korsgaard [Thu, 27 Jul 2017 06:36:49 +0000 (08:36 +0200)]
docs/website: update for 2017.02.5

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotcpdump: security bump to 4.9.1
Thomas De Schampheleire [Wed, 26 Jul 2017 09:41:04 +0000 (11:41 +0200)]
tcpdump: security bump to 4.9.1

Fixes CVE-2017-11108/Fix bounds checking for STP

Changelog: http://www.tcpdump.org/tcpdump-changes.txt

[Peter: add signature link as suggested by Baruch]
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowebkitgtk: security bump to version 2.16.6
Peter Korsgaard [Wed, 26 Jul 2017 08:50:40 +0000 (10:50 +0200)]
webkitgtk: security bump to version 2.16.6

Fixes the following security issues:

CVE-2017-7018 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7030 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7034 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7037 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7039 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7046 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7048 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7055 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7056 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7061 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
tvOS before 10.2.2 is affected.  The issue involves the "WebKit" component.
It allows remote attackers to execute arbitrary code or cause a denial of
service (memory corruption and application crash) via a crafted web site.

CVE-2017-7064 - An issue was discovered in certain Apple products.  iOS
before 10.3.3 is affected.  Safari before 10.1.2 is affected.  iCloud before
6.2.2 on Windows is affected.  iTunes before 12.6.2 on Windows is affected.
The issue involves the "WebKit" component.  It allows attackers to bypass
intended memory-read restrictions via a crafted app.

For more details, see the announcement:
https://webkitgtk.org/2017/07/24/webkitgtk2.16.6-released.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: "Adrian Perez de Castro" <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/skeleton: remove legacy mkdir
Yann E. MORIN [Tue, 3 Jan 2017 21:01:03 +0000 (22:01 +0100)]
package/skeleton: remove legacy mkdir

We've had this mkdir, in various forms, for aeons. It dates back to
the inception of Buildroot, at the dawn of ages, when the toolchain
support was still nascent. Evolution had it morph from /include, to
a tuple-prefixed directory and a symlink there-to, then back to the
/include directory, to the final /usr/include directory we've had
for the last 9 years.

Anything that wants to install headers is supposed to be creating
that directory beforehand; we don't need this legacy mkdir now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agofs/ext2: hint about setting the filesystem size on error
Yann E. MORIN [Tue, 25 Jul 2017 22:05:28 +0000 (00:05 +0200)]
fs/ext2: hint about setting the filesystem size on error

Since we now request that the user sets the exact size of the ext2/3/4
filesystem, we've had quite a few users wondering what was going on when
they enable too much and the default 60M are no longer enough.

When mkfs.ext2 fails, print a hint that the user should check the size
setting.

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>
[Arnout: Add *** and redirect to stderr]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agocppcms: fix build with ICU enabled, but CPPCMS_ICU disabled
Thomas Petazzoni [Tue, 25 Jul 2017 18:41:22 +0000 (20:41 +0200)]
cppcms: fix build with ICU enabled, but CPPCMS_ICU disabled

When the ICU package is enabled (BR2_PACKAGE_ICU=y) but ICU support in
cppcms is disabled (BR2_PACKAGE_CPPCMS_ICU is disabled), cppcms still
detects ICU, but it fails to build since we don't get the proper ICU
CXXFLAGS.

In addition, this is not the intended behavior: when
BR2_PACKAGE_CPPCMS_ICU is disabled, we expect cppcms to be built
without ICU support.

To achieve this, we pass -DDISABLE_ICU_LOCALE=ON when
BR2_PACKAGE_CPPCMS_ICU is disabled (yes DISABLE_ICU_LOCALE means the
logic is inverted).

While at it, we pass DISABLE_ICU_LOCALE=OFF when ICU support is
enabled, and not DISABLE_ICONV=ON. The latter has been passed in this
condition since the cppcms package was introduced in Buildroot, but it
doesn't seem to make sense.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agobusybox: fix build on SPARC and SPARC64
Thomas Petazzoni [Fri, 14 Jul 2017 21:12:04 +0000 (23:12 +0200)]
busybox: fix build on SPARC and SPARC64

Since we introduced the support for building Busybox as individual
binaries, Busybox started failing to build on SPARC/SPARC64 with this
feature enabled:

appletlib.c:(.text.find_applet_by_name+0x14): relocation truncated to fit: R_SPARC_GOT13 against symbol `applet_nameofs' defined in .rodata.applet_nameofs section in libbb/lib.a(appletlib.o)
appletlib.c:(.text.find_applet_by_name+0x18): relocation truncated to fit: R_SPARC_GOT13 against symbol `applet_names' defined in .rodata.applet_names section in libbb/lib.a(appletlib.o)
[...]

This commit adds two patches to Busybox to fix this issue, by adding
-fPIC to CFLAGS when building on SPARC/SPARC64. The patches have been
submitted upstream.

Fixes:

  http://autobuild.buildroot.net/results/90144369ccea8c41ec7643a79a7ebfaa9b7db95c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotest-pkg: use merge_config.sh to merge the fragments
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:30 +0000 (03:05 +0200)]
test-pkg: use merge_config.sh to merge the fragments

It is supposedly more robust than just concatenating.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoMakefile: add alldefconfig target
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:29 +0000 (03:05 +0200)]
Makefile: add alldefconfig target

It is used by Kconfig's merge_config.sh.

No alldefpackageconfig is added, since it's rather pointless: it would
only enable busybox.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoMakefile: refactor *config targets
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:28 +0000 (03:05 +0200)]
Makefile: refactor *config targets

The rules for the *config targets are all very similar, so factor them
together using $@.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-configs.csv: remove unused libc column
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:27 +0000 (03:05 +0200)]
toolchain-configs.csv: remove unused libc column

This column is not used by either genrandconfig or test-pkg, so remove
it.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: get configs from in-tree toolchain-configs.csv
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:26 +0000 (03:05 +0200)]
genrandconfig: get configs from in-tree toolchain-configs.csv

Now we have the toolchain config fragments in the buildroot directory
itself, it is no longer necessary to fetch it from the toolchain URL.

The --toolchains-url option is renamed to --toolchains-csv.

The paths in the toolchains_csv file should be either absolute, or
relative to buildrootdir.

After this change, the script should be called from autobuild-run as:

    subprocess.call([os.path.join(srcdir, "utils/genrandconfig"),
                     "-o", outputdir, "-b", srcdir,
                     "--toolchains-csv", kwargs['toolchains_csv']],
                    stdout=devnull, stderr=log)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotest-pkg: get configs from in-tree toolchain-configs.csv
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:24 +0000 (03:05 +0200)]
test-pkg: get configs from in-tree toolchain-configs.csv

Now we have the toolchain config fragments in the buildroot directory
itself, it is no longer necessary to fetch it from the toolchain URL.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport: add autobuild toolchain config fragments
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:23 +0000 (03:05 +0200)]
support: add autobuild toolchain config fragments

We currently have a list of toolchain configurations that are used by
the autobuilders at [1]. However, this makes it a little more difficult
for people to use these configurations, and also to have a different
list of configurations for different branches. For example if a new
architecture is introduced, the 2017.02.x branch doesn't have support
for this architecture yet so it shouldn't try to run those configs.

Therefore, include the autobuild config fragments directly in Buildroot,
so they can be branched together with the rest. We create a new
directory under support/ to store them.

Generated with
wget -nd --no-parent --recursive http://autobuild.buildroot.net/toolchains/configs/

The index.html file is removed.

The toolchain-configs.csv file is adapted so the URLs become relative
paths pointing to the config fragments.

[1] http://autobuild.buildroot.net/toolchains/configs/toolchain-configs.csv

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: use minimal.config
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:22 +0000 (03:05 +0200)]
genrandconfig: use minimal.config

This has a number of side-effects which must be handled.

The lines in minimal.config may be overridden by the random lines added
by amending the configuration, so is_toolchain_usable() shouldn't take
those into account, or indeed the random lines added. Therefore, make
a copy of the config before appending minimal.config and the random
lines. While we're at it, rename the variable to the more appropriate
toolchainconfig.

minimal.config sets BR2_INIT_NONE=y, but we really also want to test
with BR2_INIT_BUSYBOX=y. Therefore, add a random line to use the
busybox init system. We set its probability rather high. The
probabilities of systemd and eudev are increased since they're now
in the else branch of BR2_INIT_BUSYBOX, which halves the probability
that we even get there.

We now also generate configurations without busybox. Previously,
busybox was almost always selected due to BR2_INIT_BUSYBOX=y. Only if
systemd is selected there was a chance to build without busybox.

We now set BR2_SYSTEM_BIN_SH_NONE=y, the other /bin/sh options are
never tested. However, this is not really something that is relevant
to test in the autobuilders.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: fix the case when outputdir is 'output'
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:18 +0000 (03:05 +0200)]
genrandconfig: fix the case when outputdir is 'output'

When outputdir is 'output' (the default), genrandconfig didn't work
correctly because it expects the configfile in outputdir, while
Buildroot puts it in the buildroot directory.

Fix this by explicitly checking if outputdir == buildrootdir/output.
Because abspath is used for both paths, string comparison works
reliably.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: calculate configfile only once
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:17 +0000 (03:05 +0200)]
genrandconfig: calculate configfile only once

The path to the .config file is calculated in several places - replace
it with a single calculation, and pass configfile as an argument
to is_toolchain_usable and fixup_config. These functions also don't
need outputdir any more.

This makes it easier to fix the case when configfile is not in
outputdir.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: pass outputdir and buildrootdir as arguments
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:16 +0000 (03:05 +0200)]
genrandconfig: pass outputdir and buildrootdir as arguments

The --instance argument is just an artifact of genrandconfig's
history as part of autobuild-run. It is much more logical to pass
the output directory and the buildroot directory as arguments, with
sane defaults.

This also allows us to remove the hack of creating a symlink in the
instance directory if it doesn't exist yet.

Note that the default outputdir 'output' doesn't work yet, because in
that case Buildroot will put the config file in the buildroot directory
instead of the output directory. This will be fixed in a follow-up
patch.

After this change, the script should be called from autobuild-run as:

    subprocess.call([os.path.join(srcdir, "utils/genrandconfig"),
                     "-o", outputdir, "-b", srcdir,
                     "--toolchains-url", kwargs['toolchains_url']],
                    stdout=devnull, stderr=log)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: calculate buildrootdir in __main__
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:15 +0000 (03:05 +0200)]
genrandconfig: calculate buildrootdir in __main__

This prepares for passing buildrootdir as an argument.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: calculate outputdir in __main__
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:14 +0000 (03:05 +0200)]
genrandconfig: calculate outputdir in __main__

This prepares for passing outputdir as an argument.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: verbose output and use stderr
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:13 +0000 (03:05 +0200)]
genrandconfig: verbose output and use stderr

The output of genrandconfig is currently very terse, which is annoying
for debugging the script or generally seeing what is going on. Also the
timing information added by log_write isn't very useful when the script
is used stand-alone.

In the new setup, (verbose) output goes to stdout and error output goes
to stderr. Also the "INFO: generate the configuration" message is
eliminated - it should go in the autobuild-run script.

We also add an explicit message when a toolchain can't be used after
the first defconfig, otherwise autobuild-run will just silently
restart.

Note that, since the output of make is no longer redirected to
/dev/null, we get one more message on stderr that will be recorded in
the autobuilder's log file: KCONFIG_SEED=0xXXXXXXXX.

This approach allows us to optimise the error handling to use
exceptions, where appropriate, which can be caught at the top level and
converted to an error message to stderr. This, in turn, allows us to use
subprocess.check_call, which eliminates a lot of conditions.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: move instantiation of SystemInfo down
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:12 +0000 (03:05 +0200)]
genrandconfig: move instantiation of SystemInfo down

The SystemInfo class is instantiated globally and passed down to all
functions, but it is really only used in fixup_config. So instead,
instantiate it there.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: replace kwargs with explicit arguments
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:11 +0000 (03:05 +0200)]
genrandconfig: replace kwargs with explicit arguments

kwargs is a left-over from the use of docopt, it's better to use
argparse's Namespace object directly.

In addition, most functions use just one or two fields of args, so
these can just as well be passed directly as arguments to the function.
Particularly for outputdir it doesn't make sense to reconstruct it all
the time.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: fix (some) pep8 warnings
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:10 +0000 (03:05 +0200)]
genrandconfig: fix (some) pep8 warnings

Warnings fixed:
E731 do not assign a lambda expression, use a def
 -> urlopen_closing is defined with a def. urlopen is not used
    elsewhere so inlined.
E302 expected 2 blank lines
E501 line too long
 -> long lines due to a long string are NOT split
E701 multiple statements on one line (colon)
E722 do not use bare except'
 -> use "except Exception", so KeyInterrupt and SystemExit are still
    passed. We never intended to catch those.
E741 ambiguous variable name 'l'
 -> variable name is replaced with the much more descriptive
    toolchains_csv
E271 multiple spaces after keyword
E231 missing whitespace after ','

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogenrandconfig: use subprocess.check_output instead of Popen
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:09 +0000 (03:05 +0200)]
genrandconfig: use subprocess.check_output instead of Popen

Popen is more complicated and more difficult to understand.

check_output raises an exception if the exit code is non-zero, but
that's probably what we want if ldd can't be executed.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutils/genrandconfig: new script
Arnout Vandecappelle [Fri, 21 Jul 2017 01:05:08 +0000 (03:05 +0200)]
utils/genrandconfig: new script

This script will be used by the autobuild-run script to generate the
configuration to test. It is put in the utils directory because it can
also be called directly to allow users to test things.

For now, it is a direct copy of the relevant functions from the
autobuild-run script. The only changes are:
- unneeded import statements are removed;
- code/decode wrappers are limited to decode_byte_list;
- __main__ handling is added.

For now, the only supported arguments are the ones needed for
autobuild-run.  Follow-up patches will refactor things and also change
the way the script is called. In this version, it can be called from the
autobuild-run script as:

  subprocess.call([os.path.join(srcdir, "utils/genrandconfig"),
                   "-i", str(kwargs['instance']),
                   "--toolchains-url", kwargs['toolchains_url']],
                  stdout=log, stderr=log)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/leptonica: bump version to 1.74.4
Bernd Kuhls [Tue, 25 Jul 2017 20:23:33 +0000 (22:23 +0200)]
package/leptonica: bump version to 1.74.4

Removed patch 0001, not needed anymore after
https://github.com/DanBloomberg/leptonica/commit/4476d162cc191a0fefb2ce434153e12bbf188664
fixes the problem in a similar way.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopaxtest: install helper applications/libs to /usr/lib/paxtest
Matt Weber [Sun, 23 Jul 2017 01:53:03 +0000 (20:53 -0500)]
paxtest: install helper applications/libs to /usr/lib/paxtest

RUNDIR installs the test applications and shared libraries into a
different folder then /usr/lib. This is desired as there are a lot of
test apps which would get installed into /usr/lib without
organization. Instead, set RUNDIR=/usr/lib/paxtest to install the test
apps and libraries in a sub folder. The genpaxtest script accounts for
this path and handles a LD_LIBRARY_PATH update as part of the paxtest
script's exeuction.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Ricardo Martincoski for support/testing
Ricardo Martincoski [Sun, 23 Jul 2017 04:20:16 +0000 (01:20 -0300)]
DEVELOPERS: add Ricardo Martincoski for support/testing

While at it, also move my professional entry near my personal one.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/lcdapi: bump version to 0.11
Bernd Kuhls [Tue, 25 Jul 2017 20:16:43 +0000 (22:16 +0200)]
package/lcdapi: bump version to 0.11

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/lbreakout2: bump version to 2.6.5
Bernd Kuhls [Tue, 25 Jul 2017 20:15:05 +0000 (22:15 +0200)]
package/lbreakout2: bump version to 2.6.5

Changed _SITE to https, added upstream md5 & sha1 hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodieharder: fix link issue with inline function not declared static
Julien Viard de Galbert [Mon, 24 Jul 2017 12:59:34 +0000 (14:59 +0200)]
dieharder: fix link issue with inline function not declared static

Fixes:

  http://autobuild.buildroot.net/results/b629754c6a820446ff38df8202ea1ed0041bc4ac
  http://autobuild.buildroot.net/results/e02325e06866618d9d3ee90600dc3326465c56a1
  http://autobuild.buildroot.net/results/c1db73dcb25ea1db4be0f9d6ce2bf2d02f5bd5bb
  http://autobuild.buildroot.net/results/bd93120ee7cbfeb4fe7cbcd7f845f131743caf05
  http://autobuild.buildroot.net/results/273ba504de31bc17fd41e91ee5d6c0b34797a4f9
  http://autobuild.buildroot.net/results/37920b26f9c4853a0d620eb4a33b50b53e548888
  http://autobuild.buildroot.net/results/ee668405ed234fbbd644a01d49e8d9d41d216cf6
  http://autobuild.buildroot.net/results/5b76d62ad03d0cbe483792b32ea14ce7d7432983
  http://autobuild.buildroot.net/results/cf08d42be8fcb659d59288e2cedf3f18b660e8a6
  http://autobuild.buildroot.net/results/e1309fd2eea5daf854f4314b92ec441092239cd5

Signed-off-by: Julien Viard de Galbert <julien@vdg.name>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozstd: new package
Andrey Smirnov [Tue, 25 Jul 2017 16:56:03 +0000 (09:56 -0700)]
zstd: new package

Add package to provide Zstandard compression tools
(see https://facebook.github.io/zstd)

Minimal config snippet for utils/test-pkg is as follows:

BR2_PACKAGE_ZSTD=y

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
[Thomas:
 - use "config" instead of "menuconfig" in Config.in
 - add missing final newline in Config.in
 - pass DESTDIR=$(TARGET_DIR) only at install time
 - wrap too long lines in the .mk file
 - remove useless empty newline at end of .hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/joe: bump version to 4.4
Bernd Kuhls [Tue, 25 Jul 2017 20:02:05 +0000 (22:02 +0200)]
package/joe: bump version to 4.4

Removed patch 0001 after bessel functions in uClibc were enabled by
default:
https://git.buildroot.net/buildroot/commit/package/uclibc?id=de56d58e5d26d78161ca3b7a1a2a4decfe4e89db

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-upload-module: add openssl lib dependency
Matt Weber [Sun, 23 Jul 2017 14:30:57 +0000 (09:30 -0500)]
nginx-upload-module: add openssl lib dependency

When building against nginx 1.11.2+, requires additional
-lcrypto dependency. (Nginx changed crypto approach
and dependencies for openssl are no longer default)

Upstream pull request:
https://github.com/vkholodkov/nginx-upload-module/pull/93

Fixes:
http://autobuild.buildroot.net/results/e25f8ba8d8743e47a77707cf582e58477e1860e6
http://autobuild.buildroot.net/results/c4aa6e22033be934bd311cd9761f646d44618dc0
http://autobuild.buildroot.net/results/75e935d248b46df11c32c95526423a2287ac8c62

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/keyutils: bump version to 1.5.10
Bernd Kuhls [Mon, 24 Jul 2017 18:48:14 +0000 (20:48 +0200)]
package/keyutils: bump version to 1.5.10

Upstream does not provide hashes anymore, replace with self-computed
sha256 hash.

Removed patches applied upstream, renumbered remaining patches:

0001-allow-building-of-the-shared-library-to-be-suppressed.patch
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=a4deb71ddc05e951c8be8d46615beed9d408a5c8

0004-Makefile-for-buildroot.patch
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=d83b9b827c6c4bc2377dfa073cf5c837b87465e8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/kexec: bump version to 2.0.15
Bernd Kuhls [Mon, 24 Jul 2017 18:40:16 +0000 (20:40 +0200)]
package/kexec: bump version to 2.0.15

Removed patch applied upstream:

0001-vmcore-dmesg-Define-_GNU_SOURCE.patch
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=2f6f6d6fef7872647cacc6741ac35ac2b4df7ed5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/kbd: bump version to 2.0.4
Bernd Kuhls [Mon, 24 Jul 2017 18:36:21 +0000 (20:36 +0200)]
package/kbd: bump version to 2.0.4

Removed patches applied upstream

0001-add-configure-flag-to-disable-tests.patch
https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git/commit/?id=baeb5aa827d956bd06492775dc5bd9f89d394149

0002-Link-against-libintl-when-needed.patch
https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git/commit/?id=b08caa2e3db53ea4263d0236c83a0df11a40a569

Autoreconf is not necessary anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5location: fix plugins build dependency
Peter Seiderer [Mon, 24 Jul 2017 18:35:13 +0000 (20:35 +0200)]
qt5location: fix plugins build dependency

Do not build the plugins before the dependency on module positioning for
the plugin subdir position is available (add Add upstream patch
0001-Fix-plugins-build-dependency.patch [1]).

Fixes [2]:

  cp -dpfr .../output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/qt/plugins/position .../output/target/usr/lib/qt/plugins/
  cp: cannot stat '.../output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/qt/plugins/position': No such file or directory

[1] https://code.qt.io/cgit/qt/qtlocation.git/patch/?id=3ac051c4549575634cecc706175b019f4ed4c3bf
[2] http://autobuild.buildroot.net/results/bc1/bc13abf3bb2fe1c991aec2334ee658c9641d1fd5

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/jsoncpp: bump version to 1.8.1
Bernd Kuhls [Mon, 24 Jul 2017 18:30:47 +0000 (20:30 +0200)]
package/jsoncpp: bump version to 1.8.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/jo: bump version to 1.1
Bernd Kuhls [Mon, 24 Jul 2017 17:19:57 +0000 (19:19 +0200)]
package/jo: bump version to 1.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/boost: bump version to 1.64.0
Bernd Kuhls [Mon, 24 Jul 2017 17:09:00 +0000 (19:09 +0200)]
package/boost: bump version to 1.64.0

Removed patches applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/kismet: bump version to 2016-07-R1
Bernd Kuhls [Mon, 24 Jul 2017 20:06:55 +0000 (22:06 +0200)]
package/kismet: bump version to 2016-07-R1

Changed _SITE from git clone to tarball provided by upstream.
Rebased patches 0003 & 0004.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoorc: update project url
Peter Seiderer [Mon, 24 Jul 2017 20:14:42 +0000 (22:14 +0200)]
orc: update project url

The original url http://code.entropywave.com/orc is dead (server not found).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoorc: bump version to 0.4.27
Peter Seiderer [Mon, 24 Jul 2017 20:14:41 +0000 (22:14 +0200)]
orc: bump version to 0.4.27

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomariadb: bump version to 10.1.25
Ryan Coe [Tue, 25 Jul 2017 14:02:56 +0000 (07:02 -0700)]
mariadb: bump version to 10.1.25

release notes: https://mariadb.com/kb/en/mariadb-10125-release-notes/
changelog: https://mariadb.com/kb/en/mariadb-10125-changelog/

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/warp7: Bump U-Boot and kernel versions
Fabio Estevam [Tue, 25 Jul 2017 16:47:49 +0000 (13:47 -0300)]
configs/warp7: Bump U-Boot and kernel versions

Bump U-Boot to 2017.07 and kernel to version 4.12.3.

As imx_v6_v7_defconfig in 4.12 selects CONFIG_CFG80211_WEXT=y,
remove the linux.fragment file.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst-omx: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:34 +0000 (21:46 +0200)]
gst-omx: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-rtsp-server: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:33 +0000 (21:46 +0200)]
gst1-rtsp-server: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-vaapi: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:32 +0000 (21:46 +0200)]
gst1-vaapi: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-libav: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:31 +0000 (21:46 +0200)]
gst1-libav: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-validate: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:30 +0000 (21:46 +0200)]
gst1-validate: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-ugly: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:29 +0000 (21:46 +0200)]
gst1-plugins-ugly: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:28 +0000 (21:46 +0200)]
gst1-plugins-bad: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-good: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:27 +0000 (21:46 +0200)]
gst1-plugins-good: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-base: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:26 +0000 (21:46 +0200)]
gst1-plugins-base: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1: bump version to 1.12.2
Peter Seiderer [Mon, 24 Jul 2017 19:46:25 +0000 (21:46 +0200)]
gstreamer1: bump version to 1.12.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>