buildroot.git
5 years agopackage/apr: fix compile for toolchains without thread support
Peter Seiderer [Mon, 23 Sep 2019 19:57:11 +0000 (21:57 +0200)]
package/apr: fix compile for toolchains without thread support

Do not trust apr_hints.m4 for setting '-D_REENTRANT', set it only for
toolchains with thread support.

Fixes misleading configure error ([1]):

  checking whether int64_t and int use fmt %d... no
  checking whether int64_t and long use fmt %ld... no
  checking whether int64_t and long long use fmt %lld... no
  configure: error: could not determine the string function for int64_t

which results from warning (promoted to error by '-Werror=cpp'), from
config.log:

  configure:24288: checking whether int64_t and long long use fmt %lld
  configure:24320: .../host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os    -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
  In file included from .../host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/sys/types.h:26:0,
                 from conftest.c:147:
  .../host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: error: #warning requested reentrant code, but thread support was disabled [-Werror=cpp]
   #   warning requested reentrant code, but thread support was disabled
       ^~~~~~~
  cc1: all warnings being treated as errors
  configure:24320: $? = 1
  configure: failed program was:

[1] http://autobuild.buildroot.net/results/4da73982f160305ac2d5d2b4f615fa98eec5a7a3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/{bluez5_utils, bluez5_utils-headers}: bump version to 5.51
Bernd Kuhls [Tue, 24 Sep 2019 05:09:38 +0000 (07:09 +0200)]
package/{bluez5_utils, bluez5_utils-headers}: bump version to 5.51

Release notes: http://www.bluez.org/release-of-bluez-5-51/

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libhttpserver: new package
Stephan Hoffmann [Tue, 24 Sep 2019 12:27:54 +0000 (14:27 +0200)]
package/libhttpserver: new package

libhttpserver is a C++ library for building high performance RESTfuls
web servers. libhttpserver is built upon libmicrohttpd to provide a
simple API for developers to create HTTP services in C++.

The installed pkg-config file contains an error, thus we include the
patch 458d16b922304006fe418897044e14b0544a127a from the upstream repo
that is not yet released.

Signed-off-by: Stephan Hoffmann <stephan.hoffmann@ext.grandcentrix.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/brltty: add pcre optional dependency
Fabrice Fontaine [Sat, 28 Sep 2019 12:08:35 +0000 (14:08 +0200)]
package/brltty: add pcre optional dependency

pcre/pcre2 has been added in version 6.0 with:
- https://github.com/brltty/brltty/commit/579cae458ad9e47a689c7063e600d7bc492cb176
- https://github.com/brltty/brltty/commit/e7f36c00dbfb2030ad67b9b7e159c6d847f1d7d9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/brltty: add expat optional dependency
Fabrice Fontaine [Sat, 28 Sep 2019 12:08:34 +0000 (14:08 +0200)]
package/brltty: add expat optional dependency

expat optional dependency has been added in version 6.0 with
https://github.com/brltty/brltty/commit/a37febee8cc4215eaac668a064ebc590684122b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/brltty: bump to version 6.0
Fabrice Fontaine [Sat, 28 Sep 2019 12:08:33 +0000 (14:08 +0200)]
package/brltty: bump to version 6.0

