void-packages/srcpkgs/dovecot/patches/mkcert-ssldir.patch

14 lines
384 B
Diff

Set correct path to OPENSSLCONFIG.
--- a/doc/mkcert.sh 2012-01-31 15:25:06.611718182 +0100
+++ b/doc/mkcert.sh 2012-01-31 15:25:27.298222975 +0100
@@ -5,7 +5,7 @@
OPENSSL=${OPENSSL-openssl}
SSLDIR=${SSLDIR-/etc/ssl}
-OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
+OPENSSLCONFIG=${OPENSSLCONFIG-${SSLDIR}/dovecot-openssl.cnf}
CERTDIR=$SSLDIR/certs
KEYDIR=$SSLDIR/private