1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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
This commit is contained in:
Ruslan Makhmatkhanov 2012-12-02 10:53:00 +00:00
parent 83cc3b9f8d
commit b52aaee534
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308095
3 changed files with 8 additions and 10 deletions

View File

@ -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>

View File

@ -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

View File

@ -11,5 +11,3 @@ For more information, see the official manual:
http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Configuration
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -