buildroot.git
6 years agolibuv: bump to version 1.20.3
Asaf Kahlon [Thu, 10 May 2018 18:07:34 +0000 (21:07 +0300)]
libuv: bump to version 1.20.3

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofirmware-imx: bump to version 7.4
Gary Bisson [Thu, 10 May 2018 16:22:35 +0000 (18:22 +0200)]
firmware-imx: bump to version 7.4

This update includes GA version of the DDR training binaries for i.MX8M.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agostrace: bump to version 4.22
Baruch Siach [Thu, 10 May 2018 15:55:41 +0000 (18:55 +0300)]
strace: bump to version 4.22

Drop upstream patch.

Update license file hash; copyright year update.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibostree: bump to version 2018.5
Marcus Folkesson [Fri, 11 May 2018 17:31:45 +0000 (19:31 +0200)]
libostree: bump to version 2018.5

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouhubctl: bump to version 2.0.0
Baruch Siach [Fri, 11 May 2018 05:51:53 +0000 (08:51 +0300)]
uhubctl: bump to version 2.0.0

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotmux: bump to version 2.7
Baruch Siach [Fri, 11 May 2018 05:27:19 +0000 (08:27 +0300)]
tmux: bump to version 2.7

Add COPYING to license files.

Update README hash; contest change unrelated to license.

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodbus: bump to version 1.12.8
Baruch Siach [Fri, 11 May 2018 04:45:08 +0000 (07:45 +0300)]
dbus: bump to version 1.12.8

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibusb: bump to version 1.0.22
Baruch Siach [Fri, 11 May 2018 04:31:33 +0000 (07:31 +0300)]
libusb: bump to version 1.0.22

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-net-dns: bump version to 1.15
Bernd Kuhls [Fri, 11 May 2018 11:58:09 +0000 (13:58 +0200)]
package/perl-net-dns: bump version to 1.15

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-mailtools: bump version to 2.20
Bernd Kuhls [Fri, 11 May 2018 11:58:08 +0000 (13:58 +0200)]
package/perl-mailtools: bump version to 2.20

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-mail-dkim: bump version to 0.52
Bernd Kuhls [Fri, 11 May 2018 11:58:07 +0000 (13:58 +0200)]
package/perl-mail-dkim: bump version to 0.52

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-uri: bump version to 1.74
Bernd Kuhls [Fri, 11 May 2018 11:58:06 +0000 (13:58 +0200)]
package/perl-uri: bump version to 1.74

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-net-http: bump version to 6.18
Bernd Kuhls [Fri, 11 May 2018 11:58:05 +0000 (13:58 +0200)]
package/perl-net-http: bump version to 6.18

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/perl-libwww-perl: bump version to 6.33
Bernd Kuhls [Fri, 11 May 2018 11:58:04 +0000 (13:58 +0200)]
package/perl-libwww-perl: bump version to 6.33

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodbus-glib: Bump to version 0.110
Petr Vorel [Wed, 9 May 2018 15:47:15 +0000 (17:47 +0200)]
dbus-glib: Bump to version 0.110

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoUpdate for 2018.05-rc1
Thomas Petazzoni [Wed, 9 May 2018 21:00:18 +0000 (23:00 +0200)]
Update for 2018.05-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoCHANGES: additional updates for 2018.05-rc1
Thomas Petazzoni [Wed, 9 May 2018 20:53:39 +0000 (22:53 +0200)]
CHANGES: additional updates for 2018.05-rc1

 - Add some explanations about the Blackfin removal, as suggested by
   Yann E. Morin.

 - Add list of resolved issues.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoCHANGES: update in preparation for 2018.05-rc1
Thomas Petazzoni [Wed, 9 May 2018 20:28:49 +0000 (22:28 +0200)]
CHANGES: update in preparation for 2018.05-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mplayer: remove package
Bernd Kuhls [Tue, 1 May 2018 07:10:17 +0000 (09:10 +0200)]
package/mplayer: remove package

This package causes numerous build errors. During the last hackaton it
was decided to remove this package:
http://lists.busybox.net/pipermail/buildroot/2018-April/217514.html

Fixes
http://autobuild.buildroot.net/results/bda/bda461391c9e02e313fda887b75099e619527a7a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tovid: switch from mplayer to mpv
Bernd Kuhls [Tue, 1 May 2018 07:10:16 +0000 (09:10 +0200)]
package/tovid: switch from mplayer to mpv

