]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
5 years agothumb2, passwd p for ssh, dhcp eth for nfs_check merica
Jiří Matěják [Thu, 24 May 2018 23:02:35 +0000 (01:02 +0200)]
thumb2, passwd p for ssh, dhcp eth for nfs_check

5 years agodefconfig cleaned
Jiří Matěják [Tue, 22 May 2018 08:45:27 +0000 (10:45 +0200)]
defconfig cleaned

5 years agodisplay patch updated
Jiří Matěják [Tue, 22 May 2018 08:43:17 +0000 (10:43 +0200)]
display patch updated

5 years agosimple post-image.sh, br updated it anyway
Jiří Matěják [Thu, 10 May 2018 15:42:41 +0000 (17:42 +0200)]
simple post-image.sh, br updated it anyway

5 years agobuildroot is getting fatter
Jiří Matěják [Thu, 10 May 2018 15:00:00 +0000 (17:00 +0200)]
buildroot is getting fatter

5 years agohopefully the last dir changed
Jiří Matěják [Wed, 9 May 2018 16:54:55 +0000 (18:54 +0200)]
hopefully the last dir changed

5 years agochange dirs in config too
Jiří Matěják [Wed, 9 May 2018 16:51:07 +0000 (18:51 +0200)]
change dirs in config too

5 years agoseparate basic and full system board dirs
Jiří Matěják [Wed, 9 May 2018 16:48:24 +0000 (18:48 +0200)]
separate basic and full system board dirs

5 years agolinux intel wifi driver moduled
Jiří Matěják [Fri, 4 May 2018 15:23:56 +0000 (17:23 +0200)]
linux intel wifi driver moduled

5 years agointel wifi, kernel patch
Jiří Matěják [Fri, 4 May 2018 15:22:46 +0000 (17:22 +0200)]
intel wifi, kernel patch

5 years agoremove custom dts, use kernel patch
Jiří Matěják [Fri, 4 May 2018 11:15:02 +0000 (13:15 +0200)]
remove custom dts, use kernel patch

5 years agoadd apps to inittab
Jiří Matěják [Fri, 4 May 2018 11:14:05 +0000 (13:14 +0200)]
add apps to inittab

5 years agohtml not x, add sh script (exports)
Jiří Matěják [Fri, 4 May 2018 11:12:14 +0000 (13:12 +0200)]
html not x, add sh script (exports)

5 years agomtbrowser to defconfig
Jiří Matěják [Thu, 3 May 2018 18:50:13 +0000 (20:50 +0200)]
mtbrowser to defconfig

5 years agocustom dts (instead of a patch), libgpiod (not used)
Jiří Matěják [Thu, 3 May 2018 18:49:07 +0000 (20:49 +0200)]
custom dts (instead of a patch), libgpiod (not used)

5 years agodisplay in dts
Jiří Matěják [Thu, 3 May 2018 18:46:51 +0000 (20:46 +0200)]
display in dts

5 years agodts renamed
Jiří Matěják [Thu, 3 May 2018 18:27:06 +0000 (20:27 +0200)]
dts renamed

5 years agomtbrowser in config
Jiří Matěják [Thu, 3 May 2018 18:26:26 +0000 (20:26 +0200)]
mtbrowser in config

5 years agoupdated dts
Jiří Matěják [Thu, 3 May 2018 18:12:16 +0000 (20:12 +0200)]
updated dts

5 years agomtbrowser added
Jiří Matěják [Thu, 3 May 2018 18:05:18 +0000 (20:05 +0200)]
mtbrowser added

5 years agopatch dir added
Jiří Matěják [Fri, 27 Apr 2018 10:17:37 +0000 (12:17 +0200)]
patch dir added

