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:
parent
83cc3b9f8d
commit
b52aaee534
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308095
@ -1,4 +1,4 @@
|
|||||||
# Created by: Philip M. Gollucci <pgollucci@p6m7g8.com>
|
# Created by: Philip M. Gollucci <pgollucci@p6m7g8.com>
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= fail2ban
|
PORTNAME= fail2ban
|
||||||
@ -15,11 +15,11 @@ LICENSE= GPLv2
|
|||||||
|
|
||||||
GITVERSION= 0-g0b5c66f
|
GITVERSION= 0-g0b5c66f
|
||||||
FETCH_ARGS= -pRr
|
FETCH_ARGS= -pRr
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-e59babb
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-e59babb
|
||||||
|
|
||||||
MAKE_JOBS_SAFE= yes
|
MAKE_JOBS_SAFE= yes
|
||||||
|
|
||||||
USE_PYTHON= 2.5-2.7
|
USE_PYTHON= -2.7
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
|
|
||||||
USE_RC_SUBR= fail2ban
|
USE_RC_SUBR= fail2ban
|
||||||
@ -27,7 +27,7 @@ SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
|
|||||||
|
|
||||||
PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \
|
PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \
|
||||||
--install-data=${ETCDIR}
|
--install-data=${ETCDIR}
|
||||||
PYDISTUTILS_EGGINFO= ${PORTNAME}-0.8.7-py${PYTHON_VER}.egg-info
|
PYDISTUTILS_PKGVERSION= 0.8.7
|
||||||
|
|
||||||
FILES= ${WRKSRC}/fail2ban-regex \
|
FILES= ${WRKSRC}/fail2ban-regex \
|
||||||
${WRKSRC}/man/fail2ban-client.1 \
|
${WRKSRC}/man/fail2ban-client.1 \
|
||||||
@ -40,6 +40,6 @@ post-patch:
|
|||||||
@${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g'
|
@${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} pkg-message
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log
|
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
|
and bans IP that makes too many password failures. It updates firewall rules
|
||||||
firewall rules to reject the IP address.
|
to reject the IP address.
|
||||||
|
|
||||||
WWW: http://www.fail2ban.org/wiki/index.php/Main_Page
|
WWW: http://www.fail2ban.org/wiki/index.php/Main_Page
|
||||||
|
@ -11,5 +11,3 @@ For more information, see the official manual:
|
|||||||
http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Configuration
|
http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Configuration
|
||||||
|
|
||||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user