From owner-svn-ports-all@FreeBSD.ORG Sun Sep 14 19:31:17 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 646A350A; Sun, 14 Sep 2014 19:31:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 365B4C9A; Sun, 14 Sep 2014 19:31:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8EJVHP0085013; Sun, 14 Sep 2014 19:31:17 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8EJVG5K085011; Sun, 14 Sep 2014 19:31:16 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409141931.s8EJVG5K085011@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sun, 14 Sep 2014 19:31:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368222 - head/security/py-fail2ban X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2014 19:31:17 -0000 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 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