Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ipmiview/
Date: Sun, 10 Mar 2019 22:38:42
Message-Id: 1552257320.b34e2ae6f21625f525b4857256cc083471923235.monsieurp@gentoo
1 commit: b34e2ae6f21625f525b4857256cc083471923235
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Fri Mar 8 20:05:51 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 10 22:35:20 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b34e2ae6
7
8 net-misc/ipmiview: bump to version 2.15.0.190109.
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
12 Closes: https://github.com/gentoo/gentoo/pull/11307
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 net-misc/ipmiview/Manifest | 2 +
16 net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild | 89 +++++++++++++++++++++++++
17 net-misc/ipmiview/metadata.xml | 7 ++
18 3 files changed, 98 insertions(+)
19
20 diff --git a/net-misc/ipmiview/Manifest b/net-misc/ipmiview/Manifest
21 index 292d743261e..f949eb85cce 100644
22 --- a/net-misc/ipmiview/Manifest
23 +++ b/net-misc/ipmiview/Manifest
24 @@ -1,2 +1,4 @@
25 DIST IPMIView_2.14.0_build.180213_bundleJRE_Linux.tar.gz 95430772 BLAKE2B 467f1b8b99df6e0b48bab0d652411ce097826eb532e92ac7889ea9c93ad53ff78a291508498d9ffa1463342951cc640fb46bfddd887669b4ebad9f1a9dd09941 SHA512 59fd4ad70f7f6da98a8ca1a95678e368cf963caa3c454e1e1c60006966aa5faeb964c7c68d4fc7f0f5804ffbb49c06d44ab56974bb47bcb77490ad737c707e92
26 DIST IPMIView_2.14.0_build.180213_bundleJRE_Linux_x64.tar.gz 94006067 BLAKE2B 38e597401f3bfb27acb2b6c824ac1dcae17b7ca46fcba1ba64d3533142913915a836bbee6ccfbdb9d21f9a9976629b3412e5f6f40850c3ce139a97428bb25be1 SHA512 7b4f0e3438281da33cb85195048f21fe1101a44ec18a67f83f88665c875d01706664df44ea8eb7403b98685c09764094eaf553f985cebadce66c3dcf635151e1
27 +DIST IPMIView_2.15.0_build.190109_bundleJRE_Linux.tar.gz 138691420 BLAKE2B 7f2d8e9519d6a9651d09c8b55e6a530266b809e437132ac4a814473ec25622663a0fb455a3b078fd5e79194e82d24d1b324369799f15bd1d4dbb6b607cdada76 SHA512 17078c8480579e63391a8cfb7af5033510ca3a9c5616b2af0af7679bbd6592f4f7fbe68dc01194aa11c1b481bc1c4089339adb42c22a687effa05dd728984579
28 +DIST IPMIView_2.15.0_build.190109_bundleJRE_Linux_x64.tar.gz 135584164 BLAKE2B d74ade013d00e7c7dd5d79b808d158519a520603931dfe9bd44f4dc64911b066f0e9f61bdff7386ee30d2d5b1f4fb86477ee339e76f00746f0b119c3a4b49e82 SHA512 2409f79850cafb2af5f34ec3fd755a6438ef7abef3c1a014df95d4ccc49d9b151ddfba7c1824de9c0f00234ea36b2fa6bb519f5035321dccae9ac06fa2f9458a
29
30 diff --git a/net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild b/net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild
31 new file mode 100644
32 index 00000000000..7d565a17b74
33 --- /dev/null
34 +++ b/net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild
35 @@ -0,0 +1,89 @@
36 +# Copyright 1999-2019 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +inherit desktop eapi7-ver java-pkg-2 prefix
42 +
43 +MY_DATE="$(ver_cut 4)"
44 +MY_PN="IPMIView"
45 +MY_PV="$(ver_cut 1-3)"
46 +
47 +DESCRIPTION="A GUI application that allows to manage multiple target systems through BMC"
48 +HOMEPAGE="https://www.supermicro.com/"
49 +SRC_URI="
50 + amd64? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz )
51 + x86? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux.tar.gz )
52 +"
53 +
54 +LICENSE="supermicro"
55 +SLOT="0"
56 +KEYWORDS="-* ~amd64 ~x86"
57 +
58 +RDEPEND="
59 + net-misc/stunnel
60 + virtual/jre:1.8
61 +"
62 +
63 +DEPEND="app-arch/unzip"
64 +
65 +RESTRICT="bindist fetch mirror strip"
66 +
67 +DIR="/usr/share/${PN}"
68 +QA_PREBUILT="usr/lib*"
69 +
70 +pkg_nofetch() {
71 + elog "Please download ${A} from"
72 + elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=IPMI"
73 + elog "and place it in your DISTDIR directory."
74 +}
75 +
76 +src_unpack() {
77 + unpack ${A}
78 + mv -v ${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux$(usex amd64 _x64 "") ${P} || die
79 +}
80 +
81 +src_prepare() {
82 + default
83 +
84 + # Extract icons for menu entries
85 + unzip -j -LL IPMIView20.jar images/ipmi{view,trap}.ico || die
86 +
87 + # Don't use their scary launchers
88 + rm -v lax.jar || die
89 +}
90 +
91 +src_compile() {
92 + :
93 +}
94 +
95 +src_install() {
96 + java-pkg_dojar *.jar
97 + java-pkg_doso $(usex amd64 '*64.so' '*32.so')
98 +
99 + local pre=$(prefixify_ro "${FILESDIR}"/launcher-pre.bash)
100 + java-pkg_dolauncher ipmiview --jar IPMIView20.jar -pre "${pre}"
101 + java-pkg_dolauncher ipmiview-ikvm --jar iKVM.jar -pre "${pre}"
102 + java-pkg_dolauncher ipmiview-ikvmmicroblade --jar iKVMMicroBlade.jar -pre "${pre}"
103 + java-pkg_dolauncher ipmiview-jviewerx9 --jar JViewerX9.jar -pre "${pre}"
104 + java-pkg_dolauncher trapreceiver --jar TrapView.jar -pre "${pre}"
105 +
106 + exeinto ${DIR}/jre/bin
107 + newexe $(prefixify_ro "${FILESDIR}"/fake-java-r1.bash) java
108 +
109 + insinto ${DIR}/lib/BMCSecurity
110 + doins BMCSecurity/*.{crt,key,pem,txt}
111 +
112 + insinto ${DIR}/lib/BMCSecurity/linux
113 + doins BMCSecurity/linux/stunnel.conf
114 +
115 + dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel32
116 + dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel64
117 +
118 + doicon ipmi{view,trap}.ico
119 + make_desktop_entry ipmiview IPMIView ipmiview.ico
120 + make_desktop_entry trapreceiver "Trap Receiver" ipmitrap.ico
121 +
122 + local DOCS=( *.pdf *.txt )
123 + einstalldocs
124 +}
125
126 diff --git a/net-misc/ipmiview/metadata.xml b/net-misc/ipmiview/metadata.xml
127 index 54d5423c406..c4509ff079b 100644
128 --- a/net-misc/ipmiview/metadata.xml
129 +++ b/net-misc/ipmiview/metadata.xml
130 @@ -9,4 +9,11 @@
131 <email>proxy-maint@g.o</email>
132 <name>Proxy Maintainers</name>
133 </maintainer>
134 + <longdescription>
135 + IPMIView is a GUI-based software application that allows administrators
136 + to manage multiple target systems through BMC. IPMIView supports Supermicros
137 + BMCs that adheres to either IPMI v1.5 or v2.0. IPMIView monitors and reports
138 + on the status of a SuperBlade system, including the blade server, power supply,
139 + gigabit switch, InfiniBand and CMM modules. IPMIView also supports remote KVM and Virtual Media.
140 + </longdescription>
141 </pkgmetadata>