Date: Fri, 2 Jun 2017 18:15:20 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442446 - head/security/py-fail2ban Message-ID: <201706021815.v52IFKE8065883@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Jun 2 18:15:20 2017 New Revision: 442446 URL: https://svnweb.freebsd.org/changeset/ports/442446 Log: Update to 0.9.7 [1] - Fix shebang line of fail2ban-python in apache-fakegooglebot [2] - While I'm here: - Add missing OPTIONS_DEFINE=DOCS - Use SHEBANG_LANG - Convert to options target helper Changes: https://github.com/fail2ban/fail2ban/blob/0.9/ChangeLog PR: 219733 [1], 219419 [2] Submitted by: <theis@gmx.at> (maintainer) [1], Lukasz Wasikowski <lukasz@wasikowski.net> [2] Modified: head/security/py-fail2ban/Makefile head/security/py-fail2ban/distinfo Modified: head/security/py-fail2ban/Makefile ============================================================================== --- head/security/py-fail2ban/Makefile Fri Jun 2 18:15:15 2017 (r442445) +++ head/security/py-fail2ban/Makefile Fri Jun 2 18:15:20 2017 (r442446) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= fail2ban -PORTVERSION= 0.9.6 +PORTVERSION= 0.9.7 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,15 +13,17 @@ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 +OPTIONS_DEFINE= DOCS + USES= python shebangfix USE_GITHUB= yes -GH_TAGNAME= 3605155 USE_PYTHON= autoplist distutils USE_RC_SUBR= fail2ban NO_ARCH= yes SHEBANG_FILES= config/filter.d/ignorecommands/apache-fakegooglebot +SHEBANG_LANG= fail2ban-python SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} @@ -34,6 +36,13 @@ FILES= ${WRKSRC}/bin/fail2ban-client \ ${WRKSRC}/man/fail2ban-client.1 \ ${WRKSRC}/man/fail2ban-client.h2m \ ${WRKSRC}/setup.py + +MAN_FILES= ${WRKSRC}/man/fail2ban-client.1 \ + ${WRKSRC}/man/fail2ban-client.h2m \ + ${WRKSRC}/man/fail2ban-regex.1 \ + ${WRKSRC}/man/fail2ban-server.1 \ + ${WRKSRC}/man/fail2ban.1 + FAIL2BAN_DBDIR= /var/db/${PORTNAME} post-patch: @@ -42,15 +51,19 @@ post-patch: ${WRKSRC}/config/jail.conf @${REINPLACE_CMD} -e 's,/var/lib/fail2ban/,${FAIL2BAN_DBDIR}/,g' \ ${WRKSRC}/config/fail2ban.conf + @${REINPLACE_CMD} -e 's,jail.conf(5),fail2ban-jail.conf(5),g' \ + ${MAN_FILES} post-install: @${MKDIR} ${STAGEDIR}${FAIL2BAN_DBDIR} ${STAGEDIR}/var/run/fail2ban - @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .for file in fail2ban-client fail2ban-regex fail2ban-server fail2ban ${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 + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test Modified: head/security/py-fail2ban/distinfo ============================================================================== --- head/security/py-fail2ban/distinfo Fri Jun 2 18:15:15 2017 (r442445) +++ head/security/py-fail2ban/distinfo Fri Jun 2 18:15:20 2017 (r442446) @@ -1,3 +1,3 @@ -TIMESTAMP = 1481500021 -SHA256 (fail2ban-fail2ban-0.9.6-3605155_GH0.tar.gz) = 894c330771d891445ba273447a25f96084889d7ac1dd2b6eb193f69d498b00dc -SIZE (fail2ban-fail2ban-0.9.6-3605155_GH0.tar.gz) = 352123 +TIMESTAMP = 1496237420 +SHA256 (fail2ban-fail2ban-0.9.7_GH0.tar.gz) = 2817eb0d4f670bef2a79a5a9cfb824b41a4445f5a92a307a453ac95f497c7440 +SIZE (fail2ban-fail2ban-0.9.7_GH0.tar.gz) = 356374
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706021815.v52IFKE8065883>