sys-kernel/cryptodev: Version bump to 1.11, bug #736561

Closes: https://bugs.gentoo.org/736561
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
Sven Wegener
2020-08-09 21:48:31 +02:00
parent cb65575f0f
commit bb7fd41e21
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST cryptodev-linux-1.11.tar.gz 56876 BLAKE2B 97cf09c515c586372b2c5bd450e445afd5f80ed8ab39002545dc550c63480469a5318214f467444618e4e1783b9ab999b550cfb16d8ded6de26671a0727d06c2 SHA512 f7b76e9a154945514e2238cd7106cb50cea8120febc79228d6a8ba2dfaf98d5f0756d970df76fd63bda4755d7e0d78331aea394c3c5c18794b7ef1a8738fddba
DIST cryptodev-linux-1.9.tar.gz 54409 BLAKE2B 48427235409c792001f420c8a66ab4320457a1cf22c1bf47c8d0a40ef82491ffe64a27b7f2e7ed92f3b8b426fc8425bd15b2bf9c875bb222de8b738022adf99f SHA512 8aff822e834d7d77f2b954b3f6de22d7de9659dac27b8a185b7ca060ff4b17bd38e287bb5c19043a53f5015a3f000d31be961695152bad0fb9f55785b2753d29

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2020 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"
S="${WORKDIR}/${PN}-${PV}"
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
}