summaryrefslogtreecommitdiff
path: root/network/fail2ban
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
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')
-rw-r--r--network/fail2ban/README.SBo3
-rw-r--r--network/fail2ban/fail2ban.SlackBuild8
-rw-r--r--network/fail2ban/fail2ban.info6
-rw-r--r--network/fail2ban/rc.fail2ban2
4 files changed, 11 insertions, 8 deletions
diff --git a/network/fail2ban/README.SBo b/network/fail2ban/README.SBo
index 458d5d7137..349ab8c357 100644
--- a/network/fail2ban/README.SBo
+++ b/network/fail2ban/README.SBo
@@ -41,3 +41,6 @@ moves the .conf files to .new which will prevent the overwrite of existing .conf
Simplified rc.fail2ban start. Removed check for executable bit on rc.fail2ban during startup.
12/24/2011
Upgraded to new version 0.8.6
+03/16/2013
+Upgraded to new version 0.8.8
+
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
diff --git a/network/fail2ban/fail2ban.info b/network/fail2ban/fail2ban.info
index f873c7b76f..54e840b349 100644
--- a/network/fail2ban/fail2ban.info
+++ b/network/fail2ban/fail2ban.info
@@ -1,8 +1,8 @@
PRGNAM="fail2ban"
-VERSION="0.8.6"
+VERSION="0.8.8"
HOMEPAGE="https://github.com/fail2ban/fail2ban/"
-DOWNLOAD="http://www.mnspace.net/files/slackbuilds/slack1337/fail2ban/fail2ban-0.8.6.tar.xz"
-MD5SUM="b61b1037a0b6039c16262a44c6add18d"
+DOWNLOAD="https://github.com/fail2ban/fail2ban/archive/0.8.8.tar.gz"
+MD5SUM="f0019454591b2bb89de40f7581544f1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/fail2ban/rc.fail2ban b/network/fail2ban/rc.fail2ban
index 66937fc9e7..3022f989f0 100644
--- a/network/fail2ban/rc.fail2ban
+++ b/network/fail2ban/rc.fail2ban
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# 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>
# /etc/rc.d/rc.fail2ban
#