buildroot.git
5 years agopackage/x11r7/xlib_libX11: bump version to 1.6.8
Bernd Kuhls [Sat, 22 Jun 2019 18:17:43 +0000 (20:17 +0200)]
package/x11r7/xlib_libX11: bump version to 1.6.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xfont_encodings: bump version to 1.0.5
Bernd Kuhls [Sat, 22 Jun 2019 18:15:28 +0000 (20:15 +0200)]
package/x11r7/xfont_encodings: bump version to 1.0.5

Added all hashes provided by upstream, added license hash.

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xlib_libXi: bump version to 1.7.10
Bernd Kuhls [Sat, 22 Jun 2019 18:11:51 +0000 (20:11 +0200)]
package/x11r7/xlib_libXi: bump version to 1.7.10

Added all hashes provided by upstream, added license hash.

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: fix build without C++
Fabrice Fontaine [Sun, 23 Jun 2019 08:25:51 +0000 (10:25 +0200)]
package/libvncserver: fix build without C++

Fixes:
 - http://autobuild.buildroot.org/results/16aaa4e86a2dbf1acf95f10d5131b0f7b8a3d61a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xorgproto: enable legacy
Fabrice Fontaine [Sun, 23 Jun 2019 08:13:42 +0000 (10:13 +0200)]
package/xorgproto: enable legacy

xproxymngproto is needed by xfindproxy but it is now disabled by default
Enable it thanks to --enable-legacy

Fixes:
 - http://autobuild.buildroot.org/results/4b21400c36e8ba7a8222f9da962f79e42c6146d3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/harfbuzz: fix build with cairo
Fabrice Fontaine [Sun, 23 Jun 2019 07:59:07 +0000 (09:59 +0200)]
package/harfbuzz: fix build with cairo

harfbuzz needs svg support on cairo

Fixes:
 - http://autobuild.buildroot.org/results/f6c0b85fa476e0f52cc06f0133d2e4f9920f7556

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/mv-ddr-marvell: fix build with GCC 8
Baruch Siach [Sun, 23 Jun 2019 04:51:01 +0000 (07:51 +0300)]
boot/mv-ddr-marvell: fix build with GCC 8

Add upstream patch fixing a build warning that is considered as error.

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/efivar: bump version to 37
James Hilliard [Sun, 23 Jun 2019 02:46:14 +0000 (20:46 -0600)]
package/efivar: bump version to 37

Backport patches required to build with gcc-9.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/whois: bump to version 5.4.3
Pierre-Jean Texier [Sat, 22 Jun 2019 21:18:33 +0000 (23:18 +0200)]
package/whois: bump to version 5.4.3

See changelog:
 - https://github.com/rfc1036/whois/blob/master/debian/changelog

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/monit: bump to version 5.25.3
Fabrice Fontaine [Sat, 22 Jun 2019 19:14:35 +0000 (21:14 +0200)]
package/monit: bump to version 5.25.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: switch to gcc 8.x as the default
Romain Naour [Thu, 20 Jun 2019 10:07:18 +0000 (12:07 +0200)]
package/gcc: switch to gcc 8.x as the default

Even if gcc 7 is still maintained for some time (gcc 7.5 is pending),
switch to gcc 8.x since it has been released since 2018-05-02 and
gcc 9.x is available since 2019-05-03.

We have been having toolchains in the autobuilders with gcc
8.x for a while, so the vast majority of the problems should have
already been solved.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: add gcc 9 entry
Romain Naour [Thu, 20 Jun 2019 10:07:17 +0000 (12:07 +0200)]
toolchain-external: add gcc 9 entry

This patch allows to use an external toolchain based on gcc 9.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_9
Romain Naour [Thu, 20 Jun 2019 10:07:16 +0000 (12:07 +0200)]
arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_9

This new symbol will be used by architectures introduced with gcc 9 and
by external toolchains based on gcc 9.

[1] https://gcc.gnu.org/gcc-9/changes.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: add support for gcc 9.1
Romain Naour [Thu, 20 Jun 2019 10:07:15 +0000 (12:07 +0200)]
package/gcc: add support for gcc 9.1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: don't allow gcc 9.x for powerpc spe]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: add gcc 9 entry
Romain Naour [Thu, 20 Jun 2019 10:07:14 +0000 (12:07 +0200)]
toolchain: add gcc 9 entry

In order to add gcc 9 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_9 symbol.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uclibc: backport patch to remove asm constraint on sparc
Romain Naour [Thu, 20 Jun 2019 10:07:13 +0000 (12:07 +0200)]
package/uclibc: backport patch to remove asm constraint on sparc

