Commit Graph

16188 Commits

Author SHA1 Message Date
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
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
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Rosen Penev 331201deae Merge pull request #9947 from eglooca/master
netifyd: Updated to v2.92.
2019-09-09 22:20:05 -07:00
Rosen Penev f1ff6998f8 Merge pull request #9956 from neheb/wan
libwangle: Update to 2019.09.02
2019-09-09 22:13:39 -07:00
Rosen Penev f27427cbfc libwangle: Update to 2019.09.02
Several size optimizations. Savings of ~68KB.

Remove shared build. libwangle is only used by fbthrift. Just use the
static version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-09 20:39:17 -07:00
Rosen Penev 0d2cd9c4b7 Merge pull request #9950 from neheb/fizz
libfizz: Update to 2019.09.09.00
2019-09-09 15:51:23 -07:00
Rosen Penev 358495f118 rtorrent: Switch to using static libtorrent
rtorrent is the only user of libtorrent. Statically link to save space.

Added usleep patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-09 15:32:29 -07:00
Rosen Penev e56fada5a8 libtorrent: Switch to static library.
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>
2019-09-09 15:32:29 -07:00
Rosen Penev ad758ba286 libsigcxx: Remove
It's no longer needed with libtorrent. No other package depends on it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-09 15:32:28 -07:00