- Remove first patch (already in version)
- Update hash of README: small updates in year, version
- Remove --without-viavoice option (not available anymore)
- Disable espeak-ng (not available in buildroot yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years ago{linux, linux-headers}: bump to version 5.3.1
James Hilliard [Sat, 28 Sep 2019 12:28:28 +0000 (06:28 -0600)]
{linux, linux-headers}: bump to version 5.3.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fetchmail: bump version to 6.4.1
Bernd Kuhls [Sat, 28 Sep 2019 12:38:18 +0000 (14:38 +0200)]
package/fetchmail: bump version to 6.4.1

Added hashes provided by upstream.

Updated license hash after upstream commit:
https://sourceforge.net/p/fetchmail/git/ci/51ea9ddcef4b0e513a493f62a4bd93e41ff201ea/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/udftools: bump to version 2.0.1
Fabrice Fontaine [Sat, 28 Sep 2019 07:06:04 +0000 (09:06 +0200)]
package/udftools: bump to version 2.0.1

- Drop first and third patches (already in version)
- Add two upstream patches and refresh second one so that it applies
  cleanly

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/easy-rsa: bump to version 3.0.6
Fabrice Fontaine [Sat, 28 Sep 2019 06:57:58 +0000 (08:57 +0200)]
package/easy-rsa: bump to version 3.0.6

- Add hash for license files
- COPYING renamed in COPYING.md by
  https://github.com/OpenVPN/easy-rsa/commit/b75faa475f22af55202d4b2be429cd30f16f15ac
- openssl-1.0.cnf renamed in openssl-easyrsa.cnf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cups: bump to version 2.3.0
Fabrice Fontaine [Sat, 28 Sep 2019 06:56:11 +0000 (08:56 +0200)]
package/cups: bump to version 2.3.0

- Update first, second and fourth patches
- Update license to Apache-2.0 with GPL2/LGPL2 exception, see:
  https://github.com/apple/cups/commit/e310189747c161ac6e737eedadf8f45d11bf2253
  https://github.com/apple/cups/commit/7b6d49eec95fef100d017df6f1f577c72ca60577
- Remove CUPS_INSTALL_{STAGING,TARGET}_OPTS as setting DSTROOT is not
  needed since
  https://github.com/apple/cups/commit/083672b18ce39071613f0924df904ef91b65ded2
- --{with,without}-{java,perl,php,python} are not supported anymore:
  https://github.com/apple/cups/commit/98491ecc6fb571869d0947096982a64d6ec16a7d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fetchmail: bump version to 6.4.0
Bernd Kuhls [Fri, 27 Sep 2019 20:14:29 +0000 (22:14 +0200)]
package/fetchmail: bump version to 6.4.0

Added hashes provided by upstream.

Updated license hash after upstream commit:
https://sourceforge.net/p/fetchmail/git/ci/51ea9ddcef4b0e513a493f62a4bd93e41ff201ea/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/exim: add upstream security fix
Bernd Kuhls [Sat, 28 Sep 2019 09:01:33 +0000 (11:01 +0200)]
package/exim: add upstream security fix

Fixes CVE-2019-16928:
https://lists.exim.org/lurker/message/20190928.003428.2b4c81a7.en.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: allow br2-externals to provide their own Linux extensions
McCabe, Robert J [Sat, 28 Sep 2019 17:49:37 +0000 (12:49 -0500)]
linux: allow br2-externals to provide their own Linux extensions

Signed-off-by: McCabe, Robert J <robert.mccabe@rockwellcollins.com>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xxhash: fix hash of xxhsum.c
Fabrice Fontaine [Sat, 28 Sep 2019 06:49:56 +0000 (08:49 +0200)]
package/xxhash: fix hash of xxhsum.c

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d: add support for gallium tegra driver
Bernd Kuhls [Sat, 28 Sep 2019 06:38:56 +0000 (08:38 +0200)]
package/mesa3d: add support for gallium tegra driver

"tegra driver requires nouveau driver":
https://cgit.freedesktop.org/mesa/mesa/tree/meson.build?h=19.2#n251

Suggested-by: Ross Green <grunpferd@netscape.net>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d: remove x86/x86_64 dependency for nouveau Gallium driver
Bernd Kuhls [Sat, 28 Sep 2019 06:38:55 +0000 (08:38 +0200)]
package/mesa3d: remove x86/x86_64 dependency for nouveau Gallium driver

Nvidia chips are used on arm hardware as well like Jetson:
https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/

Suggested-by: Ross Green <grunpferd@netscape.net>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/e2fsprogs: security bump version to 1.45.4
Bernd Kuhls [Sat, 28 Sep 2019 06:26:35 +0000 (08:26 +0200)]
package/e2fsprogs: security bump version to 1.45.4

Fixes CVE-2019-5094:
http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.45.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xlib_libXvMC: bump version to 1.0.12
Bernd Kuhls [Sat, 28 Sep 2019 10:19:11 +0000 (12:19 +0200)]
package/x11r7/xlib_libXvMC: bump version to 1.0.12

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xlib_libXfont2: bump version to 2.0.4
Bernd Kuhls [Sat, 28 Sep 2019 10:19:10 +0000 (12:19 +0200)]
package/x11r7/xlib_libXfont2: bump version to 2.0.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/znc: switch to cmake
Bernd Kuhls [Sat, 28 Sep 2019 10:41:06 +0000 (12:41 +0200)]
package/znc: switch to cmake

Upstream deprecated autoconf and asks to use cmake:
https://github.com/znc/znc/commit/71f35b003dda65f3867ff84deaf8aa15bcd0b958

Add options to explicitly disable cyrus and i18n support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/znc: bump version to 1.7.5
Bernd Kuhls [Sat, 28 Sep 2019 10:41:05 +0000 (12:41 +0200)]
package/znc: bump version to 1.7.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mmc-utils: fix build with gcc 4.9
Fabrice Fontaine [Sat, 28 Sep 2019 18:53:25 +0000 (20:53 +0200)]
package/mmc-utils: fix build with gcc 4.9

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/minimodem: add BR2_PACKAGE_FFTW select
Fabrice Fontaine [Sat, 28 Sep 2019 18:54:44 +0000 (20:54 +0200)]
package/minimodem: add BR2_PACKAGE_FFTW select

Fixes following warning:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_FFTW_SINGLE
  Depends on [n]: BR2_PACKAGE_FFTW [=n]
  Selected by [y]:
  - BR2_PACKAGE_MINIMODEM [=y]

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: fix typo
Bernd Kuhls [Sat, 28 Sep 2019 06:27:41 +0000 (08:27 +0200)]
DEVELOPERS: fix typo

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libhtp: bump to version 0.5.31
Fabrice Fontaine [Sat, 28 Sep 2019 12:56:34 +0000 (14:56 +0200)]
package/libhtp: bump to version 0.5.31

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lttng-modules: bump to version 2.10.11
Fabrice Fontaine [Sat, 28 Sep 2019 07:27:57 +0000 (09:27 +0200)]
package/lttng-modules: bump to version 2.10.11

Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lttng-tools: bump to version 2.10.7
Fabrice Fontaine [Sat, 28 Sep 2019 07:27:56 +0000 (09:27 +0200)]
package/lttng-tools: bump to version 2.10.7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lttng-libust: bump to version 2.10.5
Fabrice Fontaine [Sat, 28 Sep 2019 07:27:55 +0000 (09:27 +0200)]
package/lttng-libust: bump to version 2.10.5

- Remove second patch (already in version)
- 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/libpwquality: bump version to 1.4.1
Sørensen, Stefan [Mon, 23 Sep 2019 08:41:49 +0000 (08:41 +0000)]
package/libpwquality: bump version to 1.4.1

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-asgiref: new package
Adam Duskett [Sun, 4 Aug 2019 01:16:28 +0000 (21:16 -0400)]
package/python-asgiref: new package

ASGI is a standard for Python asynchronous web apps and servers to
communicate with each other, and positioned as an asynchronous
successor to WSGI.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-sqlparse: new package
Adam Duskett [Sun, 4 Aug 2019 01:16:25 +0000 (21:16 -0400)]
package/python-sqlparse: new package

sqlparse is a non-validating SQL parser for Python. It provides support for
parsing, splitting and formatting SQL statements.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-django-enumfields: new package
Adam Duskett [Sun, 4 Aug 2019 01:16:24 +0000 (21:16 -0400)]
package/python-django-enumfields: new package

This package lets you use real Python (PEP435-style) enums with Django.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Thomas: add select on python-enum34 if python 2.x is used]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/hidapi: bump to version 0.9.0
Fabrice Fontaine [Mon, 23 Sep 2019 19:00:42 +0000 (21:00 +0200)]
package/hidapi: bump to version 0.9.0

