aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* cgi-io: use splice() to stream backup archiveJo-Philipp Wich2019-09-13
| | | | | | This improves the I/O performance when outputting large backups. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* cgi-io: pass appropriate HTTP error codes to failure()Jo-Philipp Wich2019-09-13
| | | | | | | 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>
* cgi-io: add download operationJo-Philipp Wich2019-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* cgi-io: use different acl scopes for path and command permissionsJo-Philipp Wich2019-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Merge pull request #9963 from neheb/gd4Rosen Penev2019-09-13
|\ | | | | libgd: Switch to CMake
| * libgd: Switch to CMakeRosen Penev2019-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #9979 from commodo/seahub-mysqlclientRosen Penev2019-09-13
|\ \ | | | | | | seafile-seahub: update dependency to python-mysqlclient
| * | seafile-seahub: update dependency to python-mysqlclientAlexandru Ardelean2019-09-13
|/ / | | | | | | | | | | | | | | | | | | 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>
* | libftdi1: Don't build examplesRosen Penev2019-09-12
| | | | | | | | | | | | | | | | Add PKG_BUILD_PARALLEL for faster compilation. Replace InstallDev section with CMAKE_INSTALL Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | liblo: disable tests and enable IPv6Rosen Penev2019-09-12
| | | | | | | | | | | | | | | | Speeds up compilation. Also fixed compilation without deprecated POSIX APIs. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | ddns-scripts: Use https for domains.google.comPaul Tobias2019-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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&amp;myip=CENSORED">here</A>. </BODY> </HTML> 132954 ERROR : IP update not accepted by DDNS Provider ``` Signed-off-by: Paul Tobias <tobias.pal@gmail.com>
* | Merge pull request #9690 from neheb/snmpRosen Penev2019-09-12
|\ \ | |/ |/| smartsnmpd: Update to 2015-02-22 version
| * smartsnmpd: Update to 2015-02-22 versionRosen Penev2019-09-12
|/ | | | | | | | 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>
* libwebp: Fix InstallDev typo againRosen Penev2019-09-12
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libwebp: Fix typo with InstallDev sectionRosen Penev2019-09-12
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libfolly: Pass -DBoost_NO_BOOST_CMAKERosen Penev2019-09-12
| | | | | | It seems the new CMake update broke boost again. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Merge pull request #9946 from neheb/unrRosen Penev2019-09-12
|\ | | | | unrar: Update to 5.8.1
| * unrar: Update to 5.8.1Rosen Penev2019-09-09
| | | | | | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #9962 from mhei/pecl-mcrypt-licenseRosen Penev2019-09-12
|\ \ | | | | | | php7-pecl-mcrypt: update PKG_LICENSE
| * | php7-pecl-mcrypt: update PKG_LICENSEMichael Heimpold2019-09-10
| | | | | | | | | | | | | | | | | | Update license tag to latest SPDX format. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | | Merge pull request #9961 from mhei/pecl-krb5-licenseRosen Penev2019-09-12
|\ \ \ | | | | | | | | php7-pecl-krb5: fix PKG_LICENSE tag
| * | | php7-pecl-krb5: fix PKG_LICENSE tagMichael Heimpold2019-09-10
| |/ / | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #9945 from neheb/gcRosen Penev2019-09-12
|\ \ \ | | | | | | | | libgcrypt: Update to 1.8.5
| * | | libgcrypt: Update to 1.8.5Rosen Penev2019-09-12
| | | | | | | | | | | | | | | | | | | | | | | | Fixed up license information. Only the library is packaged. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | Merge pull request #9964 from neheb/webpRosen Penev2019-09-12
|\ \ \ \ | | | | | | | | | | libwebp: Add new package
| * | | | libwebp: Add new packageRosen Penev2019-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: https://github.com/openwrt/packages/issues/9740 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | | Merge pull request #9937 from mwarning/zerotierRosen Penev2019-09-12
|\ \ \ \ \ | | | | | | | | | | | | zerotier: license change and make sure path exists
| * | | | | zerotier: make sure the /var/lib existsMoritz Warning2019-09-09
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Moritz Warning <moritzwarning@web.de>
| * | | | | zerotier: change license to BSL 1.1Moritz Warning2019-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Business Source License. Signed-off-by: Moritz Warning <moritzwarning@web.de>
* | | | | | Merge pull request #9924 from neheb/valRosen Penev2019-09-12
|\ \ \ \ \ \ | | | | | | | | | | | | | | vala: Update to 0.46.0
| * | | | | | vala: Update to 0.46.0Rosen Penev2019-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | Merge pull request #9973 from wfleurant/ygg-builder-hotfix-002Rosen Penev2019-09-12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | yggdrasil: fix #9960 re: vendor fix
| * | | | | | | yggdrasil: fix #9960 re: vendor fixWilliam Fleurant2019-09-12
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: William Fleurant <meshnet@protonmail.com>
* | | | | | | Merge pull request #9976 from neheb/geeRosen Penev2019-09-12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | libgee: Update to 0.20.2
| * | | | | | | libgee: Update to 0.20.2Rosen Penev2019-09-12
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* / / / / / / mmc-utils: update to latest git headMichael Heimpold2019-09-12
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | | | | | Merge pull request #9705 from commodo/python-mysqlclientRosen Penev2019-09-12
|\ \ \ \ \ \ | | | | | | | | | | | | | | python-mysql[client]: rename to python-mysqlclient & bump to version 1.4.4
| * | | | | | python-mysql: rename to python-mysqlclient & bump to version 1.4.4Alexandru Ardelean2019-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | btrfs-progs: Update to version 5.2.2Josef Schlehofer2019-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | | Merge pull request #9952 from neheb/rtRosen Penev2019-09-11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | rtorrent: Switch to static linking
| * | | | | | | rtorrent: Switch to using static libtorrentRosen Penev2019-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rtorrent is the only user of libtorrent. Statically link to save space. Added usleep patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
| * | | | | | | libtorrent: Switch to static library.Rosen Penev2019-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | | libsigcxx: RemoveRosen Penev2019-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's no longer needed with libtorrent. No other package depends on it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | | | | | cgroups-mount,docker-ce,lxc: rework kernel feature dependencyYousong Zhou2019-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | Merge pull request #9967 from BKPepe/ytdlDaniel Engberg2019-09-12
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | youtube-dl: Update to version 2019.9.12.1
| * | | | | | | youtube-dl: Update to version 2019.9.12.1Josef Schlehofer2019-09-11
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | | Merge pull request #9838 from ClaymorePT/boost_1.71.0_r1Rosen Penev2019-09-10
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | boost: Package Version Update (1.71.0) + bugfixes
| * | | | | | boost: Package Version Update (1.71.0) + bugfixesCarlos Miguel Ferreira2019-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | Merge pull request #9959 from dibdot/banIPDirk Brenken2019-09-10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | banip: update 0.2.1
| * | | | | | | banip: update 0.2.1Dirk Brenken2019-09-10
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix for #9954 Signed-off-by: Dirk Brenken <dev@brenken.org>