Commit Graph

52 Commits

Author SHA1 Message Date
Karl Palsson 60cc1edc75 mosquitto: bump to 1.4.15 for CVE fixes
See
https://mosquitto.org/blog/2018/02/security-advisory-cve-2017-7651-cve-2017-7652/
for full details.

patch for reproducible builds had to be rebuilt based on upstream change.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-03-01 11:18:16 +00:00
Karl Palsson 055be639b3 mosquitto: auto-disable TLS-PSK support if not available
OpenSSL grew the ability to turn off TLS-PSK support.  Make sure that
mosquitto turns on/off TLS-PSK support based on this OpenSSL config.

Fixes https://github.com/openwrt/packages/issues/5633
Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-02-19 12:04:47 +00:00
Karl Palsson 0bc06df68c net/mosquitto: reproducible build patches
Remove build timestamp.  Using currently proposed upstream patch.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-12-11 11:00:26 +00:00
Karl Palsson 46879b2b65 net/mosquitto: depend on virtual package instead of select
Can't use DEPENDS:= +libname when libname is now a virtual package.
Switch to plain DEPENDS:= libname.

Fixes Github issue 4751

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-12-11 10:55:08 +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 65baa7c88a mosquitto: update to 1.4.14
Fixes a regression due to the CVE fix in the recently released 1.4.13.

https://mosquitto.org/2017/07/version-1-4-14-released/

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-07-11 13:22:18 +00:00
Karl Palsson cd85551580 mosquitto: update to 1.4.13
Primarily a bugfix release for a CVE that doesn't affect lede/openwrt,
but also includes some websockets perfomance fixes.

Release notes at https://mosquitto.org/2017/07/version-1-4-13-released/

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-07-10 16:49:32 +00:00
Karl Palsson 5d8538215a mosquitto: fix empty client-nossl package
Fallout of PROVIDES handling.
Fixes: https://github.com/openwrt/packages/issues/4432

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-06-07 16:05:16 +00:00
Karl Palsson f49e1138f1 net/mosquitto: bump to 1.4.12 for CVE-2017-7650
Dot release, primarily due to CVE-2017-7650 but also rolls up some
earlier patches.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-05-29 10:49:08 +00:00
Karl Palsson 338252f9eb net/mosquito: bump to 1.4.11
Full changelog available at:
https://mosquitto.org/2017/02/version-1-4-11-released/

Mostly ipv6 and websockets fixes, but requires a patch (submitted
upstream) to work around an accidental glibc dependency upstream.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-05-05 11:36:37 +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 027e3ec4ec net/mosquitto: use PROVIDES for -client tools also
Earlier, PROVIDES handling was clarified for the broker and the library.
Use the same style to properly provide the -client-ssl and -client-nossl
packages.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-05-05 11:36:37 +00:00
Jo-Philipp Wich 8dd6ca99fc mosquitto: fix provides <=> package name conflicts
The virtual package declared by PROVIDES must not have the same name as the
variant declaring it, otherwise buildroot will fail with errors like:

    cp: '.../pkginfo/mosquitto.provides' and '.../pkginfo/mosquitto.provides' are the same file

In order to fix the above error, rename the existing "mosquitto" and
"libmosquitto" packages into "mosquitto-ssl" and "libmosquitto-ssl"
respectively.

