notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
mosquitto Open source MQTT broker
2.0.13 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 Version of this port present on the latest quarterly branch.
Maintainer: joe@thrallingpenguin.com search for ports maintained by this maintainer
Port Added: 2014-05-25 12:20:59
Last Update: 2022-07-20 14:22:37
Commit Hash: 6a378e5
People watching this port, also watch:: sudo, pkg, tmux
License: EPL
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (42 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/mosquitto-2.0.13/catalog.mk
  3. /usr/local/share/licenses/mosquitto-2.0.13/LICENSE
  4. /usr/local/share/licenses/mosquitto-2.0.13/EPL
  5. bin/mosquitto_ctrl
  6. bin/mosquitto_passwd
  7. bin/mosquitto_pub
  8. bin/mosquitto_sub
  9. bin/mosquitto_rr
  10. @sample etc/mosquitto/aclfile.sample
  11. @sample etc/mosquitto/mosquitto.conf.sample
  12. @sample etc/mosquitto/pskfile.sample
  13. @sample etc/mosquitto/pwfile.sample
  14. include/mosquitto.h
  15. include/mosquitto_broker.h
  16. include/mosquitto_plugin.h
  17. include/mosquittopp.h
  18. include/mqtt_protocol.h
  19. lib/libmosquitto.so
  20. lib/libmosquitto.so.1
  21. lib/libmosquitto.so.2.0.13
  22. lib/libmosquittopp.so
  23. lib/libmosquittopp.so.1
  24. lib/libmosquittopp.so.2.0.13
  25. lib/mosquitto_dynamic_security.so
  26. libdata/pkgconfig/libmosquitto.pc
  27. libdata/pkgconfig/libmosquittopp.pc
  28. share/man/man1/mosquitto_ctrl.1.gz
  29. share/man/man1/mosquitto_ctrl_dynsec.1.gz
  30. share/man/man1/mosquitto_passwd.1.gz
  31. share/man/man1/mosquitto_pub.1.gz
  32. share/man/man1/mosquitto_rr.1.gz
  33. share/man/man1/mosquitto_sub.1.gz
  34. share/man/man3/libmosquitto.3.gz
  35. share/man/man5/mosquitto.conf.5.gz
  36. share/man/man7/mosquitto-tls.7.gz
  37. share/man/man7/mqtt.7.gz
  38. share/man/man8/mosquitto.8.gz
  39. sbin/mosquitto
  40. @owner
  41. @group
  42. @mode
Collapse this list.
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:
Packages (timestamps in pop-ups are UTC):
mosquitto
ABIlatestquarterly
FreeBSD:11:aarch641.4.14_21.6.7
FreeBSD:11:amd642.0.10_22.0.8
FreeBSD:11:armv61.4.4_11.6.7
FreeBSD:11:i3862.0.10_22.0.8
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch641.5.32.0.13
FreeBSD:12:amd642.0.132.0.13
FreeBSD:12:armv61.5.31.6.7
FreeBSD:12:armv7-1.6.7
FreeBSD:12:i3862.0.132.0.13
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch642.0.132.0.13
FreeBSD:13:amd642.0.132.0.13
FreeBSD:13:armv61.6.72.0.13
FreeBSD:13:armv72.0.132.0.13
FreeBSD:13:i3862.0.132.0.13
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.6.72.0.8
FreeBSD:13:riscv64-2.0.13
FreeBSD:14:aarch642.0.13-
FreeBSD:14:amd642.0.13-
FreeBSD:14:armv62.0.13-
FreeBSD:14:armv72.0.13-
FreeBSD:14:i3862.0.13-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc642.0.8-
FreeBSD:14:riscv642.0.13-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. xsltproc : textproc/libxslt
  2. docbook-xsl>0 : textproc/docbook-xsl
  3. cmake : devel/cmake
  4. ninja : devel/ninja
Runtime dependencies:
  1. ca-root-nss.crt : security/ca_root_nss
Library dependencies:
  1. libuuid.so : misc/e2fsprogs-libuuid
  2. libcjson.so : devel/libcjson
  3. libcares.so : dns/c-ares
This port is required by:
for Build
  1. net/pecl-mosquitto
  2. www/ot-recorder
for Libraries
  1. comms/ebusd
  2. net-mgmt/netxms
  3. www/domoticz
  4. www/ot-recorder
for Run
  1. security/py-notus-scanner

Configuration Options:
Options name:

USES:

pkg-message:
For install:
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://mosquitto.org/files/source/
Collapse this list.
Port Moves
  • port moved here from net/rsmb on 2014-08-19
    REASON: Superseded by net/mosquitto

Number of commits found: 43

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
20 Jul 2022 14:22:37
 files touched by this commit commit hash:6a378e5659b93de6dbe8956246fb3bf971677624  2.0.13
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
16 May 2022 06:49:43
 files touched by this commit commit hash:2d34c2bfeaa82867acfa7d73bec9644b2acecbb1  2.0.13
Loïc Bartoletti (lbartoletti) search for other commits by this committer
devel/cmake: Update to 3.23.0

Update to 3.23.0.
Fix pkg-plist: using the default share/man location

Release Notes:
  https://cmake.org/cmake/help/v3.23/release/3.23.html

PR:		262886
Exp-run by:	antoine
10 Nov 2021 20:42:31
 files touched by this commit commit hash:4b239d954907d22f263344d280e9f9fea7f65ecf  2.0.13
Bernard Spil (brnrd) search for other commits by this committer
net/mosquitto: Update to 2.0.13

 * Fixes build with LibreSSL 3.4

PR:		259734
Reported by:	Ivan Rozhuk <rozhuk im gmail com>
Approved by:	joe thrallingpenguin com (maintainer)
08 Oct 2021 11:49:48
 files touched by this commit commit hash:8629d5233603055ab0e802f750908eb39d76564c  2.0.10_2
Bernhard Froehlich (decke) search for other commits by this committer
net/mosquitto: Add CPE information

Approved by:    portmgr (blanket)
27 Aug 2021 21:55:16
 files touched by this commit commit hash:921e007cc543520bac1adf9e96de9483cb3e725e  2.0.10_2
Dan Langille (dvl) search for other commits by this committer
net/mosquitto: update rc.d script to fix mosquitto_pidfile override

The default variables were being set before load_rc_config was invoked.

jrm@FreeBSD.org did most of this work and all credit goes to him.
I only found the problem. He helped tremendously.

PR:		258089
Reported by:	dvl
Approved by:	joe@thrallingpenguin.com (maintainer)
Obtained from:	jrm
08 Aug 2021 16:55:44
 files touched by this commit commit hash:baa26eb67c4d0d6406a190dec9214520a53c02e1  2.0.10_1
Brad Davis (brd) search for other commits by this committer
net/mosquitto: Fix startup pidfile issue

PR:		254254
Reviewed by:	swills
Approved by:	joe@thrallingpenguin.com (maintainer, earlier version)
24 Jul 2021 21:14:01
 files touched by this commit commit hash:e220d6ed93a7e736c1972c8a864737641d818067  2.0.10
Craig Leres (leres) search for other commits by this committer
net/mosquitto: Update to 2.0.10 and solve NULL pointer dereference

   
https://github.com/eclipse/mosquitto/blob/d5ecd9f5aa98d42e7549eea09a71a23eef241f31/ChangeLog.txt

This release fixes a DoS vulnerability:

 - If an authenticated client connected with MQTT v5 sent a malformed
   CONNACK message to the broker a NULL pointer dereference occurred,
   most likely resulting in a segfault.

Other changes since 2.0.8:

 - Set `receive-maximum` to not exceed the `-C` message count in
   mosquitto_sub and mosquitto_rr, to avoid potentially lost messages.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
06 Apr 2021 14:31:13
 files touched by this commit commit hash:135fdeebb99c3569e42d8162b265e15d29bd937d  2.0.8 This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  2.0.8 This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
07 Mar 2021 16:45:49
Original commit files touched by this commit Revision:567577  2.0.8 This port version is marked as vulnerable.
tobik search for other commits by this committer
Remove redundant option descriptions that match the default ones

(ignoring case)

Reported by:	danfe (for net/mosquitto), portscan
07 Mar 2021 12:19:22
Original commit files touched by this commit Revision:567563  2.0.8 This port version is marked as vulnerable.
wen search for other commits by this committer
- Update to 2.0.8
- Add CARES_DESC
- Update DEPENDS

PR:		252237
Submitted by:	freebsd@justmail.de
Approved by:	maintainer
04 Feb 2021 20:24:09
Original commit files touched by this commit Revision:564064  1.6.7_1
tcberner search for other commits by this committer
net/libwebsockets: Update to 4.1.6

Changelog:
	https://libwebsockets.org/git/libwebsockets/tree/changelog?h=v4.1-stable

PR:		251835
Submitted by:	daniel.engberg.lists@pyret.net
Approved by:	iblis.dif01@nctu.edu.tw (timeout)
27 Aug 2020 13:06:58
Original commit files touched by this commit Revision:546340  1.6.7
tcberner search for other commits by this committer
net/mosquitto: fix build on recent current

Obtained
from:	https://github.com/eclipse/mosquitto/commit/8a4ae28fa926589e9891674ca4424dc703ad2d88
02 Nov 2019 13:57:54
Original commit files touched by this commit Revision:516324  1.6.7
tcberner search for other commits by this committer
net/mosquitto: new version 1.6.7

PR:		241370
Submitted by:	ev <evfbsd@yandex.ru>
Approved by:	joe@thrallingpenguin.com (maintainer)
02 Sep 2019 22:28:44
Original commit files touched by this commit Revision:510858  1.6.4
swills search for other commits by this committer
net/mosquitto: update to 1.6.4

PR:		239675
Submitted by:	joe@thrallingpenguin.com (maintainer)
Reported by:	crest@rlwinm.de
14 Aug 2019 08:48:51
Original commit files touched by this commit Revision:508903  1.5.8
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories n)

