Commit graph

15267 commits

Author SHA1 Message Date
Petr Štetiar
a6c658db01 circleci: provide prereq output in the build log
Commit 200f2666fb1c ("sdk: fix GCC and Python dangling symlinks") in
master tree has forced prereq build step, which is now failing on the CI
as the Docker CI images are missing Python3 support, so now every build
fails with the following error:

 make: *** [staging_dir/host/.prereq-build] Error 1

which is not helpful due to the silenced output of `make defconfig >
/dev/null`, so let's add `make prereq` build step in order to get
something usable next time.

Reported-by: Karl Palsson <karlp@etactica.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-08-15 02:31:01 +08:00
Petr Štetiar
07d330907c circleci: use Docker image v1.0.4
This new image which is already available contains Python3 support.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-08-15 02:30:54 +08:00
Petr Štetiar
d9212baa45 circleci: make logs of build failures more readable
Due to concurrent build, it's currently not that easy to find the proper
reason for the package build failure, so let's just build the failing
package with -j1 in order to provide more human readable build log
failures.

Ref: https://github.com/openwrt/packages/pull/9584#issuecomment-518038631
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-08-15 02:30:46 +08:00
Petr Štetiar
775e4f81e7 circleci: add python3 package into Docker image
We've switched to Python3 some time ago so it would make sense to
provide Python3 in the CI image as well.

Ref: https://github.com/openwrt/packages/pull/9584#issuecomment-518038631
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-08-15 02:30:35 +08:00
Karl Palsson
21b11b6eb8 net/mosquitto: bump to 1.6.4
Full changelog here: https://mosquitto.org/blog/2019/08/version-1-6-4-released/

Fixes a regression in persistent session handling, and various other
regressions related to the mqtt5 support.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-08-12 14:11:25 +00:00
Jan Pavlinec
b57190bcab
zeromq: update to version 4.1.7 (security fix)
Fixes:
CVE-2019-13132
Added CPE ID

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit 92bf4b4012)
2019-08-09 22:32:02 +02:00
Rosen Penev
18a8d8b64e
gddrescue: Add uClibc-ng support
It turns out, this breaks only when compiling with both uClibc-ng and
uClibc++. If the libc or libc++ gets swapped out, it compiles fine.

libstdcpp is fine because it already undefs these macros. The actual
bug is probably in uClibc-ng but this is a fine workaround.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d6af6a4d75)
2019-08-08 10:27:05 -07:00
Rosen Penev
d0ef3bfa30
fossil: Remove
The maintainer is inactive, in addition to this package being woefully out
of date. It probably does not work properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 196976cdf0)
2019-08-08 10:25:23 -07:00
Rosen Penev
b9f9c005ae
Merge pull request #9680 from mrstegeman/remove
node-mozilla-iot-gateway: Remove package
2019-08-08 09:47:31 -07:00
Michael Stegeman
07d771ee1b
node-mozilla-iot-gateway: Remove package
As the WebThings Gateway moves into a full-fledged router
distribution, it no longer makes sense to have this as a
standalone package, as it now modifies system-wide settings.

References #9629
References mozilla-iot/gateway#2060
References https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/452

Signed-off-by: Michael Stegeman <michael@stegeman.me>
2019-08-08 08:44:20 -08:00
Rosen Penev
379a8b83ad
Merge pull request #9656 from liudf0716/kcptun
[openwrt-19.07]kcptun: add new package
2019-08-08 09:40:10 -07:00
Dengfeng Liu
c29468ff19 kcptun: add new package
kcptun is a stable & secure tunnel based on kcp with N:M multiplexing.
https://github.com/xtaci/kcptun

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2019-08-08 09:17:33 +08:00
Karl Palsson
09609c73a5 ntpdate: use uci configured servers instead of static list
If we're going to have a list of ntp servers, we should at least respect
them.  Fallback to the original static list if no configured servers are
found.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-08-07 16:27:30 +00:00
Val Kulkov
990c82acf0
subversion: update to the latest release
Update to the latest maintenance release, fixing CVE-2018-11782 and
CVE-2019-0203 among other things.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
(cherry-picked from commit 53f33e5e74)
2019-08-06 23:38:54 +02:00
Karel Kočí
3cc81898b0
btrfs-progs: scan devices in preinit instead of init script
There is no gain to do device scan in init. Commonly we want to always
scan BTRFS devices to ensure that after boot raids are correctly linked.
It should be done before any init script tries to mount any raid FS.

