summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/mosquitto
Commit message (Collapse)AuthorAgeFilesLines
* mosquitto: fully switch over to using PACKAGECONFIG_CONFARGSAndré Draszik2019-03-241-8/+4
| | | | | | | | | | | Convert all other instances of explicit PACKAGECONFIG uses to the PACKAGECONFIG_CONFARGS infrastructure. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Damien Riegel <damien.riegel@gmail.com> [Damien Riegel: backport from master] Signed-off-by: Armin Kuster <akuster808@gmail.com>
* mosquitto: fix build in systemd environmentsAndré Draszik2019-03-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | The mosquitto systemd service file instructs systemd to wait for mosquitto to notify systemd that mosquitto has started correctly. This isn't working as mosquitto is not *compiled* with systemd support enabled. As such, systemd restarts mosquitto every few seconds. For reference, this was introduced in commit a483d344d9fb ("mosquitto: Make enabling systemd also enable build dep on systemd") Because we build mosquitto using the provided Makefile infrastructure, the solution is to add PACKAGECONFIG_CONFARGS to EXTRA_OEMAKE, so that the required make flags are added to the make command line. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Damien Riegel <damien.riegel@gmail.com> [Damien Riegel: backport from master] Signed-off-by: Armin Kuster <akuster808@gmail.com>
* mosquitto: make websockets a PACKAGECONFIG optionJeroen Hofstee2018-09-261-0/+2
| | | | | Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mosquitto: Make enabling systemd also enable build dep on systemdKhem Raj2018-09-081-2/+4
| | | | | | systemd support in mqtt needs system developement headers and libs installed in recipe sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mosquitto: upgrade to 1.5.1Paul Eggleton2018-09-043-24/+6
| | | | | | | | | | | | | | | | | | | | | | This includes one security fix and numerous other bugfixes. MQTT version 3.1.1 is now the default protocol. See the following for details: https://mosquitto.org/blog/2018/08/version-151-released/ https://mosquitto.org/blog/2018/05/version-1-5-released/ Changes to the recipe: * Drop explicit installation of the libmosquitto.a static library because this no longer gets built by default, and the normal "make install" which we are running will install it anyway if it were to be enabled. * Drop our service file since there is one supplied in the source tree * Enable systemd notify support when systemd is being used * Update comments in the init script Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mosquitto: minor recipe cleanupsAndre McCurdy2018-06-272-46/+13
| | | | | | | | | | | | | - Passing prefix, mandir and localedir via the Make command line allows patching of config.mk to be dropped. - The variable PREFIX isn't used anywhere in the mosquitto 1.4.15 Makefiles, so doesn't need to be passed on the Make command line. That means the default do_compile() from base.bbclass can be used and the recipe specific do_compile() can be dropped. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mosquitto: add default configuration fileNicola Lunghi2018-06-051-0/+6
| | | | | | | | the mosquitto recipe doesn't add a mosquitto configuration file add it from the mosquitto.conf.example file Signed-off-by: Nicola Lunghi <nicola.lunghi@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mosquitto: add mosquitto-examples packageNicola Lunghi2018-06-051-0/+4
| | | | | | | | | | | | the mosquitto install populate some .example files in /etc/mosquitto. move thise example files in a separate package The PACKAGE_BEFORE_PN is needed because otherwise those examples end in the base mosquitto package Signed-off-by: Nicola Lunghi <nicola.lunghi@jci.com> Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mosquitto: upgrade to 1.4.15Paul Eggleton2018-05-311-2/+2
| | | | | | | | | | | | Security update - fixes CVE-2017-7651 and CVE-2017-7652, as well as a number of other non-security issues. For more details see the release announcement: https://mosquitto.org/blog/2018/02/security-advisory-cve-2017-7651-cve-2017-7652/ Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mosquito: move from oe to networking layerArmin Kuster2018-05-175-0/+1197
mosquito has dependancy on meta-netowrking packages Signed-off-by: Armin Kuster <akuster808@gmail.com>