2006-10-23 05:07:52 +00:00
|
|
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
|
|
## 00_share_insteadof_lib.dpatch by Yaroslav Halchenko <debian@onerussian.com>
|
|
|
|
##
|
|
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
|
|
## DP: No description.
|
|
|
|
|
|
|
|
@DPATCH@
|
2006-12-08 02:12:22 +00:00
|
|
|
diff -urNad fail2ban-0.7.5~/fail2ban-client fail2ban-0.7.5/fail2ban-client
|
|
|
|
--- fail2ban-0.7.5~/fail2ban-client 2006-12-07 20:59:15.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.5/fail2ban-client 2006-12-07 20:59:15.000000000 -0500
|
2006-10-23 05:07:52 +00:00
|
|
|
@@ -30,7 +30,7 @@
|
|
|
|
|
|
|
|
# Inserts our own modules path first in the list
|
|
|
|
# fix for bug #343821
|
|
|
|
-sys.path.insert(1, "/usr/lib/fail2ban")
|
|
|
|
+sys.path.insert(1, "/usr/share/fail2ban")
|
|
|
|
|
|
|
|
# Now we can import our modules
|
2006-12-08 02:12:22 +00:00
|
|
|
from common.version import version
|
|
|
|
diff -urNad fail2ban-0.7.5~/fail2ban-regex fail2ban-0.7.5/fail2ban-regex
|
|
|
|
--- fail2ban-0.7.5~/fail2ban-regex 2006-11-16 15:59:47.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.5/fail2ban-regex 2006-12-07 20:59:15.000000000 -0500
|
2006-10-23 05:07:52 +00:00
|
|
|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
# Inserts our own modules path first in the list
|
|
|
|
# fix for bug #343821
|
|
|
|
-sys.path.insert(1, "/usr/lib/fail2ban")
|
|
|
|
+sys.path.insert(1, "/usr/share/fail2ban")
|
|
|
|
|
2006-12-08 02:12:22 +00:00
|
|
|
from common.version import version
|
2006-10-23 05:07:52 +00:00
|
|
|
from server.filter import Filter
|
2006-12-08 02:12:22 +00:00
|
|
|
diff -urNad fail2ban-0.7.5~/fail2ban-server fail2ban-0.7.5/fail2ban-server
|
|
|
|
--- fail2ban-0.7.5~/fail2ban-server 2006-12-07 20:59:15.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.5/fail2ban-server 2006-12-07 20:59:15.000000000 -0500
|
2006-10-23 05:07:52 +00:00
|
|
|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
# Inserts our own modules path first in the list
|
|
|
|
# fix for bug #343821
|
|
|
|
-sys.path.insert(1, "/usr/lib/fail2ban")
|
|
|
|
+sys.path.insert(1, "/usr/share/fail2ban")
|
|
|
|
|
2006-12-08 02:12:22 +00:00
|
|
|
from common.version import version
|
2006-10-23 05:07:52 +00:00
|
|
|
from server.server import Server
|
2006-12-08 02:12:22 +00:00
|
|
|
diff -urNad fail2ban-0.7.5~/fail2ban-testcases fail2ban-0.7.5/fail2ban-testcases
|
|
|
|
--- fail2ban-0.7.5~/fail2ban-testcases 2006-12-07 20:59:15.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.5/fail2ban-testcases 2006-12-07 20:59:15.000000000 -0500
|
2006-10-23 05:07:52 +00:00
|
|
|
@@ -30,7 +30,7 @@
|
|
|
|
|
|
|
|
# Inserts our own modules path first in the list
|
|
|
|
# fix for bug #343821
|
|
|
|
-sys.path.insert(1, "/usr/lib/fail2ban")
|
|
|
|
+sys.path.insert(1, "/usr/share/fail2ban")
|
|
|
|
|
2006-12-08 02:12:22 +00:00
|
|
|
from common.version import version
|
2006-10-23 05:07:52 +00:00
|
|
|
from testcases import banmanagertestcase
|
2006-12-08 02:12:22 +00:00
|
|
|
diff -urNad fail2ban-0.7.5~/setup.cfg fail2ban-0.7.5/setup.cfg
|
|
|
|
--- fail2ban-0.7.5~/setup.cfg 2006-11-01 16:08:43.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.5/setup.cfg 2006-12-07 20:59:15.000000000 -0500
|
2006-10-23 05:07:52 +00:00
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
[install]
|
|
|
|
-install-purelib=/usr/lib/fail2ban
|
|
|
|
+install-purelib=/usr/share/fail2ban
|
|
|
|
|
|
|
|
[sdist]
|
|
|
|
formats=bztar
|
2006-12-08 02:12:22 +00:00
|
|
|
diff -urNad fail2ban-0.7.5~/setup.py fail2ban-0.7.5/setup.py
|
|
|
|
--- fail2ban-0.7.5~/setup.py 2006-12-07 20:59:15.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.5/setup.py 2006-12-07 21:10:02.000000000 -0500
|
|
|
|
@@ -84,13 +84,13 @@
|
2006-10-23 05:07:52 +00:00
|
|
|
[
|
|
|
|
"fail2ban.py"
|
2006-12-08 02:12:22 +00:00
|
|
|
],
|
2006-10-23 05:07:52 +00:00
|
|
|
- "/usr/lib/fail2ban/firewall/":
|
|
|
|
+ "/usr/share/fail2ban/firewall/":
|
|
|
|
[
|
2006-12-08 02:12:22 +00:00
|
|
|
"iptables.py",
|
|
|
|
"ipfwadm.py",
|
|
|
|
"ipfw.py"
|
|
|
|
],
|
|
|
|
- "/usr/lib/fail2ban/":
|
|
|
|
+ "/usr/share/fail2ban/":
|
|
|
|
[
|
|
|
|
"version.py",
|
|
|
|
"protocol.py"
|