(and missed 3 missed files from previous categories.)
12 Mar 2019 07:24:48
Original commit files touched by this commit Revision:495444  1.5.8
danfe search for other commits by this committer
- Update to version 1.5.8 and fix "null" username and password bug
- Drop `textproc/libxslt' dependency -- only needed when building
  from git sources, distfiles come with pre-generated manpages
- Make `dns/c-ares' dependency optional, but keep it on by default
- Add missing run-time dependency on `security/ca_root_nss'
- Fix excessive use of capital letters in COMMENT, wrap some overly
  long lines so they fit standard terminal width (80 characters)

Reported by:	Jeremiah Gillis
PR:		236459
Submitted by:	Joseph Benden (maintainer)
01 Feb 2019 09:53:21
Original commit files touched by this commit Revision:491798  1.5.5
danfe search for other commits by this committer
- Unbreak the build on 11.2-RELEASE when Websockets support is
  enabled by including required <sys/socket.h> header
- Remove banal comments and bogus NOCONFIGURE knob while here

RR:	235323
15 Jan 2019 17:59:31
Original commit files touched by this commit Revision:490394  1.5.5
swills search for other commits by this committer
net/mosquitto: update to 1.5.5

PR:		234957
Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw>
Approved by:	joe@thrallingpenguin.com (maintainer)
08 Dec 2018 18:48:42
Original commit files touched by this commit Revision:486979  1.5.4
fernape search for other commits by this committer
net/mosquitto: update to 1.5.4

This release fixes a number of security, building and memory leak issues.

Announcement: https://mosquitto.org/blog/2018/11/version-154-released/

PR:	233552
Submitted by:	iblis@hs.ntnu.edu.tw
Approved by:	joe@thrallingpenguin.com (maintainer)
01 Nov 2018 15:16:52
Original commit files touched by this commit Revision:483677  1.5.3_1
swills search for other commits by this committer
net/mosquitto: Fix OpenSSL build

PR:		232168
Submitted by:	Nathan <ndowens@yahoo.com>
Approved by:	joe@thrallingpenguin.com (maintainer)
03 Oct 2018 09:54:41
Original commit files touched by this commit Revision:481153  1.5.3
lwhsu search for other commits by this committer
- Update to 1.5.3

PR:		231047
Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw>
Approved by:	joe@thrallingpenguin.com (maintainer)
06 Apr 2018 20:50:15
Original commit files touched by this commit Revision:466690  1.4.14_2
yuri search for other commits by this committer
net/mosquitto: Unbreak the rc script; Fix the license

The rc script had the 'pidfile' token, when the code references 'pid_file'.
While here, fixed the license. It is actually EPL, not BSD.

Reported by:	David BOYER <david.boyer59@gmail.com> (the pidfile issue in a
private communication)
Approved by:	portmgr blanket
23 Feb 2018 04:04:33
Original commit files touched by this commit Revision:462668  1.4.14_1
yuri search for other commits by this committer
net/mosquitto: Added net/mosquitto dependency.

Approved by:	tcberner (mentor, implicit)
11 Dec 2017 04:01:46
Original commit files touched by this commit Revision:455922  1.4.14
swills search for other commits by this committer
net/mosquitto update to 1.4.14

While here, make it PREFIX clean.

PR:		224210
Submitted by:	Manuel Stuhn <freebsd@justmail.de>
Approved by:	Joseph Benden <joe@thrallingpenguin.com>
18 Aug 2017 17:03:12
Original commit files touched by this commit Revision:448259  1.4.10_1
swills search for other commits by this committer
net/mosquitto: Fails to build with WS option enabled

PR:		220827
Submitted by:	stl@koffein.net
Approved by:	joe@thrallingpenguin.com (maintainer)
22 Jul 2017 12:02:56
Original commit files touched by this commit Revision:446392  1.4.10_1
jbeich search for other commits by this committer
net/libwebsockets: update to 2.2.2

Changes:	https://github.com/warmcat/libwebsockets/blob/v2.2.2/changelog
PR:		220921
Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)
02 Dec 2016 11:58:22
Original commit files touched by this commit Revision:427552  1.4.10
mat search for other commits by this committer
Do not use post-stage.  Use post-install instead.

The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
23 Nov 2016 21:44:11
Original commit files touched by this commit Revision:426979  1.4.10
marino search for other commits by this committer
net/mosquitto: restore libressl support

The mosquitto commit that added OpenSSL 1.1.0 support simultaneously
broke LibreSSL support.  This patch comes from a fork and hasn't been
incorporated upstream yet (pull request #280 still outstanding but
should eventually be merged in).

LibreSSL support broke during the version upgrade last month.

Approved by:	SSL blanket
16 Oct 2016 18:46:10
Original commit files touched by this commit Revision:424079  1.4.10
ohauer search for other commits by this committer
- update to 1.4.10

Broker
  Fix TLS operation with websockets listeners and libwebsockets 2.x. Closes
  #186.
  Don.t disconnect client on HUP before reading the pending data. Closes #7.
  Fix some $SYS messages being incorrectly persisted. Closes #191.
  Support OpenSSL 1.1.0.
  Call fsync after persisting data to ensure it is correctly written. Closes
  #189.
  Fix persistence saving of subscription QoS on big-endian machines.
  Fix will retained flag handling on Windows. Closes #222.
  Broker now displays an error if it is unable to open the log file. Closes
  #234.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Jul 2016 18:27:21
Original commit files touched by this commit Revision:418845  1.4.9
ohauer search for other commits by this committer
- update to 1.4.9
- add optional websocket support

Changelog:
https://raw.githubusercontent.com/eclipse/mosquitto/master/ChangeLog.txt

PR:		211190
Submitted by:	Iblis Lin (iblis_at_hs.ntnu.edu.tw)
Approved by:	maintainer (joe_at_thrallingpenguin.com)
01 Apr 2016 14:16:20
Original commit files touched by this commit Revision:412348  1.4.4_1
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
30 Oct 2015 22:43:16
Original commit files touched by this commit Revision:400556  1.4.4_1
bapt search for other commits by this committer
Bump portrevision of ports that might have been built with a broken post-install
script due to fallouts of r399992
27 Sep 2015 21:32:30
Original commit files touched by this commit Revision:398053  1.4.4
ohauer search for other commits by this committer
- update to 1.4.4

1.4.4 - 20150916
================

Broker:
- Don't leak sockets when outgoing bridge with multiple addresses cannot
  connect. Closes #477571.
- Fix cross compiling of websockets. Closes #475807.
- Fix memory free related crashes on openwrt. Closes #475707.
- Fix excessive calls to message retry check.

1.4.3 - 20150818
================
(Only the first 15 lines of the commit message are shown above View all of this commit message)
04 Jul 2015 09:14:06
Original commit files touched by this commit Revision:391297  1.4.2
ohauer search for other commits by this committer
- update to 1.4.2

The Python driver is now provided by net/py-paho-mqtt!

More drivers can be found at http://eclipse.org/paho

PR:		200540
Submitted by:	ohauer
Approved by:	Joseph Benden <joe@thrallingpenguin.com> (maintainer, via PM)
10 May 2015 18:06:00
Original commit files touched by this commit Revision:385971  1.3.5_1
ohauer search for other commits by this committer
- fix build with LibreSSL [1]
- install manpages into correct MANDIR
- do not run ldconfig in stagedir!
- adjust files/patch names so makepatch can be used in future
- bump PORTREVISION

PR:		198988 [1]
Submitted by:	Bernard Spil
Approved by:	joe _at_ thrallingpenguin.com (maintainer)
15 Oct 2014 22:53:30
Original commit files touched by this commit Revision:370963  1.3.5
rodrigo search for other commits by this committer
Upgrade mosquitto to version 1.3.4
Fix use and options
Remove unnecessary dirs from plist

PR:		ports/194246
Submitted by:	joe@thrallingpenguin.com (maintainer)
Approved by:	mentors (implicit)
18 Sep 2014 12:31:25
Original commit files touched by this commit Revision:368446  1.3.2_1
mat search for other commits by this committer
Retire MANCOMPRESSED.

Also the compat NO_INSTALL_MANPAGES shim.

Differential Revision:	https://reviews.freebsd.org/D730
Reviewed by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
28 Aug 2014 10:21:32
Original commit files touched by this commit Revision:366389  1.3.2_1
tijl search for other commits by this committer
dns/c-ares:
- Add USES=libtool and bump dependent ports
- Move variable definitions in front of include bsd.port.options.mk
- Replace patch with USES=pathfix

Approved by:	portmgr (implicit, bump unstaged port)
15 Jul 2014 08:35:54
Original commit files touched by this commit Revision:361896  1.3.2
vanilla search for other commits by this committer
Update to 1.3.2.

PR:		ports/191864
Submitted by:	maintainer
08 Jul 2014 14:49:34
Original commit files touched by this commit Revision:361253  1.3.1
swills search for other commits by this committer
net/mosquitto: fix plist, don't need to try to delete python libdirs
08 Jul 2014 03:39:37
Original commit files touched by this commit Revision:361163  1.3.1
swills search for other commits by this committer
net/mosquitto: make python support optional

PR:		191366
Submitted by:	joe@thrallingpenguin.com (maintainer)
25 May 2014 12:20:49
Original commit files touched by this commit Revision:355160  1.3.1
swills search for other commits by this committer
Mosquitto is an open source implementation of a server for version 3.1 of the
MQTT protocol.

WWW: http://mosquitto.org/

PR:		ports/189451
Submitted by:	Joseph Benden <joe@thrallingpenguin.com>

Number of commits found: 43