buildroot.git
6 years agosystemd: enable on the ARC architecture
Alexey Brodkin [Wed, 5 Sep 2018 08:35:26 +0000 (11:35 +0300)]
systemd: enable on the ARC architecture

ARC port was merged in v234, see
https://github.com/systemd/systemd/commit/27b09f1f1ed29edb9c52ad8414c2344974a07a23

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibidn2: bump to version 2.0.5
Fabrice Fontaine [Wed, 5 Sep 2018 16:59:22 +0000 (18:59 +0200)]
libidn2: bump to version 2.0.5

Fix a small typo in the first comment line of libidn2.hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojpeg-turbo: fix install with a static only lib
Fabrice Fontaine [Sun, 26 Aug 2018 17:23:13 +0000 (19:23 +0200)]
jpeg-turbo: fix install with a static only lib

Define CMAKE_INSTALL_RPATH only if ENABLE_SHARED is set otherwise the
following error is raised when installing binaries:

CMake Error at cmake_install.cmake:73 (file):
  file RPATH_CHANGE could not write new RPATH:

    /usr/lib

  to the file:

    /home/fabrice/buildroot/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/rdjpgcom

  No valid ELF RPATH or RUNPATH entry exists in the file;

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojpeg-turbo: fix static build
Fabrice Fontaine [Sun, 26 Aug 2018 17:23:12 +0000 (19:23 +0200)]
jpeg-turbo: fix static build

Set ENABLE_STATIC and ENABLE_SHARED depending on
BR2_PACKAGE_STATIC_LIBS, BR2_SHARED_SHARED_STATIC_LIBS and
BR2_SHARED_SHARED_LIBS

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolog4cplus: bump to version 2.0.2
Fabrice Fontaine [Sat, 1 Sep 2018 20:22:37 +0000 (22:22 +0200)]
log4cplus: bump to version 2.0.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsoup: add patch to fix build on hosts without Python 3.x
Thomas Petazzoni [Sat, 1 Sep 2018 13:49:46 +0000 (15:49 +0200)]
libsoup: add patch to fix build on hosts without Python 3.x

For no reason, the tld-parser.py script was changed from using
"python" to using "python3" in upstream commit
4b924e573da307436169d5ef7e04c0ab85b36ef9. This patch reverts this
change to fix the build of libsoup on systems that don't have Python
3.x installed. It avoids the need to add host-python3 as a dependency.

Furthermore, the tld-parser.py script has anyway been removed
upstream, and replaced by a dependency on a separate library providing
TLD information. Therefore, there is no risk of this particular script
becoming Python 3 only.

Fixes:

  http://autobuild.buildroot.net/results/91c2d6a1ca011787130db06695d6cd9e882f7258
  http://autobuild.buildroot.net/results/a318e595f02937534b3f8698ef4c04194a8b34af

Thanks to Asaf Kahlon <asafka7@gmail.com> for some initial
work/research on this build issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibtorrent: refactor openssl optional dependency
Asaf Kahlon [Thu, 30 Aug 2018 13:42:20 +0000 (16:42 +0300)]
libtorrent: refactor openssl optional dependency

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-falcon: add optional dependency on host-python-cython
Grzegorz Blach [Thu, 30 Aug 2018 10:18:47 +0000 (12:18 +0200)]
python-falcon: add optional dependency on host-python-cython

Falcon can be compiled into shared objects using Cython.
Compiled version works much faster than pure-python one.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoexpat: disable docbook
Fabrice Fontaine [Thu, 30 Aug 2018 16:46:16 +0000 (18:46 +0200)]
expat: disable docbook

Fixes:
 - http://autobuild.buildroot.net/results/3a351ddd9b42b090e4a69ac480b7a16397699f6c
 - http://autobuild.buildroot.net/results/41402af8bd102b35083e34c53c5f2e8a266dc63e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocoreutils: bump version to 8.30
Alexey Brodkin [Thu, 30 Aug 2018 15:38:18 +0000 (18:38 +0300)]
coreutils: bump version to 8.30

Among other things this is required to build aginst Glibc 2.28+,
see:
https://github.com/coreutils/gnulib/commit/4af4a4a71827c0bc5e0ec67af23edef4f15cee8e

Otherwise it fails on build like that:
----------------------->8------------------------
  CC       lib/fts.o
lib/freadptr.c: In function 'freadptr':
lib/freadptr.c:119:3: error: #error "Please port gnulib freadptr.c to your platform! Look at the definition of fflush, fread, getc, getc_unlocked on your system, then report this to bug-gnulib."
 #error "Please port gnulib freadptr.c to your platform! Look at the definition of fflush, fread, getc, getc_unlocked on your system, then report this to bug-gnulib."
  ^~~~~
----------------------->8------------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pyzmq: bump to version 17.1.2
Asaf Kahlon [Fri, 31 Aug 2018 04:35:43 +0000 (07:35 +0300)]
python-pyzmq: bump to version 17.1.2

Adjust the first patch to the new version, and remove the second
patch since it's not needed anymore.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agominicom: change upstream site, bump version
Giulio Benetti [Fri, 31 Aug 2018 13:38:19 +0000 (15:38 +0200)]
minicom: change upstream site, bump version

Minicom is now available on a git repository at:
https://salsa.debian.org/minicom-team/minicom.git
Main changes:
- RS485 support
- NLS support
- various fixes

So:
- change MINICOM_METHOD to git pointing to latest commit
- add MINICOM_AUTORECONF = YES
- add MINICOM_MKDIR_M4 to MINICOM_POST_PATCH_HOOKS because autoreconf
requires and existing m4 directory
- add host-gettext to DEPENDENCIES for AM_ICONV macro
- delete old patches since they became part of git repository as commits
- add new patch to check if RS485 is supported
- update tarball sha256 in hash file

