svn commit: r504294 - head/security/py-fail2ban

Kai Knoblich kai at FreeBSD.org
Sun Jun 16 10:14:22 UTC 2019


Author: kai
Date: Sun Jun 16 10:14:21 2019
New Revision: 504294
URL: https://svnweb.freebsd.org/changeset/ports/504294

Log:
  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 at ya.ru> [1]
  Approved by:	theis at gmx.at (maintainer) [1] [2]

Modified:
  head/security/py-fail2ban/Makefile

Modified: head/security/py-fail2ban/Makefile
==============================================================================
--- head/security/py-fail2ban/Makefile	Sun Jun 16 09:54:54 2019	(r504293)
+++ head/security/py-fail2ban/Makefile	Sun Jun 16 10:14:21 2019	(r504294)
@@ -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
@@ -31,6 +29,13 @@ SUB_LIST+=	PYTHON_CMD=${PYTHON_CMD}
 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 \


More information about the svn-ports-all mailing list