summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-08-09 17:25:04 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-08-09 17:52:43 +0200
commit26898f4ef76fb1a13d548f0e46ebb4e8fd2809ca (patch)
treeaece646753fc11af79e3ec0d3f05d0089e949827 /sys-apps
parentsys-apps/tas: drop old version (diff)
downloadgentoo-26898f4ef76fb1a13d548f0e46ebb4e8fd2809ca.tar.gz
gentoo-26898f4ef76fb1a13d548f0e46ebb4e8fd2809ca.tar.bz2
gentoo-26898f4ef76fb1a13d548f0e46ebb4e8fd2809ca.zip
sys-apps/ipmicfg: bump to version 1.31.1
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/ipmicfg/Manifest1
-rw-r--r--sys-apps/ipmicfg/ipmicfg-1.31.1.200623.ebuild47
-rw-r--r--sys-apps/ipmicfg/metadata.xml3
3 files changed, 51 insertions, 0 deletions
diff --git a/sys-apps/ipmicfg/Manifest b/sys-apps/ipmicfg/Manifest
index d38b1b46aaf..b9f114609c5 100644
--- a/sys-apps/ipmicfg/Manifest
+++ b/sys-apps/ipmicfg/Manifest
@@ -1 +1,2 @@
DIST IPMICFG_1.31.0_build.200205.zip 1972548 BLAKE2B e6d16907bad2c85618087f770621bf8335bbe38eb5b1a2466ee5b998ab13613aa96dd44e395a05e5b183597d4e5d5f775685bc810cd7d904f57eccecc8474ba1 SHA512 c46414b3504fe357f3b7df0f0c5f8cd4ada5ffa0541a1e49f282a187b8257d6c278cda099cce034eb9a25ad47bfd531255ec88ef6e2495a80f281888374441eb
+DIST IPMICFG_1.31.1_build.200623.zip 1755988 BLAKE2B d9f851d9f9aa2edd51427e4b03bc09e62cc848079507995aefc9c115fe72b6727747e1739a71a56f7909c67d66150d32d89d7163130b9e23c9bd8f9f07b24d70 SHA512 b138d05ad8d2441be6ee3aa97975a998c5d0863e4b8d46d7841693aaeddece058940327fe57a6407df22204ee838325a19b90caec247f7fe8231cb0ab4058474
diff --git a/sys-apps/ipmicfg/ipmicfg-1.31.1.200623.ebuild b/sys-apps/ipmicfg/ipmicfg-1.31.1.200623.ebuild
new file mode 100644
index 00000000000..15d16ef5e36
--- /dev/null
+++ b/sys-apps/ipmicfg/ipmicfg-1.31.1.200623.ebuild
@@ -0,0 +1,47 @@
+# 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="${PN^^}"
+MY_PV="$(ver_cut 1-3)"
+
+DESCRIPTION="An in-band utility for configuring Supermicro IPMI devices"
+HOMEPAGE="https://www.supermicro.com"
+SRC_URI="ftp://ftp.supermicro.com/utility/${MY_PN}/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip"
+
+LICENSE="supermicro"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="uefi"
+
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist fetch mirror"
+
+S="${WORKDIR}/${MY_PN}_${MY_PV}_build.${MY_DATE}"
+
+QA_PREBUILT="usr/bin/ipmicfg"
+
+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() {
+ newbin Linux/$(usex amd64 '64bit' '32bit')/IPMICFG-Linux.x86$(usex amd64 '_64' '') ipmicfg
+
+ if use uefi; then
+ insinto /usr/share/ipmicfg
+ newins UEFI/IPMICFG.efi ipmicfg.efi
+ fi
+
+ # Install docs
+ local DOCS=(
+ "IPMICFG_UserGuide.pdf"
+ "ReleaseNotes.txt"
+ )
+ einstalldocs
+}
diff --git a/sys-apps/ipmicfg/metadata.xml b/sys-apps/ipmicfg/metadata.xml
index 3e3880cf105..1da025bfee6 100644
--- a/sys-apps/ipmicfg/metadata.xml
+++ b/sys-apps/ipmicfg/metadata.xml
@@ -5,4 +5,7 @@
<email>conikost@gentoo.org</email>
<name>Conrad Kostecki</name>
</maintainer>
+ <use>
+ <flag name="uefi">Install compatible UEFI file for boot.</flag>
+ </use>
</pkgmetadata>