mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
net-misc/ipmiview: drop old version
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST IPMIView_2.15.0_build.190109_bundleJRE_Linux.tar.gz 138691420 BLAKE2B 7f2d8e9519d6a9651d09c8b55e6a530266b809e437132ac4a814473ec25622663a0fb455a3b078fd5e79194e82d24d1b324369799f15bd1d4dbb6b607cdada76 SHA512 17078c8480579e63391a8cfb7af5033510ca3a9c5616b2af0af7679bbd6592f4f7fbe68dc01194aa11c1b481bc1c4089339adb42c22a687effa05dd728984579
|
||||
DIST IPMIView_2.15.0_build.190109_bundleJRE_Linux_x64.tar.gz 135584164 BLAKE2B d74ade013d00e7c7dd5d79b808d158519a520603931dfe9bd44f4dc64911b066f0e9f61bdff7386ee30d2d5b1f4fb86477ee339e76f00746f0b119c3a4b49e82 SHA512 2409f79850cafb2af5f34ec3fd755a6438ef7abef3c1a014df95d4ccc49d9b151ddfba7c1824de9c0f00234ea36b2fa6bb519f5035321dccae9ac06fa2f9458a
|
||||
DIST IPMIView_2.17.0_build.200505_bundleJRE_Linux_x64.tar.gz 105509705 BLAKE2B 915c1c27bb9e1f519634c0c2a78e3673aaa2c6e713be1132d2682dabf8f56a35b16c2403645fc0fda54643e35214ead65ef9d01854180219dfcc8489904b8766 SHA512 17ed72e802fb0a55c140f98262575385ede2d490484fe926bb7ff19f34e5a376f2d21025e99318d2001b042487729dc8b07b38cca4bf62df6e04d7df0d1d3091
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop eapi7-ver java-pkg-2 prefix
|
||||
|
||||
MY_DATE="$(ver_cut 4)"
|
||||
MY_PN="IPMIView"
|
||||
MY_PV="$(ver_cut 1-3)"
|
||||
|
||||
DESCRIPTION="A GUI application that allows to manage multiple target systems through BMC"
|
||||
HOMEPAGE="https://www.supermicro.com/"
|
||||
SRC_URI="
|
||||
amd64? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz )
|
||||
x86? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="supermicro"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
net-misc/stunnel
|
||||
virtual/jre:1.8
|
||||
"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="bindist fetch mirror strip"
|
||||
|
||||
DIR="/usr/share/${PN}"
|
||||
QA_PREBUILT="usr/lib*"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from"
|
||||
elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=IPMI"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv -v ${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux$(usex amd64 _x64 "") ${P} || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Extract icons for menu entries
|
||||
unzip -j -LL IPMIView20.jar images/ipmi{view,trap}.ico || die
|
||||
|
||||
# Don't use their scary launchers
|
||||
rm -v lax.jar || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar *.jar
|
||||
java-pkg_doso $(usex amd64 '*64.so' '*32.so')
|
||||
|
||||
local pre=$(prefixify_ro "${FILESDIR}"/launcher-pre.bash)
|
||||
java-pkg_dolauncher ipmiview --jar IPMIView20.jar -pre "${pre}"
|
||||
java-pkg_dolauncher ipmiview-ikvm --jar iKVM.jar -pre "${pre}"
|
||||
java-pkg_dolauncher ipmiview-ikvmmicroblade --jar iKVMMicroBlade.jar -pre "${pre}"
|
||||
java-pkg_dolauncher ipmiview-jviewerx9 --jar JViewerX9.jar -pre "${pre}"
|
||||
java-pkg_dolauncher trapreceiver --jar TrapView.jar -pre "${pre}"
|
||||
|
||||
exeinto ${DIR}/jre/bin
|
||||
newexe $(prefixify_ro "${FILESDIR}"/fake-java-r1.bash) java
|
||||
|
||||
insinto ${DIR}/lib/BMCSecurity
|
||||
doins BMCSecurity/*.{crt,key,pem,txt}
|
||||
|
||||
insinto ${DIR}/lib/BMCSecurity/linux
|
||||
doins BMCSecurity/linux/stunnel.conf
|
||||
|
||||
dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel32
|
||||
dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel64
|
||||
|
||||
doicon ipmi{view,trap}.ico
|
||||
make_desktop_entry ipmiview IPMIView ipmiview.ico
|
||||
make_desktop_entry trapreceiver "Trap Receiver" ipmitrap.ico
|
||||
|
||||
local DOCS=( *.pdf *.txt )
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user