- Now Fail2ban goes in /usr/share/fail2ban instead of /usr/lib/fail2ban. This is more compliant with FHS. Thanks to Axel Thimm and Yaroslav Halchenko

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@511 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2007-01-04 12:58:21 +00:00
parent 44d75eb54f
commit ab3d2d1b9a
7 changed files with 18 additions and 8 deletions

View File

@ -4,10 +4,10 @@
|_| \__,_|_|_/___|_.__/\__,_|_||_|
=============================================================
Fail2Ban (version 0.7.6) 200?/??/??
Fail2Ban (version 0.7.6) 2007/01/04
=============================================================
ver. 0.7.6 (200?/??/??) - ???
ver. 0.7.6 (2007/01/04) - beta
----------
- Added a "sleep 1" in redhat-initd. Thanks to Jim Wight
- Use /dev/log for SYSLOG output. Thanks to Joerg Sommrey
@ -20,6 +20,9 @@ ver. 0.7.6 (200?/??/??) - ???
- Added license in COPYING. Thanks to Axel Thimm
- Allow comma in action options. The value of the option must
be escaped with " or '. Thanks to Yaroslav Halchenko
- Now Fail2ban goes in /usr/share/fail2ban instead of
/usr/lib/fail2ban. This is more compliant with FHS. Thanks
to Axel Thimm and Yaroslav Halchenko
ver. 0.7.5 (2006/12/07) - beta
----------

View File

@ -30,7 +30,7 @@ import getopt, time, readline, shlex, socket
# 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
from common.version import version

View File

@ -29,7 +29,7 @@ import locale, getopt, sys, time, logging, gc
# 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")
from common.version import version
from server.filter import Filter

View File

@ -29,7 +29,7 @@ import getopt, sys
# 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")
from common.version import version
from server.server import Server

View File

@ -30,7 +30,7 @@ import unittest, logging, sys
# 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")
from common.version import version
from testcases import banmanagertestcase

View File

@ -1,5 +1,5 @@
[install]
install-purelib=/usr/lib/fail2ban
install-purelib=/usr/share/fail2ban
[sdist]
formats=bztar

View File

@ -28,7 +28,7 @@ __license__ = "GPL"
from distutils.core import setup
from common.version import version
from os.path import isfile, join
from os.path import isfile, join, isdir
from sys import argv
from glob import glob
@ -113,6 +113,13 @@ if obsoleteFiles:
print "\t" + f
print
if isdir("/usr/lib/fail2ban"):
print
print "Fail2ban is not installed under /usr/lib anymore. The new " \
"location is under /usr/share. Please remove the directory " \
"/usr/lib/fail2ban and everything under this directory."
print
# Update config file
if argv[1] == "install":
print