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 5CECE138334 for ; Mon, 1 Oct 2018 07:37:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5700FE0942; Mon, 1 Oct 2018 07:37:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 18FB1E0942 for ; Mon, 1 Oct 2018 07:37:15 +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 E2F14335D4D for ; Mon, 1 Oct 2018 07:37:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B203F3FA for ; Mon, 1 Oct 2018 07:37:05 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1538379419.d723cdec15635a4dc4522028cb2e05b6380e4670.mgorny@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/metadata.xml sys-apps/superdiag/superdiag-1.1.0.20180731.ebuild X-VCS-Directories: sys-apps/superdiag/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d723cdec15635a4dc4522028cb2e05b6380e4670 X-VCS-Branch: master Date: Mon, 1 Oct 2018 07:37:05 +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-Archives-Salt: 6246d715-8a4d-4181-a420-96331f767558 X-Archives-Hash: 946cba80e3d592d7a06d1663f577a4bb commit: d723cdec15635a4dc4522028cb2e05b6380e4670 Author: Conrad Kostecki kostecki com> AuthorDate: Sun Sep 30 22:13:07 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Oct 1 07:36:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d723cdec sys-apps/superdiag: New package Closes: https://bugs.gentoo.org/665242 Signed-off-by: Conrad Kostecki kostecki.com> Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9780 sys-apps/superdiag/Manifest | 1 + sys-apps/superdiag/metadata.xml | 24 +++++++ sys-apps/superdiag/superdiag-1.1.0.20180731.ebuild | 82 ++++++++++++++++++++++ 3 files changed, 107 insertions(+) diff --git a/sys-apps/superdiag/Manifest b/sys-apps/superdiag/Manifest new file mode 100644 index 00000000000..93dc6ed99a0 --- /dev/null +++ b/sys-apps/superdiag/Manifest @@ -0,0 +1 @@ +DIST SuperDiag_1.1.0_20180731_package.zip 2564515 BLAKE2B 9ae34682daf5aa8996989c434906dd59f64e569a1cd1ae107d1e7861430ae028829efd1a1aa1ba2b5269d13e0ac2bef33b106a945fbd800fba6766b10f7486a5 SHA512 b79eae3063fc1425ee2a7a71304ae8993da52e9a2a8b2565e5f4fe0f3f3cdf8a7016cf765dab9e440c71cb8ff6b311fa2e4067459d76268bcf2697e8344c4e9a diff --git a/sys-apps/superdiag/metadata.xml b/sys-apps/superdiag/metadata.xml new file mode 100644 index 00000000000..c8ab6cc03ab --- /dev/null +++ b/sys-apps/superdiag/metadata.xml @@ -0,0 +1,24 @@ + + + + + ck+gentoo@bl4ckb0x.de + Conrad Kostecki + + + proxy-maint@gentoo.org + Proxy Maintainers + + + The Super Diagnostics provides offline the capability to determine + the health of Supermicro server's components, including CPU, memory and I/O. + Features: Designed for Supermicro Sytems, offline diagnostics, + command line interface (CLI), local and remote diagnostics, + automatically collects information on detected devices, + test results reported in output files and flexible test coverage. + + + Install an iso image, which can be used with sys-apps/smc-sum. + Install all files, which are needed for an installation on an usb thumb drive. + + diff --git a/sys-apps/superdiag/superdiag-1.1.0.20180731.ebuild b/sys-apps/superdiag/superdiag-1.1.0.20180731.ebuild new file mode 100644 index 00000000000..99c892c1441 --- /dev/null +++ b/sys-apps/superdiag/superdiag-1.1.0.20180731.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_BUILD="0724" +MY_DATE="$(ver_cut 4)" +MY_DATE_ISO="20180724" +MY_PN="SuperDiag" +MY_PV="$(ver_cut 1-3)" +MY_P="${MY_PN}_${MY_PV}_${MY_DATE}" + +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}_package.zip" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="supermicro" +SLOT="0" +IUSE="iso usb" + +DEPEND="app-arch/unzip" + +RESTRICT="bindist fetch mirror" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + unpack "${S}"/${MY_P}.zip + + if use iso; then + unzip ${MY_P}/Diagnose_Remotely/ISOFor${MY_PN}_v${MY_PV}_${MY_BUILD}.zip -d iso || die + fi + + if use usb; then + unzip ${MY_P}/Diagnose_Remotely/USBFor${MY_PN}_v${MY_PV}_${MY_BUILD}.zip -d usb || die + fi +} + +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_install() { + insinto /usr/share/superdiag + doins ${MY_P}/startup.nsh ${MY_P}/${MY_PN}_v${MY_PV}.efi ${MY_P}/EFI/Boot/BootX64.efi + + insinto /usr/share/superdiag/Picture + doins ${MY_P}/Picture/*.bmp + + insinto /usr/share/superdiag/SelData + doins ${MY_P}/SelData/*.dat + + local DOCS=( + "Superdiag_${MY_PV}_addendum_release_notes.docx" + "${MY_P}/Supermicro Super Diagnostics Offline readme.txt" + "${MY_P}/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}_v${MY_PV}_${MY_DATE_ISO}.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}_v${MY_PV}.efi /usr/share/superdiag/USB/${MY_PN}_v${MY_PV}.efi + dosym ../Picture /usr/share/superdiag/USB/Picture + dosym ../SelData /usr/share/superdiag/USB/SelData + + newdoc usb/Readme.txt Readme.USB.txt + fi +}