46831 Commits

Author SHA1 Message Date
Calin Crisan
6ac44f70cf Init scripts: fix sourcing order 2019-01-11 14:15:34 +02:00
Calin Crisan
ef11ee161a S43firewall: use prepare_conf 2019-01-11 14:04:20 +02:00
Calin Crisan
6f65d633b9 S40network: use prepare_conf 2019-01-11 14:02:58 +02:00
Calin Crisan
2d7d5c68d0 S37bluetooth: use prepare_conf 2019-01-11 14:00:44 +02:00
Calin Crisan
6dff0a0ad1 S36ppp: use prepare_conf 2019-01-11 14:00:11 +02:00
Calin Crisan
e17e87f569 Adapt prepare_conf for directories 2019-01-11 13:59:53 +02:00
Calin Crisan
89bf6b9720 S33hostapd: use prepare_conf 2019-01-11 13:47:09 +02:00
Calin Crisan
bf567ddf77 Rename /etc/init.d/conf to /etc/init.d/os_conf 2019-01-11 13:45:19 +02:00
Calin Crisan
3a06cf48de Source in all available os.conf files 2019-01-11 13:42:09 +02:00
Calin Crisan
df44e16f88 S03hostname: use prepare_conf 2019-01-11 11:43:53 +02:00
Calin Crisan
ace9bdcf2b Init scripts: generalize config file setup 2019-01-11 11:43:22 +02:00
Calin Crisan
e78a2de15b Add /boot/modules support 2019-01-11 11:41:02 +02:00
Calin Crisan
40e95378c6 fwupdate: show download file argument in usage 2019-01-11 11:06:48 +02:00
Adam Duskett
745f884e41 package/php: fix building pcre extension
The configure option "--with-pcre-regex=$(STAGING_DIR)/usr" is broken.
PHP will  prepend $(STAGING_DIR)/usr to the paths, which will cause a
failure because it won't be able to find pcre, and will then fallback to
searching for pcre2, which won't be installed.

Removing "=$(STAGING_DIR)/usr" from --with-pcre-regex fixes the issue.

Fixes:
  http://autobuild.buildroot.net/results/586/586f56e8fcf2d2bbbd3bdf69b1c3befff7ce8bbf
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Tested-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-01-10 23:03:38 +01:00
Adam Duskett
7b8f2ef4bb package/libcpprestsdk: remove use of align_union
Taken from upstream commit 65267c6e83e7e29ed3bdddde13d2c4bbb10e1bff

Fixes:

  http://autobuild.buildroot.net/results/9085cbcc417aec1aeee7a317a32a0c4e5d7bb6d9

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-10 22:18:21 +01:00
Fabrice Fontaine
ef25d13fc7 package/gnuchess: license is GPL-3.0+, not GPL-2.0+
gnuchess is licensed under GPL-3.0+ not GPL-2.0+, also add hash for
license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-10 21:35:52 +01:00
Mark Corbin
7a389a6ec8 support/config-fragments: add RISC-V 32-bit to autobuild configs
Add a minimal RISC-V 32-bit autobuild configuration for the
internal toolchain with glibc.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-10 21:30:21 +01:00
Arnout Vandecappelle (Essensium/Mind)
e2fa462426 patchelf: update _SITE to new location
releases.nixos.org gives some weird XML pages. The upstream location is
nixos.org/releases.

This side uses HSTS, so switch to https to avoid a needless redirect.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-10 15:26:09 +01:00
Peter Korsgaard
b99b09caee package/lighttpd: adjust hash comment after 1.4.52 bump
Commit ec69d3820f (package/lighttpd: bump to version 1.4.52) bumped the
lighttpd version but forgot to adjust the upstream hash comment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-10 11:06:43 +01:00
Peter Korsgaard
ec69d3820f package/lighttpd: bump to version 1.4.52
Fixes location header parsing regression introduced in 1.4.51:
https://redmine.lighttpd.net/issues/2918

Fixes header setting regression introduced in 1.4.51:
https://redmine.lighttpd.net/issues/2919

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-10 08:37:04 +01:00
Peter Korsgaard
d2e1617ccc package/xenomai: drop consecutive empty lines
Commit 4219c58c (xenomai: remove unnecessary autoreconf) introduced a
check-package warning:

1 warnings generated
package/xenomai/xenomai.mk:27: consecutive empty lines

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

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-10 08:33:19 +01:00
Peter Korsgaard
78f0c1fe4a {linux, linux-headers}: bump 4.{9, 14, 19, 20}.x series
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-10 08:32:21 +01:00
Thomas De Schampheleire
89964814cb DEVELOPERS: add Thomas De Schampheleire for xenomai
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 22:40:57 +01:00
Thomas De Schampheleire
4219c58c38 xenomai: remove unnecessary autoreconf
As xenomai release tarballs ship with a configure script, there is only a
need for autoreconfiguring when patches are applied.