Also substitute use of $(PKG_NAME) with literal "mosquitto" in
Package/* defines to improve readability of the Makefile.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-19 10:41:53 +00:00
Karl Palsson a52eee16d8 net/mosquitto: add PROVIDES to daemon and library
Adding PROVIDES to both the daemon and library and -nossl variants allow
downstream packages to simply declare a single dependency.

mosquitto-client however, still needs to explicitly depend on the ssl or
nossl variant however.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-01-17 17:06:42 +00:00
Thomas Huehn e0da6bf5bb mosquitto: Fix host UNAME detection
This fixes a bug when mosquitto is crosscompiled in LEDE on OS X.
UNAME is explicitly executed on the host, when we want it to be treated
as a regular linux build.

This patch passes the proper UNAME=Linux variable to the mosquitto
make file in order to respect linux as cross-compiler.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
2017-01-12 16:17:53 +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 f7a37e435f mosquitto: Bump to 1.4.10
Full changelog: http://mosquitto.org/2016/08/version-1-4-10-released/

Relevant changes:
libwebsockets 2.0 compatibility
openssl 1.1.0 compatibility

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-08-26 09:48:56 +00:00
Karl Palsson e43ee3187c net/mosquitto: update maintainer email address
Signed-off-by: Karl Palsson <karlp@remake.is>
Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-06-06 10:54:36 +00:00
Karl Palsson 7f7843473f net/mosquitto: bump to v1.4.9
Bugfix release.  Full changelog available at
http://mosquitto.org/2016/06/version-1-4-9-released/

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-06-06 10:54:36 +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 59296333a2 mosquitto: Bump to version 1.4.8
Changelog and release notes:
http://mosquitto.org/2016/02/version-1-4-8-released/

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:31:21 +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
Karl Palsson eb287ff334 mosquitto: package c++ bindings
Only available in the "full" SSL version.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:18:40 +00:00
Karl Palsson 4c35fd1a80 mosquitto: properly separate the passwd utility
Building both variants improperly tried to include the passwd utility
for the non-ssl variant, as the variable was set for the ssl variant.

Use properly separated install tasks to install additional files, rather
than hacking around inside the single target.

Signed-off-by: Karl Palsson <karlp@remake.is>
2016-01-19 11:42:09 +00:00
Karl Palsson d49593161f mosquitto: fix old whitespace bug
Introduced back in 2014

Fixes: cd21cbb82e
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2016-01-19 10:41:58 +00:00
Jo-Philipp Wich 6d20db9138 mosquitto: fix whitespace error introduced with 7a6a575887
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-18 09:50:37 +01:00
Karl Palsson 87f167437b mosquitto: Bump to version 1.4.7
Minor changes mostly unrelated to OpenWRT.
Full changelog at http://mosquitto.org/2015/12/version-1-4-7-released/

Signed-off-by: Karl Palsson <karlp@remake.is>
2016-01-15 09:32:18 +00:00
Karl Palsson 7a6a575887 mosquitto: optionally include mosquitto_passwd utility
Many users of the SSL build of mosquitto need the passwd utility for
managing keys.

Fixes github issue #1909

Signed-off-by: Karl Palsson <karlp@remake.is>
2016-01-15 09:32:08 +00:00
Karl Palsson e7bd3fbe21 mosquitto: upgrade to version 1.4.4
Drop patch now included upstream.

More information: http://mosquitto.org/2015/09/version-1-4-4-released/

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2015-09-23 10:30:48 +00:00
Karl Palsson 1943d0b44e mosquitto: fix crash on client disconnect
Patch backported from upstream.  Was only noticed on musl and freebsd
clients.  See https://bugs.eclipse.org/bugs/show_bug.cgi?id=475707

Fixes github issue #1692

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-08-25 14:51:55 +00:00
Karl Palsson eaedc37dda mosquitto: bump to version 1.4.3
Bugfix release, see http://mosquitto.org/2015/08/version-1-4-3-released/

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-08-25 14:51:55 +00:00
Karl Palsson 453152b874 net/mosquitto: Upgrade 1.4.1 to 1.4.2
Bugfix release.  Full changelog available at:
http://mosquitto.org/2015/05/version-1-4-2-released/

Drops a patch now included upstream.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-05-08 11:00:50 +00:00
Karl Palsson ee274e64f9 net/mosquitto: Patch QoS 2 in flight bug
Patched until new upstream release is available.
Patch sourced from upstream.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-04-10 14:37:48 +00:00
Karl Palsson b3349c6e13 net/mosquitto: Bump to 1.4.1
Some useful fixes:
http://mosquitto.org/2015/04/version-1-4-1-released/

Drops a patch that has been rolled into upstream.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-04-10 14:36:52 +00:00
Karl Palsson 7c2f386e2d net: mosquitto: Fix libwebsockets detection
Patch suggested from upstream.  Bumping release and including the patch
directly until a point release is available.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-02-23 15:24:37 +00:00
Nicolas Thill cd21cbb82e mosquitto: don't depend on websocket for -nossl variant
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:36:35 +01:00
Karl Palsson f3566f4809 net: mosquitto: add missing libuuid dependency
Improper patch resolution when importing this from it's development
repository :(

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-02-20 16:56:28 +00:00
Karl Palsson 07eb064392 net: mosquitto: overhaul uci conversion script
Support more options that came with mosquitto 1.4
Use more built in functions to make script simpler to read and easier to
extend.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-02-20 16:49:17 +00:00
Karl Palsson a584b3efe8 net: mosquitto: Bump to 1.4 release
Of particular note, this adds optional support for websockets. This
defaults to enabled, as it's the biggest new feature in this release.
A config item is provided to disable it for manual use.

Full release notes: http://mosquitto.org/2015/02/version-1-4-released/

This also remove some build workarounds that are no longer required for
newer versions of mosquitto.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-02-20 16:48:08 +00:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
sbyx 21e7de8f06 Merge pull request #408 from blogic/userid
generic userid: use the new USERID api
2014-10-10 22:55:05 +02:00
Karl Palsson 5291d127a4 net/mosquitto: Bump to version 1.3.5
Minor point release due to delay in 1.4.

This is a bugfix release. See:
http://mosquitto.org/2014/10/version-1-3-5-released/ for changelog

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-10-10 12:58:01 +00:00
John Crispin d4042ec35e generic userid: use the new USERID api
recent changes in trunk allow us to specify the userid inside the openwrt makefile.
the info is stored int he meta data of the IPK contorl file and users are generated
by the new generic postinst trigger.

Signed-off-by: John Crispin <blogic@openwrt.org>
2014-10-08 03:45:30 +02:00
Karl Palsson 7ee92fa45c net/mosquitto: Add PKG_LICENSE information
Signed-off-by: Karl Palsson <karlp@remake.is>
2014-08-11 13:19:42 +00:00
Karl Palsson 64ef7b2158 net/mosquitto: update readme with protocol versions
Mosquitto has supported v3.1.1 of the mqtt protocol since verson 1.3

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-08-11 10:53:35 +00:00
Karl Palsson dfadab16da net/mosquitto: Bump to version 1.3.4
A minor point release.

* Don’t ask client for certificate when require_certificate is false.
* Fix incorrect handling of anonymous bridges on the local broker.
* backout incomplete functionality incorrectly added in 1.3.2

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-08-11 10:41:42 +00:00