FolusWen 713ef6e599 [Improve][GPL][GLIBC / Openssl / Lighttpd / Openvpn / Curl / Tcpdump / Wget / LibWebsocket / Mosquitto] 2 years ago
..
apps 713ef6e599 [Improve][GPL][GLIBC / Openssl / Lighttpd / Openvpn / Curl / Tcpdump / Wget / LibWebsocket / Mosquitto] 2 years ago
client 713ef6e599 [Improve][GPL][GLIBC / Openssl / Lighttpd / Openvpn / Curl / Tcpdump / Wget / LibWebsocket / Mosquitto] 2 years ago
cmake b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
deps b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
examples b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
include b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
installer b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
lib 713ef6e599 [Improve][GPL][GLIBC / Openssl / Lighttpd / Openvpn / Curl / Tcpdump / Wget / LibWebsocket / Mosquitto] 2 years ago
logo b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
man 38bc0f654a [Add][rootfs][lib_mosquitto] 3 years ago
misc b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
plugins 713ef6e599 [Improve][GPL][GLIBC / Openssl / Lighttpd / Openvpn / Curl / Tcpdump / Wget / LibWebsocket / Mosquitto] 2 years ago
release 713ef6e599 [Improve][GPL][GLIBC / Openssl / Lighttpd / Openvpn / Curl / Tcpdump / Wget / LibWebsocket / Mosquitto] 2 years ago
security b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
service b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
snap b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
src 713ef6e599 [Improve][GPL][GLIBC / Openssl / Lighttpd / Openvpn / Curl / Tcpdump / Wget / LibWebsocket / Mosquitto] 2 years ago
test b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
CMakeLists.txt b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
CONTRIBUTING.md b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
ChangeLog.txt b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
LICENSE.txt b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
Makefile 38bc0f654a [Add][rootfs][lib_mosquitto] 3 years ago
NOTICE.md b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
README-compiling.md b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
README-letsencrypt.md b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
README-windows.txt b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
README.md b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
about.html b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
aclfile.example b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
config.h b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
config.mk 38bc0f654a [Add][rootfs][lib_mosquitto] 3 years ago
edl-v10 b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
epl-v20 b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
libmosquitto.pc.in b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
libmosquittopp.pc.in b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
mosquitto.conf b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
pskfile.example b3d0b43338 [Add][GPL][Mosquitto] 3 years ago
pwfile.example b3d0b43338 [Add][GPL][Mosquitto] 3 years ago

README-compiling.md

The following packages can be used to add features to mosquitto. All of them are optional.

  • openssl
  • c-ares (for DNS-SRV support, disabled by default)
  • tcp-wrappers (optional, package name libwrap0-dev)
  • libwebsockets (optional, disabled by default, version 2.4 and above)
  • cJSON (optional but recommended, for dynamic-security plugin support, and JSON output from mosquitto_sub/mosquitto_rr)
  • libsystemd-dev (optional, if building with systemd support on Linux)
  • On Windows, a pthreads library is required if threading support is to be included.
  • xsltproc (only if building from git)
  • docbook-xsl (only if building from git)

To compile, run "make", but also see the file config.mk for more details on the various options that can be compiled in.

Where possible use the Makefiles to compile. This is particularly relevant for the client libraries as symbol information will be included. Use cmake to compile on Windows or Mac.

If you have any questions, problems or suggestions (particularly related to installing on a more unusual device) then please get in touch using the details in README.md.