uClibc-ng don't build with gcc 9.1 [1] on sparc due to a new check
that "catch illegal asm constraint usage" [2]. This issue has been
fixed in upstream uclibc-ng, so we simply backport the fix.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: backport the patch that was applied to upstream uclibc-ng]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: disable Werror for powerpc kernels
Romain Naour [Thu, 20 Jun 2019 10:07:12 +0000 (12:07 +0200)]
linux: disable Werror for powerpc kernels

>From patch [1] included in kernel >= 5.0:
"The upcoming GCC 9 release extends the -Wmissing-attributes warnings
(enabled by -Wall) to C and aliases: it warns when particular function
attributes are missing in the aliases but not in their target.

In particular, it triggers for all the init/cleanup_module
aliases in the kernel (defined by the module_init/exit macros),
ending up being very noisy.

These aliases point to the __init/__exit functions of a module,
which are defined as __cold (among other attributes). However,
the aliases themselves do not have the __cold attribute.

Since the compiler behaves differently when compiling a __cold
function as well as when compiling paths leading to calls
to __cold functions, the warning is trying to point out
the possibly-forgotten attribute in the alias."

Werror is set by default while building ppc kernel [2], but
some warning can be introduced while building current kernel with
newer compiler (for example building kernel 4.19 with gcc 9.1).

For the same reason why we remove Werror in packages's compiler
flags. Building with Werror is not bulletproof when we start
using a newer compiler that introduce new warnings.
This is the case here.

Also this option is a bit strange since it's specific to ppc kernels:
"The intention is to make it harder for people to inadvertantly
introduce warnings in the arch/powerpc code."
Other kernel developers on other arch may be interested by a
similar/more generic option.

So, It's clearly intended for kernel developers.

Instead of backporting this patch [1] to kernel 4.19, select
unconditionally the Kconfig option CONFIG_PPC_DISABLE_WERROR
that allow to disable Werror.

Fixes:
https://gitlab.com/kubu93/toolchains-builder/-/jobs/205435741

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=a6e60d84989fa0e91db7f236eda40453b0e44afa
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=ba55bd74360ea4b8b95e73ed79474d37ff482b36
[3] https://gitlab.com/bootlin/toolchains-builder

Fix-suggested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libtorrent-rasterbar: work around gcc bug 85180
Giulio Benetti [Tue, 18 Jun 2019 08:45:35 +0000 (10:45 +0200)]
package/libtorrent-rasterbar: work around gcc bug 85180

On Microblaze, building libtorrent-rasterbar with gcc version < 8.x
and optimization enabled causes gcc to enter an infinite loop and
hangs the build.

This is due to gcc bug 85180
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180).

The bug shows up when building libtorrent-rasterbar with optimization
but not when building with -O0. To work around this, if
BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we force using -O0.

Fixes:
http://autobuild.buildroot.net/results/410/410e75676abc6bbabe9029ecda969e3d909f3e18/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5base: work around gcc bug 90620
Giulio Benetti [Tue, 18 Jun 2019 08:45:34 +0000 (10:45 +0200)]
package/qt5/qt5base: work around gcc bug 90620

On Microblaze, with gcc versions <= 9.x and optimization enabled, the
build fails with:

  internal compiler error: in do_output_reload, at reload1.c:7978

This is due to gcc bug 90620
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620). The bug shows up
when building qt5base (or other qt5 modules) with optimization but not
when building with -O0. To work around this bug, if
BR2_TOOLCHAIN_HAS_GCC_BUG_90620=y we force using -O0.

Fixes:
http://autobuild.buildroot.net/results/4e5/4e563f5fc38ec681a730a576c5f056bc092db74e/
http://autobuild.buildroot.net/results/348/3482bd950c7ab5608666807a7ab7ea857c767333/
http://autobuild.buildroot.net/results/835/8351e3fbd6a39d05da6a6e7a978329d718dfc109/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: gcc bug 90620 has not been fixed in gcc 8.x
Giulio Benetti [Tue, 18 Jun 2019 08:45:33 +0000 (10:45 +0200)]
toolchain: gcc bug 90620 has not been fixed in gcc 8.x

gcc bug 90620 appears with gcc 8.x so remove the version check
dependency and keep only the BR2_microblaze one.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5base: disable predefined -Og optimization
Giulio Benetti [Tue, 18 Jun 2019 08:45:32 +0000 (10:45 +0200)]
package/qt5/qt5base: disable predefined -Og optimization

Starting from Qt5 5.9.0, -optimize-debug is enabled by default for
debug builds causing -Og flag to be appended to CFLAGS and
consequently override TARGET_CFLAGS. We don't want this so let's pass
-no-optimize-debug to QT5BASE_CONFIGURE_OPTS if QT5_VERSION_LATEST=y.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xorgproto: bump version to 2019.1
Bernd Kuhls [Sat, 22 Jun 2019 18:06:39 +0000 (20:06 +0200)]
package/x11r7/xorgproto: bump version to 2019.1

