Created attachment 157231 [details] py-fail2ban_patch_sample_files Prevent config files to be changed on updates. - Move fail2ban.conf and jail.conf to .sample extension. - Add @sample on pkg-plist for both files.
No. Most software in the ports follow the philosophy that users copy the configuration files and edit them. But fail2ban is different: you don't edit the original .conf-files but do you changes and your changes only in corresponding .local-files. E.g., to enable ssh you would create a file jail.local with the lines [sshd] enabled = true (plus other specifics) in it. See the header of fail2ban.conf and jail.conf files. This way you'll benefit from enhancements and fixes coming from upstream without having to merge your files after every update or risk losing the changes.
Ok. I got it. Thanks for the feedback.