Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2012 10:53:00 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308095 - head/security/py-fail2ban
Message-ID:  <201212021053.qB2Ar1hm047238@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@gmail.com>
  Approved by:	Christoph Theis <theis@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@p6m7g8.com>
+# Created by: Philip M. Gollucci <pgollucci@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
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-



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