public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/superdiag/
Date: Wed,  9 Feb 2022 22:57:31 +0000 (UTC)	[thread overview]
Message-ID: <1644447402.3b5b9fb8517209239a4f838ffc344c9ee8ddf942.conikost@gentoo> (raw)

commit:     3b5b9fb8517209239a4f838ffc344c9ee8ddf942
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  9 21:36:13 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Feb  9 22:56:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b5b9fb8

sys-apps/superdiag: update EAPI 7 -> 8

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../superdiag/superdiag-1.5.0.20210507-r1.ebuild   | 68 ++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/sys-apps/superdiag/superdiag-1.5.0.20210507-r1.ebuild b/sys-apps/superdiag/superdiag-1.5.0.20210507-r1.ebuild
new file mode 100644
index 000000000000..9d2a52f338f6
--- /dev/null
+++ b/sys-apps/superdiag/superdiag-1.5.0.20210507-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+S="${WORKDIR}"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="supermicro"
+SLOT="0"
+IUSE="iso usb"
+
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist fetch mirror"
+
+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
+}


             reply	other threads:[~2022-02-09 22:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 22:57 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-15 21:14 [gentoo-commits] repo/gentoo:master commit in: sys-apps/superdiag/ Conrad Kostecki
2023-07-15 21:14 Conrad Kostecki
2022-02-11 17:22 Conrad Kostecki
2022-02-11 17:22 Conrad Kostecki
2022-02-09 22:57 Conrad Kostecki
2021-07-01 22:19 Conrad Kostecki
2021-07-01 22:19 Conrad Kostecki
2021-01-09 14:29 Conrad Kostecki
2021-01-09 14:29 Conrad Kostecki
2020-02-04 18:09 Conrad Kostecki
2020-02-04 18:09 Conrad Kostecki
2019-12-02 23:22 Conrad Kostecki
2019-10-13 11:22 Joonas Niilola
2019-10-13 11:22 Joonas Niilola
2018-10-01  7:37 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1644447402.3b5b9fb8517209239a4f838ffc344c9ee8ddf942.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox