minor modifications: examples, proper conf file copying

debian-releases/etch
Yaroslav Halchenko 2006-03-19 05:27:42 +00:00
parent 4fa0eba064
commit 435f870b13
2 changed files with 21 additions and 13 deletions

18
debian/README.Debian vendored
View File

@ -1,17 +1,25 @@
fail2ban for Debian fail2ban for Debian
------------------- -------------------
This package is ~95% identical to the upstream version. Few feature This package is ~95% identical to the upstream version. Few features
could have been added but not yet propagated into upstream could have been added but not yet propagated into upstream version and
version. And although due to tight collaboration with upstream author some modifications might be Debian-specific (logsys logging
format). And although due to tight collaboration with upstream author
most of the Debian modifications penetrate into the next upstream, few most of the Debian modifications penetrate into the next upstream, few
features present in Debian release were rejected by the upstream features present in Debian release were rejected by the upstream
author (-e option for instance) author (-e option for instance).
Currently, the major difference with upstream: python libraries are Currently, the major difference with upstream: python libraries are
placed under /usr/share/fail2ban instead of /usr/lib/fail2ban to placed under /usr/share/fail2ban instead of /usr/lib/fail2ban to
comply with policy regarding architecture independent resources. comply with policy regarding architecture independent resources.
Also the main config file /etc/fail2ban.conf is a copy of
/usr/share/doc/examples/fail2ban.conf.iptables. There are config files
for banning via shorewall or hosts.deny are provided BUT they might
miss additional sections present in fail2ban.conf. Please copy them
taking care about added sections. Those files will be obsolete in the
next release which would handle split configuration files.
Default behavior: Default behavior:
----------------- -----------------
@ -106,4 +114,4 @@ had enough of failed logins within "findtime" will be banned for
"bantime" since [re]start moment, not since the last failed login "bantime" since [re]start moment, not since the last failed login
time. time.
-- Yaroslav O. Halchenko <debian@onerussian.com>, Sun Jan 15 15:18:13 2006 -- Yaroslav O. Halchenko <debian@onerussian.com>, Sun, 19 Mar 2006 00:27:22 -0500

2
debian/rules vendored
View File

@ -51,7 +51,7 @@ install: build
# Add here commands to install the package into debian/fail2ban. # Add here commands to install the package into debian/fail2ban.
python setup.py install --root=$(DESTDIR) python setup.py install --root=$(DESTDIR)
mkdir -p $(DESTDIR)/etc mkdir -p $(DESTDIR)/etc
cp config/fail2ban.conf.default $(DESTDIR)/etc/fail2ban.conf cp config/fail2ban.conf.iptables $(DESTDIR)/etc/fail2ban.conf
# To build manpage # To build manpage
$(MANPAGE): fail2ban fail2ban.h2m $(MANPAGE): fail2ban fail2ban.h2m