-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://bugs.gentoo.org/601406
- Loading branch information
Showing
5 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DIST IPMIView_2.13.1_build.171024_bundleJRE_Linux.tar.gz 94583108 BLAKE2B 178c5ff3b09ecd5bf85201f96fc71bf29d5be51bdd974ae56655372d338ace42f111d33538151bc54533774b59805cb14d3cd6bd6c2ce8781db729a473873a01 SHA512 5b6c27e0a3d2db2963d1a9a5b2e8618eef9eca926c519abe05e49f590934746076135d6937745c00385adcfaa583c78de47fe5d7235f01df54aeb10081756bdd | ||
DIST IPMIView_2.13.1_build.171024_bundleJRE_Linux_x64.tar.gz 93136666 BLAKE2B b1f56a598bc356c0e18ab7003f33d57da680276f0c6f70e1787580ff7ff5c7ec0de0ba2ab372cde6e0292adb5ee8eb79093b432e58191b257bed6e8f6cac6e04 SHA512 2e1e577ee06fec77a4e208d6bd917f95f9b9d22601f62e1069349a720a0cc51f561ee01f212c0291dd0855740c292e5938afac3702f7d6204667b5145f999af9 |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
inherit desktop eapi7-ver java-vm-2 | ||
|
||
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}/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz ) | ||
x86? ( ftp://ftp.supermicro.com/utility/${MY_PN}/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux.tar.gz )" | ||
|
||
LICENSE="supermicro" | ||
SLOT="0" | ||
KEYWORDS="-* ~amd64 ~x86" | ||
|
||
RDEPEND="sys-devel/gcc | ||
sys-libs/glibc" | ||
|
||
RESTRICT="bindist fetch mirror strip" | ||
|
||
S="${WORKDIR}" | ||
|
||
QA_PREBUILT="opt/ipmiview/libiKVM*.so | ||
opt/ipmiview/libSharedLibrary*.so" | ||
|
||
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_install() { | ||
# Choose ARCH | ||
if use amd64; then | ||
local my_arch="${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64" | ||
else | ||
local my_arch="${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux" | ||
fi | ||
|
||
# Install binary | ||
exeinto /opt/ipmiview | ||
doexe ${my_arch}/iKVM ${my_arch}/IPMIView20 ${my_arch}/JViewerX9 ${my_arch}/TrapReceiver | ||
|
||
# Install libs | ||
exeinto /opt/ipmiview | ||
if use amd64; then | ||
doexe ${my_arch}/*64.so | ||
else | ||
doexe ${my_arch}/*32.so | ||
fi | ||
|
||
# Install java libs | ||
exeinto /opt/ipmiview | ||
if use amd64; then | ||
doexe ${my_arch}/*64.jnilib | ||
else | ||
doexe ${my_arch}/*32.jnilib | ||
fi | ||
|
||
# Install files | ||
touch "${T}"/account.properties "${T}"/email.properties "${T}"/IPMIView.properties "${T}"/timeout.properties || die | ||
insinto /opt/ipmiview | ||
doins ${my_arch}/*.jar ${my_arch}/*.lax "${T}"/*.properties | ||
|
||
# Use system java | ||
dosym ${JAVA_VM_SYSTEM}/jre /opt/ipmiview/jre | ||
|
||
# Install certificates | ||
insinto /opt/ipmiview/BMCSecurity | ||
doins ${my_arch}/BMCSecurity/*.crt ${my_arch}/BMCSecurity/*.key ${my_arch}/BMCSecurity/*.pem ${my_arch}/BMCSecurity/*.txt | ||
|
||
# Install Stunnel config | ||
insinto /opt/ipmiview/BMCSecurity/linux | ||
doins ${my_arch}/BMCSecurity/linux/stunnel.conf | ||
|
||
# Use system stunnel | ||
if use amd64; then | ||
dosym ../../../../usr/bin/stunnel /opt/ipmiview/BMCSecurity/linux/stunnel64 | ||
else | ||
dosym ../../../../usr/bin/stunnel /opt/ipmiview/BMCSecurity/linux/stunnel32 | ||
fi | ||
|
||
# Install icons | ||
doicon "${FILESDIR}"/ipmiview.ico | ||
doicon "${FILESDIR}"/ipmitrap.ico | ||
|
||
# Install menu entry | ||
make_desktop_entry ipmiview IPMIView /usr/share/pixmaps/ipmiview.ico Network Path=/opt/ipmiview | ||
make_desktop_entry trapreceiver "Trap Receiver" /usr/share/pixmaps/ipmitrap.ico Network Path=/opt/ipmiview | ||
|
||
# Install symlink | ||
dodir /opt/bin | ||
dosym ../ipmiview/iKVM /opt/bin/ikvm | ||
dosym ../ipmiview/IPMIView20 /opt/bin/ipmiview | ||
dosym ../ipmiview/JViewerX9 /opt/bin/jviewerx9 | ||
dosym ../ipmiview/TrapReceiver /opt/bin/trapreceiver | ||
|
||
# Install docs | ||
local DOCS=( "${my_arch}/IPMIView20_User_Guide.pdf" "${my_arch}/IPMIView_MicroBlade_User_Guide.pdf" "${my_arch}/IPMIView_SuperBlade_User_Guide.pdf" "${my_arch}/ReleaseNotes.txt" ) | ||
einstalldocs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>ck+gentoo@bl4ckb0x.de</email> | ||
<name>Conrad Kostecki</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
</pkgmetadata> |