Release notes:
https://lists.x.org/archives/xorg-announce/2019-June/003000.html

Switched _SITE to https.

Removed COPYING-panoramixproto from licenses, it was removed upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: Remove Markos Chandras
Bernd Kuhls [Sat, 22 Jun 2019 18:01:31 +0000 (20:01 +0200)]
DEVELOPERS: Remove Markos Chandras

Email bounces:

<markos.chandras@imgtec.com>: host
    mxa-00376f01.gslb.pphosted.com[185.132.180.163] said: 550 5.1.1 User
    Unknown (in reply to RCPT TO command)

Last mailing list postings date back to 2015.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/eudev: bump version to 3.2.8
Bernd Kuhls [Sat, 22 Jun 2019 17:59:53 +0000 (19:59 +0200)]
package/eudev: bump version to 3.2.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/harfbuzz: bump version to 2.5.2
Bernd Kuhls [Sat, 22 Jun 2019 17:54:54 +0000 (19:54 +0200)]
package/harfbuzz: bump version to 2.5.2

Upstream switched tarball to .xz

Updated license hash for COPYING after upstream commit:
https://github.com/harfbuzz/harfbuzz/commit/8ed7655be89c658219ab702e34a79734ba0efb73

Removed license file src/hb-ucdn/COPYING after upstream commit
https://github.com/harfbuzz/harfbuzz/commit/65392b734e38668b870b1ffcbfb4b42ec289ef58
removed src/hb-ucdn/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/freetype: bump version to 2.10.0
Bernd Kuhls [Sat, 22 Jun 2019 17:43:56 +0000 (19:43 +0200)]
package/freetype: bump version to 2.10.0

Changelog:
https://sourceforge.net/projects/freetype/files/freetype2/2.10.0/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libbluray: bump version to 1.1.2
Bernd Kuhls [Sat, 22 Jun 2019 17:36:23 +0000 (19:36 +0200)]
package/libbluray: bump version to 1.1.2

Changelog:
https://code.videolan.org/videolan/libbluray/blob/master/ChangeLog

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/postgresql: security bump version to 11.4
Bernd Kuhls [Sat, 22 Jun 2019 17:30:50 +0000 (19:30 +0200)]
package/postgresql: security bump version to 11.4

Release notes: https://www.postgresql.org/docs/11/release-11-4.html

Fixes CVE-2019-10164.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dmalloc: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:39 +0000 (23:03 +0200)]
package/dmalloc: re-enable package on microblaze

Building dmalloc on Microblaze with optimization enabled and gcc < 8.x
fails with:

  Error: operation combines symbols in different segments

This is due to gcc bug 63261 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261).

To avoid this, the dmalloc package has a !BR2_microblaze
dependency. However, gcc bug 63261 only triggers when optimization is
enabled, so we can work around the issue by passing -O0, which is what
we do in other Buildroot packages to work around this bug.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_63261, and
re-enables dmalloc on Microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fxload: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:38 +0000 (23:03 +0200)]
package/fxload: re-enable package on microblaze

Building fxload on Microblaze with gcc < 8.x and optimization enabled
fails with:

  Error: operation combines symbols in different segments

This is due to gcc bug 63261
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261).

