Commit graph

15535 commits

Author SHA1 Message Date
Jeffery To
bf66776f93
python-cffi: Update to 1.13.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 141ead6bd7)
2019-10-21 13:43:25 +02:00
Josef Schlehofer
e4f1737056
git: Update to version 2.23.0
Refresh patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit d8d736711d)
2019-10-21 03:33:24 +02:00
Josef Schlehofer
45f3e75558
dnscrypt-proxy2: Update to version 2.0.28
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 4370331d79)
2019-10-21 03:33:04 +02:00
Josef Schlehofer
99d8282016
netdata: Update to version 1.18.1
Enable PKG_BUILD_PARALLEL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 603ead3ad8)
2019-10-21 03:32:43 +02:00
Josef Schlehofer
a1a665c7e2
golang: Update to version 1.13.3
Fixes CVE-2019-17596

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 10d55f6)
2019-10-21 03:31:56 +02:00
Dirk Brenken
0b3bd00861
travelmate: update 1.5.0
* add WPA3 support
* fix service status message
* refine trigger handling

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit ab51b1ba34)
2019-10-20 07:24:28 +02:00
Dirk Brenken
6da95de9ef
adblock: minor update 3.8.6-2
* fix service status message
* refine readme regarding reload cron job (provided by @novoid)

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit a94610c88f)
2019-10-20 07:20:30 +02:00
Josef Schlehofer
a454ee3cd6
bind: Update to version 9.14.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 61dcd6849f)
2019-10-20 02:06:08 +02:00
Josef Schlehofer
98519844ac
bind: Update to version 9.14.5
Add PKG_LICENSE_FILES

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 8ca1525a8d)
2019-10-20 02:05:55 +02:00
Rosen Penev
0974ded57c
libssh2: Remove old artifacts from autotools platform
Removed PKG_FIXUP. It has no meaning with CMake.

Replaced PKG_INSTALL with CMAKE_INSTALL. Consequentially, removed
InstallDev section.

Added ABI_VERSION to force package rebuilds when it increases.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license tag.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from commit 6a1cd83265)
2019-10-20 00:32:06 +02:00
Rosen Penev
55ce4621cf
libssh2: Don't build tests
Speeds up build and fixes OpenSSL support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from commit a447e1c6b2)
2019-10-20 00:31:52 +02:00
Jan Pavlinec
ed0bc1713c
libssh2: update to version 1.9.0 (security fix)
Changes:
Fix CVE-2019-13115
Remove old patches
Switch to cmake

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit 9c1a23d977)
2019-10-20 00:31:40 +02:00
Jan Pavlinec
fe3c979d61
irssi: update to version 1.2.2 (security fix)
Fixes CVE-2019-15717

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit b42159dea3)
2019-10-20 00:24:00 +02:00
Josef Schlehofer
1c04ac8ece
sudo: Update to version 1.8.28p1
- Refreshed patches
- Remove inactive maintainer

Fixes: CVE-2019-14287

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 35b215dfff)
2019-10-19 23:04:48 +02:00
Rosen Penev
068c774beb rtorrent: Switch to using static libtorrent
rtorrent is the only user of libtorrent. Statically link to save space.

Added usleep patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 358495f118)
2019-10-19 12:07:57 -07:00
Rosen Penev
09ee71062e rtorrent: Update to 0.9.8
Switch to codeload. A lot simpler.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 84c92f215d)
2019-10-19 12:06:25 -07:00
Rosen Penev
df85170032 rtorrent: Enable IPv6 support
Other Makefile cleanups as well.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 343e2a07e4)
2019-10-19 12:06:12 -07:00
Rosen Penev
ae7ad28287 libtorrent: Switch to static library.
libtorrent is only used by rtorrent. Switch to a static library to save
space.

Removed libsigc++ dependency. It seems it's not needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from e56fada5a8)
2019-10-19 12:05:08 -07:00
Rosen Penev
aa3107b960 libtorrent: Update to 0.13.8
Removed upstreamed patches.

Small change to IPv6 configure flag.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from a328861269)
2019-10-19 12:04:56 -07:00
Rosen Penev
07ee41dba2 libtorrent: Enable IPv6 and clean up Makefile
This was not touched since I took maintainership.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 655eed48dc)
2019-10-19 12:04:45 -07:00
Rosen Penev
0b0d20a75c libsigcxx: Remove
It's no longer needed with libtorrent. No other package depends on it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from ad758ba286)
2019-10-19 12:02:38 -07:00
Rosen Penev
6e4c17eabf gptfdisk: Switch to using uClibc++
Added patches sent upstream to fix usage with uClibc++.

Cleaned up license information.

Added several size optimizations.

Several other Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-19 12:00:44 -07:00
Josef Schlehofer
b4d6806a30
netdata: Update to version 1.18.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit bd5207a)
2019-10-19 17:05:27 +02:00
Rosen Penev
d92c307c61 knxd: Makefile cleanups
argp-standalone is only needed for non GLIBC targets.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed unnecessary C/LDFLAGS.