The mplayer package will be removed from buildroot, tovid can use mpv
instead. Support for mpv was added upstream:
https://github.com/tovid-suite/tovid/commit/05cbce2ea130e50f6bf1599816dd0d7bf3ace91a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tovid: bump version
Bernd Kuhls [Tue, 1 May 2018 07:10:15 +0000 (09:10 +0200)]
package/tovid: bump version

Support for mpv is not present in the tarball version 0.35.2, therefore
we bump this package to current git master branch to prepare the switch
from mplayer to mpv.

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libplayer: remove mplayer support
Bernd Kuhls [Tue, 1 May 2018 07:10:14 +0000 (09:10 +0200)]
package/libplayer: remove mplayer support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoRevert "libcrossguid: bump to version 0.2.2"
Bernd Kuhls [Tue, 1 May 2018 07:52:11 +0000 (09:52 +0200)]
Revert "libcrossguid: bump to version 0.2.2"

This reverts commit dededf0ff2177e5aeb051db25e178bb951debce5.

Building the only package depending on libcrossguid, Kodi, breaks due to
this bump:

/home/buildroot/br4/output/build/kodi-17.6-Krypton/xbmc/utils/
StringUtils.cpp: In static member function ‘static std::__cxx11::string
StringUtils::CreateUUID()’:
/home/buildroot/br4/output/build/kodi-17.6-Krypton/xbmc/utils/
StringUtils.cpp:1194:10: error: ‘GuidGenerator’ does not name a type
   static GuidGenerator guidGenerator;
          ^~~~~~~~~~~~~
/home/buildroot/br4/output/build/kodi-17.6-Krypton/xbmc/utils/
StringUtils.cpp:1195:15: error: ‘guidGenerator’ was not declared in this
scope
   auto guid = guidGenerator.newGuid();
               ^~~~~~~~~~~~~

This happens due to changes in libcrossguid:
https://github.com/graeme-hill/crossguid/blob/master/README.md

"This is version 0.2 of CrossGuid. If you all already using CrossGuid and
your code uses GuidGenerator then you are using version 0.1."

Even Kodi master branch has no support for libcrossguid-0.2.x yet so we
revert the bump.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouclibc: fix ldconfig for x86_64
Waldemar Brodkorb [Tue, 1 May 2018 18:04:02 +0000 (20:04 +0200)]
uclibc: fix ldconfig for x86_64

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolog4cplus: bump to version 2.0.0
Fabrice Fontaine [Sun, 6 May 2018 09:35:07 +0000 (11:35 +0200)]
log4cplus: bump to version 2.0.0

- LICENSE has been updated to add threadpool license (BSD-like)
- Add hash for license file

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/znc: bump version to 1.7.0
Bernd Kuhls [Sun, 6 May 2018 09:29:03 +0000 (11:29 +0200)]
package/znc: bump version to 1.7.0

Increased minimum gcc version to 4.8 as mentioned in the Changelog:
https://wiki.znc.in/ChangeLog/1.7.0

Removed all patches:
- 0001 was applied upstream:
https://github.com/znc/znc/commit/483074cbf82a48a3ff01838fcbaec00553d1882c

- 0002 is not needed anymore after upstream switched Csocket to a git
  submodule:
https://github.com/znc/znc/commit/9166e6ed40f0c7a85eee0d024b12510c13863f55#diff-8a725997e024d92d67b33a90cffb8342

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibkrb5: bump to version 1.16.1
Fabrice Fontaine [Sun, 6 May 2018 09:18:18 +0000 (11:18 +0200)]
libkrb5: bump to version 1.16.1

Update hash for license file (update to year)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-remi: bump to version 1.1
Gwenhael Goavec-Merou [Fri, 4 May 2018 09:58:56 +0000 (11:58 +0200)]
python-remi: bump to version 1.1

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agominissdpd: bump to version 1.5.20180223
Fabrice Fontaine [Fri, 4 May 2018 20:09:17 +0000 (22:09 +0200)]
minissdpd: bump to version 1.5.20180223

Update hash of license file (update in year)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/apr-util: add optional support for openldap
Bernd Kuhls [Fri, 4 May 2018 18:26:15 +0000 (20:26 +0200)]
package/apr-util: add optional support for openldap

apr-util contains optional support for openldap:

