notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2023Q4
mosquitto Open source MQTT broker
2.1.2_3 net on this many watch lists=7 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.1.2_3Version of this port present on the latest quarterly branch.
Maintainer: leres@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-05-25 12:20:59
Last Update: 2026-06-28 22:39:18
Commit Hash: 4caf06a
People watching this port, also watch:: sudo, apache24, pkg, tmux
License: EPL
WWW:
https://mosquitto.org/
Description:
Mosquitto is an open source (BSD licensed) message broker that implements the MQ Telemetry Transport protocol versions 3.1 and 3.1.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "machine to machine" messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (84 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/mosquitto-2.1.2_3/catalog.mk
  3. /usr/local/share/licenses/mosquitto-2.1.2_3/LICENSE
  4. /usr/local/share/licenses/mosquitto-2.1.2_3/EPL
  5. bin/mosquitto_ctrl
  6. bin/mosquitto_db_dump
  7. bin/mosquitto_passwd
  8. bin/mosquitto_pub
  9. bin/mosquitto_rr
  10. bin/mosquitto_signal
  11. bin/mosquitto_sub
  12. @sample etc/mosquitto/aclfile.sample
  13. @sample etc/mosquitto/mosquitto.conf.sample
  14. @sample etc/mosquitto/pskfile.sample
  15. @sample etc/mosquitto/pwfile.sample
  16. include/mosquitto.h
  17. include/mosquitto/broker.h
  18. include/mosquitto/broker_control.h
  19. include/mosquitto/broker_plugin.h
  20. include/mosquitto/defs.h
  21. include/mosquitto/libcommon.h
  22. include/mosquitto/libcommon_base64.h
  23. include/mosquitto/libcommon_cjson.h
  24. include/mosquitto/libcommon_file.h
  25. include/mosquitto/libcommon_memory.h
  26. include/mosquitto/libcommon_password.h
  27. include/mosquitto/libcommon_properties.h
  28. include/mosquitto/libcommon_random.h
  29. include/mosquitto/libcommon_string.h
  30. include/mosquitto/libcommon_time.h
  31. include/mosquitto/libcommon_topic.h
  32. include/mosquitto/libcommon_utf8.h
  33. include/mosquitto/libmosquitto.h
  34. include/mosquitto/libmosquitto_auth.h
  35. include/mosquitto/libmosquitto_callbacks.h
  36. include/mosquitto/libmosquitto_connect.h
  37. include/mosquitto/libmosquitto_create_delete.h
  38. include/mosquitto/libmosquitto_helpers.h
  39. include/mosquitto/libmosquitto_loop.h
  40. include/mosquitto/libmosquitto_message.h
  41. include/mosquitto/libmosquitto_options.h
  42. include/mosquitto/libmosquitto_publish.h
  43. include/mosquitto/libmosquitto_socks.h
  44. include/mosquitto/libmosquitto_subscribe.h
  45. include/mosquitto/libmosquitto_tls.h
  46. include/mosquitto/libmosquitto_unsubscribe.h
  47. include/mosquitto/libmosquitto_will.h
  48. include/mosquitto/libmosquittopp.h
  49. include/mosquitto/mqtt_protocol.h
  50. include/mosquitto_broker.h
  51. include/mosquitto_plugin.h
  52. include/mosquittopp.h
  53. include/mqtt_protocol.h
  54. lib/libmosquitto.so
  55. lib/libmosquitto.so.1
  56. lib/libmosquitto.so.2.1.2
  57. lib/libmosquittopp.so
  58. lib/libmosquittopp.so.1
  59. lib/libmosquittopp.so.2.1.2
  60. lib/mosquitto_acl_file.so
  61. lib/mosquitto_dynamic_security.so
  62. lib/mosquitto_password_file.so
  63. lib/mosquitto_persist_sqlite.so
  64. lib/mosquitto_sparkplug_aware.so
  65. libdata/pkgconfig/libmosquitto.pc
  66. libdata/pkgconfig/libmosquittopp.pc
  67. sbin/mosquitto
  68. share/man/man1/mosquitto_ctrl.1.gz
  69. share/man/man1/mosquitto_ctrl_dynsec.1.gz
  70. share/man/man1/mosquitto_ctrl_shell.1.gz
  71. share/man/man1/mosquitto_passwd.1.gz
  72. share/man/man1/mosquitto_pub.1.gz
  73. share/man/man1/mosquitto_rr.1.gz
  74. share/man/man1/mosquitto_signal.1.gz
  75. share/man/man1/mosquitto_sub.1.gz
  76. share/man/man3/libmosquitto.3.gz
  77. share/man/man5/mosquitto.conf.5.gz
  78. share/man/man7/mosquitto-tls.7.gz
  79. share/man/man7/mosquitto.7.gz
  80. share/man/man7/mqtt.7.gz
  81. share/man/man8/mosquitto.8.gz
  82. @owner
  83. @group
  84. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • mosquitto
Dependency lines:
  • mosquitto>0:net/mosquitto
To install the port:
cd /usr/ports/net/mosquitto/ && make install clean
To add the package, run one of these commands:
  • pkg install net/mosquitto
  • pkg install mosquitto
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mosquitto
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1770849685 SHA256 (mosquitto-2.1.2.tar.gz) = fd905380691ac65ea5a93779e8214941829e3d6e038d5edff9eac5fd74cbed02 SIZE (mosquitto-2.1.2.tar.gz) = 2882727

Packages (timestamps in pop-ups are UTC):
mosquitto
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.1.2_22.1.2_21.6.72.0.22_12.1.2_2n/an/an/a
FreeBSD:13:quarterly2.1.2_22.1.2_22.0.15_12.0.21_12.1.2_2n/an/an/a
FreeBSD:14:latest2.1.2_32.1.2_32.0.132.0.22_12.1.2_32.0.15_1-2.0.15_1
FreeBSD:14:quarterly2.1.2_32.1.2_3-2.0.21_12.1.2_32.0.15_12.0.15_12.0.15_1
FreeBSD:15:latest2.1.2_32.1.2_3n/a2.0.22_1n/an/a2.0.182.0.18
FreeBSD:15:quarterly2.1.2_32.1.2_3n/a-n/an/a--
FreeBSD:16:latest2.1.2_32.1.2_3n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. docbook-xsl>0 : textproc/docbook-xsl
  2. xsltproc : textproc/libxslt
  3. cmake : devel/cmake-core
  4. ninja : devel/ninja
Runtime dependencies:
  1. ca-root-nss.crt : security/ca_root_nss
Library dependencies:
  1. libcjson.so : devel/libcjson
  2. libsqlite3.so : databases/sqlite3
  3. libuuid.so : misc/libuuid
  4. libcares.so : dns/c-ares
  5. libreadline.so.8 : devel/readline
This port is required by:
for Build
  1. www/ot-recorder

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. net/pecl-mosquitto*
  2. Collapse this list of deleted ports.
for Libraries
  1. comms/ebusd
  2. net/msoak
  3. net-mgmt/netxms
  4. www/domoticz
  5. www/domoticz-devel
  6. www/ot-recorder
for Run
  1. security/py-notus-scanner

Configuration Options:
===> The following configuration options are available for mosquitto-2.1.2_3: CARES=on: Asynchronous DNS resolution via c-ares WEBSOCKETS=on: WebSocket protocol support WEBSOCKETS_BUILTIN=on: Use bundled version of websockets ===> Use 'make config' to modify these settings
Options name:
net_mosquitto
USES:
cmake cpe readline ssl
pkg-message:
For install:
The mosquitto MQTT Python driver is now provided by net/py-paho-mqtt
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://mosquitto.org/files/source/
Collapse this list.

There are no commits on branch 2023Q4 for this port