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/smc-sum/
Date: Fri, 11 Feb 2022 17:22:09 +0000 (UTC)	[thread overview]
Message-ID: <1644599921.0e048149b07db661c8e20032b3af1d6c0b82fbce.conikost@gentoo> (raw)

commit:     0e048149b07db661c8e20032b3af1d6c0b82fbce
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 11 17:18:41 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Feb 11 17:18:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e048149

sys-apps/smc-sum: add 2.7.0.20210903

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

 sys-apps/smc-sum/Manifest                      |  1 +
 sys-apps/smc-sum/smc-sum-2.7.0.20210903.ebuild | 73 ++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/sys-apps/smc-sum/Manifest b/sys-apps/smc-sum/Manifest
index 5c8ac0d79048..f34024ba6799 100644
--- a/sys-apps/smc-sum/Manifest
+++ b/sys-apps/smc-sum/Manifest
@@ -1 +1,2 @@
 DIST sum_2.5.2_Linux_x86_64_20210112.tar.gz 10859378 BLAKE2B 7e25cc3d6414cf9f59c1aa6dec5b183b91bb6fda8cd1fb59e5a3af37ed662859b39732c3c898d4791f0eb084d539a68bd4328814641ce8aafc166c852e68a091 SHA512 604968a367aa118a3167dad3755af4d1c6b90d164b9485f677aa393466e29f63f8fa67e1661dd22990c92c866fc3e22177a0e5a776ab5fd7ab8a674f60751fdf
+DIST sum_2.7.0_Linux_x86_64_20210903.tar.gz 13796908 BLAKE2B 4ea3e63be33bb94724483db3f5a4476f1f866152f03572e9b32317f7cc3b44b04d91a20965e6a63c7d3c5c6f5b2a4b493f77fef981d4813dfbf5c5dc2684d23a SHA512 d55a0a28a5700179f2acdd51a45be490c841b4ad3e01df30bdb22d02ccc0e24265205b320be2c5feef328e53cc049fb59376afc122707694fd17dd6c35658a9b

diff --git a/sys-apps/smc-sum/smc-sum-2.7.0.20210903.ebuild b/sys-apps/smc-sum/smc-sum-2.7.0.20210903.ebuild
new file mode 100644
index 000000000000..06d5dbd659a2
--- /dev/null
+++ b/sys-apps/smc-sum/smc-sum-2.7.0.20210903.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod
+
+MY_DATE="$(ver_cut 4)"
+MY_PN="${PN/smc-/}"
+MY_PV="$(ver_cut 1-3)"
+
+DESCRIPTION="Updates the BIOS and IPMI firmware and system settings on Supermicro mainboards"
+HOMEPAGE="https://www.supermicro.com"
+SRC_URI="${MY_PN}_${MY_PV}_Linux_x86_64_${MY_DATE}.tar.gz"
+S="${WORKDIR}/${MY_PN}_${MY_PV}_Linux_x86_64"
+
+LICENSE="supermicro"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="module"
+
+RDEPEND="
+	sys-libs/zlib
+	sys-power/iasl
+	module? ( !sys-apps/smc-sum-driver )
+"
+
+RESTRICT="bindist fetch mirror"
+
+DOCS=(
+	"PlatformFeatureSupportMatrix.pdf"
+	"ReleaseNote.txt"
+	"SUM_UserGuide.pdf"
+	"sumrc.sample"
+	"ExternalData/SMCIPID.txt"
+	"ExternalData/VENID.txt"
+)
+
+PATCHES=( "${FILESDIR}/${PN}-2.7.0.20210903-missing-include.patch" )
+
+BUILD_TARGETS="default"
+MODULE_NAMES="sum_bios(misc:${S}/driver/Source/Linux)"
+
+QA_PREBUILT="usr/bin/smc-sum"
+
+pkg_nofetch() {
+	elog "Please download ${A} from"
+	elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=SUM"
+	elog "and place it in your DISTDIR directory."
+}
+
+src_prepare() {
+	default
+
+	# Install new Makefile to respect users CFLAGS and LDFLAGS
+	cp "${FILESDIR}"/makefile driver/Source/Linux/Makefile || die
+}
+
+src_compile() {
+	if use module; then
+		BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}/driver/Source/Linux"
+		linux-mod_src_compile
+	else
+		:;
+	fi
+}
+
+src_install() {
+	newbin sum smc-sum
+	einstalldocs
+
+	use module && linux-mod_src_install
+}


             reply	other threads:[~2022-02-11 17:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-11 17:22 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-18 19:06 [gentoo-commits] repo/gentoo:master commit in: sys-apps/smc-sum/ Conrad Kostecki
2024-03-18 19:06 Conrad Kostecki
2023-07-15 21:14 Conrad Kostecki
2023-07-15 21:14 Conrad Kostecki
2023-06-05 11:05 Conrad Kostecki
2023-06-02 11:16 Conrad Kostecki
2023-03-12 19:00 Conrad Kostecki
2023-03-12 19:00 Conrad Kostecki
2022-11-02 20:43 Conrad Kostecki
2022-06-25 14:35 Conrad Kostecki
2022-04-13 13:34 Conrad Kostecki
2022-04-13 13:34 Conrad Kostecki
2022-02-11 17:22 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-10-09 16:03 Conrad Kostecki
2020-10-09 16:03 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-06 12:45 Thomas Deutschmann
2019-10-06 12:45 Thomas Deutschmann
2019-08-10  6:56 Joonas Niilola
2019-08-10  6:56 Joonas Niilola
2019-03-10 22:38 Patrice Clement
2019-03-10 22:38 Patrice Clement
2018-12-01 22:48 Patrice Clement
2018-10-19  7:54 Michał Górny
2018-08-31 22:12 Patrice Clement
2018-08-31 22:12 Patrice Clement
2018-07-11 11:22 Tony Vroon

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=1644599921.0e048149b07db661c8e20032b3af1d6c0b82fbce.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