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