openbsd-ports/mail/dovecot/patches/patch-doc_mkcert_sh
2005-09-04 18:22:30 +00:00

24 lines
718 B
Plaintext

$OpenBSD: patch-doc_mkcert_sh,v 1.3 2005/09/04 18:22:30 brad Exp $
--- doc/mkcert.sh.orig Thu Jul 22 20:05:00 2004
+++ doc/mkcert.sh Wed Nov 3 21:59:54 2004
@@ -5,14 +5,14 @@
OPENSSL=${OPENSSL-openssl}
SSLDIR=${SSLDIR-/etc/ssl}
-OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
+OPENSSLCONFIG=${OPENSSLCONFIG-${SSLDIR}/dovecot-openssl.cnf}
-CERTFILE=$SSLDIR/certs/dovecot.pem
+CERTFILE=$SSLDIR/dovecotcert.pem
KEYFILE=$SSLDIR/private/dovecot.pem
-if [ ! -d $SSLDIR/certs ]; then
- echo "$SSLDIR/certs directory doesn't exist"
-fi
+#if [ ! -d $SSLDIR/certs ]; then
+# echo "$SSLDIR/certs directory doesn't exist"
+#fi
if [ ! -d $SSLDIR/private ]; then
echo "$SSLDIR/private directory doesn't exist"