wok-current diff dovecot/receipt @ rev 18663

Up tazpkg(880); change pre- post-functions, etc. in random packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 04 02:45:17 2015 +0200 (2015-12-04)
parents 0d8a1a3edc72
children 9e01bc6321ea
line diff
     1.1 --- a/dovecot/receipt	Sun May 18 20:24:07 2014 +0000
     1.2 +++ b/dovecot/receipt	Fri Dec 04 02:45:17 2015 +0200
     1.3 @@ -63,14 +63,18 @@
     1.4  	chmod 755 $fs/etc/ssl/misc/*
     1.5  	
     1.6  	# Customising config.
     1.7 -	sed -i -e "s/^#default_vsz_limit.*/default_vsz_limit = 50M"/ \
     1.8 +	sed -i -e "s/^#default_vsz_limit.*/default_vsz_limit = 50M/" \
     1.9  		$fs/etc/dovecot/conf.d/10-master.conf
    1.10  
    1.11 -	sed -i -e "s!^#log_path =.*!log_path = /var/log/dovecot/dovecot.log"! \
    1.12 +	sed -i -e "s!^#log_path =.*!log_path = /var/log/dovecot/dovecot.log!" \
    1.13  		$fs/etc/dovecot/conf.d/10-logging.conf
    1.14  	
    1.15 -	sed -i -e "s/^#listen.*/listen = *"/ \
    1.16 +	sed -i -e "s/^#listen.*/listen = */" \
    1.17  		$fs/etc/dovecot/dovecot.conf
    1.18 +
    1.19 +	# Unsafe, see CVE-2014-3566 POODLE
    1.20 +	sed -i -e "s/^#ssl_protocols =.*/ssl_protocols = !SSLv2 !SSLv3/" \
    1.21 +		$fs/etc/dovecot/conf.d/10-ssl.conf
    1.22  }
    1.23  
    1.24  #nd post install commands for Tazpkg.