fanf2 2006/07/17 18:53:06 BST
Modified files:
exim-course/rpm exim-course.spec
Log:
Create certificates directory before entering it.
Revision Changes Path
1.11 +1 -0 exim/exim-course/rpm/exim-course.spec
Index: exim-course.spec
===================================================================
RCS file: /home/cvs/exim/exim-course/rpm/exim-course.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -u -r1.10 -r1.11
--- exim-course.spec 17 Jul 2006 17:36:40 -0000 1.10
+++ exim-course.spec 17 Jul 2006 17:53:06 -0000 1.11
@@ -1,4 +1,4 @@
-# $Cambridge: exim/exim-course/rpm/exim-course.spec,v 1.10 2006/07/17 17:36:40 fanf2 Exp $
+# $Cambridge: exim/exim-course/rpm/exim-course.spec,v 1.11 2006/07/17 17:53:06 fanf2 Exp $
#
# The RPM spec file for the package which customizes PWF Linux for the
# Exim course. This is a little bit sketchy and assumes a working
@@ -107,6 +107,7 @@
echo > /home/course/eicar.com \
'X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*'
# create TLS certificates. We do it here so that each machine's is different
+mkdir -p /usr/local/etc/mycert
cd /usr/local/etc/mycert
openssl genrsa -des3 -passout pass:abc123 -out server.key 1024
openssl rsa -passin pass:abc123 -in server.key -out server.pem