Commit Graph

6004 Commits

Author SHA1 Message Date
Daniel F. Dickinson 2e624f9833 nut: bump PKG_RELEASE
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:35:05 -04:00
Daniel F. Dickinson 1b6dbe7a7b nut: Remove duplicate/extraneous lines
Removes a duplicate directory creation and a stray newline.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:35:05 -04:00
Daniel F. Dickinson df6beaa2ea nut: Makefile: Fix typo in description
Cosmetic edit.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:35:05 -04:00
Daniel F. Dickinson 461393810d nut: Use quotes around filenames
Avoid potential issues with space or other strangeness by
quoting filenames through the initscripts.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:35:01 -04:00
Daniel F. Dickinson 01b7ea91a1 nut: Fix license information
The source code has multiple licenses so update SPD-X header.

NB: The previously unlisted licenses are not applicable to parts
actually built in any configuration for OpenWrt, but rather to
unused (by us) source code.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:17:23 -04:00
Daniel F. Dickinson b72c739e9e nut: Avoid building docs
Reduce compilation time and complexity by not building documentation
we don't use.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:17:23 -04:00
Daniel F. Dickinson 39250c08db nut: Drop unnecessary dependency on libwrap
We're using --without-wrap unconditionally anyway, so this legacy
dependency needs to be removed.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:17:23 -04:00
Daniel F. Dickinson a2f64b3bac nut: Reduce user error with POWERDOWNFLAG
Instead of making POWERDOWNFLAG an uci option the user can
only change it via initscript edits.  This avoids chance for users
to miss the required change to nut-driver when setting an UCI option
for nut-monitor which results in failure to do FSD on the UPS.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:17:19 -04:00
Daniel F. Dickinson cf446c7c47 nut: Use diff non-privileged user for upsmon
By default use a non-privileged user that is different than
the server or driver (when they are running non-privileged).
This is recommended by upstream.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:16:34 -04:00
Daniel F. Dickinson 56c1bc51a9 nut: Use 'real' procd for nut-cgi
Even though nut-cgi doesn't run a daemon, using procd triggers
is helpful for updating the generated config file when the
UCI config changes.  So implement this and 'modernize' nut-cgi initscript

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:16:33 -04:00
Daniel F. Dickinson 2fca922cf0 nut: nut-cgi: Add support for upsset
This allows config for setting variables and/or running
commands from the CGI.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:15:18 -04:00
Daniel F. Dickinson 918a62f919 nut: Make FSD really work
Forced shutdown of the UPS was not actually happening before
due to lack of specific commands doing the shutdown.  This
(and the nut-driver initscript) fix that.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:15:14 -04:00
Daniel F. Dickinson f6a2a97d2f nut: Use 'real' procd init for nut-monitor
This fully procdifies nut-monitor, which fixes some issues with
very slow restarts (due to /lib/functions/procd.sh using a very
long delay for non-native scripts doing restart) as well as gives
respawning, etc.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:14:20 -04:00
Daniel F. Dickinson 1cd4dcfa99 nut: Add USB hotplug support
usbhid-ups has the necessary information in the source, so
let's support USB hotplugging out of the box.  Takes advantage of
the procd support now in nut-server initscript.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:12:53 -04:00
Daniel F. Dickinson ceff68837d nut: Reorganize nut-server to clarify nut-driver
Clarify the different between the common nut-driver portions of
nut-server and the nut-server (upsd) proper.  nut-driver can't
be used without nut-server so there is no compelling reason
to split into a separate package, but the reorganization makes
such a move easier and makes it clear what each bit is for.

While we continue to use a single initscript, it's a properly
procdified one which handles the upsd daemon as a different
instance than the driver instances.  This resolves a race
condition in which upsd and drivers fail to start do to
a degree of interdepedence.

