buildroot.git
6 years agofs/cpio: add option for lz4 compression
Peter Korsgaard [Fri, 13 Oct 2017 19:16:53 +0000 (21:16 +0200)]
fs/cpio: add option for lz4 compression

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/common.mk: support lz4 compression
Peter Korsgaard [Fri, 13 Oct 2017 19:16:52 +0000 (21:16 +0200)]
fs/common.mk: support lz4 compression

Similar to the other compressors.  Notice that we use the -l (legacy format)
for Linux kernel initrd compatibility.

Lz4 decompression is supported by the Linux kernel since 3.11.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodependencies: correct dependencies for top-level parallel build
Arnout Vandecappelle (Essensium/Mind) [Sun, 22 Oct 2017 14:17:52 +0000 (16:17 +0200)]
dependencies: correct dependencies for top-level parallel build

Commit 4932c8a7cc94277b3d53cecd935f725b91cfa9fe introduced the
core-dependencies target to make sure that the dependencies.sh script
runs before we attempt to compile any host tool, so that the absence of
a compiler is properly detected. However, this relied on the
left-to-right evaluation of dependencies. This will no longer be true
when we enable top-level parallel build.

Fix this by letting DEPENDENCIES_HOST_PREREQ depend on
core-dependencies.

Note that it is not possible to remove the
dependencies <- core-dependencies. Indeed, it is possible that
DEPENDENCIES_HOST_PREREQ is completely empty, and in that case we still
need to check core-dependencies.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocore-dependencies: remove unneeded HOSTCC
Arnout Vandecappelle (Essensium/Mind) [Sun, 22 Oct 2017 14:17:51 +0000 (16:17 +0200)]
core-dependencies: remove unneeded HOSTCC

dependencies.sh uses HOSTCC_NOCCACHE directly, and this variable is
exported from the top-level Makefile, so there is no need to pass
HOSTCC to it. HOSTCC is not used at all in dependencies.sh.

Thus, we also no longer need to apply the HOSTCC override for
core-dependencies. The core-depencies rule doesn't use HOSTCC or
HOSTCXX.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocups-filters: new package
Olivier Schonken [Mon, 23 Oct 2017 13:26:11 +0000 (15:26 +0200)]
cups-filters: new package

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas:
 - add missing select BR2_PACKAGE_JPEG
 - use jpeg instead of libjpeg
 - sort selects alphabetically
 - fix Config.in comment dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibjpeg: add pkg-config file for libjpeg
Olivier Schonken [Mon, 23 Oct 2017 13:17:43 +0000 (15:17 +0200)]
libjpeg: add pkg-config file for libjpeg

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas: change to automatically set the version in the generated .pc file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoCHANGES: update after removal of source-check
Thomas Petazzoni [Mon, 8 Jan 2018 20:26:55 +0000 (21:26 +0100)]
CHANGES: update after removal of source-check

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopkg-{download, generic}: remove source-check
Maxime Hadjinlian [Wed, 25 Oct 2017 20:09:51 +0000 (22:09 +0200)]
pkg-{download, generic}: remove source-check

This feature is not used by anyone in the core developpers and makes a
drastic simplification of the pkg-download infrastructure harder.

The future patch will move much of what's in the current pkg-download.mk
file into the dl-wrapper which is a shell script.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibopenssl: do not leak the compiler path (reproducible builds)
Peter Seiderer [Fri, 27 Oct 2017 19:24:23 +0000 (21:24 +0200)]
libopenssl: do not leak the compiler path (reproducible builds)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agorygel: fix UI build
Fabrice Fontaine [Mon, 8 Jan 2018 18:10:42 +0000 (19:10 +0100)]
rygel: fix UI build

Add a patch to avoid failing on a configure error if UI example can't be
built if libgtk3 is available but not gst1-plugins-base (gstreamer-video
is only needed for UI example, not for rygel UI)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotcf-agent: disable package for powerpc64
Norbert Lange [Mon, 8 Jan 2018 13:40:45 +0000 (14:40 +0100)]
tcf-agent: disable package for powerpc64

Fails to build, disable powerpc64 until upstream fixed it

Fixes:
  http://autobuild.buildroot.net/results/5088f6efd44ce9b081c2c7825a7005a9cb60799d

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoasterisk: security bump to version 14.7.5
Peter Korsgaard [Mon, 8 Jan 2018 10:08:15 +0000 (11:08 +0100)]
asterisk: security bump to version 14.7.5

Fixes the following security issues:

* AST-2017-014: Crash in PJSIP resource when missing a contact header A
  select set of SIP messages create a dialog in Asterisk.  Those SIP
  messages must contain a contact header.  For those messages, if the header
  was not present and using the PJSIP channel driver, it would cause
  Asterisk to crash.  The severity of this vulnerability is somewhat
  mitigated if authentication is enabled.  If authentication is enabled a
  user would have to first be authorized before reaching the crash point.

For more details, see the announcement:
https://www.asterisk.org/downloads/asterisk-news/asterisk-13185-1475-1515-and-1318-cert2-now-available-security

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 3.2.x series
Fabio Estevam [Mon, 8 Jan 2018 01:15:08 +0000 (23:15 -0200)]
linux-headers: bump 3.2.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoexecline: fix hash "sha" type spelling
Matt Weber [Sun, 7 Jan 2018 23:29:06 +0000 (17:29 -0600)]
execline: fix hash "sha" type spelling

sah256 -> sha256

