diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-kernel/cryptodev |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-kernel/cryptodev')
-rw-r--r-- | sys-kernel/cryptodev/Manifest | 8 | ||||
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-1.7.ebuild | 54 | ||||
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-1.9.ebuild | 50 | ||||
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-9999.ebuild | 56 | ||||
-rw-r--r-- | sys-kernel/cryptodev/metadata.xml | 12 |
5 files changed, 180 insertions, 0 deletions
diff --git a/sys-kernel/cryptodev/Manifest b/sys-kernel/cryptodev/Manifest new file mode 100644 index 000000000000..9ea8663b8dff --- /dev/null +++ b/sys-kernel/cryptodev/Manifest @@ -0,0 +1,8 @@ +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 +EBUILD cryptodev-1.7.ebuild 1137 SHA256 9d85c2c4aa7ef50b1d59659c4f808582c021939cd90f581881b68592d5c4d8b8 SHA512 8ff5d43309c5603a8c5c3c6ba9ca7f6c93f7dbc4c436392a941794cf0a30397e73df768878380903637f43ed23f7db0ba8a506b61f65886f2eb017c5c32d4c0f WHIRLPOOL ab9b8a541b4d05eda165cf42675f35e890f8abc2815d7774fd866e641cb26477c8d34602ba1d88829815f2d885f4dcc14992ba5ab4132bda62b1783220e7a65a +EBUILD cryptodev-1.9.ebuild 1033 SHA256 fc0b6f957e0ac317dfa680b39cbcd193d682a438904f657f65dc3d1896a32a87 SHA512 afe5b1680f3ba8f89699eb78f93e7c799ca98de878af37be817a2adfacf0bdca9a8e73e618947f01f759fe8fb254004019a53684c0e88a791f7b8ae715f02151 WHIRLPOOL 7da9959551b76bad4d424da2573636db0a99c8d5caa4926aecc36cf4d0b469941d0d8c59699e7c9737408888a953e73f1cd7f470cdeb3108a46a2732612b72a7 +EBUILD cryptodev-9999.ebuild 1189 SHA256 726d5a566150553e82d7b2a3346f0124d3c041cf407cd4f8e377b28be26b8d8f SHA512 afb8b8f4bd773f1a6b3f64d09f22f7586b0607bacced011b9d2451fd314a7f7bfb3a6e1024cb8d05b0fd44c73e673568763e3a11a17b1294032a31cbf6c37be8 WHIRLPOOL 49271546630922647aaeb0c812d85395e2285a979238dbe2c8ee6808ae38712c2e4215ea90d93c2848790dc13a227cb688a0393f6f213824cb4dd9e608ffbcae +MISC ChangeLog 2431 SHA256 5b4ef15db1c78c42c8211106b8aa606027b871c5a15c9cbcc26d8eb6d260db3d SHA512 ddf4bf0286058e8952bfa2e5bec4c3126143aac89a328b87c6814d10ba052ce0a28a35cfdbec44efe4b4e6239666358574163c6068b313453f54a2def1c077d6 WHIRLPOOL 7a5e87cabf5e1b633df46d3625595bb5ff8cbe6ca08086fcc833434811e3e61d34bbed6e3bffe3ce866364b8d5f598c5f9936a96db4268ab41cf9b227db4eec1 +MISC ChangeLog-2015 703 SHA256 60deb26c36bbd355e8d92ec3f639c8852fc9068d8eaa37a222c8d0cd93f58b88 SHA512 73c84946c7c1ac0d5698d12e73e793d49027dddbca34db0bec38d9819a077713e1d9f42f9caefa629c7fe51a7534f62b840772fe2dfe2f021f95467c10ca3d91 WHIRLPOOL c1dabda8989bf0933120b0354eb4cfcdf7e8a4e591644df6ffe71f05de65f7a5cda142f504ce2eed94f1b0ddf210e45d3615ad3c0592a64adcaa9905a88083d6 +MISC metadata.xml 360 SHA256 d18f161d03616aa97a2f2c851cc665948d3905374fa09a32945b8068800b7727 SHA512 807fc52ffe59b350f713eefadcd4ed84bc34310a47d9f0d2079279155cc17674e341677b4d3ce3fd1d752741d2ee70d427d5948dc16bf4780a60d0dc8a33ec1c WHIRLPOOL 9e8a286a3c7441ef6491772b1c3a842db57d1bf86aa1fe8495afb6b3f7123f963f90498851a6c41258c243ad1f3d2bf29decd6b28dd56d783e1ca0a63aba7ced diff --git a/sys-kernel/cryptodev/cryptodev-1.7.ebuild b/sys-kernel/cryptodev/cryptodev-1.7.ebuild new file mode 100644 index 000000000000..7a99d764ec4e --- /dev/null +++ b/sys-kernel/cryptodev/cryptodev-1.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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://nwl.cc/pub/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/cryptodev-1.9.ebuild b/sys-kernel/cryptodev/cryptodev-1.9.ebuild new file mode 100644 index 000000000000..3f606909802d --- /dev/null +++ b/sys-kernel/cryptodev/cryptodev-1.9.ebuild @@ -0,0 +1,50 @@ +# 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://nwl.cc/pub/cryptodev-linux/${PN}-linux-${PV}.tar.gz" +KEYWORDS="~amd64 ~arm ~x86" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="examples" + +DEPEND="virtual/linux-sources" + +#test requires that the module is already loaded +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_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/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild new file mode 100644 index 000000000000..195433b58015 --- /dev/null +++ b/sys-kernel/cryptodev/cryptodev-9999.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" + +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="http://nwl.cc/pub/cryptodev-linux/${PN}-linux-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" + S=${WORKDIR}/${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})" + +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_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..5f8b6780f55a --- /dev/null +++ b/sys-kernel/cryptodev/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>clabbe.montjoie@gmail.com</email> +<name>LABBE Corentin</name> +</maintainer> +<maintainer type="project"> +<email>proxy-maint@gentoo.org</email> +<name>Proxy Maintainers</name> +</maintainer> +</pkgmetadata> |