tags 685896 patch
diff -Nru dovecot-2.1.7/debian/changelog dovecot-2.1.7/debian/changelog --- dovecot-2.1.7/debian/changelog 2012-06-22 04:32:02.000000000 +0000 +++ dovecot-2.1.7/debian/changelog 2012-09-08 15:25:12.000000000 +0000 @@ -1,3 +1,11 @@ +dovecot (1:2.1.7-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Check for presence of combined public/private key in a single file + (Closes: #685896) + + -- <al...@ucd.ie> Sat, 08 Sep 2012 15:20:47 +0000 + dovecot (1:2.1.7-2) unstable; urgency=low * [e23a136] Just a quick upload to make dovecot buildable on non-linux diff -Nru dovecot-2.1.7/debian/dovecot-core.postinst dovecot-2.1.7/debian/dovecot-core.postinst --- dovecot-2.1.7/debian/dovecot-core.postinst 2012-06-22 04:32:02.000000000 +0000 +++ dovecot-2.1.7/debian/dovecot-core.postinst 2012-09-08 14:58:01.000000000 +0000 @@ -119,7 +119,7 @@ SSL_KEY="/etc/ssl/private/dovecot.pem" # Generate new certs if needed - if [ -e $SSL_CERT ] && [ -e $SSL_KEY ]; then + if [ -e $SSL_CERT ] || [ -e $SSL_KEY ]; then echo "You already have ssl certs for dovecot." else echo "Creating generic self-signed certificate: $SSL_CERT"