From cb6b2150348c9dc57c68bcba47bcdb6f20e8e508 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 22 Jun 2023 01:20:40 +0100 Subject: gentoo auto-resync : 22:06:2023 - 01:20:39 --- sys-kernel/cryptodev/Manifest | 4 +- sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild | 58 +++++++++++++++++++++++++++ sys-kernel/cryptodev/cryptodev-1.13.ebuild | 55 ------------------------- sys-kernel/cryptodev/cryptodev-9999.ebuild | 17 ++++---- 4 files changed, 70 insertions(+), 64 deletions(-) create mode 100644 sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild delete mode 100644 sys-kernel/cryptodev/cryptodev-1.13.ebuild (limited to 'sys-kernel/cryptodev') diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest index d6f8ca3d5940..4973cef92391 100644 --- a/sys-kernel/cryptodev/Manifest +++ b/sys-kernel/cryptodev/Manifest @@ -1,6 +1,6 @@ DIST cryptodev-linux-1.12.tar.gz 56922 BLAKE2B ec3d6585cbc15027468c0d009dfad1437286e71f90247b6b07067e1355483d9a3184cb0134ab4cfb406168b1b506fb08d4a0ab6476b71305267769a33e5ed2de SHA512 75f4f20ee7474375fd515cfd4f247f9a61739ac766525cd8fe007adfa44129d90077568d59409f577202a4d8883539b0d533dd5e060a1065b61106f68ea5e4b3 DIST cryptodev-linux-1.13.tar.gz 57673 BLAKE2B 856f91bcfab7012aa174e99e26bd47d1da9e8857fc58d69ec1068b1792350e0a211abcf4c32bc83fa867792283ddacc8c8b3ce230999c5f746762a5ebde08bf6 SHA512 20ea5a0838a2212fae3ce2bdfc2a8d118a5c56418d76491338caffb96e53e44d20450bba69e028f851333bb32fe0a9a174786a77eac4f2babd2d9371e0c04411 EBUILD cryptodev-1.12.ebuild 1243 BLAKE2B 5c48671d23bd85599c7f39b84f84a196c9c84464a9f4864c26a4db400896cfadbeed2f67d6ab7637bb65eba9c4d8994a2f111e5fc73b135de2cd28557326d2b2 SHA512 d2f001ff4f5fdff871ebd73b95bdd6f798df3bdbca63712c98c96ca056a0f9653ac3b6178869a9d2166f1fe7d77b3f53c72ff6aa18128fa9b4e824212109dd9e -EBUILD cryptodev-1.13.ebuild 1245 BLAKE2B 3ed6ebd92782288f38b97031c9ed0007a4447aa3327e9212600f746baac306ced68b00cfde9e320ece21cc070c9b50b8744972f4926e55c9f519c44f70c39580 SHA512 6027e7f8385bc531e3913da053956a207b8c24005e58a253d62274eb758bb2fb63e866e974c65efd2c2f6d24fd767a15007bccb19599fbffcaf719b06fd1ed68 -EBUILD cryptodev-9999.ebuild 1245 BLAKE2B 3ed6ebd92782288f38b97031c9ed0007a4447aa3327e9212600f746baac306ced68b00cfde9e320ece21cc070c9b50b8744972f4926e55c9f519c44f70c39580 SHA512 6027e7f8385bc531e3913da053956a207b8c24005e58a253d62274eb758bb2fb63e866e974c65efd2c2f6d24fd767a15007bccb19599fbffcaf719b06fd1ed68 +EBUILD cryptodev-1.13-r1.ebuild 1278 BLAKE2B 1110cf3ced957f9cf308a0f28c2fe64a127f3e0d82c5a79c412e7df927425ca06ae0de91fe9093c64199ec0c64f4b3b820805a18a731de016efaca625307dde5 SHA512 eae684fd748c97e29cbeeeae1aac1f1a5e185338b5816107293bb08e1b5dd2ec1578a06d89e872d67ac1554ecdd3ca3919758ff54f85ba1156b7486d954060f3 +EBUILD cryptodev-9999.ebuild 1278 BLAKE2B 1110cf3ced957f9cf308a0f28c2fe64a127f3e0d82c5a79c412e7df927425ca06ae0de91fe9093c64199ec0c64f4b3b820805a18a731de016efaca625307dde5 SHA512 eae684fd748c97e29cbeeeae1aac1f1a5e185338b5816107293bb08e1b5dd2ec1578a06d89e872d67ac1554ecdd3ca3919758ff54f85ba1156b7486d954060f3 MISC metadata.xml 248 BLAKE2B 2d106b5e5ce214c551cc1e69c63882e8eb0c2986584f02a89a912ab1bf37e7febee7f32dc6428330c516149d777c181de0699ed51f2278908570b04103163592 SHA512 5f733a87a4b90f9037d013b281384f3df7a2f24c9a445ff729687c1693f4b7ce254966c58c190efa569864bedc5d9933eb960e86aa691d490fb9a4d5c90cf0c1 diff --git a/sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild b/sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild new file mode 100644 index 000000000000..b5a1a271a0b0 --- /dev/null +++ b/sys-kernel/cryptodev/cryptodev-1.13-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 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 +} diff --git a/sys-kernel/cryptodev/cryptodev-1.13.ebuild b/sys-kernel/cryptodev/cryptodev-1.13.ebuild deleted file mode 100644 index ac9bd1eeea15..000000000000 --- a/sys-kernel/cryptodev/cryptodev-1.13.ebuild +++ /dev/null @@ -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 -} diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild index ac9bd1eeea15..b5a1a271a0b0 100644 --- a/sys-kernel/cryptodev/cryptodev-9999.ebuild +++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit linux-info linux-mod +inherit linux-info linux-mod-r1 DESCRIPTION="device that allows access to Linux kernel cryptographic drivers" HOMEPAGE="http://cryptodev-linux.org/" @@ -26,10 +26,6 @@ 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" @@ -42,8 +38,15 @@ pkg_pretend() { 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_src_install + linux-mod-r1_src_install insinto /usr/include/crypto doins crypto/cryptodev.h -- cgit v1.2.3