martin: server/kolabd/kolabd kolab_ca.sh.in,1.2,1.3
cvs at intevation.de
cvs at intevation.de
Tue Dec 27 14:09:32 CET 2005
Author: martin
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv31883
Modified Files:
kolab_ca.sh.in
Log Message:
Martin Konold: Autoconf and fix from rbos
Index: kolab_ca.sh.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolab_ca.sh.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- kolab_ca.sh.in 27 Nov 2005 23:57:02 -0000 1.2
+++ kolab_ca.sh.in 27 Dec 2005 13:09:30 -0000 1.3
@@ -6,15 +6,13 @@
## CA management script that is heavily inspired by Tim Hudson's
## CA.sh script from the openssl distribution
-PREFIX=@prefix@
-
DAYS="-days 3650"
-REQ="$PREFIX/bin/openssl req"
-CA="$PREFIX/bin/openssl ca"
-VERIFY="$PREFIX/bin/openssl verify"
-X509="$PREFIX/bin/openssl x509"
-RSA="$PREFIX/bin/openssl rsa"
-GENRSA="$PREFIX/bin/openssl genrsa"
+REQ="@bindir@/openssl req"
+CA="@bindir@/openssl ca"
+VERIFY="@bindir@/openssl verify"
+X509="@bindir@/openssl x509"
+RSA="@bindir@/openssl rsa"
+GENRSA="@bindir@/openssl genrsa"
CATOP=@sysconfdir@/kolab/ca
CAKEY=cakey.pem
@@ -202,6 +200,10 @@
-out ${CATOP}/$CACERT $DAYS
RET=$?
fi
+ else
+ while [ -n "$2" ]; do
+ shift
+ done
fi
;;
-newkey)
More information about the commits
mailing list