(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.43 and 1.44

version 1.43, 2005/04/04 05:56:07 version 1.44, 2005/04/08 05:46:00
Line 84 
Line 84 
 %ifarch ppc %ifarch ppc
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU
 %else %else
 %ifarch ppc64  %ifarch ppc64 pseries
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
 %else %else
 %ifarch s390 %ifarch s390
Line 130 
Line 130 
  
 %build %build
  
   %ifarch s390 s390x zseries
   export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char"
   %endif
   
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec
 export PEGASUS_ROOT=%PEGASUS_RPM_ROOT export PEGASUS_ROOT=%PEGASUS_RPM_ROOT
 export PEGASUS_HOME=%PEGASUS_RPM_HOME export PEGASUS_HOME=%PEGASUS_RPM_HOME
Line 273 
Line 277 
        chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE        chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE
    fi    fi
  
      /usr/lib/lsb/install_initd /etc/init.d/tog-pegasus
   
    echo " To start Pegasus manually:"    echo " To start Pegasus manually:"
    echo " /etc/init.d/tog-pegasus start"    echo " /etc/init.d/tog-pegasus start"
    echo " Stop it:"    echo " Stop it:"
Line 288 
Line 294 
    isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`    isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
    if [ "$isRunning" ]; then    if [ "$isRunning" ]; then
       /opt/tog-pegasus/sbin/cimserver -s       /opt/tog-pegasus/sbin/cimserver -s
    fi  
    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;
    [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;    [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;
      [ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository;
      fi
    # Delete the Link to the rc.* Startup Directories    # Delete the Link to the rc.* Startup Directories
    /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;    /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;
 fi fi
  
   %preun sdk
   make --directory /opt/tog-pegasus/samples -s clean
   
 %postun %postun
 if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;


Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2