Commit Graph
15821 Commits
Author SHA1 Message Date
Moritz Warning 38a3ed1c75 zerotier: change license to BSL 1.1
Business Source License.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-12-28 14:48:33 +01:00
Moritz Warning e42648f3c8 zerotier: update to release 1.4.4
Also allow path to local.conf to be set and enable linker optimisations
to save a few bytes.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-12-28 14:48:33 +01:00
Moritz Warning 70f4c1d197 zerotier: udpate to 1.4.2
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-12-28 14:48:33 +01:00
DENG QingfangandMoritz Warning 61291196d3 zerotier: fix linking to libnatpmp and build with uclibc
Makefile always checks the existence of host's NAT-PMP header,
which results in internal NAT-PMP code being used if it's missing.

Add a patch to make it check targets' header instead.

Use aligned_alloc() instead of valloc() in case of uclibc.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-12-28 14:48:33 +01:00
Moritz Warning 1961985f86 zerotier: update to zerotier 1.4.0
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-12-28 14:48:33 +01:00
Moritz Warning 7b5cc70faa zerotier: keep configuration file on update
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-12-28 14:48:33 +01:00
Rosen PenevandGitHub 73a965aea0 Merge pull request #10875 from jefferyto/golang-ldflags-fix-openwrt-19.07
[openwrt-19.07] golang: Fix ldflags when GO_PKG_LDFLAGS is set
2019-12-26 13:53:13 -08:00
Jeffery To db9a8a1e74 golang: Fix ldflags when GO_PKG_LDFLAGS is set
go build/install supports multiple -ldflags arguments, but they are not
combined; for each package, the latest match on the command line is
used.[1]

Previously, the main executable would not be affected by the default
ldflags if GO_PKG_LDFLAGS or GO_PKG_LDFLAGS_X were set. (The default
ldflags instructs go to use the external linker.)

This fixes golang-package.mk so that the default ldflags take effect in
all cases.

[1]: https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 4827bc7509)
2019-12-26 21:09:01 +08:00
Rosen PenevandGitHub a258499976 Merge pull request #10865 from nxhack/libuv_1_32_0
[openwrt-19.07] libuv: update to 1.32.0
2019-12-23 17:57:39 -08:00
Hirokazu MORIKAWA a23285c002 libuv: update to 1.32.0
[openwrt-19.07] libuv: update to 1.32.0

update to 1.32.0
Update is required to build the latest node.js v12.x.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-24 10:54:22 +09:00
Rosen PenevandGitHub b710855ef1 Merge pull request #10762 from leonghui/wiki-link-update-19.07
[19.07] treewide: replace old wiki links
2019-12-22 21:43:53 -08:00
Hannu NymanandGitHub 07cda0edc8 Merge pull request #10862 from gladiac1337/haproxy-2.0.12-openwrt-19.07
[openwrt-19.07] haproxy: Update HAProxy to v2.0.12
2019-12-22 14:18:25 +02:00
Christian Lachner 02985327b8 haproxy: Update HAProxy to v2.0.12
- Update haproxy download URL and hash
- Remove @neheb's obsolete-ssl patch as it was upstreamed, see:
  (http://git.haproxy.org/?p=haproxy-2.0.git;a=commit;h=6445d988ec8def9d0f80de0eda9c5763d39facc1)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-12-22 10:36:04 +01:00
Eric LuehrsenandJosef Schlehofer ef82bba488 unbound: update to 1.9.6
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
(cherry picked from commit 173f2d6c9f)
2019-12-21 23:35:37 +01:00
Josef Schlehofer c9cb6a0b18 dnscrypt-proxy2: Update to version 2.0.34
Repository was renamed to github.com/DNSCrypt/dnscrypt-proxy

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit cddf39cbd1)
2019-12-21 21:57:59 +01:00
DENG QingfangandJosef Schlehofer b8bd94ef81 mtr: update to 0.93
Update mtr to 0.93
Add size optimization options
ath79 ipk size: 31.9k -> 31.4k

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
(cherry picked from commit ad5615737a)
2019-12-21 21:54:33 +01:00
Jan HakandJosef Schlehofer 5fe674a86e knot: update to version 2.9.2
Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit ca729cd43c)
2019-12-21 21:53:34 +01:00
Josef Schlehofer 20d3d99a50 meson: Update to version 0.52.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ce027362c4)
2019-12-21 21:53:29 +01:00
Jan PavlinecandJosef Schlehofer c1b410d7a5 lmdb: use toolchain AR for compilation
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 7c82793719)
2019-12-21 21:53:13 +01:00
Karel KočíandJosef Schlehofer 38c0db06bd shadow: change default encryption method from DES to SHA512
Busybox in default uses SHA512 as well.