$ ls -1 output/target/usr/lib/apr-util-1/apr_ldap*
output/target/usr/lib/apr-util-1/apr_ldap-1.so
output/target/usr/lib/apr-util-1/apr_ldap.la
output/target/usr/lib/apr-util-1/apr_ldap.so

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/apr-util: add optional support for postgresql
Bernd Kuhls [Fri, 4 May 2018 18:26:14 +0000 (20:26 +0200)]
package/apr-util: add optional support for postgresql

apr-util contains optional support for postgresql:

$ ls -1 output/target/usr/lib/apr-util-1/apr_dbd_pg*
output/target/usr/lib/apr-util-1/apr_dbd_pgsql-1.so
output/target/usr/lib/apr-util-1/apr_dbd_pgsql.la
output/target/usr/lib/apr-util-1/apr_dbd_pgsql.so

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu_arm_vexpress: Linux kernel update to 4.16.7
Florian La Roche [Sun, 6 May 2018 20:03:44 +0000 (22:03 +0200)]
qemu_arm_vexpress: Linux kernel update to 4.16.7

Update qemu_arm_vexpress target to Linux kernel 4.16.7.

Signed-off-by: Florian La Roche <Florian.LaRoche@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibkcapi: split BR2_PACKAGE_LIBKCAPI_APPS
Fabrice Fontaine [Sun, 6 May 2018 22:09:01 +0000 (00:09 +0200)]
libkcapi: split BR2_PACKAGE_LIBKCAPI_APPS

Since commit https://github.com/smuellerDD/libkcapi/commit/af313accf18887b4f6dbd7306c2389ddf271c9b7,
hasher test application depends on dlfcn.h. To avoid putting all apps
under !BR2_STATIC_LIBS dependency, split BR2_PACKAGE_LIBKCAPI_APPS into
several variables.

Moreover, BR2_USE_MMU is only a dependency of BR2_PACKAGE_LIBKCAPI_TEST
as other applications don't use fork.

Finally, enc or dgst applications could be enabled in a next patch if
needed.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-cython: new package
Joseph Kogut [Mon, 7 May 2018 03:00:31 +0000 (20:00 -0700)]
python-cython: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodropbear: Do not build static binary
Stefan Sørensen [Mon, 7 May 2018 12:28:43 +0000 (14:28 +0200)]
dropbear: Do not build static binary

Dropbear 2018.76 now uses the --enable-static option to indicate that a static
binary should be built. This will incorrectly pick up the generic buildroot
option intended for building static libraries, causing an unwanted static
binary build with BR2_SHARED_STATIC_LIBS.

Fix by appending an --disable-static configure flag, overriding the buildroot
default.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/mx53loco: Bump kernel and U-Boot versions
Fabio Estevam [Mon, 7 May 2018 20:44:02 +0000 (17:44 -0300)]
configs/mx53loco: Bump kernel and U-Boot versions

Bump kernel to version 4.16.7 and U-Boot to 2018.05.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobusybox: S01mdev: fix module autoloading
Peter Korsgaard [Mon, 7 May 2018 18:35:01 +0000 (20:35 +0200)]
busybox: S01mdev: fix module autoloading

Commit b4fc5a180c (package/busybox: support spaces in module aliases in
mdev) changed the mdev coldplugging to handle sysfs path elements and
modalias values containing spaces.  This unfortunately doesn't work as was
recently reported:

http://lists.busybox.net/pipermail/buildroot/2018-May/220903.html

The problem is that sort -z also expects the fields of the input files to be
zero terminated, which is not the case for modalias sysfs entries.

So drop the -z option to sort.  Spaces in modalias entries could be handled
with the xargs -d '\n' option, but that is unfortunately not supported by
the busybox applet.  Instead, use tr to convert newlines to zeros so we can
use xargs -0.

Reported-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomesa3d: fix build with gcc <= 4.7 on some architectures
Thomas Petazzoni [Mon, 7 May 2018 11:50:36 +0000 (13:50 +0200)]
mesa3d: fix build with gcc <= 4.7 on some architectures

The configure.ac check for atomic intrinsics assumes that if an atomic
intrinsic is not available, it's because we must link with
libatomic. Except that libatomic is not always available, for example
with gcc <= 4.7.