- Switch site to github.com/libusb/hidapi to get latest version, see
  https://github.com/signal11/hidapi/issues/431
- Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/argus: bump to version 3.0.8.2
Fabrice Fontaine [Mon, 23 Sep 2019 18:52:54 +0000 (20:52 +0200)]
package/argus: bump to version 3.0.8.2

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/ccrypt: bump to version 1.11
Fabrice Fontaine [Mon, 23 Sep 2019 19:26:47 +0000 (21:26 +0200)]
package/ccrypt: bump to version 1.11

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/boost: bump to version 1.71.0
Fabrice Fontaine [Mon, 23 Sep 2019 19:15:14 +0000 (21:15 +0200)]
package/boost: bump to version 1.71.0

- Change BOOST_SITE to
  https://dl.bintray.com/boostorg/release/1.71.0/source to get latest
  boost version
- Update path of bjam

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fio: bump to version 3.16
Pierre-Jean Texier [Mon, 23 Sep 2019 19:11:01 +0000 (21:11 +0200)]
package/fio: bump to version 3.16

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cryptodev-linux: bump to version a1e738a
Pierre-Jean Texier [Mon, 23 Sep 2019 19:01:09 +0000 (21:01 +0200)]
package/cryptodev-linux: bump to version a1e738a

This includes the following changes:

a1e738a tests: cipher-aead-srtp: Fix cao->dst alignment
f971e0c Fix module loading with Linux v5.0-rc5
fd8b15e Release version 1.10
6b0a81c add CIOCCPHASH to copy hash state between sessions

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sdl2_ttf: bump to version 2.0.15
Peter Macleod Thompson [Mon, 23 Sep 2019 16:45:53 +0000 (10:45 -0600)]
package/sdl2_ttf: bump to version 2.0.15

The patch 0001-fix-opengl-detection.patch is removed because it is now
upstream. Thanks to this, autoreconf is no longer needed, which allows
us to drop AUTORECONF = YES and the 0002-fix-autoreconfig.patch which
was only needed to fix autoreconf.

