~ubuntu-branches/ubuntu/vivid/fail2ban/vivid

« back to all changes in this revision

Viewing changes to debian/patches/lucid-dsc-patch

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-05-13 11:58:56 UTC
  • mfrom: (1.2.6) (11.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20130513115856-r1wwsd58ajx2ub5o
Tags: 0.8.9-1
* New upstream release
  - significant improvements in documentation (Closes: #400416)
  - roundcube auth filter (Closes: #699442)
  - enforces C locale for dates (Closes: #686341)
  - provides bash_completion.d/fail2ban
* debian/jail.conf:
  - added findtime and documentation on those basic options from jail.conf
    (Closes: #704568)
  - added new sample jails definitions for ssh-route, ssh-iptables-ipset{4,6},
    roundcube-auth, sogo-auth, mysqld-auth
* debian/control:
  - suggest system-log-daemon (Closes: #691001)
  - boost policy compliance to 3.9.4
* debian/rules:
  - run fail2ban's unittests at build time but ignore the failures
    (there are still some known issues to fix up to guarantee robust testing
    in clean chroots etc).
    Only pyinotify was added to build-depends since gamin might still be
    buggy on older releases and get stuck, which would complicate
    backporting

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Yaroslav Halchenko <debian@onerussian.com>
 
2
Date: Thu, 6 Dec 2012 12:50:12 -0500
 
3
Subject: [PATCH] Patch for elderly Debian/Ubuntu (e.g. 10.04) releases without dh_python2
 
4
 
 
5
Use again pycentral etc
 
6
 
 
7
crafted post 0.8.8-1 release when a user complained about inability to upgrade
 
8
 
 
9
---
 
10
 debian/control |  2 ++
 
11
 debian/rules   | 12 +++++-------
 
12
 2 files changed, 7 insertions(+), 7 deletions(-)
 
13
 
 
14
--- a/debian/control
 
15
+++ b/debian/control
 
16
@@ -3,6 +3,8 @@ Section: net
 
17
 Priority: optional
 
18
 Maintainer: Yaroslav Halchenko <debian@onerussian.com>
 
19
 Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.5.4-1~), python-pyinotify
 
20
+Build-Depends-Indep: python-central (>= 0.5.6)
 
21
+XS-Python-Version: current, >= 2.4
 
22
 Homepage: http://www.fail2ban.org
 
23
 Vcs-Git: git://github.com/fail2ban/fail2ban.git
 
24
 Vcs-Browser: http://github.com/fail2ban/fail2ban
 
25
--- a/debian/rules
 
26
+++ b/debian/rules
 
27
@@ -72,14 +72,12 @@ binary-indep: install
 
28
        dh_installdocs
 
29
        dh_installexamples config/jail.conf files/ipmasq-*
 
30
        dh_installlogrotate
 
31
-       dh_python2 /usr/share/fail2ban
 
32
+       dh_pycentral
 
33
        dh_installinit -- defaults 99
 
34
-
 
35
-       # perform swap of order of calls to init and pycentral (or even
 
36
-       # bleedingly new dh_python2) in prerm to close #422655 --
 
37
-       # python-cleanup section is cut and placed at the end of the file
 
38
-       # since .init script would trigger their compilation again
 
39
-       sed -i -e '/^#.*ed by dh_python2/,/# End auto/{H;d};$$G' \
 
40
+       # perform swap of order of calls to init and pycentral in prerm
 
41
+       # to close #422655 -- pycentral section is cut and placed at
 
42
+       # the end of the file
 
43
+       sed -i -e '/^#.*ed by dh_pycentral/,/# End auto/{H;d};$$G' \
 
44
                debian/fail2ban.prerm.debhelper
 
45
 
 
46
        dh_installman man/*.[15]