Git shortlog of Minicom repository follows starting from version 2.7
since commit for 2.7-1 debian version is not present.
The only difference between version 2.7-1(debian) and 2.7 seems to be
a coding style change in src/config.c file that breaks every line into a
string like:
(
"aaa"
"bbb"
"ccc"
)
instead of:
(
"aaa\
 bbb\
 ccc"
)
**************************************************************************
git shortlog --no-merges 068f085908801ee3ab004c9ace889f6a59aa49af..
Adam Lackorzynski (87):
      Added tag v2.7 for changeset ca0e6c0e1c7d
      Set version to 2.7.90
      Rename configure.in to configure.ac
      Add delta timestamp mode
      Enable SIGALRM signal
      Implement HPA ESC sequence
      Debugging aid (disabled)
      man: add "U" key shortcut description
      Fix filename of non-global config settings.
      Update indonesian translation
      Update french translations
      Use dial_tty in statusline
      Update by french translation team
      Add more TODO/ideas
      musl-libc compile fix
      Change MAXNAMLEN to POSIX's NAME_MAX
      Convert ChangeLog to UTF8
      Add alternative window support
      Remove SMOOTH code blocks
      da.po: Update from translation team
      Add ARRAY_SIZE macro
      Add default for missing function keys
      TODO: move location of config files to ~/.config
      Add F11+F12 for use in macros
      nb.po: Update from translation team
      script: Proper shell exit status handling.
      Add bug description
      Improvement to socket handling code
      autogen.sh: Set to 1.15
      loadconv: Add missing fclose()
      Add DTR toggle via TIOCMBIC+TIOCMBIS
      remove conditional DTR toggle enable
      Add entry
      Discontinue Changelog
      Fix printf warning on 64bit
      Updated swedish translation by Sebastian Rasmussen
      Fix color setting vt_pinit
      Color settings: Simplify same term color message
      Add "bug fixes" entry
      Change mbslen to mbswidth
      Add check_io_input() function
      Fix return value when socket got closed
      Add serbian translation
      TODO: Transmit delay has no influence on macros
      TODO: Need to move .macros location too
      Use vt_send for macros too
      Improve status line redrawing
      Simplify pointer logic in output function
      Fix CVE-2017-7467, a remote exploitalbe out of bound access
      TODO: Add to make literal capture available
      TODO: Add note on not running as root
      Remove absolute paths to called programs
      Make upload/download window wider
      windiv: Add sys/types.h
      Add sys/wait.h include
      Add a missing 'free' for a calloc.
      Fix type of vt_tabs for proper left shift
      Free dialents on exit
      dial: Remove tagged variable and code
      Use ARRAY_SIZE macro
      Zero initialize malloc'ed buffer
      Fix behind-buffer access in input window
      Fix buf size calculation by using ARRAY_SIZE
      Fix value for one mbswidth test
      Fix writing over end of array
      Redraw status line on screen size changes
      Support a second value for the mbswidth check
      Fix build with SVR4_LOCKS
      Fix a -Wformat-truncation warning from gcc7
      Fix -Wformat-truncation warning by gcc7
      Annotate switch-case fall-throughs
      Fix parsing of MINICOM env-var
      Introduce -O option, and add timestamps
      timestamping: Only print if prev time exists
      Add simplified chinese translation
      man: Add current maintainer
      Initial support for TCP connections
      Abstract check_io functionality
      Change return type of check_io_input to bool
      Update spanish translation
      Flush output before delaying output
      ascii-xfr: Put flushing into a function
      ascii-xfr: Apply 'static'
      configure.ac: Add -Wno-format-truncation
      Common FALLTHRU style
      Increase used automake verstion to 1.16
      NEWS: Update with RS485

Giulio Benetti (4):
      Add RS485 parameters.
      Add RS485 menu entries to "Serial port Setup"
      Handle RS485 low-level
      sysdep1: avoid asserting rts when rs485 enabled

Martin A. Godisch (2):
      fixed text width in history buffer message box
      properly escaped dashes in manual page

Matthias Dieter Wallnöfer (1):
      Properly recognise multi-byte characters by introducing

Ondřej Lysoněk (6):
      Add a missing va_end() call
      Make sure strings copied by strncpy are null-terminated
      Fix file descriptor leaks
      Fix a directory handle leak
      Fix a read past end of buffer
      Fix a warning about an unused variable

Sebastian Rasmussen (3):
      src/man: Fix typos in documentation and comments Fixes #315391
      src: Use gettext in ascii-xfr to make it translatable Fixes
      src: Make various messages/strings translatable Fixes #315392

**************************************************************************

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agominicom: add COPYING sha256 to hash
Giulio Benetti [Fri, 31 Aug 2018 13:38:18 +0000 (15:38 +0200)]
minicom: add COPYING sha256 to hash

In minicom package hash file lacks sha256 entry for COPYING file even if
it is added to MINICOM_LICENSE_FILES.

Add COPYING sha256 entry to minicom.hash file.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoswig: add visible Config.in option for host variant
Matt Flax [Fri, 31 Aug 2018 00:37:57 +0000 (10:37 +1000)]
swig: add visible Config.in option for host variant

The patch adds the package/swig/Config.in.host file and adds this path
to the package/Config.in.host file.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscanpypi: place a warning into *.mk file if licence id couldn't be detected
Yegor Yefremov [Fri, 31 Aug 2018 15:07:46 +0000 (17:07 +0200)]
scanpypi: place a warning into *.mk file if licence id couldn't be detected

If a license file could be found, but license id couldn't be detected place
following warning into *.mk file:

FOO_LICENSE = FIXME: license id couldn't be detected

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoacpid: drop x86 architecture dependency
Peter Korsgaard [Mon, 27 Aug 2018 16:07:01 +0000 (18:07 +0200)]
acpid: drop x86 architecture dependency

Closes #11241

While ACPI is historically exclusively a x86 feature, ia64 and (some) arm64
server platforms also use it.  Furthermore, even if the firmware does not
provide an ACPI interface and/or the kernel is not built with ACPI support,
acpid can still be used to command an orderly shutdown of the system as it
also listens for KEY_POWER / KEY_SUSPEND events from the input subsystem
(and calls shutdown by default).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu: add an option to enable user mode networking (SLIRP)
Carlos Santos [Mon, 27 Aug 2018 20:15:01 +0000 (17:15 -0300)]
qemu: add an option to enable user mode networking (SLIRP)

User mode networking is a useful feature that does not depend on other
packages. Add an option to enable it but keep it disabled by default,
for backwards compatibility.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-mimeparse: remove SOURCE variable
Thomas Petazzoni [Wed, 29 Aug 2018 19:41:30 +0000 (21:41 +0200)]
python-mimeparse: remove SOURCE variable

The SOURCE variable has the default value, so it is not necessary, as
reported by check-package:

package/python-mimeparse/python-mimeparse.mk:8: remove default value of _SOURCE variable

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-falcon: new package
Grzegorz Blach [Tue, 28 Aug 2018 10:16:18 +0000 (12:16 +0200)]
python-falcon: new package

