Date: Sun, 14 Sep 2014 19:31:16 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368222 - head/security/py-fail2ban Message-ID: <201409141931.s8EJVG5K085011@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Sun Sep 14 19:31:16 2014 New Revision: 368222 URL: http://svnweb.freebsd.org/changeset/ports/368222 QAT: https://qat.redports.org/buildarchive/r368222/ Log: - Patch a script to use the right syslogd socket (/var/run/log) - Remove .keep_me files because pkg can handle empty directories PR: 193621 Submitted by: theis@gmx.at (maintainer) Modified: head/security/py-fail2ban/Makefile head/security/py-fail2ban/pkg-plist Modified: head/security/py-fail2ban/Makefile ============================================================================== --- head/security/py-fail2ban/Makefile Sun Sep 14 19:31:03 2014 (r368221) +++ head/security/py-fail2ban/Makefile Sun Sep 14 19:31:16 2014 (r368222) @@ -2,7 +2,7 @@ PORTNAME= fail2ban PORTVERSION= 0.9.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -39,12 +39,12 @@ FILES= ${WRKSRC}/bin/fail2ban-client \ FAIL2BAN_DBDIR= /var/db/${PORTNAME} post-patch: -# @${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g' @${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g' ${FILES} @${REINPLACE_CMD} -e 's,paths-debian.conf,paths-freebsd.conf,g' \ ${WRKSRC}/config/jail.conf @${REINPLACE_CMD} -e 's,/var/lib/fail2ban/fail2ban.sqlite3,${FAIL2BAN_DBDIR}/fail2ban.sqlite3,g' \ ${WRKSRC}/config/fail2ban.conf + @${REINPLACE_CMD} -e 's,"/dev/log","/var/run/log",g' ${WRKSRC}/fail2ban/server/server.py post-install: @${MKDIR} ${STAGEDIR}${FAIL2BAN_DBDIR} ${STAGEDIR}/var/run/fail2ban @@ -54,7 +54,5 @@ post-install: @${INSTALL_MAN} ${WRKSRC}/man/${file}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endfor @${INSTALL_MAN} ${WRKSRC}/man/jail.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5/fail2ban-jail.conf.5 - @${TOUCH} ${STAGEDIR}${FAIL2BAN_DBDIR}/.keep_me - @${TOUCH} ${STAGEDIR}/var/run/fail2ban/.keep_me .include <bsd.port.mk> Modified: head/security/py-fail2ban/pkg-plist ============================================================================== --- head/security/py-fail2ban/pkg-plist Sun Sep 14 19:31:03 2014 (r368221) +++ head/security/py-fail2ban/pkg-plist Sun Sep 14 19:31:16 2014 (r368222) @@ -204,8 +204,6 @@ man/man1/fail2ban-regex.1.gz man/man1/fail2ban-server.1.gz man/man1/fail2ban.1.gz man/man5/fail2ban-jail.conf.5.gz -/var/db/fail2ban/.keep_me -/var/run/fail2ban/.keep_me @dirrm %%PYTHON_SITELIBDIR%%/fail2ban/tests @dirrm %%PYTHON_SITELIBDIR%%/fail2ban/server @dirrm %%PYTHON_SITELIBDIR%%/fail2ban/client
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409141931.s8EJVG5K085011>