Fixes:
http://autobuild.buildroot.net/results/9d0/9d054a26d7833353efbe49c984a7cb66d77b1d0c/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agontp: does not work with libressl
Peter Korsgaard [Sun, 7 Jan 2018 22:59:40 +0000 (23:59 +0100)]
ntp: does not work with libressl

Fixes #10556

The --with-crypto handling in ntp only works with libopenssl, not with
libressl, where it ends up with compilation issues like:

ntp_control.c:(.text+0x64): undefined reference to `EVP_MD_CTX_new'
ntp_control.c:(.text+0x10c): undefined reference to `EVP_MD_CTX_free'
libntpd.a(ntp_crypto.o): In function `bighash':
ntp_crypto.c:(.text+0x2e8): undefined reference to `EVP_MD_CTX_new'
ntp_crypto.c:(.text+0x328): undefined reference to `EVP_MD_CTX_free'
libntpd.a(ntp_crypto.o): In function `crypto_verify':
ntp_crypto.c:(.text+0x6cc): undefined reference to `EVP_MD_CTX_new'
ntp_crypto.c:(.text+0x710): undefined reference to `EVP_MD_CTX_free'
ntp_crypto.c:(.text+0x72c): undefined reference to `EVP_MD_CTX_free'

So ensure we only pass --with-crypto when libopenssl is used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoutils/test-pkg: always run a global legal-info
Yann E. MORIN [Sun, 7 Jan 2018 22:50:05 +0000 (23:50 +0100)]
utils/test-pkg: always run a global legal-info

Instead of limiting it to the package under test, we run it globally.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoncurses: install 256 color terminfo files unconditionally
Trent Piepho [Wed, 20 Dec 2017 02:06:24 +0000 (18:06 -0800)]
ncurses: install 256 color terminfo files unconditionally

There are three 256 color terminfo files that buildroot only installs
if ncurses is configured with wide character support, which also
enables ext-color. There is a fourth 256 color terminfo file that does
not depend on wchar suport and is always installed.

This changes that to always install all four 256 color terminfo files.

When ncurses has ext-colors enabled,it allows 256 fg and bg colors at
the same time. Without ext-colors, it is still possible to use the 256
color terminfo files and one can get a combination of fb and bg colors
that equals up to 256, e.g. 256 fg colors on one background or 16 fg
and 16 bg colors.

In short, the 256 color files work fine without wchar or ext-color
support and support more colors than the normal xterm, etc.  terminfo
files. It's common today for the default terminal to use
xterm-256color and it's nice if thinks like vim and top work out of
the box.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/enlightenment: bump to 0.22.1
Romain Naour [Fri, 5 Jan 2018 16:32:23 +0000 (17:32 +0100)]
package/enlightenment: bump to 0.22.1

See https://www.enlightenment.org/news/e22_release and
https://www.enlightenment.org/news/e0.22.1_release

Switch to the meson build system.

The autotools build system has been removed upstream by commit
https://git.enlightenment.org/core/enlightenment.git/commit/?id=bd8828204779509a2f47fffc4031abcab2b34d79

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: use --option=value everywhere.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: update LICENSE hash for 1.7.0
Matt Weber [Sun, 7 Jan 2018 22:32:14 +0000 (16:32 -0600)]
cjson: update LICENSE hash for 1.7.0

No change to the contents but indentation.

Fixes:
http://autobuild.buildroot.net/results/626/626f01bb2e769914d471e70665f7f2909e1f5fe2/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoasterisk: security bump to version 14.6.2
Peter Korsgaard [Sun, 7 Jan 2018 21:46:29 +0000 (22:46 +0100)]
asterisk: security bump to version 14.6.2

Fixes the following security issues:

14.6.1:

* AST-2017-005 (applied to all released versions): The "strictrtp" option in
  rtp.conf enables a feature of the RTP stack that learns the source address
  of media for a session and drops any packets that do not originate from
  the expected address.  This option is enabled by default in Asterisk 11
  and above.  The "nat" and "rtp_symmetric" options for chan_sip and
  chan_pjsip respectively enable symmetric RTP support in the RTP stack.
  This uses the source address of incoming media as the target address of
  any sent media.  This option is not enabled by default but is commonly
  enabled to handle devices behind NAT.

  A change was made to the strict RTP support in the RTP stack to better
  tolerate late media when a reinvite occurs.  When combined with the
  symmetric RTP support this introduced an avenue where media could be
  hijacked.  Instead of only learning a new address when expected the new
  code allowed a new source address to be learned at all times.

  If a flood of RTP traffic was received the strict RTPsupport would allow
  the new address to provide media and with symmetric RTP enabled outgoing
  traffic would be sent to this new address, allowing the media to be
  hijacked.  Provided the attacker continued to send traffic they would
  continue to receive traffic as well.

* AST-2017-006 (applied to all released versions): The app_minivm module has
  an “externnotify” program configuration option that is executed by the
  MinivmNotify dialplan application.  The application uses the caller-id
  name and number as part of a built string passed to the OS shell for
  interpretation and execution.  Since the caller-id name and number can
  come from an untrusted source, a crafted caller-id name or number allows
  an arbitrary shell command injection.

* AST-2017-007 (applied only to 13.17.1 and 14.6.1): A carefully crafted URI
  in a From, To or Contact header could cause Asterisk to crash

For more details, see the announcement:
https://www.asterisk.org/downloads/asterisk-news/asterisk-11252-13171-1461-116-cert17-1313-cert5-now-available-security

14.6.2:

* AST-2017-008: Insufficient RTCP packet validation could allow reading
  stale buffer contents and when combined with the “nat” and “symmetric_rtp”
  options allow redirecting where Asterisk sends the next RTCP report.

  The RTP stream qualification to learn the source address of media always
  accepted the first RTP packet as the new source and allowed what
  AST-2017-005 was mitigating.  The intent was to qualify a series of
  packets before accepting the new source address.

For more details, see the announcement:
https://www.asterisk.org/downloads/asterisk-news/asterisk-11253-13172-1462-116-cert18-1313-cert6-now-available-security

Drop 0004-configure-in-cross-complation-assimne-eventfd-are-av.patch as this
is now handled differently upstream (by disabling eventfd for cross
compilation, see commit 2e927990b3d2 (eventfd: Disable during cross
compilation)).  If eventfd support is needed then this should be submitted
upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoirssi: security bump to version 1.0.6
Peter Korsgaard [Sun, 7 Jan 2018 21:03:18 +0000 (22:03 +0100)]
irssi: security bump to version 1.0.6

>From the advisory (https://irssi.org/security/irssi_sa_2018_01.txt):

Multiple vulnerabilities have been located in Irssi.

(a) When the channel topic is set without specifying a sender, Irssi
    may dereference NULL pointer. Found by Joseph Bisch. (CWE-476)

    CVE-2018-5206 was assigned to this issue.

(b) When using incomplete escape codes, Irssi may access data beyond
    the end of the string. (CWE-126) Found by Joseph Bisch.

    CVE-2018-5205 was assigned to this issue.

(c) A calculation error in the completion code could cause a heap
    buffer overflow when completing certain strings. (CWE-126) Found
    by Joseph Bisch.

    CVE-2018-5208 was assigned to this issue.

(d) When using an incomplete variable argument, Irssi may access data
    beyond the end of the string. (CWE-126) Found by Joseph Bisch.

    CVE-2018-5207 was assigned to this issue.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoopentracing-cpp: new package
Jan Heylen [Thu, 4 Jan 2018 12:28:31 +0000 (13:28 +0100)]
opentracing-cpp: new package

Signed-off-by: Jan Heylen <jan.heylen@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotoolchain: m68k coldfire is also affected by gcc bug 64735
Jan Heylen [Thu, 4 Jan 2018 12:28:30 +0000 (13:28 +0100)]
toolchain: m68k coldfire is also affected by gcc bug 64735

Verified experimentally by using exception_ptr with m68k_cf5208 and
looking at the value of ATOMIC_INT_LOCK_FREE. ATOMIC_INT_LOCK_FREE=1,
so the issue is present. Also verified that gcc 7.x fixed it also for
cf5208.

Signed-off-by: Jan Heylen <jan.heylen@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/pkg-cmake.mk: add note about BUILD_STATIC_LIBS
Jan Heylen [Thu, 4 Jan 2018 12:28:29 +0000 (13:28 +0100)]
package/pkg-cmake.mk: add note about BUILD_STATIC_LIBS

As BUILD_STATIC_LIBS is not a standard cmake variable (while
BUILD_SHARED_LIBS is) we shouldn't add it in pkg-cmake.mk, although
for some packages that would make sense. Therefore, add a note so we
don't forget about this abnormality.

See: https://cmake.org/cmake/help/v3.8/manual/cmake-variables.7.html#variables-that-change-behavior

Signed-off-by: Jan Heylen <jan.heylen@nokia.com>
[Thomas: rework the comment in the code.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agorabbitmq-c: don't pass BUILD_SHARED_LIBS
Jan Heylen [Thu, 4 Jan 2018 12:28:28 +0000 (13:28 +0100)]
rabbitmq-c: don't pass BUILD_SHARED_LIBS

The BUILD_SHARED_LIBS option is already handled by the cmake-package
infrastructure, so there is no need to pass it at the package level.

Signed-off-by: Jan Heylen <jan.heylen@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoorangepi: drop custom post-build and post-image scripts
Sergey Matyukevich [Sun, 7 Jan 2018 20:11:30 +0000 (23:11 +0300)]
orangepi: drop custom post-build and post-image scripts

Currently in Orange Pi boards post-build script is used only to generate
U-Boot boot script and post-image script is used only to generate sdcard
image according to genimage configuration. However both those tasks can
now be handled by generic Buildroot tools:
- BR2_TARGET_UBOOT_BOOT_SCRIPT config options
- support/scripts/genimage.sh script

This patch drops custom scripts replacing them
by generic Buildroot tools.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoxr819-xradio: add license file hash
Sergey Matyukevich [Sun, 7 Jan 2018 20:11:29 +0000 (23:11 +0300)]
xr819-xradio: add license file hash

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agos6-linux-utils: add license hash
Eric Le Bihan [Sun, 7 Jan 2018 19:08:53 +0000 (20:08 +0100)]
s6-linux-utils: add license hash

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agos6-portable-utils: add license hash
Eric Le Bihan [Sun, 7 Jan 2018 19:08:52 +0000 (20:08 +0100)]
s6-portable-utils: add license hash

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agos6-networking: add license hash
Eric Le Bihan [Sun, 7 Jan 2018 19:08:51 +0000 (20:08 +0100)]
s6-networking: add license hash

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agos6-linux-init: add license hash
Eric Le Bihan [Sun, 7 Jan 2018 19:08:50 +0000 (20:08 +0100)]
s6-linux-init: add license hash

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoexecline: add license hash
Eric Le Bihan [Sun, 7 Jan 2018 19:08:49 +0000 (20:08 +0100)]
execline: add license hash

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agos6-dns: bump version to 2.3.0.0
Eric Le Bihan [Sun, 7 Jan 2018 19:08:48 +0000 (20:08 +0100)]
s6-dns: bump version to 2.3.0.0

Also add license hash.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agos6-rc: bump version to 0.4.0.0
Eric Le Bihan [Sun, 7 Jan 2018 19:08:47 +0000 (20:08 +0100)]
s6-rc: bump version to 0.4.0.0

Also add license hash.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agos6: bump version to 2.7.0.0
Eric Le Bihan [Sun, 7 Jan 2018 19:08:46 +0000 (20:08 +0100)]
s6: bump version to 2.7.0.0

Also add license hash.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoskalibs: bump version to 2.6.3.0
Eric Le Bihan [Sun, 7 Jan 2018 19:08:45 +0000 (20:08 +0100)]
skalibs: bump version to 2.6.3.0

Also add license hash.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/bdwgc: bump version to 7.6.2
Bernd Kuhls [Sun, 7 Jan 2018 19:08:31 +0000 (20:08 +0100)]
package/bdwgc: bump version to 7.6.2

Removed patches applied upstream:

0002-Fix-uClibc-build.patch
https://github.com/ivmai/bdwgc/commit/047230b71d421407ad2c8641ee4a87a1bd89145b

0003-configure-match-uclinux-pattern.patch
https://github.com/ivmai/bdwgc/commit/a628c90bdbf397465ac2ab2b11f14eb2e853651c

Renumbered remaining patches, added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/x11r7/xserver_xorg-server: fix build with composite support disabled
Bernd Kuhls [Sun, 7 Jan 2018 19:00:09 +0000 (20:00 +0100)]
package/x11r7/xserver_xorg-server: fix build with composite support disabled

Added upstream to fix
http://autobuild.buildroot.net/results/44e/44e29c2fb5d236a66e0466698fbc9201a37dbc63/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/x11r7/xlib_libXpm: disable gettext detection when not needed
Bernd Kuhls [Sun, 7 Jan 2018 17:56:26 +0000 (18:56 +0100)]
package/x11r7/xlib_libXpm: disable gettext detection when not needed

Patch originates from FreeBSD:
https://lists.freebsd.org/pipermail/freebsd-x11/2015-July/016528.html
https://svnweb.freebsd.org/ports/head/x11/libXpm/Makefile?r1=384234&r2=391122&pathrev=391122

Fixes
http://autobuild.buildroot.net/results/f24/f24dc74c111690f068833ff6fc72df9a0853d210/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/libdrm: adjust patch switching to pkg-config for libatomic_ops
Bernd Kuhls [Sun, 7 Jan 2018 17:07:38 +0000 (18:07 +0100)]
package/libdrm: adjust patch switching to pkg-config for libatomic_ops

In commit fa6c7d165971e1f70b9ac94bae9cd1fd9180c072 ("libdrm: fix
libatomic_ops linking"), a patch was added to switch to
PKG_CHECK_MODULES() to detect libatomic_ops instead of
AC_CHECK_HEADER.

However, as explained in
https://autotools.io/pkgconfig/pkg_check_modules.html:

"In contrast with almost all of the original macros, though, the default
 action-if-not-found will end the execution with an error for not having
 found the dependency."

This makes the configure script bail out when libatomic_ops is not
available, which is not what we want in libdrm's configure
script. This commit adjusts the PKG_CHECK_MODULES() call to avoid
failing.

Fixes:

  http://autobuild.buildroot.net/results/cea/cea777dc997f86c1122c8b818d264215a0e77e5a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/libatomic_ops: bump version to 7.4.10
Bernd Kuhls [Sun, 7 Jan 2018 16:58:10 +0000 (17:58 +0100)]
package/libatomic_ops: bump version to 7.4.10

Added license hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/pound: Fix build with openssl 1.0.2
Bernd Kuhls [Sun, 7 Jan 2018 16:09:52 +0000 (17:09 +0100)]
package/pound: Fix build with openssl 1.0.2

Fixes
http://autobuild.buildroot.net/results/5be/5be1082dee8387b1140d802ac3c788896a4bf980/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotpm-tools: bump to version 1.3.9.1
Yair Ben Avraham [Tue, 19 Dec 2017 16:36:57 +0000 (18:36 +0200)]
tpm-tools: bump to version 1.3.9.1

This patch contains the following changes:
 - Remove all three patches, they are included in upstream version
 - Add locally calculated sha256 hash
 - Remove <pkg>_STRIP_COMPONENTS = 2, there is no leading directory
 - Remove <pkg>_AUTORECONF and <pkg>_GETTEXTIZE since all the patches are
   being removed.

Signed-off-by: Yair Ben Avraham <yairba@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocore/infra: fix build on toolchain without C++
Yann E. MORIN [Wed, 3 Jan 2018 17:39:52 +0000 (18:39 +0100)]
core/infra: fix build on toolchain without C++

Autotools-based packages that do not need C++ but check for it, and use
libtool, will fail to configure on distros that lack /lib/cpp.

This is the case for example on Arch Linux, where expat fails to build
with:

    configure: error: in `/home/dkc/src/buildroot/build/build/expat-2.2.4':
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check