Signed-off-by: Peter Macleod Thompson <peter.macleod.thompson@gmail.com>
[Thomas: improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sdl2_image: bump to version 2.0.5
Peter Macleod Thompson [Mon, 23 Sep 2019 23:15:43 +0000 (17:15 -0600)]
package/sdl2_image: bump to version 2.0.5

The hash of the license is updated because the copyright year was
updated in COPYING.txt:

-  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+  Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>

Signed-off-by: Peter Macleod Thompson <peter.macleod.thompson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sdl2_gfx: bump to version 1.0.4
Peter Macleod Thompson [Mon, 23 Sep 2019 23:15:42 +0000 (17:15 -0600)]
package/sdl2_gfx: bump to version 1.0.4

Signed-off-by: Peter Macleod Thompson <peter.macleod.thompson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/glorytun: bump to version 2.0.1
Fabrice Fontaine [Wed, 25 Sep 2019 16:50:35 +0000 (18:50 +0200)]
package/glorytun: bump to version 2.0.1

mud/aegis256/aegis256.c:6:18: error: missing binary operator before token "("
 #if __has_include("x86intrin.h")
                  ^

is fixed through
https://github.com/angt/aegis256/commit/4ff57bfc839b696cbc34651586d232ec8e1db275

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libssh: add option to enable server support
Heiko Thiery [Wed, 25 Sep 2019 12:17:26 +0000 (14:17 +0200)]
package/libssh: add option to enable server support

This patch adds Config.in option for ssh server support.

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: Add Jagan Teki as maintainer for olimex A33 olinuxino
Shyam Saini [Tue, 24 Sep 2019 07:20:07 +0000 (12:50 +0530)]
DEVELOPERS: Add Jagan Teki as maintainer for olimex A33 olinuxino

I no longer work at Amarula Solutions and neither do I have access to
olimex A33 olinuxino board. So, add Jagan as maintainer of this board.

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d: bump version to 19.2.0
Bernd Kuhls [Thu, 26 Sep 2019 06:11:34 +0000 (08:11 +0200)]
package/mesa3d: bump version to 19.2.0

Updated license hash after cosmetical upstream commits:
https://cgit.freedesktop.org/mesa/mesa/log/docs/license.html?h=19.2

Upstream removed asm configure option:
https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=19.2&id=20294dceebc23236e33b22578245f7e6f41b6997

Removed dependency to DRI swrast driver for
BR2_PACKAGE_MESA3D_OSMESA_CLASSIC after upstream commit
https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=19.2&id=b816edcbf40abca1e3d68b1a706f5670b3fcf4d7
removed this dependency.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mmc-utils: bump to version d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8
Fabrice Fontaine [Wed, 25 Sep 2019 17:12:01 +0000 (19:12 +0200)]
package/mmc-utils: bump to version d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8

- Drop first patch, not needed since:
  https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git/commit?id=d8cf8d34c0e45899f108ce966826acb0553b4b85
- Drop second patch, not needed since:
  https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git/commit?id=bd23a79e34ec7f058426027fbcc1b493f960da90
- Add mmc.h as a license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xxhash: fix build with power7
Fabrice Fontaine [Wed, 25 Sep 2019 16:57:59 +0000 (18:57 +0200)]
package/xxhash: fix build with power7

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-bluezero: new package
Grzegorz Blach [Thu, 26 Sep 2019 19:27:18 +0000 (19:27 +0000)]
package/python-bluezero: new package

Python library for Bluetooth Low Energy (BLE) on Linux.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: backport fix for xtensa PR 91880
Max Filippov [Thu, 26 Sep 2019 21:31:53 +0000 (14:31 -0700)]
package/gcc: backport fix for xtensa PR 91880

Xtensa hwloop_optimize segfaults when zero overhead loop is about to be
inserted as the first instruction of the function.
Insert zero overhead loop instruction into new basic block before the
loop when basic block that precedes the loop is empty.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pigpio: add soversion to shared libraries
Grzegorz Blach [Thu, 26 Sep 2019 19:39:17 +0000 (19:39 +0000)]
package/pigpio: add soversion to shared libraries

The SONAME of the libraries installed by pigpio now contain a major
version number:

$ readelf -d output/target/usr/lib/libpigpio* | grep soname
 0x0000000e (SONAME)                     Library soname: [libpigpiod_if2.so.1]
 0x0000000e (SONAME)                     Library soname: [libpigpiod_if.so.1]
 0x0000000e (SONAME)                     Library soname: [libpigpio.so.1]

So we must make sure they are installed with this name, and not just
with a .so extension. For consistency, we do the same logic for both
the target and the staging installation.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas: improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/janus-gateway: enable parallel build
Fabrice Fontaine [Thu, 26 Sep 2019 18:23:19 +0000 (20:23 +0200)]
package/janus-gateway: enable parallel build

Parallel build is fixed since version 0.4.4 and
https://github.com/meetecho/janus-gateway/commit/1685a78e2cd7642f6246466c2e0d4e670fe6360b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/php: security bump version to 7.3.10
Bernd Kuhls [Fri, 27 Sep 2019 18:30:50 +0000 (20:30 +0200)]
package/php: security bump version to 7.3.10

Release notes: https://www.php.net/archive/2019.php#2019-09-26-1

No CVE IDs can be found in the bug reports mentioned in the Changelog:
https://www.php.net/ChangeLog-7.php#7.3.10

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: add Yegor Yefremov as contact for BeagleBone defconfigs
Yegor Yefremov [Fri, 27 Sep 2019 08:59:03 +0000 (10:59 +0200)]
DEVELOPERS: add Yegor Yefremov as contact for BeagleBone defconfigs

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/beagleboneai: new defconfig
Peter Korsgaard [Mon, 23 Sep 2019 14:46:29 +0000 (16:46 +0200)]
configs/beagleboneai: new defconfig

Add basic support for the Beagleboard.org Beaglebone AI board:

https://beagleboard.org/ai

U-Boot patch taken from
https://github.com/beagleboard/beaglebone-ai/blob/master/SW/buildroot/local/patches/uboot/0001-BeagleBone-AI-support.patch

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/exiv2: bump version to 0.27.2
Nicolas Serafini [Mon, 26 Aug 2019 12:11:42 +0000 (12:11 +0000)]
package/exiv2: bump version to 0.27.2

Release notes
https://www.exiv2.org/whatsnew.html

Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
[Thomas: encode the 'v' in EXIV2_SITE and not EXIV2_VERSION, so that
EXIV2_VERSION continues to match what is reported by
release-monitoring.org]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-redis: bump to version 3.3.8
Grzegorz Blach [Tue, 20 Aug 2019 13:03:53 +0000 (13:03 +0000)]
package/python-redis: bump to version 3.3.8

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pigpio: bump to version 1.44
Grzegorz Blach [Tue, 20 Aug 2019 13:03:52 +0000 (13:03 +0000)]
package/python-pigpio: bump to version 1.44

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pigpio: bump to version 71
Grzegorz Blach [Tue, 20 Aug 2019 13:03:51 +0000 (13:03 +0000)]
package/pigpio: bump to version 71

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: backport fix for xtensa PR 90922
Max Filippov [Mon, 23 Sep 2019 20:47:03 +0000 (13:47 -0700)]
package/gcc: backport fix for xtensa PR 90922

Stack pointer adjustment code in xtensa call0 ABI prologue missed a case
of no callee-saved registers and a stack frame size bigger than 128 bytes.
Handle that case.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: change the type of variable 'new_p...
Jerzy Grzegorek [Tue, 3 Sep 2019 21:13:28 +0000 (23:13 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: change the type of variable 'new_package'

Change the type of variable 'new_package' to make it a class member.
It will be used not only locally. Also initialize it.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: add functions to initialize arrays...
Jerzy Grzegorek [Tue, 3 Sep 2019 21:13:27 +0000 (23:13 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: add functions to initialize arrays elements

Factor out two functions to initialize arrays elements. They will be
reused by followup patches.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: get value of variable 'level'
Jerzy Grzegorek [Tue, 3 Sep 2019 21:13:26 +0000 (23:13 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: get value of variable 'level'

Get value of variable 'level' only just after the state change.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: change the type of variable 'level'
Jerzy Grzegorek [Tue, 3 Sep 2019 21:13:25 +0000 (23:13 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: change the type of variable 'level'

Change the type of variable "level" to make it a class member.
It will be used not only locally.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[Thomas: initialize self.level in the before() method, as suggested by
Ricardo]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/checkpackagelib: CommentsMenusPackagesOrder: rename variable 'm'
Jerzy Grzegorek [Tue, 3 Sep 2019 21:13:24 +0000 (23:13 +0200)]
utils/checkpackagelib: CommentsMenusPackagesOrder: rename variable 'm'

Rename variable 'm' for better readability.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/webkitgtk: bump to version 2.26.1
Adrian Perez de Castro [Wed, 25 Sep 2019 11:37:52 +0000 (14:37 +0300)]
package/webkitgtk: bump to version 2.26.1

Release notes:

  https://webkitgtk.org/2019/09/23/webkitgtk2.26.1-released.html

This is a bugfix release which fixes a few issues detected in 2.26.0
and includes media playback improvements as well.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mosquitto: bump version to 1.6.7
Peter Korsgaard [Wed, 25 Sep 2019 15:40:11 +0000 (17:40 +0200)]
package/mosquitto: bump version to 1.6.7

Fixes a number of issues after 1.6.6:
https://mosquitto.org/blog/2019/09/version-1-6-7-released/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/scripts/check-kernel-headers.sh: use a trap to remove the temporary file
Carlos Santos [Tue, 24 Sep 2019 11:37:00 +0000 (08:37 -0300)]
support/scripts/check-kernel-headers.sh: use a trap to remove the temporary file

The POSIX specification defines a 'trap <action> EXIT' mechanism that is
useful to perform clean-up actions in shell scripts. A trap has two main
advantages over hand-crafted clean-up mechanisms:

- It runs even if the process is terminated by a SIGTERM.
- It runs even if the script stops due to a pipeline failure (set -e).

Now we can make the script to stop immediately if a compilation error
occurs, instead of letting it try to run an unexisting program.

This change may appear to be overkill but Buildroot is an open source
project and each piece of code is a potential learning tool for other
developments. We must strive to provide good examples.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Acked-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: generate check-headers program under $(BUILD_DIR)
Carlos Santos [Tue, 24 Sep 2019 11:46:11 +0000 (08:46 -0300)]
toolchain: generate check-headers program under $(BUILD_DIR)

Some installations mount /tmp with the 'noexec' option, which prevents
running the program generated there to check the kernel headers.

Avoid the problem by generating the program under $(BUILD_DIR), passed
as the first argument to check-kernel-headers.sh.

We could globally export a TMPDIR environment variable with some path
under $(BUILD_DIR) but such solution would be too intrusive, depriving
the user from the freedom to set TMPDIR at his will (or needs).

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12241
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/swig: bump to version 4.0.1
Yegor Yefremov [Wed, 25 Sep 2019 13:45:13 +0000 (15:45 +0200)]
package/swig: bump to version 4.0.1

Also remove upstreamed patches.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-utils.mk: add dl_dir to show-info output
Arnout Vandecappelle (Essensium/Mind) [Sat, 3 Aug 2019 14:04:33 +0000 (16:04 +0200)]
package/pkg-utils.mk: add dl_dir to show-info output

It can be useful for scripts to be able to access a package's source
file after download. That used to be easy, just DL_DIR/PKG_SOURCE.
However, with the subdirectories in DL_DIR which can be overridden with
PKG_DL_SUBDIR, that is no longer easy.

Therefore, this patch adds dl_dir to the package information. It prints
just PKG_DL_SUBDIR, to avoid dumping absolute paths to the buildroot
directory in the show-info output.

It can be used with the following jq script to get a newline-separated
list of all downloaded files:

make show-info | jq -r '.[] | ("dl/" + .dl_dir + "/" + .downloads[]?.source)'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/c-icap-modules: bump to version 0.5.3
Fabrice Fontaine [Tue, 24 Sep 2019 18:19:30 +0000 (20:19 +0200)]
package/c-icap-modules: bump to version 0.5.3

- Remove zlib option (dropped since version 0.5.1 and
  https://github.com/c-icap/c-icap-modules/commit/51e78cf08a0a92b58037abcbbcacba962874d0b0)
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/c-icap: bump to version 0.5.5
Fabrice Fontaine [Tue, 24 Sep 2019 18:19:29 +0000 (20:19 +0200)]
package/c-icap: bump to version 0.5.5

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/cups-filters: bump to version 1.25.6
Fabrice Fontaine [Tue, 24 Sep 2019 19:38:22 +0000 (21:38 +0200)]
package/cups-filters: bump to version 1.25.6

Remove patches (already in version) and so drop autoreconf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agowine: Add hashes for license files
André Hentschel [Tue, 24 Sep 2019 19:10:55 +0000 (21:10 +0200)]
wine: Add hashes for license files

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/dhcpcd: bump to version 8.0.3
Yegor Yefremov [Thu, 22 Aug 2019 10:47:31 +0000 (12:47 +0200)]
package/dhcpcd: bump to version 8.0.3

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/freeswitch: bump version to 1.10.1
Bernd Kuhls [Wed, 21 Aug 2019 18:54:03 +0000 (20:54 +0200)]
package/freeswitch: bump version to 1.10.1

Release notes:
https://freeswitch.com/index.php/2019/08/20/freeswitch-v1-10-1-release/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-logbook: bump to version 1.5.2
Asaf Kahlon [Wed, 21 Aug 2019 16:53:15 +0000 (19:53 +0300)]
package/python-logbook: bump to version 1.5.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/grpc: bump to version 1.23.0
Fabrice Fontaine [Tue, 20 Aug 2019 18:48:03 +0000 (20:48 +0200)]
package/grpc: bump to version 1.23.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/terminology: bump to version 1.5.0
Romain Naour [Sat, 31 Aug 2019 10:05:08 +0000 (12:05 +0200)]
package/terminology: bump to version 1.5.0

See:
https://www.enlightenment.org/news/2019-07-20-terminology-1.5.0

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/enlightenment: bump to version 0.23.0
Romain Naour [Sat, 31 Aug 2019 10:05:07 +0000 (12:05 +0200)]
package/enlightenment: bump to version 0.23.0

This enlightement release include many Wayland improvements
but our packaging depends on Xorg only.

See:
https://www.enlightenment.org/news/e23_release
https://www.phoronix.com/scan.php?page=news_item&px=Enlightenment-0.23-Released

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/efl: bump to version 1.22.3
Romain Naour [Sat, 31 Aug 2019 10:05:06 +0000 (12:05 +0200)]
package/efl: bump to version 1.22.3

Remove upstream patch and rename the remaining patch.

This version is needed for enlightenment 0.23.0.

See:
https://www.enlightenment.org/news/efl-1.22.3

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/netifrc: add support for BR2_SYSTEM_DHCP
Michał Łyszczek [Sun, 4 Aug 2019 12:14:19 +0000 (14:14 +0200)]
package/netifrc: add support for BR2_SYSTEM_DHCP

This patch makes openrc-netifrc package aware of BR2_SYSTEM_DHCP
config, and if set, will start dhcp daemon on configured interface.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
[yann.morin.1998@free.fr:
  - simplify condition for BR2_SYSTEM_DHCP
  - reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/netifrc: new package
Michał Łyszczek [Sun, 4 Aug 2019 12:14:18 +0000 (14:14 +0200)]
package/netifrc: new package

netifrc entirely replaces openrc's basic network management. As such, it
conflicts with the network services installed by openrc, so we remove
them from openrc when netifrc is enabled.

Currently, we only catter tfor the loopback interface, but we prepare
for also handling the DHCP interface, to come in a latter patch.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
[yann.morin.1998@free.fr:
  - remove openrc files within the openrc package itself
  - as it's a generic-package, no need to use post-install hooks
  - use description from the homepage in the help text
  - check-package fixes
  - rename package
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
[Thomas:
 - pass UDEVDIR to install udev rules at the correct location]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openrc: add support for spawning getty
Michał Łyszczek [Sun, 4 Aug 2019 12:14:17 +0000 (14:14 +0200)]
package/openrc: add support for spawning getty

We install a template getty service, and we 'instantiate' it in the
default runlevel, using the configured tty.

Ideally, packages that provide a getty program would be responsible
for installing the corresponding service file. However, to keep
consistency with the existing init systems (busybox, systemd, and
sysv), so we do provide it from the openrc package itself.

OpenRC only acts on the files in a runlevel sub-directory, but the
documentation [0] actually suggests that the instance symlink be done
in init.d, and then again symlinked into the actual runlevel
sub-directory. So, we abide by the rules.

Also, to be noted, the getty service file is installed without ensuring
that a getty command is available. This again is not unlike other init
systems, sysvinit and busybox, which behave the same.

[0] https://wiki.gentoo.org/wiki/OpenRC

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
[yann.morin.1998@free.fr:
  - move getty template to openrc package  (Thomas)
  - fix namespace of the vaiables (Thomas)
  - simplify creation of the defaults file
  - rewrite commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/skeleton-init-openrc: add support to remount rootfs as rw
Michał Łyszczek [Sun, 4 Aug 2019 12:14:16 +0000 (14:14 +0200)]
package/skeleton-init-openrc: add support to remount rootfs as rw

Add a pseudo entry for /dev/root in fstab, to tell openrc to properly
remount or not remount / read-write.

For consistency with systemd (which is the only other init system to
tweak an fstab basd on / being rw or not), we do this change in the
openrc skeleton rather than in the openrc package.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
[yann.morin.1998@free.fr:
  - tweak the sed expressions
  - reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/skeleton-init-openrc: add support for starting sysv scripts
Michał Łyszczek [Sun, 4 Aug 2019 12:14:15 +0000 (14:14 +0200)]
package/skeleton-init-openrc: add support for starting sysv scripts

Add an OpenRC service that starts and stops sysv-init scripts. We order
that script 'after local' so that it is started after all other native
openrc services.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
[yann.morin.1998@free.fr:
  - don't propagate the micro optimisation for running .sh scripts
  - use spaces, not TABs
  - stop services in reverse order
  - reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/Config.in: really remove devmem2
Thomas Petazzoni [Mon, 23 Sep 2019 20:29:09 +0000 (22:29 +0200)]
package/Config.in: really remove devmem2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libspatialindex: fix static build
Fabrice Fontaine [Sun, 22 Sep 2019 19:04:25 +0000 (21:04 +0200)]
package/libspatialindex: fix static build

Fixes:
 - http://autobuild.buildroot.org/results/3ea3aa8ba6c89139ee69b055fdccfa62b85e8821

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libgcrypt: security bump to version 1.8.5
Fabrice Fontaine [Sun, 22 Sep 2019 19:15:53 +0000 (21:15 +0200)]
package/libgcrypt: security bump to version 1.8.5

- Drop second and third patches (alredy in version)
- Add mitigation against an ECDSA timing attack. [T4626,CVE-2019-13627]

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/sispmctl: bump to version 4.1
Fabrice Fontaine [Sun, 22 Sep 2019 11:57:56 +0000 (13:57 +0200)]
package/sispmctl: bump to version 4.1

- Remove patch (already in version)
- Change license file to COPYING and Add its hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/devmem2: remove package
Carlos Santos [Wed, 14 Aug 2019 10:29:57 +0000 (07:29 -0300)]
package/devmem2: remove package

It was here just for backwards compatibility and is not used by any
package or board after commits

  59856480b6 packages/devmem2: remove from all board configurations
  2f6e3eae55 package/ti-gfx: do not use devmem2 in script

There are address casting issues with 32bit access on a 64bit bus (like
on the SoC FPGA ARM processors) with this tool. The Busybox version of
devmem is the most up to date and supports quadword access.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=10171
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/config-fragments: fix br-riscv{32,64} toolchain fragments
Thomas Petazzoni [Mon, 23 Sep 2019 19:36:26 +0000 (21:36 +0200)]
support/config-fragments: fix br-riscv{32,64} toolchain fragments

Since commit aee39cbf27e833fad9962eb99b5655dbadcfee60 ("arch/riscv:
set the default float ABI based on ISA extensions"), RISC-V 32/64 use
the lp32d/lp64d ABIs by default. But our pre-built external toolchains
were built with the LP32/LP64 ABI.

Building with lp32d/lp64d gcc flags, but a toolchain built with the
LP32/LP64 ABI causes a number of failures such as:

  /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/gnu/stubs.h:11:11: fatal error: gnu/stubs-lp64d.h: No such file or directory

or:

  /home/mark/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc2BTtFE.o: can't link hard-float modules with soft-float modules
  /home/mark/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: failed to merge target specific data of file /tmp/cc2BTtFE.o

So let's fix our config fragments to reflect the ABIs those toolchains
were built with.

Fixes:

  http://autobuild.buildroot.net/results/a3959b0613cf561059483abc580b144be4817d1a/ (libsepol)
  http://autobuild.buildroot.net/results/3db50d8a0a913413b2198d6c301419136d2d22a7/ (attr)
  http://autobuild.buildroot.net/results/7780fada05b8440ae3e97618615624a6a2dac03f/ (libusb)
  and many others

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/f2fs-tools: fix build without blkid
Fabrice Fontaine [Sun, 22 Sep 2019 08:35:59 +0000 (10:35 +0200)]
package/f2fs-tools: fix build without blkid

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gengetopt: disable documentation
Fabrice Fontaine [Sun, 22 Sep 2019 07:40:02 +0000 (09:40 +0200)]
package/gengetopt: disable documentation

Add a patch to disable documentation through a --disable-doc option
which is already passed by autotools infrastructure

Fixes:
 - http://autobuild.buildroot.org/results/63554a4168a69a0e68a222bee2269b5aaeee2021

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libsemanage: reformat HOST_LIBSEMANAGE_DEPENDENCIES
Thomas Petazzoni [Sun, 22 Sep 2019 09:06:24 +0000 (11:06 +0200)]
package/libsemanage: reformat HOST_LIBSEMANAGE_DEPENDENCIES

Use a more common formatting for HOST_LIBSEMANAGE_DEPENDENCIES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/ustr: remove package
Thomas Petazzoni [Sun, 22 Sep 2019 09:06:23 +0000 (11:06 +0200)]
package/ustr: remove package

This package was only used by libsemanage, but it is no longer used
since SELinux 2.7, so drop it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libsemanage: drop dependency on ustr
Thomas Petazzoni [Sun, 22 Sep 2019 09:06:22 +0000 (11:06 +0200)]
package/libsemanage: drop dependency on ustr

Since SELinux 2.7 (upstream commit
920ee9ee18024c7714f1121e91854f38fa1eef73), ustr is no longer used by
libsemanage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/policycoreutils: don't pass DESTDIR when building host variant
Thomas Petazzoni [Sun, 22 Sep 2019 09:06:21 +0000 (11:06 +0200)]
package/policycoreutils: don't pass DESTDIR when building host variant

DESTDIR was needed before upstream commit
6b901a4fb80cc61c46f75144b5bb366b8da38e82 ("policycoreutils: build:
follow standard semantics for DESTDIR and PREFIX"), but now the proper
semantic is used for DESTDIR and PREFIX.

However, in addition to the PREFIX that is already passed, we also
need to pass ETCDIR and SBINDIR, which are not defined in terms of
PREFIX.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/policycoreutils: drop ARCH variable
Thomas Petazzoni [Sun, 22 Sep 2019 09:06:20 +0000 (11:06 +0200)]
package/policycoreutils: drop ARCH variable

The ARCH variable is no longer referenced by the policycoreutils build
system since upstream commit 4cc808671a18b5405be5707eefedd78b9c693268
("Move policycoreutils/mcstrans to mcstrans.")

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>