Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420115 - sys-block/hpacucli-9.10.22.0 version bump
Summary: sys-block/hpacucli-9.10.22.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-06-07 13:38 UTC by Robert Varga
Modified: 2012-12-01 21:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild (hpacucli-9.10.22.0.ebuild,2.01 KB, text/plain)
2012-06-07 13:40 UTC, Robert Varga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Varga 2012-06-07 13:38:00 UTC
HP started to provide split i386/x86_64 binaries, which allows amd64 users to run hpacucli without needing to pull compat/emul libraries.

Reproducible: Always

Actual Results:  
hpacucli runs in 32bit emulation

Expected Results:  
hpacucli runs 64bit native
Comment 1 Robert Varga 2012-06-07 13:40:55 UTC
Created attachment 314575 [details]
Proposed ebuild

This is a lightly (amd64-only) tested ebuild. The ARCH bit is ugly, but I don't know what is the clean way to do it. QA needs updating, too.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-07 13:58:25 UTC
Comment on attachment 314575 [details]
Proposed ebuild

--- hpacucli-9.0.24.0.ebuild    2012-05-15 07:57:27.000000000 +0200
+++ -   2012-06-07 15:58:17.874321425 +0200
@@ -12,7 +12,8 @@
 
 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"
+SRC_URI="x86? ( ${SRC_URI_BASE}/p414707558/v71530/${PN}-${MY_PV}.i386.rpm )
+         amd64? ( ${SRC_URI_BASE}/p1257348637/v71527/${PN}-${MY_PV}.x86_64.rpm )"
 
 LICENSE="hp-proliant-essentials"
 SLOT="0"
@@ -23,8 +24,7 @@
 RDEPEND="sys-apps/coreutils
        sys-process/procps
        >=sys-apps/util-linux-2.20.1
-       x86? ( sys-libs/lib-compat )
-       amd64? ( app-emulation/emul-linux-x86-compat )"
+       x86? ( sys-libs/lib-compat )"
 
 S="${WORKDIR}"
 
@@ -46,7 +46,8 @@
        insinto "${HPACUCLI_BASEDIR}"
        doins "${MY_S}"/*.so || die
 
-       dodoc "${MY_S}/${PN}-${MY_PV}.noarch.txt"
+       ARCH=$(uname -m | sed -e 's/i.86/i386/')
+       dodoc "${MY_S}/${PN}-${MY_PV}.${ARCH}.txt"
        doman "${S}"/usr/man/man?/*
 
        diropts -m0700
@@ -67,8 +68,11 @@
        if [ "${ROOT}" = "/" ] ; then
                PATH="${PATH}:/sbin" ldconfig -n "${HPACUCLI_BASEDIR}"
        fi
+
+       ARCH=$(uname -m | sed -e 's/i.86/i386/')
+
        einfo
        einfo "For more information regarding this utility, please read"
-       einfo "/usr/share/doc/${P}/${PN}-${MY_PV}.noarch.txt"
+       einfo "/usr/share/doc/${P}/${PN}-${MY_PV}.${ARCH}.txt"
        einfo
 }
Comment 3 Oleg Gawriloff 2012-10-10 14:12:07 UTC
Tested, works for me. So any news?
Comment 4 Oleg Gawriloff 2012-11-28 09:56:18 UTC
Any news?
9.30-15 is available:
x64: ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1257348637/v77370/
i386: ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p414707558/v77371/
available at barzog-overlay
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-01 20:31:04 UTC
I'll pick it up.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-01 21:03:25 UTC
Thanks Robert and Oleg for the bug, this is now fixed in tree, although I used a different ebuild and wrapper script.