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

File: [Pegasus] / pegasus / rpm / Attic / lsb-pegasus.xml (download) / (as text)
Revision: 1.1, Thu Jul 1 02:22:11 2004 UTC (19 years, 11 months ago) by konrad.r
Branch: MAIN
PEP#: 152
TITLE: Make Pegasus LSB compliant

DESCRIPTION:
a). New spec file.
b). New XML file for building the LSB compliant RPM
c). Added configuration options in the cimserver_planned.conf
d). New init script

<!--
	ALFS xml file for Pegasus Linux Standards Base 
	created 2004 by Konrad Rzeszutek <konradr@us.ibm.com>
-->

<!DOCTYPE alfs [

<!ENTITY pegasus-version "2.4">
<!ENTITY pegasus-name "lsb-pegasus">

<!ENTITY LSB-version "1.3">
                                                                                                                              
<!ENTITY source_dir "/home/konrad/MAIN/pegasus">
<!ENTITY install_dir "/home/konrad/MAIN/install">
<!ENTITY binaries_dir "/home/konrad/MAIN/binaries">
<!ENTITY platform "LINUX_IX86_GNU">

]>


<alfs version="2.0">

<package>
	<name>pegasus</name>
	<version>&pegasus-version;</version>
	<options>nofail</options>

	<prebuild>
		<setenv>
			<variable>CC</variable>
			<value>lsbcc</value>
		</setenv>
		<setenv>
			<variable>CXX</variable>
			<value>lsbc++</value>
		</setenv>
		<setenv>
			<variable>LSBCC_SHAREDLIBS</variable>
			<value>pegcommon:pegconfig:pegrepository:pegcompiler:peggetoopt:pegcliutils</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_USE_PAM_STANDALONE_PROC</variable>
			<value>yes</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_PAM_AUTHENTICATION</variable>
			<value>yes</value>
		</setenv>
		<!--
		For SSL to compile, you have to compile your own version of SSL in
		LSB environment.
		-->
		<setenv>
			<variable>PEGASUS_HAS_SSL</variable>
			<value>yes</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_LSB</variable>
			<value>yes</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_LOCAL_DOMAIN_SOCKET</variable>
			<value>yes</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_USE_RELEASE_DIRS</variable>
			<value>yes</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_HOME</variable>
			<value>&binaries_dir;</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_ROOT</variable>
			<value>&source_dir;</value>
		</setenv>
		<setenv>
			<variable>PEGASUS_PLATFORM</variable>
			<value>&platform;</value>
		</setenv>
		<!--
		<setenv>
			<variable>PEGASUS_DEBUG</variable>
			<value>yes</value>
		</setenv>
		-->
		
	</prebuild>

	<build>
		<make>
			<base>&source_dir;</base>
		</make>
		<make>
			<base>&source_dir;/mak</base>
			<param>-f SDKMakefile</param>
			<param>SDK_STAGINDIR=&install_dir;/&pegasus-name;/opt/&pegasus-name;</param>
			<param>stageSDK</param>
		</make>
	</build>

	<postbuild>
		<make>
			<base>&source_dir;</base>
			<param>PREFIX=&install_dir;/&pegasus-name;/opt/&pegasus-name;</param>
			<param>SYSCONF_PREFIX=&install_dir;/&pegasus-name;/etc</param>
			<param>LOCAL_STATE_PREFIX=&install_dir;/&pegasus-name;/var/opt/&pegasus-name;/</param>
			<param>DEST_ETC_DIR=&install_dir;/&pegasus-name;/etc/opt/&pegasus-name;/</param>
			<param>install</param>
		</make>

	</postbuild>
</package>

</alfs>

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2