aboutsummaryrefslogtreecommitdiff
path: root/network/fail2ban/patches
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2014-09-28 16:12:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-28 16:12:46 +0700
commit8d373c2d190cd5e6b0f9750b9232a8f6bb0020d8 (patch)
tree74a7a53659647d884dc1b122d1cdf9d2a6e21c1e /network/fail2ban/patches
parent0e83480f1f9a9bc186348c6126b8b970240c1247 (diff)
network/fail2ban: Updated for version 0.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/patches')
-rw-r--r--network/fail2ban/patches/fail2banreader-logwarning-fix.patch11
-rw-r--r--network/fail2ban/patches/jail.conf.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/network/fail2ban/patches/fail2banreader-logwarning-fix.patch b/network/fail2ban/patches/fail2banreader-logwarning-fix.patch
new file mode 100644
index 000000000000..a0a8547cc1e8
--- /dev/null
+++ b/network/fail2ban/patches/fail2banreader-logwarning-fix.patch
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000000..31a358ac5d1c
--- /dev/null
+++ b/network/fail2ban/patches/jail.conf.patch
@@ -0,0 +1,11 @@
+--- jail.conf.new.orig 2014-04-17 22:24:50.833320465 -0500
++++ jail.conf.new 2014-04-17 22:25:12.317055028 -0500
+@@ -33,7 +33,7 @@
+ [INCLUDES]
+
+ #before = paths-disto.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.