Also properly 'procd'ifies the nut-server initscript.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:12:53 -04:00
Daniel F. Dickinson 5790053eba nut: Add missing conffiles
We want to include the symlinks to the generated configurations
in conffiles so that if the user replaces them symlinks with
traditional NUT configuration it is preserved across sysupgrade.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-28 15:19:39 -04:00
Michal Hrusecky 6345dfc74d socat: Do not use libbsd
Make sure that libbsd is not picked up during configuration even if it is
compiled before socat is.

Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
2018-08-28 13:57:26 +02:00
Toke Høiland-Jørgensen b91dafd14b sqm-scripts: Bump to v1.2.4
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-28 12:12:57 +02:00
Peter Wagner eacb9464e9 openssh: update to 7.8p1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-08-27 21:30:14 +02:00
Jacek Politowski dee7740968 ddns-scripts: Respect config option 'ip_source'
Option 'ip_source' was silently ignored during public IP discovery.

Discovery (in spite of chosen 'ip_source') was based only on
'ip_network', 'ip_interface', 'ip_script' or 'ip_url' options (in this
order) if they were set. This could lead to misleading log entries
"Detect local IP on '$ip_source'" pointing to source that wasn't really
used.

Now only option relevant to configured 'ip_source' is taken into
account.

Signed-off-by: Jacek Politowski <dev@jpol.net.pl>
2018-08-27 19:47:41 +02:00
Yousong Zhou 585e8e8572 shadowsocks-libev: README.md: reword text about REDIRECT
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-08-27 08:38:12 +00:00
Dirk Brenken 1fcc9ef17a Merge pull request #6868 from dibdot/ddns-fix
ddns-scripts: revert latest noglob/subshell changes
2018-08-27 09:29:22 +02:00
Moritz Warning 8938517832 kadnode: update to version 2.2.5
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2018-08-26 23:04:45 +02:00
Hannu Nyman d2e615324d Merge pull request #6850 from Ansuel/ariangnginx
ariang: add nginx support
2018-08-26 19:48:22 +03:00
Ansuel Smith aad05bff5a ariang: add nginx support and update
This adds nginx support for ariang webui and update it to latest commit.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-26 11:59:02 +02:00
Dirk Brenken 2e13d92b4f ddns-scripts: revert latest noglob/subshell changes
* partly revert 9e79e1b to fix #6861
* simplify CURL_SSL detection
* bump package version in Makefile & script library

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-08-26 07:15:46 +02:00
Christian Lachner 2cc76214e1 haproxy: Update all patches for HAProxy v1.8.13
- Add new patches (see https://www.haproxy.org/bugs/bugs-1.8.13.html)
- Raise PKG_RELEASE to 2

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2018-08-25 18:51:06 +02:00
Dirk Brenken 650e8cc2fe Merge pull request #6790 from MikePetullo/dmapd
dmapd: update to 0.0.76
2018-08-22 16:47:46 +02:00
Dirk Brenken b0481bc356 Merge pull request #6691 from neheb/ola
ola: Update to 0.10.7 and switch to codeload
2018-08-22 16:43:40 +02:00
Dirk Brenken 016581d121 Merge pull request #6770 from diizzyy/patch-7
net/stunnel: Update to 5.48
2018-08-22 16:35:05 +02:00
Dirk Brenken 531b7958b0 Merge pull request #6845 from wodu/linuxptp_maint
linuxptp: Upgrade to v2.0
2018-08-22 16:29:57 +02:00
Toke Høiland-Jørgensen 56b6d49ce4 acme: Fix bugs from upstream's change to socat
The upstream acme.sh package changed to using socat instead of netcat;
update the dependencies to reflect this, and pass --listen-v6 when running
in standalone mode (since socat only listens on IPv4 by default).

Also add a missing cleanup call when certificate issuance fails.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-22 16:03:15 +02:00
Wojciech Dubowik 10b2786245 linuxptp: Upgrade to v2.0
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
2018-08-22 13:03:06 +02:00
Rob Mosher e3144f00a3 cshark: update to latest git HEAD
This fixes GCC8 compile due to buffer overrun

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
2018-08-21 13:39:31 -04:00
Yousong Zhou 1b485efbcb openvswitch: bump to version 2.10.0
- Rebased the python target/host separation patch
 - Dropped the now-in-upstream openssl-1.1 compat patch
 - Added a patch to disable tests/

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-08-21 13:51:37 +00:00
Ruixi Zhou fa257720ab nginx: Add missing WebDAV methods support (PROPFIND & OPTIONS)
Nginx provide WebDAV methods PUT, DELETE, MKCOL, COPY, and MOVE with
http_dav_module. But most WebDAV clients that require additional WebDAV
methods (PROPFIND & OPTIONS) to operate. Add missing methods support
with Arutyunyan Roman (arutyunyan.roman@gmail.com)'s nginx-dav-ext-module.
(see: http://nginx.org/en/docs/http/ngx_http_dav_module.html
https://github.com/arut/nginx-dav-ext-module)

Example config:
	location / {
		dav_methods PUT DELETE MKCOL COPY MOVE;
		dav_ext_methods PROPFIND OPTIONS;

		root /var/root/;
	}

Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
2018-08-21 08:14:44 +08:00
Robby K bb7b3204e0 freeradius3: Enable the EAP-PWD module.
This enables the EAP-PWD module, which allows for logging in with only
a username and password, while still being secure (see the links below
for the details of this EAP method, if interested).

https://en.wikipedia.org/wiki/Extensible_Authentication_Protocol#EAP_Password_(EAP-PWD)

Also found this blog post which talks about EAP-PWD and its benefits:
https://dustri.org/b/eap-pwd-wifi-security-done-right.html

Signed-off-by: Robby K <robbyke@gmail.com>
2018-08-20 20:02:14 +02:00
Dirk Brenken 31a3852044 Merge pull request #6747 from mark0n/fix-curl-variable
ddns-scripts: Fix problems detecting if curl is SSL capable
2018-08-20 18:04:16 +02:00
Martin Konrad c9b5b02200 ddns-scripts_route53-v1: Fix problems detecting curl
Ensure cURL is installed and has SSL support. This fixes
issue 6744.

Signed-off-by: Martin Konrad <info@martin-konrad.net>
2018-08-20 11:30:37 -04:00
Hannu Nyman fee4bb8e64 Merge pull request #6789 from Ansuel/fixuwsgi
uwsgi-cgi: improve luci support
2018-08-20 18:04:29 +03:00
Hannu Nyman 70e991b394 Merge pull request #6788 from Ansuel/fixnginx
nginx: improve luci config
2018-08-20 18:04:05 +03:00
Ansuel Smith c94a9968f7 uwsgi-cgi: improve luci support
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-20 14:56:26 +02:00
Ansuel Smith 0f21ab6391 nginx: improve luci config
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-20 14:55:53 +02:00
Karl Palsson 97869b7a25 net/mosquitto: update to 1.5.1
Bugfix release.  Full changelog at:
https://mosquitto.org/blog/2018/08/version-151-released/

Of most interest to OpenWrt:
* Remove use of AI_ADDRCONFIG, which means the broker can be used on systems where only the loopback interface is defined.
* Fix IPv6 addresses not being able to be used as bridge addresses.
* Fix problem opening listeners on Pi caused by unsigned char being default.
* Fix segfault on startup if bridge CA certificates could not be read.
* Fix possible endian issue when reading the memory_limit option.
* library and client bugfixes including: https://github.com/openwrt/packages/issues/6765

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-08-20 10:47:44 +00:00
Dirk Brenken 5b5e20dfc2 Merge pull request #6810 from Andy2244/rpcbind-update
rpcbind: update to 1.2.5
2018-08-20 10:17:57 +02:00
Peter Wagner 8f8fa47234 ntpd: update to 4.2.8p12
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-08-19 23:38:02 +02:00
Andy Walsh 7a88e515d0 rpcbind: update to 1.2.5
* update to 1.2.5
* fix wrong URL
* adapt to bin/sbin from new version

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-08-19 16:36:03 +02:00
Rosen Penev 6e14e47024 rsyslog: Update to 8.37.0
HTTPS to everything

Remove autoreconf as it's not needed and slows down the build.

Build in parallel for faster building.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-18 14:09:35 -07:00
W. Michael Petullo 3f60075c06 dmapd: update to 0.0.76
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-08-18 15:47:40 -04:00
Dirk Brenken 1ddb7746bb Merge pull request #6673 from neheb/patch-21
scapy: Update to 2.4.0 and change URLs to new
2018-08-17 16:37:30 +02:00