fail2ban's documentation isn't the greatest. Information on how to configure the jails and run the commands doesn't even exist on the fail2ban website, so we really should install the included manpages. The attached patch installs the manpages included in the source tarball.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Maintainer of security/py-fail2ban, Please note that PR ports/189781 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189781 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Am 13.05.2014 19:40, schrieb Edwin Groothuis: > Maintainer of security/py-fail2ban, > > Please note that PR ports/189781 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189781 From my side OK. And thank you for creating the patch. There is one patch from me pending, where I try to correctly create the /var/run/fail2ban directory. Christoph
Responsible Changed From-To: freebsd-python->adamw Taking this.
Author: adamw Date: Tue May 13 18:22:28 2014 New Revision: 353975 URL: http://svnweb.freebsd.org/changeset/ports/353975 QAT: https://qat.redports.org/buildarchive/r353975/ Log: Install manpages [1] and create /var/{run,db} directories [2] PR: ports/189781 [1], ports/189376 [2] Approved by: maintainer Modified: head/security/py-fail2ban/Makefile head/security/py-fail2ban/pkg-plist Modified: head/security/py-fail2ban/Makefile ============================================================================== --- head/security/py-fail2ban/Makefile Tue May 13 17:11:36 2014 (r353974) +++ head/security/py-fail2ban/Makefile Tue May 13 18:22:28 2014 (r353975) @@ -2,6 +2,7 @@ PORTNAME= fail2ban PORTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -49,5 +50,11 @@ post-install: @${MKDIR} ${STAGEDIR}${FAIL2BAN_DBDIR} @${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 + @${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 Tue May 13 17:11:36 2014 (r353974) +++ head/security/py-fail2ban/pkg-plist Tue May 13 18:22:28 2014 (r353975) @@ -199,6 +199,13 @@ bin/fail2ban-server %%PYTHON_SITELIBDIR%%/fail2ban/tests/__init__.pyc %%PYTHON_SITELIBDIR%%/fail2ban/tests/utils.py %%PYTHON_SITELIBDIR%%/fail2ban/tests/utils.pyc +man/man1/fail2ban-client.1.gz +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 @@ -208,3 +215,5 @@ bin/fail2ban-server @dirrmtry %%ETCDIR%%/fail2ban.d @dirrmtry %%ETCDIR%%/action.d @dirrmtry %%ETCDIR%% +@dirrmtry /var/run/fail2ban +@dirrmtry /var/db/fail2ban _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed.