From: Brett Simpson <simpsonb@hillsboroughcounty.org>
To: gentoo-dev@gentoo.org
Cc: rippeld@hillsboroughcounty.org
Subject: [gentoo-dev] Compaq - HP Server Management drivers and agents.
Date: Fri, 30 May 2003 15:31:24 -0400 [thread overview]
Message-ID: <200305301531.24968.simpsonb@hillsboroughcounty.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
To all of those who are running Compaq/HP Proliant servers I have attached an
initial ebuild. The hpasm-6.30.0.12.tar.bz2 file is based off the
hpasm-6.30.0-12.Redhat8_0.i386.rpm but had to be signifcantly changed.
So far it works on a DL360 G1 and G2 (shows the temps, fan speed, and logs)
but I had to make a considerable amount of changes to get it to work cleanly
due to tons of files using rc.d in there paths. What I was wondering is if
anyone else who has a proliant server running gentoo would like to help out
in testing and improving the ebuild?
Eventually I would also like to get the storage, network, survey, array
config, and any other software working.
Brett
[-- Attachment #2: hpasm-6.30.0.12.ebuild --]
[-- Type: text/plain, Size: 2405 bytes --]
DESCRIPTION="hp Server Management Drivers and Agents."
HOMEPAGE="http://h18000.www1.hp.com/products/servers/linux/documentation.html"
LICENSE="other"
RDEPEND="snmp? ( net-analyzer/net-snmp )"
DEPEND="${RDEPEND}
virtual/linux-sources
mailx"
SRC_URI="ftp://207.156.7.60/pub/linux/gentoo/${P}.tar.bz2"
IUSE=""
SLOT="0"
KEYWORDS="x86"
S="${WORKDIR}"
src_install() {
# use snmp ???
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 ""
}
[-- Attachment #3: Type: text/plain, Size: 37 bytes --]
--
gentoo-dev@gentoo.org mailing list
next reply other threads:[~2003-05-30 19:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-30 19:31 Brett Simpson [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-05-30 22:23 [gentoo-dev] Compaq - HP Server Management drivers and agents Joshua Brindle
2003-05-31 19:54 Brett Simpson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305301531.24968.simpsonb@hillsboroughcounty.org \
--to=simpsonb@hillsboroughcounty.org \
--cc=gentoo-dev@gentoo.org \
--cc=rippeld@hillsboroughcounty.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox