wget https://mmonit.com/monit/dist/monit-5.28.1.tar.gz tar xzf monit-5.28.1.tar.gz git clone https://bitbucket.org/tildeslash/monit.git cd monit/ ./bootstrap ./configure --without-pam
See the setting up pkgsrc guide and trick around the existing one, to get the latest version,
echo ACCEPTABLE_LICENSES+= gnu-agpl-v3 >> /etc/mk.conf cd /usr/pkgsrc/sysutils/monit/ vi Makefile ...change version to e.g. monit-5.25.2... ...remove PLATFORMS... vi PLIST ...remove PALTFORMS... make NO_CHECKSUM=yes make install cp /usr/pkg/share/examples/rc.d/monit /etc/rc.d/