[Ultrapossum-cvs 104] ultrapossum/debian ...

Back to archive index

Masato Taruishi taru****@sourc*****
2004年 5月 14日 (金) 12:05:59 JST


===================================================================
RCS file: ultrapossum/debian/changelog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ultrapossum/debian/changelog	2004/05/13 15:43:56	1.26
+++ ultrapossum/debian/changelog	2004/05/14 03:05:59	1.27
@@ -1,3 +1,10 @@
+ultrapossum (0.1beta6-0pre3) unstable; urgency=low
+
+  * Don't preconfigure when openssl.cnf not exist because of a problem
+    about multiple invocation of .config.
+
+ -- Masato Taruishi <taru****@valin*****>  Fri, 14 May 2004 01:00:44 +0900
+
 ultrapossum (0.1beta6-0pre2) unstable; urgency=low
 
   * Move configuration template to /usr/share/ultrapossum/etc to
===================================================================
RCS file: ultrapossum/debian/ultrapossum-tls.config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ultrapossum/debian/ultrapossum-tls.config	2004/05/13 16:01:23	1.1
+++ ultrapossum/debian/ultrapossum-tls.config	2004/05/14 03:05:59	1.2
@@ -16,10 +16,13 @@
   eval `/usr/bin/ultrapossum-config init`
   trap "/bin/rm -f $tmp; eval `ultrapossum-config term`" 0
 else
-  if test -f "/etc/ssl/openssl.cnf"; then
-    CERTCOUNTRY=`grep -e "^countryName_default" /etc/ssl/openssl.cnf  | cut -d= -f2- | sed -e 's/^ *//'`
-    CERTSTATE=`grep -e "^stateOrProvinceName_default" /etc/ssl/openssl.cnf  | cut -d= -f2- | sed -e 's/^ *//'`
+  if ! test -f "/etc/ssl/openssl.cnf"; then
+    echo "OpenSSL configuration not found, creating default certificate file" 1>&2
+    echo "Run dpkg-reconfigure later if you want your own file" 1>&2
+    exit 0
   fi
+  CERTCOUNTRY=`grep -e "^countryName_default" /etc/ssl/openssl.cnf  | cut -d= -f2- | sed -e 's/^ *//'`
+  CERTSTATE=`grep -e "^stateOrProvinceName_default" /etc/ssl/openssl.cnf  | cut -d= -f2- | sed -e 's/^ *//'`
   CERTORGANIZATION=`hostname`
   CERTHOST=`hostname --fqdn`
   if test -f "/etc/ultrapossum/ultrapossum.cf"; then



Ultrapossum-cvs メーリングリストの案内
Back to archive index