Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hponcfg/
Date: Wed, 28 Dec 2022 21:00:17
Message-Id: 1672261203.d2518948601d7f71c6b2a151e7269b6c272384f9.sam@gentoo
1 commit: d2518948601d7f71c6b2a151e7269b6c272384f9
2 Author: Marco Scardovi <mscardovi <AT> icloud <DOT> com>
3 AuthorDate: Wed Dec 28 20:38:09 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 21:00:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2518948
7
8 sys-apps/hponcfg: update EAPI 7 -> 8
9
10 Signed-off-by: Marco Scardovi <mscardovi <AT> icloud.com>
11 Closes: https://github.com/gentoo/gentoo/pull/28878
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild | 35 ++++++++++++++++++++++++++++++
15 1 file changed, 35 insertions(+)
16
17 diff --git a/sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild b/sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild
18 new file mode 100644
19 index 000000000000..d0ac235482e9
20 --- /dev/null
21 +++ b/sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild
22 @@ -0,0 +1,35 @@
23 +# Copyright 2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=8
27 +
28 +inherit pax-utils rpm
29 +
30 +MY_PV=$(ver_rs 3 '-')
31 +
32 +DESCRIPTION="HP Lights-Out Online Configuration Utility (HPONCFG)"
33 +HOMEPAGE="https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00007610en_us"
34 +SRC_URI="https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7/x86_64/current/${PN}-${MY_PV}.x86_64.rpm"
35 +
36 +LICENSE="hpe"
37 +SLOT="0"
38 +KEYWORDS="-* ~amd64"
39 +
40 +RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )"
41 +
42 +S="${WORKDIR}"
43 +
44 +QA_PRESTRIPPED="usr/sbin/hponcfg usr/lib*/libcp*"
45 +QA_PREBUILT="${QA_PRESTRIPPED}"
46 +
47 +src_install() {
48 + dosbin sbin/hponcfg
49 +
50 + # When bumping, verify SONAME (scanelf -S libhponcfg64.so)!
51 + newlib.so "${S}"/usr/lib64/libhponcfg64.so libcpqci64.so.3
52 + dosym libcpqci64.so.3 /usr/$(get_libdir)/libhponcfg64.so
53 +
54 + dodoc "${S}"/usr/share/doc/hponcfg/*
55 +
56 + pax-mark m "${D}"/usr/sbin/hponcfg
57 +}