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 BE016138334 for ; Wed, 11 Jul 2018 11:22:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE048E0858; Wed, 11 Jul 2018 11:22:58 +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 7835EE0858 for ; Wed, 11 Jul 2018 11:22:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6B727335CC3 for ; Wed, 11 Jul 2018 11:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6586D35A for ; Wed, 11 Jul 2018 11:22:54 +0000 (UTC) From: "Tony Vroon" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tony Vroon" Message-ID: <1531308164.9a8ea1b82d5ca973287efd3b32603a36e190629f.chainsaw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/smc-sum-driver/files/, sys-apps/smc-sum-driver/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/smc-sum-driver/Manifest sys-apps/smc-sum-driver/files/makefile sys-apps/smc-sum-driver/metadata.xml sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201.ebuild X-VCS-Directories: sys-apps/smc-sum-driver/files/ sys-apps/smc-sum-driver/ X-VCS-Committer: chainsaw X-VCS-Committer-Name: Tony Vroon X-VCS-Revision: 9a8ea1b82d5ca973287efd3b32603a36e190629f X-VCS-Branch: master Date: Wed, 11 Jul 2018 11:22:54 +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: 57254969-1233-4245-93f3-ee2068ef017f X-Archives-Hash: 6704a1988e35e7e52133317e6ae4fcad commit: 9a8ea1b82d5ca973287efd3b32603a36e190629f Author: Conrad Kostecki kostecki com> AuthorDate: Wed Jul 11 08:31:29 2018 +0000 Commit: Tony Vroon gentoo org> CommitDate: Wed Jul 11 11:22:44 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a8ea1b8 sys-apps/smc-sum-driver: New package Bug: https://bugs.gentoo.org/651558 Package-Manager: Portage-2.3.41, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9106 Closes: https://bugs.gentoo.org/651558 sys-apps/smc-sum-driver/Manifest | 1 + sys-apps/smc-sum-driver/files/makefile | 15 ++++++++ sys-apps/smc-sum-driver/metadata.xml | 17 +++++++++ .../smc-sum-driver-1.6.0.20151201.ebuild | 41 ++++++++++++++++++++++ 4 files changed, 74 insertions(+) diff --git a/sys-apps/smc-sum-driver/Manifest b/sys-apps/smc-sum-driver/Manifest new file mode 100644 index 00000000000..75709223439 --- /dev/null +++ b/sys-apps/smc-sum-driver/Manifest @@ -0,0 +1 @@ +DIST sum_driver_V1.6.0_20151201.tar.gz 1423921 BLAKE2B 76e2439148749b708a51e0d9c95545b53762f03793e6b2ea6e63e9f79aaad77432f728e94713e0cfd4085e8b090b6e0ff8e779e2627764e71794453cb7e02b49 SHA512 809fdf164e29aabde74306d966de7e07488d8dacc01963b56486477f23bdf3a469d059bc5d302aedbfd4b8dc854a82357747add2626cc22d0ab3898c7bc0a625 diff --git a/sys-apps/smc-sum-driver/files/makefile b/sys-apps/smc-sum-driver/files/makefile new file mode 100644 index 00000000000..35564dcc8fe --- /dev/null +++ b/sys-apps/smc-sum-driver/files/makefile @@ -0,0 +1,15 @@ +obj-m := sum_bios.o + +KVERSION := $(shell uname -r) +KDIR := /lib/modules/$(KVERSION)/build +PWD := $(shell pwd) + +EXTRA_CFLAGS = $(CFLAGS) -Wno-incompatible-pointer-types +EXTRA_LDFLAGS = $(LDFLAGS) + +default: + $(MAKE) -C $(KDIR) M=$(PWD) modules + +install: + $(MAKE) -C $(KDIR) M=$(PWD) modules_install + diff --git a/sys-apps/smc-sum-driver/metadata.xml b/sys-apps/smc-sum-driver/metadata.xml new file mode 100644 index 00000000000..3720c27565e --- /dev/null +++ b/sys-apps/smc-sum-driver/metadata.xml @@ -0,0 +1,17 @@ + + + + + ck+gentoo@bl4ckb0x.de + Conrad Kostecki + + + proxy-maint@gentoo.org + Proxy Maintainers + + + This is the kernel module for the Supermicro Update Manager (SUM). + It's needed to access specific low level elements, like BIOS. + Supermicro SuperDoctor5 will also need this kernel module. + + diff --git a/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201.ebuild b/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201.ebuild new file mode 100644 index 00000000000..f37dc6d72d0 --- /dev/null +++ b/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eapi7-ver linux-mod + +MY_DATE="$(ver_cut 4)" +MY_PN="${PN//-/_}" +MY_PV="$(ver_cut 1-3)" +MY_P="${MY_PN/smc_/}_V${MY_PV}" + +DESCRIPTION="Supermicro Update Manager (SUM) kernel module" +HOMEPAGE="https://www.supermicro.com" +SRC_URI="${MY_P}_${MY_DATE}.tar.gz" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="supermicro" +SLOT="0" + +RESTRICT="bindist fetch mirror" + +S="${WORKDIR}"/${MY_P}/Linux + +BUILD_TARGETS="default" +MODULE_NAMES="sum_bios(misc:${S})" + +pkg_nofetch() { + elog "Please download ${A} from" + elog "sftp://dataharbor.supermicro.com" + elog "Username: dpguest\$ts" + elog "Password: supermicro!@#" + elog "and place it in your DISTDIR directory." +} + +src_prepare() { + # Install new Makefile to respect users CFLAGS and LDFLAGS + cp "${FILESDIR}"/makefile Makefile + + default +}