5 years agomt-apps, buildroot compiler (4.9 headers but no difference, might go back to linaro...
Jiří Matěják [Fri, 27 Apr 2018 10:14:44 +0000 (12:14 +0200)]
mt-apps, buildroot compiler (4.9 headers but no difference, might go back to linaro), no kernel patches yet

5 years ago+dropbear -handwriting
Jiří Matěják [Mon, 23 Apr 2018 16:40:28 +0000 (18:40 +0200)]
+dropbear -handwriting

5 years agomt-rfid compiles without idir
Jiří Matěják [Tue, 17 Apr 2018 15:48:50 +0000 (17:48 +0200)]
mt-rfid compiles without idir

5 years agomerica packages together
Jiří Matěják [Tue, 17 Apr 2018 15:34:49 +0000 (17:34 +0200)]
merica packages together

5 years agoqtwebbrowser: typo corrected
Jiří Matěják [Tue, 17 Apr 2018 15:13:47 +0000 (17:13 +0200)]
qtwebbrowser: typo corrected

5 years agoqtwebbrowser: update branch
Jiří Matěják [Tue, 17 Apr 2018 15:12:47 +0000 (17:12 +0200)]
qtwebbrowser: update branch

5 years agomerica-terminal_defconfig updated
Jiří Matěják [Tue, 17 Apr 2018 14:22:08 +0000 (16:22 +0200)]
merica-terminal_defconfig updated

5 years agofull defconfig added
Jiří Matěják [Tue, 17 Apr 2018 13:46:04 +0000 (15:46 +0200)]
full defconfig added

5 years agorootfs_overlay: network (still not able to connect)
Jiří Matěják [Tue, 17 Apr 2018 13:44:17 +0000 (15:44 +0200)]
rootfs_overlay: network (still not able to connect)

5 years agomt-rfid package
Jiří Matěják [Tue, 17 Apr 2018 13:42:33 +0000 (15:42 +0200)]
mt-rfid package

5 years agodownload ufr-lib from d-logic git
Jiří Matěják [Tue, 17 Apr 2018 09:07:58 +0000 (11:07 +0200)]
download ufr-lib from d-logic git

5 years agoufr-lib package added
Jiří Matěják [Thu, 12 Apr 2018 16:44:10 +0000 (18:44 +0200)]
ufr-lib package added

5 years agoqtwebbrowser: remove oold mk comments
Jiří Matěják [Thu, 12 Apr 2018 16:42:55 +0000 (18:42 +0200)]
qtwebbrowser: remove oold mk comments

5 years agoadded minimal defconfig
Jiří Matěják [Thu, 12 Apr 2018 15:37:16 +0000 (17:37 +0200)]
added minimal defconfig

5 years agoadd rsb4411a1 board
Jiří Matěják [Thu, 12 Apr 2018 15:28:17 +0000 (17:28 +0200)]
add rsb4411a1 board

5 years agoAdd qtwebbrowser
Jiří Matěják [Thu, 12 Apr 2018 15:23:27 +0000 (17:23 +0200)]
Add qtwebbrowser

5 years agoUpdate for 2018.02.2 2018.02.2
Peter Korsgaard [Fri, 4 May 2018 16:24:30 +0000 (18:24 +0200)]
Update for 2018.02.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoMakefile: Update mtime of $(TARGET_DIR)/usr in target-finalize
Chris Lesiak [Mon, 30 Apr 2018 17:14:11 +0000 (12:14 -0500)]
Makefile: Update mtime of $(TARGET_DIR)/usr in target-finalize

The systemd ConditionNeedsUpdate option is useful when offline updates
of the vendor operating system resources in /usr require updating of
/etc or /var on the next following boot.

Two examples of services making use of this option are
systemd-hwdb-update.service and systemd-sysusers.service.

ConditionNeedsUpdate=/etc will be true if the mtime of /etc/.updated
is older than the mtime of /usr.  After services conditional on
ConditionNeedsUpdate have run, systemd-update-done.service will
synch the mtime of /usr to /etc/.updated so that the condition will
be false on subsequent boots.

For systems with writable /usr partitions where updates are done to
the running system, the update program will touch /usr as a final step.
But with Buildroot, where updates are often done by dumping a new
image onto the device, and where /usr is on a filesystem mounted
read-only, touching /usr as part of the update process is not practical.
Instead, it should be done a build time.

For testers, please note that systemd-update-done in v234 added a
regression where the mtime of /etc/.updated is set to the current time
instead of the mtime or /usr.  This will be fixed in v239.

For more details, see:
http://0pointer.de/public/systemd-man/systemd.unit.html
http://0pointer.de/public/systemd-man/systemd-update-done.service.html

Signed-off-by: Chris Lesiak <chris.lesiak@licor.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit bbe5c6dad4da9cd174d5ef21caa73557e4592b31)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agohost-mkpasswd: fix crash on Fedora 28 build host
Stefan Becker [Wed, 2 May 2018 09:05:08 +0000 (12:05 +0300)]
host-mkpasswd: fix crash on Fedora 28 build host

crypt() is an optional glibc feature. Some distros, like Fedora 28, are
phasing it out to be replaced with libxcrypt [1]. Unfortunately this
change is only ABI compatible, not source code compatible, i.e. the code
will compile with warnings about undefined crypt(), but the resulting
binary will crash.

Follow the guidance in the Fedora bug and include crypt.h when
_XOPEN_CRYPT is not defined.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1566464

Signed-off-by: Stefan Becker <chemobejk@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3c514c2dc5186c4357b2c0fc2e1c4b47e0f555c7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agolinux-headers: bump 4.{4, 9, 14, 16}.x series
Fabio Estevam [Wed, 2 May 2018 19:24:12 +0000 (16:24 -0300)]
linux-headers: bump 4.{4, 9, 14, 16}.x series

[Peter: drop 4.16.x change]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit c3cce05ac772e7803c81a8e8cb7fdcc1c21129cb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/python: add upstream GCC8 build fix
Stefan Becker [Wed, 2 May 2018 11:14:48 +0000 (14:14 +0300)]
package/python: add upstream GCC8 build fix

Fedora 28 switched to GCC8.

Signed-off-by: Stefan Becker <chemobejk@gmail.com>
[Thomas: fixup location of SoB in the patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit a1b7f5e64d392a802adb586b97deea0a6f4f500e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoConfig.in: add BR2_HOST_GCC_AT_LEAST_8
Stefan Becker [Wed, 2 May 2018 10:09:04 +0000 (13:09 +0300)]
Config.in: add BR2_HOST_GCC_AT_LEAST_8

Fedora 28 switched to GCC 8.x.

Signed-off-by: Stefan Becker <chemobejk@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e13ab2e04a300f332d80f9b81c8830df07e3fd61)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocore/pkg-generic: only save latest package list
John Keeping [Tue, 1 May 2018 12:28:41 +0000 (13:28 +0100)]
core/pkg-generic: only save latest package list

When rebuilding a package, simply appending the package's file list to
the global list means that the package list grows for every rebuild, as
does the time taken to check for files installed by multiple packages.
Furthermore, we get false positives where a file is reported as being
installed by multiple copies of the same package.

