diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-04-24 09:45:02 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-04-24 09:45:02 +0200 |
commit | 394807cb5c5578939124ee7b8d25b3ae57fa44d4 (patch) | |
tree | 68cef6b019241b862af7c995350e2388ea9e2502 /sys-kernel/cryptodev | |
parent | media-plugins/kipi-plugins: amd64 stable wrt bug #616406 (diff) | |
download | gentoo-394807cb5c5578939124ee7b8d25b3ae57fa44d4.tar.gz gentoo-394807cb5c5578939124ee7b8d25b3ae57fa44d4.tar.bz2 gentoo-394807cb5c5578939124ee7b8d25b3ae57fa44d4.zip |
sys-kernel/cryptodev: Version bump (bug #613224).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sys-kernel/cryptodev')
-rw-r--r-- | sys-kernel/cryptodev/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-1.9.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest index df55cb979b2b..12308dd051fa 100644 --- a/sys-kernel/cryptodev/Manifest +++ b/sys-kernel/cryptodev/Manifest @@ -1 +1,2 @@ DIST cryptodev-linux-1.7.tar.gz 52827 SHA256 41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25 SHA512 b0073bc547782973587654cb14205ec624059ef46f88ed2b36236d37203f9231ffb8124489b1b2fea735eb7f89bd1011f0d1546eae7b6f562e26ec7a72a59b6c WHIRLPOOL fdc3588949264a575bce7d88286b30663b3ce7232340c5065b9c8cf8f3759c9e3844dc11499cb68c529dd23dcd865f778ecdc2b8535e75e97df270c26df2cd84 +DIST cryptodev-linux-1.9.tar.gz 54409 SHA256 9f4c0b49b30e267d776f79455d09c70cc9c12c86eee400a0d0a0cd1d8e467950 SHA512 8aff822e834d7d77f2b954b3f6de22d7de9659dac27b8a185b7ca060ff4b17bd38e287bb5c19043a53f5015a3f000d31be961695152bad0fb9f55785b2753d29 WHIRLPOOL 575a6c7bac5cc5d0263493799ee9195b10d4f7d80136bf2838637e59bc9126ea197d36d3965b3ffe38e602fb775ac1d5f9b1d2aac264ad4b1cca751210d15c68 diff --git a/sys-kernel/cryptodev/cryptodev-1.9.ebuild b/sys-kernel/cryptodev/cryptodev-1.9.ebuild new file mode 100644 index 000000000000..fe0c8dfebf73 --- /dev/null +++ b/sys-kernel/cryptodev/cryptodev-1.9.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" +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() { + default + + # 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 +} |