diff options
author | Joshua Brindle <method@gentoo.org> | 2003-06-25 01:38:04 +0000 |
---|---|---|
committer | Joshua Brindle <method@gentoo.org> | 2003-06-25 01:38:04 +0000 |
commit | 2f05bd30c839a7ca10a22dc52bd98a8037a36ab0 (patch) | |
tree | 80e44cf16fc6a5a74fc12754adb7e651d718801d /app-admin/hpasm | |
parent | yep (diff) | |
download | gentoo-2-2f05bd30c839a7ca10a22dc52bd98a8037a36ab0.tar.gz gentoo-2-2f05bd30c839a7ca10a22dc52bd98a8037a36ab0.tar.bz2 gentoo-2-2f05bd30c839a7ca10a22dc52bd98a8037a36ab0.zip |
yep
Diffstat (limited to 'app-admin/hpasm')
-rw-r--r-- | app-admin/hpasm/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/hpasm/Manifest | 3 | ||||
-rw-r--r-- | app-admin/hpasm/files/digest-hpasm-6.30.0.12-r1 | 1 | ||||
-rw-r--r-- | app-admin/hpasm/hpasm-6.30.0.12-r1.ebuild | 98 |
4 files changed, 110 insertions, 1 deletions
diff --git a/app-admin/hpasm/ChangeLog b/app-admin/hpasm/ChangeLog new file mode 100644 index 000000000000..0bb7c13cda40 --- /dev/null +++ b/app-admin/hpasm/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-admin/hpasm +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/hpasm/ChangeLog,v 1.1 2003/06/25 01:38:00 method Exp $ + +*hpasm-6.30.0.12-r1 (24 Jun 2003) + + 24 Jun 2003; Joshua Brindle <method@gentoo.org> hpasm-6.30.0.12-r1.ebuild: + initial ebuild submitted by Brett Simpson <simpsonb@impmail.dnsalias.com> + diff --git a/app-admin/hpasm/Manifest b/app-admin/hpasm/Manifest index 3563af41dcf7..461bce8e67ee 100644 --- a/app-admin/hpasm/Manifest +++ b/app-admin/hpasm/Manifest @@ -1,2 +1,3 @@ -MD5 56ecfdbe97eed10a9f2cc599ffb4d549 hpasm-6.30.0.12-r1.ebuild 2692 +MD5 60881e66a045251675d36d21673410e2 hpasm-6.30.0.12-r1.ebuild 2691 +MD5 5a4e9579b3899b3acaa5d09cee9fdc06 ChangeLog 401 MD5 abbf2c075cd154e71c9cb90ad061b39e files/digest-hpasm-6.30.0.12-r1 80 diff --git a/app-admin/hpasm/files/digest-hpasm-6.30.0.12-r1 b/app-admin/hpasm/files/digest-hpasm-6.30.0.12-r1 new file mode 100644 index 000000000000..daaf32b974d5 --- /dev/null +++ b/app-admin/hpasm/files/digest-hpasm-6.30.0.12-r1 @@ -0,0 +1 @@ +MD5 c7605da770f5936870eebbd79eb25260 hpasm-6.30.0-12.Redhat8_0.i386.rpm 3821701 diff --git a/app-admin/hpasm/hpasm-6.30.0.12-r1.ebuild b/app-admin/hpasm/hpasm-6.30.0.12-r1.ebuild new file mode 100644 index 000000000000..f2aa7c73b123 --- /dev/null +++ b/app-admin/hpasm/hpasm-6.30.0.12-r1.ebuild @@ -0,0 +1,98 @@ +DESCRIPTION="hp Server Management Drivers and Agents." +HOMEPAGE="http://h18000.www1.hp.com/products/servers/linux/documentation.html" +LICENSE="hp-value" +RDEPEND="snmp? ( net-analyzer/net-snmp )" + +DEPEND="${RDEPEND} + virtual/linux-sources + mailx + rpm2targz" + +SRC_URI="ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/RedHat/hpasm-6.30.0-12.Redhat8_0.i386.rpm" + +IUSE="" +SLOT="0" +KEYWORDS="x86" +S="${WORKDIR}" + + +src_unpack() { + cd ${S} + rpm2targz ${DISTDIR}/hpasm-6.30.0-12.Redhat8_0.i386.rpm + tar zxf ${S}/hpasm-6.30.0-12.Redhat8_0.i386.tar.gz + rm ${S}/opt/compaq/hpasm/addon/libcpqci.so + rm ${S}/opt/compaq/hpasm/addon/libcpqci.so.1 +} + +src_install() { + + + + HPASM_HOME="/opt/compaq" + + dodir ${HPASM_HOME} + + cp -Rdp \ + opt/compaq/* \ + ${D}${HPASM_HOME} + + into / + dosbin sbin/bootcfg + + dosym /opt/compaq/hpasm/addon/libcpqci.so.1.0 /opt/compaq/hpasm/addon/libcpqci.so.1 + dosym /opt/compaq/hpasm/addon/libcpqci.so.1.0 /opt/compaq/hpasm/addon/libcpqci.so + + dodir /usr/share/pixmaps + dosym /opt/compaq/cpqhealth/cpqasm/hplogo.xbm /usr/share/pixmaps/hplogo.xbm + dosym /opt/compaq/cpqhealth/cpqasm/m_blue.gif /usr/share/pixmaps/m_blue.gif + dosym /opt/compaq/cpqhealth/cpqasm/m_fail.gif /usr/share/pixmaps/m_fail.gif + dosym /opt/compaq/cpqhealth/cpqasm/m_green.gif /usr/share/pixmaps/m_green.gif + dosym /opt/compaq/cpqhealth/cpqasm/m_red.gif /usr/share/pixmaps/m_red.gif + dosym /opt/compaq/cpqhealth/cpqasm/m_yellow.gif /usr/share/pixmaps/m_yellow.gif + + dosym /opt/compaq/cpqhealth/cpqasm/cpqimlview /sbin/cpqimlview + dosym /opt/compaq/cpqhealth/cpqasm/cpqimlview /sbin/hpimlview + dosym /opt/compaq/cpqhealth/cpqasm/cpqimlview.tcl /sbin/cpqimlview.tcl + dosym /opt/compaq/cpqhealth/hplog /sbin/hplog + dosym /opt/compaq/cpqhealth/hpuid /sbin/hpuid + dosym /opt/compaq/cpqhealth/cpqasm/imlbe /sbin/imlbe + + dosym /opt/compaq/hpasm/etc/rebuild /sbin/hpasm_rebuild + + dodir /usr/lib + + if [ ! -f /usr/lib/libcrypto.so.2 ] + then + dosym /usr/lib/libcrypto.so.0.9.6 /usr/lib/libcrypto.so.2 + fi + + if [ ! -f /usr/lib/libssl.so.2 ] + then + dosym /usr/lib/libssl.so.0.9.6 /usr/lib/libssl.so.2 + fi + + dodir /var/spool/compaq + + + exeinto /etc/init.d + doexe etc/init.d/hpasm + + doman usr/share/man/man4/cpqhealth.4.gz usr/share/man/man4/hpasm.4.gz \ + usr/share/man/man8/cpqimlview.8.gz usr/share/man/man8/hplog.8.gz \ + usr/share/man/man8/hpuid.8.gz + +} + +pkg_postinst() { + einfo "" + einfo "If you want to run cpqimlview or hpimlview you will" + einfo "need to emerge xfree, tix, and tclx" + einfo "" + einfo "You now need to execute /etc/init.d/hpasm start in" + einfo "order to use the installed package. The kernel" + einfo "modules will automatically build for you." + einfo "" +} + + + |