mirror of https://github.com/fail2ban/fail2ban
* Warning NEWS entry for 0.7.1 was not shown during installation on test
boxes, thus postinst was adjusted accordingly to inform the user about the changes in the configuration files since 0.6.debian-releases/etch
parent
6e1ec60318
commit
28dad3752c
|
@ -2,6 +2,9 @@ fail2ban (0.7.4-2) unstable; urgency=low
|
|||
|
||||
* Added reload/force-reload actions to init script
|
||||
* Adjusted jail.conf a bit
|
||||
* Warning NEWS entry for 0.7.1 was not shown during installation on test
|
||||
boxes, thus postinst was adjusted accordingly to inform the user about the
|
||||
changes in the configuration files since 0.6.
|
||||
|
||||
-- Yaroslav Halchenko <debian@onerussian.com> Mon, 6 Nov 2006 09:18:58 -0500
|
||||
|
||||
|
|
|
@ -29,9 +29,25 @@ case "$1" in
|
|||
chmod 640 ${LOG}*
|
||||
|
||||
# Note regarding changed configuration file
|
||||
if [ ! -z $preversion ] \
|
||||
&& dpkg --compare-versions $preversion lt 0.5.4-5.14;
|
||||
then
|
||||
# Note regarding changed configuration file
|
||||
if [ ! -z $preversion ]; then
|
||||
if dpkg --compare-versions $preversion lt 0.7.1-1; then
|
||||
cat <<EOF
|
||||
WARNING!
|
||||
|
||||
0.7.x versions of fail2ban is a complete rewrite of the tool since 0.6, and
|
||||
it went through restructuring of the configuration files. If you had
|
||||
adjusted config file /etc/fail2ban.conf or /etc/defaults/fail2ban, you need
|
||||
to adjust new config files (under /etc/fail2ban/ and /etc/default/fail2ban)
|
||||
to take advantage of the upgrade. Now fail2ban uses split configs and local
|
||||
modifications can be introduced in corresponding .local files. Please
|
||||
remove old configuration file /etc/fail2ban.conf thereafter.
|
||||
|
||||
Please review the configuration file and make appropriate changes.
|
||||
ENJOY!
|
||||
EOF
|
||||
fi
|
||||
if dpkg --compare-versions $preversion lt 0.5.4-5.14; then
|
||||
cat <<EOF
|
||||
WARNING!
|
||||
|
||||
|
|
Loading…
Reference in New Issue