tags 685896 + pending
tags 631257 + pending
thanks

Dear maintainer,

I've prepared an NMU for dovecot (versioned as 1:2.1.7-2.1) and
uploaded it to DELAYED/3. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru dovecot-2.1.7/debian/changelog dovecot-2.1.7/debian/changelog
--- dovecot-2.1.7/debian/changelog	2012-06-22 05:32:02.000000000 +0100
+++ dovecot-2.1.7/debian/changelog	2012-09-08 19:18:38.000000000 +0100
@@ -1,3 +1,11 @@
+dovecot (1:2.1.7-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Do not generate new dovecot cert if key or cert is already present
+    (Closes: #685896, #631257)
+
+ --  <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 05:32:02.000000000 +0100
+++ dovecot-2.1.7/debian/dovecot-core.postinst	2012-09-08 19:09:23.000000000 +0100
@@ -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"

Reply via email to