An unladen web framework for building APIs and app backends.

http://falconframework.org

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas: add missing _LICENSE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-mimeparse: new package
Grzegorz Blach [Tue, 28 Aug 2018 10:16:17 +0000 (12:16 +0200)]
python-mimeparse: new package

This module provides basic functions for parsing mime-type names
and matching them against a list of media-ranges.

https://github.com/dbtsai/python-mimeparse

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoexpat: bump to version 2.2.6
Fabrice Fontaine [Wed, 29 Aug 2018 17:11:54 +0000 (19:11 +0200)]
expat: bump to version 2.2.6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibyaml: fix libyaml-legal-info build failure
Giulio Benetti [Wed, 29 Aug 2018 18:36:35 +0000 (20:36 +0200)]
libyaml: fix libyaml-legal-info build failure

LICENSE file changed and hash hasn't been recalculated, this leads to
libyaml-legal-info build failure.

Kirill Simonov Copyright now covers 2006-2016.
Ingy döt Net Copyright has been added instead for 2017-2018.

Recalculate sha256 locally and substitute it in libyaml.hash file.

Fixes:
http://autobuild.buildroot.net/results/c10/c10baf6e9bae92d515264b677eeb1ce6c98c793d//
http://autobuild.buildroot.net/results/c66/c66ddb56fecf1570a8669bd9d8824cd2132f9776//
http://autobuild.buildroot.net/results/84e/84e9530aff0c981a009416f31470133fb2114421//

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibrtlsdr: bump to version 0.6.0
Fabrice Fontaine [Mon, 27 Aug 2018 21:55:03 +0000 (23:55 +0200)]
librtlsdr: bump to version 0.6.0

Remove second patch (already in version even if PR has not been closed):
see
https://github.com/steve-m/librtlsdr/commit/9047eef701f50d8bc4748233a31d65a0519ed86c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogit-crypt: disable for gcc affected by bug #64735
Baruch Siach [Tue, 28 Aug 2018 11:17:42 +0000 (14:17 +0300)]
git-crypt: disable for gcc affected by bug #64735

git-crypt needs exception_ptr. gcc older than 7 don't provide that on
all architectures due to gcc bug #64735.

Fixes:
http://autobuild.buildroot.net/results/2a7/2a76ce39bc639b4f17ff33f8447d9094215e68d8/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoflatcc: bump to version 0.5.2
Baruch Siach [Tue, 28 Aug 2018 12:14:21 +0000 (15:14 +0300)]
flatcc: bump to version 0.5.2

Drop upstream patch.

Add license file hash.

Cc: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoatop: fix minor()/major() build failure due to glibc 2.28
Giulio Benetti [Tue, 28 Aug 2018 13:31:31 +0000 (15:31 +0200)]
atop: fix minor()/major() build failure due to glibc 2.28

glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major()/minor() are used. See glibc upstream commit:

  https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e16deca62e16f645213dffd4ecd1153c37765f17

This commit adds a patch to directly include <sys/sysmacros.h> into
photosyst.c where minor() and major() macros are used.

Patch has been taken from atop upstream pull request:

  https://github.com/Atoptool/atop/pull/35

Fixes:

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

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: improve commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsoup: security bump to version 2.62.3
Baruch Siach [Tue, 28 Aug 2018 09:27:26 +0000 (12:27 +0300)]
libsoup: security bump to version 2.62.3

Fixes CVE-2018-12910: The get_cookies function in soup-cookie-jar.c in
libsoup 2.63.2 allows attackers to have unspecified impact via an empty
hostname.

Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-lxml: bump to version 4.2.4
Yegor Yefremov [Tue, 28 Aug 2018 10:14:13 +0000 (12:14 +0200)]
python-lxml: bump to version 4.2.4

Fix zlib dependency.

Fixes:
http://autobuild.buildroot.net/results/d8e/d8e3a9aae0e84fb1b3b8093986ec3a4ce7ca0663

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pyyaml: bump to version 3.13
Yegor Yefremov [Tue, 28 Aug 2018 09:36:31 +0000 (11:36 +0200)]
python-pyyaml: bump to version 3.13

Fixes:
http://autobuild.buildroot.net/results/e71/e715a7dc8b6856b4aba0b9b4568d61420c52a5c8

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibyaml: bump to version 0.2.1
Yegor Yefremov [Tue, 28 Aug 2018 09:36:30 +0000 (11:36 +0200)]
libyaml: bump to version 0.2.1

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/spi-tools: bump version to 0.8.3
Matt Weber [Tue, 28 Aug 2018 20:06:02 +0000 (15:06 -0500)]
package/spi-tools: bump version to 0.8.3

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/botan: fix altivec support
Bernd Kuhls [Sun, 26 Aug 2018 11:29:59 +0000 (13:29 +0200)]
package/botan: fix altivec support

configure.py only supports --disable-altivec.

Fixes
http://autobuild.buildroot.net/results/318/3187afa3eea77e5de0e0fe14717bfc080da08117/

Added license hash URL.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofs/btrfs: remove destination file before generation
Yann E. MORIN [Sat, 25 Aug 2018 17:47:14 +0000 (19:47 +0200)]
fs/btrfs: remove destination file before generation

btrfs will happily use an existing destination file if it
already exists, increasing its size if needed. Hoever, it
will never decrease the size, even if the requested size
is smaller than the existing file.

So, remove any previously existing destination file before
generating the new filesystem.

Note: the original submission by Robert did that, but as
this case was not obvious, the removal was dropped by a
refactoring when the patch was initially applied.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Robert J. Heywood <robert.heywood@codethink.co.uk>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: use $@ instead of $(@), use $(RM) instead of rm.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoccache: bump to version 3.4.2
Asaf Kahlon [Sat, 25 Aug 2018 15:47:37 +0000 (18:47 +0300)]
ccache: bump to version 3.4.2

Update license info, and remove the patch since it's already on upstream.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofs/btrfs: add support for generating a btrfs image
Robert J. Heywood [Thu, 23 Aug 2018 22:01:56 +0000 (23:01 +0100)]
fs/btrfs: add support for generating a btrfs image

This patch makes it possible to format the rootfs using btrfs. It
introduces the option; BR2_TARGET_ROOTFS_BTRFS.

When selected, the user is able to specify the filesystem size, label,
options, and node and sector sizes. The new files are based on
fs/ext2/{Config.in,ext2.mk}

