Bug 297284 - security/py-fail2ban: Remove unused py-pyinotify dependency
Summary: security/py-fail2ban: Remove unused py-pyinotify dependency
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-04 21:47 UTC by Doug White
Modified: 2026-08-04 21:50 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (cy)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug White 2026-08-04 21:47:46 UTC
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.