Commit graph

17488 commits

Author SHA1 Message Date
Josef Schlehofer
ce027362c4
meson: Update to version 0.52.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-16 16:40:34 +01:00
Jan Hak
ca729cd43c knot: update to version 2.9.2
Signed-off-by: Jan Hak <jan.hak@nic.cz>
2019-12-16 13:56:39 +01:00
Daniel Golle
23460f34e5 gnurl: update homepage URL and use @GNU mirrors
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-12-16 09:54:58 +02:00
Rosen Penev
ce89774942
Merge pull request #10793 from micmac1/dnsdist-no-bomb
dnsdist: fix various build failures
2019-12-15 21:37:46 -08:00
Rosen Penev
31fb078125
Merge pull request #10794 from mhei/add-libconfig
libzip: add package
2019-12-15 21:02:22 -08:00
Yousong Zhou
14ee7cd3bf qemu: bump to version 4.2.0 2019-12-16 02:50:15 +00:00
Daniel Engberg
f36cb43188
Merge pull request #10798 from Andy2244/wsdd2-(2019-12-14)
wsdd2: update to git (2019-12-15), bind to 'lan' only
2019-12-15 23:22:40 +01:00
Alexander Couzens
662e83c97b
libmicrohttpd: update to version 0.9.69
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2019-12-15 20:47:01 +01:00
Andy Walsh
e1a305a355 wsdd2: update to git (2019-12-15), bind to 'lan' only
* update to git (2019-12-15)
* bind to 'lan' interface only
* make cifsd compatible (avoid testparm dependency)
* only start if needed
* add meta data (vendor, model, sku)
* update smb.conf procd location
* lower restart delay
* remove outdated patch

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-15 20:44:49 +01:00
Daniel Golle
b6a9bd3bf3 gnurl: update to version 7.67.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-12-15 19:36:49 +02:00
Christian Lachner
b5a3b7ca86 haproxy: Update HAProxy to v2.0.11
- Update haproxy download URL and hash
- Remove obsolete patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-12-15 13:47:37 +01:00
Michael Heimpold
a4a98d5efe libzip: add package
This introduces libzip which is e.g. a dependency for upcoming upgrade
of PHP to version 7.4.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-15 13:35:21 +01:00
Sebastian Kemper
3872e13cc3 postfix: update tinycdb dependency
tinycdb now installs a shared lib alongside the static archive. postfix
will use the shared lib, hence this commit updates the dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-15 10:51:13 +01:00
Sebastian Kemper
e5b967aa51 dnsdist: add dependency on tinycdb
If libcdb from tinycdb is available dnsdist will link to it. This commit
adds the dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-15 10:49:22 +01:00
Sebastian Kemper
6c4336eb19 tinycdb: install shared lib and pic archive
dnsdist picks up cdb.h but can't link in the static archive.