Signed-off-by: Robert J. Heywood <robert.heywood@codethink.co.uk>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas:
 - fix issues pointed by Yann (duplicated empty line, missing quotes
   around default values for string options)
 - use -f option so that we don't have to remove the image file before
   creating it again
 - use the --byte-count option to set the filesystem size, which
   avoids the need for doing a "truncate -s"
 - remove the possible explanation of a mkfs.btrfs error. Indeed,
   mkfs.btrfs automatically extends the size of the image as needed,
   so the size passed can never be "too small".
 - fix check-package warnings in Config.in file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoi2c-tools: install library and header to staging
Brad Love [Fri, 24 Aug 2018 13:54:07 +0000 (08:54 -0500)]
i2c-tools: install library and header to staging

When the dynamic/static library of i2c-tools is enabled it is installed
to the target destination. However, in order for external packages to
link against it, it must also be installed to staging.

Here, the flag is set to install the package to staging. The
INSTALL_STAGING command is included to complete the operation.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoi2c-tools: include LGPL-2.1+ license for libi2c
Brad Love [Fri, 24 Aug 2018 13:54:06 +0000 (08:54 -0500)]
i2c-tools: include LGPL-2.1+ license for libi2c

Extend i2c-tools SPDX identifiers to include the library license.
Also include COPYING.LGPL and README to license files.

The ic2-tools readme states:

LICENSE

Check the documentation of individual tools for licensing information.
The library is released under the LGPL version 2.1 or later, while most
tools are released under the GPL version 2 or later, but there are a few
exceptions.

Signed-off-by: Brad Love <brad@nextdimension.cc>
[Thomas: add hashes for COPYING.LGPL and README.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoiproute2: bump to version 4.18.0
Baruch Siach [Thu, 23 Aug 2018 12:59:18 +0000 (15:59 +0300)]
iproute2: bump to version 4.18.0

Drop upstream patch.

Cc: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobtrfs-progs: bump to version 4.17.1
Baruch Siach [Thu, 23 Aug 2018 12:38:17 +0000 (15:38 +0300)]
btrfs-progs: bump to version 4.17.1

The configure script now detects toolchain support for the -std=gnu90
flag. This fixes build with gcc older than 4.5.

Should fix:
http://autobuild.buildroot.net/results/802/802dd4d7eec058c2eb23e033ed3a093b110f4eda/

Cc: Robert J. Heywood <robert.heywood@codethink.co.uk>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Robert J. Heywood" <robert.heywood@codethink.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mosquitto: bump version to 1.5.1
Bernd Kuhls [Fri, 24 Aug 2018 15:50:32 +0000 (17:50 +0200)]
package/mosquitto: bump version to 1.5.1

Removed patch 0001, applied upstream.
Replaced patch 0002 with a more generic solution as patch 0001.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-good: add optional dependency on jack2
Brad Love [Thu, 23 Aug 2018 20:18:05 +0000 (15:18 -0500)]
gst1-plugins-good: add optional dependency on jack2

Jack2 audio server is part of buildroot, but the jack gst plugins are
disabled completely in gst1-plugins-good, whether or not jack2 is
selected. This changes the logic so that if the build system
determines that the jack2 audio server is selected, then the jack
plugins are enabled. If the plugins are enabled, then jack2 is also
added as a dependency to gst1-plugins-good.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibostree: bump to version 2018.8
Marcus Folkesson [Thu, 23 Aug 2018 18:51:58 +0000 (20:51 +0200)]
libostree: bump to version 2018.8

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/sam-ba: bump to version 2.18
Angelo Compagnucci [Fri, 24 Aug 2018 13:51:45 +0000 (15:51 +0200)]
package/sam-ba: bump to version 2.18

This patch bumps the sam-ba package to version 2.18 and
adds hashes for license files.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-libconfig: fix python-3.7 support
Bernd Kuhls [Fri, 24 Aug 2018 20:31:19 +0000 (22:31 +0200)]
python-libconfig: fix python-3.7 support

Fixes
http://autobuild.buildroot.net/results/32f/32f7e38895e7c491916bd69ed91bbe016e8b3ff6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: bump version to 4.8.5
Bernd Kuhls [Fri, 24 Aug 2018 16:27:44 +0000 (18:27 +0200)]
package/samba4: bump version to 4.8.5

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

Rebased patches 0001 & 0004.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: Fix uClibc build on 64bit platforms by including stdint.h
Bernd Kuhls [Sat, 18 Aug 2018 08:08:01 +0000 (10:08 +0200)]
package/samba4: Fix uClibc build on 64bit platforms by including stdint.h

Patch needed to be updated for samba-4.8.4

Fixes
http://autobuild.buildroot.net/results/140/1404a594583ff192d70086ef590f924472465c89/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: security bump to version 4.8.4
Bernd Kuhls [Wed, 15 Aug 2018 05:23:00 +0000 (07:23 +0200)]
package/samba4: security bump to version 4.8.4

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

Fixes

o  CVE-2018-1139  (Weak authentication protocol allowed.)
o  CVE-2018-1140  (Denial of Service Attack on DNS and LDAP server.)
o  CVE-2018-10858 (Insufficient input validation on client directory
                   listing in libsmbclient.)
o  CVE-2018-10918 (Denial of Service Attack on AD DC DRSUAPI server.)
o  CVE-2018-10919 (Confidential attribute disclosure from the AD LDAP
                   server.)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: drop old unsupported 4.{10,11,12,13,15} versions
Bernd Kuhls [Fri, 24 Aug 2018 18:41:33 +0000 (20:41 +0200)]
linux-headers: drop old unsupported 4.{10,11,12,13,15} versions

These versions received their last updated more than three months ago
and are no longer supported according to
https://www.kernel.org/category/releases.html, so drop them and add
legacy entries.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: select an older kernel headers (4.9) rather than a newer one
(4.14) in the legacy handling of 4.10, 4.11, 4.12 and 4.13.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: bump default to version 4.18.5
Bernd Kuhls [Fri, 24 Aug 2018 18:41:32 +0000 (20:41 +0200)]
linux: bump default to version 4.18.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.18.x series
Bernd Kuhls [Fri, 24 Aug 2018 18:41:31 +0000 (20:41 +0200)]
linux-headers: bump 4.18.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 17}.x series
Fabio Estevam [Wed, 22 Aug 2018 16:38:39 +0000 (13:38 -0300)]
linux-headers: bump 4.{4, 9, 14, 17}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/asterisk: fix compilation with libsrtp 2.2.0
Yann E. MORIN [Thu, 23 Aug 2018 07:26:15 +0000 (09:26 +0200)]
package/asterisk: fix compilation with libsrtp 2.2.0

