summaryrefslogtreecommitdiff
path: root/network/fail2ban/patches
diff options
context:
space:
mode:
Diffstat (limited to 'network/fail2ban/patches')
-rw-r--r--network/fail2ban/patches/fail2banreader-logwarning-fix.patch11
-rw-r--r--network/fail2ban/patches/jail.conf.patch13
2 files changed, 10 insertions, 14 deletions
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