aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban/ec37b1942c4da76f7a0f71efe81bea6835466648.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/fail2ban/ec37b1942c4da76f7a0f71efe81bea6835466648.patch')
-rw-r--r--main/fail2ban/ec37b1942c4da76f7a0f71efe81bea6835466648.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/main/fail2ban/ec37b1942c4da76f7a0f71efe81bea6835466648.patch b/main/fail2ban/ec37b1942c4da76f7a0f71efe81bea6835466648.patch
deleted file mode 100644
index 38782137b4..0000000000
--- a/main/fail2ban/ec37b1942c4da76f7a0f71efe81bea6835466648.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From ec37b1942c4da76f7a0f71efe81bea6835466648 Mon Sep 17 00:00:00 2001
-From: sebres <serg.brester@sebres.de>
-Date: Tue, 14 Jan 2020 11:39:13 +0100
-Subject: [PATCH] action.d/nginx-block-map.conf: fixed backslash substitution
- (different echo behavior in some shells, gh-2596)
-
----
- config/action.d/nginx-block-map.conf | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/config/action.d/nginx-block-map.conf b/config/action.d/nginx-block-map.conf
-index 0b6aa0ad7..ee702907e 100644
---- a/config/action.d/nginx-block-map.conf
-+++ b/config/action.d/nginx-block-map.conf
-@@ -103,6 +103,8 @@ actionstop = %(actionflush)s
-
- actioncheck =
-
--actionban = echo "\\\\<fid> 1;" >> '%(blck_lst_file)s'; %(blck_lst_reload)s
-+_echo_blck_row = printf '\%%s 1;\n' "<fid>"
-
--actionunban = id=$(echo "<fid>" | sed -e 's/[]\/$*.^|[]/\\&/g'); sed -i "/^\\\\$id 1;$/d" %(blck_lst_file)s; %(blck_lst_reload)s
-+actionban = %(_echo_blck_row)s >> '%(blck_lst_file)s'; %(blck_lst_reload)s
-+
-+actionunban = id=$(%(_echo_blck_row)s | sed -e 's/[]\/$*.^|[]/\\&/g'); sed -i "/^$id$/d" %(blck_lst_file)s; %(blck_lst_reload)s