Accepting request 704275 from home:varkoly:branches:server:mail

- bsc#1134242 - upgrade from 42.3 to 15.1: dovecot shows Unknown
  protocol 'SSLv2'
  * remove !SSLv2 from existing ssl_protocols configuration
    during upgrade

OBS-URL: https://build.opensuse.org/request/show/704275
OBS-URL: https://build.opensuse.org/package/show/server:mail/dovecot23?expand=0&rev=49
This commit is contained in:
Lars Vogdt 2019-06-17 05:44:13 +00:00 committed by Git OBS Bridge
parent 6686f19e4a
commit 9777cde63e
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 20 14:25:49 UTC 2019 - Peter Varkoly <varkoly@suse.com>
- bsc#1134242 - upgrade from 42.3 to 15.1: dovecot shows Unknown
protocol 'SSLv2'
* remove !SSLv2 from existing ssl_protocols configuration
during upgrade
-------------------------------------------------------------------
Tue Apr 30 13:49:18 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -472,6 +472,10 @@ if [ "$FIRST_ARG" -ge "1" ]; then
fi
%endif
fi
# remove !SSLv2 from ssl_protocols (no longer supported in openssl-1.1.0)
if grep -s -q "ssl_protocols .*!SSLv2" /etc/dovecot/conf.d/10-ssl.conf; then
sed -i 's/^\(ssl_protocols.*\)[[:blank:]]!SSLv2\(.*\)$/\1\2/g' /etc/dovecot/conf.d/10-ssl.conf
fi
%post -p /sbin/ldconfig