version 1.51, 2005/04/29 15:31:15
|
version 1.106.2.2, 2008/04/18 19:15:44
|
|
|
#%2005//////////////////////////////////////////////////////////////////////// |
#//%2006//////////////////////////////////////////////////////////////////////// |
# |
#// |
# Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
# Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
# Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
# IBM Corp.; EMC Corporation, The Open Group. |
#// IBM Corp.; EMC Corporation, The Open Group. |
# Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
# IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
# Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
# EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. |
# |
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
# Permission is hereby granted, free of charge, to any person obtaining a copy |
#// EMC Corporation; Symantec Corporation; The Open Group. |
# of this software and associated documentation files (the "Software"), to |
#// |
# deal in the Software without restriction, including without limitation the |
#// Permission is hereby granted, free of charge, to any person obtaining a copy |
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
#// of this software and associated documentation files (the "Software"), to |
# sell copies of the Software, and to permit persons to whom the Software is |
#// deal in the Software without restriction, including without limitation the |
# furnished to do so, subject to the following conditions: |
#// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
# |
#// sell copies of the Software, and to permit persons to whom the Software is |
# THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
#// furnished to do so, subject to the following conditions: |
# ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
#// |
# "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
#// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
# LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
#// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
#// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
#// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
#// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
#// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
# |
#// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
#============================================================================== |
#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// |
|
#//============================================================================== |
#%///////////////////////////////////////////////////////////////////////////// | #%///////////////////////////////////////////////////////////////////////////// |
# | # |
# tog-pegasus.spec | # tog-pegasus.spec |
|
|
# | # |
# WARNING: This file is automatically generated by executing | # WARNING: This file is automatically generated by executing |
# make -f pegasus/Makefile.Release create_OpenPegasusRPMSpecFile | # make -f pegasus/Makefile.Release create_OpenPegasusRPMSpecFile |
# Any changes made directly to this file will be lost the next |
# Any changes made directly to this file in the OpenPegasus source will |
# time this file is generated. |
# be lost the next time this file is regenerated and submitted to CVS. |
# | # |
| |
%define srcRelease 1 |
%define packageVersion 1 |
Version: 2.5Alpha1 |
Version: 2.7.2 |
Release: 1 |
Release: %{packageVersion}%{?LINUX_VERSION:.%{LINUX_VERSION}} |
|
Epoch: 1 |
| |
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec | # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec |
|
# |
|
%{?!PEGASUS_BUILD_TEST_RPM: %define PEGASUS_BUILD_TEST_RPM 0} |
|
# do "rpmbuild --define 'PEGASUS_BUILD_TEST_RPM 1'" to build test RPM. |
|
# |
|
%{?!AUTOSTART: %define AUTOSTART 0} |
|
# Use "rpm -[iU]vh --define 'AUTOSTART 1'" in order to have cimserver enabled |
|
# (chkconfig --level=345 tog-pegasus on) after installation. |
|
# |
|
|
Summary: OpenPegasus WBEM Services for Linux | Summary: OpenPegasus WBEM Services for Linux |
Name: tog-pegasus | Name: tog-pegasus |
Group: Systems Management/Base | Group: Systems Management/Base |
Copyright: Open Group Pegasus Open Source |
License: Open Group Pegasus Open Source |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz |
URL: http://www.openpegasus.org |
Requires: openssl >= 0.9.6 lsb >= 1.3 |
|
|
Source: %{name}-%{version}-%{packageVersion}.tar.gz |
|
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec |
|
|
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-buildRequires.spec |
|
# |
|
BuildRequires: bash, sed, grep, coreutils, procps, gcc, gcc-c++ |
|
BuildRequires: libstdc++, make, pam-devel |
|
BuildRequires: openssl-devel >= 0.9.6, e2fsprogs |
|
BuildRequires: net-snmp-devel |
|
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-buildRequires.spec |
|
|
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-requires.spec |
|
# |
|
Requires: bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam |
|
#Requires: krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs |
|
Requires: e2fsprogs, bind-utils, net-tools |
|
Requires(post): bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam |
|
#Requires(post): krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs |
|
Requires(post): e2fsprogs, bind-utils, net-tools |
|
Requires(pre): bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam |
|
#Requires(pre): krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs |
|
Requires(pre): e2fsprogs, bind-utils, net-tools |
|
Requires(postun): bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam |
|
#Requires(postun): krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs |
|
Requires(postun): e2fsprogs, bind-utils, net-tools |
|
Requires: net-snmp |
|
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-requires.spec |
|
|
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-desc.spec |
|
# |
|
Conflicts: openwbem |
Provides: tog-pegasus-cimserver | Provides: tog-pegasus-cimserver |
BuildRequires: openssl-devel >= 0.9.6 |
BuildConflicts: tog-pegasus |
| |
%description | %description |
OpenPegasus WBEM Services for Linux enables management solutions that deliver | OpenPegasus WBEM Services for Linux enables management solutions that deliver |
|
|
independent DMTF standard that defines a common information model and | independent DMTF standard that defines a common information model and |
communication protocol for monitoring and controlling resources from diverse | communication protocol for monitoring and controlling resources from diverse |
sources. | sources. |
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec |
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-desc.spec |
%global OPENSSL_HOME /usr/include/openssl |
|
%global OPENSSL_BIN /usr/bin |
|
%global PEGASUS_PEM_DIR /etc/opt/tog-pegasus |
|
%global PEGASUS_SSL_CERT_FILE server.pem |
|
%global PEGASUS_SSL_KEY_FILE file.pem |
|
%global PEGASUS_SSL_TRUSTSTORE client.pem |
|
%global PAM_CONFIG_DIR /etc/pam.d |
|
%global PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus |
|
%global PEGASUS_REPOSITORY_DIR /var/opt/tog-pegasus/repository |
|
%global PEGASUS_PREV_REPOSITORY_DIR /var/opt/tog-pegasus/prev_repository |
|
%global PEGASUS_SBIN_DIR /opt/tog-pegasus/sbin |
|
|
|
%global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION |
|
%global PEGASUS_RPM_HOME $RPM_BUILD_ROOT/build/tog-pegasus |
|
%global PEGASUS_INSTALL_LOG /var/opt/tog-pegasus/log/install.log |
|
| |
%ifarch ia64 x86_64 |
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-arch.spec |
|
# |
|
%ifarch ia64 |
%global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU | %global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU |
%else | %else |
|
%ifarch x86_64 |
|
%global PEGASUS_HARDWARE_PLATFORM LINUX_X86_64_GNU |
|
%else |
%ifarch ppc | %ifarch ppc |
%global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU | %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU |
%else | %else |
|
|
%endif | %endif |
%endif | %endif |
%endif | %endif |
|
%endif |
|
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-arch.spec |
|
|
|
%global PEGASUS_ARCH_LIB %{_lib} |
|
%global OPENSSL_HOME /usr |
|
%global OPENSSL_BIN /usr/bin |
|
%global PEGASUS_PEM_DIR /etc/Pegasus |
|
%global PEGASUS_SSL_CERT_FILE server.pem |
|
%global PEGASUS_SSL_KEY_FILE file.pem |
|
%global PEGASUS_SSL_TRUSTSTORE client.pem |
|
%global PAM_CONFIG_DIR /etc/pam.d |
|
%global PEGASUS_CONFIG_DIR /etc/Pegasus |
|
%global PEGASUS_VARDATA_DIR /var/lib/Pegasus |
|
%global PEGASUS_VARDATA_CACHE_DIR /var/lib/Pegasus/cache |
|
%global PEGASUS_LOCAL_DOMAIN_SOCKET_PATH /var/run/tog-pegasus/socket/cimxml.socket |
|
%global PEGASUS_CIMSERVER_START_FILE /var/run/tog-pegasus/cimserver.pid |
|
%global PEGASUS_TRACE_FILE_PATH /var/lib/Pegasus/cache/trace/cimserver.trc |
|
%global PEGASUS_CIMSERVER_START_LOCK_FILE /var/run/tog-pegasus/cimserver_start.lock |
|
%global PEGASUS_REPOSITORY_DIR /var/lib/Pegasus/repository |
|
%global PEGASUS_PREV_REPOSITORY_DIR_NAME prev_repository |
|
%global PEGASUS_REPOSITORY_PARENT_DIR /var/lib/Pegasus |
|
%global PEGASUS_PREV_REPOSITORY_DIR /var/lib/Pegasus/prev_repository |
|
%global PEGASUS_SBIN_DIR /usr/sbin |
|
%global PEGASUS_DOC_DIR /usr/share/doc/tog-pegasus-2.7 |
|
|
|
%global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION |
|
%global PEGASUS_RPM_HOME %PEGASUS_RPM_ROOT/build |
|
%global PEGASUS_INSTALL_LOG /var/lib/Pegasus/log/install.log |
| |
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec | # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec |
%package sdk |
# |
|
%package devel |
Summary: The OpenPegasus Software Development Kit | Summary: The OpenPegasus Software Development Kit |
Group: Systems Management/Base | Group: Systems Management/Base |
Autoreq: 0 |
|
Requires: tog-pegasus >= %{version} | Requires: tog-pegasus >= %{version} |
|
Obsoletes: tog-pegasus-sdk |
| |
%description sdk |
%description devel |
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 |
Services for Linux release. It provides Linux C++ developers with the WBEM files required to |
OpenPegasus WBEM Services for Linux release. It provides Linux C++ developers |
build WBEM Clients and Providers. It also supports C provider developers via the CMPI interface. |
with the WBEM files required to build WBEM Clients and Providers. It also |
|
supports C provider developers via the CMPI interface. |
| |
|
%if %{PEGASUS_BUILD_TEST_RPM} |
%package test | %package test |
Summary: The OpenPegasus Tests | Summary: The OpenPegasus Tests |
Group: Systems Management/Base | Group: Systems Management/Base |
Autoreq: 0 |
|
Requires: tog-pegasus >= %{version} | Requires: tog-pegasus >= %{version} |
| |
%description test | %description test |
The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm. | The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm. |
|
%endif |
|
# |
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec | # End of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec |
| |
%prep | %prep |
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
%setup -q -n %{name}-%{version} |
|
|
%setup -n %{name}-%{version} |
|
export PEGASUS_ROOT=%PEGASUS_RPM_ROOT |
|
| |
%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 |
export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM | export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM |
|
export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB |
export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status | export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status |
| |
export OPENSSL_HOME=%OPENSSL_HOME | export OPENSSL_HOME=%OPENSSL_HOME |
|
|
export LD_LIBRARY_PATH=$PEGASUS_HOME/lib | export LD_LIBRARY_PATH=$PEGASUS_HOME/lib |
export PATH=$PEGASUS_HOME/bin:$PATH | export PATH=$PEGASUS_HOME/bin:$PATH |
| |
export PEGASUS_EXTRA_C_FLAGS="-g $RPM_OPT_FLAGS" |
export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -g -Wno-unused" |
export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS" | export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS" |
|
export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS" |
|
#export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS -g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack" |
|
|
|
%if %{PEGASUS_BUILD_TEST_RPM} |
|
export PEGASUS_DISPLAYCONSUMER_DIR=%PEGASUS_VARDATA_DIR/log |
|
%endif |
| |
make -f $PEGASUS_ROOT/Makefile.Release create_ProductVersionFile | make -f $PEGASUS_ROOT/Makefile.Release create_ProductVersionFile |
make -f $PEGASUS_ROOT/Makefile.Release all |
make -f $PEGASUS_ROOT/Makefile.Release create_CommonProductDirectoriesInclude |
|
make -f $PEGASUS_ROOT/Makefile.Release create_ConfigProductDirectoriesInclude |
|
make %{?_smp_mflags} -f $PEGASUS_ROOT/Makefile.Release all |
|
chmod 777 %PEGASUS_RPM_HOME |
make -f $PEGASUS_ROOT/Makefile.Release repository | make -f $PEGASUS_ROOT/Makefile.Release repository |
|
# |
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec | # End of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec |
| |
%install | %install |
|
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec | # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-install.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 |
export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM | export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM |
|
export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB |
export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status | export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status |
| |
export OPENSSL_BIN=%OPENSSL_BIN | export OPENSSL_BIN=%OPENSSL_BIN |
|
|
| |
export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT | export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT |
| |
make -f $PEGASUS_ROOT/Makefile.Release stage PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR |
%if %{PEGASUS_BUILD_TEST_RPM} |
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec |
make -f $PEGASUS_ROOT/Makefile.Release stage \ |
[ "$PEGASUS_STAGING_DIR" != "/" ] && [ -d $PEGASUS_STAGING_DIR ] && [ -d $PEGASUS_STAGING_DIR%PEGASUS_PEM_DIR ] && rm -f $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE $PEGASUS_STAGING_DIR/%PEGASUS_CONFIG_DIR/ssl.cnf; |
PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR \ |
|
PEGASUS_BUILD_TEST_RPM=%{PEGASUS_BUILD_TEST_RPM} |
|
%else |
|
make -f $PEGASUS_ROOT/Makefile.Release stage \ |
|
PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR |
|
%endif |
|
|
[ "$PEGASUS_HOME" != "/" ] && [ -d $PEGASUS_HOME ] && rm -rf $PEGASUS_HOME; | [ "$PEGASUS_HOME" != "/" ] && [ -d $PEGASUS_HOME ] && rm -rf $PEGASUS_HOME; |
|
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec |
| |
%clean | %clean |
|
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec | # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec |
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
# |
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT; |
|
[ "${RPM_BUILD_DIR}" != "/" ] && rm -rf ${RPM_BUILD_DIR}/%{name}-%{version}; |
|
# |
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec | # End of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec |
| |
%pre | %pre |
|
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec | # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec |
if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ] |
# install remove upgrade reinstall |
then |
# pre 1 - 2 2 |
|
# |
|
# If it exists, the active OpenPegasus Repository |
|
# directory, %PEGASUS_REPOSITORY_DIR is renamed |
|
# to %PEGASUS_PREV_REPOSITORY_DIR. If |
|
# %PEGASUS_PREV_REPOSITORY_DIR already exists, |
|
# it is saved as an archive file. |
|
|
|
if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ]; then |
# | # |
# Save the current repository to prev_repository | # Save the current repository to prev_repository |
# | # |
if [[ -d %PEGASUS_REPOSITORY_DIR ]] |
if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then |
then |
/bin/tar -C %PEGASUS_REPOSITORY_PARENT_DIR -cf \ |
if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] |
%PEGASUS_PREV_REPOSITORY_DIR`date '+%Y-%m-%d-%s.%N'`.tar \ |
then |
%PEGASUS_PREV_REPOSITORY_DIR_NAME |
rm -rf %PEGASUS_PREV_REPOSITORY_DIR | rm -rf %PEGASUS_PREV_REPOSITORY_DIR |
fi | fi |
mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR |
/bin/mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR |
mkdir %PEGASUS_REPOSITORY_DIR |
fi |
|
if [ $1 -gt 0 ]; then |
|
# Create the 'pegasus' user and group: |
|
/usr/sbin/groupadd pegasus > /dev/null 2>&1 || :; |
|
/usr/sbin/useradd -c "tog-pegasus OpenPegasus WBEM/CIM services" \ |
|
-g pegasus -s /sbin/nologin -r -d %PEGASUS_VARDATA_DIR pegasus \ |
|
> /dev/null 2>&1 || :; |
fi | fi |
|
if [ $1 -eq 2 ]; then |
|
rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH; |
|
rm -f %PEGASUS_CIMSERVER_START_FILE; |
|
rm -f %PEGASUS_CIMSERVER_START_LOCK_FILE; |
fi | fi |
|
# |
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec | # End of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec |
| |
|
# When Privilege Separation is enabled, create the 'cimsrvr' user and |
|
# 'cimsrvr' group which are used as the context of the cimservermain process |
|
if [ $1 -gt 0 ]; then |
|
/usr/sbin/groupadd cimsrvr > /dev/null 2>&1 || :; |
|
/usr/sbin/useradd -c "tog-pegasus OpenPegasus WBEM/CIM services" \ |
|
-g cimsrvr -s /sbin/nologin -r -d %PEGASUS_VARDATA_DIR cimsrvr \ |
|
> /dev/null 2>&1 || :; |
|
fi |
|
|
%post | %post |
if [ $1 -eq 1 ]; then | if [ $1 -eq 1 ]; then |
echo `date` > %PEGASUS_INSTALL_LOG 2>&1 | echo `date` > %PEGASUS_INSTALL_LOG 2>&1 |
%define PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus |
%define PEGASUS_CONFIG_DIR /etc/Pegasus |
%define PEGASUS_PEM_DIR /etc/opt/tog-pegasus |
%define PEGASUS_PEM_DIR /etc/Pegasus |
%define PEGASUS_SSL_CERT_FILE server.pem | %define PEGASUS_SSL_CERT_FILE server.pem |
%define PEGASUS_SSL_KEY_FILE file.pem | %define PEGASUS_SSL_KEY_FILE file.pem |
%define PEGASUS_SSL_TRUSTSTORE client.pem | %define PEGASUS_SSL_TRUSTSTORE client.pem |
| |
# Create Symbolic Links for SDK Libraries | # Create Symbolic Links for SDK Libraries |
# | # |
ln -sf libpegclient.so.1 /opt/tog-pegasus/lib/libpegclient.so |
ln -sf libpegclient.so.1 /usr/%PEGASUS_ARCH_LIB/libpegclient.so |
ln -sf libpegcommon.so.1 /opt/tog-pegasus/lib/libpegcommon.so |
ln -sf libpegcommon.so.1 /usr/%PEGASUS_ARCH_LIB/libpegcommon.so |
ln -sf libpegprovider.so.1 /opt/tog-pegasus/lib/libpegprovider.so |
ln -sf libpegprovider.so.1 /usr/%PEGASUS_ARCH_LIB/libpegprovider.so |
ln -sf libDefaultProviderManager.so.1 /opt/tog-pegasus/lib/libDefaultProviderManager.so |
ln -sf libDefaultProviderManager.so.1 /usr/%PEGASUS_ARCH_LIB/libDefaultProviderManager.so |
ln -sf libCIMxmlIndicationHandler.so.1 /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so |
ln -sf libCIMxmlIndicationHandler.so.1 /usr/%PEGASUS_ARCH_LIB/libCIMxmlIndicationHandler.so |
ln -sf libCMPIProviderManager.so.1 /opt/tog-pegasus/lib/libCMPIProviderManager.so |
ln -sf libCMPIProviderManager.so.1 /usr/%PEGASUS_ARCH_LIB/libCMPIProviderManager.so |
|
ln -sf libsnmpIndicationHandler.so.1 /usr/%PEGASUS_ARCH_LIB/libsnmpIndicationHandler.so |
| |
# Create Symbolic Links for Packaged Provider Libraries | # Create Symbolic Links for Packaged Provider Libraries |
# | # |
ln -sf libComputerSystemProvider.so.1 /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so |
ln -sf libComputerSystemProvider.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libComputerSystemProvider.so |
ln -sf libOSProvider.so.1 /opt/tog-pegasus/providers/lib/libOSProvider.so |
ln -sf libOSProvider.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libOSProvider.so |
ln -sf libProcessProvider.so.1 /opt/tog-pegasus/providers/lib/libProcessProvider.so |
ln -sf libProcessProvider.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libProcessProvider.so |
| |
| |
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec | # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec |
|
# |
|
# install remove upgrade reinstall |
|
# %post 1 - 2 2 |
|
# |
|
export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB |
| |
# Create OpenSSL Configuration File (ssl.cnf) |
if [ $1 -eq 1 ]; then |
|
%if %{AUTOSTART} |
|
/sbin/chkconfig --add tog-pegasus |
|
%endif |
|
:; |
|
elif [ $1 -gt 0 ]; then |
|
/etc/init.d/tog-pegasus condrestart |
|
:; |
|
fi |
# | # |
if [ -f %PEGASUS_CONFIG_DIR/ssl.cnf ] |
|
then |
|
echo "WARNING: %PEGASUS_CONFIG_DIR/ssl.cnf already exists." |
|
else |
|
echo " Generating SSL Certificate..." |
|
echo "[ req ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
|
echo "distinguished_name = req_distinguished_name" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
|
echo "prompt = no" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
|
echo "[ req_distinguished_name ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
|
echo "C = UK" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
|
echo "ST = Berkshire" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
|
echo "L = Reading" >> %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 "CN = `host \`hostname\`|cut -d\" \" -f1`" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
|
chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf |
|
chown root %PEGASUS_CONFIG_DIR/ssl.cnf |
|
fi |
|
|
|
%OPENSSL_BIN/openssl req -x509 -days 3650 -newkey rsa:2048 \ |
|
-nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \ |
|
-keyout %PEGASUS_PEM_DIR/key.pem -out %PEGASUS_PEM_DIR/cert.pem \ |
|
2>>%PEGASUS_INSTALL_LOG |
|
|
|
cat %PEGASUS_PEM_DIR/key.pem > %PEGASUS_PEM_DIR/key-2048.pem |
|
chmod 400 %PEGASUS_PEM_DIR/key-2048.pem |
|
cat %PEGASUS_PEM_DIR/cert.pem > %PEGASUS_PEM_DIR/cert-2048.pem |
|
chmod 400 %PEGASUS_PEM_DIR/cert-2048.pem |
|
cat %PEGASUS_PEM_DIR/cert.pem > %PEGASUS_PEM_DIR/truststore-2048.pem |
|
chmod 400 %PEGASUS_PEM_DIR/truststore-2048.pem |
|
rm -f %PEGASUS_PEM_DIR/key.pem %PEGASUS_PEM_DIR/cert.pem |
|
|
|
if [ -f %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE ] |
|
then |
|
echo "WARNING: %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE SSL Certificate file already exists." |
|
else |
|
cp %PEGASUS_PEM_DIR/cert-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE |
|
chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE |
|
cp %PEGASUS_PEM_DIR/key-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE |
|
chmod 400 %PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE |
|
fi |
|
|
|
if [ -f %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE ] |
|
then |
|
echo "WARNING: %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE SSL Certificate trust store already exists." |
|
else |
|
cp %PEGASUS_PEM_DIR/truststore-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE |
|
chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE |
|
fi |
|
|
|
/usr/lib/lsb/install_initd /etc/init.d/tog-pegasus |
|
|
|
echo " To start Pegasus manually:" |
|
echo " /etc/init.d/tog-pegasus start" |
|
echo " Stop it:" |
|
echo " /etc/init.d/tog-pegasus stop" |
|
echo " To set up PATH and MANPATH in /etc/profile" |
|
echo " run /opt/tog-pegasus/sbin/settogpath." |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec | # End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec |
| |
|
elif [ $1 -gt 1 ]; then |
|
# Check if the cimserver is running |
|
isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"` |
|
if [ "$isRunning" ]; then |
|
/etc/init.d/tog-pegasus stop |
|
fi |
|
if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then |
|
# The old repository was moved to /var/lib/Pegasus/prev_repository. It should now be upgraded to the new repository /var/lib/Pegasus/repository. |
|
%PEGASUS_SBIN_DIR/repupgrade >> %PEGASUS_INSTALL_LOG 2>&1 |
|
chown -R cimsrvr %PEGASUS_REPOSITORY_DIR |
|
chgrp -R cimsrvr %PEGASUS_REPOSITORY_DIR |
|
fi |
|
if [ -f %PEGASUS_TRACE_FILE_PATH ]; then |
|
/bin/mv %PEGASUS_TRACE_FILE_PATH %PEGASUS_TRACE_FILE_PATH-`date '+%Y-%m-%d-%R'` |
|
fi |
|
if [ "$isRunning" ]; then |
|
/etc/init.d/tog-pegasus start |
fi | fi |
|
fi |
|
|
%preun | %preun |
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec |
|
# install remove upgrade reinstall |
|
# preun - 0 1 - |
if [ $1 -eq 0 ]; then | if [ $1 -eq 0 ]; then |
# Check if the cimserver is running | # Check if the cimserver is running |
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 |
%PEGASUS_SBIN_DIR/cimserver -s |
[ -f /var/opt/tog-pegasus/cimserver_current.conf ] && rm /var/opt/tog-pegasus/cimserver_current.conf; |
|
[ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG; |
|
[ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository; |
|
[ -d /var/opt/tog-pegasus/cache ] && rm -rf /var/opt/tog-pegasus/cache; |
|
rm -f /var/run/tog-pegasus/socket/cimxml.socket; |
|
rm -f /var/run/tog-pegasus/cimserver.pid |
|
fi | fi |
# Delete the Link to the rc.* Startup Directories |
/sbin/chkconfig --del tog-pegasus; |
/usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; |
rm -f %PEGASUS_VARDATA_DIR/cimserver_current.conf; |
|
rm -f %PEGASUS_INSTALL_LOG; |
|
[ -d %PEGASUS_REPOSITORY_DIR ] && rm -rf %PEGASUS_REPOSITORY_DIR; |
|
[ -d %PEGASUS_VARDATA_CACHE_DIR ] && rm -rf %PEGASUS_VARDATA_CACHE_DIR; |
|
rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH; |
|
rm -f %PEGASUS_CIMSERVER_START_FILE; |
|
rm -f %PEGASUS_CIMSERVER_START_LOCK_FILE; |
fi | fi |
|
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec |
| |
%preun sdk |
%preun devel |
make --directory /opt/tog-pegasus/samples -s clean |
# Check if the SDK has been setup |
|
if [ -f /usr/share/Pegasus/samples/SDKIsSetup ]; then |
|
make --directory /usr/share/Pegasus/samples -s unsetupSDK |
|
if [ $? != 0 ]; then |
|
echo "++++++++++++++++++++++++++++++++++++++++++++++" >&2 |
|
echo "ERROR: Failed to deregister sample providers." >&2 |
|
echo "To remove the SDK rpm without deregistering" >&2 |
|
echo "the sample providers, first remove file" >&2 |
|
echo "/usr/share/Pegasus/samples/SDKIsSetup," >&2 |
|
echo "then remove SDK rpm." >&2 |
|
echo "++++++++++++++++++++++++++++++++++++++++++++++" >&2 |
|
exit 1 |
|
fi |
|
fi |
|
make --directory /usr/share/Pegasus/samples -s clean |
| |
|
%if %{PEGASUS_BUILD_TEST_RPM} |
%preun test | %preun test |
make --directory /opt/tog-pegasus/test -s unsetupTEST |
make --directory /usr/share/Pegasus/test -s unsetupTEST |
[ -d /var/opt/tog-pegasus/testrepository ] && rm -rf /var/opt/tog-pegasus/testrepository; |
[ -d /var/lib/Pegasus/testrepository ] && rm -rf /var/lib/Pegasus/testrepository; |
| |
|
%endif |
%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/cert-2048.pem ] && rm %PEGASUS_PEM_DIR/cert-2048.pem; |
|
[ -f %PEGASUS_PEM_DIR/truststore-2048.pem ] && rm %PEGASUS_PEM_DIR/truststore-2048.pem; |
|
export LC_ALL=C | export LC_ALL=C |
fi | fi |
|
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-postun.spec |
%files |
|
%dir %attr(555,root ,root) /opt/tog-pegasus |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/share |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/share/man |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/share/man/man1 |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/share/man/man8 |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/lib |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/providers |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/providers/lib |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/sbin |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/bin |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/mof |
|
%dir %attr(555,root ,root) /var/opt/tog-pegasus |
|
%dir %attr(555,root ,root) /var/opt/tog-pegasus/cache |
|
%dir %attr(555,root ,root) /var/opt/tog-pegasus/log |
|
%dir %attr(555,root ,root) /var/opt/tog-pegasus/cache/localauth |
|
%dir %attr(555,root ,root) /var/run/tog-pegasus |
|
%dir %attr(555,root ,root) /etc/opt/tog-pegasus |
|
%dir %attr(1555,root,root) /var/run/tog-pegasus/socket |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/mof/CIM29 |
|
|
|
%dir %attr(555,root ,root) /opt/tog-pegasus/mof/Pegasus |
|
|
|
%attr(-,root,root) /var/opt/tog-pegasus/repository |
|
|
|
%doc %attr(444,root ,root) /opt/tog-pegasus/license.txt |
|
%doc %attr(444,root ,root) /opt/tog-pegasus/share/man/man1/cimmof.1 |
|
%doc %attr(444,root ,root) /opt/tog-pegasus/share/man/man1/cimprovider.1 |
|
%doc %attr(444,root ,root) /opt/tog-pegasus/share/man/man1/osinfo.1 |
|
%doc %attr(444,root ,root) /opt/tog-pegasus/share/man/man1/wbemexec.1 |
|
%doc %attr(444,root ,root) /opt/tog-pegasus/share/man/man8/cimauth.8 |
|
%doc %attr(444,root ,root) /opt/tog-pegasus/share/man/man8/cimconfig.8 |
|
%doc %attr(444,root ,root) /opt/tog-pegasus/share/man/man8/cimserver.8 |
|
|
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_AppRuntime.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_BIOS.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_CheckAction.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_DeploymentModel.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_InstalledProduct.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_J2eeAppServer.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_J2eeAppServerStats.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Application_SystemSoftware.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Application.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Core.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Database.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Device.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Event.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_IPsecPolicy.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Interop.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Metrics.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Network.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Physical.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Policy.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Schema.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_Support.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_System.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/CIM_User.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Capabilities.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Collection.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_CoreElements.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Device.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_MethodParms.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Physical.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_PowerMgmt.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_ProductFRU.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Qualifiers.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Redundancy.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Service.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Settings.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Software.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_Statistics.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Core_StorageExtent.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Database_Statistics.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Database_Storage.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Database_System.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_Controller.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_CoolingAndPower.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_DeviceElements.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_DiskGroup.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_FC.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_IB.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_Memory.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_Modems.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_NetworkAdapter.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_Ports.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_Printing.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_Processor.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_ProtocolController.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_SccExtents.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_Sensors.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_StorageDevices.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_StorageExtents.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_StorageLib.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_StorageServices.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_USB.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Device_UserDevices.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Metrics_BaseMetric.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Metrics_UnitOfWork.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_BGP.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_Buffers.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_Collections.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_Filtering.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_IPsec.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_OSPF.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_Pipes.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_ProtocolEndpoints.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_QoS.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_Routes.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_RoutingForwarding.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_SNMP.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_SwitchingBridging.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_Systems.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Network_VLAN.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Physical_Component.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Physical_Connector.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Physical_Link.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Physical_Misc.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Physical_Package.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Physical_PhysicalMedia.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/Physical_StoragePackage.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_Boot.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_Diagnostics.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_FileElements.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_Help.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_Logs.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_OperatingSystem.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_Processing.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_SystemElements.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_SystemResources.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_Time.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/System_Unix.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_AccessControl.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Account.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_AuthenticationReqmt.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Credential.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Group.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Identity.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Kerberos.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Org.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Privilege.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_PrivilegeManagementService.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_PublicKey.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_Role.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_SecurityLevel.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_SecurityServices.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_SharedSecret.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_StorageHardwareID.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/CIM29/User_UsersAccess.mof |
|
|
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_Authorization20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_ConfigSetting20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_InternalSchema20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_ShutdownService20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_User20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_Events20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_InterOpSchema20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_ProviderModule20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_ComputerSystem20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_ComputerSystem20R.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_ManagedSystemSchema20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_ManagedSystemSchema20R.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_OperatingSystem20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_OperatingSystem20R.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof |
|
|
|
%config(noreplace) %attr(644,root,root) /var/opt/tog-pegasus/cimserver_planned.conf |
|
%config %attr(500,root ,root) /etc/init.d/tog-pegasus |
|
%config %attr(444,root ,root) %PAM_CONFIG_DIR/wbem |
|
|
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimauth |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimconfig |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimserver |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimuser |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimprovagt |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimservera |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/init_repository |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/settogpath |
|
|
|
%attr(555,root ,root) /opt/tog-pegasus/bin/cimmof |
|
%attr(555,root ,root) /opt/tog-pegasus/bin/cimmofl |
|
%attr(555,root ,root) /opt/tog-pegasus/bin/cimprovider |
|
%attr(555,root ,root) /opt/tog-pegasus/bin/osinfo |
|
%attr(555,root ,root) /opt/tog-pegasus/bin/wbemexec |
|
|
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libConfigSettingProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libNamespaceProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libProviderRegistrationProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libUserAuthProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegauthentication.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegclient.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegcliutils.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegcommon.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegcompiler.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegconfig.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegexportclient.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegexportserver.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpeggetoopt.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpeghandlerservice.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegindicationservice.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpeglistener.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegprm.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegprovider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegprovidermanager.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegrepository.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegserver.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpeguser.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegwql.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libDefaultProviderManager.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libCertificateProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegqueryexpression.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegcql.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegquerycommon.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libCIMQueryCapabilitiesProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libInteropProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libCIMOMStatDataProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libpegservice.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libCMPIProviderManager.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/lib/libcmpiCppImpl.so.1 |
|
/opt/tog-pegasus/lib/libpegclient.so |
|
/opt/tog-pegasus/lib/libpegcommon.so |
|
/opt/tog-pegasus/lib/libpegprovider.so |
|
/opt/tog-pegasus/lib/libDefaultProviderManager.so |
|
/opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so |
|
/opt/tog-pegasus/lib/libCMPIProviderManager.so |
|
|
|
%attr(555,root ,root) /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/providers/lib/libOSProvider.so.1 |
|
%attr(555,root ,root) /opt/tog-pegasus/providers/lib/libProcessProvider.so.1 |
|
/opt/tog-pegasus/providers/lib/libComputerSystemProvider.so |
|
/opt/tog-pegasus/providers/lib/libOSProvider.so |
|
/opt/tog-pegasus/providers/lib/libProcessProvider.so |
|
|
|
%files sdk |
|
|
|
# SDK Include Files |
|
# |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/include |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Client |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Common |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Consumer |
|
%dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Provider |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClientException.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClient.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/Linkage.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Array.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/ArrayInter.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Char16.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMClass.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMDateTime.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMFlavor.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMIndication.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMInstance.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMMethod.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMName.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMObject.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMObjectPath.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMParameter.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMParamValue.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMProperty.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMPropertyList.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMQualifierDecl.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMQualifier.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMScope.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMStatusCode.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMType.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMValue.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Config.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Exception.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Linkage.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/OperationContext.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/ResponseHandler.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/SSLContext.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/String.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Consumer/CIMIndicationConsumer.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Consumer/Linkage.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMAssociationProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMIndicationConsumerProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMIndicationProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMInstanceProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMMethodProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMOMHandle.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/Linkage.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/ProviderException.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/AcceptLanguages.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/MessageLoader.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/ContentLanguages.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElementContainer.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/AcceptLanguageElement.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Formatter.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/ContentLanguageElement.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElement.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/ClientOpPerformanceDataHandler.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMOperationType.h |
|
%attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h |
|
|
|
# SDK Sample Files |
|
# |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++ |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++ |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/Load |
|
%dir %attr(777,root ,root) /opt/tog-pegasus/samples/mak |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/mak/config.mak |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/mak/program.mak |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/mak/recurse.mak |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/mak/library.mak |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/mak/common.mak |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/mak/%PEGASUS_HARDWARE_PLATFORM.mak |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/SampleProviderSchema.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/IndicationProviderR.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/Makefile |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/InstanceProviderR.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/MethodProviderR.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/SimpleDisplayConsumerR.mof |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProvider.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProvider.h |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/InvokeMethod.xml |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp |
|
%attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h |
|
|
|
# SDK Documentation |
|
# | # |
%attr(-,root ,root) /opt/tog-pegasus/html |
# install remove upgrade reinstall |
|
# postun - 0 1 - |
|
if [ $1 -eq 0 ]; then |
|
/usr/sbin/userdel pegasus > /dev/null 2>&1 || :; |
|
/usr/sbin/groupdel pegasus > /dev/null 2>&1 || :; |
|
fi; |
|
# |
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-postun.spec |
| |
%files test |
# When Privilege Separation is enabled, delete the 'cimsrvr' user and |
|
# 'cimsrvr' group which are used as the context of the cimservermain process |
|
if [ $1 -eq 0 ]; then |
|
/usr/sbin/userdel cimsrvr > /dev/null 2>&1 || :; |
|
/usr/sbin/groupdel cimsrvr > /dev/null 2>&1 || :; |
|
fi |
| |
# Test Files |
%files |
# |
%defattr(600, cimsrvr, cimsrvr, 700) |
%dir %attr(555, root ,root) /opt/tog-pegasus/test |
/var/lib/Pegasus/repository |
%dir %attr(555, root ,root) /opt/tog-pegasus/test/lib |
%defattr(600, root, pegasus, 755) |
%dir %attr(555, root ,root) /opt/tog-pegasus/test/bin |
%dir /usr/share/doc/tog-pegasus-2.7 |
%dir %attr(555, root ,root) /opt/tog-pegasus/test/mak |
%dir /usr/share/Pegasus |
%attr(444,root ,root) /opt/tog-pegasus/test/mak/commands.mak |
%dir /usr/share/Pegasus/scripts |
%attr(555,root ,root) /opt/tog-pegasus/test/lib/libSampleInstanceProvider.so.1 |
%dir /usr/share/Pegasus/mof |
%attr(555,root ,root) /opt/tog-pegasus/test/lib/libSampleMethodProvider.so.1 |
%dir /usr/share/Pegasus/mof/Pegasus |
%attr(555,root ,root) /opt/tog-pegasus/test/lib/libFamilyProvider.so.1 |
%dir /var/lib/Pegasus |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestAbstract |
%dir /var/lib/Pegasus/cache |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestArray |
%dir /var/lib/Pegasus/log |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestBase64 |
%dir /var/lib/Pegasus/cache/localauth |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestClassDecl |
%dir /usr/%PEGASUS_ARCH_LIB/Pegasus |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestDateTime |
%dir /usr/%PEGASUS_ARCH_LIB/Pegasus/providers |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestFlavor |
|
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestFormatter |
%dir %attr(755, root, pegasus) /etc/Pegasus |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestHashTable |
%dir %attr(755, cimsrvr, cimsrvr) /var/run/tog-pegasus |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestInstanceDecl |
%dir %attr(1755,cimsrvr,cimsrvr) /var/run/tog-pegasus/socket |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestLogger |
%dir %attr(1777,root,pegasus) /var/lib/Pegasus/cache/trace |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestMethod |
|
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestObject |
/usr/share/Pegasus/mof/Pegasus/* |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestOperationContext |
|
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestParamValue |
%config %attr(750,root,pegasus) /etc/init.d/tog-pegasus |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestParameter |
%config(noreplace) %attr(644, root, pegasus) /var/lib/Pegasus/cimserver_planned.conf |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestProperty |
%config(noreplace) /etc/Pegasus/access.conf |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestQualifier |
%config(noreplace) /etc/pam.d/wbem |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestQualifierDecl |
|
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestQualifierList |
%ghost %config(noreplace) /etc/Pegasus/ssl.cnf |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestQueue |
%ghost %config(noreplace) /etc/Pegasus/client.pem |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestReference |
%ghost %config(noreplace) /etc/Pegasus/server.pem |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestResolve |
%ghost %config(noreplace) /etc/Pegasus/file.pem |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestResponseHandler |
%ghost /var/lib/Pegasus/log/install.log |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestScope |
|
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestStack |
%attr(755,root,pegasus) /usr/sbin/* |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestStopwatch |
%attr(755,root,pegasus) /usr/bin/* |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestStrToInstName |
%attr(755,root,pegasus) /usr/%PEGASUS_ARCH_LIB/*.so.1 |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestString |
%attr(755,root,pegasus) /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/*.so.1 |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestTimeValue |
%attr(750,root,pegasus) /usr/share/Pegasus/scripts/* |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestToMof |
%attr(644,root,pegasus) /usr/share/man/man1/* |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestValidateClass |
%attr(644,root,pegasus) /usr/share/man/man8/* |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestValue |
|
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TracerTest |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.7/Admin_Guide_Release.pdf |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/IPC |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.7/PegasusSSLGuidelines.htm |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/TestClient |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.7/license.txt |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/OSTestClient |
/usr/%PEGASUS_ARCH_LIB/libpegclient.so |
%attr(555,root ,root) /opt/tog-pegasus/test/bin/InvokeMethod2 |
/usr/%PEGASUS_ARCH_LIB/libpegcommon.so |
%attr(444,root ,root) /opt/tog-pegasus/test/Makefile |
/usr/%PEGASUS_ARCH_LIB/libpegprovider.so |
%attr(-,root,root) /var/opt/tog-pegasus/testrepository |
/usr/%PEGASUS_ARCH_LIB/libDefaultProviderManager.so |
|
/usr/%PEGASUS_ARCH_LIB/libCIMxmlIndicationHandler.so |
|
/usr/%PEGASUS_ARCH_LIB/libCMPIProviderManager.so |
|
/usr/%PEGASUS_ARCH_LIB/libsnmpIndicationHandler.so |
|
/usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libComputerSystemProvider.so |
|
/usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libOSProvider.so |
|
/usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libProcessProvider.so |
|
|
|
%files devel |
|
%defattr(644,root,pegasus,755) |
|
/usr/share/Pegasus/samples |
|
/usr/include/Pegasus |
|
/usr/share/doc/tog-pegasus-2.7/* |
|
/usr/share/Pegasus/html |
|
%attr(755,root,pegasus) /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/*.so |
| |
|
%if %{PEGASUS_BUILD_TEST_RPM} |
|
%files test |
|
%defattr(-,root,pegasus,-) |
|
/usr/share/Pegasus/test |
|
%defattr(600,cimsrvr, cimsrvr,700) |
|
/var/lib/Pegasus/testrepository |
|
%endif |