This is because libtool uses AC_PROC_CXXCPP, which can not be avoided,
and does require a cpp that passes some "sanity" checks (does not choke
on valid input, but does choke on invalid input). So we can use neither
/bin/false nor /bin/true...

We instead need something that can digest some basic C++ preprocessor
input. We can't use the target preprocessor: that does not work, because
it obviously has no C++ cupport:

    arm-linux-cpp.br_real: error: conftest.cpp: C++ compiler not
    installed on this system

We can however consider that the host machine does have a C++ compiler,
so we use the host' cpp, which is gcc's compiler wrapper that ends up
calling the host's C++ preprocessor.

That would give us a valid C++ preprocessor when we don't have one, in
fact. But autotools will then correctly fail anyway, because there is
indeed no C++ compiler at all, as we can see in this excerpt of a
configure log from expat:

    checking whether we are using the GNU C++ compiler... no
    checking whether false accepts -g... no
    checking dependency style of false... none
    checking how to run the C++ preprocessor... cpp
    checking whether the false linker (/home/ymorin/dev/buildroot/O/host/bin/arm-linux-ld) supports shared libraries... yes
    libtool.m4: error: problem compiling CXX test program
    checking for false option to produce PIC...  -DPIC
    checking if false PIC flag  -DPIC works... no
    checking if false static flag  works... no
    checking if false supports -c -o file.o... no
    checking if false supports -c -o file.o... (cached) no
    checking whether the false linker (/home/ymorin/dev/buildroot/O/host/bin/arm-linux-ld) supports shared libraries... yes