On big ditribution this default is sourced from PAM. That means that
shadow reads pam settings and uses that. OpenWrt in most cases does not
have PAM installed and in such case shadow fallbacks to its own default
which is DES. This just changes that default to SHA512 which is
consistent with rest of the system.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry picked from commit f27ce05a58)
2019-12-21 21:53:08 +01:00
Josef Schlehofer 4a8f7d1242 netdata: Update to version 1.19.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit dbf7b965b7)
2019-12-21 21:52:57 +01:00
Josef Schlehofer 39dce33acc syslog-ng: Update to version 3.25.1
Bump version in config

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ac4870f205)
2019-12-21 21:52:43 +01:00
Josef Schlehofer cbb329ac78 btrfs-progs: Update to version 5.4
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 101791a236)
2019-12-21 21:52:32 +01:00
Hannu NymanandGitHub 94c4f61b5c Merge pull request #10856 from BKPepe/python3-19.07
[OpenWrt 19.07] python3: Updated to version 3.7.6
2019-12-21 20:07:36 +02:00
Rosen PenevandGitHub 198d01f78e Merge pull request #10852 from gekmihesg/19.07-restic-rest-server
[19.07] restic-rest-server: add package
2019-12-21 07:03:10 -08:00
Rosen PenevandGitHub 0f18984d4e Merge pull request #10853 from gekmihesg/19.07-restic
[19.07] restic: add package
2019-12-21 07:02:43 -08:00
Josef Schlehofer c5d6ffaf1c python3: Updated to version 3.7.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-21 14:35:31 +01:00
Markus Weippert 34b31493e8 restic: add package
Signed-off-by: Markus Weippert <markus@gekmihesg.de>
2019-12-21 10:20:15 +01:00
Markus Weippert a018b51492 restic-rest-server: add package
Signed-off-by: Markus Weippert <markus@gekmihesg.de>
2019-12-21 10:19:26 +01:00
Rosen Penev 9fffb2b688 icu: Backport C++11 math patch
Fixes compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 93d049951d)
2019-12-19 20:34:21 -08:00
Rosen PenevandGitHub fff198e7ff Merge pull request #10753 from stangri/19.07-https-dns-proxy
[19.07] https-dns-proxy: switch to https-dns-proxy package name
2019-12-18 16:14:44 -08:00
Rosen PenevandGitHub e3de8dd087 Merge pull request #10822 from cshoredaniel/pr-19.07-remove-msmtp-scripts
msmtp-scripts: [19.07] Remove as abandoning upstream; msmtp-queue works
2019-12-18 15:56:21 -08:00
Jan PavlinecandJosef Schlehofer 90ef9c18ce git: update to version 2.24.1 (security fix)
Fixes
CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351,
CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, CVE-2019-1387, and
CVE-2019-19604