/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/lib/gcc/mips-openwrt-linux-musl/8.3.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcdb.a(cdb_init.o): relocation R_MIPS_26 against `fstat' can not be used when making a shared object; recompile with -fPIC

This commit extends the tinycdb Makefile to build and install as well
the shared library as well as the pic archive. dnsdist will then pick
the shared library.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-15 10:44:08 +01:00
Sebastian Kemper
a99af740ea tinycdb: use OpenWrt flags
Currently tinycdb doesn't use {C,CPP,LD}FLAGS. This commit adds
MAKE_FLAGS to address this.

Before:

make[3]: Entering directory '/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/tinycdb-0.78'
ccache_cc -O -D_FILE_OFFSET_BITS=64 -c cdb_init.c
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O -D_FILE_OFFSET_BITS=64 -c cdb_find.c
...

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-15 10:39:02 +01:00
Rosen Penev
cfd690ca17
Merge pull request #10791 from micmac1/protobuf-host-libs
protobuf: fix libdir handling for host build
2019-12-14 13:33:00 -08:00
Rosen Penev
5693b19ffe
Merge pull request #10790 from tru7/libfmt
libfmt: bump to version 6.1.2
2019-12-14 11:24:40 -08:00
Sebastian Kemper
6374c7d921 dnsdist: add missing build dep on protoc
The build needs protoc, otherwise it fails.

checking if we need to link in protobuf... yes
checking for PROTOBUF... yes
checking for protoc... no
configure: error: Protobuf requested but the protobuf compiler was not found

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-14 17:39:08 +01:00
Sebastian Kemper
c28357d923 dnsdist: add missing lmdb dep
Currently dnsdist is failing at packaging stage when lmdb is in staging:

make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/dnsdist-1.4.0'
Package dnsdist is missing dependencies for the following libraries:
liblmdb.so
Makefile:109: recipe for target '/builder/shared-workdir/build/sdk/bin/packages/x86_64/packages/dnsdist_1.4.0-2_x86_64.ipk' failed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-14 17:34:56 +01:00
Sebastian Kemper
956b2706f2 protobuf: fix libdir handling for host build
On some host machines (example: Gentoo amd64 no-multilib) by default
cmake will install libraries to lib64. But in OpenWrt the correct libdir
is lib (for instance the RPATH is set to lib). So you may end up with
libraries in lib64 while RPATH points to lib:

sk@darth ~/tmp/openwrt $ ldd staging_dir/hostpkg/bin/protoc
	linux-vdso.so.1 (0x00007ffc741ea000)
	libprotoc.so.3.8.0.0 => not found
	libprotobuf.so.3.8.0.0 => not found
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0a8f7ea000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6 (0x00007f0a8f572000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f0a8f427000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1 (0x00007f0a8f40d000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f0a8f23c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0a8f827000)
sk@darth ~/tmp/openwrt $

Fix this by specifying the libdir during host builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-14 12:26:08 +01:00
Othmar Truniger
32c802c915 libfmt: bump to version 6.1.2
Signed-off-by: Othmar Truniger <github@truniger.ch>
2019-12-14 10:43:15 +01:00
Rosen Penev
16be1296ed
Merge pull request #10774 from James-TR/James-TR-patch-1
dnsdist: fix missing quote in menu
2019-12-14 00:48:25 -08:00
Rosen Penev
27a2535790
Merge pull request #10782 from dengqf6/ariang
ariang: update to 1.1.4
2019-12-14 00:26:36 -08:00
Rosen Penev
3bfbb7d1db
mosh: Fix compilation with libcxx
Partial backport of upstream patch.``

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-14 00:18:53 -08:00
Rosen Penev
77a1b3ba60
libwebp: Fix compilation with mips16
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-14 00:17:23 -08:00
Rosen Penev
41112ff9eb
znc: Update to 1.7.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-14 00:13:52 -08:00
Rosen Penev
7f669d8d7c
Merge pull request #10764 from neheb/bf
bfdd: Fix compilation with uClibc-ng
2019-12-13 09:00:03 -08:00
DENG Qingfang
b1de9998ee ariang: update to 1.1.4
Update ariang to 1.1.4

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-12-14 00:28:03 +08:00
Andy Walsh
bce8c531e8 rpcsvc-proto: add new package
* provides missing libtirpc headers (rpcsvc proto.x)
* provides rpcgen

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-13 17:17:19 +01:00
Andy Walsh
42e9057d41 libtasn1: add host-build
* samba4 complains that it cant find the libasn1 host bins

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-13 17:15:42 +01:00
Rosen Penev
ec5c20d667
Merge pull request #10775 from rs/nextdns-1.3.1
nextdns: update to version 1.3.1
2019-12-13 07:20:39 -08:00
Alberto Bursi
154f5b6806 minidlna: add static uuid in config
minidlna uses UUID to uniquely identify the media server
by default, if the "uuid" option is not specified in
its setting file it will try to autogenerate it by
reading MAC address.

This seems to fail on some devices resulting in random
UUID on reboot, and this causes confusion and issues as
for clients this is a new server and must be added to
the list.
In OpenWrt there are also devices where the system can't
read the true MAC address and it is therefore randomized
on reboot.

So, add a static UUID in the settings file.
Since each mindlna server should have a different UUID,
if the user has more than one OpenWrt device with
minidlna, he should change the UUID of the
additional devices.

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
2019-12-13 11:12:31 +01:00
Jo-Philipp Wich
b2a890f6ad cgi-io: implement exec action
Implement a new "cgi-exec" applet which allows to invoke remote commands
and stream their stdandard output back to the client via HTTP. This is
needed in cases where large amounts of data or binary encoded contents
such as tar archives need to be transferred, which are unsuitable to be
transported via ubus directly.

The exec call is guarded by the same ACL semantics as rpcd's file plugin,
means in order to be able to execute a command remotely, the ubus session
identified by the given session ID must have read access to the "exec"
function of the "cgi-io" scope and an explicit "exec" permission rule for
the invoked command in the "file" scope.

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 "command" specifiying the commandline
to invoke.

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 exec access to
both the "date" and "iptables" commands. The "date" rule specifies the
base name of the executable and thus allows invocation with arbitrary
parameters while the latter "iptables" rule merely allows one specific
set of arguments which must appear exactly in the given order.

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "cgi-io",
        "objects": [
            [ "exec", "read" ]
        ]
    }'

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "file",
        "objects": [
            [ "/bin/date", "exec" ],
            [ "/usr/sbin/iptables -n -v -L", "exec" ]
        ]
   }'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-13 10:38:35 +01:00
Jan Pavlinec
06d36ca794 git: update to version 2.24.1 (security fix)
Fixes
CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351,
CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, CVE-2019-1387, and
CVE-2019-19604

And fix deprecated PKG_CPE_ID

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-12-13 10:31:09 +01:00
Olivier Poitrey
c7eb765b19 nextdns: update to version 1.3.1
- IPv6 support
- Fix HTTP/2 negociation
- Improve endpoint fallback
- Add support for unencrypted DNS
- Many other fixes and features

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2019-12-13 01:01:53 -08:00
James Taylor
a771736f85
dnsdist: fix missing quote in menu
Fixes missing double quote in menu

Signed off by: James Taylor <james@jtaylor.id.au>
2019-12-13 19:03:53 +11:00
Rosen Penev
80a9ca7ccc
ibrdtnd: Remove c++03 option
Needed for libcxx compatibility. It probably generates bigger code.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-12 23:40:46 -08:00
Rosen Penev
ac83adacb2
bonnie++: Remove several pointless options
Needed for libcxx compatibility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-12 23:40:46 -08:00
Rosen Penev
c6bbdea4a8
Merge pull request #10773 from James-TR/h2o/wslay-linking
h2o: update wslay link patch to upstream
2019-12-12 23:03:40 -08:00
James Taylor
6bbd716c61 h2o: update wslay link patch to upstream
Update wslay link patch with upstream fix from h2o/h2o#2196

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-12-13 15:59:28 +11:00
Rosen Penev
9669044008
Merge pull request #10746 from aleksander0m/aleksander/mm-1-12-2
modemmanager: release 1.12.2
2019-12-12 19:42:47 -08:00
Rosen Penev
eba6f0dda3
Merge pull request #10771 from nxhack/serialport_bindings_8
node-serialport-bindings: update to 8.0.4
2019-12-12 19:19:34 -08:00
Rosen Penev
22a300c722
Merge pull request #10772 from nxhack/serialport_8
node-serialport: update to 8.0.5
2019-12-12 19:19:23 -08:00
Hirokazu MORIKAWA
5a489da86a node-serialport: update to 8.0.5
support node v12

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-13 11:32:25 +09:00
Rosen Penev
4b8a9b82c6
Merge pull request #10723 from neheb/sha
shairport-sync: Update to 3.3.5
2019-12-12 16:15:07 -08:00
Rosen Penev
38e80bdf62
Merge pull request #10717 from WeekendSoftware/safe-search
net/safe-search Update Google host list.
2019-12-12 16:11:51 -08:00
Rosen Penev
2cdcf1f188
Merge pull request #10766 from aleksander0m/aleksander/libqmi-1-24-2
libqmi: update to version 1.24.2
2019-12-12 16:10:09 -08:00
Rosen Penev
ed151e8c18
Merge pull request #10767 from James-TR/dnsdist/libcap
dnsdist: add missing dependency on libcap
2019-12-12 16:09:51 -08:00
Rosen Penev
2656dfa262
Merge pull request #10713 from dengqf6/mtr
mtr: update to 0.93
2019-12-12 07:48:56 -08:00