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>
8 lines
345 B
Diff
8 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
|