two more forgotten renames (sasl, lighttpd-fastcgi)

pull/808/head
Yaroslav Halchenko 2014-03-19 10:35:53 -04:00
parent 1d23a4dc4f
commit 5d95fcb718
4 changed files with 9 additions and 1 deletions

4
debian/changelog vendored
View File

@ -7,9 +7,11 @@ fail2ban (0.8.13-1) unstable; urgency=low
ejabberd-auth, ssh-blocklist, nagios
- new configuration option: ignorecommand
* debian/post{inst,rm},preinst:
- [thanks to Daniel Schaal]: take care about renaming
- [thanks to Daniel Schaal]: take care about renaming config files
- firewall-cmd-direct-new.conf to firewallcmd-new.conf which happened
in 0.8.11-29-g56b6bf7
- lighttpd-fastcgi.conf to suhosin.conf and
sasl.conf to postfix-sasl.conf in the past 0.8.11 release
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 18 Mar 2014 23:13:35 -0400

2
debian/postinst vendored
View File

@ -82,6 +82,8 @@ esac
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
dpkg-maintscript-helper mv_conffile /etc/fail2ban/action.d/firewall-cmd-direct-new.conf /etc/fail2ban/action.d/firewallcmd-new.conf 0.8.13-1~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/fail2ban/filter.d/lighttpd-fastcgi.conf /etc/fail2ban/filter.d/suhosin.conf 0.8.13-1~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/fail2ban/filter.d/sasl.conf /etc/fail2ban/filter.d/postfix-sasl.conf 0.8.13-1~ -- "$@"
fi
# dh_installdeb will replace this with shell code automatically

2
debian/postrm vendored
View File

@ -36,6 +36,8 @@ esac
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
dpkg-maintscript-helper mv_conffile /etc/fail2ban/action.d/firewall-cmd-direct-new.conf /etc/fail2ban/action.d/firewallcmd-new.conf 0.8.13-1~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/fail2ban/filter.d/lighttpd-fastcgi.conf /etc/fail2ban/filter.d/suhosin.conf 0.8.13-1~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/fail2ban/filter.d/sasl.conf /etc/fail2ban/filter.d/postfix-sasl.conf 0.8.13-1~ -- "$@"
fi
# dh_installdeb will replace this with shell code automatically

2
debian/preinst vendored
View File

@ -4,6 +4,8 @@ set -e
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
dpkg-maintscript-helper mv_conffile /etc/fail2ban/action.d/firewall-cmd-direct-new.conf /etc/fail2ban/action.d/firewallcmd-new.conf 0.8.13-1~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/fail2ban/filter.d/lighttpd-fastcgi.conf /etc/fail2ban/filter.d/suhosin.conf 0.8.13-1~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/fail2ban/filter.d/sasl.conf /etc/fail2ban/filter.d/postfix-sasl.conf 0.8.13-1~ -- "$@"
fi
#DEBHELPER#