Since commit 54797f6489 (package/libsrtp: bump version to 2.2.0),
asterisk now chokes when configured with support for libsrtp, when
that one has also been linked against openssl.

See:
    https://issues.asterisk.org/jira/browse/ASTERISK-27356

Backport the upstream fix for that issue.

Fixes:
    http://autobuild.buildroot.org/results/4e3/4e3b0fd7c31814a8605c00f69cbd45d11800d9e3/
    http://autobuild.buildroot.org/results/c4c/c4c241020d9e7b139b59429498b78243090245a7/
    http://autobuild.buildroot.org/results/1c2/1c266acc0bb0518219979e8e9922f31150716118/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Gregory Dymarek <gregd72002@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tini: needs MMU
Yann E. MORIN [Thu, 23 Aug 2018 08:17:53 +0000 (10:17 +0200)]
package/tini: needs MMU

tini uses fork(), so needs an MMU.

Fixes:
    http://autobuild.buildroot.org/results/410/410ad9ea6a6652a7db691f537acb38db279b996a/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibssh: fix cross compile with older cmake
Baruch Siach [Wed, 22 Aug 2018 21:58:30 +0000 (00:58 +0300)]
libssh: fix cross compile with older cmake

Old version of cmake break cross-compilation when FindThreads is used
because of a try_run call. Add a workaround that avoids try_run.

cmake bug report: https://gitlab.kitware.com/cmake/cmake/issues/16920

Should fix:
http://autobuild.buildroot.net/results/8aa/8aa2bd894416a4508ca7140f8947ff46243f8b78/
http://autobuild.buildroot.net/results/f2c/f2cc965bb134bf4fd9e625eb267b67c949c202fc/

Cc: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-crypt-openssl-rsa: bump version to 0.30
Bernd Kuhls [Tue, 21 Aug 2018 20:41:34 +0000 (22:41 +0200)]
package/perl-crypt-openssl-rsa: bump version to 0.30

Changelog:
https://metacpan.org/changes/distribution/Crypt-OpenSSL-RSA

Added new build dependency to host-perl-crypt-openssl-guess and force
it to search for openssl in STAGING_DIR. Added license hash. Updated
_SITE according to scancpan.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-crypt-openssl-random: bump version to 0.15
Bernd Kuhls [Tue, 21 Aug 2018 20:41:33 +0000 (22:41 +0200)]
package/perl-crypt-openssl-random: bump version to 0.15

Changelog:
https://metacpan.org/changes/distribution/Crypt-OpenSSL-Random

Added new build dependency to host-perl-crypt-openssl-guess and force
it to search for openssl in STAGING_DIR. Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-crypt-openssl-guess: new package
Bernd Kuhls [Tue, 21 Aug 2018 20:41:32 +0000 (22:41 +0200)]
package/perl-crypt-openssl-guess: new package

Needed for upcoming version bumps of perl-crypt-openssl-random and
perl-crypt-openssl-rsa, only host-package is needed.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: bump default to version 4.18.4
Fabio Estevam [Wed, 22 Aug 2018 12:43:57 +0000 (09:43 -0300)]
linux: bump default to version 4.18.4

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoe2fsprogs: group disable and enable together
Thomas Petazzoni [Wed, 22 Aug 2018 11:34:37 +0000 (13:34 +0200)]
e2fsprogs: group disable and enable together

As reported by Yann E. Morin, it is more readable when all disable
options are grouped together, and all enable options are grouped
together. Fix this in e2fsprogs.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobtrfs-progs: make e2fsprogs an optional dependency
Thomas Petazzoni [Tue, 21 Aug 2018 21:59:54 +0000 (23:59 +0200)]
btrfs-progs: make e2fsprogs an optional dependency

e2fsprogs is only needed to build the btrfs-convert program, that
allows to convert an existing ext2 filesystem into a btrfs
filesystem. Not everybody needs to do that and making this dependency
optional is nicer, so this is what this patch does.

Note that btrfs-progs also supports converting from reiserfs, which is
why the --with-convert option supports a list of filesystems. Since
Buildroot has no package for the reiserfs library, we for now only
support the ext2 case, with e2fsprogs as a dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobtrfs-progs: drop dependency on e2fsprogs by not building btrfs-convert
Thomas Petazzoni [Tue, 21 Aug 2018 21:59:53 +0000 (23:59 +0200)]
btrfs-progs: drop dependency on e2fsprogs by not building btrfs-convert

The btrfs-convert tool is used to convert an existing ext2 or reiserfs
filesystem into a btrfs filesystem. On the host, this is not really
useful, so let's disable building this tool, which allows to drop the
host-e2fsprogs dependency.

The host-util-linux dependency becomes necessary: it was previously
brought as a second-order dependency of host-e2fsprogs, but since we
no longer depend on host-e2fsprogs, we now need to explicitly depend
on host-util-linux.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoe2fsprogs: build shared library for the host
Thomas Petazzoni [Tue, 21 Aug 2018 21:59:52 +0000 (23:59 +0200)]
e2fsprogs: build shared library for the host

By default, the e2fsprogs package builds and installs only static
libraries, unless --enable-elf-shlibs is passed. For the target
variant, we pass the appropriate
--enable-elf-shlibs/--disable-elf-shlibs options, but not for the host
package, and therefore static e2fsprogs libraries get installed.

However, on the host, our policy is to build shared libraries and not
static libraries, as visible in the default configure options passed
to host package in pkg-autotools.mk (--enable-shared
--disable-static). Let's do the same with e2fsprogs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolzo: build shared library for the host
Thomas Petazzoni [Tue, 21 Aug 2018 21:59:51 +0000 (23:59 +0200)]
lzo: build shared library for the host

By default, the lzo package builds and installs only a static
library. For the target variant, we pass the appropriate
ENABLE_STATIC/ENABLE_SHARED options, but not for the host package, and
therefore a static lzo library gets installed.

However, on the host, our policy is to build shared libraries and not
static libraries, as visible in the default configure options passed
to host package in pkg-autotools.mk (--enable-shared
--disable-static). Let's do the same with lzo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosunxi-mali-mainline-driver: free-electrons is now bootlin
Thomas Petazzoni [Wed, 22 Aug 2018 11:32:36 +0000 (13:32 +0200)]
sunxi-mali-mainline-driver: free-electrons is now bootlin