Comparing init scripts and preinit scripts there are I think two primary
considerations. First is if user is expected to restart/reload/stop
given service on will. I think that there is no such reason for this as
user can easily enough just call btrfs utility it self. Second
consideration is if it makes sense to have it optional. This means if we
want to have ability to enable and disable given service. I think that
there is no such need in this case. It is pretty much doing nothing if
you don't have BTRFS FS connected and when you have you probably want to
scan it.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:59:45 +02:00
Karel Kočí
e8da8c8016
btrfs-progs: use box version of btrfs tool (busybox like)
This instead of building every tool separately builds one btrfs binary
and additional tools are links to this binary. This is same approach as
busybox is using.

This splits list of tools to two. boxprogs are tools that are boxed to
code btrfs binary and progs are tools that are not.
This also overload default all make target of Build/Compile and instead
builds (unified) btrfs.progs and separate progs.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:59:39 +02:00
Josef Schlehofer
af369bfc47
btrfs-progs: Update to version 5.2.1
- Move Depends under URL
- Fix PKG_LICENSE to use correct SPDX License Identifier instead of
deprecated one

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-06 09:59:31 +02:00
Rosen Penev
a0b194199c
libsigar: Add missing header
The new version of musl does not include this header internally anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b97f32ec44)
2019-08-05 12:06:22 -07:00
Rosen Penev
99465dd993
libsigar: Remove deprecated rindex function
Optionally unavailable with uClibc-ng.

Switched to local tarballs. .xz is smaller.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b134eb3800)
2019-08-05 12:06:02 -07:00
Rosen Penev
6c04684b51
mt-st: Add missing header
New version of musl no longer includes this header internally.

Removed several unnecessary variables in Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 4cda68c72b)
2019-08-05 12:02:35 -07:00
Rosen Penev
212710c929
xz: Remove bash dependency
Bash is not needed here. These scripts are POSIX compliant.

This was originally added as the configure script looks for /bin/bash
locally. Passing gl_cv_posix_shell overrides this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d0e3aa7493)
2019-08-05 12:02:15 -07:00
Rosen Penev
b20a71c7b9
Merge pull request #9661 from gladiac1337/haproxy-2.0.3-2
[openwrt-19.07] haproxy: Update all patches for HAProxy v2.0.3
2019-08-05 10:20:18 -07:00
Rosen Penev
94d1ad766e
Merge pull request #9649 from jefferyto/python-pyasn1-0.4.6-openwrt-19.07
[openwrt-19.07] python-pyasn1: Update to 0.4.6
2019-08-05 10:00:52 -07:00
Rosen Penev
4a3e8b55a3
Merge pull request #9651 from jefferyto/python-pyasn1-modules-0.2.6-openwrt-19.07
[openwrt-19.07] python-pyasn1-modules: Update to 0.2.6
2019-08-05 10:00:36 -07:00
Christian Lachner
5b0c337301 haproxy: Update all patches for HAProxy v2.0.3
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.0.3.html)
- Raise PKG_RELEASE to 2

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-08-05 14:36:21 +02:00
Rosen Penev
6382759425 haproxy: Get rid of bashisms from get-latest-patches.sh
Plus some other shellcheck cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-05 14:36:06 +02:00
Rosen Penev
52634db76f
findutils: Add missing header
New version of musl no longer internally includes this header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 8ca5cf042d)
2019-08-04 15:35:09 -07:00
Rosen Penev
c205177702
findutils: Fixed up LICENSE information.
Also cleaned some whitespace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fca20e2b2f)
2019-08-04 15:34:44 -07:00
Jeffery To
f52637d3be python-pyasn1-modules: Update to 0.2.6
Requires python-pyasn1 0.4.6 (#9649).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-05 04:05:06 +08:00
Jeffery To
29289e244c python-pyasn1: Update to 0.4.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-05 03:43:40 +08:00
Rosen Penev
30ef3a22b1
Merge pull request #9642 from noblepepper/gcc-7.4.0
gcc: fix build on x86 targets
2019-08-04 08:46:28 -07:00
Noble Pepper
32203bec95 gcc: fix build on x86 targets
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
2019-08-04 09:51:44 -05:00
Rosen Penev
c997675a65
Merge pull request #9627 from jefferyto/slide-switch-0.9.5-openwrt-19.07
[openwrt-19.07] slide-switch: Update to 0.9.5
2019-08-04 06:47:51 -07:00
Michael Heimpold
42a98950b8 php7: update to 7.2.21
This fixes CVE-2019-11042 and CVE-2019-11041.

Compile and run tested on mxs platform

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-08-04 00:44:31 +02:00
Nikos Mavrogiannopoulos
f849de2d08 gnutls: updated to 3.6.9
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-08-02 21:28:25 +02:00
Jeffery To
b69270f14b slide-switch: Update to 0.9.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-02 15:53:59 +08:00
Daniel Engberg
10ad59f106
Merge pull request #9624 from micmac1/19.07-maria10226
mariadb (19.07): security bump to 10.2.26
2019-08-02 01:09:04 +02:00
Sebastian Kemper
771bc141c4 mariadb: security bump to 10.2.26
mariadb: security bump to 10.2.26

New upstream release. Addresses:

  CVE-2019-2805
  CVE-2019-2740
  CVE-2019-2739
  CVE-2019-2737
  CVE-2019-2758

Package updates:

  - includes "THIRDPARTY" in PKG_LICENSE_FILES
  - drops client_ed25519 as a dynamic plugin and install it with the lib
    as per upstream decision
  - refreshes patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-08-01 21:57:42 +02:00
Rosen Penev
6deac48e90
ulogd: Backport JSON network patch
It was requested in #9065 .

Cleaned up Makefile slightly.

Removed inactive maintainer.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 23a36b00e2)
2019-07-31 15:33:00 -07:00
Eneas U de Queiroz
4273dfd32f
bcrypt: add python-cffi/host build dependency
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from 86fb008751)
2019-07-31 15:32:17 -07:00
Matthias Schiffer
c708a1c18b
Merge pull request #9567 from blocktrron/openwrt-19.07
[19.07] fastd: fix segmentation fault with musl >1.1.20
2019-07-25 20:48:00 +02:00
David Bauer
c28978b925 fastd: fix segmentation fault with musl >1.1.20
When compiled with musl >1.1.20, fastd will crash in case it can't
resolve a peers hostname. This is due to a changed implementation of
freeaddrinfo in musl 1.1.21 onwards.