So, using the host's C++ preprocessor (by way of gcc's wrapper) leads to
a working situation, where the end result is as expected.

Reported-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Damien Riegel <damien.riegel@savoirfairelinux.com>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs/bananapro: bump Linux and U-Boot version
Jörg Krause [Thu, 4 Jan 2018 08:21:00 +0000 (09:21 +0100)]
configs/bananapro: bump Linux and U-Boot version

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodaq: libdnet is optional not mandatory
Fabrice Fontaine [Sun, 7 Jan 2018 14:30:30 +0000 (15:30 +0100)]
daq: libdnet is optional not mandatory

libdnet is an optional dependency, it is only needed if nfq or ipq
module are enabled.

So, if libdnet and libnetfilter_queue are available, enable nfq module
and add a dependency to both packages otherwise disable nfq module.

Moreover, always disable ipq module as libipq is deprecated, it isn't
enable in iptables. Even if it was enabled, libipq.h can't be included
as it makes a reference to linux/netfilter_ipv4/ip_queue.h which is not
available anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs: nitrogen*: bump u-boot version to 2017.07
Gary Bisson [Fri, 5 Jan 2018 14:39:47 +0000 (15:39 +0100)]
configs: nitrogen*: bump u-boot version to 2017.07

Also include new boot scripts to match standard distro uboot commands.