Even though http://github.com/free-electrons/<foo>/ properly redirects
to http://github.com/bootlin/<foo>/, it makes sense to use the
bootlin/ URL directly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosunxi-mali-mainline: free-electrons is now bootlin
Thomas Petazzoni [Wed, 22 Aug 2018 11:31:45 +0000 (13:31 +0200)]
sunxi-mali-mainline: free-electrons is now bootlin

Even though http://github.com/free-electrons/<foo>/ properly redirects
to http://github.com/bootlin/<foo>/, it makes sense to use the
bootlin/ URL directly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosunxi-mali-mainline: add support for arm64 and r8p1 blob version
Giulio Benetti [Wed, 22 Aug 2018 00:06:47 +0000 (02:06 +0200)]
sunxi-mali-mainline: add support for arm64 and r8p1 blob version

Blobs for arm64(aarch64) and r8p1 version are now available at Bootlin
Github.

So:
- Bump version to latest commit:
For arm64 architecture and r8p1 version.

git shortlog --no-merges cb3e8ece9b2c3a70cbeb3204cd6f30eceaa32023..
Giulio Benetti (1):
      Reorder folders splitting includes and libraries.

Maxime Ripard (6):
      Move binaries to an arch subfolder
      Make x11 binaries path consistent
      Add r6p2 arm wayland blobs
      Add r6p2 arm64 blobs
      Add r8p1 fbdev blobs
      Add r8p1 arm64 fbdev blobs

- Add support for them also under arm64(aarch64) architecture copying the
right blobs according to architecture(arm or arm64) checking if BR2_arm
or BR2_aarch64 is enabled.
Only BR2_arm needs to provide BR2_ARM_EABIHF, so check must be done only
in that case.
- Mali-blobs repository folder layout has been reordered, so modify path
when copying headers and libraries.
- When copying libraries copy only *.so* files to avoid useless files to
end into target folder.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage: drop remaining BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
Baruch Siach [Wed, 22 Aug 2018 07:44:21 +0000 (10:44 +0300)]
package: drop remaining BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS

Commit 5a3f78c91915 (libaio: bump to 0.3.111) removed the definition of
BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS, and most references. Remove a few
remaining references.

Fixes:
http://autobuild.buildroot.net/results/724/7244c23a0fbcf27547b5ea639d88033b5a7d9f39/
http://autobuild.buildroot.net/results/be4/be43983767e94ab5c64c3cb3de467840fd6635d2/
http://autobuild.buildroot.net/results/798/798a15a9a064d476927bb49bf534c427e9119c4e/

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobtrfs-progs: add host package variant
Robert J. Heywood [Tue, 21 Aug 2018 16:04:11 +0000 (17:04 +0100)]
btrfs-progs: add host package variant

This adds a new option to build the btrfs toolset for the host, which
can be useful to prepare a btrfs filesystem image for the target.

Signed-off-by: Robert J. Heywood <robert.heywood@codethink.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/arm_juno: bump ATF to v1.4
Gustavo Pimentel [Tue, 21 Aug 2018 15:55:08 +0000 (17:55 +0200)]
configs/arm_juno: bump ATF to v1.4

Update to ATF v1.4 (tested on the actual hardware).

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/arm_juno: bump ATF to v1.3
Thomas Petazzoni [Sun, 12 Aug 2018 14:53:31 +0000 (16:53 +0200)]
configs/arm_juno: bump ATF to v1.3

ATF in version 1.2 fails to build with:

