Created attachment 205905 [details]
Unified diff to restore the port
net/pecl-mosquitto was removed due to PHP 5.6 being EOL. However version 0.4.0 can run on php 7.x.
I did some local tests on 12.0-RELEASE with all three current version of PHP (7.1, 7.2, 7.3) to make sure it works.
SVN commands used:
svnlite copy https://svn.FreeBSD.org/ports/head/net/pecl-mosquitto@481545 net/pecl-mosquitto
A commit references this bug:
Date: Sun Jul 21 19:57:02 UTC 2019
New revision: 507067
New/resurrected port: net/pecl-mosquitto
Mosquitto provides support for the MQTT protocol, including publishing,
subscribing, and an event loop.
Version 0.4.0 runs with PHP 7.x
Submitted by: Daniel Morante <firstname.lastname@example.org>