With this approach we may end up with orphaned files in the target
filesystem if a package that has been updated and rebuilt no longer
installs the same set of files, but we know that only a clean build will
produce reliable results.  In fact it may be helpful to identify these
orphaned files as evidence that the build is not clean.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit d3dca1e9936bcaa0eed226a5bcb8c6a4d1fd1472)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{9, 14, 16}.x series
Fabio Estevam [Mon, 30 Apr 2018 22:21:20 +0000 (19:21 -0300)]
linux-headers: bump 4.{9, 14, 16}.x series

[Peter: drop 4.16.x change]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 1b503923497837e48e713b8deb8c3e06a11c9344)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobluez5_utils: add patch to fix readline issue
Thomas Petazzoni [Fri, 20 Apr 2018 14:07:13 +0000 (16:07 +0200)]
bluez5_utils: add patch to fix readline issue

Since bluez5_utils 5.48, some code using readline was compiled even if
readline was not available. After this issue was reported upstream, a
patch was proposed by an upstream developer to address the issue. This
commit integrates this patch (under review upstream), which fixes the
problem.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit d4158df6c19c76ea3405975b87f13b1c092a40e0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosdl2: update license file hash
Baruch Siach [Mon, 30 Apr 2018 18:28:47 +0000 (21:28 +0300)]
sdl2: update license file hash

Copyright year update.

Fixes:
http://autobuild.buildroot.net/results/2c8/2c865463a4b7524114518c04dce9c94252433460/

Cc: Guillaume Gardet <guillaume.gardet@oliseo.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 5a8f887e7ab6c28b2d5a4c01266bc75943cea90c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosdl2_image: security bump to version 2.0.3
Peter Korsgaard [Mon, 30 Apr 2018 12:04:59 +0000 (14:04 +0200)]
sdl2_image: security bump to version 2.0.3

Fixes the following security issues:

CVE-2017-12122: An exploitable code execution vulnerability exists in the
ILBM image rendering functionality of SDL2_image-2.0.2.  A specially crafted
ILBM image can cause a heap overflow resulting in code execution.  An
attacker can display a specially crafted image to trigger this
vulnerability.

CVE-2017-14440: An exploitable code execution vulnerability exists in the
ILBM image rendering functionality of SDL2_image-2.0.2.  A specially crafted
ILBM image can cause a stack overflow resulting in code execution.  An
attacker can display a specially crafted image to trigger this
vulnerability.

CVE-2017-14441: An exploitable code execution vulnerability exists in the
ICO image rendering functionality of SDL2_image-2.0.2.  A specially crafted
ICO image can cause an integer overflow, cascading to a heap overflow
resulting in code execution.  An attacker can display a specially crafted
image to trigger this vulnerability.

CVE-2017-14442: An exploitable code execution vulnerability exists in the
BMP image rendering functionality of SDL2_image-2.0.2.  A specially crafted
BMP image can cause a stack overflow resulting in code execution.  An
attacker can display a specially crafted image to trigger this
vulnerability.

CVE-2017-14448: An exploitable code execution vulnerability exists in the
XCF image rendering functionality of SDL2_image-2.0.2.  A specially crafted
XCF image can cause a heap overflow resulting in code execution.  An
attacker can display a specially crafted image to trigger this
vulnerability.

CVE-2017-14449: A double-Free vulnerability exists in the XCF image
rendering functionality of SDL2_image-2.0.2.  A specially crafted XCF image
can cause a Double-Free situation to occur.  An attacker can display a
specially crafted image to trigger this vulnerability.

CVE-2017-14450: A buffer overflow vulnerability exists in the GIF image
parsing functionality of SDL2_image-2.0.2.  A specially crafted GIF image
can lead to a buffer overflow on a global section.  An attacker can display
an image to trigger this vulnerability.

For details, see the announcement:

https://discourse.libsdl.org/t/sdl-image-2-0-3-released/23958

Also add a hash for the license file while we're at it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 5fb8fbbb3e776a186731ae929244a82ea2db1878)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosdl2: bump version to 2.0.8
Peter Korsgaard [Mon, 30 Apr 2018 12:04:58 +0000 (14:04 +0200)]
sdl2: bump version to 2.0.8

Drop now upstreamed patch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f26654596ecfe40963cb51ba939c00de458fa82e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/python-requests: needs hashlib for python 2
Sven Haardiek [Sun, 29 Apr 2018 12:53:39 +0000 (14:53 +0200)]
package/python-requests: needs hashlib for python 2

Requests need hashlib to run with Python 2. Otherwise it is not possible to
import, due to missing e.g. md5.

[Peter: tweak commit message]
Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 2c2f6f6630294fa256a4f66db5a4ab1f920b0a65)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibtomcrypt: fix headers installation path
Baruch Siach [Sun, 29 Apr 2018 18:29:52 +0000 (21:29 +0300)]
libtomcrypt: fix headers installation path

libtomcrypt installs its headers by default in /usr/local/include under
the staging sysroot. This path is not in the default search patch of
some toolchains. This breaks the build of dropbear. Set the PREFIX make
variable to fix that.

While at it, split the long install command for better readability.

