From 53ad0e4b331f2f048de395a5228f8f47ddad33a6 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Wed, 28 Mar 2007 16:03:50 +0000 Subject: Add basically a binary Dell OMSA distribution of the tools with some self written init scripts and env scripts. svn path=/; revision=95 --- app-admin/dellomsa/Manifest | 28 +++++++ app-admin/dellomsa/dellomsa-5.1.0.ebuild | 47 ++++++++++++ app-admin/dellomsa/files/conf_d_dellomsa | 6 ++ app-admin/dellomsa/files/digest-dellomsa-5.1.0 | 3 + app-admin/dellomsa/files/env_d_dellomsa | 11 +++ app-admin/dellomsa/files/init_d_dellomsa | 75 ++++++++++++++++++ app-admin/dellomsa/files/omreg.cfg | 101 +++++++++++++++++++++++++ app-admin/dellomsa/files/pam_d_omauth | 4 + 8 files changed, 275 insertions(+) create mode 100644 app-admin/dellomsa/Manifest create mode 100644 app-admin/dellomsa/dellomsa-5.1.0.ebuild create mode 100644 app-admin/dellomsa/files/conf_d_dellomsa create mode 100644 app-admin/dellomsa/files/digest-dellomsa-5.1.0 create mode 100644 app-admin/dellomsa/files/env_d_dellomsa create mode 100755 app-admin/dellomsa/files/init_d_dellomsa create mode 100644 app-admin/dellomsa/files/omreg.cfg create mode 100644 app-admin/dellomsa/files/pam_d_omauth diff --git a/app-admin/dellomsa/Manifest b/app-admin/dellomsa/Manifest new file mode 100644 index 0000000..80a6b2d --- /dev/null +++ b/app-admin/dellomsa/Manifest @@ -0,0 +1,28 @@ +AUX conf_d_dellomsa 70 RMD160 2f2b4e2d577f9677cc46683c00002f2d89309eea SHA1 da9a683b5e8289a8e2c654bbe8c980fea1821909 SHA256 5f8e739b0a740036f068c706941c62f12fbb93d2e7208ae6d499ea58e64ce749 +MD5 f2484b6995e49df0d1e5742e61a29189 files/conf_d_dellomsa 70 +RMD160 2f2b4e2d577f9677cc46683c00002f2d89309eea files/conf_d_dellomsa 70 +SHA256 5f8e739b0a740036f068c706941c62f12fbb93d2e7208ae6d499ea58e64ce749 files/conf_d_dellomsa 70 +AUX env_d_dellomsa 599 RMD160 6b79e39320dd20983d2976f25363839f41687675 SHA1 668288c4f9e89a43aa734ddfb0c533058f8effcb SHA256 2786345ae214a5df905dae610667ce36fa6d491f47ddfea920586b28d5f19bed +MD5 4fc3f9a4daabd30ffe4793dbbdc26a16 files/env_d_dellomsa 599 +RMD160 6b79e39320dd20983d2976f25363839f41687675 files/env_d_dellomsa 599 +SHA256 2786345ae214a5df905dae610667ce36fa6d491f47ddfea920586b28d5f19bed files/env_d_dellomsa 599 +AUX init_d_dellomsa 2052 RMD160 fe7a0ac3c933439ee3687f87a45dee2e3a97dfb8 SHA1 798dbb7385f40b9873177ffdc73308e47fe90165 SHA256 5e41bc0d82fcd40a43d8a96861d60ae2196597c4be36577689c99d96b497b126 +MD5 94e550b6582fab72848c6c9e3b693170 files/init_d_dellomsa 2052 +RMD160 fe7a0ac3c933439ee3687f87a45dee2e3a97dfb8 files/init_d_dellomsa 2052 +SHA256 5e41bc0d82fcd40a43d8a96861d60ae2196597c4be36577689c99d96b497b126 files/init_d_dellomsa 2052 +AUX omreg.cfg 6258 RMD160 1b5710bfc9690b212e83918929f083168118a49d SHA1 7103cc353c7053b2edef7c938f203f9caf352792 SHA256 16fce5a7883ad6d84d64196a01f1292777af14dfdfdd42b2bdc0dd7a4ddf6fac +MD5 d9390e1287704dd59968a3b18ba1f31f files/omreg.cfg 6258 +RMD160 1b5710bfc9690b212e83918929f083168118a49d files/omreg.cfg 6258 +SHA256 16fce5a7883ad6d84d64196a01f1292777af14dfdfdd42b2bdc0dd7a4ddf6fac files/omreg.cfg 6258 +AUX pam_d_omauth 134 RMD160 ca5a5b4cca87ac0b90c6cc81f373c85778641b0b SHA1 adc4fce3061b8578d5df880e0f0b655a537e708a SHA256 6e87b6ea612cfc8a48ae12734939e5f5788ecf62691438dc8a37eab63a77d3a0 +MD5 437b3dfd96b45ee37aab6a555c340043 files/pam_d_omauth 134 +RMD160 ca5a5b4cca87ac0b90c6cc81f373c85778641b0b files/pam_d_omauth 134 +SHA256 6e87b6ea612cfc8a48ae12734939e5f5788ecf62691438dc8a37eab63a77d3a0 files/pam_d_omauth 134 +DIST dellomsa_5.1.0-2_i386.deb 82878630 RMD160 08146ba8b8f32fc971388e3654de4886f4d2ca17 SHA1 481bda551c4bd14f50feeb5d2f23fc95d6513a5a SHA256 f71d5d7815b436b899d53d290044aa17fb9e90d388d8909b9a19f62c365d3cdc +EBUILD dellomsa-5.1.0.ebuild 1053 RMD160 7dd423ea4464debe57098116eb9b9feed85b49f9 SHA1 92f29cecca9d83b22f4187d595a383179ffa3043 SHA256 510d242059e565dc4324ba0df082301c48b6af8ea66423a0e05259beb7389c57 +MD5 f8f0c7e1b9d1fdd29d1d529967717355 dellomsa-5.1.0.ebuild 1053 +RMD160 7dd423ea4464debe57098116eb9b9feed85b49f9 dellomsa-5.1.0.ebuild 1053 +SHA256 510d242059e565dc4324ba0df082301c48b6af8ea66423a0e05259beb7389c57 dellomsa-5.1.0.ebuild 1053 +MD5 5bd8b5a0866b07ab7e7c236ddb9476ce files/digest-dellomsa-5.1.0 262 +RMD160 91e31745aaee06d46fd5b3725bc1151a2324c3bb files/digest-dellomsa-5.1.0 262 +SHA256 0e35cadba84e9a322f6bef82da10b2bbde3b2b80f92f13ae34f86fe02e68d96a files/digest-dellomsa-5.1.0 262 diff --git a/app-admin/dellomsa/dellomsa-5.1.0.ebuild b/app-admin/dellomsa/dellomsa-5.1.0.ebuild new file mode 100644 index 0000000..1b47962 --- /dev/null +++ b/app-admin/dellomsa/dellomsa-5.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Dell OpenManage Server for Linux" +HOMEPAGE="http://linux.dell.com/monitoring.shtml" +DEB_URI="dellomsa_${PV}-2_i386.deb" +SRC_URI="http://linux.dell.com/files/openmanage-contributions/debian/omsa5.1/${DEB_URI}" +LICENSE="Dell" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" +DEPEND="app-arch/deb2targz + sys-libs/openipmi + net-misc/rsync" + +RDEPEND="${DEPEND}" +S="${WORKDIR}/${P}" + +src_unpack() { + cd "${WORKDIR}" + cp ${DISTDIR}/${DEB_URI} ${WORKDIR} + deb2targz ${DEB_URI} + tar zxvf ${DEB_URI/.deb/.tar.gz} +} + +src_compile() { + return +} + +src_install() { + rsync -avr ${WORKDIR}/opt ${D} + + ln -s /opt/dell/srvadmin/ ${D}/etc/delloma.d + dodir /opt/dell/srvadmin/shared/.sharedipc + + newinitd ${FILESDIR}/init_d_dellomsa dellomsa + newconfd ${FILESDIR}/conf_d_dellomsa dellomsa + newenvd ${FILESDIR}/env_d_dellomsa 80dellomsa + + insinto /etc/pam.d + newins ${FILESDIR}/pam_d_omauth omauth + + doetc ${FILESDIR}/omreg.cfg +} diff --git a/app-admin/dellomsa/files/conf_d_dellomsa b/app-admin/dellomsa/files/conf_d_dellomsa new file mode 100644 index 0000000..5fc65dc --- /dev/null +++ b/app-admin/dellomsa/files/conf_d_dellomsa @@ -0,0 +1,6 @@ +# +# Configuration for Dell OpenManage +# + +DEV_IPMI="yes" +IPMI_SI="yes" diff --git a/app-admin/dellomsa/files/digest-dellomsa-5.1.0 b/app-admin/dellomsa/files/digest-dellomsa-5.1.0 new file mode 100644 index 0000000..7d4f35e --- /dev/null +++ b/app-admin/dellomsa/files/digest-dellomsa-5.1.0 @@ -0,0 +1,3 @@ +MD5 3a1ee858cc30eac22a1afca3d6274f0c dellomsa_5.1.0-2_i386.deb 82878630 +RMD160 08146ba8b8f32fc971388e3654de4886f4d2ca17 dellomsa_5.1.0-2_i386.deb 82878630 +SHA256 f71d5d7815b436b899d53d290044aa17fb9e90d388d8909b9a19f62c365d3cdc dellomsa_5.1.0-2_i386.deb 82878630 diff --git a/app-admin/dellomsa/files/env_d_dellomsa b/app-admin/dellomsa/files/env_d_dellomsa new file mode 100644 index 0000000..8ce487c --- /dev/null +++ b/app-admin/dellomsa/files/env_d_dellomsa @@ -0,0 +1,11 @@ +OMSAROOT=/opt/dell/srvadmin +#JAVA_HOME=${OMSAROOT}/jre +PATH=${OMSAROOT}/oma/bin:${OMSAROOT}/jre/bin + +LDPATH=${OMSAROOT}/dataeng/bin:${OMSAROOT}/hapi/bin:${OMSAROOT}/oma/bin:${OMSAROOT}/omsa/bin:${OMSAROOT}/shared/bin:${OMSAROOT}/sm:${OMSAROOT}/sm/dellvl:${OMSAROOT}/lib + +CLASSPATH=${OMSAROOT}/oma/lib/OMSA.jar:${OMSAROOT}/oma/lib/OMLU.jar:${OMSAROOT}/oma/lib/OMAM.jar:${OMSAROOT}/oma/lib/OMDRSC.jar:${OMSAROOT}/oma/lib/OMHIP.jar:${OMSAROOT}/iws/classes:${OMSAROOT}/iws/classes/iws.jar:${OMSAROOT}/iws/classes/servlet.jar + +omajvmpath=$JAVA_HOME +omaclasspath=$CLASSPATH +omalibrarypath=$LD_LIBRARY_PATH \ No newline at end of file diff --git a/app-admin/dellomsa/files/init_d_dellomsa b/app-admin/dellomsa/files/init_d_dellomsa new file mode 100755 index 0000000..f5305bb --- /dev/null +++ b/app-admin/dellomsa/files/init_d_dellomsa @@ -0,0 +1,75 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.22 2007/02/23 10:51:48 uberlord Exp $ + +opts="reload" + +depend() { + use logger dns + need net +} + +DSM_ROOT="/opt/dell/srvadmin" +DSM_SA_DATAMGR="${DSM_ROOT}/dataeng/bin/dsm_sa_datamgr32d" +DSM_SA_EVENTMGR="${DSM_ROOT}/dataeng/bin/dsm_sa_eventmgr32d" +DSM_OM_SERVER="${DSM_ROOT}/oma/bin/dsm_om_shrsvc32d" +DSM_OM_CONN_SERVER=${DSM_ROOT}/iws/bin/linux/dsm_om_connsvc32d" + +DSM_SA_DATAMGR_PID="/var/run/dsm_sa_datamgr.pid" +DSM_SA_EVENTMGR_PID="/var/run/dsm_sa_eventmgr.pid" +DSM_OM_SERVER="/var/run/dsm_om_shrsvc.pid" +DSM_OM_CONN_SERVER="/var/run/dsm_om_connsvr.pid" + +checkconfig() { + gen_keys || return 1 + + "${SSHD_BINARY}" -t ${myopts} || return 1 +} + +start() { + ebegin "Starting Dell Data Manager" + start-stop-daemon --start --exec "${DSM_SA_DATAMGR}" + --pidfile "${DSM_SA_DATAMGR_PID}" + eend $? + + ebegin "Starting Dell Event Manager" + start-stop-daemon --start --exec "${DSM_SA_EVENTMGR}" + --pidfile "${DSM_SA_EVENTMGR_PID}" + eend $? + + ebegin "Starting Dell OpenManage Server" + start-stop-daemon --start --exec "${DSM_OM_SERVER}" + --pidfile "${DSM_OM_SERVER_PID}" + eend $? + + ebegin "Starting Dell OpenManage Connection Server" + start-stop-daemon --start --exec "${DSM_OM_CONN_SERVER}" + --pidfile "${DSM_OM_CONN_SERVER_PID}" -- -run + eend $? +} + +stop() { + + ebegin "Stopping Dell OpenManage Connection Server" + start-stop-daemon --stop --exec "${DSM_OM_CONN_SERVER}" + --pidfile "${DSM_OM_CONN_SERVER_PID}" + eend $? + + ebegin "Stopping Dell OpenManage Server" + start-stop-daemon --stop --exec "${DSM_OM_SERVER}" + --pidfile "${DSM_OM_SERVER_PID}" + eend $? + + ebegin "Stopping Dell Event Manager" + start-stop-daemon --stop --exec "${DSM_SA_EVENTMGR}" + --pidfile "${DSM_SA_EVENTMGR_PID}" + eend $? + + ebegin "Stopping Dell Data Manager" + start-stop-daemon --stop --exec "${DSM_SA_DATAMGR}" + --pidfile "${DSM_SA_DATAMGR_PID}" + eend $? + +} + diff --git a/app-admin/dellomsa/files/omreg.cfg b/app-admin/dellomsa/files/omreg.cfg new file mode 100644 index 0000000..ee31dc1 --- /dev/null +++ b/app-admin/dellomsa/files/omreg.cfg @@ -0,0 +1,101 @@ +Instrumentation.configtool=/opt/dell/srvadmin/omsa/bin/dcicfg32 +Instrumentation.installpath=/opt/dell/srvadmin/omsa +Instrumentation.logpath=/opt/dell/srvadmin/omsa +Instrumentation.omilcore.version=5.1.0 +Instrumentation.vardatapath=/opt/dell/srvadmin/omsa +OMDataEngine.configtool=/opt/dell/srvadmin/dataeng/bin/dcecfg32 +OMDataEngine.installpath=/opt/dell/srvadmin/dataeng +OMDataEngine.logpath=/opt/dell/srvadmin/dataeng +OMDataEngine.omilcore.version=5.1.0 +OMDataEngine.startsnmpd=true +OMDataEngine.vardatapath=/opt/dell/srvadmin/dataeng +hapi.configtool=/opt/dell/srvadmin/hapi/bin/dchcfg32 +hapi.installpath=/opt/dell/srvadmin/hapi +hapi.omilcore.version=5.1.0 +hapi.vardatapath=/opt/dell/srvadmin/hapi +ldconf.path.optdellsrvadmindataengbin.rcount=1 +ldconf.path.optdellsrvadminhapibin.rcount=1 +ldconf.path.optdellsrvadminomabin.rcount=3 +ldconf.path.optdellsrvadminomsabin.rcount=1 +ldconf.path.optdellsrvadminsharedbin.rcount=2 +ldconf.path.optdellsrvadminsm.rcount=1 +ldconf.path.optdellsrvadminsmdellvl.rcount=1 +openmanage.8gsyslistfile=/opt/dell/srvadmin/omil/prereqcheck/8gsyslist.txt +openmanage.9gsyslistfile=/opt/dell/srvadmin/omil/prereqcheck/9gsyslist.txt +openmanage.archtype=32 +openmanage.bmu.solproxy.exename=solproxy +openmanage.bmu.solproxy.servicename=DSM_REPLACINGSPACE_BMU_REPLACINGSPACE_SOL_REPLACINGSPACE_Proxy +openmanage.funcs=/opt/dell/srvadmin/omil/prereqcheck/Funcs.sh +openmanage.ita.dcnetmon.exename=dcnetmon +openmanage.ita.dcnetmon.servicename=DSM_REPLACINGSPACE_ITA_REPLACINGSPACE_Network_REPLACINGSPACE_Monitor +openmanage.ita.omawsd.exename=omaws32 +openmanage.ita.omawsd.servicename=DSM_REPLACINGSPACE_ITA_REPLACINGSPACE_Connection_REPLACINGSPACE_Service +openmanage.ita.omsad.exename=omsad32 +openmanage.ita.omsad.servicename=DSM_REPLACINGSPACE_ITA_REPLACINGSPACE_Shared_REPLACINGSPACE_Services +openmanage.iws.installpath=/opt/dell/srvadmin +openmanage.jre.installpath=/opt/dell/srvadmin +openmanage.jre.omilcore.version=5.1.0 +openmanage.lsi.init.mptctl.exename=mptctl +openmanage.lsi.init.mptctl.servicename=DSM_REPLACINGSPACE_SM_REPLACINGSPACE_LSI_REPLACINGSPACE_Manager +openmanage.lsi.mr2kserv.exename=mr2kserv +openmanage.lsi.mr2kserv.servicename=DSM_REPLACINGSPACE_SM_REPLACINGSPACE_LSI_REPLACINGSPACE_Manager +openmanage.odf.omilcore.version=5.1.0 +openmanage.omacore.clireg.old.ini=/opt/dell/srvadmin/omil/supportfiles/ini/old.ini +openmanage.omacore.clireg.omacore.ini=/opt/dell/srvadmin/omil/supportfiles/ini/omacore.ini +openmanage.omacore.clireg.omhip.ini=/opt/dell/srvadmin/omil/supportfiles/ini/omhip.ini +openmanage.omacore.clireg.racdrsc4.ini=/opt/dell/srvadmin/omil/supportfiles/ini/racdrsc4.ini +openmanage.omacore.installpath=/opt/dell/srvadmin +openmanage.omacore.omilcore.version=5.1.0 +openmanage.omhip.installpath=/opt/dell/srvadmin +openmanage.omilcore.installpath=/opt/dell/srvadmin +openmanage.omsa.bada.exename=bada +openmanage.omsa.bada.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Bundle_REPLACINGSPACE_Applicator +openmanage.omsa.dcevt.exename=dsm_sa_eventmgr32d +openmanage.omsa.dcevt.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Event_REPLACINGSPACE_Manager +openmanage.omsa.dcsnmp.exename=dsm_sa_snmp32d +openmanage.omsa.dcsnmp.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_SNMP_REPLACINGSPACE_Service +openmanage.omsa.dcstor.exename=dsm_sa_datamgr32d +openmanage.omsa.dcstor.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Data_REPLACINGSPACE_Manager +openmanage.omsa.init.dataeng.exename=dataeng +openmanage.omsa.init.dataeng.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Data_REPLACINGSPACE_Manager_REPLACINGSPACE_Service +openmanage.omsa.init.instsvcdrv.exename=instsvcdrv +openmanage.omsa.init.instsvcdrv.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Instrumentation_REPLACINGSPACE_Service +openmanage.omsa.init.omawsd.exename=dsm_om_connsvc +openmanage.omsa.init.omawsd.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Connection_REPLACINGSPACE_Service +openmanage.omsa.init.omsad.exename=dsm_om_shrsvc +openmanage.omsa.init.omsad.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Shared_REPLACINGSPACE_Services +openmanage.omsa.omawsd.exename=dsm_om_connsvc32d +openmanage.omsa.omawsd.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Connection_REPLACINGSPACE_Service +openmanage.omsa.omsad.exename=dsm_om_shrsvc32d +openmanage.omsa.omsad.servicename=DSM_REPLACINGSPACE_SA_REPLACINGSPACE_Shared_REPLACINGSPACE_Services +openmanage.openipmi.kernel.2.4.x.ver_min_major=35 +openmanage.openipmi.kernel.2.4.x.ver_min_minor=13 +openmanage.openipmi.kernel.2.6.x.ver_min_major=33 +openmanage.openipmi.kernel.2.6.x.ver_min_minor=13 +openmanage.openipmi.kernel.ver_min_major=2 +openmanage.openipmi.kernel.ver_min_minor=6 +openmanage.openipmi.kernel.ver_min_patch=15 +openmanage.openipmi.openipmifuncs=/opt/dell/srvadmin/omil/prereqcheck/openipmifuncs.sh +openmanage.openipmi.rhel3.ver_min_major=35 +openmanage.openipmi.rhel3.ver_min_minor=13 +openmanage.openipmi.rhel4.ver_min_major=33 +openmanage.openipmi.rhel4.ver_min_minor=13 +openmanage.openipmi.sles9.ver_min_major=36 +openmanage.openipmi.sles9.ver_min_minor=8 +openmanage.openipmi.syslisttypesfile=/opt/dell/srvadmin/omil/prereqcheck/syslisttypes.txt +openmanage.rac3.init.racser.exename=racser +openmanage.rac3.init.racser.servicename=DSM_REPLACINGSPACE_RA_REPLACINGSPACE_Controller_REPLACINGSPACE_Service_REPLACINGSPACE_Manager +openmanage.rac3.init.racsrvc.exename=racsrvc +openmanage.rac3.init.racsrvc.servicename=DSM_REPLACINGSPACE_RA_REPLACINGSPACE_Controller_REPLACINGSPACE_Service_REPLACINGSPACE_Manager +openmanage.rac3.init.racvnc.exename=racvnc +openmanage.rac3.init.racvnc.servicename=DSM_REPLACINGSPACE_RA_REPLACINGSPACE_Controller_REPLACINGSPACE_Service_REPLACINGSPACE_Manager +openmanage.rac4.init.racsvc.exename=racsvc +openmanage.rac4.init.racsvc.servicename=DSM_REPLACINGSPACE_RA_REPLACINGSPACE_Controller_REPLACINGSPACE_Service_REPLACINGSPACE_Manager +openmanage.release=354 +openmanage.storage.installpath=/opt/dell/srvadmin +openmanage.sysidchkutlpath=/opt/dell/srvadmin/omil/prereqcheck/sysreport +openmanage.syslistfile=/opt/dell/srvadmin/omil/prereqcheck/syslist.txt +openmanage.version=5.1.0 +suptlib.installpath=/opt/dell/srvadmin/shared +suptlib.vardatapath=/opt/dell/srvadmin/shared +openmanage.omacore.clireg.storage.ini=/opt/dell/srvadmin/omil/supportfiles/ini/storage.ini diff --git a/app-admin/dellomsa/files/pam_d_omauth b/app-admin/dellomsa/files/pam_d_omauth new file mode 100644 index 0000000..dd57df0 --- /dev/null +++ b/app-admin/dellomsa/files/pam_d_omauth @@ -0,0 +1,4 @@ +#%PAM-1.0 +auth required pam_unix.so nullok +auth required pam_nologin.so +account required pam_unix.so nullok \ No newline at end of file -- cgit v1.2.3-65-gdbad