From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-kernel/cryptodev/Manifest | 1 + sys-kernel/cryptodev/cryptodev-1.7.ebuild | 55 +++++++++++++++++++++++++++++++ sys-kernel/cryptodev/metadata.xml | 12 +++++++ 3 files changed, 68 insertions(+) create mode 100644 sys-kernel/cryptodev/Manifest create mode 100644 sys-kernel/cryptodev/cryptodev-1.7.ebuild create mode 100644 sys-kernel/cryptodev/metadata.xml (limited to 'sys-kernel/cryptodev') diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest new file mode 100644 index 000000000000..df55cb979b2b --- /dev/null +++ b/sys-kernel/cryptodev/Manifest @@ -0,0 +1 @@ +DIST cryptodev-linux-1.7.tar.gz 52827 SHA256 41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25 SHA512 b0073bc547782973587654cb14205ec624059ef46f88ed2b36236d37203f9231ffb8124489b1b2fea735eb7f89bd1011f0d1546eae7b6f562e26ec7a72a59b6c WHIRLPOOL fdc3588949264a575bce7d88286b30663b3ce7232340c5065b9c8cf8f3759c9e3844dc11499cb68c529dd23dcd865f778ecdc2b8535e75e97df270c26df2cd84 diff --git a/sys-kernel/cryptodev/cryptodev-1.7.ebuild b/sys-kernel/cryptodev/cryptodev-1.7.ebuild new file mode 100644 index 000000000000..cf65220578f1 --- /dev/null +++ b/sys-kernel/cryptodev/cryptodev-1.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info linux-mod + +DESCRIPTION="device that allows access to Linux kernel cryptographic drivers" +HOMEPAGE="http://cryptodev-linux.org/index.html" +SRC_URI="http://download.gna.org/cryptodev-linux/${PN}-linux-${PV}.tar.gz" +KEYWORDS="~amd64 ~arm ~x86" + +LICENSE="GPL-2" +SLOT="0" +IUSE="examples" + +DEPEND="virtual/linux-sources" +RDEPEND="" +#test do not compile +RESTRICT="test" +S=${WORKDIR}/${PN}-linux-${PV} + +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_prepare() { + # get_unused_fd was removed in 3.19 + sed -i 's,get_unused_fd(),get_unused_fd_flags(0),' ioctl.c || die +} + +src_install() { + linux-mod_src_install + if use examples ; then + docinto examples + dodoc example/* + fi + insinto /usr/include/crypto + doins crypto/cryptodev.h +} diff --git a/sys-kernel/cryptodev/metadata.xml b/sys-kernel/cryptodev/metadata.xml new file mode 100644 index 000000000000..a1406ad73c8e --- /dev/null +++ b/sys-kernel/cryptodev/metadata.xml @@ -0,0 +1,12 @@ + + + +proxy-maintainers + +clabbe.montjoie@gmail.com +LABBE Corentin +Maintainer. Assign bugs to him + + + + -- cgit v1.2.3-65-gdbad