Alberto Bursi [Fri, 13 Dec 2019 10:12:31 +0000 (11:12 +0100)]
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.
Jo-Philipp Wich [Fri, 13 Dec 2019 08:08:51 +0000 (09:08 +0100)]
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.
James Taylor [Thu, 12 Dec 2019 09:25:43 +0000 (20:25 +1100)]
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.
Petr Štetiar [Wed, 11 Dec 2019 21:23:56 +0000 (22:23 +0100)]
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
Dirk Brenken [Tue, 10 Dec 2019 14:01:16 +0000 (15:01 +0100)]
adblock: bugfix 3.8.13
* remove 'ransomware' blocklist by abbuse.ch (discontinued)
from default adblock config
* fix/switch 'someonewhocares' config to https only
* fix curl download parameters to follow redirects and
suppress needless output
* made the tmp directory of sort operations configurable,
set 'adb_sorttmp' accordingly (only supported by 'coreutils-sort')
James Taylor [Mon, 9 Dec 2019 01:49:19 +0000 (12:49 +1100)]
h2o: add package
H2O is a new generation HTTP server that provides quicker response to users
with less CPU utilization when compared to older generation of web servers.
Designed from ground-up, the server takes full advantage of HTTP/2 features
including prioritized content serving and server push, promising outstanding
experience to the visitors of your web site.
[FIX] OpenWrt: Silence ABI warnings.
[FIX] Fixed socket buffer dead-lock (pop < 0 bytes).
[FIX] Silenced site UUID errors (moved to debug level).
[FIX] Updated to SPDX identifier for GPL license.
[IMP] Migrated from libjson-c to nlohmann JSON for Modern C++.
[IMP] Updated agent status with CPU utilization and sink service status.
[IMP] Reformatted sink queue utilization status output.
[IMP] Support OS-specific restarting.
[IMP] Added payload upload and update frequency control.
[IMP] Added MAC addresses to JSON interface list.
[IMP] Added option to send established flows to connecting clients.
[IMP] Added offline capture processing script.
James Taylor [Mon, 9 Dec 2019 12:00:28 +0000 (23:00 +1100)]
pdns-recursor: update to 4.2.1
Updates pdns-recursor to current stable 4.2.1. Also includes more complete fix
for boost.m4 BOOST::THREAD detection, removing dependency on boost-thread.
James Taylor [Mon, 9 Dec 2019 01:47:05 +0000 (12:47 +1100)]
libwslay: add package
Wslay is a WebSocket library written in C. It implements the protocol version 13
described in RFC 6455. This library offers 2 levels of API: event-based API and
frame-based low-level API. For event-based API, it is suitable for non-blocking
reactor pattern style. You can set callbacks in various events. For frame-based
API, you can send WebSocket frame directly. Wslay only supports data transfer
part of WebSocket protocol and does not perform opening handshake in HTTP.
James Taylor [Sun, 8 Dec 2019 03:03:00 +0000 (14:03 +1100)]
pdns: Upgrade to PowerDNS Authoritative 4.2.1
Upgraded to pdns-4.2.1 and corrected issues with dependency management on
modules, in addition to moving zone2ldap under the ldap backend (It's only
compiled if ldap backend is enabled)
Noah Meyerhans [Tue, 12 Nov 2019 15:41:57 +0000 (07:41 -0800)]
iputils: Move the iputils tools to packages
Per discussion in https://github.com/openwrt/openwrt/pull/1804, iputils is
moving from the main openwrt repository to the packages feed, and is switching
from the abandoned skbuff.net upstream to github.com/iputils/iputils