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 3232F158009 for ; Wed, 21 Jun 2023 18:50:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4907E0952; Wed, 21 Jun 2023 18:50:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 941FEE0952 for ; Wed, 21 Jun 2023 18:50:21 +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 6AF39341075 for ; Wed, 21 Jun 2023 18:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D6EFA66 for ; Wed, 21 Jun 2023 18:50:18 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1687373407.78c7a1dfc9324d69ee3ba84100f397b7c4b64796.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/cryptodev/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild sys-kernel/cryptodev/cryptodev-1.13.ebuild sys-kernel/cryptodev/cryptodev-9999.ebuild X-VCS-Directories: sys-kernel/cryptodev/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: 78c7a1dfc9324d69ee3ba84100f397b7c4b64796 X-VCS-Branch: master Date: Wed, 21 Jun 2023 18:50:18 +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: 6febde3e-a9df-44c4-9552-622243e60dfd X-Archives-Hash: fe6daa08fc7d7eff7b038231f973a9bc commit: 78c7a1dfc9324d69ee3ba84100f397b7c4b64796 Author: Sven Wegener gentoo org> AuthorDate: Wed Jun 21 18:47:51 2023 +0000 Commit: Sven Wegener gentoo org> CommitDate: Wed Jun 21 18:50:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c7a1df sys-kernel/cryptodev: switch to linux-mod-r1.eclass Closes: https://bugs.gentoo.org/908726 Signed-off-by: Sven Wegener gentoo.org> .../{cryptodev-1.13.ebuild => cryptodev-1.13-r1.ebuild} | 17 ++++++++++------- sys-kernel/cryptodev/cryptodev-9999.ebuild | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/sys-kernel/cryptodev/cryptodev-1.13.ebuild b/sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild similarity index 84% rename from sys-kernel/cryptodev/cryptodev-1.13.ebuild rename to sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild index ac9bd1eeea15..b5a1a271a0b0 100644 --- a/sys-kernel/cryptodev/cryptodev-1.13.ebuild +++ b/sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit linux-info linux-mod +inherit linux-info linux-mod-r1 DESCRIPTION="device that allows access to Linux kernel cryptographic drivers" HOMEPAGE="http://cryptodev-linux.org/" @@ -26,10 +26,6 @@ DEPEND="virtual/linux-sources" #test requires that the module is already loaded RESTRICT="test" -MODULE_NAMES="cryptodev(extra:${S})" -BUILD_PARAMS="KERNEL_DIR=\"\${KV_OUT_DIR}\"" -BUILD_TARGETS="build" - pkg_pretend() { use kernel_linux || die "cryptodev ebuild only support linux" @@ -42,8 +38,15 @@ pkg_pretend() { check_extra_config } +src_compile() { + local modlist=( cryptodev=extra:${S} ) + local modargs=( KERNEL_DIR="${KV_OUT_DIR}" ) + + linux-mod-r1_src_compile +} + src_install() { - linux-mod_src_install + linux-mod-r1_src_install insinto /usr/include/crypto doins crypto/cryptodev.h diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild index ac9bd1eeea15..b5a1a271a0b0 100644 --- a/sys-kernel/cryptodev/cryptodev-9999.ebuild +++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit linux-info linux-mod +inherit linux-info linux-mod-r1 DESCRIPTION="device that allows access to Linux kernel cryptographic drivers" HOMEPAGE="http://cryptodev-linux.org/" @@ -26,10 +26,6 @@ DEPEND="virtual/linux-sources" #test requires that the module is already loaded RESTRICT="test" -MODULE_NAMES="cryptodev(extra:${S})" -BUILD_PARAMS="KERNEL_DIR=\"\${KV_OUT_DIR}\"" -BUILD_TARGETS="build" - pkg_pretend() { use kernel_linux || die "cryptodev ebuild only support linux" @@ -42,8 +38,15 @@ pkg_pretend() { check_extra_config } +src_compile() { + local modlist=( cryptodev=extra:${S} ) + local modargs=( KERNEL_DIR="${KV_OUT_DIR}" ) + + linux-mod-r1_src_compile +} + src_install() { - linux-mod_src_install + linux-mod-r1_src_install insinto /usr/include/crypto doins crypto/cryptodev.h