Commit Graph

16196 Commits

Author SHA1 Message Date
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
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
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
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
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
Dirk Brenken d91dc38083 Merge pull request #9959 from dibdot/banIP
banip: update 0.2.1
2019-09-10 19:48:55 +02:00
Dirk Brenken 04bd683af8 banip: update 0.2.1
* fix for #9954

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-09-10 19:34:49 +02:00
Rosen Penev c256e6971f Merge pull request #9906 from ecsv/gpl-or-later-spdx-identifier
treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
2019-09-10 10:25:15 -07:00
Rosen Penev 60aebaba16 Merge pull request #9957 from BKPepe/dovecot
dovecot: Update to version 2.3.7.2
2019-09-10 09:51:19 -07:00
Carlos Miguel Ferreira 0cd9824623 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>
2019-09-10 14:25:35 +01:00
Josef Schlehofer 5275c4156b dovecot: Update to version 2.3.7.2
Fix CVE-2019-11500

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-10 08:49:56 +02:00