Commit Graph

23455 Commits

Author SHA1 Message Date
Ted Hess 2d49aab04c dnscrypt-proxy: Update to latest git version.
Revise dnscrypt-resolvers.csv with new dnscrypt-ca info.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2019-09-13 14:46:44 -04:00
Rosen Penev 6468932200 Merge pull request #9981 from jefferyto/go-1.13-trimpath
golang: Use new -trimpath option when compiling Go packages
2019-09-13 10:59:43 -07:00
Rosen Penev 58e8fe2fee Merge pull request #9983 from James-TR/pdns-4.2.0-bump
pdns: bump version to 4.2.0
2019-09-13 10:59:03 -07:00
James Taylor d7fb1e3fca pdns: bump version to 4.2.0
Bump PowerDNS Authoritative DNS Server to 4.2.0. Release changelong can be found at
https://doc.powerdns.com/authoritative/changelog/4.2.html#change-4.2.0

Compile Tested: OpenWRT Snapshot - armv7
Run Tested: Linksys WRT1900ACS - package runs correctly, not all functionality has been tested.

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-09-13 23:14:55 +10:00
Jo-Philipp Wich a8b4a28372 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>
2019-09-13 13:05:09 +02:00
Jo-Philipp Wich 8c22db6531 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>
2019-09-13 13:05:09 +02:00
Jo-Philipp Wich ab2a2b080d 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>
2019-09-13 13:05:09 +02:00
Jo-Philipp Wich c8a86c8c8e 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>
2019-09-13 13:05:09 +02:00
Florian Eckert 8260ce1789 collectd: bump PKG_RELEASE number
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13 13:02:27 +02:00
Florian Eckert 1082477fbc collectd: add new memory config values
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13 13:01:23 +02:00
Florian Eckert cae6563091 collectd: add new cpu config values
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13 13:00:49 +02:00
Jeffery To 22ee6e86a0 golang: Use new -trimpath option when compiling Go packages
Go 1.13 added a new -trimpath option to the "go build" command[1] that
removes system paths from compiled executables. This replaces the
previous -trimpath flags.

There are still system paths in the compiled executable (for crti.o and
crtn.o, when cross-compiling); these appear to be stripped during the
packaging process.

[1]: https://golang.org/doc/go1.13#trimpath

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-09-13 17:48:40 +08:00
Rosen Penev a1057cea1f Merge pull request #9963 from neheb/gd4
libgd: Switch to CMake
2019-09-13 01:55:09 -07:00
Rosen Penev 6af102fcf7 Merge pull request #9979 from commodo/seahub-mysqlclient
seafile-seahub: update dependency to python-mysqlclient
2019-09-13 00:18:29 -07:00
Alexandru Ardelean dc08f0fab8 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>
2019-09-13 12:27:23 +03:00
Petr Štetiar c3bacb6631 iotivity,smartsnmpd,gpsd: use scons from feed
commit 0c090fde68b2 ("scons: move host build tool to a proper place")
has moved scons into the packages feeds, so switch to that package
include and adjust build dependency to a new scons home.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-13 07:14:08 +02:00
Petr Štetiar 7087efd72a scons: move host build tool to a proper place
This patch aims to move scons host build tool into packages feeds, where
this tools belongs. There are currently no packages in the master tree
which would need scons, yet scons is build always as part of host tools,
just in order to satisfy host build dependency of few packages in the
packages feeeds.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-13 07:09:28 +02:00
Rosen Penev 2e12e13a3b libftdi1: Don't build examples
Add PKG_BUILD_PARALLEL for faster compilation.

Replace InstallDev section with CMAKE_INSTALL

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 19:45:53 -07:00
Rosen Penev 7276289795 liblo: disable tests and enable IPv6
Speeds up compilation.

