aboutsummaryrefslogtreecommitdiff
path: root/network/fail2ban
diff options
context:
space:
mode:
Diffstat (limited to 'network/fail2ban')
-rw-r--r--network/fail2ban/README.SBo4
-rw-r--r--network/fail2ban/doinst.sh1
-rw-r--r--network/fail2ban/fail2ban.SlackBuild15
-rw-r--r--network/fail2ban/fail2ban.info6
4 files changed, 15 insertions, 11 deletions
diff --git a/network/fail2ban/README.SBo b/network/fail2ban/README.SBo
index 7fb39579cd5e..177150562950 100644
--- a/network/fail2ban/README.SBo
+++ b/network/fail2ban/README.SBo
@@ -68,3 +68,7 @@ upgraded to version 0.9.7
upgraded to version 0.10.0, added upstream bash completion script.
11/5/2017
upgraded to version 0.10.1
+2/2/2018
+upgraded to version 0.10.2
+4/10/2018
+upgraded to version 0.10.3.1
diff --git a/network/fail2ban/doinst.sh b/network/fail2ban/doinst.sh
index 74390be489e7..ca16775b2e0a 100644
--- a/network/fail2ban/doinst.sh
+++ b/network/fail2ban/doinst.sh
@@ -28,6 +28,7 @@ config etc/fail2ban/fail2ban.conf.new
config etc/fail2ban/jail.conf.new
config etc/fail2ban/paths-common.conf.new
config etc/fail2ban/paths-slackware.conf.new
+config etc/bash_completion.d/fail2ban.new
for conf_file in etc/fail2ban/action.d/*.new; do
config $conf_file
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild
index 8cc9857aba9f..fe0e99be2716 100644
--- a/network/fail2ban/fail2ban.SlackBuild
+++ b/network/fail2ban/fail2ban.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for fail2ban
# Git Hub: https://github.com/fail2ban/fail2ban/
-# Copyright (c) 2008-2017, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2008-2018, Nishant Limbachia, Hoffman Estates, IL, USA
# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="fail2ban"
-VERSION=${VERSION:-0.10.1}
+VERSION=${VERSION:-0.10.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -89,6 +89,11 @@ install -D -m 0644 $CWD/config/paths-slackware.conf $PKG/etc/fail2ban/paths-slac
# remove non-slackware specific config files
rm -f $PKG/etc/fail2ban/paths-{arch,debian,fedora,freebsd,osx,opensuse}.conf.new
+# install bash completion script if requested
+if [ "$BASH_COMPLETION" = "yes" ]; then
+ install -D -m 0644 files/bash-completion $PKG/etc/bash_completion.d/fail2ban.new
+fi
+
# install logrotate script
install -D -m 0644 files/fail2ban-logrotate $PKG/etc/logrotate.d/fail2ban.new
@@ -109,11 +114,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# install bash completion script if requested
-if [ "${BASH_COMPLETION:-no}" = "yes" ]; then
- install -D -m 0644 files/bash-completion $PKG/etc/bash_completion.d/fail2ban.new
- echo "config etc/bash_completion.d/fail2ban.new" >> $PKG/install/doinst.sh
-fi
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/fail2ban/fail2ban.info b/network/fail2ban/fail2ban.info
index 7cf24543fc9a..067ca1e36689 100644
--- a/network/fail2ban/fail2ban.info
+++ b/network/fail2ban/fail2ban.info
@@ -1,8 +1,8 @@
PRGNAM="fail2ban"
-VERSION="0.10.1"
+VERSION="0.10.3.1"
HOMEPAGE="https://github.com/fail2ban/fail2ban/"
-DOWNLOAD="https://github.com/fail2ban/fail2ban/archive/0.10.1/fail2ban-0.10.1.tar.gz"
-MD5SUM="bfcb1dec6d181d5996e00560bdcbfabf"
+DOWNLOAD="https://github.com/fail2ban/fail2ban/archive/0.10.3.1/fail2ban-0.10.3.1.tar.gz"
+MD5SUM="d47e854378cf0458ddcdc5786768d226"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""