./build/juno/release/bl1/context_mgmt.o: In function `cm_prepare_el3_exit':
context_mgmt.c:(.text.cm_prepare_el3_exit+0x54): undefined reference to `cm_set_next_context'
context_mgmt.c:(.text.cm_prepare_el3_exit+0x54): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `cm_set_next_context'

This has been fixed in ATF v1.3. Even though there are even newer
versions of ATF available, we take a conservative approach, and bump
to the first version that has the build issue fixed.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/88314771

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomariadb: bump version to 10.2.17
Ryan Coe [Tue, 21 Aug 2018 15:55:36 +0000 (08:55 -0700)]
mariadb: bump version to 10.2.17

Release notes: https://mariadb.com/kb/en/mariadb-10217-release-notes/
Changelog: https://mariadb.com/kb/en/mariadb-10217-changelog/

Note that HOST_MARIADB_CONF_OPTS += -DWITH_SSL=bundled has been changed to
HOST_MARIADB_CONF_OPTS += -DWITH_SSL=OFF in order to prevent the following
configure error:

CMake Error at /usr/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR)
  (Required is at least version "3.3.24")
Call Stack (most recent call first):
  /usr/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.11/Modules/FindGnuTLS.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  libmariadb/CMakeLists.txt:303 (FIND_PACKAGE)

RocksDB is also disabled to prevent the following build error in some
configurations:

./buildroot/output/build/mariadb-10.2.17/storage/rocksdb/rocksdb/utilities/backupable/backupable_db.cc:327:38: error: field 'result' has incomplete type 'std::promise<rocksdb::BackupEngineImpl::CopyOrCreateResult>'
     std::promise<CopyOrCreateResult> result;

./buildroot/output/build/mariadb-10.2.17/storage/rocksdb/rocksdb/utilities/backupable/backupable_db.cc:378:37: error: field 'result' has incomplete type 'std::future<rocksdb::BackupEngineImpl::CopyOrCreateResult>'
     std::future<CopyOrCreateResult> result;

./buildroot/output/build/mariadb-10.2.17/storage/rocksdb/rocksdb/utilities/backupable/backupable_db.cc:425:37: error: field 'result' has incomplete type 'std::future<rocksdb::BackupEngineImpl::CopyOrCreateResult>'
     std::future<CopyOrCreateResult> result;

./buildroot/output/build/mariadb-10.2.17/storage/rocksdb/rocksdb/utilities/backupable/backupable_db.cc: In member function 'rocksdb::Status rocksdb::BackupEngineImpl::AddBackupFileWorkItem(std::unordered_set<std::basic_string<char> >&, std::vector<rocksdb::BackupEngineImpl::BackupAfterCopyOrCreateWorkItem>&, rocksdb::BackupID, bool, const string&, const string&, rocksdb::RateLimiter*, uint64_t, uint64_t, bool, std::function<void()>, const string&)':
./buildroot/output/build/mariadb-10.2.17/storage/rocksdb/rocksdb/utilities/backupable/backupable_db.cc:1366:38: error: aggregate 'std::promise<rocksdb::BackupEngineImpl::CopyOrCreateResult> promise_result' has incomplete type and cannot be defined
     std::promise<CopyOrCreateResult> promise_result;

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mariadb: security bump to version 10.1.35
Bernd Kuhls [Sat, 18 Aug 2018 15:27:07 +0000 (17:27 +0200)]
package/mariadb: security bump to version 10.1.35

Fixes CVE-2018-3064, CVE-2018-3063, CVE-2018-3058 & CVE-2018-3066:
https://mariadb.com/kb/en/library/mariadb-10135-release-notes/

Added all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/vlc: skins2 depends on qt5base
Bernd Kuhls [Tue, 21 Aug 2018 20:32:55 +0000 (22:32 +0200)]
package/vlc: skins2 depends on qt5base

Fixes

configure: error: The skins2 module depends on the Qt interface. Without
it you will not be able to open any dialog box from the interface, which
makes the skins2 interface rather useless. Install the Qt development
package or alternatively you can also configure with: --disable-qt
--disable-skins2.

http://autobuild.buildroot.net/results/ddb/ddb1ab48adb9705c44ed3d6d800b6d01ad52ac8c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglorytun: bump to version 0.0.99-mud
Fabrice Fontaine [Tue, 21 Aug 2018 19:56:52 +0000 (21:56 +0200)]
glorytun: bump to version 0.0.99-mud

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxxhash: bump to version 0.6.5
Fabrice Fontaine [Tue, 21 Aug 2018 20:01:15 +0000 (22:01 +0200)]
xxhash: bump to version 0.6.5

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibaio: bump to 0.3.111
Thomas Petazzoni [Tue, 14 Aug 2018 21:37:55 +0000 (23:37 +0200)]
libaio: bump to 0.3.111

Until now, libaio contained some architecture specific code to do the
syscalls. In fact, it contained a generic variant of the code called
syscall-generic.h, but it was showing a warning when it was used, as
if it was "not safe". Consequently, in Buildroot, we had chosen to
support libaio only on a the subset of architectures that were
explicitly handled by libaio.

However, between 0.3.110 and 0.3.111, libaio upstream entirely dropped
the architecture-specific code:

  https://pagure.io/libaio/c/97fd3fc0195500e616e34047cba4846164c411d9?branch=master

Consequently, in this patch, we:

 - Bump libaio to 0.3.111.

 - Switch to the new upstream at https://pagure.io/libaio/.

 - Drop the 0001-arches.patch patch, which was adding support for
   MIPS, since we no longer need architecture-specific code.

 - Update the remaining patches, and Git-format one of them which
   wasn't Git-formatted.

 - Drop the BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS option and all its uses.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolvm2: host variant needs host-libaio
Thomas Petazzoni [Thu, 16 Aug 2018 09:29:44 +0000 (11:29 +0200)]
lvm2: host variant needs host-libaio

Since the bump of lvm2 to 2.02.180 in commit
8e666bf29e762f3c7681a48d0ee350f8396d798f, lvm2 needs libaio. This was
properly taken into account for the target lvm2 variant, but not the
host lvm2 variant. This commit adds host-libaio as a dependency of
host-lvm2.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibaio: add host variant
Thomas Petazzoni [Thu, 16 Aug 2018 09:29:43 +0000 (11:29 +0200)]
libaio: add host variant

Since the bump of lvm2 to 2.02.180 in commit
8e666bf29e762f3c7681a48d0ee350f8396d798f, lvm2 needs libaio. This was
properly taken into account for the target lvm2 variant, but not the
host lvm2 variant. In order to build the host lvm2, we now need
host-libaio, so this patch adds support for building libaio for the
host.

Part of fixing:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofwup: bump to v1.2.5
Frank Hunleth [Mon, 20 Aug 2018 23:20:43 +0000 (19:20 -0400)]
fwup: bump to v1.2.5

Also add a hash for the license file.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libcpprestsdk: bump version to 2.10.5
Bernd Kuhls [Tue, 21 Aug 2018 05:55:24 +0000 (07:55 +0200)]
package/libcpprestsdk: bump version to 2.10.5

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/vlc: wayland support needs wayland-protocols
Bernd Kuhls [Tue, 21 Aug 2018 05:04:54 +0000 (07:04 +0200)]
package/vlc: wayland support needs wayland-protocols

Fixes
http://autobuild.buildroot.net/results/3db/3dbb17bc548aa7d5fecd857a9bbd761729d20d4f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libsrtp: fix static build
Bernd Kuhls [Tue, 21 Aug 2018 04:16:40 +0000 (06:16 +0200)]
package/libsrtp: fix static build

The library name was updated upstream:

Fixes
make[1]: *** No rule to make target 'libsrtp.a'.  Stop.

http://autobuild.buildroot.net/results/10e/10e4198e8d86eecb9c672db77cbaff1e8a592ad3/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/checksec: new package
Paresh Chaudhary [Tue, 14 Aug 2018 01:17:56 +0000 (20:17 -0500)]
package/checksec: new package

This patch adds host-checksec package support. This tool provides a
script to offline check the properties of a security hardened elf file.

REF: https://github.com/slimm609/checksec.sh

Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: add entry to DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/nodejs: use host-libopenssl
Bernd Kuhls [Sun, 19 Aug 2018 16:51:58 +0000 (18:51 +0200)]
package/nodejs: use host-libopenssl

host-nodejs is configured to build openssl by using its included openssl
source code which is based on openssl 1.0.2. If host-libopenssl was
already built its header files are being picked up during host-nodejs
build, this was verified by adding debug code to
$(HOST_DIR)/include/openssl/opensslv.h.

This situation was not a problem as long as host-libopenssl was the
same version than the openssl code included in nodejs.

Some code in host-nodejs-8.11.4/src/node_crypto.cc is guarded by

#if OPENSSL_VERSION_NUMBER < 0x10100000L

to be used only with openssl 1.0.x.

This leads to problems if host-libopenssl 1.1.x was built before. Due
to the usage of its header files some code in node_crypto.cc is not
built leading to many linking errors later on, for example:

node_crypto.cc:(.text+0x1a1): undefined reference to `DH_get0_pqg'

