1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-29 04:15:16 +02:00
openwrt-packages/net/fail2ban/patches/001-fail2ban-fix-python3-script.patch
Kerma Gérald a4f24a353e fail2ban: fix package for fail2ban v0.11.2
fail2ban v0.11.2 package version 2

Following PR #15098, add fixes to build fail2ban package:
- remove use of fail2ban-python (directly use python3 in script)
- remove link to python3 in /usr/bin (break the package build)
- remove python-tests (reduce the package size)

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2021-09-07 15:12:59 +02:00

9 lines
345 B
Diff

--- a/config/filter.d/ignorecommands/apache-fakegooglebot
+++ b/config/filter.d/ignorecommands/apache-fakegooglebot
@@ -1,4 +1,4 @@
-#!/usr/bin/env fail2ban-python
+#!/usr/bin/env python3
# Inspired by https://isc.sans.edu/forums/diary/When+Google+isnt+Google/15968/
#
# Written in Python to reuse built-in Python batteries and not depend on