diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2013-06-03 01:56:51 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-06-04 00:11:29 -0500 |
commit | 99e12a62efe2dd838dc94d7e5bee76ab5ea3ecbe (patch) | |
tree | a168938d167fd13ee884675982fca58247278335 /network/fail2ban/fail2ban.SlackBuild | |
parent | ec5e235a801a1afbfdd913352b670da131041469 (diff) | |
download | slackbuilds-99e12a62efe2dd838dc94d7e5bee76ab5ea3ecbe.tar.gz |
network/fail2ban: Updated for version 0.8.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/fail2ban.SlackBuild')
-rw-r--r-- | network/fail2ban/fail2ban.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild index 57f62b4233..b90cdf6635 100644 --- a/network/fail2ban/fail2ban.SlackBuild +++ b/network/fail2ban/fail2ban.SlackBuild @@ -1,7 +1,6 @@ #!/bin/sh # Slackware Package Build Script for fail2ban -# Home Page http://www.fail2ban.org/wiki/index.php/Main_Page # Git Hub: https://github.com/fail2ban/fail2ban/ # Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA @@ -27,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="fail2ban" -VERSION=${VERSION:-0.8.8} +VERSION=${VERSION:-0.8.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,7 +42,7 @@ set -e rm -fr $PKG $TMP/$PRGNAM-$VERSION mkdir -p $PKG $TMP $OUTPUT cd $TMP -tar xvf $CWD/${PRGNAM}-${VERSION}.tar.?z* || tar xvf $CWD/$VERSION.tar.?z +tar xvf $CWD/${PRGNAM}-${VERSION}.tar.?z* || tar xvf $CWD/${VERSION}.tar.?z* cd $TMP/$PRGNAM-$VERSION chown -R root.root . find . \ @@ -55,9 +54,10 @@ find . \ python setup.py install --root=$PKG # installing man pages -mkdir -p $PKG/usr/man/man1 +mkdir -p $PKG/usr/man/{man1,man5} install -m 0644 man/fail2ban-client.1 man/fail2ban-regex.1 \ - man/fail2ban-server.1 $PKG/usr/man/man1 + man/fail2ban-server.1 man/fail2ban.1 $PKG/usr/man/man1 +install -m 0644 man/jail.conf.5 $PKG/usr/man/man5 # move config files to .new ( cd $PKG/etc/fail2ban @@ -78,8 +78,12 @@ install -D -m 0644 $CWD/fail2ban.logrotate $PKG/etc/logrotate.d/fail2ban.new # make directory for socket and pid file mkdir -p $PKG/var/run/fail2ban +# remove /usr/share/doc +rm -fr $PKG/usr/share/doc + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING ChangeLog README THANKS TODO doc/run-rootless.txt $PKG/usr/doc/$PRGNAM-$VERSION + cp -a COPYING ChangeLog README.md THANKS TODO DEVELOP \ + doc/run-rootless.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # building package |