To fix this, this commit adds a patch that reworks the atomic check in
configure.ac. It has been submitted upstream, and tested in a number
of different combinations.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozeromq: check if -latomic is needed
Asaf Kahlon [Mon, 7 May 2018 20:26:23 +0000 (23:26 +0300)]
zeromq: check if -latomic is needed

Fixes:
http://autobuild.buildroot.net/results/b149aa2ee00e4d6a53c884cf99ecb2dd8af58b65/
http://autobuild.buildroot.net/results/e4b3616ac2695d3b6898185a70da6509b1faa2b8/

Patch the package to check if -latomic is needed to be added, depending on the
result of AC_LINK_IFELSE.

The patch was sent to upstream, see:
https://github.com/zeromq/libzmq/pull/3083

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.0.3
Bernd Kuhls [Mon, 7 May 2018 20:30:49 +0000 (22:30 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 18.0.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosudo: bump to version 1.8.23
Baruch Siach [Tue, 8 May 2018 10:44:01 +0000 (13:44 +0300)]
sudo: bump to version 1.8.23

Use += for the SUDO_CONF_ENV conditional assignment to avoid override of
SUDO_CONF_ENV assignments that might be added in the future.

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-raven: bump to version 6.7.0
Joseph Kogut [Mon, 7 May 2018 23:03:49 +0000 (16:03 -0700)]
python-raven: bump to version 6.7.0

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolxc: fix build with static libcap and shared gnutls
Fabrice Fontaine [Sat, 7 Apr 2018 16:22:34 +0000 (18:22 +0200)]
lxc: fix build with static libcap and shared gnutls

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas:
 - add Upstream-status
 - use proper numbering]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouclibc: fix clock_nanosleep declaration
Waldemar Brodkorb [Sat, 5 May 2018 14:51:31 +0000 (16:51 +0200)]
uclibc: fix clock_nanosleep declaration

Fixes autobuild errors:
 http://autobuild.buildroot.net/results/a58007263355e2734a8074d52b1b26b88973c39e
 http://autobuild.buildroot.net/results/7d6fd0872efd23c7de552ab637956902b43c3f58

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogst1-plugins-ugly: fix x264 compile failure
Peter Seiderer [Mon, 30 Apr 2018 19:47:17 +0000 (21:47 +0200)]
gst1-plugins-ugly: fix x264 compile failure

Add upstream patch to fix compile with latest x264 library.

Fixes [1]:

  gstx264enc.c: In function 'plugin_init':
  gstx264enc.c:2900:36: error: 'x264_bit_depth' undeclared (first use in this function); did you mean 'x264_picture_t'?
     default_vtable.x264_bit_depth = &x264_bit_depth;
                                      ^~~~~~~~~~~~~~
                                      x264_picture_t

[1] http://autobuild.buildroot.net/results/a766a28c584534b6a30839cfd98428d840bce3f2

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibfreeimage: correct 0005-Manage-powf64-with-glibc.patch line endings
Peter Korsgaard [Sun, 6 May 2018 20:51:35 +0000 (22:51 +0200)]
libfreeimage: correct 0005-Manage-powf64-with-glibc.patch line endings

Fixes:
http://autobuild.buildroot.net/results/131/131f97d2c3525794163e5c7863bb8b8523fb05ba/

The libfreeimage source code uses DOS line endings, which gets stripped by
patchwork so the patch no longer applies.  Fix it by converting line endings
of the patch hunks to DOS (but not the patch meta data).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobinutils: replace hard-links with soft-links to fix rpath
Thomas Petazzoni [Sun, 22 Apr 2018 12:23:50 +0000 (14:23 +0200)]
binutils: replace hard-links with soft-links to fix rpath

binutils installs its binaries both as bin/<tuple>-<tool> and as
<tuple>/bin/<tool>, and hardlinks are used to reduce disk space
consumption. This causes a problem for host-binutils with our rpath
fixing logic done by "make sdk".

Indeed, the fix-rpath script starts by fixing up the rpath of
bin/<tuple>-<tool>, and sets the RPATH to $ORIGIN/../lib/. Then
fix-rpath moves on to <tuple>/bin/<tool>, and doesn't find the library
the tool depends on, and clears the RPATH. The result is that the
binutils tool are not usable.

Note that this is only visible currently on the ARC architecture,
because on this architecture, binutils is fetched from git, which
causes host-flex to be built, and some binutils tools to use the libfl
shared library. Therefore, the binutils tools don't use just the
standard C library (which is provided by the system) but also libfl
from $(HOST_DIR)/lib, and therefore if the RPATH isn't set correctly,
those tools don't work properly.

In order to address this, this comit adds a post-install hook to
host-binutils that replaces those hard links by symbolic links. It is
worth mentioning that library loading and RPATH usage occurs *after*
resolving the symbolic links, which makes this solution work.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoudftools: fix static linking against readline
Thomas Petazzoni [Sun, 22 Apr 2018 21:20:05 +0000 (23:20 +0200)]
udftools: fix static linking against readline

One program of udftools uses the readline library, but fails to build
in static linking configurations. In order to fix this, we teach
udftools configure.ac to use pkg-config to detect the readline
library, and to use the proper flags provided by pkg-config.

This obviously requires an autoreconf of the package, and the addition
of host-pkgconf in the dependencies.

Fixes:

  http://autobuild.buildroot.net/results/113a94049d89b8f065112e5d4482667a7b7fb843/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoreadline: install a .pc file
Thomas Petazzoni [Sun, 22 Apr 2018 21:20:04 +0000 (23:20 +0200)]
readline: install a .pc file

Some packages (such as udftools) fail to build against readline in
static linking configurations. To fix this, we install the .pc file
provided by readline.

Unfortunately, this .pc file is by default not correct, so a patch is
added to fix it, and this patch requires to re-autoconf the package
(but not autoreconf since only autoconf is used).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoudftool: add missing dependency on readline
Thomas Petazzoni [Sun, 22 Apr 2018 21:20:03 +0000 (23:20 +0200)]
udftool: add missing dependency on readline

udftool/Config.in selects BR2_PACKAGE_READLINE, but udftool does not
depend on it. Readline is not a runtime dependency: one of the udftool
program links against it.

This commit fixes this inconsistency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years ago.gitlab-ci.yml: update after removal of freescale defconfigs
Peter Korsgaard [Sun, 6 May 2018 15:36:37 +0000 (17:36 +0200)]
.gitlab-ci.yml: update after removal of freescale defconfigs

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: ensure correct make targets are used for cuImage/simpleImage.<dtb>
Peter Korsgaard [Sun, 6 May 2018 06:34:18 +0000 (08:34 +0200)]
linux: ensure correct make targets are used for cuImage/simpleImage.<dtb>

Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/66561794

LINUX_DTS_NAME may end up with a leading space because of the += logic, and
may contain multiple dts files - Neither of which works when we construct
the {cu,simple}Image.$(LINUX_DTS_NAME) make target name.

Fix it by using the first word in the variable.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmhash: add hash for license file
Fabrice Fontaine [Sun, 6 May 2018 09:37:09 +0000 (11:37 +0200)]
libmhash: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmnl: add hash for license file
Fabrice Fontaine [Sun, 6 May 2018 09:39:10 +0000 (11:39 +0200)]
libmnl: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmng: add hash for license file
Fabrice Fontaine [Sun, 6 May 2018 09:38:13 +0000 (11:38 +0200)]
libmng: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibnetfilter_acct: add hash for license file
Fabrice Fontaine [Sun, 6 May 2018 09:56:51 +0000 (11:56 +0200)]
libnetfilter_acct: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmemcached: add hash for license file
Fabrice Fontaine [Sun, 6 May 2018 09:36:24 +0000 (11:36 +0200)]
libmemcached: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/Config.in: fix alphabetical order
Jerzy Grzegorek [Sun, 6 May 2018 09:57:21 +0000 (11:57 +0200)]
package/Config.in: fix alphabetical order

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/patch: fix xattr option
Yann E. MORIN [Sun, 6 May 2018 11:57:51 +0000 (13:57 +0200)]
package/patch: fix xattr option

The name of the configure option is, and has always been,
 --enable-xattr, not --enable-attr. Otherwise, configure
whines:
    configure: WARNING: unrecognized options: --enable-attr

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibupnpp: fix build with uclibc
Fabrice Fontaine [Fri, 4 May 2018 16:01:33 +0000 (18:01 +0200)]
libupnpp: fix build with uclibc

Add patch to avoid failing with error if host_os doesn't start with
linux

Fixes:
 - http://autobuild.buildroot.net/results/cfb332a169863bcb3e6bc6ee7d6f6199f856b0b8
 - http://autobuild.buildroot.net/results/2f6f464f6360ed9ea4c238f503d2c3b8ab3cbd86

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolog4cplus: fix license
Fabrice Fontaine [Fri, 4 May 2018 11:26:08 +0000 (13:26 +0200)]
log4cplus: fix license

Some files of log4cplus are licensed under BSD-2-Clause as stated in
LICENSE file: "Each file of log4cplus source is licensed using either
two clause BSD license or Apache license 2.0."

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocan-utils: bump to version 2018.02.0
Baruch Siach [Fri, 4 May 2018 09:23:47 +0000 (12:23 +0300)]
can-utils: bump to version 2018.02.0

Disable for musl. can-utils now uses the error() glibc extension.

Use Makefile as license file.

Change homepage link to the github repo. The README.md file is much more
informative than the elinux.org wiki page.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoebtables: drop obsolete comment
Baruch Siach [Fri, 4 May 2018 09:31:44 +0000 (12:31 +0300)]
ebtables: drop obsolete comment

Commit 30c4b5843f (ebtables: enable for musl) enabled musl build, but
forgot to remove the comment text. Fix that.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/freeswitch: add optional support for postgresql
Bernd Kuhls [Fri, 4 May 2018 18:26:34 +0000 (20:26 +0200)]
package/freeswitch: add optional support for postgresql

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibnice: bump to version 0.1.14
Fabrice Fontaine [Fri, 4 May 2018 21:18:12 +0000 (23:18 +0200)]
libnice: bump to version 0.1.14

- Remove patch (already in version)
- Add gnutls mandatory dependency
- Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolcms2: bump to version 2.9
Fabrice Fontaine [Sat, 5 May 2018 17:13:42 +0000 (19:13 +0200)]
lcms2: bump to version 2.9

- Remove two patches (already in version)
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoghostscript: don't use lcms2art
Fabrice Fontaine [Sat, 5 May 2018 16:58:21 +0000 (18:58 +0200)]
ghostscript: don't use lcms2art

Delete lcsm2art directory to use the buildroot lcms2 library

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmpeg2: add hash for license file
Fabrice Fontaine [Fri, 4 May 2018 21:38:55 +0000 (23:38 +0200)]
libmpeg2: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibnpth: add hash for license file
Fabrice Fontaine [Fri, 4 May 2018 21:37:16 +0000 (23:37 +0200)]
libnpth: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibnatpmp: add hash for license file
Fabrice Fontaine [Fri, 4 May 2018 21:38:23 +0000 (23:38 +0200)]
libnatpmp: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibndp: bump to version 1.6
Fabrice Fontaine [Fri, 4 May 2018 20:19:03 +0000 (22:19 +0200)]
libndp: bump to version 1.6

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmcrypt: add hash for license file
Fabrice Fontaine [Fri, 4 May 2018 19:21:20 +0000 (21:21 +0200)]
libmcrypt: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmad: add hash for license file
Fabrice Fontaine [Fri, 4 May 2018 19:17:36 +0000 (21:17 +0200)]
libmad: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmbus: add hash for license file
Fabrice Fontaine [Fri, 4 May 2018 19:23:53 +0000 (21:23 +0200)]
libmbus: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibkrb5: add dependency on host-bison
Fabrice Fontaine [Fri, 4 May 2018 18:43:55 +0000 (20:43 +0200)]
libkrb5: add dependency on host-bison

libkrb5 needs yacc

Fixes:
 - http://autobuild.buildroot.net/results/0bd0011978ecf0958ad459ae1aace564f4dde870

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/freescale_imx6ulevk: Remove target
Fabio Estevam [Sat, 5 May 2018 23:12:24 +0000 (20:12 -0300)]
configs/freescale_imx6ulevk: Remove target

Currently this target fails to build:

./scripts/dtc-version.sh: line 17: dtc: command not found
./scripts/dtc-version.sh: line 18: dtc: command not found
*** Your dtc is too old, please upgrade to dtc 1.4 or newer

Even though the fix for this build failure is easy, I prefer to
maintain only imx6ulevk_defconfig, which is a target for the
same board, but uses mainline kernel and U-Boot versions instead.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561695
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/freescale_imx31_3stack: Remove target
Fabio Estevam [Sat, 5 May 2018 23:12:23 +0000 (20:12 -0300)]
configs/freescale_imx31_3stack: Remove target

Currently this target fails to build:

arch/arm/mach-imx/built-in.o: In function `init_mmdc_lpddr2_settings':
platform-spi_imx.c:(.text+0x8f18): undefined reference to `imx6sll_lpddr2_freq_change'
arch/arm/mach-imx/built-in.o: In function `imx6ul_cpuidle_init':
platform-spi_imx.c:(.init.text+0x195c): undefined reference to `mx6ull_lpm_wfi_end'
platform-spi_imx.c:(.init.text+0x1960): undefined reference to `mx6ull_lpm_wfi_start'
platform-spi_imx.c:(.init.text+0x1964): undefined reference to `imx6ull_low_power_idle'
arch/arm/mach-imx/built-in.o: In function `imx6sl_init_late':
platform-spi_imx.c:(.init.text+0x56f0): undefined reference to `imx6sll_cpuidle_init'
Makefile:969: recipe for target 'vmlinux' failed

NXP 4.9 kernel does not properly support mx31, so better remove this target.

mx31_3stack board is currently supported in U-Boot and kernel mainline,
so if someone is interested on this board, then a target can be introduced
later which uses these mainline components.

Currently I do not have access to this board, so remove it its defconfig
for now.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561688
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/freescale_imx6sololiteevk: Remove target
Fabio Estevam [Sat, 5 May 2018 23:12:22 +0000 (20:12 -0300)]
configs/freescale_imx6sololiteevk: Remove target

Currently this target fails to build:

Error: No BOOT_FROM tag in board/freescale/mx6slevk/imximage.cfg.cfgtmp
arch/arm/imx-common/Makefile:91: recipe for target 'u-boot-dtb.imx' failed

This problem has been already solved in upstream U-Boot, but not
on NXP version of U-Boot.

To avoid the maintainance burden of keeping two defconfigs for the
same board, remove freescale_imx6sololiteevk_defconfig in favor
of imx6slevk_defconfig, which uses U-Boot and kernel mainline.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561693
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/Config.in: fix alphabetical order
Jerzy Grzegorek [Sat, 5 May 2018 19:22:38 +0000 (21:22 +0200)]
package/Config.in: fix alphabetical order

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonasm: Fix compilation with GCC 8
Carlos Santos [Sat, 5 May 2018 02:34:28 +0000 (23:34 -0300)]
nasm: Fix compilation with GCC 8

host-nasm fails to compile with GCC 8:

In file included from ./include/nasm.h:46,
                 from asm/nasm.c:47:
./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes]
 void pure_func seg_init(void);
 ^~~~

