public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/cryptodev/
Date: Wed, 22 Mar 2017 09:50:24 +0000 (UTC)	[thread overview]
Message-ID: <1490175506.2d3c92e5d6daa6b96321c3392abc319cc8bb8098.marecki@gentoo> (raw)

commit:     2d3c92e5d6daa6b96321c3392abc319cc8bb8098
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 22 09:38:26 2017 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 09:38:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3c92e5

sys-kernel/cryptodev: add live ebuild

Requested-By: Corentin Labbe <clabbe.montjoie <AT> gmail.com>

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-kernel/cryptodev/cryptodev-9999.ebuild | 56 ++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild
new file mode 100644
index 00000000000..1576432f236
--- /dev/null
+++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit linux-info linux-mod
+
+DESCRIPTION="device that allows access to Linux kernel cryptographic drivers"
+HOMEPAGE="http://cryptodev-linux.org/index.html"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="git://github.com/cryptodev-linux/cryptodev-linux.git"
+	S="${WORKDIR}/${PN}-${PV}"
+else
+	SRC_URI="http://download.gna.org/cryptodev-linux/${PN}-linux-${PV}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~x86"
+	S=${WORKDIR}/${PN}-linux-${PV}
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="examples"
+
+DEPEND="virtual/linux-sources"
+RDEPEND=""
+#test now compile, but need the module to run
+RESTRICT="test"
+
+MODULE_NAMES="cryptodev(extra:${S})"
+
+pkg_pretend() {
+	if use kernel_linux ; then
+		CONFIG_CHECK="~CRYPTO ~CRYPTO_BLKCIPHER ~CRYPTO_AEAD"
+		check_extra_config
+	fi
+}
+
+pkg_setup() {
+	if use kernel_linux ; then
+		linux-mod_pkg_setup
+	else
+		die "cryptodev ebuild only support linux"
+	fi
+	BUILD_TARGETS="build"
+	export KERNEL_DIR
+}
+
+src_install() {
+	linux-mod_src_install
+	if use examples ; then
+		docinto examples
+		dodoc example/*
+	fi
+	insinto /usr/include/crypto
+	doins crypto/cryptodev.h
+}


             reply	other threads:[~2017-03-22  9:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-22  9:50 Marek Szuba [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-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-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=1490175506.2d3c92e5d6daa6b96321c3392abc319cc8bb8098.marecki@gentoo \
    --to=marecki@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