Fixes (dropbear):
http://autobuild.buildroot.net/results/215/2157679e276623ae875d1b31f3e5a68caf586536/
http://autobuild.buildroot.net/results/956/956d254675e6500c19c3bb7ccdf12ce136858720/
http://autobuild.buildroot.net/results/01e/01ec89a81c4ec6e36e2f81b5a9394050a91df654/

Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 73e1f9b0a46ccf55419f43c35ca762a8fdc3b32c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.4.x series
Bernd Kuhls [Sun, 29 Apr 2018 07:17:22 +0000 (09:17 +0200)]
linux-headers: bump 4.4.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 5772a14d0bdd93a144672685c84951e9497b746e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/testing: set $USER in rust tests
Eric Le Bihan [Sat, 28 Apr 2018 22:14:13 +0000 (00:14 +0200)]
support/testing: set $USER in rust tests

When the run-time tests to build rust and rust-bin packages are run via Docker,
the $USER environment variable is not set, which makes cargo fail when
initializing the test project.

So add it to make cargo happy.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 09a5eb427a6d9160e74ab56941640c02334eabf1)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-watchdog: add missing runtime dependency
Yegor Yefremov [Fri, 16 Feb 2018 13:32:01 +0000 (14:32 +0100)]
python-watchdog: add missing runtime dependency

Script watchmedo requires python-setuptools.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 7a801da8eaa0f4c45d20519afd6d653c2ed76248)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-watchdog: add support for uClibc
Yegor Yefremov [Fri, 16 Feb 2018 13:32:00 +0000 (14:32 +0100)]
python-watchdog: add support for uClibc

This patch fixes uClibc detection.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 13d946cbdfcc3e2b3ed2eb11b612e381ea7053b2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcgi: add license file (with its hash)
Fabrice Fontaine [Sat, 28 Apr 2018 12:26:27 +0000 (14:26 +0200)]
libcgi: add license file (with its hash)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b3d74f04a8df1bd0a23ab1ca18f3224ebc90cc4f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/php: security bump to version 7.2.5
Bernd Kuhls [Sat, 28 Apr 2018 09:57:35 +0000 (11:57 +0200)]
package/php: security bump to version 7.2.5

Changelog: http://www.php.net/ChangeLog-7.php#7.2.5

This release fixes several security-related bugs for which no CVE id's
are assigned at the time of writing:

https://bugs.php.net/bug.php?id=76129
https://bugs.php.net/bug.php?id=76130
https://bugs.php.net/bug.php?id=76248
https://bugs.php.net/bug.php?id=76249

Removed patch 0008, applied upstream:
https://github.com/php/php-src/commit/2842aa2a078eb1cad55540b61e7edf111395150d

Re-numbered patch 0009 -> 0008.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e14dc96df9998f35879854c60e61bcb898423900)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: don't remove support files if python chosen
Jonas Zaddach [Tue, 10 Apr 2018 19:37:22 +0000 (12:37 -0700)]
package/gdb: don't remove support files if python chosen

If one wants to use GDB with python support on the target, you need the support
files installed by GDB. These get usually deleted to save some space, so I just
wrapped the Makefile code deleting them in a conditional block depending on if
python support is active or not.

Signed-off-by: Jonas Zaddach <jzaddach@cisco.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - use positive logic "if python is disabled"
 - put the comment inside the condition, as suggested by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit fa5ca6974d2504dccc35f43dcabcf30f076d8685)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/flann: fix build with cmake >= 3.11
Romain Naour [Wed, 25 Apr 2018 21:17:49 +0000 (23:17 +0200)]
package/flann: fix build with cmake >= 3.11

CMake < 3.11 doesn't support add_library() without any source file
(i.e add_library(foo SHARED)). But flann CMake use a trick that use
an empty string "" as source list (i.e add_library(foo SHARED "")).
This look like a bug in CMake < 3.11.

With CMake >= 3.11, the new behaviour of add_library() break the
existing flann CMake code.

>From CMake Changelog [1]:
"add_library() and add_executable() commands can now be called without
 any sources and will not complain as long as sources are added later
 via the target_sources() command."

Note: flann CMake code doesn't use target_sources() since no source file
are provided intentionally since the flann shared library is created by
linking with the flann_cpp_s static library with this line:

target_link_libraries(flann_cpp -Wl,-whole-archive flann_cpp_s -Wl,-no-whole-archive)

If you try to use "add_library(flann_cpp SHARED ${CPP_SOURCES})" (as it should
be normally done), the link fail due to already defined symbol.

They are building the shared version using the static library "to speedup the
build time" [3]

This issue is already reported upstream [2] with a proposed solution.

Fixes:
http://autobuild.buildroot.net/results/b2f/b2febfaf8c44ce477b3e4a5b9b976fd25e8d7454

[1] https://cmake.org/cmake/help/v3.11/release/3.11.html
[2] https://github.com/mariusmuja/flann/issues/369
[3] https://github.com/mariusmuja/flann/commit/0fd62b43be2fbb0b8d791ee36290791224dc030c

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Davide Viti <zinosat@tiscali.it>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0c469478f64d0ddaf72c0622a1830d855306d51c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{14, 16}.x series
Fabio Estevam [Thu, 26 Apr 2018 18:39:10 +0000 (15:39 -0300)]
linux-headers: bump 4.{14, 16}.x series