Pull a patch from upstream that removes the stale declaration of
seg_init, which was eliminated a long time ago.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodropbear: Fix host key loading with 521 bit ecdsa keys
Stefan Sørensen [Thu, 3 May 2018 11:46:59 +0000 (13:46 +0200)]
dropbear: Fix host key loading with 521 bit ecdsa keys

Dropbear 2018.76 changed the default ecdsa host key size form 521 to 256
bits, but this breaks systems with an existing 521 bit key, blocking ssh
logins.

Apply the upstream fix from https://secure.ucc.asn.au/hg/dropbear/rev/0dc3103a5900 :

  Only advertise a single server ecdsa key when -R (generate as required) is
  specified. Fixes -R now that default ecdsa key size has changed.

[Peter: apply-patches.sh does not like suffix-less filename, so include
patch in Buildroot]
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2018.02.2
Peter Korsgaard [Fri, 4 May 2018 17:15:31 +0000 (19:15 +0200)]
docs/website: update for 2018.02.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognupg2: bump to version 2.2.7
Baruch Siach [Fri, 4 May 2018 05:01:42 +0000 (08:01 +0300)]
gnupg2: bump to version 2.2.7

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibgpg-error: bump to version 1.31
Baruch Siach [Fri, 4 May 2018 05:01:41 +0000 (08:01 +0300)]
libgpg-error: bump to version 1.31

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibgpgme: bump to version 1.11.1
Baruch Siach [Fri, 4 May 2018 05:01:40 +0000 (08:01 +0300)]
libgpgme: bump to version 1.11.1

