Created attachment 210464 [details] the patch to fix httpdocs/misc/ntopng-add-user.sh has `/bin/bash` and `md5sum`, which is not correct on FreeBSD. the patch replaces them with correct ones.
Over to maintainer.
Thanks! I'm looking at this.
A commit references this bug: Author: madpilot Date: Tue Jun 16 22:22:31 UTC 2020 New revision: 539383 URL: https://svnweb.freebsd.org/changeset/ports/539383 Log: Fix script to use md5 and not md5sum. PR: 243110 Submitted by: Tomoyuki Sakurai <trombik1973@gmail.com> Changes: head/net/ntopng/Makefile head/net/ntopng/files/patch-httpdocs_misc_ntopng-add-user.sh
I committed a fix. There is no need to manually replace the shebang, this is already handled by USES=shebangfix. Also there was another occurrence of md5sum in the script you fixed, I modified that too.