[Peter: drop 4.16.x change]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit c43b3635cbc4e960cdfd98b53c59dd8bf2cbf67d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump to version 0.0.20180420
Jason A. Donenfeld [Mon, 23 Apr 2018 21:28:28 +0000 (23:28 +0200)]
wireguard: bump to version 0.0.20180420

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 062dcceed0ba0d2b1929597ad9b0393dbdb21628)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump version to 0.0.20180304
Peter Korsgaard [Tue, 13 Mar 2018 06:21:45 +0000 (07:21 +0100)]
wireguard: bump version to 0.0.20180304

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 54e210522faf7dff3e68e22bb802102f891098c8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibgpg-error: bump to version 1.29
Baruch Siach [Tue, 17 Apr 2018 09:37:13 +0000 (12:37 +0300)]
libgpg-error: bump to version 1.29

Drop upstream patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4a92ee34daaf1515a048ce5ae59d9d4c6939de39)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibgpg-error: bump to version 1.28
Baruch Siach [Mon, 26 Mar 2018 19:46:14 +0000 (22:46 +0300)]
libgpg-error: bump to version 1.28

Add upstream patch fixing arm/arm64 targets build failure.

Use the smaller bz2 compressed tarball.

Switch _SITE to https for better security and corporate firewall
compatibility.

Add license files hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 692d191c8b0b3c86022e6a6ba3bd2d8f53b39f03)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognupg2: security bump to version 2.2.6
Baruch Siach [Tue, 17 Apr 2018 09:37:12 +0000 (12:37 +0300)]
gnupg2: security bump to version 2.2.6

Fixes CVE-2018-9234: Unenforced configuration allows for apparently
valid certifications actually signed by signing subkeys.

Remove --disable-doc from configure options. We pass this options to all
autotools packages.

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3db93884a442f6d0742ada5d8ed7818e24223ace)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognupg2: bump to version 2.2.5
Baruch Siach [Wed, 28 Feb 2018 19:00:28 +0000 (21:00 +0200)]
gnupg2: bump to version 2.2.5

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 379c34739082f3906ccf4877b85a2e714606bffe)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibgpgme: fix run-time compatibility with gnupg2 2.2.6
Baruch Siach [Tue, 17 Apr 2018 09:37:11 +0000 (12:37 +0300)]
libgpgme: fix run-time compatibility with gnupg2 2.2.6

Add upstream patch fixing gpgme_op_verify regression with gnupg2 2.2.6.

https://lists.gnupg.org/pipermail/gnupg-users/2018-April/060230.html

Cc: Philipp Claves <claves@budelmann-elektronik.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 5be60127e559d80daf27eea2248f206f9ac6d69c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/testing: fix Marvell ATF source code
Thomas Petazzoni [Mon, 23 Apr 2018 19:59:54 +0000 (21:59 +0200)]
support/testing: fix Marvell ATF source code

The version of the ARM Trusted Firmware from Marvell was a Git branch,
not a Git commit, leading to unreproducible results. So let's use a
Git commit instead, which is the latest available from the branch that
was previously used.

More specifically, this branch has recently seen a fix that is needed
for ATF to build properly with recent gcc versions:

  https://github.com/MarvellEmbeddedProcessors/atf-marvell/commit/c96ec59f8b819123a06e1839ab5578030cf263b0

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ac260a2acec20f30705fdfd3911ff966c1f4a0df)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/solidrun_macchiatobin_*: use a Git commit for ATF
Thomas Petazzoni [Mon, 23 Apr 2018 19:59:53 +0000 (21:59 +0200)]
configs/solidrun_macchiatobin_*: use a Git commit for ATF

The version of the ARM Trusted Firmware from Marvell was a Git branch,
not a Git commit, leading to unreproducible results. So let's use a
Git commit instead, which is the latest available from the branch that
was previously used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c0f8d166214d54cedd4b3d09bccf5bb59205e301)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/testing: fix ATF Vexpress test case
Thomas Petazzoni [Mon, 23 Apr 2018 20:14:56 +0000 (22:14 +0200)]
support/testing: fix ATF Vexpress test case

This test case currently 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 issue has been fixed upstream in commit
10c252c14b7f446c0b49ef1aafbd5d37804577dd, available since v1.3. So
while we bump, let's bump to the latest version of ATF, v1.5.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e74a7cd1e0a85718dfc20dc4d94a5cac051d2514)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 16}.x series
Fabio Estevam [Tue, 24 Apr 2018 10:38:58 +0000 (07:38 -0300)]
linux-headers: bump 4.{4, 9, 14, 16}.x series

[Peter: drop 4.16.x change]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e13a22f17a5041557a080150f1d260181fa99bee)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agombedtls: security bump to version 2.7.2
Baruch Siach [Tue, 24 Apr 2018 11:48:22 +0000 (14:48 +0300)]
mbedtls: security bump to version 2.7.2

The release announcement mentions these security fixes:

  Defend against Bellcore glitch attacks by verifying the results of RSA
  private key operations.

  Fix implementation of the truncated HMAC extension. The previous
  implementation allowed an offline 2^80 brute force attack on the HMAC
  key of a single, uninterrupted connection (with no resumption of the
  session).

  Reject CRLs containing unsupported critical extensions.

  Fix a buffer overread in ssl_parse_server_key_exchange() that could
  cause a crash on invalid input. (CVE-2018-9988)

  Fix a buffer overread in ssl_parse_server_psk_hint() that could cause
  a crash on invalid input. (CVE-2018-9989)

