Commit graph

10 commits

Author SHA1 Message Date
Karl Palsson
ea06577f6f net/mosquitto: support all the extra options from newest version
Import the config conversion script from https://github.com/remakeelectric/owrt_pub_feeds/tree/master/net/mosquitto-next

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-05-07 17:24:11 +00:00
Karl Palsson
520a5bb50f mosquitto: properly use localhost instead of ipv4
On some environments, connecting to localhost was resolving to ::1,
which didn't match the bind to the explicit 127.0.0.1.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-08-16 15:01:30 +00:00
Karl Palsson
43acdcdd54 mosquitto: support more config options in UCI
Added many more UCI config options, particularly for bridge connections

The recently introduced username/password options for bridges are kept,
even though they have been deprecated upstream for a while.  In keeping
with this, while support is kept in UCI, the generated mosquitto.conf
file will always generate the "modern" remote_username/remote_password
options preferred by mosquitto instead.

Likewise for bridge clientid and remote_clientid options.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-08-16 15:00:53 +00:00
Karl Palsson
cef1ff256b net/mosquitto: support more config fields in init script
Adds the "notifications" option which is important when connecting
mosquitto to rabbitmq for instance.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-05-05 11:36:37 +00:00
David Thornley
eb99c3f451 net/mosquitto: Added further security configuration options for bridge section
Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
2017-05-05 11:36:37 +00:00
Karl Palsson
7f651d102d net/mosquitto: chown data directory
The package creates a "mosquitto" user, but the support added for
persistence creates the data directory as root running the init script.
Properly chown the newly created directory to ensure it's writable.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-08-30 11:41:34 +00:00
Karl Palsson
e1720e5849 mosquitto: support optionally writing pidfiles
Uses procd built in pid file support, rather than mosquittos built in
support.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-04-11 14:51:28 +00:00
Karl Palsson
02caa85cb3 mosquitto: convert init script to procd
Adds support for persistence settings.
Bumps package version for new init script.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:28:03 +00:00
Karl Palsson
05aa35194e mosquitto: Include viable stub config file
This should always have been available in the mosquitto package itself.
This file needs to exist in basic form to allow the init scripts to even check whether it exists.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:18:47 +00:00
Karl Palsson
39ea72b186 mosquitto: use mirrored files/ tree
Instead of manually copying files and renaming on install, use the nice
clean "files/<mirror>" structure and just $(CP) them into place.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:18:43 +00:00