To work around this, the fxload package has a !BR2_microblaze
dependency. However, gcc bug 63261 only triggers when optimization is
enabled, so a better work around is to pass -O0, which is what we do
in other Buildroot packages to work around this bug.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_63261, and
re-enables fxload on Microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_63261
Giulio Benetti [Fri, 14 Jun 2019 21:03:37 +0000 (23:03 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_63261

dmalloc and fxload fail to build for the Microblaze architecture with
optimization enabled with gcc < 8.x, with the following failure:

  Error: PC relative branch to label logerror which is not in the instruction space
  Error: operation combines symbols in different segments

The following defconfig allows to reproduce the issue:

BR2_microblazeel=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_5_0=y
BR2_GCC_VERSION_7_X=y
BR2_PACKAGE_FXLOAD=y

The gcc bug was reported at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261 and is fixed as of
gcc 8.x.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/vlc: bump version to 3.0.7.1
Bernd Kuhls [Sat, 22 Jun 2019 17:22:45 +0000 (19:22 +0200)]
package/vlc: bump version to 3.0.7.1

Fixes green-flickering bug with Windows AMD drivers:
https://forum.videolan.org/viewtopic.php?p=492405#p492405

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/samba4: security bump version to 4.9.9
Bernd Kuhls [Sat, 22 Jun 2019 17:20:45 +0000 (19:20 +0200)]
package/samba4: security bump version to 4.9.9

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

Fixes CVE-2019-12435.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/znc: security bump version to 1.7.4
Bernd Kuhls [Sat, 22 Jun 2019 17:02:51 +0000 (19:02 +0200)]
package/znc: security bump version to 1.7.4

Changelog: https://wiki.znc.in/ChangeLog/1.7.4

Fixes CVE-2019-12816:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12816

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: add optional systemd dependency
Fabrice Fontaine [Sat, 22 Jun 2019 16:38:55 +0000 (18:38 +0200)]
package/libvncserver: add optional systemd dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing/infra/emulator: increase memory size used by Qemu
Thomas Petazzoni [Fri, 21 Jun 2019 20:27:24 +0000 (22:27 +0200)]
support/testing/infra/emulator: increase memory size used by Qemu

By default, Qemu emulates a system with 128 MB of RAM. This is not
sufficient for some test cases we have, such as TestPerlDBDmysql,
where the initramfs is quite large. Therefore, this commit extends the
RAM size emulated by Qemu to 256 MB.

Fixes:

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

Thanks to Arnout for the analysis of the issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-periphery: new package
Pierre-Jean Texier [Thu, 20 Jun 2019 18:38:13 +0000 (20:38 +0200)]
package/python-periphery: new package

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: bump to version 0.9.12
Fabrice Fontaine [Sat, 22 Jun 2019 13:33:10 +0000 (15:33 +0200)]
package/libvncserver: bump to version 0.9.12

- Remove patch (already in version)
- autotools is no more available, switch to cmake
- Disable ffmpeg (used for example)
- Add LZO dependency (to avoid using internal LZO) through the new
  WITH_LZO option added by
  https://github.com/LibVNC/libvncserver/commit/139da17b6ed0ccd1acd824a87972182834671f92
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: fix homepage
Fabrice Fontaine [Sat, 22 Jun 2019 13:33:09 +0000 (15:33 +0200)]
package/libvncserver: fix homepage

libvncserver homepage is https://libvnc.github.io/, last version on
sourceforge is 0.9.9 (seven years ago)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: simplify the [ -> test symlink
Yann E. MORIN [Sat, 22 Jun 2019 13:19:36 +0000 (15:19 +0200)]
package/coreutils: simplify the [ -> test symlink

Wheter we are mutli-call or multi-binaries, test is either a symlink to
coreutils or a standalone binary.

Consequently, test always exists, and so we can simplify the [ symlink.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Markus Mayer <mmayer@broadcom.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gptfdisk: bump to version 1.0.4
Fabrice Fontaine [Sat, 22 Jun 2019 11:58:07 +0000 (13:58 +0200)]
package/gptfdisk: bump to version 1.0.4

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/alsa-utils: bump to version 1.1.9
Pierre-Jean Texier [Sat, 22 Jun 2019 11:55:58 +0000 (13:55 +0200)]
package/alsa-utils: bump to version 1.1.9

Also remove the patch that have been upstreamed

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gerbera: bump to version 1.3.2
Fabrice Fontaine [Sat, 22 Jun 2019 11:46:40 +0000 (13:46 +0200)]
package/gerbera: bump to version 1.3.2

Remove patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: add C-SKY qemu support
Guo Ren [Mon, 3 Jun 2019 12:28:07 +0000 (20:28 +0800)]
package/qemu: add C-SKY qemu support

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: move patches to a per version directory
Guo Ren [Mon, 3 Jun 2019 12:28:06 +0000 (20:28 +0800)]
package/qemu: move patches to a per version directory

This is done in preparation to the introduction of the support for a
different Qemu version, used on the C-SKY architecture.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lmbench: install the lmbench script on the target
Markus Mayer [Thu, 13 Jun 2019 19:50:47 +0000 (12:50 -0700)]
package/lmbench: install the lmbench script on the target

We want to install the lmbench script along with the other executables,
so we add it to the appropriate list.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lmbench: mark scripts/build as bash script
Markus Mayer [Thu, 13 Jun 2019 19:50:46 +0000 (12:50 -0700)]
package/lmbench: mark scripts/build as bash script

scripts/build makes use of the "+=" operator which is not supported by
a pure POSIX shell. We switch to /bin/bash in order to avoid errors of
the form:

    ../scripts/build: 21: ../scripts/build: LDLIBS+= -lm: not found

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: create ping6 symlink
Petr Vorel [Wed, 19 Jun 2019 21:30:08 +0000 (23:30 +0200)]
package/iputils: create ping6 symlink

Upstream expect distros will do it, see
https://github.com/iputils/iputils/commit/ebad35fee3de851b809c7b72ccc654a72b6af61d

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: update upstream status of patches
Petr Vorel [Wed, 19 Jun 2019 21:30:07 +0000 (23:30 +0200)]
package/iputils: update upstream status of patches

Patch 0002-meson.build-fix-static-build-with-gcrypt.patch replaced with
0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: re-enable traceroute6
Petr Vorel [Wed, 19 Jun 2019 21:30:06 +0000 (23:30 +0200)]
package/iputils: re-enable traceroute6

Bump to s20190515 removed traceroute6 build (it's not built by default
since this version in upstream). Reenable it again.

Fixes: 9ffcd9279e ("package/iputils: bump to version s20190515")
This requires fix similar to one in 0003-meson.build-fix-build-with-NLS.patch [1]

traceroute6 is in /usr/sbin, so no need to handle busybox problem
(6e18892733 "package/iputils: move binaries to the location also used by
Busybox").

[1] http://autobuild.buildroot.org/results/0a8a3efe734ac7fb3a68ba505277681857dc0a3d

Suggested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/davfs2: bump to version 1.5.5
Fabrice Fontaine [Wed, 19 Jun 2019 21:49:26 +0000 (23:49 +0200)]
package/davfs2: bump to version 1.5.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: add libidn2 support
Fabrice Fontaine [Thu, 20 Jun 2019 16:23:24 +0000 (18:23 +0200)]
package/dnsmasq: add libidn2 support

libidn2 is preferred over libidn, see src/util.c:
 #if defined(HAVE_LIBIDN2)
 #include <idn2.h>
 #elif defined(HAVE_IDN)
 #include <idna.h>
 #endif

So select libidn2 if libidn is not enabled

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/util-linux: bump to version 2.34
Carlos Santos [Fri, 21 Jun 2019 01:42:32 +0000 (22:42 -0300)]
package/util-linux: bump to version 2.34

- Remove patches already applied upstream.
- Update file hash.
- Add an option to select the new "hardlink" command (off by default)
- hardlink uses libpcre2-8 if pcre2 is detected at config time so add a
  build dependency on pcre2, if it's selected.
- Change selections to reflect that libblkid now does not depend on
  libuuid anymore

Full release notes available at

  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.34/v2.34-ReleaseNotes

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openssh: bump to version 8.0p1
Adam Duskett [Fri, 21 Jun 2019 16:46:28 +0000 (12:46 -0400)]
package/openssh: bump to version 8.0p1

Also remove upstream patches.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libressl: bump to version 2.9.2
Adam Duskett [Fri, 21 Jun 2019 16:40:27 +0000 (12:40 -0400)]
package/libressl: bump to version 2.9.2

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: fix build with ubus and NLS
Fabrice Fontaine [Fri, 21 Jun 2019 16:48:56 +0000 (18:48 +0200)]
package/dnsmasq: fix build with ubus and NLS

Fixes:
 - http://autobuild.buildroot.org/results/c0b27754b7ede024c095bdf0b3616e6f6be48c6d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uboot-tools: fix legal-info
Pierre-Jean Texier [Fri, 21 Jun 2019 20:22:30 +0000 (22:22 +0200)]
package/uboot-tools: fix legal-info

Add hash for LICENSE file

Fixes:

$: make uboot-tools-legal-info
 >>> uboot-tools 2019.04 Collecting legal info
 ERROR: No hash found for Licenses/gpl-2.0.txt

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uboot-tools: bump to version 2019.04
Pierre-Jean Texier [Fri, 21 Jun 2019 20:22:29 +0000 (22:22 +0200)]
package/uboot-tools: bump to version 2019.04

- Bump to version 2019.04.
 - remove the patch that have been upstreamed.
 - Refresh patches for the new version.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pycairo: new package
Matt Weber [Fri, 21 Jun 2019 20:19:55 +0000 (15:19 -0500)]
package/python-pycairo: new package

A Python module providing bindings for the cairo graphics library.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-daemon: add hashes for license files
Pierre-Jean Texier [Fri, 21 Jun 2019 12:44:23 +0000 (14:44 +0200)]
package/python-daemon: add hashes for license files

Fixes:

$: make python-daemon-legal-info
 >>> python-daemon 2.2.3 Collecting legal info
 ERROR: No hash found for LICENSE.ASF-2
 ERROR: No hash found for LICENSE.GPL-3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-daemon: bump to version 2.2.3
Pierre-Jean Texier [Fri, 21 Jun 2019 12:44:22 +0000 (14:44 +0200)]
package/python-daemon: bump to version 2.2.3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage: remove non-conventional prefix/suffix from tarball-fetched packages
Victor Huesca [Wed, 12 Jun 2019 06:42:09 +0000 (08:42 +0200)]
package: remove non-conventional prefix/suffix from tarball-fetched packages

While most projects name their tarball <name>-<version>, where
<version> is just the version number, some other projects add some
prefix and/or suffix to their version number.

In Buildroot, we currently encode the full version (with its
prefix/suffix) in the <pkg>_VERSION variable. However, that doesn't
work well to match version numbers with the release-monitoring.org
website, which filters such prefixes/suffixes.

This commit therefore removes the prefix/suffix from tarball-fetched
packages. The name of the files being downloaded does not change.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/pseudo: remove package
Fabrice Fontaine [Sun, 26 May 2019 15:43:37 +0000 (17:43 +0200)]
package/pseudo: remove package

pseudo is not used and fails to build without xattr so remove it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-txdbus: new package
Matt Weber [Fri, 31 May 2019 17:16:53 +0000 (12:16 -0500)]
package/python-txdbus: new package

Implements a native Python implementation of DBus for Twisted.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-tinyrpc: new package
Matt Weber [Fri, 31 May 2019 17:16:52 +0000 (12:16 -0500)]
package/python-tinyrpc: new package

A protocol neutral RPC library that supports JSON-RPC and zmq.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-iptables: new package
Matt Weber [Fri, 31 May 2019 17:16:50 +0000 (12:16 -0500)]
package/python-iptables: new package

This package provides Python bindings for iptables.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: add license file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-colorama: new package
Matt Weber [Fri, 31 May 2019 17:16:49 +0000 (12:16 -0500)]
package/python-colorama: new package

This package provides a simple cross-platform API for printing
colored terminal text.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/opencv: fix build due to gcc bug 68485
Fabrice Fontaine [Sat, 1 Jun 2019 10:20:32 +0000 (12:20 +0200)]
package/opencv: fix build due to gcc bug 68485

With Microblaze Gcc version <= 9.x the build fails due to gcc bug 68485:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. The bug show up when
building opencv with optimization but not when building with -O0. To
work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_68458=y, we force using
-O0.

Fixes:
 - http://autobuild.buildroot.org/results/17fff0f312ebd520ba3341976ba56fd8c85ee376

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xapp_mkfontdir: remove package
Bernd Kuhls [Sun, 2 Jun 2019 10:45:19 +0000 (12:45 +0200)]
package/x11r7/xapp_mkfontdir: remove package

app_mkfontscale now includes the mkfontdir script:
https://lists.x.org/archives/xorg-announce/2019-March/002988.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xfont_font-*: remove host-xapp_mkfontdir dependency
Bernd Kuhls [Sun, 2 Jun 2019 10:45:18 +0000 (12:45 +0200)]
package/x11r7/xfont_font-*: remove host-xapp_mkfontdir dependency

x11r7/xapp_mkfontscale as of version 1.2.1 includes the mkfontdir
script. This patch removes the now unneeded dependency to host-xapp_
mkfontdir in preparation for the removal of the xapp_mkfontdir package.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xapp_mkfontscale: bump version to 1.2.1
Bernd Kuhls [Sun, 2 Jun 2019 10:45:17 +0000 (12:45 +0200)]
package/x11r7/xapp_mkfontscale: bump version to 1.2.1

Updated license hash after upstream commit
https://gitlab.freedesktop.org/xorg/app/mkfontscale/commit/8609ad731b9c9c670a815c915055ae416d2396d8

Release notes:
https://lists.x.org/archives/xorg-announce/2019-March/002988.html

This version bump "now includes the mkfontdir script previously
distributed separately for compatibility with older X11 versions."

Removing the buildroot package host-xapp_mkfontdir will be done by
subsequent patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xserver_xorg-server: bump version to 1.20.5
Bernd Kuhls [Sun, 2 Jun 2019 10:03:21 +0000 (12:03 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.20.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/at91bootstrap3: bump to version 3.8.12
Pierre-Jean Texier [Mon, 3 Jun 2019 18:59:38 +0000 (20:59 +0200)]
boot/at91bootstrap3: bump to version 3.8.12

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/Config.in.nds32: force syntax colouring to kconfig
Yann E. MORIN [Mon, 3 Jun 2019 19:19:51 +0000 (21:19 +0200)]
arch/Config.in.nds32: force syntax colouring to kconfig

It is too sad when an editor picks up the wrong syntax...

Like was done in e837837791 for all the other archs, force
syntax to kconfig for nds32 too.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Nylon Chen <nylon7@andestech.com>
Reviewed-by:Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: allow building as individual binaries
Markus Mayer [Fri, 7 Jun 2019 02:15:34 +0000 (19:15 -0700)]
package/coreutils: allow building as individual binaries

We add configuration option BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES
so that coreutils can be built and installed as individual binaries.
It can be used if the target file system doesn't support symlinks or
symlinks are undesirable.

The approach is modelled after Busybox's similarly named configuration
option.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
[Thomas: adjust to previous preparation commits.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: split COREUTILS_CLEANUP and use better names
Thomas Petazzoni [Thu, 20 Jun 2019 18:35:58 +0000 (20:35 +0200)]
package/coreutils: split COREUTILS_CLEANUP and use better names

The COREUTILS_CLEANUP macro naming is a bit weird. In addition, it
does two unrelated things, and the introduction of support for
building coreutils as individual binaries will require splitting it
up.

So let's do this split as a preparation commit, and use better names
for both resulting macros.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: rename COREUTILS_CLEANUP_BIN to a more sensible name
Thomas Petazzoni [Thu, 20 Jun 2019 18:34:21 +0000 (20:34 +0200)]
package/coreutils: rename COREUTILS_CLEANUP_BIN to a more sensible name

COREUTILS_CLEANUP_BIN doesn't mean much, what it really does is fixing
the location of binaries, so let's rename to a more sensible name.

This is done in preparation to the introduction of support for
building coreutils as individual binaries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luasyslog: new package
Francois Perrad [Wed, 12 Jun 2019 19:09:28 +0000 (21:09 +0200)]
package/luasyslog: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cups: bump to version 2.2.11 and add gzip fix
Sam Bobroff [Tue, 18 Jun 2019 05:38:52 +0000 (15:38 +1000)]
package/cups: bump to version 2.2.11 and add gzip fix

This patch bumps cups to version 2.2.11 so that an upstream fix will
apply cleanly.

The upstream fix corrects a build failure when GZIP is set in the
build environment, as it is for buildroot's reproducible builds, as
shown below:

gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
Makefile:114: recipe for target 'install-data' failed

The patch will be included upstream in version 2.2.12.

Fixes:
 - http://autobuild.buildroot.net/results/c4e0f6a3c79c9cb083a08f811b7d4838efef50f9/

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/download/git: fix formatting of error message
John Keeping [Wed, 19 Jun 2019 15:05:26 +0000 (16:05 +0100)]
support/download/git: fix formatting of error message

'.' should be at the end of the sentence, not the beginning of a new
line.

Signed-off-by: John Keeping <john@metanate.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/haproxy: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:41 +0000 (23:03 +0200)]
package/haproxy: re-enable package on microblaze

With Microblaze ccc version < 8.x and optimization, the build fails
with;

  'internal compiler error: in do_output_reload, at reload1.c:7978'

This is due to gcc bug 90620:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620. To avoid this, the
haproxy package has a !BR2_microblaze dependency. However, this gcc
bug 90620 only triggers when optimization is enabled, so we can work
around the issue by passing -O0, which is what we do in other
Buildroot packages to work around similar Microblaze issues.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_90620, and
re-enables haproxy on Microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_90620
Giulio Benetti [Fri, 14 Jun 2019 21:03:40 +0000 (23:03 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_90620

GCC fails building the haproxy package for the Microblaze architecture:

  http://autobuild.buildroot.org/results/64706f96db793777de9d3ec63b0a47d776cf33fd/

The gcc bug was originally reported gpsd:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620

This gcc bug no longer appeared with gcc 8.x but reappeared in gcc
9.x, so we introduce a config symbol so that packages can work it
around by disabling optimization.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashbench: remove old toolchain microblaze & sh2a workaround
Giulio Benetti [Fri, 14 Jun 2019 21:03:46 +0000 (23:03 +0200)]
package/flashbench: remove old toolchain microblaze & sh2a workaround

The old binary Microblaze and Sh2a toolchains were affected by Glibc
Bug 1228: https://sourceware.org/bugzilla/show_bug.cgi?id=1228 that
has been fixed in 2005, so let's remove actual work around:
'FLASHBENCH_CFLAGS += -std=gnu99' for both BR2_microblaze and BR2_sh2a
and remove local FLASHBENCH_CFLAGS in favour of TARGET_CFLAGS.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sqlite: work around build timeout on Microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:45 +0000 (23:03 +0200)]
package/sqlite: work around build timeout on Microblaze

With Microblaze Gcc version 4.9 build hangs due to a bug discovered
for Gcc 4.9 only. Since Gcc 4.9 is not maintaned anymore it doesn't
make sense to report this bug in Gcc bugzilla and use
BR2_TOOLCHAIN_HAS_GCC_BUG_. So let's check if we're building for
Microblaze with Gcc version < 5.x and work around the bug forcing the
use of -O0.

To reproduce this bug build with following defconfig:
'
BR2_microblazeel=y
BR2_ENABLE_DEBUG=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_5_0=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_GCC_VERSION_4_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TOOLCHAIN_BUILDROOT_FORTRAN=y
BR2_GCC_ENABLE_LTO=y
BR2_PACKAGE_SQLITE=y
'

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tvheadend: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:43 +0000 (23:03 +0200)]
package/tvheadend: re-enable package on microblaze

Package tvheadend has been disabled on microblaze with this commit:
https://git.buildroot.net/buildroot/commit/?id=e1a59357e4dfe8fe9c9119d4b2bc9e4ec36eb3d0
but commit log says that build failure is due to "some assertion
failure in binutils", that is true. But those assertion failures in
binutils are caused by package's Makefile itself that has been fixed by
previous patch. So re-enable package for microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tvheadend: fix PIE build failures
Giulio Benetti [Fri, 14 Jun 2019 21:03:42 +0000 (23:03 +0200)]
package/tvheadend: fix PIE build failures

Package tvheadend builds using '-pie' linker flag in any case. This
leads to linking failure if toolchain doesn't support 'pie'.

Add patch to fix tvheadend's Makefile bug where '-pie' flag is hardcoded
making it depend on '--disable-pie' as compiler's flags already are
treated.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/brotli: properly pass TARGET_CFLAGS in Microblaze workaround
Giulio Benetti [Fri, 14 Jun 2019 09:43:28 +0000 (11:43 +0200)]
package/brotli: properly pass TARGET_CFLAGS in Microblaze workaround

In commit 39dde1ffb6a7111c2fa2b340c940e4d3e685aa29 ("package/brotli:
work around gcc bug 68485"), a mistake was made: when
BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y, we're only passing -O0 as CFLAGS,
completely ignoring TARGET_CFLAGS, which is not good.

This commit fixes that by introducing a BROTLI_CFLAGS variable,
initially defined to TARGET_CFLAGS, and to which we add -O0 when
BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: run mdev in daemon mode
Titouan Christophe [Wed, 19 Jun 2019 16:42:57 +0000 (18:42 +0200)]
package/busybox: run mdev in daemon mode

- Enable the mdev daemon mode in Busybox default config
- Update the S10mdev init script to use the daemon mode

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: convert S10mdev to the canonical init script format
Titouan Christophe [Wed, 19 Jun 2019 16:42:56 +0000 (18:42 +0200)]
package/busybox: convert S10mdev to the canonical init script format

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: bump version to 1.31.0
Titouan Christophe [Wed, 19 Jun 2019 16:42:55 +0000 (18:42 +0200)]
package/busybox: bump version to 1.31.0

Remove 0003-libbb-mark-scripted_main-as-externally-visible.patch
as it was committed upstream in 3193cb56d6

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/psplash: add license file details
Pierre-Jean Texier [Wed, 19 Jun 2019 20:58:35 +0000 (22:58 +0200)]
package/psplash: add license file details

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libidn2: bump to version 2.2.0
Fabrice Fontaine [Wed, 19 Jun 2019 18:24:22 +0000 (20:24 +0200)]
package/libidn2: bump to version 2.2.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: drop wchar dependency on IDN option
Fabrice Fontaine [Wed, 19 Jun 2019 18:09:03 +0000 (20:09 +0200)]
package/dnsmasq: drop wchar dependency on IDN option

wchar dependency on IDN option has been added with commit
126a2e75f5948b30f842862906fca8ed99ffff26 because of libintl

However libintl dependency has been dropped with commit
bbcbed1829057121f9f9459f62f913626206e823 so remove unneeded wchar
dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu_riscv32_virt: update to 5.1 kernel
Alistair Francis [Wed, 19 Jun 2019 16:54:06 +0000 (09:54 -0700)]
configs/qemu_riscv32_virt: update to 5.1 kernel

Update the 32-bit defconfig to use the latest kernel. This requires a
patch to revert a ABI to ensure that the glibc port continues to work.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu_riscv64_virt: update to 5.1 kernel
Alistair Francis [Wed, 19 Jun 2019 16:54:05 +0000 (09:54 -0700)]
configs/qemu_riscv64_virt: update to 5.1 kernel

Update the 64-bit defconfig to use the latest kernel.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gzip: bump to version 1.10
Fabrice Fontaine [Wed, 19 Jun 2019 21:37:42 +0000 (23:37 +0200)]
package/gzip: bump to version 1.10

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/haveged: fix legal-info
Pierre-Jean Texier [Wed, 19 Jun 2019 20:05:43 +0000 (22:05 +0200)]
package/haveged: fix legal-info

Add hash for COPYING file

Fixes:

$: make haveged-legal-info
 >>> haveged 1.9.4 Collecting legal info
 ERROR: No hash found for COPYING

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/haveged: bump to version 1.9.4
Pierre-Jean Texier [Wed, 19 Jun 2019 20:05:42 +0000 (22:05 +0200)]
package/haveged: bump to version 1.9.4

See https://github.com/jirka-h/haveged/releases/tag/1.9.4

Also change the site location, upstream release
mechanism has switched to using github.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/mx51evk: Bump kernel version
Fabio Estevam [Wed, 19 Jun 2019 17:42:53 +0000 (14:42 -0300)]
configs/mx51evk: Bump kernel version

Bump the kernel version to 5.1.10.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/linux-headers: drop support for 5.x headers
Peter Korsgaard [Tue, 18 Jun 2019 11:57:33 +0000 (13:57 +0200)]
package/linux-headers: drop support for 5.x headers

The 5.0.x series is now EOL and vulnerable to the "TCP SACK PANIC" issue.
Drop support for it in linux-headers.

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