Commit graph

17522 commits

Author SHA1 Message Date
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
Ian Leonard
948c4da0af ffmpeg: update to 3.4.7
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-12-12 14:20:42 -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
DENG Qingfang
ad5615737a mtr: update to 0.93
Update mtr to 0.93
Add size optimization options
ath79 ipk size: 31.9k -> 31.4k

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-12-12 23:22:43 +08:00
Rosen Penev
96c70acd6e
Merge pull request #10765 from nxhack/node_hid_1_1_0
node-hid: update to 1.1.0
2019-12-12 07:08:36 -08:00
James Taylor
64b9bd368f dnsdist: add missing dependency on libcap
When present on the build system dnsdist will try to make use of libcap. This
change adds an explicit dependency to ensure it's present at build time, to
prevent build failures when another package brings the dependency in.

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-12-12 20:31:49 +11:00
Aleksander Morgado
45337f4a50 libqmi: update to version 1.24.2
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-12-12 10:17:23 +01:00
Hirokazu MORIKAWA
78c6bc300b node-serialport-bindings: update to 8.0.4
support node v12

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-12 17:24:19 +09:00
Hirokazu MORIKAWA
2ae31d1788 node-hid: update to 1.1.0
Up to Node v12, v13

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-12 15:00:02 +09:00
Rosen Penev
04b1e7f7cc
bfdd: Fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-11 19:54:51 -08:00
Rosen Penev
ad4acb5531
Merge pull request #10704 from neheb/coo
coova-chilli: Update to 1.5
2019-12-11 19:46:50 -08:00
Rosen Penev
68b5a71883
coova-chilli: Update to 1.5
Remove upstreamed patches.

Added patch to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-11 19:39:21 -08:00
Rosen Penev
1e6121ec69
Merge pull request #10725 from neheb/idn
libidn2: Update to 2.3.0
2019-12-11 14:29:20 -08:00
Rosen Penev
e33dff3b92
Merge pull request #10724 from neheb/ical
libical: Update to 3.0.6
2019-12-11 14:29:00 -08:00
Rosen Penev
0484af48af
Merge pull request #10693 from neheb/nn
p11-kit: Fix uClibc-ng compile failure
2019-12-11 14:27:26 -08:00
Rosen Penev
7656d42f96
Merge pull request #10721 from James-TR/update/dnsdist
dnsdist: update to 1.4.0 w/ new dependencies
2019-12-11 14:24:22 -08:00
Rosen Penev
b92ef6f4ce
Merge pull request #10727 from neheb/fhfgiehi
opensc: Fix compilation without deprecated OpenSSL APIs
2019-12-11 14:20:06 -08:00
Rosen Penev
2b05359350
Merge pull request #10726 from neheb/pro
prosody: Update to 0.11.3
2019-12-11 14:19:38 -08:00
Rosen Penev
cb6d22a4c0
libidn2: Update to 2.3.0
Fixed license information.

Several Makefile cleanups for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-11 14:19:01 -08:00
Rosen Penev
a6e2d1a3de
libical: Update to 3.0.6
Replace InstallDev with CMAKE_INSTALL.

Add PKG_BUILD_PARALLEL for faster compilation.

Fixed license info.

Refreshed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-11 14:16:25 -08:00
Petr Štetiar
65ac16fce9 uledd: bump to latest version 1.0.1
018f57e713fa cmake: bump version to 1.0.1
b90c65be87c5 ubus: add state method
034e3a77680d scene: add dumping of state to blobmsg
d21b0946e6f6 scene: add all LEDs during scene creation
f31a6f2b8c3b led: add dumping of state to blobmsg
cead0f7f54f6 add support for scenes with priorities
8637a86307d7 led: remove string format from led_state_str
0eaa67a5a687 led: add led_from_path
8243708905aa tests: add basic blob-led unit test
99bcdaa306f7 refactor blob LED parsing into separate unit
210c5e3c5128 led: change sysfs LED path for unit tests
310a676e50d7 add cram based unit tests
eb7acbb08e36 led: led_add: add debug output
ca9c762fb29a led: make timer tick interval variable
44d072039680 led: allow running and stopping
df0c7772c9c6 timer: add missing includes
2aab48d1143c cmake: add sources into static library
83d4189606ca fix multiple timer drifts by using singular timer for all LEDs
3abe097ebecf log: output function name in debug log messages
5c768b337df8 led: set current brightness only after success
cf93720951bc allow overriding of default ubus socket path
b642b650a612 led: fix initial LED fading out
ba00ca0e886c fix deprecated SPDX license identifier
766448f68e69 convert content of README into Markdown format
079e773e3250 rename README into README.md
76eb126d9eb5 add LICENSE file
7a006926c442 add initial GitLab CI support
cc94cd4c59b0 replace stderr based logging with ulog
7aa9c35a9581 add basic application versioning
ecd26be4c5dd add basic logging
cc42a9c79ad9 factor out ubus stuff into separate unit
13a589678c29 factor out led stuff into separate unit
7763972de980 fix sign issue spotted by compiler
aef09580c960 cmake: enable extra compiler warnings
97663b4e1d15 cmake: fix include dirs and libs lookup
875a9e15b10a fixes a small bug that failed to reset the state to LED_SET when reconfiguring a LED

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-12-11 22:46:56 +01:00
Petr Štetiar
ddf62fd4cf uledd: fix license to correct LGPL-2.1-only
"This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License version 2.1"

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-12-11 22:32:23 +01:00