Remove libstdcpp depends. It's included with libfmt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 5a7ac1d83b)
2019-10-17 16:39:03 -07:00
Rosen Penev
d55ec7ca09 espeak: Compile with uClibc++
Several Makefile cleanups.

Added PKG_BUILD_PARALLEL for faster compilation.

Several size optimizations applied.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 21e195f657)
2019-10-17 16:39:03 -07:00
Rosen Penev
8774958556 libzmq: Remove uClibc++ support
libzmq is used by fbzmq, which absolutely requires libstdcpp since it's a
C++14 project. There's no point in using two libc++.

Cleaned up Makefile for consistency between packages.

Added nanosleep patch for platforms that are missing usleep.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from ad11587c40)
2019-10-17 16:39:03 -07:00
Rosen Penev
5ca357ef48
Merge pull request #10265 from ewsi/feature_dcwifi_openwrt-19.07
[19.07] dcwifi: Add Dual Channel Wi-Fi component packages
2019-10-17 13:20:09 -07:00
Rosen Penev
357ea160b1 crtmpserver: Switch to CMake and uClibc++
Smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-16 19:21:02 -07:00
Carey Sonsino
82a2e3f55f dcwifi: Add Dual Channel Wi-Fi component packages
dcstad: Dual Channel Wi-Fi Station Daemon
dcwapd: Dual Channel Wi-Fi Access Point Daemon
libdcwproto: Dual Channel Wi-Fi Protocol Library
libdcwsocket: Dual Channel Wi-Fi Socket Library
macremapper: MAC Address Remapper Linux Kernel Module
mrmctl: Userland tool to get/set remap rules

Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com>
Signed-off-by: Carey Sonsino <csonsino@gmail.com>
2019-10-16 16:55:38 +00:00
Josef Schlehofer
0183071b22
Merge pull request #10253 from jefferyto/python-pyasn1-modules-0.2.7-openwrt-19.07
[openwrt-19.07] python-pyasn1-modules: Update to 0.2.7
2019-10-15 21:49:44 +02:00
Jeffery To
a0c1c2da6a python-pyasn1-modules: Update to 0.2.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 5848f67e41)
2019-10-16 02:15:00 +08:00
Rosen Penev
f745880429
Merge pull request #10236 from jefferyto/gammu-fix-lib-symlinks-openwrt-19.07
[openwrt-19.07] gammu: Fix lib symlinks
2019-10-14 19:16:00 -07:00
Jeffery To
236e6a08cf gammu: Remove python dependency, fix lib symlinks
This removes the python dependency from the package; according to the
maintainer[1][2] the software does not depend on python.

This also fixes the symlinks for libGammu.so and libgsmsd.so.
Previously, the symlinks were overwritten by $(INSTALL_BIN) with copies
of their sources.

[1]: https://github.com/openwrt/packages/issues/8893#issuecomment-539136531
[2]: https://github.com/openwrt/packages/issues/8893#issuecomment-539152794

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 027ed92f6e)
2019-10-15 01:17:48 +08:00
Rosen Penev
708fac7b3b gammu: Update to 1.41
Remove upstreamed patch.

Switched conditional dependency to python3 in preparation for deprecating
Python 2.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from 99bbb8af31)
2019-10-15 01:17:04 +08:00
Rosen Penev
c3fb7d3a7d
Merge pull request #10203 from ynezz/upstream/19.07/cgi-io-backports
[openwrt-19.07] cgi-io backports
2019-10-14 01:03:45 -07:00
Jeffery To
2685ba269f shinit: Add package
This package adds support for /etc/shinit and ~/.shinit files, which
contain commands to be run at the start of all interactive shells.
(/etc/profile and ~/.profile are read for login shells only.)

This is useful for those who regularly open non-login, interactive
shells, for example users of GNU Screen or tmux.

(This is based on a patch[1] I submitted for OpenWrt master, but there
does not appear to be much interest in merging the change.)

(This package uses the ENV shell variable, of which the POSIX standard
has a brief description[2]. The dash manpage[3] also describes how the
ENV variable is handled. (dash is the basis for busybox ash.))