Our previous 6x_bootscript and 6x_upgrade used custom variables and
their naming don't make sense now that we target more than i.MX6 CPU.

Therefore those old scripts are marked as legacy and kept for now but
the goal is to deprecate and remove them later.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs: nitrogen*: bump kernel version to 4.9.x_1.0.0_ga
Gary Bisson [Fri, 5 Jan 2018 14:39:46 +0000 (15:39 +0100)]
configs: nitrogen*: bump kernel version to 4.9.x_1.0.0_ga

Currently based upon 4.9.74 stable release.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs: freescale_imx*: bump to version 4.9.x_1.0.0_ga
Gary Bisson [Fri, 5 Jan 2018 14:39:45 +0000 (15:39 +0100)]
configs: freescale_imx*: bump to version 4.9.x_1.0.0_ga

Also switch repository from old freescale site to codeaurora:
https://source.codeaurora.org/external/imx/

Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-uuc: bump revision to 2ae63428
Gary Bisson [Fri, 5 Jan 2018 14:39:44 +0000 (15:39 +0100)]
imx-uuc: bump revision to 2ae63428

Changelog:
- Setup utp via configfs
- Fix many compiler warnings
- Robustness improved

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-kobs: bump revision to a0e9adce
Gary Bisson [Fri, 5 Jan 2018 14:39:43 +0000 (15:39 +0100)]
imx-kobs: bump revision to a0e9adce

Changelog:
- Fix compiler error with kernel headers >= 4.4
- Add i.MX8 platforms support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-vpu: bump to version 5.4.37
Gary Bisson [Fri, 5 Jan 2018 14:39:42 +0000 (15:39 +0100)]
imx-vpu: bump to version 5.4.37

Changelog:
- Integrate bug fixes

This patch is based on the following Yocto commit:
https://github.com/Freescale/meta-freescale/commit/b33b15e1

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-parser: bump to version 4.2.1, enable on AArch64
Gary Bisson [Fri, 5 Jan 2018 14:39:41 +0000 (15:39 +0100)]
imx-parser: bump to version 4.2.1, enable on AArch64

Changelog:
1. Upgrade EULA to v18
2. Bugfixes/Optimization
 - Update HEVC PARSER 01.00.02/ APE PARSER 00.00.08/ MPEG2 PARSER 04.05.10
   1. Delete the useless label in HEVC PARSER.
   2. Fix 2 variables' not init in special case for APE PARSER.
   3. Fix one struct's not init for MPEG2 PARSER.
 - Fix one mp3 can't play on jb4.3_1.1.1-ga
   ID3V2 contains a picture larger than 3MB, need to save ID3 data size
   in self->m_dwID3V2Size to let parser skip it when starting playback.
 - Fix creating parser error
   When variable value is negative, if(bytesToRead) will return true,
   modify this condition to if(bytesToRead > 0).

Note that this package now includes AARCH64 libraries for the upcoming
i.MX8 CPU family.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-codec: bump to version 4.2.1, enable on AArch64
Gary Bisson [Fri, 5 Jan 2018 14:39:40 +0000 (15:39 +0100)]
imx-codec: bump to version 4.2.1, enable on AArch64

Changelog:
1. Upgrade EULA to v18
2. Bugfix/Optimization
 - AACPlus: fixed playbe silence after 1s of stream
 - Removed duplicated code in aac_dec/aacplus_dec.
 - Removed unused code in flac_dec.

