mirror of https://github.com/fail2ban/fail2ban
debian/post{inst,rm},preinst: - [thanks to Daniel Schaal]: take care about renaming firewall-cmd-direct-new.conf to firewallcmd-new.conf which happened
in 0.8.11-29-g56b6bf7pull/808/head
parent
7376bb4321
commit
1d23a4dc4f
|
@ -6,6 +6,10 @@ fail2ban (0.8.13-1) unstable; urgency=low
|
||||||
- new jail definitions: apache-modsecurity, apache-nohome, freeswitch,
|
- new jail definitions: apache-modsecurity, apache-nohome, freeswitch,
|
||||||
ejabberd-auth, ssh-blocklist, nagios
|
ejabberd-auth, ssh-blocklist, nagios
|
||||||
- new configuration option: ignorecommand
|
- new configuration option: ignorecommand
|
||||||
|
* debian/post{inst,rm},preinst:
|
||||||
|
- [thanks to Daniel Schaal]: take care about renaming
|
||||||
|
- firewall-cmd-direct-new.conf to firewallcmd-new.conf which happened
|
||||||
|
in 0.8.11-29-g56b6bf7
|
||||||
|
|
||||||
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 18 Mar 2014 23:13:35 -0400
|
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 18 Mar 2014 23:13:35 -0400
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,10 @@ EOF
|
||||||
;;
|
;;
|
||||||
esac
|
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~ -- "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
# dh_installdeb will replace this with shell code automatically
|
# dh_installdeb will replace this with shell code automatically
|
||||||
# generated by other debhelper scripts.
|
# generated by other debhelper scripts.
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,10 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
esac
|
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~ -- "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
# dh_installdeb will replace this with shell code automatically
|
# dh_installdeb will replace this with shell code automatically
|
||||||
# generated by other debhelper scripts.
|
# generated by other debhelper scripts.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
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~ -- "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in New Issue