Drop upstream patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit babc94e9dd4a1a04c4a0befdb6d32236a30b8ea8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.9.x series
Bernd Kuhls [Sat, 21 Apr 2018 08:49:58 +0000 (10:49 +0200)]
linux-headers: bump 4.9.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 26148a247f3757b0ee7f24b10f13c0451f25a9ae)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{14, 15, 16}.x series
Fabio Estevam [Fri, 20 Apr 2018 11:53:48 +0000 (08:53 -0300)]
linux-headers: bump 4.{14, 15, 16}.x series

[Peter: drop 4.16.x change]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ea4921d875a45fe03b86b672a432ff2e88268733)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/tcllib: update license to SPDX format
Romain Naour [Fri, 20 Apr 2018 08:29:00 +0000 (10:29 +0200)]
package/tcllib: update license to SPDX format

While at it add the license file hash.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 2c82d7c605e53d3687ff63f31e135ec7ce92ea05)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/tcl: update license to SPDX format
Romain Naour [Fri, 20 Apr 2018 08:28:59 +0000 (10:28 +0200)]
package/tcl: update license to SPDX format

While at it add the license file hash.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8fa4e9792917ae6beb2782ea5938cc4cf0d3f1e7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libcec: disable build infos
Romain Naour [Wed, 18 Apr 2018 21:13:30 +0000 (23:13 +0200)]
package/libcec: disable build infos

Build infos can break the build due to missing terminating " character.

Fixes:
http://autobuild.buildroot.net/results/3b1/3b1182783fc958dfed96c6b1c097993662fc7308

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4600c2444d3df3f709d6656f98e636223e0bc4af)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogrub2: force -fno-stack-protector in CPPFLAGS
Tarek El-Sherbiny [Thu, 19 Apr 2018 08:36:59 +0000 (09:36 +0100)]
grub2: force -fno-stack-protector in CPPFLAGS

In commit 2a27294e9ade6130a12ced9a1f152c51431a870e ("grub2: force
-fno-stack-protector in CFLAGS"), a fix was made to the grub2 package
to make it build properly even when SSP support is enabled.

However, commit 20a4583ebf7fe97ea22a1ea11621dd44a8114ca5 ("security
hardening: add RELFO, FORTIFY options") reworked how SSP options are
passed, and they are now passed in CPPFLAGS instead of CFLAGS, making
the fix introduced by 2a27294e9ade6130a12ced9a1f152c51431a870e no
longer operating.

This commit will force no-stack-protector in CPPFLAGS instead of
CFLAGS.

Fixes bug #10961.

Signed-off-by: Tarek El-Sherbiny <tarek_el-sherbiny@waters.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 523b27afa941bc0a78f7b2eae8e97329c112782d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosyslog-ng: bump version header in conf file to 3.10
Ricardo Martincoski [Thu, 19 Apr 2018 19:14:17 +0000 (16:14 -0300)]
syslog-ng: bump version header in conf file to 3.10

Remove a runtime warning message about configuration file being too old.

Do the same as commit 3dad25466d "syslog-ng: Bump version header in conf
file to 3.9". Package version of syslog-ng is 3.10.1, so bump version
number in syslog-ng.conf to 3.10.

Also add a comment to avoid the same warning message reappears when the
package is bumped.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Cc: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 905f8d814ad21af9c3fd22ececce0824cb20db80)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoscanpypi: add support for the new PyPI infrastructure
Yegor Yefremov [Wed, 18 Apr 2018 09:55:42 +0000 (11:55 +0200)]
scanpypi: add support for the new PyPI infrastructure

https://pypi.python.org URL has been changed to https://pypi.org.

Package's JSON object now contains sha256 checksum, so use it
instead of locally computed one. Change comments in the hash
file accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 6766ff9d12c628332170098de9cff42625a2d0a3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/wmctrl: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Tue, 17 Apr 2018 18:22:08 +0000 (20:22 +0200)]
package/wmctrl: x-includes and x-libraries must be set for cross-compiling

set x-includes and x-libraries configure option for cross-compiling.
wmctrl can use poisoned paths if these options are not passed to
configure script.

Fixes:
http://autobuild.buildroot.net/results/7e5/7e5cba8a5650a00e10d1a5528f38cb2bf772aee1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 046c5e25634bbf827c43617bf1967ab469418908)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agousb_modeswitch: set CXX to false when C++ is missing
Baruch Siach [Tue, 17 Apr 2018 04:00:28 +0000 (07:00 +0300)]
usb_modeswitch: set CXX to false when C++ is missing

Similar to the openocd fix in commit 5966e2dc54 (package/openocd: fix
fallout after no-C++ fixups) the jimctl that is bundled with
usb_modeswitch also wants to find a binary. This broke with commit
4cd1ab158 (core: alternate solution to disable C++). Revert to 'false'
instead of 'no' here as well.

Fixes:
http://autobuild.buildroot.net/results/b4d/b4d4e925763cb6558af915f9781afe07fc557ebc/
http://autobuild.buildroot.net/results/61b/61b9dc2148df2e8fd0b30e62aedbfd30bb755e19/
http://autobuild.buildroot.net/results/468/468a7e6b049f159fbb4e79d3a12b53ca890f6933/

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 107e3ebf45931adfc9c995dbb5db3bf1d17311d3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqt5: qt5websockets: install missing qml modules
Manfred Schlaegl [Wed, 11 Apr 2018 12:40:37 +0000 (14:40 +0200)]
qt5: qt5websockets: install missing qml modules