Also fixed compilation without deprecated POSIX APIs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 19:45:19 -07:00
Paul Tobias 21f5cdd2fa ddns-scripts: Use https for domains.google.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&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>
2019-09-12 15:26:07 -07:00
Rosen Penev 3aaedf9ccb Merge pull request #9690 from neheb/snmp
smartsnmpd: Update to 2015-02-22 version
2019-09-12 15:16:18 -07:00
Rosen Penev eadd5abe40 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>
2019-09-12 15:11:49 -07:00
Rosen Penev 3e44ecbafa 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>
2019-09-12 14:48:32 -07:00
Rosen Penev 70448f6e1f libwebp: Fix InstallDev typo again
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 14:47:57 -07:00
Rosen Penev 8c16ee38b7 libwebp: Fix typo with InstallDev section
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 14:37:40 -07:00
Rosen Penev 4a829f7c6d libfolly: Pass -DBoost_NO_BOOST_CMAKE
It seems the new CMake update broke boost again.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 14:33:14 -07:00
Rosen Penev f76a89cc87 Merge pull request #9946 from neheb/unr
unrar: Update to 5.8.1
2019-09-12 14:30:23 -07:00
Rosen Penev faabb39e9b Merge pull request #9962 from mhei/pecl-mcrypt-license
php7-pecl-mcrypt: update PKG_LICENSE
2019-09-12 14:24:13 -07:00
Rosen Penev b165454c2e Merge pull request #9961 from mhei/pecl-krb5-license
php7-pecl-krb5: fix PKG_LICENSE tag
2019-09-12 14:23:58 -07:00
Rosen Penev 7c6d46f33f Merge pull request #9945 from neheb/gc
libgcrypt: Update to 1.8.5
2019-09-12 14:23:24 -07:00
Rosen Penev 9475ba9cc7 Merge pull request #9964 from neheb/webp
libwebp: Add new package
2019-09-12 14:21:08 -07:00
Rosen Penev 73a81c586d Merge pull request #9937 from mwarning/zerotier
zerotier: license change and make sure path exists
2019-09-12 14:20:04 -07:00
Rosen Penev 8a32d00186 Merge pull request #9924 from neheb/val
vala: Update to 0.46.0
2019-09-12 14:19:02 -07:00
Rosen Penev 5769359975 libgcrypt: Update to 1.8.5
Fixed up license information. Only the library is packaged.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 14:15:37 -07:00
Rosen Penev a2347ad264 Merge pull request #9973 from wfleurant/ygg-builder-hotfix-002
yggdrasil: fix #9960 re: vendor fix
2019-09-12 14:07:49 -07:00
Rosen Penev 2ea41f32ca Merge pull request #9976 from neheb/gee
libgee: Update to 0.20.2
2019-09-12 14:07:22 -07:00
Michael Heimpold c1b2943e8a mmc-utils: update to latest git head
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-09-12 22:26:56 +02:00
Rosen Penev cf55c9ee58 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>
2019-09-12 13:19:24 -07:00
Rosen Penev a6c88c19d7 liblz4: Update to 1.9.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 13:12:42 -07:00
William Fleurant 1147695a9f yggdrasil: fix #9960 re: vendor fix
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2019-09-12 14:28:02 -04:00
Rosen Penev 61ccd29d37 Merge pull request #9705 from commodo/python-mysqlclient
python-mysql[client]: rename to python-mysqlclient & bump to version 1.4.4
2019-09-12 08:53:27 -07:00
Josef Schlehofer c42b2791d1 btrfs-progs: Update to version 5.2.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-12 11:03:45 +02:00
Rosen Penev 408ccf7946 Merge pull request #9952 from neheb/rt
rtorrent: Switch to static linking
2019-09-11 22:48:40 -07:00
Yousong Zhou b6a3145df5 cgroups-mount,docker-ce,lxc: rework kernel feature dependency
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>
2019-09-12 10:31:16 +08:00
Daniel Engberg 8d1aa54aba Merge pull request #9967 from BKPepe/ytdl
youtube-dl: Update to version 2019.9.12.1
2019-09-12 00:21:41 +02:00
Josef Schlehofer b2f9a125d0 youtube-dl: Update to version 2019.9.12.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-11 23:52:17 +02:00
Rosen Penev 48224cc8d3 libwebp: Add new package
Requested by: https://github.com/openwrt/packages/issues/9740

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-10 20:56:32 -07:00
Rosen Penev 6484e63100 Merge pull request #9838 from ClaymorePT/boost_1.71.0_r1
boost: Package Version Update (1.71.0) + bugfixes
2019-09-10 12:58:23 -07:00
Michael Heimpold a460fd1e0e php7-pecl-mcrypt: update PKG_LICENSE
Update license tag to latest SPDX format.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-09-10 21:47:27 +02:00
Michael Heimpold cafcc8b292 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>
2019-09-10 21:45:59 +02:00