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: Fri,  5 May 2023 18:55:13 +0000 (UTC)	[thread overview]
Message-ID: <1683312908.da496b628181e368aacae6461b09ed9316836d86.swegener@gentoo> (raw)

commit:     da496b628181e368aacae6461b09ed9316836d86
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Fri May  5 18:51:43 2023 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Fri May  5 18:55:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da496b62

sys-kernel/cryptodev: add 1.13

Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 sys-kernel/cryptodev/Manifest              |  1 +
 sys-kernel/cryptodev/cryptodev-1.13.ebuild | 55 ++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest
index 291074c9eb83..53906f3ea34d 100644
--- a/sys-kernel/cryptodev/Manifest
+++ b/sys-kernel/cryptodev/Manifest
@@ -1 +1,2 @@
 DIST cryptodev-linux-1.12.tar.gz 56922 BLAKE2B ec3d6585cbc15027468c0d009dfad1437286e71f90247b6b07067e1355483d9a3184cb0134ab4cfb406168b1b506fb08d4a0ab6476b71305267769a33e5ed2de SHA512 75f4f20ee7474375fd515cfd4f247f9a61739ac766525cd8fe007adfa44129d90077568d59409f577202a4d8883539b0d533dd5e060a1065b61106f68ea5e4b3
+DIST cryptodev-linux-1.13.tar.gz 57673 BLAKE2B 856f91bcfab7012aa174e99e26bd47d1da9e8857fc58d69ec1068b1792350e0a211abcf4c32bc83fa867792283ddacc8c8b3ce230999c5f746762a5ebde08bf6 SHA512 20ea5a0838a2212fae3ce2bdfc2a8d118a5c56418d76491338caffb96e53e44d20450bba69e028f851333bb32fe0a9a174786a77eac4f2babd2d9371e0c04411

diff --git a/sys-kernel/cryptodev/cryptodev-1.13.ebuild b/sys-kernel/cryptodev/cryptodev-1.13.ebuild
new file mode 100644
index 000000000000..ac9bd1eeea15
--- /dev/null
+++ b/sys-kernel/cryptodev/cryptodev-1.13.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info linux-mod
+
+DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"
+HOMEPAGE="http://cryptodev-linux.org/"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/cryptodev-linux/cryptodev-linux.git"
+else
+	SRC_URI="https://github.com/cryptodev-linux/cryptodev-linux/archive/${PN}-linux-${PV}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~x86"
+	S=${WORKDIR}/${PN}-linux-${PN}-linux-${PV}
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="examples"
+
+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"
+
+	CONFIG_CHECK="~CRYPTO ~CRYPTO_AEAD"
+	if kernel_is -lt 4 8 0; then
+		CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_BLKCIPHER"
+	else
+		CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SKCIPHER"
+	fi
+	check_extra_config
+}
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /usr/include/crypto
+	doins crypto/cryptodev.h
+
+	if use examples ; then
+		docinto examples
+		dodoc example/*
+	fi
+}


             reply	other threads:[~2023-05-05 18:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05 18:55 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-06-21 18:50 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=1683312908.da496b628181e368aacae6461b09ed9316836d86.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