This segfault is fixed by not calling freeaddrinfo in case the supplied
pointer is null.

Signed-off-by: David Bauer <mail@david-bauer.net>
2019-07-25 20:21:54 +02:00
Rosen Penev
c00c7171fa
Merge pull request #9544 from jefferyto/prometheus-fix-mips64-build-openwrt-19.07
[openwrt-19.07] prometheus: Fix build for mips64/mips64el
2019-07-25 10:31:38 -07:00
Rosen Penev
d9941a6eeb
netifyd: Don't build on uClibc-ng
This absolutely needs symbols from libresolv, which uClibc-ng does not
support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 0a3ebb32a1)
2019-07-24 10:03:22 -07:00
Christian Lachner
4791d22946 haproxy: Update HAProxy to v2.0.3
- Update haproxy download URL and hash
- Add new patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-07-24 17:53:42 +08:00
Rosen Penev
0d05301e18
opendkim: Fix compilation with uClibc-ng
res_nsend and res_send are both not available in uClibc-ng as configured
in OpenWrt. Having this function return an error is the only sensible way
to fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b5b776fc9a)
2019-07-23 20:34:59 -07:00
Stepan Henek
eee9c627c8
python-cachelib: package added
Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-22 22:58:31 +02:00
Jeffery To
43a9da0136 prometheus: Fix build for mips64/mips64el
Prometheus uses an older version of fsnotify, which uses a system call
(unix.InotifyInit) that is not implemented for mips64/mips64el.

This patches Prometheus to use a newer version of fsnotify that uses a
different system call (unix.InotifyInit1) that should be available on
all Linux systems.

Fixes #9494.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-07-23 04:30:39 +08:00
Josef Schlehofer
54e3c2280a
python: add patch for CVE-2018-20852
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-22 15:29:46 +02:00
Josef Schlehofer
e4eae2fd9e
Merge pull request #9533 from jefferyto/python-musl-find_library-openwrt-19.07
[openwrt-19.07] python,python3: Fix ctypes.util.find_library()
2019-07-22 15:28:49 +02:00