diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-02-04 19:07:04 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-02-04 19:07:04 +0100 |
commit | fe0eb68c9263b1643256ad3322c120f27773b8b1 (patch) | |
tree | 39e3c71bad520abf5278bd108349cadee7748ded /sys-apps/superdiag | |
parent | sys-apps/smc-sum: drop old version (diff) | |
download | gentoo-fe0eb68c9263b1643256ad3322c120f27773b8b1.tar.gz gentoo-fe0eb68c9263b1643256ad3322c120f27773b8b1.tar.bz2 gentoo-fe0eb68c9263b1643256ad3322c120f27773b8b1.zip |
sys-apps/superdiag: bump to version 1.3.0.20200109
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/superdiag')
-rw-r--r-- | sys-apps/superdiag/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/superdiag/superdiag-1.3.0.20200109.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/superdiag/Manifest b/sys-apps/superdiag/Manifest index c5e8ff9ed78c..3e58495acc7f 100644 --- a/sys-apps/superdiag/Manifest +++ b/sys-apps/superdiag/Manifest @@ -1 +1,2 @@ DIST SuperDiag_1.2.0_20190711.zip 4826479 BLAKE2B c0ffaf59ab1cbbe406a907938bf028844781533516dc6b0f2c2ee8144395da48a43e5931ef65e6990c97cfb887dd086d7535260319721b534e3b66135c37c680 SHA512 24ac9224a302e4f61a56015476b5c5fb279a057acae97e12c1e8e9271a8f410337f6182d5204d531927b0004ccb76b65c784c91be2c3644d0f30db0c8eca4c6f +DIST SuperDiag_1.3.0_20200109.zip 5223744 BLAKE2B fd4ce0ebc0bc3d3fcd947a54f7c2166371131f4cb1fd172967dc2488bae48df48f2e2f4937aaf20d9ebd4f2d3187e0937a45d789c6f491554096f2009f3d8288 SHA512 6cc2e24ec7a8754c0b8c31b6bc6fdea9e961d1fb8e7c96c4450072ab0f35f3e8f8eee2463ac4d446511cabcde4db07272d19d3ff0cd4739aa31e4fe93707b448 diff --git a/sys-apps/superdiag/superdiag-1.3.0.20200109.ebuild b/sys-apps/superdiag/superdiag-1.3.0.20200109.ebuild new file mode 100644 index 000000000000..e383bfe1660f --- /dev/null +++ b/sys-apps/superdiag/superdiag-1.3.0.20200109.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_DATE="$(ver_cut 4)" +MY_PN="SuperDiag" +MY_PV="$(ver_cut 1-3)" + +DESCRIPTION="Provides the capability to determine the health of Supermicro servers components" +HOMEPAGE="https://www.supermicro.com" +SRC_URI="${MY_PN}_${MY_PV}_${MY_DATE}.zip" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="supermicro" +SLOT="0" +IUSE="iso usb" + +DEPEND="app-arch/unzip" + +RESTRICT="bindist fetch mirror" + +S="${WORKDIR}" + +pkg_nofetch() { + elog "Please download ${A} from" + elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=SDO" + elog "and place it in your DISTDIR directory." +} + +src_unpack() { + unpack ${A} + + if use iso; then + unzip Diagnose_Remotely/ISOFor${MY_PN}_${MY_PV}.zip -d iso || die + fi + + if use usb; then + unzip Diagnose_Remotely/USBFor${MY_PN}_${MY_PV}.zip -d usb || die + fi +} + +src_install() { + insinto /usr/share/superdiag + doins startup.nsh ${MY_PN}.efi EFI/Boot/BootX64.efi + + local DOCS=( + "Supermicro Super Diagnostics Offline readme.txt" + "Supermicro Super Diagnostics Offline User Guide V${MY_PV}.pdf" + ) + dodoc "${DOCS[@]}" + + if use iso; then + insinto /usr/share/superdiag/ISO + doins iso/${MY_PN}_${MY_PV}.iso + + newdoc iso/Readme.txt Readme.ISO.txt + fi + + if use usb; then + insinto /usr/share/superdiag/USB + doins usb/startup.nsh + + dosym ../BootX64.efi /usr/share/superdiag/USB/BootX64.efi + dosym ../${MY_PN}.efi /usr/share/superdiag/USB/${MY_PN}.efi + + newdoc usb/Readme.txt Readme.USB.txt + fi +} |