Commit graph

16224 commits

Author SHA1 Message Date
Karel Kočí
7bb6d72a47
python-schema: update to version 0.7.1
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-09-16 14:00:43 +02:00
Yousong Zhou
41a4aecccf dtc: bump to version 1.5.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-16 08:00:19 +00:00
Yousong Zhou
feacaa5f80 openvswitch: bump to version 2.12.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-16 07:59:31 +00:00
Stijn Tintel
6bcfacca5e strongswan: bump to 5.8.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-09-16 02:28:20 +03:00
Hannu Nyman
151f1e30e5
Merge pull request #9982 from TDT-AG/pr/20190913-collectd
collectd: add additional config option
2019-09-15 22:13:38 +03:00
Rosen Penev
68a728e8d7
Merge pull request #9994 from flyn-org/vips
vips: update to 8.8.2
2019-09-15 10:20:25 -07:00
W. Michael Petullo
8a66eab632 vips: update to 8.8.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-15 13:11:34 -04:00
Hannu Nyman
f31b08e042
Merge pull request #9992 from flyn-org/openldap
openldap: update to 2.4.48
2019-09-15 19:42:17 +03:00
Rosen Penev
4d163eafa8
Merge pull request #9987 from neheb/lept
leptonica: Add missing libwebp dependency
2019-09-15 09:16:36 -07:00
Rosen Penev
9c13836afa
Merge pull request #9990 from lnslbrty/package/wipe
wipe: add new package
2019-09-15 07:23:02 -07:00
Rosen Penev
744fc97820
Merge pull request #9584 from ynezz/upstream/move-scons
scons: move host build tool to a proper place
2019-09-15 07:21:52 -07:00
W. Michael Petullo
c040738707 openldap: update to 2.4.48
Fixes CVE-2019-13565.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-14 12:08:53 -04:00
Toni Uhlig
294fed0566
wipe: add new package
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2019-09-14 14:52:51 +02:00
Toke Høiland-Jørgensen
1126368e0e sqm-scripts: Bump to v1.4.0
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2019-09-14 13:19:23 +02:00
Hannu Nyman
05c939c643
Merge pull request #9986 from neheb/nut
nut: Switch to pkgconfig for finding libgd
2019-09-14 10:39:16 +03:00
Rosen Penev
21a471fb58
Merge pull request #9985 from thess/dnscrypt-update
dnscrypt-proxy: Update to latest git version.
2019-09-13 17:56:38 -07:00
Rosen Penev
95ef737b9b
Merge pull request #9989 from neheb/rso
librsocket-cpp: Update to 2019-09-12
2019-09-13 15:21:51 -07:00
Rosen Penev
03661fd4a5
librsocket-cpp: Update to 2019-09-12
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 14:45:31 -07:00
Rosen Penev
79168cc259
libftdi1: Remove faulty change from last patch
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 13:14:48 -07:00
Rosen Penev
4939a9c291
opencv: Add missing libwebp dependency
Now that libwebp is in the tree, opencv picks it up.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 13:07:20 -07:00
Rosen Penev
8fdadfd5ee
leptonica: Add missing libwebp dependency
Now that libwebp is in the tree, leptonica picks it up.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 13:02:46 -07:00
Rosen Penev
81e6bb77cf
nut: Switch to pkgconfig for finding libgd
nut uses gdlib-config to find libgd, which happens to be deprecated. This
switches it to use pkgconfig and allows a fallback to gdlib-config, same
as the libusb check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 12:56:43 -07:00
Rosen Penev
b5b2fa187d
libgd: Backport SOVERSION and pkgconfig changes
The latter is needed for some packages to find libgd.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 12:54:50 -07:00
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