QML modules for QtWebSockets are located in /usr/qml/QtWebSockets since
Qt 5.5.

/usr/qml/Qt/WebSockets still exists for compatibility reasons, but
it contains only a qmldir file which points to ../../QtWebSockets/.

see also: http://doc.qt.io/qt-5.6/qtwebsockets-qmlmodule.html

Signed-off-by: Manfred Schlaegl <manfred.schlaegl@ginzinger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4f726cef4c5709cf4f894e436b4022989adc9e9f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqt53d: install missing QML modules, plugins and examples
Romain Reignier [Mon, 16 Apr 2018 00:30:43 +0000 (02:30 +0200)]
qt53d: install missing QML modules, plugins and examples

Some files were missing on the first build of qt53d but added later:
- by qt5base for the plugins because it copies the whole /usr/lib/qt/plugins
  directory
- by qt5declarative for the QML modules because it copies the whole
  /usr/qml directory

Also, the qt53d examples were not installed if
BR2_PACKAGE_QT5BASE_EXAMPLES was set.

Signed-off-by: Romain Reignier <rom.reignier@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4fd448c9c1e3ed7ca0f09441bf8a854eb9130190)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosystemd: add compatibility symlink for 'shutdown'
Anssi Hannula [Fri, 13 Apr 2018 12:18:30 +0000 (15:18 +0300)]
systemd: add compatibility symlink for 'shutdown'

In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to
systemctl, add 'shutdown'.

Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 36ed046623129bb879ef50cd40dcc65b27c9da0f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9}.x series
Fabio Estevam [Sat, 14 Apr 2018 00:20:41 +0000 (21:20 -0300)]
linux-headers: bump 4.{4, 9}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 338f32634069ce2610132fa70974a5b429ccc51c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/scripts/fix-rpath: exclude /lib/firmware in the target
Thomas Petazzoni [Thu, 12 Apr 2018 11:50:09 +0000 (13:50 +0200)]
support/scripts/fix-rpath: exclude /lib/firmware in the target

The /lib/firmware directory contains random firmware for various
devices. It happens that some of them might be or appear to be ELF
files, but they shouldn't be checked by fix-rpath. For example, one of
the Qualcomm VPU firmware file appears to be an ELF file, but patchelf
isn't happy about it:

