re-import sources as agreed with the maintainer
This commit is contained in:
parent
f197c31b51
commit
502a6855c2
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
/cim_schema_2.38.0Experimental-MOFs.zip
|
/pegasus-2.*.tar.gz
|
||||||
/pegasus-2.14.1.tar.gz
|
/cim_schema_*.zip
|
||||||
/repupgrade.1.gz
|
|
||||||
|
117
pegasus-2.5.1-warnings.patch
Normal file
117
pegasus-2.5.1-warnings.patch
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
--- pegasus/src/Pegasus/ProviderManager2/CMPI/CMPIProviderManager.cpp.warnings 2006-02-28 14:53:30.000000000 -0500
|
||||||
|
+++ pegasus/src/Pegasus/ProviderManager2/CMPI/CMPIProviderManager.cpp 2006-04-05 19:27:27.000000000 -0400
|
||||||
|
@@ -88,7 +88,7 @@
|
||||||
|
char **props;
|
||||||
|
int pCount;
|
||||||
|
public:
|
||||||
|
- CMPIPropertyList(CIMPropertyList &propertyList) {
|
||||||
|
+ CMPIPropertyList(CIMPropertyList &propertyList) : props(0L), pCount(0) {
|
||||||
|
if (!propertyList.isNull()) {
|
||||||
|
Array<CIMName> p=propertyList.getPropertyNameArray();
|
||||||
|
pCount=p.size();
|
||||||
|
@@ -2497,7 +2497,7 @@
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
- indProvRecord *provRec;
|
||||||
|
+ indProvRecord *provRec = 0L;
|
||||||
|
if (provTab.lookup (ph.GetProvider ().getName (), provRec))
|
||||||
|
{
|
||||||
|
provRec->enabled = true;
|
||||||
|
@@ -2587,7 +2587,7 @@
|
||||||
|
PEG_METHOD_ENTER (TRC_PROVIDERMANAGER,
|
||||||
|
"CMPIProviderManager::_callDisableIndications");
|
||||||
|
|
||||||
|
- indProvRecord * provRec;
|
||||||
|
+ indProvRecord * provRec = 0L;
|
||||||
|
if (provTab.lookup (ph.GetProvider ().getName (), provRec))
|
||||||
|
{
|
||||||
|
provRec->enabled = false;
|
||||||
|
--- pegasus/src/Pegasus/Config/ConfigManager.cpp.warnings 2006-03-14 16:06:37.000000000 -0500
|
||||||
|
+++ pegasus/src/Pegasus/Config/ConfigManager.cpp 2006-04-05 19:27:27.000000000 -0400
|
||||||
|
@@ -758,7 +758,7 @@
|
||||||
|
//
|
||||||
|
for (Uint32 i = 0; i < NUM_PROPERTIES; i++)
|
||||||
|
{
|
||||||
|
- const char* fixedValue;
|
||||||
|
+ const char* fixedValue = 0L;
|
||||||
|
|
||||||
|
_properties[i].propertyOwner->initialize();
|
||||||
|
|
||||||
|
--- pegasus/src/Pegasus/Common/Packer.h.warnings 2006-01-30 11:17:07.000000000 -0500
|
||||||
|
+++ pegasus/src/Pegasus/Common/Packer.h 2006-04-05 19:27:27.000000000 -0400
|
||||||
|
@@ -173,12 +173,12 @@
|
||||||
|
|
||||||
|
inline void Packer::packReal32(Buffer& out, Real32 x)
|
||||||
|
{
|
||||||
|
- packUint32(out, *((Uint32*)&x));
|
||||||
|
+ packUint32(out, *(reinterpret_cast<Uint32*>(&x)));
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void Packer::packReal64(Buffer& out, Real64 x)
|
||||||
|
{
|
||||||
|
- packUint64(out, *((Uint64*)&x));
|
||||||
|
+ packUint64(out, *(reinterpret_cast<Uint64*>(&x)));
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void Packer::packChar16(Buffer& out, Char16 x)
|
||||||
|
--- pegasus/src/Pegasus/Common/StringInline.h.warnings 2006-01-30 11:17:08.000000000 -0500
|
||||||
|
+++ pegasus/src/Pegasus/Common/StringInline.h 2006-04-05 19:30:43.000000000 -0400
|
||||||
|
@@ -102,7 +102,7 @@
|
||||||
|
|
||||||
|
PEGASUS_STRING_INLINE const Char16* String::getChar16Data() const
|
||||||
|
{
|
||||||
|
- return (Char16*)_rep->data;
|
||||||
|
+ return (Char16*)&(_rep->data[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
PEGASUS_STRING_INLINE Char16& String::operator[](Uint32 i)
|
||||||
|
@@ -145,7 +145,7 @@
|
||||||
|
|
||||||
|
PEGASUS_STRING_INLINE Uint32 String::find(const String& s) const
|
||||||
|
{
|
||||||
|
- return StringFindAux(_rep, (Char16*)s._rep->data, s._rep->size);
|
||||||
|
+ return StringFindAux(_rep, (Char16*)&(s._rep->data[0]), s._rep->size);
|
||||||
|
}
|
||||||
|
|
||||||
|
PEGASUS_STRING_INLINE String& String::append(const Char16& c)
|
||||||
|
--- pegasus/src/Pegasus/Common/ResponseHandler.cpp.warnings 2006-01-30 11:17:07.000000000 -0500
|
||||||
|
+++ pegasus/src/Pegasus/Common/ResponseHandler.cpp 2006-04-05 19:27:27.000000000 -0400
|
||||||
|
@@ -79,7 +79,7 @@
|
||||||
|
ResponseHandlerRep* _getRep(
|
||||||
|
const ResponseHandler* object)
|
||||||
|
{
|
||||||
|
- ResponseHandlerRep* rep;
|
||||||
|
+ ResponseHandlerRep* rep = 0L;
|
||||||
|
Boolean found;
|
||||||
|
|
||||||
|
AutoMutex lock(repTableMutex);
|
||||||
|
@@ -91,7 +91,7 @@
|
||||||
|
void _deleteRep(
|
||||||
|
ResponseHandler* object)
|
||||||
|
{
|
||||||
|
- ResponseHandlerRep* rep;
|
||||||
|
+ ResponseHandlerRep* rep = 0L;
|
||||||
|
Boolean found;
|
||||||
|
|
||||||
|
AutoMutex lock(repTableMutex);
|
||||||
|
--- pegasus/src/Pegasus/Common/String.cpp.warnings 2006-01-30 11:17:08.000000000 -0500
|
||||||
|
+++ pegasus/src/Pegasus/Common/String.cpp 2006-04-05 19:27:27.000000000 -0400
|
||||||
|
@@ -843,7 +843,7 @@
|
||||||
|
|
||||||
|
String& String::append(const String& str)
|
||||||
|
{
|
||||||
|
- return append((Char16*)str._rep->data, str._rep->size);
|
||||||
|
+ return append((Char16*)(&(str._rep->data[0])), str._rep->size);
|
||||||
|
}
|
||||||
|
|
||||||
|
String& String::append(const char* str, Uint32 size)
|
||||||
|
@@ -905,7 +905,7 @@
|
||||||
|
if (n == PEG_NOT_FOUND || n > _rep->size - index)
|
||||||
|
n = _rep->size - index;
|
||||||
|
|
||||||
|
- return String((Char16*)_rep->data + index, n);
|
||||||
|
+ return String((Char16*)(_rep->data + index), n);
|
||||||
|
}
|
||||||
|
|
||||||
|
return String();
|
158
pegasus_arch_alternatives
Executable file
158
pegasus_arch_alternatives
Executable file
@ -0,0 +1,158 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Script to manage tog-pegasus alternatives for multi-lib platforms
|
||||||
|
#
|
||||||
|
# Jason Vas Dias<jvdias@redhat.com>, Red Hat, Inc. June 2006
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# pegasus_arch_alternatives
|
||||||
|
# ( --list [pfx] |
|
||||||
|
# ( [ devel | test ] [ -64 ] [ -32 ] [ --remove ] [ --display ] )
|
||||||
|
# )
|
||||||
|
# no args : set up library and binary 'pegasus' alternatives
|
||||||
|
# --list : list 64/32-bit alternatives, with optional prefix pfx
|
||||||
|
# devel : set up the 'pegasus-devel' alternative
|
||||||
|
# test : set up the 'pegasus-test' alternative
|
||||||
|
# -64 : select 64-bit alternatives
|
||||||
|
# -32 : select 32-bit alternatives
|
||||||
|
# --remove : remove all pegasus alternatives
|
||||||
|
# --display: display the pegasus alternatives
|
||||||
|
#
|
||||||
|
ALT='pegasus'
|
||||||
|
LINK=/usr/sbin/cimserver
|
||||||
|
SLAVES=(/usr/{bin/{cimmof,cimmofl,cimprovider,osinfo,wbemexec},sbin/{cimauth,cimconfig,cimprovagt,cimsub,cimuser,repupgrade}})
|
||||||
|
DEVEL_LINK=/usr/share/Pegasus/samples/mak/config.mak
|
||||||
|
TEST_LINK=/usr/share/Pegasus/test/Makefile
|
||||||
|
#
|
||||||
|
# Handle listing arg:
|
||||||
|
#
|
||||||
|
if [ "$1" = '--list' ]; then
|
||||||
|
pfx='';
|
||||||
|
if [ $# -gt 1 ]; then
|
||||||
|
pfx=$2' ';
|
||||||
|
fi;
|
||||||
|
for f in $LINK ${SLAVES[@]} $DEVEL_LINK $TEST_LINK; do
|
||||||
|
echo ${pfx}$f;
|
||||||
|
done;
|
||||||
|
exit 0;
|
||||||
|
fi
|
||||||
|
#
|
||||||
|
# Ensure that files and alternatives are correctly in-sync for architecture:
|
||||||
|
#
|
||||||
|
ARCH=`/bin/uname -i`
|
||||||
|
case $ARCH in
|
||||||
|
# return for arches that have no alternatives
|
||||||
|
ia64 )
|
||||||
|
# nothing to be done - shipped without binary suffix
|
||||||
|
exit 0;
|
||||||
|
;;
|
||||||
|
i386 | ppc | s390 | sparc )
|
||||||
|
# shipped with -32 suffix, but no alternatives possible - move:
|
||||||
|
for f in $LINK ${SLAVES[@]} $DEVEL_LINK $TEST_LINK;
|
||||||
|
do
|
||||||
|
if [ -f ${f}-32 ] ; then
|
||||||
|
/bin/mv -f ${f}-32 $f;
|
||||||
|
fi;
|
||||||
|
done;
|
||||||
|
exit 0;
|
||||||
|
;;
|
||||||
|
x86_64 | ppc64 | ppc64le | s390x | sparc64 )
|
||||||
|
# continue
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# unhandled architecture
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
esac;
|
||||||
|
if [ "$1" = 'devel' ] || [ "$1" = 'test' ]; then
|
||||||
|
ALT='pegasus-'$1;
|
||||||
|
shift;
|
||||||
|
SLAVES=();
|
||||||
|
if [ "$ALT" = 'pegasus-devel' ]; then
|
||||||
|
LINK=$DEVEL_LINK;
|
||||||
|
else
|
||||||
|
LINK=$TEST_LINK;
|
||||||
|
fi;
|
||||||
|
fi;
|
||||||
|
#
|
||||||
|
# Ensure that whatever alternatives can be installed, are installed,
|
||||||
|
# and those that can't be installed are removed:
|
||||||
|
#
|
||||||
|
alternatives="`/usr/sbin/alternatives --display $ALT 2>/dev/null`";
|
||||||
|
slaves64=''
|
||||||
|
slaves32=''
|
||||||
|
installed64=1;
|
||||||
|
installed32=1;
|
||||||
|
for f in $LINK ${SLAVES[@]}; do
|
||||||
|
if [ $installed64 -eq 1 ] && [ -f ${f}-64 ]; then
|
||||||
|
slaves64=${slaves64}'--slave '$f' '${f##*/}' '${f}-64' ';
|
||||||
|
else
|
||||||
|
installed64=0;
|
||||||
|
continue;
|
||||||
|
fi;
|
||||||
|
if [ $installed32 -eq 1 ] && [ -f ${f}-32 ]; then
|
||||||
|
slaves32=${slaves32}'--slave '$f' '${f##*/}' '${f}-32' ';
|
||||||
|
else
|
||||||
|
installed32=0;
|
||||||
|
continue;
|
||||||
|
fi;
|
||||||
|
if [ -e $f ] && [ ! -L $f ]; then
|
||||||
|
/bin/rm -f $f;
|
||||||
|
fi;
|
||||||
|
done
|
||||||
|
if [ $installed64 -eq 0 ]; then
|
||||||
|
/usr/sbin/alternatives --remove $ALT ${LINK}-64 >/dev/null 2>&1 || :;
|
||||||
|
elif ! echo "$alternatives" | /bin/egrep -q "^${LINK}-64"; then
|
||||||
|
/usr/sbin/alternatives --install $LINK $ALT ${LINK}-64 50 $slaves64;
|
||||||
|
fi;
|
||||||
|
if [ $installed32 -eq 0 ]; then
|
||||||
|
/usr/sbin/alternatives --remove $ALT ${LINK}-32 >/dev/null 2>&1 || :;
|
||||||
|
elif ! echo "$alternatives" | /bin/egrep -q "^${LINK}-32"; then
|
||||||
|
/usr/sbin/alternatives --install $LINK $ALT ${LINK}-32 50 $slaves32;
|
||||||
|
fi;
|
||||||
|
#
|
||||||
|
# Handle optional user args
|
||||||
|
#
|
||||||
|
if [ -n "$1" ]; then
|
||||||
|
case $1 in
|
||||||
|
-64 )
|
||||||
|
if [ $installed64 -eq 1 ]; then
|
||||||
|
/usr/sbin/alternatives --set $ALT ${LINK}-64;
|
||||||
|
if [ "$ALT" = 'pegasus' ]; then
|
||||||
|
/usr/sbin/alternatives --set pegasus-devel ${DEVEL_LINK}-64 >/dev/null 2>&1;
|
||||||
|
/usr/sbin/alternatives --set pegasus-test ${TEST_LINK}-64 >/dev/null 2>&1;
|
||||||
|
fi;
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
-32 )
|
||||||
|
if [ $installed32 -eq 1 ]; then
|
||||||
|
/usr/sbin/alternatives --set $ALT ${LINK}-32;
|
||||||
|
if [ "$ALT" = 'pegasus' ]; then
|
||||||
|
/usr/sbin/alternatives --set pegasus-devel ${DEVEL_LINK}-32 >/dev/null 2>&1;
|
||||||
|
/usr/sbin/alternatives --set pegasus-test ${TEST_LINK}-32 >/dev/null 2>&1;
|
||||||
|
fi;
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
--remove )
|
||||||
|
/usr/sbin/alternatives --remove $ALT ${LINK}-32 >/dev/null 2>&1;
|
||||||
|
/usr/sbin/alternatives --remove $ALT ${LINK}-64 >/dev/null 2>&1;
|
||||||
|
if [ "$ALT" = 'pegasus' ]; then
|
||||||
|
/usr/sbin/alternatives --remove pegasus-devel ${DEVEL_LINK}-32 >/dev/null 2>&1;
|
||||||
|
/usr/sbin/alternatives --remove pegasus-devel ${DEVEL_LINK}-64 >/dev/null 2>&1;
|
||||||
|
/usr/sbin/alternatives --remove pegasus-test ${TEST_LINK}-32 >/dev/null 2>&1;
|
||||||
|
/usr/sbin/alternatives --remove pegasus-test ${TEST_LINK}-64 >/dev/null 2>&1;
|
||||||
|
fi;
|
||||||
|
;;
|
||||||
|
--display )
|
||||||
|
/usr/sbin/alternatives --display $ALT;
|
||||||
|
if [ "$ALT" = 'pegasus' ]; then
|
||||||
|
/usr/sbin/alternatives --display pegasus-devel;
|
||||||
|
/usr/sbin/alternatives --display pegasus-test;
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
esac;
|
||||||
|
fi;
|
||||||
|
exit 0;
|
69
pegasus_rpm_build_env.sh
Normal file
69
pegasus_rpm_build_env.sh
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
# pegasus_rpm_build_env.sh:
|
||||||
|
#
|
||||||
|
# Open Pegasus RPM %build + %install environment setup.
|
||||||
|
#
|
||||||
|
# Expects these variables to be set on entry:
|
||||||
|
# RPM_ARCH : rpmbuild architecture identifier
|
||||||
|
# RPM_OPT_FLAGS : rpmbuild compile options
|
||||||
|
# RPM_BUILD_DIR : rpmbuild source directory
|
||||||
|
# RPM_BUILD_ROOT: rpmbuild build destination directory
|
||||||
|
# RPM_ARCH_LIB : %{_lib} : lib or lib64
|
||||||
|
# SRCNAME : name of pegasus source directory
|
||||||
|
#
|
||||||
|
# compile options:
|
||||||
|
#
|
||||||
|
export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -Wno-unused"
|
||||||
|
export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"
|
||||||
|
export PEGASUS_EXTRA_PROGRAM_LINK_FLAGS="-pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack"
|
||||||
|
export SYS_INCLUDES=-I/usr/kerberos/include
|
||||||
|
#
|
||||||
|
# build object directories:
|
||||||
|
#
|
||||||
|
SRCNAME=${SRCNAME:-pegasus}
|
||||||
|
export PEGASUS_ROOT=${RPM_BUILD_DIR}/${SRCNAME}
|
||||||
|
export PEGASUS_HOME=${RPM_BUILD_DIR}/${SRCNAME}/build
|
||||||
|
#
|
||||||
|
# build time settings:
|
||||||
|
export PEGASUS_ARCH_LIB=${RPM_ARCH_LIB:-lib}
|
||||||
|
export PEGASUS_ENVVAR_FILE=${PEGASUS_ROOT}/env_var_Linux.status
|
||||||
|
export OPENSSL_HOME=/usr
|
||||||
|
export OPENSSL_BIN=/usr/bin
|
||||||
|
export LD_LIBRARY_PATH=${PEGASUS_HOME}/lib
|
||||||
|
export PATH=${PEGASUS_HOME}/bin:${PATH}
|
||||||
|
#
|
||||||
|
# PEGASUS_PLATFORM (hardware platform) setup:
|
||||||
|
#
|
||||||
|
if [ -z "$RPM_ARCH" ]; then
|
||||||
|
export RPM_ARCH=`/bin/uname -i`;
|
||||||
|
fi;
|
||||||
|
case ${RPM_ARCH} in
|
||||||
|
ia64)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_IA64_GNU;
|
||||||
|
;;
|
||||||
|
x86_64)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_X86_64_GNU;
|
||||||
|
;;
|
||||||
|
ppc)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_PPC_GNU;
|
||||||
|
;;
|
||||||
|
ppc64|ppc64le|pseries)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_PPC64_GNU;
|
||||||
|
;;
|
||||||
|
s390)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_ZSERIES_GNU;
|
||||||
|
export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char";
|
||||||
|
export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS";
|
||||||
|
;;
|
||||||
|
s390x|zseries)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_ZSERIES64_GNU;
|
||||||
|
export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char";
|
||||||
|
export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS";
|
||||||
|
;;
|
||||||
|
i386)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_IX86_GNU
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Architecture unsupported by pegasus: $RPM_ARCH";
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
esac;
|
BIN
repupgrade.1.gz
Normal file
BIN
repupgrade.1.gz
Normal file
Binary file not shown.
142
rpm_build_env
Normal file
142
rpm_build_env
Normal file
@ -0,0 +1,142 @@
|
|||||||
|
# Pegasus RPM %build + %install environment setup:
|
||||||
|
#
|
||||||
|
# compile options:
|
||||||
|
#
|
||||||
|
export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -fPIC -g -Wall -Wno-unused"
|
||||||
|
export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"
|
||||||
|
export PEGASUS_EXE_LINK_FLAGS="$RPM_OPT_FLAGS -g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack"
|
||||||
|
export SYS_INCLUDES=-I/usr/kerberos/include
|
||||||
|
#
|
||||||
|
# build object directories:
|
||||||
|
#
|
||||||
|
export SRCNAME=pegasus
|
||||||
|
export PEGASUS_ROOT=${RPM_BUILD_DIR}/${SRCNAME}-${RPM_PACKAGE_VERSION}
|
||||||
|
export ROOT=$PEGASUS_ROOT
|
||||||
|
export PEGASUS_HOME=${RPM_BUILD_ROOT}/build
|
||||||
|
export PEGASUS_ARCH_LIB_DIR=${RPM_ARCH_LIB}
|
||||||
|
#
|
||||||
|
# PEGASUS_PLATFORM (hardware platform) setup:
|
||||||
|
#
|
||||||
|
if [ -z "$RPM_ARCH" ]; then
|
||||||
|
export RPM_ARCH=`/bin/uname -i`;
|
||||||
|
fi;
|
||||||
|
case ${RPM_ARCH} in
|
||||||
|
ia64|x86_64)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_IA64_GNU;
|
||||||
|
;;
|
||||||
|
ppc)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_PPC_GNU;
|
||||||
|
;;
|
||||||
|
ppc64|ppc64le|pseries)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_PPC64_GNU;
|
||||||
|
;;
|
||||||
|
s390)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_ZSERIES_GNU;
|
||||||
|
export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char";
|
||||||
|
export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS";
|
||||||
|
;;
|
||||||
|
s390x|zseries)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_ZSERIES64_GNU;
|
||||||
|
export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char";
|
||||||
|
export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS";
|
||||||
|
;;
|
||||||
|
i386)
|
||||||
|
export PEGASUS_PLATFORM=LINUX_IX86_GNU
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Architecture unsupported by pegasus: $RPM_ARCH";
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
esac;
|
||||||
|
#
|
||||||
|
# Pegasus Build options:
|
||||||
|
#
|
||||||
|
export OPENSSL_HOME=/usr
|
||||||
|
export PEGASUS_HAS_SSL=yes
|
||||||
|
# per bug #368
|
||||||
|
export PEGASUS_USE_RELEASE_DIRS=true
|
||||||
|
export PEGASUS_USE_RELEASE_CONFIG_OPTIONS=true
|
||||||
|
# per PEP #144
|
||||||
|
export PEGASUS_PAM_AUTHENTICATION=true
|
||||||
|
export PAM_CONFIG_DIR=/etc/pam.d
|
||||||
|
#
|
||||||
|
# export PEGASUS_USE_PAM_STANDALONE_PROC=true
|
||||||
|
# NO, we do NOT use 'cimservera' on Red Hat platforms!
|
||||||
|
#
|
||||||
|
export PEGASUS_CIM_SCHEMA=CIM29
|
||||||
|
export PEGASUS_LOCAL_DOMAIN_SOCKET=true
|
||||||
|
export PEGASUS_USE_SYSLOGS=true
|
||||||
|
export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true
|
||||||
|
# per PEP #174
|
||||||
|
export PEGASUS_ENABLE_USERGROUP_AUTHORIZATION=true
|
||||||
|
export PEGASUS_HAS_PERFSTATS=true
|
||||||
|
export PEGASUS_NOASSERTS=true
|
||||||
|
# enable CMPI !! :
|
||||||
|
PEGASUS_ENABLE_CQL=true
|
||||||
|
# export PEGASUS_DISABLE_CQL=true
|
||||||
|
export PEGASUS_DISABLE_OBJECT_NORMALIZATION=true
|
||||||
|
export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true
|
||||||
|
export PEGASUS_ENABLE_USERGROUP_AUTHORIZATION=true
|
||||||
|
export PEGASUS_USE_RELEASE_DIRS=true
|
||||||
|
#
|
||||||
|
# Pegasus Directory Structure:
|
||||||
|
#
|
||||||
|
export PEGASUS_PROD_DIR=/usr
|
||||||
|
export PEGASUS_PRODSHARE_DIR=${PEGASUS_PROD_DIR}/share/Pegasus
|
||||||
|
export PEGASUS_DOC_DIR=/usr/share/doc/tog-pegasus-${RPM_PACKAGE_VERSION}
|
||||||
|
export PEGASUS_MAN_DIR=/usr/share/man
|
||||||
|
export PEGASUS_MANUSER_DIR=${PEGASUS_MAN_DIR}/man1
|
||||||
|
export PEGASUS_MANADMIN_DIR=${PEGASUS_MAN_DIR}/man8
|
||||||
|
export PEGASUS_MOF_DIR=${PEGASUS_PRODSHARE_DIR}/mof
|
||||||
|
export PEGASUS_DEST_LIB_DIR=${PEGASUS_PROD_DIR}/${PEGASUS_ARCH_LIB_DIR}
|
||||||
|
export PEGASUS_PROVIDER_DIR=${PEGASUS_DEST_LIB_DIR}/Pegasus/providers
|
||||||
|
export PEGASUS_PROVIDER_LIB_DIR=${PEGASUS_PROVIDER_DIR}
|
||||||
|
export PEGASUS_SBIN_DIR=${PEGASUS_PROD_DIR}/sbin
|
||||||
|
export PEGASUS_BIN_DIR=${PEGASUS_PROD_DIR}/bin
|
||||||
|
export PEGASUS_VARDATA_DIR=/var/lib/Pegasus
|
||||||
|
export PEGASUS_REPOSITORY_PARENT_DIR=${PEGASUS_VARDATA_DIR}
|
||||||
|
export PEGASUS_REPOSITORY_DIR=${PEGASUS_REPOSITORY_PARENT_DIR}/repository
|
||||||
|
export PEGASUS_PREV_REPOSITORY_DIR=${PEGASUS_REPOSITORY_PARENT_DIR}/prev_repository
|
||||||
|
export PEGASUS_CONFIG_DIR=/etc/Pegasus
|
||||||
|
export PEGASUS_VARRUN_DIR=/var/run/tog-pegasus
|
||||||
|
export PEGASUS_CIMSERVER_START_FILE=${PEGASUS_VARRUN_DIR}/cimserver.pid
|
||||||
|
export PEGASUS_LOCAL_DOMAIN_SOCKET_DIR=${PEGASUS_VARRUN_DIR}
|
||||||
|
export PEGASUS_LOCAL_DOMAIN_SOCKET_PATH=${PEGASUS_LOCAL_DOMAIN_SOCKET_DIR}/cimxml.socket
|
||||||
|
export PEGASUS_VARDATA_CACHE_DIR=${PEGASUS_VARDATA_DIR}/cache
|
||||||
|
export PEGASUS_LOCAL_AUTH_DIR=${PEGASUS_VARDATA_CACHE_DIR}/localauth
|
||||||
|
export PEGASUS_TRACE_DIR=${PEGASUS_VARDATA_CACHE_DIR}/trace
|
||||||
|
export PEGASUS_PLANNED_CONFIG_FILE=cimserver_planned.conf
|
||||||
|
export PEGASUS_CURRENT_CONFIG_FILE=cimserver_current.conf
|
||||||
|
export PEGASUS_PEM_DIR=${PEGASUS_CONFIG_DIR}
|
||||||
|
export PEGASUS_LOG_DIR=/var/log/Pegasus
|
||||||
|
export PEGASUS_SSL_KEY_FILE=file.pem
|
||||||
|
export PEGASUS_SSL_CERT_FILE=server.pem
|
||||||
|
export PEGASUS_SSL_TRUSTSTORE=client.pem
|
||||||
|
export PEGASUS_SAMPLES_DIR=${PEGASUS_PRODSHARE_DIR}/samples
|
||||||
|
export PEGASUS_INCLUDE_DIR=${PEGASUS_PROD_DIR}/include
|
||||||
|
export PEGASUS_HTML_DIR=${PEGASUS_PRODSHARE_DIR}/html
|
||||||
|
export PEGASUS_TEST_DIR=${PEGASUS_PRODSHARE_DIR}/test
|
||||||
|
export PEGASUS_TEST_REPOSITORY_DIR=${PEGASUS_VARDATA_DIR}
|
||||||
|
export PEGASUS_TEST_REPOSITORY_NAME=testrepository
|
||||||
|
export PRODUCT_DIRECTORY_STRUCTURE=(\
|
||||||
|
${PEGASUS_PROD_DIR} \
|
||||||
|
${PEGASUS_PRODSHARE_DIR} \
|
||||||
|
${PEGASUS_DOC_DIR} \
|
||||||
|
${PEGASUS_MAN_DIR} \
|
||||||
|
${PEGASUS_MANUSER_DIR} \
|
||||||
|
${PEGASUS_MANADMIN_DIR} \
|
||||||
|
${PEGASUS_DEST_LIB_DIR} \
|
||||||
|
${PEGASUS_PROVIDER_DIR} \
|
||||||
|
${PEGASUS_PROVIDER_LIB_DIR} \
|
||||||
|
${PEGASUS_SBIN_DIR} \
|
||||||
|
${PEGASUS_BIN_DIR} \
|
||||||
|
${PEGASUS_MOF_DIR} \
|
||||||
|
${PEGASUS_VARDATA_DIR} \
|
||||||
|
${PEGASUS_REPOSITORY_DIR} \
|
||||||
|
${PEGASUS_VARDATA_CACHE_DIR} \
|
||||||
|
${PEGASUS_TRACE_DIR} \
|
||||||
|
${PEGASUS_LOG_DIR} \
|
||||||
|
${PEGASUS_LOCAL_AUTH_DIR} \
|
||||||
|
${PEGASUS_VARRUN_DIR} \
|
||||||
|
${PEGASUS_LOCAL_DOMAIN_SOCKET_DIR} \
|
||||||
|
${PEGASUS_CONFIG_DIR});
|
3
sources
3
sources
@ -1,3 +1,2 @@
|
|||||||
SHA512 (cim_schema_2.38.0Experimental-MOFs.zip) = c45368ae3973d1fcafa82446d76f93af7e83d4587f913c892f88d8068d4f3ccaac4bfd22976095205b7d3233f11283d1c59a5c7928ada5243e0cbd8e845e3dad
|
|
||||||
SHA512 (pegasus-2.14.1.tar.gz) = 41a44028ae181ff7ea11f3df05f54086afa457c06e25678572c543f44882a44640d332c6b5e482c22cf009a4eb424aee34ee1fa2f5ebba338a53f4e07c5e7fc9
|
SHA512 (pegasus-2.14.1.tar.gz) = 41a44028ae181ff7ea11f3df05f54086afa457c06e25678572c543f44882a44640d332c6b5e482c22cf009a4eb424aee34ee1fa2f5ebba338a53f4e07c5e7fc9
|
||||||
SHA512 (repupgrade.1.gz) = 0977c2b439ac4fce8f1277e3a5c01cfaf1a55b5fb552aa1763a51a2e27240edb4dffae74a5f4a9f6582b3732c8905319ff9614d3bc975bea212e7926c4f6699a
|
SHA512 (cim_schema_2.38.0Experimental-MOFs.zip) = c45368ae3973d1fcafa82446d76f93af7e83d4587f913c892f88d8068d4f3ccaac4bfd22976095205b7d3233f11283d1c59a5c7928ada5243e0cbd8e845e3dad
|
||||||
|
Loading…
Reference in New Issue
Block a user