Commit Graph

15816 Commits

Author SHA1 Message Date
Daniel F. Dickinson bcdb9d00a5 passlib: Update passlib to 1.7.2
Relevant bits of upstream changelog

New Features

    argon2: Support more hashes
    scrypt: Now uses python 3.6 stdlib’s hashlib.scrypt() as backend, if present (issue 86).

Bugfixes

    Python 3.8 compatibility fixes
    passlib.apache.HtpasswdFile: improve compatibility with Apache 2.4's htpasswd
    passlib.totp: fix some compatibility issues with older TOTP clients (issue 92)
    Fixed error in argon2.parsehash() (issue 97)

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-12-27 14:06:39 -05:00
Rosen Penev 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 Penev 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 Penev 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 Nyman 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 Luehrsen 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 Qingfang 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 Hak 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 Pavlinec 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čí 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 Nyman 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 Penev 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 Penev 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 Penev 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 Penev 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 Pavlinec 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 Cristian 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 Cristian 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 Cristian 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 Cristian 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 Cristian 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 Cristian 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 Cristian 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 Cristian 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 Penev 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 Cristian 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 Cristian 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
Daniel F. Dickinson 59ca5bda32 msmtp-scripts: Remove as abandoning upstream; msmtp-queue works
I am upstream for msmtp-scripts and have decided to abandon the project.  Therefore
remove msmtp-scripts from OpenWrt -- there is already msmtp-queue which is 'good enough'
for the use cases where msmtp-scripts had any relevance.

This backports to 19.07 so that it doesn't become something folks are depending on.
Due to changes in lock behaviour it never worked in 18.04.x, so ditching it now
keeps it from being picked up again by the userbase.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-12-18 07:45:54 -05:00
Stan Grishin a84d8ddcef https-dns-proxy: switch to https-dns-proxy package name
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-12-17 14:49:00 -07:00
Michael Heimpold 80c42c968e Merge pull request #10809 from etactica/mb-1907
[19.07] libmodbus update to 3.1.6
2019-12-17 20:31:53 +01:00
Michael Heimpold 7ebd7011cc libmodbus: update to 3.1.6
Also fix the license information: in older versions the test programs
were GPL 3 licensed, but meanwhile it changed to BSD license.
But since this package only packages the library itself, we can
safely focus only on the LGPL here which covers the library itself.

While at, fix a minor nitpick during library symlink installation.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-17 14:35:54 +00:00
Jan Pavlinec a70432b785 tor: update to 0.4.1.6
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 390da39191)
2019-12-16 19:37:08 +02:00