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. [1] * Also introduce the new dependency as an additional default option INOTIFY while I'm here because it's not a hard requirement for runtime. [2] PR: 238427 Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> [1] Approved by: theis@gmx.at (maintainer) [1] [2]
This commit is contained in:
parent
1bc606ff7e
commit
77ed2dc624
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504294
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= fail2ban
|
||||
PORTVERSION= 0.10.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
@ -14,8 +14,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USES= python:patch shebangfix
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= autoplist distutils
|
||||
@ -32,6 +30,13 @@ PYDISTUTILS_INSTALLARGS+= --install-data=${ETCDIR}
|
||||
|
||||
PORTDOCS= README.md DEVELOP
|
||||
|
||||
OPTIONS_DEFINE= DOCS INOTIFY
|
||||
OPTIONS_DEFAULT=INOTIFY
|
||||
|
||||
INOTIFY_DESC= Support for (lib)inotify to monitor filesystem changes
|
||||
|
||||
INOTIFY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyinotify>=0.8.3:devel/py-pyinotify@${PY_FLAVOR}
|
||||
|
||||
FILES= ${WRKSRC}/bin/fail2ban-client \
|
||||
${WRKSRC}/fail2ban/client/configreader.py \
|
||||
${WRKSRC}/fail2ban/client/fail2bancmdline.py \
|
||||
|
Loading…
Reference in New Issue
Block a user