Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2019 10:14:21 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504294 - head/security/py-fail2ban
Message-ID:  <201906161014.x5GAELFc071668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@ya.ru> [1]
  Approved by:	theis@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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906161014.x5GAELFc071668>