$ ./output/host/bin/patchelf --print-rpath output/target/lib/firmware/qcom/venus-4.2/venus.b00
patchelf: patchelf.cc:387: void ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym>::parse() [with Elf_Ehdr = Elf32_Ehdr; Elf_Phdr = Elf32_Phdr; Elf_Shdr = Elf32_Shdr; Elf_Addr = unsigned int; Elf_Off = unsigned int; Elf_Dyn = Elf32_Dyn; Elf_Sym = Elf32_Sym]: Assertion `shstrtabIndex < shdrs.size()' failed.
Aborted (core dumped)

Even though patchelf definitely shouldn't crash, it anyway doesn't
make sense to check ELF files in /lib/firmware, so let's exclude this
directory from our check.

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>
(cherry picked from commit 184cb52f6d9368c333c79665080e7808c5713117)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{15, 16}.x series
Fabio Estevam [Thu, 12 Apr 2018 11:11:28 +0000 (08:11 -0300)]
linux-headers: bump 4.{15, 16}.x series

[Peter: drop 4.16.x change]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 77ebc428d62ae2b40e723b401bc003f26fcbc601)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibglib2: fix license
Fabrice Fontaine [Mon, 9 Apr 2018 20:21:59 +0000 (22:21 +0200)]
libglib2: fix license

libglib2 is licensed under LGPL-2.1+ and not LGPL-2.0+ since release
2.53.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit fbd809c5f2c826b13d99843bf6fd003f8a5a128f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/uclibc: Fix ffmpeg build on aarch64
Bernd Kuhls [Sun, 28 Jan 2018 15:20:24 +0000 (16:20 +0100)]
package/uclibc: Fix ffmpeg build on aarch64

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoRevert "package/bash: add /bin/bash to /etc/shells"
Arnout Vandecappelle (Essensium/Mind) [Tue, 17 Apr 2018 10:01:09 +0000 (12:01 +0200)]
Revert "package/bash: add /bin/bash to /etc/shells"

Commit 4d279697af added /bin/bash to /etc/shells. In the default
skeleton, however, /etc/shells doesn't exist, so in fact it creates
this file, containing only /bin/bash. Therefore, when bash is selected,
/bin/sh does not appear in /etc/shells and bash is the only shell
allowed. Since /bin/sh is the shell that is used for root in the
default skeleton's /etc/passwd, root is no longer able to log in.

The proper solution is to add all available shells to /etc/shells. For
now, however, just revert commit 4d279697af as a stop-gap measure. That
way, the default situation still works, and only people who update
/etc/passwd with additional logins but don't update /etc/shells will
suffer.

This reverts commit 4d279697afbf8fb295274784103be2b837113d5e.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=10896
Cc: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Romain Naour <romain.naour@smile.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.02.1 2018.02.1
Peter Korsgaard [Mon, 9 Apr 2018 21:51:05 +0000 (23:51 +0200)]
Update for 2018.02.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopatch: add upstream security fix
Baruch Siach [Mon, 9 Apr 2018 16:20:36 +0000 (19:20 +0300)]
patch: add upstream security fix

Fixes CVE-2018-1000156: arbitrary command execution in ed-style patches.

Depend on MMU for now, because the patch adds a fork() call. Upstream
later switched to gnulib provided execute(), so this dependency can be
dropped on the next version bump.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f4a4df2084b923f29eca2130976ca10a7aa6b719)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/linux: fix custom dts files handling
Rafal Susz [Tue, 13 Mar 2018 18:00:05 +0000 (19:00 +0100)]
package/linux: fix custom dts files handling

Custom dts files are still conditionally copied based on non existing
boolean. So it is currently not possible to use custom dts file(s) at all.

List of dts files is now iterated and files are copied into dedicated kernel arch dir.

Signed-off-by: Rafal Susz <rafal.susz@gmail.com>
Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 54157c6c2d9fba5ad230294ae1c7dfc0032b1ede)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/kmod: fix host install
Yann E. MORIN [Sun, 8 Apr 2018 08:11:51 +0000 (10:11 +0200)]
package/kmod: fix host install

The host directory no longer uses /usr.

This currently works because we still have the  legacy /usr
symlink, but for correctness it is better that we just fix it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit dac25351e6453b35ded611ff367b95bb4b10a9cf)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agophp: fix emalloc/efree/estrdup/... undefined references
Thomas Petazzoni [Thu, 5 Apr 2018 21:06:22 +0000 (23:06 +0200)]
php: fix emalloc/efree/estrdup/... undefined references

zend_alloc.h defines some macros such as:

Where _estrdup is the actual function implemented by the PHP core. If
this header file is not included, and some code uses estrdup, one ends
up with an undefined reference. This happens when libexpat support is
enabled. This commit adds a PHP patch that fixes this issue. The patch
has been submitted upstream through a Github pull request.

Fixes:

  http://autobuild.buildroot.net/results/889d2c1f509c035cd506e36061939bfddc8f1500/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit fc4b66dbc1b71e871129ce14b289fcda6eb3ea10)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireshark: bump version to 2.2.14 (security)
André Hentschel [Sat, 7 Apr 2018 12:59:03 +0000 (14:59 +0200)]
wireshark: bump version to 2.2.14 (security)

Security fixes since 2.2.12:

- wnpa-sec-2018-15
  The MP4 dissector could crash. (Bug 13777)
- wnpa-sec-2018-16
  The ADB dissector could crash. (Bug 14460)
- wnpa-sec-2018-17
  The IEEE 802.15.4 dissector could crash. (Bug 14468)
- wnpa-sec-2018-18
  The NBAP dissector could crash. (Bug 14471)
- wnpa-sec-2018-19
  The VLAN dissector could crash. (Bug 14469)
- wnpa-sec-2018-20
  The LWAPP dissector could crash. (Bug 14467)
- wnpa-sec-2018-23
  The Kerberos dissector could crash. (Bug 14576)
- wnpa-sec-2018-05
  The IEEE 802.11 dissector could crash. Bug 14442, CVE-2018-7335
- wnpa-sec-2018-06
  Multiple dissectors could go into large infinite loops. All ASN.1 BER dissectors (Bug 14444), along with the DICOM (Bug 14411), DMP (Bug 14408), LLTD (Bug 14419), OpenFlow (Bug 14420), RELOAD (Bug 14445), RPCoRDMA (Bug 14449), RPKI-Router (Bug 14414), S7COMM (Bug 14423), SCCP (Bug 14413), Thread (Bug 14428), Thrift (Bug 14379), USB (Bug 14421), and WCCP (Bug 14412) dissectors were susceptible.
- wnpa-sec-2018-07
  The UMTS MAC dissector could crash. Bug 14339, CVE-2018-7334
- wnpa-sec-2018-09
  The FCP dissector could crash. Bug 14374, CVE-2018-7336
- wnpa-sec-2018-10
  The SIGCOMP dissector could crash. Bug 14398, CVE-2018-7320
- wnpa-sec-2018-11
  The pcapng file parser could crash. Bug 14403, CVE-2018-7420
- wnpa-sec-2018-12
  The IPMI dissector could crash. Bug 14409, CVE-2018-7417
- wnpa-sec-2018-13
  The SIGCOMP dissector could crash. Bug 14410, CVE-2018-7418
-  wnpa-sec-2018-14
  The NBAP disssector could crash. Bug 14443, CVE-2018-7419

Full release notes:

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

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c5c87c2bb61efb31421b345bdbf6931b882ff6a9)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.15.16
Fabio Estevam [Sun, 8 Apr 2018 14:04:04 +0000 (11:04 -0300)]
linux: bump default to version 4.15.16

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit bbbcfa57f80d239f94669586cadad4e14f073a5f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 15}.x series
Fabio Estevam [Sun, 8 Apr 2018 14:00:51 +0000 (11:00 -0300)]
linux-headers: bump 4.{4, 9, 14, 15}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 2661d47425f866cf56617d2928b6b96566db8de4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoboard/atmel: use correct sam-ba binary in flasher.sh script
Joshua Henderson [Thu, 5 Apr 2018 21:34:41 +0000 (14:34 -0700)]
board/atmel: use correct sam-ba binary in flasher.sh script

Instead of using the install of sam-ba under host/opt directly, use the symlink
created in host/bin.  The side effect of doing this instead allows the correct
sam-ba binary to be used based on the host arch being 32 bit or 64 bit.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e1452fe8434c4613d1727034db525c0a9bbc6dfd)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>