1 |
commit: 78b08b75a1a36af91cffb0b3c0a257d0b5634618 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 19 23:26:39 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 19 23:35:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b08b75 |
7 |
|
8 |
net-misc/ipmiview: bump to version 2.19.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/796506 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
net-misc/ipmiview/Manifest | 1 + |
15 |
net-misc/ipmiview/ipmiview-2.19.0.210401.ebuild | 81 +++++++++++++++++++++++++ |
16 |
2 files changed, 82 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/ipmiview/Manifest b/net-misc/ipmiview/Manifest |
19 |
index 757079b9e06..9f81e06789b 100644 |
20 |
--- a/net-misc/ipmiview/Manifest |
21 |
+++ b/net-misc/ipmiview/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST IPMIView_2.18.0_build.201007_bundleJRE_Linux_x64.tar.gz 108315796 BLAKE2B 5ffbe555245a6fce04bd53ad7f91f8a7aef3b645b0f9affa0aaa7fbaa221cc7259d0de2ee7bf9a3d6e79f5525190314435c4553c785c1b345030edd7b46126d8 SHA512 bda6116f59776b93c449711ad890160238b53ec93aabc669b2c5938eaee7f594e3b91a11f8c293110874fb13c2ed94692257c16fbffe7f86c1d2ee757d30b948 |
24 |
+DIST IPMIView_2.19.0_build.210401_bundleJRE_Linux_x64.tar.gz 147779297 BLAKE2B e3a0846e2704c5acc91ec303d40882d3572165b608c875e02d171b78e8158ea388c38da4e22a78ec4008517bbe7a826f89566bd4a16380009ed94b773b476686 SHA512 6bbde5ff7e5ba73d35068e30a6ca34a2993bc96b3ee10a5bbbafbeb321eb98960a176ec6712183e94705c33462791c23e93732b2945c93b2df5304e8e7d95a10 |
25 |
|
26 |
diff --git a/net-misc/ipmiview/ipmiview-2.19.0.210401.ebuild b/net-misc/ipmiview/ipmiview-2.19.0.210401.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..04196e64d46 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/ipmiview/ipmiview-2.19.0.210401.ebuild |
31 |
@@ -0,0 +1,81 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit desktop java-pkg-2 prefix |
38 |
+ |
39 |
+MY_DATE="$(ver_cut 4)" |
40 |
+MY_PN="IPMIView" |
41 |
+MY_PV="$(ver_cut 1-3)" |
42 |
+ |
43 |
+DESCRIPTION="A GUI application that allows to manage multiple target systems through BMC" |
44 |
+HOMEPAGE="https://www.supermicro.com/" |
45 |
+SRC_URI="https://www.supermicro.com/wftp/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz" |
46 |
+ |
47 |
+LICENSE="supermicro" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="-* ~amd64" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ net-misc/stunnel |
53 |
+ sys-libs/ncurses-compat:5 |
54 |
+ >=virtual/jre-1.8:* |
55 |
+" |
56 |
+ |
57 |
+BDEPEND="app-arch/unzip" |
58 |
+ |
59 |
+RESTRICT="bindist mirror" |
60 |
+ |
61 |
+DIR="/usr/share/${PN}" |
62 |
+QA_PREBUILT="usr/lib*" |
63 |
+ |
64 |
+src_unpack() { |
65 |
+ unpack ${A} |
66 |
+ mv -v ${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64 ${P} || die |
67 |
+} |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ |
72 |
+ # Extract icons for menu entries |
73 |
+ unzip -j -LL IPMIView20.jar images/ipmi{view,trap}.ico || die |
74 |
+ |
75 |
+ # Don't use their scary launchers |
76 |
+ rm -v lax.jar || die |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ : |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ java-pkg_dojar *.jar |
85 |
+ java-pkg_doso *64.so |
86 |
+ |
87 |
+ local pre=$(prefixify_ro "${FILESDIR}"/launcher-pre.bash) |
88 |
+ java-pkg_dolauncher ipmiview --jar IPMIView20.jar -pre "${pre}" |
89 |
+ java-pkg_dolauncher ipmiview-ikvm --jar iKVM.jar -pre "${pre}" |
90 |
+ java-pkg_dolauncher ipmiview-ikvmmicroblade --jar iKVMMicroBlade.jar -pre "${pre}" |
91 |
+ java-pkg_dolauncher ipmiview-jviewerx9 --jar JViewerX9.jar -pre "${pre}" |
92 |
+ java-pkg_dolauncher trapreceiver --jar TrapView.jar -pre "${pre}" |
93 |
+ |
94 |
+ exeinto ${DIR}/jre/bin |
95 |
+ newexe $(prefixify_ro "${FILESDIR}"/fake-java-r1.bash) java |
96 |
+ |
97 |
+ insinto ${DIR}/lib/BMCSecurity |
98 |
+ doins BMCSecurity/*.{crt,key,pem,txt} |
99 |
+ |
100 |
+ insinto ${DIR}/lib/BMCSecurity/linux |
101 |
+ doins BMCSecurity/linux/stunnel.conf |
102 |
+ |
103 |
+ dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel32 |
104 |
+ dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel64 |
105 |
+ |
106 |
+ doicon ipmi{view,trap}.ico |
107 |
+ make_desktop_entry ipmiview IPMIView ipmiview.ico |
108 |
+ make_desktop_entry trapreceiver "Trap Receiver" ipmitrap.ico |
109 |
+ |
110 |
+ local DOCS=( *.pdf *.txt ) |
111 |
+ einstalldocs |
112 |
+} |