diff --git a/debian/changelog b/debian/changelog index 62e575aa..8dea09d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +fail2ban (0.8.0-2) unstable; urgency=low + + * Manually changing the order of debhelper inserted scripts in prerm + (Closes: #422655) + * Removed obsolete hack to have /bin/env invocation of python for + fail2ban-* scripts + + -- Yaroslav Halchenko Thu, 10 May 2007 11:32:32 -0400 + fail2ban (0.8.0-1) unstable; urgency=low * New stable upstream release diff --git a/debian/rules b/debian/rules index 1b2253f5..b904a2f3 100755 --- a/debian/rules +++ b/debian/rules @@ -40,9 +40,6 @@ install: build # Add here commands to install the package into debian/fail2ban. python setup.py install --root=$(DESTDIR) --no-compile - #X Evil - must be removed after Debian switches over to 2.4, now - # distutils.setup will override the enterpreter line to /usr/bin/python - install fail2ban-server fail2ban-client $(DESTDIR)/usr/bin # Install Debian shipped jail file in 1 piece (instead of patching # the shipped one since there are too many changes) install -m 644 debian/jail.conf $(DESTDIR)/etc/fail2ban @@ -62,6 +59,9 @@ binary-indep: install dh_installlogrotate dh_pycentral 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' debian/fail2ban.prerm.debhelper dh_installman man/*.1 dh_link dh_compress