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/, net-misc/ipmiview/files/
Date: Sun, 05 Aug 2018 21:48:16
Message-Id: 1533505657.8f15bee752400d909994e8d68a73af7197c97113.monsieurp@gentoo
1 commit: 8f15bee752400d909994e8d68a73af7197c97113
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sun Jul 29 14:50:08 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 5 21:47:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f15bee7
7
8 net-misc/ipmiview: drop old version.
9
10 Bug: https://bugs.gentoo.org/662426
11 Package-Manager: Portage-2.3.43, Repoman-2.3.10
12
13 net-misc/ipmiview/files/fake-java.bash | 24 -------
14 net-misc/ipmiview/ipmiview-2.14.0.180213.ebuild | 85 -------------------------
15 2 files changed, 109 deletions(-)
16
17 diff --git a/net-misc/ipmiview/files/fake-java.bash b/net-misc/ipmiview/files/fake-java.bash
18 deleted file mode 100644
19 index 7d4fbfe32a0..00000000000
20 --- a/net-misc/ipmiview/files/fake-java.bash
21 +++ /dev/null
22 @@ -1,24 +0,0 @@
23 -#!/bin/bash
24 -
25 -for ARG in "${@}"; do
26 - case ${ARG} in
27 - -jar)
28 - EXE=${2}
29 - shift 2
30 - break
31 - ;;
32 - *)
33 - shift
34 - ;;
35 - esac
36 -done
37 -
38 -if [[ ${EXE} != *.jar ]]; then
39 - echo "error: could not find jar argument in java invocation" >&2
40 - exit 1
41 -fi
42 -
43 -EXE=${EXE%.jar}
44 -EXE=${EXE,,}
45 -
46 -exec "${EXE}" "${@}"
47
48 diff --git a/net-misc/ipmiview/ipmiview-2.14.0.180213.ebuild b/net-misc/ipmiview/ipmiview-2.14.0.180213.ebuild
49 deleted file mode 100644
50 index 8b3eaa7b720..00000000000
51 --- a/net-misc/ipmiview/ipmiview-2.14.0.180213.ebuild
52 +++ /dev/null
53 @@ -1,85 +0,0 @@
54 -# Copyright 1999-2018 Gentoo Foundation
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=6
58 -
59 -inherit desktop eapi7-ver java-pkg-2 prefix
60 -
61 -MY_DATE="$(ver_cut 4)"
62 -MY_PN="IPMIView"
63 -MY_PV="$(ver_cut 1-3)"
64 -
65 -DESCRIPTION="A GUI application that allows to manage multiple target systems through BMC"
66 -HOMEPAGE="https://www.supermicro.com/"
67 -SRC_URI="amd64? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz )
68 - x86? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux.tar.gz )"
69 -
70 -LICENSE="supermicro"
71 -SLOT="0"
72 -KEYWORDS="-* ~amd64 ~x86"
73 -
74 -DEPEND="app-arch/unzip"
75 -
76 -RDEPEND="net-misc/stunnel
77 - virtual/jre:1.8"
78 -
79 -RESTRICT="bindist fetch mirror strip"
80 -
81 -DIR="/usr/share/${PN}"
82 -QA_PREBUILT="usr/lib*"
83 -
84 -pkg_nofetch() {
85 - elog "Please download ${A} from"
86 - elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=IPMI"
87 - elog "and place it in your DISTDIR directory."
88 -}
89 -
90 -src_unpack() {
91 - unpack ${A}
92 - mv -v ${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux$(usex amd64 _x64 "") ${P} || die
93 -}
94 -
95 -src_prepare() {
96 - default
97 -
98 - # Extract icons for menu entries
99 - unzip -j -LL IPMIView20.jar images/ipmi{view,trap}.ico || die
100 -
101 - # Don't use their scary launchers
102 - rm -v lax.jar || die
103 -}
104 -
105 -src_compile() {
106 - :
107 -}
108 -
109 -src_install() {
110 - java-pkg_dojar *.jar
111 - java-pkg_doso $(usex amd64 '*64.so' '*32.so')
112 -
113 - local pre=$(prefixify_ro "${FILESDIR}"/launcher-pre.bash)
114 - java-pkg_dolauncher ikvm --jar iKVM.jar -pre "${pre}"
115 - java-pkg_dolauncher ikvmmicroblade --jar iKVMMicroBlade.jar -pre "${pre}"
116 - java-pkg_dolauncher ipmiview --jar IPMIView20.jar -pre "${pre}"
117 - java-pkg_dolauncher jviewerx9 --jar JViewerX9.jar -pre "${pre}"
118 - java-pkg_dolauncher trapreceiver --jar TrapView.jar -pre "${pre}"
119 -
120 - exeinto ${DIR}/jre/bin
121 - newexe $(prefixify_ro "${FILESDIR}"/fake-java.bash) java
122 -
123 - insinto ${DIR}/lib/BMCSecurity
124 - doins BMCSecurity/*.{crt,key,pem,txt}
125 -
126 - insinto ${DIR}/lib/BMCSecurity/linux
127 - doins BMCSecurity/linux/stunnel.conf
128 -
129 - dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel32
130 - dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel64
131 -
132 - doicon ipmi{view,trap}.ico
133 - make_desktop_entry ipmiview IPMIView ipmiview.ico
134 - make_desktop_entry trapreceiver "Trap Receiver" ipmitrap.ico
135 -
136 - local DOCS=( *.pdf *.txt )
137 - einstalldocs
138 -}