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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87153158095 for ; Fri, 2 Sep 2022 16:42:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C844AE088F; Fri, 2 Sep 2022 16:42:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B37FDE088F for ; Fri, 2 Sep 2022 16:42:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 890EC34121B for ; Fri, 2 Sep 2022 16:42:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7977576 for ; Fri, 2 Sep 2022 16:42:46 +0000 (UTC) From: "Nick Sarnie" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" Message-ID: <1662136948.cb47408a7db26f7d7ccdf308ca8e313d32dd7fe4.sarnex@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vendor-reset/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/vendor-reset/Manifest app-emulation/vendor-reset/vendor-reset-0.1.1_pre20220902.ebuild X-VCS-Directories: app-emulation/vendor-reset/ X-VCS-Committer: sarnex X-VCS-Committer-Name: Nick Sarnie X-VCS-Revision: cb47408a7db26f7d7ccdf308ca8e313d32dd7fe4 X-VCS-Branch: master Date: Fri, 2 Sep 2022 16:42:46 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4669b44a-e5e5-412e-9e65-9e95e70804c1 X-Archives-Hash: ab6f6cd9c403159269f27acd033b7d0b commit: cb47408a7db26f7d7ccdf308ca8e313d32dd7fe4 Author: Nick Sarnie gentoo org> AuthorDate: Fri Sep 2 16:39:11 2022 +0000 Commit: Nick Sarnie gentoo org> CommitDate: Fri Sep 2 16:42:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb47408a app-emulation/vendor-reset: add 0.1.1_pre20220902 Signed-off-by: Nick Sarnie gentoo.org> app-emulation/vendor-reset/Manifest | 1 + .../vendor-reset-0.1.1_pre20220902.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/app-emulation/vendor-reset/Manifest b/app-emulation/vendor-reset/Manifest index 3d837e82ee92..17660f5bb12e 100644 --- a/app-emulation/vendor-reset/Manifest +++ b/app-emulation/vendor-reset/Manifest @@ -1 +1,2 @@ DIST vendor-reset-0.1.0.tar.gz 12718324 BLAKE2B 762ec8bc289b572ab8f8ecc3fa233e3c78c48c48a261c58ce1be9c10356a55957e0bd8fd01e3143443be74236bf9ed540b84d332788c67aa949599ccc5a564d3 SHA512 ed4dcb1a71fa8901732e729d37b501ac105cc2c93d0666e44c08e311d99a244027339d5709a9305ff992ca2acb2f337793cdb1f9369197911985cd20d6f3139f +DIST vendor-reset-0.1.1_pre20220902.tar.gz 12724563 BLAKE2B 6d1aa45216a4a72981fc766ba7541873902272a27b5eebc08f7b2627f186d6236c3b6f576f997e35a3a9a3bb4b0c5f6a285585522e7c0eb86b446808e2de501b SHA512 27bc02fdbc7d0339c0f706e1ec8406bc47f163fca6d6471dd7ad92272a384ab7319f6180641177f90a38c11aee2def52ae408a2165438980b7fc3aea10f88b4e diff --git a/app-emulation/vendor-reset/vendor-reset-0.1.1_pre20220902.ebuild b/app-emulation/vendor-reset/vendor-reset-0.1.1_pre20220902.ebuild new file mode 100644 index 000000000000..d0f34c496d9c --- /dev/null +++ b/app-emulation/vendor-reset/vendor-reset-0.1.1_pre20220902.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-mod + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/gnif/vendor-reset.git" + EGIT_BRANCH="master" + inherit git-r3 +else + KEYWORDS="~amd64" + EGIT_COMMIT="7d43285a5054e4b2b18dbba771b57d365943a0f7" + SRC_URI="https://github.com/gnif/vendor-reset/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Linux kernel vendor specific hardware reset module" +HOMEPAGE="https://github.com/gnif/vendor-reset" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +pkg_setup() { + local CONFIG_CHECK="FTRACE KPROBES PCI_QUIRKS KALLSYMS FUNCTION_TRACER" + linux-mod_pkg_setup +} + +src_compile() { + set_arch_to_kernel + default +} + +src_install() { + set_arch_to_kernel + emake \ + DESTDIR="${ED}" \ + INSTALL_MOD_PATH="${ED}" \ + install + + insinto /etc/modules-load.d/ + newins "${FILESDIR}"/modload.conf vendor-reset.conf +}