summaryrefslogtreecommitdiff
path: root/network/fail2ban/fail2ban.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2013-04-28 17:41:00 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-05-12 22:20:28 -0300
commitc0ac938a9b2ba408bd3a0a8c89b0db33503e9d3d (patch)
tree6397810c9ee102926f054e64aca104b49ce02c9d /network/fail2ban/fail2ban.SlackBuild
parentdddec8d59f8301143c3527094d5f57b0bf8dee8b (diff)
downloadslackbuilds-c0ac938a9b2ba408bd3a0a8c89b0db33503e9d3d.tar.gz
network/fail2ban: Updated for version 0.8.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/fail2ban.SlackBuild')
-rw-r--r--network/fail2ban/fail2ban.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild
index 7c87c97644..57f62b4233 100644
--- a/network/fail2ban/fail2ban.SlackBuild
+++ b/network/fail2ban/fail2ban.SlackBuild
@@ -4,7 +4,7 @@
# Home Page http://www.fail2ban.org/wiki/index.php/Main_Page
# Git Hub: https://github.com/fail2ban/fail2ban/
-# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA
# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
@@ -27,7 +27,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="fail2ban"
-VERSION=${VERSION:-0.8.6}
+VERSION=${VERSION:-0.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,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/${PRGNAM}-${VERSION}.tar.?z* || tar xvf $CWD/$VERSION.tar.?z
cd $TMP/$PRGNAM-$VERSION
chown -R root.root .
find . \
@@ -79,7 +79,7 @@ install -D -m 0644 $CWD/fail2ban.logrotate $PKG/etc/logrotate.d/fail2ban.new
mkdir -p $PKG/var/run/fail2ban
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog README THANKS TODO doc/run-rootless.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# building package