Drop upstream patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoopenvpn: bump to version 2.4.6
Baruch Siach [Fri, 4 May 2018 04:16:35 +0000 (07:16 +0300)]
openvpn: bump to version 2.4.6

Note that CVE-2018-9336 fixed in this version does not affect Buildroot
since it is Windows specific.

Drop interoperability with older busybox versions. We removed support
for busybox version selection long ago.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoliblogging: bump to version 1.0.6
Fabrice Fontaine [Thu, 3 May 2018 22:23:06 +0000 (00:23 +0200)]
liblogging: bump to version 1.0.6

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoliblog4c-localtime: add hash for license file
Fabrice Fontaine [Thu, 3 May 2018 21:54:42 +0000 (23:54 +0200)]
liblog4c-localtime: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/bash: use target finalize hook
Romain Naour [Fri, 19 Jan 2018 10:15:09 +0000 (11:15 +0100)]
package/bash: use target finalize hook

Arnout reported an issue with the upcoming top-level parallel build.
The file /etc/shells can be modified by several packages (shell providers)

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/bash: add missing double-dollar for /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:08 +0000 (11:15 +0100)]
package/bash: add missing double-dollar for /etc/shells

Commit 4d279697afbf8fb295274784103be2b837113d5e missed one comment
from Yann E. Morin about the double-dollar.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mksh: add /bin/mksh to /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:07 +0000 (11:15 +0100)]
package/mksh: add /bin/mksh to /etc/shells

