(file) Return to tog-pegasus.spec CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

Diff for /pegasus/rpm/tog-pegasus.spec between version 1.20.2.37 and 1.20.2.38

version 1.20.2.37, 2005/12/16 01:24:47 version 1.20.2.38, 2006/04/13 04:20:41
Line 714 
Line 714 
 echo "L                      = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf echo "L                      = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf
 echo "O                      = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf echo "O                      = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf
 echo "OU                     = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf echo "OU                     = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf
 echo "CN                     = `host \`hostname\`|cut -d\" \" -f1`" >> %PEGASUS_CONFIG_DIR/ssl.cnf  DN=`hostname`;
   if [ -z "$DN" ] || [ "$DN" = "(none)" ]; then
           DN='localhost.localdomain';
   fi;
   FQDN=`{ host -W1 $DN 2>/dev/null || echo "$DN has address "; } |\
           grep 'has address' | head -1 | sed 's/\ .*$//'`;
   if [ -z "$FQDN" ] ; then
       FQDN="$DN";
   fi;
   # cannot use 'hostname --fqdn' because this can hang indefinitely
   echo "CN                     = $FQDN"  >> %PEGASUS_CONFIG_DIR/ssl.cnf
 chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf
 chown root %PEGASUS_CONFIG_DIR/ssl.cnf chown root %PEGASUS_CONFIG_DIR/ssl.cnf
 chgrp root %PEGASUS_CONFIG_DIR/ssl.cnf chgrp root %PEGASUS_CONFIG_DIR/ssl.cnf


Legend:
Removed from v.1.20.2.37  
changed lines
  Added in v.1.20.2.38

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2