diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-05-13 18:22:28 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-05-13 18:22:28 +0000 |
commit | 19325866bc91dfdb5aa3b0639e6a629236f0dd77 (patch) | |
tree | ee6f5d9d2d602a3f56fabae92af322ffb741101c /security/py-fail2ban | |
parent | a0ce0864ac69d35b4dbb8c6b508427dbe415755b (diff) | |
download | ports-19325866bc91dfdb5aa3b0639e6a629236f0dd77.tar.gz ports-19325866bc91dfdb5aa3b0639e6a629236f0dd77.zip |
Install manpages [1] and create /var/{run,db} directories [2]
PR: ports/189781 [1], ports/189376 [2]
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=353975
Diffstat (limited to 'security/py-fail2ban')
-rw-r--r-- | security/py-fail2ban/Makefile | 7 | ||||
-rw-r--r-- | security/py-fail2ban/pkg-plist | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile index 0930534ebc66..3b778070760d 100644 --- a/security/py-fail2ban/Makefile +++ b/security/py-fail2ban/Makefile @@ -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> diff --git a/security/py-fail2ban/pkg-plist b/security/py-fail2ban/pkg-plist index e4fa3ef21b0b..01afecf59ab2 100644 --- a/security/py-fail2ban/pkg-plist +++ b/security/py-fail2ban/pkg-plist @@ -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 |