summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2007-03-28 16:03:50 +0000
committerAlastair Tse <liquidx@gentoo.org>2007-03-28 16:03:50 +0000
commit53ad0e4b331f2f048de395a5228f8f47ddad33a6 (patch)
tree09b547910eb638a14c1fc971d9bee17aad69be11 /app-admin/dellomsa/dellomsa-5.1.0.ebuild
parentupdate digest (diff)
downloadliquidx-53ad0e4b331f2f048de395a5228f8f47ddad33a6.tar.gz
liquidx-53ad0e4b331f2f048de395a5228f8f47ddad33a6.tar.bz2
liquidx-53ad0e4b331f2f048de395a5228f8f47ddad33a6.zip
Add basically a binary Dell OMSA distribution of the tools with some self written init scripts and env scripts.
svn path=/; revision=95
Diffstat (limited to 'app-admin/dellomsa/dellomsa-5.1.0.ebuild')
-rw-r--r--app-admin/dellomsa/dellomsa-5.1.0.ebuild47
1 files changed, 47 insertions, 0 deletions
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
+}