When mksh is selected, /bin/mksh is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connections for users using mksh as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/zsh: add /bin/zsh to /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:06 +0000 (11:15 +0100)]
package/zsh: add /bin/zsh to /etc/shells

When zsh is selected, /bin/zsh is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connections for users using zsh as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tmux: add /usr/bin/tmux to /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:05 +0000 (11:15 +0100)]
package/tmux: add /usr/bin/tmux to /etc/shells

When tmux is selected, /usr/bin/tmux is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connections for users using tmux as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/screen: add /usr/bin/screen to /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:04 +0000 (11:15 +0100)]
package/screen: add /usr/bin/screen to /etc/shells

When screen is selected, /usr/bin/screen is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connections for users using screen as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

While at it, drop an empty line between an existing hook definition
and its registration, to be consistent with the coding style used in
the rest of Buildroot.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/dash: add /etc/dash to /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:03 +0000 (11:15 +0100)]
package/dash: add /etc/dash to /etc/shells

When dash is selected, /bin/dash is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connections for users using dash as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/busybox: add /bin/{a, hu}sh to /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:02 +0000 (11:15 +0100)]
package/busybox: add /bin/{a, hu}sh to /etc/shells

When ash (busybox) is selected, /bin/{a,hu}sh is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connections for users using {a,hu}sh as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/skeleton-init-common: add /bin/sh to /etc/shells
Romain Naour [Fri, 19 Jan 2018 10:15:01 +0000 (11:15 +0100)]
package/skeleton-init-common: add /bin/sh to /etc/shells

