mirror of https://github.com/fail2ban/fail2ban
debian/control,rules: switch to use dh_python2, boost policy compliance to 3.9.3
parent
d969aef8f8
commit
197edfc271
|
@ -26,6 +26,9 @@ fail2ban (0.8.7-1) experimental; urgency=low
|
|||
Thanks Glenn Aaldering for the patch
|
||||
* debian/source:
|
||||
- switch to 3.0 (quilt) format
|
||||
* debian/control,rules:
|
||||
- switch to use dh_python2 (Closes: #616803)
|
||||
- boost policy compliance to 3.9.3
|
||||
|
||||
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 31 Jul 2012 16:51:40 -0400
|
||||
|
||||
|
|
|
@ -3,12 +3,10 @@ Section: net
|
|||
Priority: optional
|
||||
Maintainer: Yaroslav Halchenko <debian@onerussian.com>
|
||||
Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.5.4-1~)
|
||||
Build-Depends-Indep: python-central (>= 0.5.6)
|
||||
XS-Python-Version: current, >= 2.4
|
||||
Homepage: http://www.fail2ban.org
|
||||
Vcs-Git: git://github.com/fail2ban/fail2ban.git
|
||||
Vcs-Browser: http://github.com/fail2ban/fail2ban
|
||||
Standards-Version: 3.9.2
|
||||
Standards-Version: 3.9.3
|
||||
|
||||
|
||||
Package: fail2ban
|
||||
|
|
|
@ -62,13 +62,16 @@ binary-indep: install
|
|||
dh_installdocs
|
||||
dh_installexamples config/jail.conf files/ipmasq-*
|
||||
dh_installlogrotate
|
||||
dh_pycentral
|
||||
dh_python2 /usr/share/fail2ban
|
||||
dh_installinit -- defaults 99
|
||||
# perform swap of order of calls to init and pycentral in prerm
|
||||
# to close #422655 -- pycentral section is cut and placed at
|
||||
# the end of the file
|
||||
sed -i -e '/^#.*ed by dh_pycentral/,/# End auto/{H;d};$$G' \
|
||||
|
||||
# perform swap of order of calls to init and pycentral (or even
|
||||
# bleedingly new dh_python2) in prerm to close #422655 --
|
||||
# python-cleanup section is cut and placed at the end of the file
|
||||
# since .init script would trigger their compilation again
|
||||
sed -i -e '/^#.*ed by dh_python2/,/# End auto/{H;d};$$G' \
|
||||
debian/fail2ban.prerm.debhelper
|
||||
|
||||
dh_installman man/*.1
|
||||
dh_link
|
||||
dh_compress
|
||||
|
|
Loading…
Reference in New Issue