version 1.19, 2004/10/20 22:07:02
|
version 1.23, 2005/02/12 00:59:00
|
|
|
Copyright: Open Group Pegasus Open Source | Copyright: Open Group Pegasus Open Source |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{release}.tar.gz | Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{release}.tar.gz |
Requires: openssl-devel >= 0.9.6 lsb >= 1.3 |
Requires: openssl >= 0.9.6 lsb >= 1.3 |
Provides: cimserver tog-pegasus-2.4 | Provides: cimserver tog-pegasus-2.4 |
|
BuildRequires: openssl-devel >= 0.9.6 |
| |
%description | %description |
OpenPegasus WBEM Services for Linux enables management solutions that deliver | OpenPegasus WBEM Services for Linux enables management solutions that deliver |
|
|
Summary: The OpenPegasus Software Development Kit | Summary: The OpenPegasus Software Development Kit |
Group: Systems Management/Base | Group: Systems Management/Base |
Autoreq: 0 | Autoreq: 0 |
Requires: tog-pegasus >= 2.4, openssl-devel >= 0.9.6 |
Requires: tog-pegasus >= 2.4 |
| |
%description sdk | %description sdk |
The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM | The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM |
|
|
| |
/usr/lib/lsb/install_initd /etc/init.d/tog-pegasus | /usr/lib/lsb/install_initd /etc/init.d/tog-pegasus |
| |
/bin/chmod -f +w %PEGASUS_LOCAL_DOMAIN_SOCKET_DIR/cimxml.socket |
|
|
|
# Create symbolic links for client libs | # Create symbolic links for client libs |
# | # |
cd %PEGASUS_DEST_LIB_DIR | cd %PEGASUS_DEST_LIB_DIR |
|
|
chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE | chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE |
fi | fi |
| |
# Start the cimserver |
|
(/etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver) >> %INSTALL_LOG 2>&1 |
|
|
|
if [ $? != 0 ]; |
|
then |
|
echo "Brute-starting Pegasus. If the installation fails:" |
|
echo " - Start Pegasus: '/etc/init.d/tog-pegasus start'" |
|
echo " - Run '/opt/tog-pegasus/sbin/init_repository'" |
|
# No need to try it again, since it already failed. |
|
# Just giving the above notice should be sufficent |
|
# /etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver |
|
fi |
|
|
|
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:" |