Created attachment 161957 [details] patch Change to Makefile. Humdinger is now installed setuid and setgid so that it can restart on SIGSEGV after changing to non-privileged user.
Created attachment 161958 [details] patch
Created attachment 161985 [details] patch Drood master process now restarts on SIGSEGV Humdinger installed setuid, setgid to enable restarts with root permissions.
Setuid permissions should be mentioned in plist.
(In reply to Dmitry Marakasov from comment #3) I can find no docs on how to do that.
https://www.freebsd.org/doc/en/books/porters-handbook/plist-keywords.html Example: /usr/ports/x11/slock/pkg-plist You can leave it in PLIST_FILES though, quoting the entry.
Created attachment 162022 [details] patch Humdinger setuid permissions added to PLIST_FILES.
A commit references this bug: Author: amdmi3 Date: Wed Oct 14 20:58:47 UTC 2015 New revision: 399297 URL: https://svnweb.freebsd.org/changeset/ports/399297 Log: - Update to 5.6 PR: 203725 Submitted by: jimmy@mammothcheese.ca (maintainer) Changes: head/www/drood/Makefile head/www/drood/distinfo