The last patch was removed with git commit
de993bc23aab100e16026cb4cabebed48b9e1989 but the AUTORECONF line remained.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 22:40:51 +01:00
Thomas Petazzoni
14ecc5d3ff package/valijson: bump to version 0.1
The v0.1 tag is the first (and only) tag of the project, and has been
done after commit 424b706f990a9eb96dfc19cc8e54f2cd6ce5e186 that we
currently use as a valijson version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 21:36:35 +01:00
Thomas Petazzoni
3d2810bdcf package/grpc: fix build on non-NPTL systems
uClibc-ng in non-NPTL configurations doesn't implement
pthread_setname_np(). Unfortunately grpc assumes that as soon as
__GLIBC__ is defined, pthread_setname_np() is available. It is
particularly sad, because grpc build system uses CMake, so it is
trivial to do such a check.

This commit adds a patch that does just this: check for the
availability of pthread_setname_np(), and use it only if
available. The patch has been submitted upstream.

Fixes:

  http://autobuild.buildroot.org/results/47991306abbcd80fb8e6baad0bd7490fa74f696c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 21:34:11 +01:00
Baruch Siach
4a8c6e6c08 package/strace: fix build for mips
Upstream changes in mips specific code of the last release broke build
for that target. Add a patch that restores build.

Fixes:
http://autobuild.buildroot.net/results/858/8585e75df6462b6d07476a81982e88ec81655c8b/
http://autobuild.buildroot.net/results/b2f/b2f24976ddda1adc9b9ba3d9bfb7167721814f78/
http://autobuild.buildroot.net/results/031/0313245fe555e0c0890c3f475bf6586db23535ed/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 21:09:15 +01:00
Baruch Siach
10f902368b package/strace: fix build for no-MMU targets
The latest strace version bump added a call to fork() which breaks build
for no-MMU. Add a patch that removes the unneeded fork() call on no-MMU.

Fixes:
http://autobuild.buildroot.net/results/4a0/4a0e2872b27be93f73137c7550eae1c1f479c160/
http://autobuild.buildroot.net/results/747/74711084a54dfc17ad0d4d1e5faabf6d8a605dca/

