You can remove the LIB_DEPENDS and the config logic to select pynotify safely. fail2ban does not ship with a pyinotify filter (anymore) and defaults to polling on FreeBSD (the other option is systemd). The only reference in the code to pyinotify is in test code. pyinotify doesn't even load on modern Python; it depends on asyncore which was removed in Python 3.12. On that note, pyinotify hasn't been committed to in 11 years and has 58 issues and 26 open pull requests on GitHub. It appears to be abandonware.