From 5d95fcb7187146d37cfdfd2291600dfad1542e7e Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 19 Mar 2014 10:35:53 -0400 Subject: [PATCH] two more forgotten renames (sasl, lighttpd-fastcgi) --- debian/changelog | 4 +++- debian/postinst | 2 ++ debian/postrm | 2 ++ debian/preinst | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 59727991..27634caf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 18 Mar 2014 23:13:35 -0400 diff --git a/debian/postinst b/debian/postinst index 47d60cb9..3f42d6bb 100755 --- a/debian/postinst +++ b/debian/postinst @@ -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 diff --git a/debian/postrm b/debian/postrm index e53e4e45..bdc8cfab 100755 --- a/debian/postrm +++ b/debian/postrm @@ -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 diff --git a/debian/preinst b/debian/preinst index f819c3c2..d493f379 100755 --- a/debian/preinst +++ b/debian/preinst @@ -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#