Add the default shell /bin/sh to /etc/shells only if BR2_SYSTEM_BIN_SH_NONE
is not selected.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>o
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocore/pkg-infra: don't display "foo Downloading" when there's no source
Yann E. MORIN [Thu, 3 May 2018 20:17:57 +0000 (22:17 +0200)]
core/pkg-infra: don't display "foo Downloading" when there's no source

Commit ea55e1323 (core/pkg-infra: don't enforce site-method for extra
downloads) forgot to account for those packages that have nothing to
download, like the skeleton, or like virtual packages...

The side effect is that the message "foo Downloading" is thus
displayed when it should not be.

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-bad: conditionally add gpl license
Danomi Manchego [Thu, 12 Apr 2018 03:02:10 +0000 (23:02 -0400)]
gst1-plugins-bad: conditionally add gpl license

Currently, GST1_PLUGINS_BAD_LICENSE_FILES starts out set to
both the GPL COPYING file and the LGPL COPYING.LIB file, but
the GST1_PLUGINS_BAD_LICENSE handling only claims LGPL, and
then intelligently adds GPL if needed.  This change moves the
GPL file addition to the same conditional clause so that the
GPL file is included in the legal-info location only if GPL
code is actually used.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoMakefile: Update mtime of $(TARGET_DIR)/usr in target-finalize
Chris Lesiak [Mon, 30 Apr 2018 17:14:11 +0000 (12:14 -0500)]
Makefile: Update mtime of $(TARGET_DIR)/usr in target-finalize

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

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

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

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

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

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

Signed-off-by: Chris Lesiak <chris.lesiak@licor.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>