pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache2/files Create /usr/pkg/etc/httpd/ssl.crl fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a1f072d204b
branches:  trunk
changeset: 492574:3a1f072d204b
user:      martti <martti%pkgsrc.org@localhost>
date:      Fri Apr 15 17:21:42 2005 +0000

description:
Create /usr/pkg/etc/httpd/ssl.crl for Certificate Revocation Lists

diffstat:

 www/apache2/files/mkcert.sh |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r d0ba1c9d3c4d -r 3a1f072d204b www/apache2/files/mkcert.sh
--- a/www/apache2/files/mkcert.sh       Fri Apr 15 16:38:07 2005 +0000
+++ b/www/apache2/files/mkcert.sh       Fri Apr 15 17:21:42 2005 +0000
@@ -52,6 +52,7 @@
 sslcsrdir="$confdir/ssl.csr"
 sslkeydir="$confdir/ssl.key"
 sslprmdir="$confdir/ssl.prm"
+sslcrldir="$confdir/ssl.crl"
 
 if [ ! -d "${sslcrtdir}" ]; then
     echo "Creating ${sslcrtdir}"
@@ -69,6 +70,10 @@
     echo "Creating ${sslprmdir}"
     mkdir "${sslprmdir}" || exit 1
 fi
+if [ ! -d "${sslcrldir}" ]; then
+    echo "Creating ${sslcrldir}"
+    mkdir "${sslcrldir}" || exit 1
+fi
 
 #   some optional terminal sequences
 case $TERM in



Home | Main Index | Thread Index | Old Index