mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
sys-kernel/cryptodev: drop 1.12, 1.13-r1
Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST cryptodev-linux-1.12.tar.gz 56922 BLAKE2B ec3d6585cbc15027468c0d009dfad1437286e71f90247b6b07067e1355483d9a3184cb0134ab4cfb406168b1b506fb08d4a0ab6476b71305267769a33e5ed2de SHA512 75f4f20ee7474375fd515cfd4f247f9a61739ac766525cd8fe007adfa44129d90077568d59409f577202a4d8883539b0d533dd5e060a1065b61106f68ea5e4b3
|
||||
DIST cryptodev-linux-1.13.tar.gz 57673 BLAKE2B 856f91bcfab7012aa174e99e26bd47d1da9e8857fc58d69ec1068b1792350e0a211abcf4c32bc83fa867792283ddacc8c8b3ce230999c5f746762a5ebde08bf6 SHA512 20ea5a0838a2212fae3ce2bdfc2a8d118a5c56418d76491338caffb96e53e44d20450bba69e028f851333bb32fe0a9a174786a77eac4f2babd2d9371e0c04411
|
||||
DIST cryptodev-linux-1.14.tar.gz 57797 BLAKE2B 842c78a1d77d978a7a07b7fa07729e49ec3949230a2e49820eb0a51531660e3af6edb52064241f5e768d75d946276c9d9f6a75dfa058d7dd9c7e0acd9ebc69ee SHA512 569093a8fc3424d37f5d094a7dbce68850571aac08007b3bf3a4754e381de8e0ed1d6901d44083e6cdf384fc882a0203b5362eabbaca4cc15e669e48904154dc
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info linux-mod-r1
|
||||
|
||||
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"
|
||||
|
||||
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_compile() {
|
||||
local modlist=( cryptodev="extra:${S}" )
|
||||
local modargs=( KERNEL_DIR="${KV_OUT_DIR}" )
|
||||
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod-r1_src_install
|
||||
|
||||
insinto /usr/include/crypto
|
||||
doins crypto/cryptodev.h
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc example/*
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user