commit:     c0bf277e22855ea2177f15712ee8888ec6dc2f01
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 14 14:40:43 2016 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Aug 14 14:41:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0bf277e

sys-apps/hponcfg: New package

HP Lights-Out Online Configuration utility (HPONCFG) is a configuration
utility available from HPE to configure iLO of Proliant Server.

Package-Manager: portage-2.3.0

 sys-apps/hponcfg/Manifest               |  2 ++
 sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild | 44 +++++++++++++++++++++++++++++++++
 sys-apps/hponcfg/metadata.xml           |  8 ++++++
 3 files changed, 54 insertions(+)

diff --git a/sys-apps/hponcfg/Manifest b/sys-apps/hponcfg/Manifest
new file mode 100644
index 0000000..7f8345d
--- /dev/null
+++ b/sys-apps/hponcfg/Manifest
@@ -0,0 +1,2 @@
+DIST hponcfg-4.6.0-0.i386.rpm 39344 SHA256 
ce4c82aa9cff7ad115208f1a3358f1f6b6891c2356615c10ca825d6b3afef187 SHA512 
534e2d656349e34c539755d807456a671363640ca8dd6853787dbf7f2a594acb88478b59b2e21ca07b8c6f118f6ad3c2e0eb1ec072484db6a8fb707bd593e0e7
 WHIRLPOOL 
8d69682a8a69a8863ae96dea73640ad0900447062deffa0289a440c2cce52089292a05e80c1d0c076c519716bd7f88d803ec7887f2fb817266ffd39fb03359fe
+DIST hponcfg-4.6.0-0.x86_64.rpm 44121 SHA256 
9867452e6e1bcbf9ed4f9bc4e7c48d552d7e77348ae026712685c2ef58f76555 SHA512 
830abe6816295fa7e0888e0848d707ab41510a9ea6dc17d01fd5de2fa56faf49af43ef6698aa379ac8baa6ab729262e77e209b90103ce67d45bf6f0b2d4df142
 WHIRLPOOL 
1e30007160e69336dc28db2eebae83099ca6b1d9efc235f2c521f1a4867302ab1540194a6dd37d90dfcef48cffde94ef734281a9164d9ec765ccaff1e922e7b8

diff --git a/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild 
b/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild
new file mode 100644
index 0000000..96905ae
--- /dev/null
+++ b/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit pax-utils rpm versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+
+DESCRIPTION="HP Lights-Out Online Configuration Utility (HPONCFG)"
+HOMEPAGE="http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5ab6295f49964f16a699064f29";
+SRC_URI="
+       amd64? ( 
http://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/x86_64/current/${PN}-${MY_PV}.x86_64.rpm
 )
+       x86? ( 
http://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/i686/current/${PN}-${MY_PV}.i386.rpm
 )"
+
+LICENSE="hpe"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )"
+
+S="${WORKDIR}"
+
+QA_PRESTRIPPED="/usr/sbin/hponcfg /usr/li.*/libcpqc.*"
+
+src_install() {
+       dosbin sbin/hponcfg
+
+       # When bumping, verify SONAME (scanelf -S libhponcfg64.so)!
+       if use amd64; then
+               newlib.so "${S}"/usr/lib64/libhponcfg64.so libcpqci64.so.3
+               dosym libcpqci64.so.3 /usr/$(get_libdir)/libhponcfg64.so
+       elif use x86; then
+               newlib.so "${S}"/usr/lib/libhponcfg.so libcpqci.so.3
+               dosym libcpqci.so.3 /usr/$(get_libdir)/libhponcfg.so
+       fi
+
+       dodoc "${S}"/usr/share/doc/hponcfg/*
+
+       pax-mark m "${D}"usr/sbin/hponcfg
+}

diff --git a/sys-apps/hponcfg/metadata.xml b/sys-apps/hponcfg/metadata.xml
new file mode 100644
index 0000000..a32d600
--- /dev/null
+++ b/sys-apps/hponcfg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>whi...@gentoo.org</email>
+               <name>Thomas Deutschmann</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to