summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2011-05-30 00:24:10 +0000
committerLance Albertson <ramereth@gentoo.org>2011-05-30 00:24:10 +0000
commit8e7ba701913eda0acbd67cdffe1f1514cc53a185 (patch)
treee4d60e7d5639a07226daf9345e9d8fa7133fd0a2 /sys-block
parentStable for HPPA (bug #368863). (diff)
downloadgentoo-2-8e7ba701913eda0acbd67cdffe1f1514cc53a185.tar.gz
gentoo-2-8e7ba701913eda0acbd67cdffe1f1514cc53a185.tar.bz2
gentoo-2-8e7ba701913eda0acbd67cdffe1f1514cc53a185.zip
Version bump (resolves #316105), add myself as a maintainer
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/hpacucli/ChangeLog10
-rw-r--r--sys-block/hpacucli/hpacucli-8.70.8.0.ebuild57
-rw-r--r--sys-block/hpacucli/metadata.xml15
3 files changed, 75 insertions, 7 deletions
diff --git a/sys-block/hpacucli/ChangeLog b/sys-block/hpacucli/ChangeLog
index 81fd08d773b0..f1c5caf6a051 100644
--- a/sys-block/hpacucli/ChangeLog
+++ b/sys-block/hpacucli/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/hpacucli
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/hpacucli/ChangeLog,v 1.1 2008/11/03 16:02:16 wschlich Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/hpacucli/ChangeLog,v 1.2 2011/05/30 00:24:10 ramereth Exp $
+
+*hpacucli-8.70.8.0 (30 May 2011)
+
+ 30 May 2011; Lance Albertson <ramereth@gentoo.org> +hpacucli-8.70.8.0.ebuild,
+ metadata.xml:
+ Version bump (resolves #316105), add myself as a maintainer
*hpacucli-8.10.2 (03 Nov 2008)
diff --git a/sys-block/hpacucli/hpacucli-8.70.8.0.ebuild b/sys-block/hpacucli/hpacucli-8.70.8.0.ebuild
new file mode 100644
index 000000000000..5171eb700d98
--- /dev/null
+++ b/sys-block/hpacucli/hpacucli-8.70.8.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/hpacucli/hpacucli-8.70.8.0.ebuild,v 1.1 2011/05/30 00:24:10 ramereth Exp $
+
+EAPI="4"
+
+inherit rpm versionator
+
+MY_PV=$(replace_version_separator 2 '-')
+
+SRC_URI_BASE="ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux"
+
+DESCRIPTION="HP Array Configuration Utility Command Line Interface (HPACUCLI, formerly CPQACUXE)"
+HOMEPAGE="http://h18000.www1.hp.com/products/servers/linux/documentation.html"
+SRC_URI="${SRC_URI_BASE}/p414707558/v63381/${PN}-${MY_PV}.noarch.rpm"
+LICENSE="hp-proliant-essentials"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="sys-apps/coreutils
+ sys-process/procps
+ x86? ( sys-libs/lib-compat )
+ amd64? ( app-emulation/emul-linux-x86-compat )"
+SLOT="0"
+RESTRICT="strip"
+S="${WORKDIR}"
+
+HPACUCLI_BASEDIR="/opt/hp/hpacucli"
+HPACUCLI_LOCKDIR="/var/lock/hpacucli"
+
+src_install() {
+ local MY_S="${S}/opt/compaq/${PN}/bld"
+ dosbin "${FILESDIR}"/${PN}
+ exeinto "${HPACUCLI_BASEDIR}"
+ newexe "${MY_S}"/.${PN} ${PN}.bin
+ insinto "${HPACUCLI_BASEDIR}"
+ doins "${MY_S}"/*.so
+ dodoc "${MY_S}/${PN}-${MY_PV}.noarch.txt"
+ doman "${S}"/usr/man/man?/*
+ diropts -m0700
+ dodir ${HPACUCLI_LOCKDIR}
+ cat <<-EOF >"${T}"/45${PN}
+ PATH=${HPACUCLI_BASEDIR}
+ ROOTPATH=${HPACUCLI_BASEDIR}
+ LDPATH=${HPACUCLI_BASEDIR}
+ EOF
+ doenvd "${T}"/45${PN}
+}
+
+pkg_postinst() {
+ if [ "${ROOT}" = "/" ] ; then
+ PATH="${PATH}:/sbin" ldconfig -n "${HPACUCLI_BASEDIR}"
+ fi
+ einfo
+ einfo "For more information regarding this utility, please read"
+ einfo "/usr/share/doc/${P}/${PN}-${MY_PV}.noarch.txt"
+ einfo
+}
diff --git a/sys-block/hpacucli/metadata.xml b/sys-block/hpacucli/metadata.xml
index a7162e9b7104..640d069bc39d 100644
--- a/sys-block/hpacucli/metadata.xml
+++ b/sys-block/hpacucli/metadata.xml
@@ -2,9 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
-<maintainer>
- <email>wschlich@gentoo.org</email>
- <name>Wolfram Schlich</name>
- <description>Primary maintainer</description>
-</maintainer>
+ <maintainer>
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <maintainer>
+ <email>ramereth@gentoo.org</email>
+ <name>Lance Albertson</name>
+ <description>Secondary maintainer</description>
+ </maintainer>
</pkgmetadata>