When the nodejs package originally was added to buildroot back in
March 2013:
https://git.buildroot.net/buildroot/commit/?id=b31bc7d4387095091a109eb879464d54d37a5eab

We did not have a host-libopenssl package back then, it was added one
month later:
https://git.buildroot.net/buildroot/commit/?id=7842789cb539b6b64d61b03f5c8dbe6813f01da7

To fix the problem we use host-libopenssl for host-nodejs.
By using host-libopenssl the build time of nodejs is reduced by ~15s.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libssh: bump version to 0.8.1
Bernd Kuhls [Sat, 18 Aug 2018 09:37:59 +0000 (11:37 +0200)]
package/libssh: bump version to 0.8.1

Fixed broken _SITE, added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibssh: fix download location
Thomas Petazzoni [Mon, 20 Aug 2018 21:47:40 +0000 (23:47 +0200)]
libssh: fix download location

The current download location fails, and Buildroot falls back to
sources.b.o:

--2018-08-20 23:41:39--  https://red.libssh.org/attachments/download/218/libssh-0.7.5.tar.xz
Resolving red.libssh.org (red.libssh.org)... 78.46.80.163
Connecting to red.libssh.org (red.libssh.org)|78.46.80.163|:443... connected.
The certificate's owner does not match hostname ‘red.libssh.org’
--2018-08-20 23:41:39--  http://sources.buildroot.net/libssh/libssh-0.7.5.tar.xz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.25.211.19, 104.25.210.19, 2400:cb00:2048:1::6819:d313, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.25.211.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 351632 (343K) [application/x-xz]

This commit fixes the download location:

--2018-08-20 23:43:04--  https://www.libssh.org/files/0.7/libssh-0.7.5.tar.xz
Resolving www.libssh.org (www.libssh.org)... 87.98.168.187, 2001:41d0:2:f80c::4
Connecting to www.libssh.org (www.libssh.org)|87.98.168.187|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 351632 (343K) [application/x-tar]

This patch is extracted from a contribution from Bernd Kuhls who was
also bumping the package at the same time
(http://patchwork.ozlabs.org/patch/959192/).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libepoxy: bump version to 1.5.2
Bernd Kuhls [Sat, 18 Aug 2018 09:26:30 +0000 (11:26 +0200)]
package/libepoxy: bump version to 1.5.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobotan: fix minor typo in Config.in file
Thomas Petazzoni [Mon, 20 Aug 2018 21:33:36 +0000 (23:33 +0200)]
botan: fix minor typo in Config.in file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/botan: add optional dependency to xz
Bernd Kuhls [Sat, 18 Aug 2018 23:30:52 +0000 (01:30 +0200)]
package/botan: add optional dependency to xz

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/botan: add optional dependency to sqlite
Bernd Kuhls [Sat, 18 Aug 2018 23:30:51 +0000 (01:30 +0200)]
package/botan: add optional dependency to sqlite

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/botan: add optional dependency to boost
Bernd Kuhls [Sat, 18 Aug 2018 23:30:50 +0000 (01:30 +0200)]
package/botan: add optional dependency to boost

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/botan: bump version to 2.7.0
Bernd Kuhls [Sat, 18 Aug 2018 23:30:49 +0000 (01:30 +0200)]
package/botan: bump version to 2.7.0

Depends on gcc >= 4.8:
https://github.com/randombit/botan/blob/master/readme.rst

Rebased patch 0001, added license hash and updated license path.

Updated configure options for shared/static libraries after commit
https://github.com/randombit/botan/commit/299119f02c09e7d3e657b13e1706cb653eff560c

Added configure for ssp support after commit
https://github.com/randombit/botan/commit/ebeae68aba0d3384a00fddde77a561bb0cd88102
This fixes a build error with toolchains without ssp support.

Removed dependency to gmp:
https://github.com/randombit/botan/issues/719

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/live555: bump version to 2018.08.05
Bernd Kuhls [Sat, 18 Aug 2018 18:22:58 +0000 (20:22 +0200)]
package/live555: bump version to 2018.08.05

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/vlc: use pkgconf to find live555 libraries
Bernd Kuhls [Sat, 18 Aug 2018 18:22:57 +0000 (20:22 +0200)]
package/vlc: use pkgconf to find live555 libraries

Some live555 libraries were missing in LIVE555_LIBS.
Instead of maintaining the list of live555 library files we use pkgconf
instead.

Fixes
http://autobuild.buildroot.net/results/744/7445bdc2fdcb28aa7f58c0249653329414e447df/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/live555: Add a pkg-config file for the shared libraries
Bernd Kuhls [Sat, 18 Aug 2018 18:22:56 +0000 (20:22 +0200)]
package/live555: Add a pkg-config file for the shared libraries

Needed for vlc to fix linking issue.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/alljoyn: use builtin crypto
Bernd Kuhls [Sat, 18 Aug 2018 23:32:02 +0000 (01:32 +0200)]
package/alljoyn: use builtin crypto

Support for OpenSSL 1.1 is broken, use builtin crypto for now like
Debian does:

https://salsa.debian.org/debian-iot-team/alljoyn/alljoyn-core-1504/commit/09d9f916ecb3e0256c5b24ef46af28cdceb4ed1b#8756c63497c8dc39f7773438edf53b220c773f67_27_26

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/vtun: bump version to 3.0.4
Bernd Kuhls [Mon, 20 Aug 2018 06:14:00 +0000 (08:14 +0200)]
package/vtun: bump version to 3.0.4

Removed patch 0003, upstream fixes configure.in.
Added patch from Fedora to fix OpenSSL 1.1.x. build.
Added upstream hashes and license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ustream-ssl: bump version
Bernd Kuhls [Mon, 20 Aug 2018 05:54:39 +0000 (07:54 +0200)]
package/ustream-ssl: bump version

This release includes support for OpenSSL 1.1.x

Added hashes for tarball and license file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/trousers: bump version to 0.3.14
Bernd Kuhls [Mon, 20 Aug 2018 05:47:34 +0000 (07:47 +0200)]
package/trousers: bump version to 0.3.14

Removed patches 0001 & 0003, applied upstream.
Rebased patches 0002 & 0004 and renumbered them.
Added sha256 hashes for tarball and license file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pound: bump version to 2.8
Bernd Kuhls [Sun, 19 Aug 2018 18:26:57 +0000 (20:26 +0200)]
package/pound: bump version to 2.8

Release notes:
www.apsis.ch/pound/pound_list/archive/2018/2018-05/1526034164000

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>