public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/cryptodev/
Date: Wed, 21 Jun 2023 18:50:18 +0000 (UTC)	[thread overview]
Message-ID: <1687373407.78c7a1dfc9324d69ee3ba84100f397b7c4b64796.swegener@gentoo> (raw)

commit:     78c7a1dfc9324d69ee3ba84100f397b7c4b64796
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 21 18:47:51 2023 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> 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 <swegener <AT> 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


             reply	other threads:[~2023-06-21 18:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21 18:50 Sven Wegener [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-06 15:26 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/cryptodev/ Arthur Zamarin
2023-05-05 18:55 Sven Wegener
2023-03-04 18:53 Sven Wegener
2023-03-04 18:53 Sven Wegener
2022-01-22 18:23 Sven Wegener
2021-04-01 18:47 Sven Wegener
2021-04-01 18:47 Sven Wegener
2020-08-09 19:52 Sven Wegener
2020-08-09 19:52 Sven Wegener
2020-08-08 12:18 Mikle Kolyada
2018-09-02 12:15 Sven Wegener
2018-09-02 12:15 Sven Wegener
2018-09-02 12:15 Sven Wegener
2018-06-26 22:22 Jonas Stein
2017-10-04  9:17 Michał Górny
2017-07-30  9:23 Michał Górny
2017-04-25 12:18 Jeroen Roovers
2017-04-24  7:45 Jeroen Roovers
2017-03-22  9:50 Marek Szuba
2017-03-18 17:43 Göktürk Yüksek
2017-03-18 17:43 Göktürk Yüksek

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=1687373407.78c7a1dfc9324d69ee3ba84100f397b7c4b64796.swegener@gentoo \
    --to=swegener@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