Cc: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 21:09:02 +01:00
Baruch Siach
f5961ff56a tcpreplay: security bump to version 4.3.1
Upstream CHANGELOG entry for 4.3.0 lists these fixes:

    - CVE-2018-18408 use-after-free in post_args (#489)
    - CVE-2018-18407 heap-buffer-overflow csum_replace4 (#488)
    - CVE-2018-17974 heap-buffer-overflow dlt_en10mb_encode (#486)
    - CVE-2018-17580 heap-buffer-overflow fast_edit_packet (#485)
    - CVE-2018-17582 heap-buffer-overflow in get_next_packet (#484)
    - CVE-2018-13112 heap-buffer-overflow in get_l2len (#477 dup #408)

Drop tr_cv_libpcap_version and ac_cv_have_bpf; unused in current
configure script.

Make configure script use pcap-config to list library dependencies.
Unfortunately, pcap-config is not entirely correct, so we still need to
set the LIBS variable for static linking.

Use the smaller tar.xz archive.

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 21:06:40 +01:00
Asaf Kahlon
6d385dc403 python-pytz: bump to version 2018.9
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 16:18:07 +01:00
Peter Seiderer
de25d79013 libinput: bump version to 1.12.5
For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2019-January/039804.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 16:17:40 +01:00
Martin Kepplinger
1a328ba7e5 x11vnc: update to 0.9.16
Update x11vnc from 0.9.15 to 0.9.16. For the changes, see
https://github.com/LibVNC/x11vnc/compare/0.9.15...0.9.16

Signed-off-by: Martin Kepplinger <martink@posteo.de>
[Peter: add hash for COPYING]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 16:12:29 +01:00
Peter Korsgaard
d4c9879803 efibootmgr: drop unneeded include path workaround
The hard coded -I/usr/include/efivar has been dropped from the Makefile in
commit 000eb0020c02 (Set pkg-config binary as variable) which is part of
v13, so drop the unneeded (misnamed) EFIBOOTMSR_PATCH_HEADER_PATH workaround.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-08 16:04:46 +01:00
Calin Crisan
0e7812c383
Merge pull request #19 from jasaw/local-fwupdate
Support fwupdate upgrade local_file
2019-01-07 20:49:14 +02:00
Joo Aun Saw
6945f998a5 fwupdate: remove redundant rm commands 2019-01-08 00:10:19 +11:00
Calin Crisan
340fe4b1c5
Merge pull request #20 from jasaw/cp-boot-wpa-conf
Always copy /boot/wpa_supplicant.conf during startup
2019-01-07 11:47:47 +02:00
Carlos Santos
518eb53ec5 package/liburiparser: security bump to version 0.9.1
Fixes an out-of-bounds read, the parsing of some a malformed URIs and a
function that reported 1 more byte than actually needed for IPv4 address
URIs. For additional datails, see

    https://github.com/uriparser/uriparser/blob/uriparser-0.9.1/ChangeLog

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-07 08:50:12 +01:00
Peter Korsgaard
8e928a8389 Makefile, manual, website: Bump copyright year
Happy 2019!

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:30:34 +01:00
Peter Korsgaard
688ffc7ae1 exempi: fix comment entry quote
Fixes the following warning:
package/exempi/Config.in:14:warning: multi-line strings not supported

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:25:56 +01:00
Ilya Averyanov
1cd4dd4800 exempi: add dependency on threads
Fixes:
http://autobuild.buildroot.net/results/96b/96bf4f0ddd88233b9604056d83bb3d7ea97d2046/
http://autobuild.buildroot.net/results/d92/d92c8eb3004165033c22cc98b153cf547a352fd7/

Signed-off-by: Ilya Averyanov <averyanovin@gmail.com>
[Peter: add autobuilder references]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:22:04 +01:00
Peter Seiderer
89a1398a2b rpi-userland: bump version to 7cbfbd38d9
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:18:48 +01:00
Peter Seiderer
5a5fb2ad1c rpi-firmware: bump version to fbad6408c4
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:18:13 +01:00
Peter Seiderer
5ded4ebaf2 configs/raspberrypi*: bump kernel version to 4c5aec7827
Now based on 4.14.91 (from 4.14.74).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:17:44 +01:00
Baruch Siach
8adb680dd4 package/ed: bump to version 1.15
Drop ED_CONF_OPTS; unused since commit 2a37b625e2 ("ed: Convert to
generic package infrastructure").

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:09:12 +01:00
Romain Naour
3acbb51e6b package/solarus: update license.txt file hash and remove license_gpl.txt hash.
The license.txt file has been updated with Solarus Free Resource Pack URL.

Before version 1.6.0, the archive was downloaded from github and license_gpl.txt
file which is present in the git repository.
Since version 1.6.0, the archive is downloaded from [1] but the license_gpl.txt
file is missing.

This has been reported upstream [2].

[1] http://www.solarus-games.org
[2] https://gitlab.com/solarus-games/solarus/issues/1328

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:05:48 +01:00
Frank Hunleth
9ddaba1e03 package/php_zmq: fix build with php 7.3.0
This includes an patch that fixes the following error:

```
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c: In function 'php_zmq_context_get':
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c:238:20: error: lvalue required as left operand of assignment
   GC_REFCOUNT(&le) = 1;
                    ^
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c: In function 'php_zmq_socket_store':
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c:538:19: error: lvalue required as left operand of assignment
  GC_REFCOUNT(&le) = 1;
```

The patch was created from the PR at:

https://github.com/mkoppanen/php-zmq/pull/195

Upstream has not merged the PR. Fixes:

http://autobuild.buildroot.org/results/3f2/3f258fbc7352c3d7205bc6402145be1102d69683

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 20:59:19 +01:00
Florian La Roche
ebee3fd139 package/irqbalance: bump to version 1.5.0
>From the upstream changelog:

New Features in irqbalance 1.5.0
* file based socket ipc mechanism
* support for multiple policy scripts
* add some sandboxing support
* enhanced debug output
* Imroved irq type determination for ARM
Bugs fixed:
* Fixed xen event interrupt detection
* Fix node parsing in sysfs
* Covscan fixes
* Fix use on systems without a pci bus
* Various other cleanups

Signed-off-by: Florian La Roche <F.LaRoche@pilz.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 20:57:50 +01:00
Nicolas Cavallari
cc8feb13fc strace: bump to version 4.26
The licence changed from BSD to LGPL 2.1 or later, update this
accordingly.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 20:57:27 +01:00
Mark Corbin
22322383a7 configs/qemu_riscv32_virt: new defconfig
Add RISC-V 32-bit defconfig for QEMU virt machine.

Tested with QEMU 2.12.1

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: regenerate .gitlab-ci.yml, update DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-06 14:30:11 +01:00
Mark Corbin
ae99fa6d64 arch: add support for RISC-V 32-bit (riscv32) architecture
This enables a riscv32 system to be built with a Buildroot generated
toolchain (gcc >= 7.x, binutils >= 2.30, glibc only).

This requires a custom version of glibc 2.26 from the riscv-glibc
repository. Note that there are no tags in this repository, so the
glibc version just consists of the 40 character commit id string.

Thanks to Fabrice Bellard for pointing me towards the 32-bit glibc
repository and for providing the necessary patch to get it to build.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-06 14:09:31 +01:00