summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2012-05-13 17:16:34 +0000
committerLance Albertson <ramereth@gentoo.org>2012-05-13 17:16:34 +0000
commitd836d3f76b55b8576977a586e5ab336154a78e8e (patch)
tree26a1009df44724373fb6020f530cc6898c036dbc /sys-block
parentDrop old and make it depend on jabberd2. (diff)
downloadhistorical-d836d3f76b55b8576977a586e5ab336154a78e8e.tar.gz
historical-d836d3f76b55b8576977a586e5ab336154a78e8e.tar.bz2
historical-d836d3f76b55b8576977a586e5ab336154a78e8e.zip
Version bump; Use setarch to workaround >-3.x kernels
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/hpacucli/ChangeLog10
-rw-r--r--sys-block/hpacucli/Manifest17
-rwxr-xr-xsys-block/hpacucli/files/hpacucli-setarch19
-rw-r--r--sys-block/hpacucli/hpacucli-9.0.24.0.ebuild73
4 files changed, 109 insertions, 10 deletions
diff --git a/sys-block/hpacucli/ChangeLog b/sys-block/hpacucli/ChangeLog
index 265a2fd97a89..ccd9dd9d8419 100644
--- a/sys-block/hpacucli/ChangeLog
+++ b/sys-block/hpacucli/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/hpacucli
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/hpacucli/ChangeLog,v 1.3 2011/07/02 17:10:18 idl0r Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/hpacucli/ChangeLog,v 1.4 2012/05/13 17:16:34 ramereth Exp $
+
+*hpacucli-9.0.24.0 (13 May 2012)
+
+ 13 May 2012; Lance Albertson <ramereth@gentoo.org> +hpacucli-9.0.24.0.ebuild,
+ +files/hpacucli-setarch:
+ Version bump; Use setarch to workaround >-3.x kernels
*hpacucli-8.75.12.0 (02 Jul 2011)
diff --git a/sys-block/hpacucli/Manifest b/sys-block/hpacucli/Manifest
index 7933c9443e79..0e68081aaa46 100644
--- a/sys-block/hpacucli/Manifest
+++ b/sys-block/hpacucli/Manifest
@@ -1,21 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
AUX hpacucli 544 RMD160 b6d720b1a70a46dc675b2a5c4ec5503fc02c9a81 SHA1 5178270fa1a696663e57fb9ee8093bc9851eb700 SHA256 eba79aac90f454870a2728fa11cd34420935a8910a8b5250ffc8d379424b4495
+AUX hpacucli-setarch 571 RMD160 36ac74a5d630a1335879605f32f776fa02b97e85 SHA1 6c74512a70be8bc3932d46f5d71ec0bd5673385a SHA256 dfe4e8f8781bbadb363fd98dd3e546efe00894350acd0c5a0133c4c931433a38
DIST hpacucli-8.10-2.noarch.rpm 3099443 RMD160 0b76bc1fbb1c61d3f046e56592c5ffcd5a371c91 SHA1 e16fd48e6dd0a45d8a55f2a5ae50b04ea36ad213 SHA256 5feb2062ad623e39585ba5d317e099453f38b8d45d396e61f481dc9d2c0c6955
DIST hpacucli-8.70-8.0.noarch.rpm 6131659 RMD160 c2b44f11a60ef1ce70fb3cd7658a43a770ebb74c SHA1 138812318c27eb989e61e71d00531102f95e2879 SHA256 0864f0a9823941116a049b7d842564db37938801be0e43d2caa7aff299b1372b
DIST hpacucli-8.75-12.0.noarch.rpm 6228261 RMD160 4b4abea85f66b42e71d56e1e9f9c2d67cf9f9e48 SHA1 393033795553278c1a7a3dfb0eca0e821398fe0d SHA256 874bbf845aa678b12dd71fdb33105488d45e9c66b0adcbe3bfa5dad06e993eaf
+DIST hpacucli-9.0-24.0.noarch.rpm 6504897 RMD160 17f97a650bb3923067f2b1a05f8df3664d7e2ed9 SHA1 2026b503c394e53e7481c767ba3d85bf06205a49 SHA256 9db961482f07af26344946a9a2b9d32083d0b9081edba6526d8f28eb0458e7e7
EBUILD hpacucli-8.10.2.ebuild 1663 RMD160 8af313b3fbd0d67305b23753517c7fb9e0361a4d SHA1 4dde9aa31ecd80fafb592fbf6b9606d3231afbb1 SHA256 039fdd8ee59e830103c349cd000ca4650d905e78ac4e23802f80b20b4e0851c2
EBUILD hpacucli-8.70.8.0.ebuild 1639 RMD160 903101f0d9e36ae09c239438b4bac2801e265771 SHA1 f0b69a81073c4cc9c3f168804425333a852df428 SHA256 9c25f89b4a3a86cf61a27e19312c1244b8bee01bf7bae89470013e2881d524e9
EBUILD hpacucli-8.75.12.0.ebuild 1877 RMD160 66ff61547773f8c495a07508b2c1098c8570f737 SHA1 c4837db5d1b43efaf9185f09d02c2a791aaf3154 SHA256 e053f265897332597d6f91cf680122f331979675b17657fc7d2e896171e3ce1f
-MISC ChangeLog 763 RMD160 e10c37e88d9e3408d87299dc9dc7ea68b02e6df1 SHA1 d88eab5fc5f32c814703f51a7e2394410c652480 SHA256 1f1a9be87625e7b5a20badc5a2a5de8d09f72776a0fbc566d82df3cd4f6f8f52
+EBUILD hpacucli-9.0.24.0.ebuild 1907 RMD160 1be07a0ee3a7bd28ebe050630096f3458c4612ac SHA1 ae6a38ea31afaf2af93cdc16f5d1f8b77048964d SHA256 c3beb33cf567303046808e8d3704f635fed94fb5f2a113944709b6fe90aadb59
+MISC ChangeLog 964 RMD160 fb927448d6ceb9db2223a1f02ee7ca16f563b49c SHA1 45b3619ec6971abda6dd90b684a7af2ee1549161 SHA256 4d467ba4eabb92d2697b88e023a7608b122e98f33f45a5bd54acda69d1be0e25
MISC metadata.xml 431 RMD160 1dc5a3f71b7eed24b64c6cf50dbdf6586d613526 SHA1 e31340fcbbed5bc34effe811dbfd519ca548f7c2 SHA256 0efa1b94d791f59e63f538c2048b9e82e3522ac6a2af6a17d1cd8209c468e7ea
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQEIAAYFAk59siwACgkQfXuS5UK5QB0zkQP6AnWeTcHjmFbttQnwIRtR+rpv
-1XzNYgHIEcDavAYS7rwzWXEuJ81nQtxSIjpWQOT7F8RJpDzJ2a4LXP8eoYnuTgop
-LwZ8iGw7kjxKfVk3A6v9Mteb1OnBolAXjYK+wARpI2+/CLoOlQInuZGtYDMrR0KB
-k9qVzRyYOXNWPc0HQ6I=
-=J6zM
+iD8DBQFPr+x4QW+hXSf0t0IRAi9YAJ9hViZ3RjRJRBzV/WlqrbBaqwqWKACfQCDI
+jdwBRYUviySlJzQlZFwesUU=
+=pbMf
-----END PGP SIGNATURE-----
diff --git a/sys-block/hpacucli/files/hpacucli-setarch b/sys-block/hpacucli/files/hpacucli-setarch
new file mode 100755
index 000000000000..0c19eb8bf60f
--- /dev/null
+++ b/sys-block/hpacucli/files/hpacucli-setarch
@@ -0,0 +1,19 @@
+#!/bin/sh
+HPACUCLI_BASEDIR="/opt/hp/hpacucli"
+HPACUCLI_LOCKDIR="/var/lock/hpacucli"
+HPACUCLI_LOCK="${HPACUCLI_LOCKDIR}/CPQACU_MUTEX"
+HPACUCLI_BIN="${HPACUCLI_BASEDIR}/hpacucli.bin"
+
+if pgrep -x "${HPACUCLI_BIN##*/}"; then
+ echo "Another instance of hpacucli is running! Stop it first."
+ exit 1
+fi
+
+if ! [ -f "${HPACUCLI_LOCK}" ]; then
+ mkdir -p -m 700 "${HPACUCLI_LOCKDIR}"
+ touch "${HPACUCLI_LOCK}"
+fi
+
+export LD_LIBRARY_PATH="${HPACUCLI_BASEDIR}"
+export ACUXE_LOCK_FILES_DIR="${HPACUCLI_LOCKDIR}/"
+exec setarch x86_64 --uname-2.6 "${HPACUCLI_BIN}" "${@}"
diff --git a/sys-block/hpacucli/hpacucli-9.0.24.0.ebuild b/sys-block/hpacucli/hpacucli-9.0.24.0.ebuild
new file mode 100644
index 000000000000..23ccc153b281
--- /dev/null
+++ b/sys-block/hpacucli/hpacucli-9.0.24.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/hpacucli/hpacucli-9.0.24.0.ebuild,v 1.1 2012/05/13 17:16:34 ramereth Exp $
+
+EAPI="4"
+
+inherit rpm versionator pax-utils
+
+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/v68034/${PN}-${MY_PV}.noarch.rpm"
+
+LICENSE="hp-proliant-essentials"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hardened"
+
+DEPEND=""
+RDEPEND=">=sys-apps/coreutils-2.20.1
+ sys-process/procps
+ x86? ( sys-libs/lib-compat )
+ amd64? ( app-emulation/emul-linux-x86-compat )"
+
+S="${WORKDIR}"
+
+HPACUCLI_BASEDIR="/opt/hp/hpacucli"
+HPACUCLI_LOCKDIR="/var/lock/hpacucli"
+
+QA_PRESTRIPPED="/opt/hp/hpacucli/hpacucli.bin"
+QA_EXECSTACK="opt/hp/hpacucli/libcpqimgr.so
+ opt/hp/hpacucli/hpacucli.bin"
+
+src_install() {
+ local MY_S="${S}/opt/compaq/${PN}/bld"
+
+ newsbin "${FILESDIR}"/"${PN}-setarch" hpacucli|| die
+
+ exeinto "${HPACUCLI_BASEDIR}"
+ newexe "${MY_S}"/.${PN} ${PN}.bin || die
+
+ insinto "${HPACUCLI_BASEDIR}"
+ doins "${MY_S}"/*.so || die
+
+ 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}
+
+ if use hardened; then
+ pax-mark m "${D}/opt/hp/hpacucli/hpacucli.bin"
+ fi
+}
+
+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
+}