And fix deprecated PKG_CPE_ID

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 06d36ca794)
2019-12-19 00:22:59 +01:00
Josef Schlehofer dc2c25ccf4 git: Update to version 2.24.0
Refresh patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 887b4e90e6)
2019-12-19 00:22:54 +01:00
Lucian CristianandJosef Schlehofer 96c667a128 nspr: update to 4.24
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 07f62dbe46)
2019-12-18 23:49:45 +01:00
Lucian CristianandJosef Schlehofer ad246b3633 nspr: update to 4.23
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit d9bb633a49)
2019-12-18 23:49:40 +01:00
Lucian CristianandJosef Schlehofer 8f48dc3341 nspr: update to 4.22
drop upstreamed patches

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit af9209fb31)
2019-12-18 23:49:34 +01:00
Lucian CristianandJosef Schlehofer 78e241c54b nss: update to 3.48
also package libnssckbi.so

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 4ad6e14ac8)
2019-12-18 23:47:54 +01:00
Lucian CristianandJosef Schlehofer 7e51bdee04 nss: update to 3.47.1 and fix xscale
also refresh patches

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 3bacf6e9cb)
2019-12-18 23:47:49 +01:00
Lucian CristianandJosef Schlehofer da51495aa8 nss: update to 3.47
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 8013893745)
2019-12-18 23:47:43 +01:00
Lucian CristianandJosef Schlehofer 5b1beec9d9 nss: update to 3.46.1
and clean some comments

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 4da3baea35)
2019-12-18 23:47:36 +01:00
Lucian CristianandJosef Schlehofer d4d798baad nss: update to 3.46
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 257351976f)
2019-12-18 23:47:31 +01:00
Rosen PenevandJosef Schlehofer 0b2a73d15b nss: Replace usleep with nanosleep
usleep is deprecated and is optionally not available with uClibc-ng.

Added PKG_LICENSE_FILES.

Added PKG_CPE_ID for proper CVE tracking.

Other minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 1f1cec28b7)
2019-12-18 23:46:54 +01:00
Lucian CristianandJosef Schlehofer 666cce12c0 nss: update to 3.45
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 80c7a5c119)
2019-12-18 23:46:49 +01:00
Lucian CristianandJosef Schlehofer 01b9bf1a18 nss: update to 3.44.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 9a4dae73b4)
2019-12-18 23:46:42 +01:00
Nikos Mavrogiannopoulos ceeac3b37d vpnc-script: bumped release version
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-12-18 21:25:14 +01:00
Michael Heimpold 13de8da3b3 php7: update to 7.2.26
This fixes:
  - CVE-2019-11046
  - CVE-2019-11044
  - CVE-2019-11045
  - CVE-2019-11050
  - CVE-2019-11047

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit d5c18b1d5e)
2019-12-18 21:23:12 +01:00
Nikos Mavrogiannopoulos b46f4ecd37 vpnc-script: enable reconnect
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-12-18 21:21:37 +01:00
Jo-Philipp Wich f57ca519ac cgi-io: close pipe descriptors early
In the command read side, close the superfluous write end of the pipe
early to ensure that EOF is reliably detected. Without that change, splice
calls to read from the pipe will occasionally hang until the CGI process
is eventually killed due to timeout.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit dde503da13)
2019-12-18 17:11:14 +01:00
Jo-Philipp Wich 9e434da4e0 cgi-io: implement exec action
Implement a new "cgi-exec" applet which allows to invoke remote commands
and stream their stdandard output back to the client via HTTP. This is
needed in cases where large amounts of data or binary encoded contents
such as tar archives need to be transferred, which are unsuitable to be
transported via ubus directly.

The exec call is guarded by the same ACL semantics as rpcd's file plugin,
means in order to be able to execute a command remotely, the ubus session
identified by the given session ID must have read access to the "exec"
function of the "cgi-io" scope and an explicit "exec" permission rule for
the invoked command in the "file" scope.

In order to initiate a transfer, a POST request in x-www-form-urlencoded
format must be sent to the applet, with one field "sessionid" holding
the login session and another field "command" specifiying the commandline
to invoke.

Further optional fields are "filename" which - if present - will cause
the download applet to set a Content-Dispostition header and "mimetype"
which allows to let the applet respond with a specific type instead of
the default "application/octet-stream".

Below is an example for the required ACL rules to grant exec access to
both the "date" and "iptables" commands. The "date" rule specifies the
base name of the executable and thus allows invocation with arbitrary
parameters while the latter "iptables" rule merely allows one specific
set of arguments which must appear exactly in the given order.

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "cgi-io",
        "objects": [
            [ "exec", "read" ]
        ]
    }'

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "file",
        "objects": [
            [ "/bin/date", "exec" ],
            [ "/usr/sbin/iptables -n -v -L", "exec" ]
        ]
   }'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b2a890f6ad)
2019-12-18 17:11:11 +01:00