summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Nishant Limbachia2014-11-23 05:24:06 +0100
committer Willy Sudiarto Raharjo2014-11-23 05:24:06 +0100
commit17796b6f581627cfa24ecd8957b855ea78d10291 (patch)
tree34e384f6e16bef2d7c0b86f6784f35d3f6f5deb1
parentbeca46f916514f86bec639bdbcf82b0a8901215f (diff)
downloadslackbuilds-17796b6f581627cfa24ecd8957b855ea78d10291.tar.gz
network/fail2ban: Updated for version 0.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/fail2ban/README.SBo2
-rw-r--r--network/fail2ban/fail2ban.SlackBuild7
-rw-r--r--network/fail2ban/fail2ban.info6
-rw-r--r--network/fail2ban/patches/fail2banreader-logwarning-fix.patch11
-rw-r--r--network/fail2ban/patches/jail.conf.patch13
5 files changed, 17 insertions, 22 deletions
diff --git a/network/fail2ban/README.SBo b/network/fail2ban/README.SBo
index 500a3cb342..062d1f4286 100644
--- a/network/fail2ban/README.SBo
+++ b/network/fail2ban/README.SBo
@@ -52,3 +52,5 @@ Upgraded to version 0.8.10.
Upgraded to version 0.8.11
09/25/2014
Upgraded to version 0.9.0
+11/1/2014
+Upgraded to version 0.9.1
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild
index 35fe163bcb..6558941caa 100644
--- a/network/fail2ban/fail2ban.SlackBuild
+++ b/network/fail2ban/fail2ban.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="fail2ban"
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,8 +51,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-( cd fail2ban/client; patch -p0 < $CWD/patches/fail2banreader-logwarning-fix.patch )
-
python setup.py install --root=$PKG
# installing man pages
@@ -90,8 +88,7 @@ mkdir -p $PKG/var/{run,lib}/fail2ban
rm -fr $PKG/usr/share/doc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
- cp -a COPYING ChangeLog README.md THANKS TODO DEVELOP \
- 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
diff --git a/network/fail2ban/fail2ban.info b/network/fail2ban/fail2ban.info
index 83edc7e9d6..a507214f12 100644
--- a/network/fail2ban/fail2ban.info
+++ b/network/fail2ban/fail2ban.info
@@ -1,8 +1,8 @@
PRGNAM="fail2ban"
-VERSION="0.9.0"
+VERSION="0.9.1"
HOMEPAGE="https://github.com/fail2ban/fail2ban/"
-DOWNLOAD="https://www.dropbox.com/s/rnitfx25uzjiaal/fail2ban-0.9.0.tar.xz"
-MD5SUM="3c092e4385f5c93b406d801c9054657e"
+DOWNLOAD="https://www.dropbox.com/s/mzfsm2bgkcyjlrv/fail2ban-0.9.1.tar.xz"
+MD5SUM="13aa1f1774369feccbe270eacce6e0d5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/fail2ban/patches/fail2banreader-logwarning-fix.patch b/network/fail2ban/patches/fail2banreader-logwarning-fix.patch
deleted file mode 100644
index a0a8547cc1..0000000000
--- a/network/fail2ban/patches/fail2banreader-logwarning-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- fail2banreader.py.orig 2014-09-27 23:40:05.512547198 -0500
-+++ fail2banreader.py 2014-09-27 23:41:27.294412338 -0500
-@@ -45,7 +45,7 @@
- return ConfigReader.getOptions(self, "Definition", opts)
-
- def getOptions(self):
-- opts = [["int", "loglevel", "INFO" ],
-+ opts = [["string", "loglevel", "INFO" ],
- ["string", "logtarget", "STDERR"],
- ["string", "dbfile", "/var/lib/fail2ban/fail2ban.sqlite3"],
- ["int", "dbpurgeage", 86400]]
diff --git a/network/fail2ban/patches/jail.conf.patch b/network/fail2ban/patches/jail.conf.patch
index 31a358ac5d..0071bf7fe2 100644
--- a/network/fail2ban/patches/jail.conf.patch
+++ b/network/fail2ban/patches/jail.conf.patch
@@ -1,11 +1,18 @@
---- jail.conf.new.orig 2014-04-17 22:24:50.833320465 -0500
-+++ jail.conf.new 2014-04-17 22:25:12.317055028 -0500
+--- jail.conf.new.orig 2014-11-01 18:05:39.298887793 -0500
++++ jail.conf.new 2014-11-01 18:06:07.763868656 -0500
@@ -33,7 +33,7 @@
[INCLUDES]
- #before = paths-disto.conf
+ #before = paths-distro.conf
-before = paths-debian.conf
+before = paths-slackware.conf
# The DEFAULT allows a global definition of the options. They can be overridden
# in each jail afterwards.
+@@ -723,4 +723,4 @@
+ [portsentry]
+ enabled = false
+ logpath = /var/lib/portsentry/portsentry.history
+-maxretry = 1
+\ No newline at end of file
++maxretry = 1