From 7fbc1b16a025777034a92ac2af14e5366d2d5f33 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 6 Jul 2006 21:30:53 +0000 Subject: [PATCH] adjusted to comply with recent changed of debian python policy --- debian/changelog | 4 +++- debian/control | 6 ++++-- debian/pycompat | 1 + debian/rules | 3 +-- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 debian/pycompat diff --git a/debian/changelog b/debian/changelog index 1181612c..49164b03 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,14 @@ fail2ban (0.6.1-10) unstable; urgency=low + * Adjusted to comply with recent changes in debian python policy and use + pycentral to byte compile modules * Filtered out empty entries for ignoreip to reduce confusing WARNING log message * Added configuration parameter "locale" to specify LC_TIME for time pattern matching (closes: #367990,363391) * Verbosity is chosen to be max between cmdline parameters and config file - -- Yaroslav Halchenko Mon, 3 Jul 2006 21:59:34 -0400 + -- Yaroslav Halchenko Tue, 4 Jul 2006 00:22:19 -0400 fail2ban (0.6.1-9) unstable; urgency=low diff --git a/debian/control b/debian/control index 5930a534..8c3e312c 100644 --- a/debian/control +++ b/debian/control @@ -4,12 +4,14 @@ Priority: optional Maintainer: Yaroslav Halchenko Uploaders: Barak Pearlmutter Build-Depends: debhelper (>= 4.1.67), dpatch -Build-Depends-Indep: python, python-dev, help2man +Build-Depends-Indep: python, python-dev, help2man, python-central (>= 0.4.17) +XS-Python-Version: current, >= 2.3 Standards-Version: 3.7.2 Package: fail2ban Architecture: all -Depends: python (>=2.3), iptables, lsb-base (>=2.0-7) +Depends: ${python:Depends}, iptables, lsb-base (>=2.0-7) +XB-Python-Version: ${python:Versions} Description: bans IPs that cause multiple authentication errors Monitors (in daemon mode) or just scans log files (e.g. /var/log/auth.log, /var/log/apache/access.log) and temporarily bans failure-prone diff --git a/debian/pycompat b/debian/pycompat new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/rules b/debian/rules index 2425f768..eec01b82 100755 --- a/debian/rules +++ b/debian/rules @@ -75,8 +75,7 @@ binary-indep: install $(MANPAGE) # dh_installcron # dh_installinfo dh_installman fail2ban.8 man/fail2ban.conf.5 -# just for maint scripts. I don't want to use ${python:Depends} to be portable between -# systems with different pythons + dh_pycentral dh_python dh_link dh_compress