From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D6331382C5 for ; Sat, 9 Jan 2021 14:29:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73533E0898; Sat, 9 Jan 2021 14:29:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C08DE0898 for ; Sat, 9 Jan 2021 14:29:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 361043410D0 for ; Sat, 9 Jan 2021 14:29:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62DEE49D for ; Sat, 9 Jan 2021 14:29:44 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1610202564.33ff5bc8237df774c9a9ce8d7fc3b111944624f0.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/superdiag/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/superdiag/Manifest sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild X-VCS-Directories: sys-apps/superdiag/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 33ff5bc8237df774c9a9ce8d7fc3b111944624f0 X-VCS-Branch: master Date: Sat, 9 Jan 2021 14:29:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aced3d56-0dea-4ca5-9f75-2290633f461b X-Archives-Hash: 06bf9ebfe7d52f82f2cbd19138fc1945 commit: 33ff5bc8237df774c9a9ce8d7fc3b111944624f0 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Jan 9 14:27:41 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jan 9 14:29:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ff5bc8 sys-apps/superdiag: bump to version 1.4.0.20201120 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> sys-apps/superdiag/Manifest | 1 + sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild | 69 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/sys-apps/superdiag/Manifest b/sys-apps/superdiag/Manifest index 16a6c41d1de..289693ba64e 100644 --- a/sys-apps/superdiag/Manifest +++ b/sys-apps/superdiag/Manifest @@ -1 +1,2 @@ DIST SuperDiag_1.3.0_20200109.zip 5223744 BLAKE2B fd4ce0ebc0bc3d3fcd947a54f7c2166371131f4cb1fd172967dc2488bae48df48f2e2f4937aaf20d9ebd4f2d3187e0937a45d789c6f491554096f2009f3d8288 SHA512 6cc2e24ec7a8754c0b8c31b6bc6fdea9e961d1fb8e7c96c4450072ab0f35f3e8f8eee2463ac4d446511cabcde4db07272d19d3ff0cd4739aa31e4fe93707b448 +DIST SuperDiag_1.4.0_20201120.zip 5537813 BLAKE2B 014a3770944fdf9f9396e894320cfa65acebc63cfc1f396b4170a351813b72cca5902a27df21f62bf04a25ab5f9db306795ab108d8669045a205f990b1ef73a1 SHA512 d1e33f0fcb22c0b3794dd3677efa6d1041c81cdf09b92e297035a907e4110482daf896c109437380750ad2905008651b017718e97b1ca1e9f8ceee8c24ee0943 diff --git a/sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild b/sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild new file mode 100644 index 00000000000..2203a544278 --- /dev/null +++ b/sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 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 +}