| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
This improves the I/O performance when outputting large backups.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
libgd: Switch to CMake
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Size reduced from 92878 to 91675 bytes.
CMake added CXX files. Removed those.
Removed ceill patch. ceill is not used anymore.
Removed pkgconfig patch. CMake uses a different file, which does not have
this problem.
Further size reduction to 87938 with LTO.
Removed InstallDev. CMAKE_INSTALL takes care of that.
Added WebP support.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \
| | |
| | | |
seafile-seahub: update dependency to python-mysqlclient
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `python-mysql` package was updated with PR https://github.com/openwrt/packages/pull/9705
For seahub this was omitted, since the Python dependencies are prefixed
with `python-`, so it was missed during the grep search.
And grepping just for `mysql` yields many results.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add PKG_BUILD_PARALLEL for faster compilation.
Replace InstallDev section with CMAKE_INSTALL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Speeds up compilation.
Also fixed compilation without deprecated POSIX APIs.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Without https the update fails with:
```
132954 : #> /usr/bin/curl -RsS -o /var/run/ddns/myddns_ipv4.dat --stderr /var/run/ddns/myddns_ipv4.err --noproxy '*' 'http://CENSORED:***PW***@domains.google.com/nic/update?hostname=CENSORED&myip=CENSORED'
132954 : DDNS Provider answered:
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="https://domains.google.com/nic/update?hostname=CENSORED&myip=CENSORED">here</A>.
</BODY>
</HTML>
132954 ERROR : IP update not accepted by DDNS Provider
```
Signed-off-by: Paul Tobias <tobias.pal@gmail.com>
|
|\ \
| |/
|/| |
smartsnmpd: Update to 2015-02-22 version
|
|/
|
|
|
|
|
|
| |
Ran through 2to3 to get it to compile.
Ran init script through shellcheck. Grouped several file writes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
|
|
| |
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
|
|
| |
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
|
|
|
|
| |
It seems the new CMake update broke boost again.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\
| |
| | |
unrar: Update to 5.8.1
|
| |
| |
| |
| | |
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \
| | |
| | | |
php7-pecl-mcrypt: update PKG_LICENSE
|
| | |
| | |
| | |
| | |
| | |
| | | |
Update license tag to latest SPDX format.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
|
|\ \ \
| | | |
| | | | |
php7-pecl-krb5: fix PKG_LICENSE tag
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
According to the included license file in the package,
the license is MIT not BSD, so fix it.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
|
|\ \ \
| | | |
| | | | |
libgcrypt: Update to 1.8.5
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixed up license information. Only the library is packaged.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
libwebp: Add new package
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Requested by: https://github.com/openwrt/packages/issues/9740
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
zerotier: license change and make sure path exists
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Moritz Warning <moritzwarning@web.de>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Business Source License.
Signed-off-by: Moritz Warning <moritzwarning@web.de>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
vala: Update to 0.46.0
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Switched to using the configure script instead of using make directly.
Added HOST__BUILD_PARALLEL for faster compilation.
Removed target build. It's completely unused.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
yggdrasil: fix #9960 re: vendor fix
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: William Fleurant <meshnet@protonmail.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
libgee: Update to 0.20.2
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Eliminate patch in favor of configure argument.
Shuffled some stuff around for consistency between packages.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
python-mysql[client]: rename to python-mysqlclient & bump to version 1.4.4
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The package on PyPi is named `mysqlclient`.
This should have been named `python-mysqlclient` from the start.
There is a `mysql` package on PyPi already but that's a different
code/package.
Doing this should avoid any future confusion.
There is no good time to do this rename; at least 19.07 has been branched
already and this can go into the next release [in a year or so].
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
rtorrent: Switch to static linking
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
rtorrent is the only user of libtorrent. Statically link to save space.
Added usleep patch.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
It's no longer needed with libtorrent. No other package depends on it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fix that KERNEL_CGROUPS is enabled (selected) automatically along with
cgroups-mount
Replace "if PACKAGE_docker-ce" with a menu to avoid circular denpendency
issue involving PACKAGE_docker-ce, PACKAGE_cgroups-mount and
KERNEL_CGRUOPS
docker-ce, lxc: replace KERNEL_LXC_MISC with more specific options
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
youtube-dl: Update to version 2019.9.12.1
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
boost: Package Version Update (1.71.0) + bugfixes
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This commit updates Boost to version 1.71.0 and disables Boost.Context
for arc and mips64 architectures, since either jump_fcontext or
getcontext are undefined for those architectures.
It also fixes a bug were Boost.Fiber was not properly disabled for
mips32 and mips64 architectures.
Boost.Coroutine2 option was removed since it was redundant. By selecting
the Coroutine package, Coroutine2 is also installed.
Boost.Fiber has been disabled for target brcm47xx_generic and brcm47xx_legacy
due to misssing opcode support from instruction set.
Boost 1.71.0 brings a new header-only library
- Boost.Variant2 [1]
-> A never-valueless, strong guarantee implementation of
std::variant, from Peter Dimov.
More info about Boost 1.71.0 can be found at the usual place [2].
[1]: https://www.boost.org/doc/libs/1_71_0/libs/variant2/doc/html/variant2.html
[2]: https://www.boost.org/users/history/version_1_71_0.html
Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
banip: update 0.2.1
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* fix for #9954
Signed-off-by: Dirk Brenken <dev@brenken.org>
|