Note that this package now includes AARCH64 libraries for the upcoming
i.MX8 CPU family.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofirmware-imx: bump to version 6.0
Gary Bisson [Fri, 5 Jan 2018 14:39:39 +0000 (15:39 +0100)]
firmware-imx: bump to version 6.0

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoxdriver_xf86-video-imx-viv: bump to version 6.2.2.p0
Gary Bisson [Fri, 5 Jan 2018 14:39:38 +0000 (15:39 +0100)]
xdriver_xf86-video-imx-viv: bump to version 6.2.2.p0

The following xorg.conf was used in order to force the use of the
vivante module:
https://github.com/Freescale/meta-freescale/blob/master/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf

Note that the X server must be started with the "noreset" option to
avoid crashes when closing X apps.
Tested with:
 # X -noreset &
 # cd /usr/share/examples/viv_samples/vdk/
 # DISPLAY=:0 ./tutorial7

Note that this package patch is removed as now upstream:
https://source.codeaurora.org/external/imx/xf86-video-imx-vivante/commit/?id=70ebd67c

Cc: Jérôme Pouiller <jezz@sysmic.org>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agokernel-module-imx-gpu-viv: bump to version 6.2.2.p0
Gary Bisson [Fri, 5 Jan 2018 14:39:37 +0000 (15:39 +0100)]
kernel-module-imx-gpu-viv: bump to version 6.2.2.p0

This package has been tested with the following commands:
 # modprobe galcore
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-gpu-viv: bump to version 6.2.2.p0
Gary Bisson [Fri, 5 Jan 2018 14:39:36 +0000 (15:39 +0100)]
imx-gpu-viv: bump to version 6.2.2.p0

New features:
- Added mutex protection for referencing gctSIGNAL in gckOS_MapSignal to
  fix a MT race issue.
- Streamlined GPU address calculation base on MC20 (0/1) and MMU (0/1)
  combinations.
- Fixed multiple Android HWC 2.0 rendering issues. Refined HWC 2.0 driver
  implementation.
- Improved HWC2.0 composition performance by composing damaged regions
  only.
- Enabled offline/online compiler IR assembly dump function for users.
- Implemented the direct rendering support (no-resolve) for Wayland
  platform.
- Added EGL_EXT_buffer_age extension for Wayland and fbdev platforms.
- Updated wayland-viv protocol to support tile status sync from client
  to server.
- Improved OpenCL 1.2 builtin function support with native GPU
  instructions.
- Enabled OpenCL 1.2 API trace dump function controlled by VIV_TRACE
  environment variable.
- Support for OpenGL4.0
- Cleaned up driver code issues reported by Klocwork and Coverity.

Full changelog:
http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/tree/GraphicsChangeLogv6?h=imx-morty

Note that the apitrace tool and the G2D libraries are not part of the
package any longer, so the corresponding options are removed. The G2D
libraries are now provided by a separate package.

This package has been tested with both X11 and Framebuffer backends:
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7
 # gmem_info
 ... display memory use per PID ...

Also update packages that depended on g2d libraries to match new package
name.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-gpu-g2d: new package
Gary Bisson [Fri, 5 Jan 2018 14:39:35 +0000 (15:39 +0100)]
imx-gpu-g2d: new package

Up until now, the G2D libraries were included inside the imx-gpu-viv
package. However, since next version of the i.MX will use a new
hardware IP to do 2D rendering (DPU), the GPU 2D libraries have been
separated from the 3D GPU package.

Tested with the following commands:
 # /usr/share/examples/g2d_samples/g2d_multiblit_test
 # /usr/share/examples/g2d_samples/g2d_overlay_test
 # /usr/share/examples/g2d_samples/g2d_test
 # gst-launch-1.0 videotestsrc ! imxg2dvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: remove Will Newton from numactl
Thomas Petazzoni [Sun, 7 Jan 2018 14:24:56 +0000 (15:24 +0100)]
DEVELOPERS: remove Will Newton from numactl

His @imgtec.com e-mail address is boucing.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-lib: bump to version imx_4.9.11_1.0.0_ga
Gary Bisson [Fri, 5 Jan 2018 14:39:34 +0000 (15:39 +0100)]
imx-lib: bump to version imx_4.9.11_1.0.0_ga

Also switching to git repository as done in Yocto recipe [1].

[1] https://github.com/Freescale/meta-freescale/blob/rocko/recipes-bsp/imx-lib/imx-lib_git.bb

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofreescale-imx: add config options for i.MX6SL/SX and i.MX7D/ULP
Gary Bisson [Fri, 5 Jan 2018 14:39:33 +0000 (15:39 +0100)]
freescale-imx: add config options for i.MX6SL/SX and i.MX7D/ULP

In order to match the latest imx-lib PLATFORM variable requirements [1].

Also creating BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU so that it is easier
to hide/show the Vivante-related packages.

[1] https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/imx-lib/imx-lib_git.bb

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-peripheral-joystick: bump version to v1.3.4
Bernd Kuhls [Sat, 6 Jan 2018 17:25:31 +0000 (18:25 +0100)]
package/kodi-peripheral-joystick: bump version to v1.3.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-skin-confluence: bump version to 3.1.47
Bernd Kuhls [Sat, 6 Jan 2018 17:25:30 +0000 (18:25 +0100)]
package/kodi-skin-confluence: bump version to 3.1.47

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-pvr-vuplus: bump version to 2.4.12-Krypton
Bernd Kuhls [Sat, 6 Jan 2018 17:25:29 +0000 (18:25 +0100)]
package/kodi-pvr-vuplus: bump version to 2.4.12-Krypton

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kodi-pvr-dvbviewer: bump version to 2.4.14-Krypton
Bernd Kuhls [Sat, 6 Jan 2018 17:25:28 +0000 (18:25 +0100)]
package/kodi-pvr-dvbviewer: bump version to 2.4.14-Krypton

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonumactl: enable for aarch64
Vincent Stehlé [Sat, 6 Jan 2018 17:15:53 +0000 (18:15 +0100)]
numactl: enable for aarch64

