svn commit: r308095 - head/security/py-fail2ban
Ruslan Mahmatkhanov
rm at FreeBSD.org
Sun Dec 2 10:53:01 UTC 2012
Author: rm
Date: Sun Dec 2 10:53:00 2012
New Revision: 308095
URL: http://svnweb.freebsd.org/changeset/ports/308095
Log:
- correct displaying of pkg-message
while here:
- use one space in Created by:
- some whitespace aligning
- correct python versions in USE_PYTHON
- use PYDISTUTILS_PKGVERSION to set correct package version instead of crafting
full PYDISTUTILS_EGGINFO
- remove trailin whitespace in pkg-descr and unneded newlines in pkg-message
PR: 174044
Submitted by: Sayetsky Anton <vsjcfm at gmail.com>
Approved by: Christoph Theis <theis at gmx.at> (maintainer)
Feature safe: yes
Modified:
head/security/py-fail2ban/Makefile
head/security/py-fail2ban/pkg-descr
head/security/py-fail2ban/pkg-message
Modified: head/security/py-fail2ban/Makefile
==============================================================================
--- head/security/py-fail2ban/Makefile Sun Dec 2 10:39:45 2012 (r308094)
+++ head/security/py-fail2ban/Makefile Sun Dec 2 10:53:00 2012 (r308095)
@@ -1,4 +1,4 @@
-# Created by: Philip M. Gollucci <pgollucci at p6m7g8.com>
+# Created by: Philip M. Gollucci <pgollucci at p6m7g8.com>
# $FreeBSD$
PORTNAME= fail2ban
@@ -15,11 +15,11 @@ LICENSE= GPLv2
GITVERSION= 0-g0b5c66f
FETCH_ARGS= -pRr
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-e59babb
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-e59babb
MAKE_JOBS_SAFE= yes
-USE_PYTHON= 2.5-2.7
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
USE_RC_SUBR= fail2ban
@@ -27,7 +27,7 @@ SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \
--install-data=${ETCDIR}
-PYDISTUTILS_EGGINFO= ${PORTNAME}-0.8.7-py${PYTHON_VER}.egg-info
+PYDISTUTILS_PKGVERSION= 0.8.7
FILES= ${WRKSRC}/fail2ban-regex \
${WRKSRC}/man/fail2ban-client.1 \
@@ -40,6 +40,6 @@ post-patch:
@${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g'
post-install:
- @${CAT} pkg-message
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Modified: head/security/py-fail2ban/pkg-descr
==============================================================================
--- head/security/py-fail2ban/pkg-descr Sun Dec 2 10:39:45 2012 (r308094)
+++ head/security/py-fail2ban/pkg-descr Sun Dec 2 10:53:00 2012 (r308095)
@@ -1,5 +1,5 @@
-Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log
-and bans IP that makes too many password failures. It updates
-firewall rules to reject the IP address.
+Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log
+and bans IP that makes too many password failures. It updates firewall rules
+to reject the IP address.
WWW: http://www.fail2ban.org/wiki/index.php/Main_Page
Modified: head/security/py-fail2ban/pkg-message
==============================================================================
--- head/security/py-fail2ban/pkg-message Sun Dec 2 10:39:45 2012 (r308094)
+++ head/security/py-fail2ban/pkg-message Sun Dec 2 10:53:00 2012 (r308095)
@@ -11,5 +11,3 @@ For more information, see the official m
http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Configuration
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
More information about the svn-ports-all
mailing list