[1]: https://patchwork.ozlabs.org/patch/1094493/
[2]: https://pubs.opengroup.org/onlinepubs/9699919799//utilities/V3_chap02.html#tag_18_05_03
[3]: https://manpages.debian.org/buster/dash/dash.1.en.html#Invocation

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from c04dff7965)
2019-10-12 04:39:31 +08:00
Petr Štetiar
6a4c0cab44 cgi-io: iron out extra compiler warnings
Fixes following errors:

 main.c:458:37: error: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
 main.c:463:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Werror=sign-compare]
 main.c:518:35: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
 main.c:157:3: error: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Werror=unused-result]
 main.c:763:3: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Werror=unused-result]

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit bb6cdb804c)
2019-10-11 16:13:29 +02:00
Petr Štetiar
6677274844 cgi-io: cmake: enable extra compiler warnings
Spotting issues during compilation is cheaper.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 4e7411a8d0)
2019-10-11 16:13:20 +02:00
Petr Štetiar
0698c1ab29 cgi-io: cmake: fix libraries lookup
In order to make it compile properly in more environments.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit fd47e99be4)
2019-10-11 16:13:11 +02:00
Ansuel Smith
af5585ac88 cgi-io: fix read after end errors
Currently cgi-io try to read data after the data ended.
- Adds "-" to whitelist char
- In main_upload is tried to consume the buffer while it's already readed by the while loop before

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 535b2b6bd8)
2019-10-11 14:33:24 +02:00
Jo-Philipp Wich
92bea7f8e9 cgi-io: use splice() to stream backup archive
This improves the I/O performance when outputting large backups.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a8b4a28372)
2019-10-11 14:33:24 +02:00
Jo-Philipp Wich
a1e87b4e0e cgi-io: pass appropriate HTTP error codes to failure()
Instead of always replying with a generic 500 internal server error code,
use more appropriate codes such as 403 to indicate denied permissions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8c22db6531)
2019-10-11 14:33:23 +02:00
Jo-Philipp Wich
13075d4d51 cgi-io: add download operation
Add a new `cgi-download` applet which allows to retrieve the contents
of regular files or block devices.

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 "path" containing the file path to
download.

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 download access
to files or block devices:

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

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "file",
        "objects": [
            [ "/etc/config/*", "read" ],
            [ "/dev/mtdblock*", "read" ]
        ]
    }'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ab2a2b080d)
2019-10-11 14:33:23 +02:00
Jo-Philipp Wich
0fc83858fc cgi-io: use different acl scopes for path and command permissions
Use the `cgi-io` scope to check for permission to execute the requested
command (`upload`, `backup`) and the `file` scope to check path
permissions.

The reasoning of this change is that `cgi-io` is usually used in
conjunction with `rpcd-mod-file` to transfer large file data out
of band and `rpcd-mod-file` already uses the `file` scope to manage
file path access permissions. After this change, both `rpc-mod-file`
and `cgi-io` can share the same path acl rules.

Write access to a path can be granted by using an ubus call in the
following form:

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "file",
        "objects": [
            [ "/var/lib/uploads/*", "write" ]
        ]
    }'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit c8a86c8c8e)
2019-10-11 14:31:49 +02:00
Jo-Philipp Wich
76d741c990 cgi-io: require whitelisting upload locations
Introduce further ACL checks to verify that the request-supplied
upload location may be written to. This prevents overwriting things
like /bin/busybox and allows to confine uploads to specific directories.

To setup the required ACLs, the following ubus command may be used
on the command line:

ubus call session grant '{
  "ubus_rpc_session": "d41d8cd98f00b204e9800998ecf8427e",
  "scope": "cgi-io",
  "objects": [
    [ "/etc/certificates/*", "write" ],
    [ "/var/uploads/*", "write" ]
  ]
}'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 22be9a1c01)
2019-10-11 14:04:11 +02:00
Rosen Penev
c6f2699f96
Merge pull request #10183 from jefferyto/python-attrs-19.2.0-openwrt-19.07
[openwrt-19.07] python-attrs: Update to 19.2.0
2019-10-09 12:50:28 -07:00
Dirk Brenken
5c54504498
banip: update 0.3.1
* the WAN auto detection now supports multiple interfaces, too
* no longer filter out possible LAN devices
* add a new DoH (DNS over HTTPS) blocklist source with public
  DoH DNS server addresses, to effectively block client side DoH
  communication, e.g. via Firefox or Chrome

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 70ab67649b)
2019-10-09 19:40:04 +02:00
Dirk Brenken
bfdbf137ea
banip: update 0.3.0
* new 'ca-bundle' dependency as all https connections
  are now validated by default
* automatically select the download utility: 'aria2', 'curl',
  'uclient-fetch' with libustream-* or wget are supported
* track & ban failed LuCI login attempts as well
* add a small log/banIP background monitor to block
  SSH/LuCI brute force attacks in realtime (disabled by default)
* add a config version check (please update your default config!)
* made the automatic wan detection more stable
* fix the IPv6 logfile parser
* fix the service status message
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit ff8b853a6d)
2019-10-09 19:39:19 +02:00
Karl Palsson
6b8870a353 net/mosquitto: drop obsolete libuuid dependency
libuuid was dropped as a dependency in mosquitto 1.6.0

Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-10-09 13:50:14 +00:00
Alexander Ryzhov
3d98d7fd05 perl-www-curl: curl 7.66.0 compatibility
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
(cherry-picked from 7910715d86)
2019-10-08 14:57:26 -07:00