numactl works on aarch64 so enable it for that architecture.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Will Newton <will.newton@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/samba4: bump version to 4.7.4
Bernd Kuhls [Sat, 6 Jan 2018 17:50:20 +0000 (18:50 +0100)]
package/samba4: bump version to 4.7.4

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/zstd: bump version to v1.3.3
Bernd Kuhls [Sat, 6 Jan 2018 17:52:40 +0000 (18:52 +0100)]
package/zstd: bump version to v1.3.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/bluez5_utils: bump version to 5.48
Bernd Kuhls [Sat, 6 Jan 2018 18:01:21 +0000 (19:01 +0100)]
package/bluez5_utils: bump version to 5.48

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/intel-microcode: bump version to 20171117
Bernd Kuhls [Sat, 6 Jan 2018 18:07:01 +0000 (19:07 +0100)]
package/intel-microcode: bump version to 20171117

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/php: security bump to 7.1.13
Bernd Kuhls [Sat, 6 Jan 2018 18:36:57 +0000 (19:36 +0100)]
package/php: security bump to 7.1.13

Removed 0008-fix-asm-constraints-in-aarch64-multiply-macro.patch, patch
was applied upstream:
https://github.com/php/php-src/commit/d6d4f2a9b38cd7fa7e938142e49e5a514d612e52

Renumbered patch 0009.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: bump to version 1.7.0
Fabrice Fontaine [Sat, 6 Jan 2018 19:45:15 +0000 (20:45 +0100)]
cjson: bump to version 1.7.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-xlib: fix LICENSE hash
Matt Weber [Sun, 7 Jan 2018 00:32:40 +0000 (18:32 -0600)]
python-xlib: fix LICENSE hash

Resolves:
http://autobuild.buildroot.net/results/762/7627e9da786852d6b08e2fc6092a5ce3ba2f4ea0/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonilfs-utils: need NPTL threads
Kurt Van Dijck [Thu, 4 Jan 2018 10:10:51 +0000 (11:10 +0100)]
nilfs-utils: need NPTL threads

