mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
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>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
--- 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
|
||||
Reference in New Issue
Block a user