Created attachment 204921 [details]
The fail2ban service supports both file polling or more efficient file modification notifications
OK, and thank you for the patch
Created attachment 205090 [details]
Thank you both for the patch and the approval. I would introduce the new dependency for devel/py-pyinotify as an option because it's not a mandatory requirement for security/py-fail2ban to make it run.
Users have then choice to opt-in/-out the support for devel/py-pyinotify if they're not comfortable with it.
@maintainer: Can you please give me a short feedback if this minor change based on Dmitri's initial patch is ok for you?
A commit references this bug:
Date: Sun Jun 16 10:14:21 UTC 2019
New revision: 504294
security/py-fail2ban: Add support for devel/py-pyinotify
* Enable support for devel/py-pyinotify that itself uses devel/libinotify to
monitor changes in the filesystem. 
* Also introduce the new dependency as an additional default option INOTIFY
while I'm here because it's not a hard requirement for runtime. 
Submitted by: Dmitry Wagin <email@example.com> 
Approved by: firstname.lastname@example.org (maintainer)  
Committed, thank you both for the patch and the quick approval!