nilfs-utils use clock_nanosleep(), which comes with NPTL threads. We
keep the dependency on threads, because sem_open() is really related
to thread support. The dependency on NPTL for clock_nanosleep() might
be lifted in the future, as it seems to be a bug in uClibc-ng.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
[Thomas: update Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodaq: libpcap is optional not mandatory
Fabrice Fontaine [Thu, 4 Jan 2018 19:17:39 +0000 (20:17 +0100)]
daq: libpcap is optional not mandatory

daq can be compiled without libpcap thanks to --enable-pcap-module and
 --disable-pcap-module options.
libpcap is just a mandadory dependency of snort.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-firmware: update Broadcom 43xxx file list
Jörg Krause [Thu, 4 Jan 2018 13:20:20 +0000 (14:20 +0100)]
linux-firmware: update Broadcom 43xxx file list

Add firmware file 'brcmfmac43430a0-sdio.bin' for bcm43430 revision 0.
Fix alphatical order for entry 'brcmfmac43430-sdio.bin'.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-xlib: new package
Joseph Kogut [Fri, 5 Jan 2018 21:13:07 +0000 (13:13 -0800)]
python-xlib: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's LGPL-2.1+.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotcf-agent: disable package for microblaze
Norbert Lange [Fri, 5 Jan 2018 21:50:17 +0000 (22:50 +0100)]
tcf-agent: disable package for microblaze

For now, tcf-agent fails to build on microblaze. Disable microblaze
until upstream is fixed.

Fixes:

  http://autobuild.buildroot.net/results/72554c9c70c1a068e4ed6612e65ea294e678bb0c/

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibzip: update legal hash for 1.4.0
Matt Weber [Sat, 6 Jan 2018 02:37:12 +0000 (20:37 -0600)]
libzip: update legal hash for 1.4.0

The copyright was updated in the LICENSES file

Fixes (one of many):
http://autobuild.buildroot.net/results/a64/a64ddf630aa44c7b0353f5a6818beffd20712615/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14}.x series
Fabio Estevam [Fri, 5 Jan 2018 15:35:15 +0000 (13:35 -0200)]
linux-headers: bump 4.{4, 9, 14}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.14.12
Fabio Estevam [Fri, 5 Jan 2018 15:35:14 +0000 (13:35 -0200)]
linux: bump default to version 4.14.12

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibzip: bump to version 1.4.0
Baruch Siach [Thu, 4 Jan 2018 18:39:26 +0000 (20:39 +0200)]
libzip: bump to version 1.4.0

Upstream switched to cmake.

Add upstream patch that removes run of target binary on the host.

Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxr819-xradio: bump version to 33f4b1c2
Sergey Matyukevich [Thu, 4 Jan 2018 18:36:28 +0000 (21:36 +0300)]
xr819-xradio: bump version to 33f4b1c2

Out-of-tree driver has been updated according to mac80211
and timer API changes in the upcoming Linux v4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agortl8189fs: bump revision to 569bdb91
Sergey Matyukevich [Thu, 4 Jan 2018 18:36:27 +0000 (21:36 +0300)]
rtl8189fs: bump revision to 569bdb91

Out-of-tree driver has been updated according to timer API changes
in the upcoming Linux v4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agompd: bump to version 0.20.14
Jörg Krause [Thu, 4 Jan 2018 10:40:23 +0000 (11:40 +0100)]
mpd: bump to version 0.20.14

Remove upstream patch '0002-libupnp-1-6-24-compat.patch'.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomariadb: security bump version to 10.1.30
Ryan Coe [Fri, 5 Jan 2018 14:47:26 +0000 (06:47 -0800)]
mariadb: security bump version to 10.1.30

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

Fixes the following security vulnerability:

CVE-2017-15365 - Replication in sql/event_data_objects.cc occurs before ACL
checks.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogstreamer1: bump to version 1.12.4
Peter Korsgaard [Fri, 5 Jan 2018 11:42:53 +0000 (12:42 +0100)]
gstreamer1: bump to version 1.12.4

Fixes #10631

The gstreamer plugins were recently bumped to 1.12.4, but the main
gstreamer1 package not.  Fix that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/imx6-sabresd: Bump U-Boot and kernel versions
Fabio Estevam [Wed, 3 Jan 2018 21:51:34 +0000 (19:51 -0200)]
configs/imx6-sabresd: Bump U-Boot and kernel versions

Bump to U-Boot 2017.11 and kernel to 4.14.11.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agozlib-ng: new package
Stefan Fröberg [Wed, 29 Nov 2017 21:17:14 +0000 (23:17 +0200)]
zlib-ng: new package

zlib-ng, a fast Zlib replacement

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
[Thomas: drop host variant.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agozlib: switch to a virtual package
Stefan Fröberg [Wed, 29 Nov 2017 21:17:13 +0000 (23:17 +0200)]
zlib: switch to a virtual package

The existing zlib package is renamed to libzlib, and zlib is turned
into a virtual package. This is done in preparation to the
introduction of zlib-ng as an alternative implementation.

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
[Thomas: define BR2_PACKAGE_PROVIDES_HOST_ZLIB as suggested by Yann
E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: add comment explaining how BUILD_SHARED_AND_STATIC_LIBS works
Thomas Petazzoni [Wed, 3 Jan 2018 21:30:44 +0000 (22:30 +0100)]
cjson: add comment explaining how BUILD_SHARED_AND_STATIC_LIBS works

This was missing in commit aca8412ce27fdb216e80145933baa13c15118719
("cjson: build shared and static library").

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocjson: build shared and static library
Fabrice Fontaine [Sun, 31 Dec 2017 16:29:33 +0000 (17:29 +0100)]
cjson: build shared and static library

cjson 1.6.0 added the BUILD_SHARED_AND_STATIC_LIBS option which is OFF
by default so set it depending on BR2_SHARED_STATIC_LIBS value.

If BUILD_SHARED_AND_STATIC_LIBS is set to OFF, cjson uses the standard
BUILD_SHARED_LIBS option which is passed by the cmake-package
infrastructure.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs: make it behave a bit more like the package infra
Yann E. MORIN [Thu, 28 Dec 2017 10:40:32 +0000 (11:40 +0100)]
fs: make it behave a bit more like the package infra

Currently, to register a filesystem, one has to call:

    $(eval $(call ROOTFS_TARGET,blabla))

This is very unlike the package infrastructure, where the name of the
package is automatically guessed by the infra.

It turns out that we can now do that for the filesystem infra too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/ubifs: spin-off ubi to be its own filesystem
Yann E. MORIN [Thu, 28 Dec 2017 10:40:31 +0000 (11:40 +0100)]
fs/ubifs: spin-off ubi to be its own filesystem

Currently, the ubifs-in-ubi-image ("UBI image" thereafter) filesystem
is half an option of the ubifs filesystem, half a filesystem on its
own: the config options are options of the ubifs filesystem, but the
.mk code is in a separate .mk and registers a real filesystem.

Make it a full filesystem on its own, in its own directory tree.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 4.{4, 9, 14}.x series
Fabio Estevam [Tue, 2 Jan 2018 23:32:26 +0000 (21:32 -0200)]
linux-headers: bump 4.{4, 9, 14}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux: bump default to version 4.14.11
Fabio Estevam [Tue, 2 Jan 2018 23:32:25 +0000 (21:32 -0200)]
linux: bump default to version 4.14.11

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs/mx25pdk: Bump U-Boot and kernel versions
Fabio Estevam [Wed, 3 Jan 2018 19:10:09 +0000 (17:10 -0200)]
configs/mx25pdk: Bump U-Boot and kernel versions

Bump to U-Boot 2017.11 and kernel to 4.14.11.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agonilfs-utils: needs threads support
Baruch Siach [Tue, 2 Jan 2018 11:42:23 +0000 (13:42 +0200)]
nilfs-utils: needs threads support

nilfs-utils uses the sem_* family of functions from the realtime
extension. Technically this is not part of pthreads. But in uClibc
enabling threads enables also UCLIBC_HAS_REALTIME.

Fixes:
http://autobuild.buildroot.net/results/c5d/c5d93b6ab5b260fe5db46298b956a9ae765c828a/
http://autobuild.buildroot.net/results/9d6/9d6a248f9acbb58b6c2893de58978c6013332415/

Cc: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-headers: bump 3.2.x series
Fabio Estevam [Tue, 2 Jan 2018 12:09:22 +0000 (10:09 -0200)]
linux-headers: bump 3.2.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>