diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-07-02 17:10:18 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-07-02 17:10:18 +0000 |
commit | 0df3406b288b4ea488ab7e0822660a79e6468a8b (patch) | |
tree | f075542fb443e2b85754e773cb3ecea76203a526 /sys-block/hpacucli | |
parent | Make dependency on pax-utils and paxctl explicit (diff) | |
download | gentoo-2-0df3406b288b4ea488ab7e0822660a79e6468a8b.tar.gz gentoo-2-0df3406b288b4ea488ab7e0822660a79e6468a8b.tar.bz2 gentoo-2-0df3406b288b4ea488ab7e0822660a79e6468a8b.zip |
Version bump, bug 373373. Some QA fixes. Disable mprotect for hardened systems.
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/hpacucli')
-rw-r--r-- | sys-block/hpacucli/ChangeLog | 8 | ||||
-rw-r--r-- | sys-block/hpacucli/hpacucli-8.75.12.0.ebuild | 73 |
2 files changed, 80 insertions, 1 deletions
diff --git a/sys-block/hpacucli/ChangeLog b/sys-block/hpacucli/ChangeLog index f1c5caf6a051..265a2fd97a89 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.2 2011/05/30 00:24:10 ramereth Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/hpacucli/ChangeLog,v 1.3 2011/07/02 17:10:18 idl0r Exp $ + +*hpacucli-8.75.12.0 (02 Jul 2011) + + 02 Jul 2011; Christian Ruppert <idl0r@gentoo.org> +hpacucli-8.75.12.0.ebuild: + Version bump, bug 373373. Some QA fixes. Disable mprotect for hardened + systems. *hpacucli-8.70.8.0 (30 May 2011) diff --git a/sys-block/hpacucli/hpacucli-8.75.12.0.ebuild b/sys-block/hpacucli/hpacucli-8.75.12.0.ebuild new file mode 100644 index 000000000000..990b810e4b43 --- /dev/null +++ b/sys-block/hpacucli/hpacucli-8.75.12.0.ebuild @@ -0,0 +1,73 @@ +# 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.75.12.0.ebuild,v 1.1 2011/07/02 17:10:18 idl0r 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/v65771/${PN}-${MY_PV}.noarch.rpm" + +LICENSE="hp-proliant-essentials" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="hardened" + +DEPEND="" +RDEPEND="sys-apps/coreutils + 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" + + dosbin "${FILESDIR}"/${PN} || 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 +} |