summaryrefslogtreecommitdiff
path: root/dev-haskell/cryptonite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/cryptonite
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/cryptonite')
-rw-r--r--dev-haskell/cryptonite/Manifest7
-rw-r--r--dev-haskell/cryptonite/cryptonite-0.21.ebuild43
-rw-r--r--dev-haskell/cryptonite/cryptonite-0.7.ebuild41
-rw-r--r--dev-haskell/cryptonite/cryptonite-0.8.ebuild41
-rw-r--r--dev-haskell/cryptonite/metadata.xml42
5 files changed, 174 insertions, 0 deletions
diff --git a/dev-haskell/cryptonite/Manifest b/dev-haskell/cryptonite/Manifest
new file mode 100644
index 000000000000..f61af31673b8
--- /dev/null
+++ b/dev-haskell/cryptonite/Manifest
@@ -0,0 +1,7 @@
+DIST cryptonite-0.21.tar.gz 615850 BLAKE2B df5f0273fa40b5401e4bb5df7c4cd5839ab87fdff3d2cef6be80c977433a1adbcdbf1c9d42f79987e4a7a590f8179fd998f93017af396116e10554108566b028 SHA512 7f04ad5f7411bf90f343c13b71438fdd0e1e40cc5c9a5f1553c1f396a278f81cbe3a548ee8bc03b3b63bc66485ce36dc9a93c3dc3e5884f601bbae49efa98cc3
+DIST cryptonite-0.7.tar.gz 324734 BLAKE2B b0eabfa2575ed4680de541b5acafa1cc7d95ed5e7faca3ea53dddfdeea98a69ca76d7ea65e6117a8f6faf3c43a0b8f3a39c200e975279a78366140d80d663aff SHA512 077b181b1563087c6c04816a36bfd2efd7a732f72b02e5277f3d987093954ca8e420814b547c7c985418e74e8c838a3c8381b4821f3ed6fa8412b63078fade0e
+DIST cryptonite-0.8.tar.gz 325531 BLAKE2B b62d1330de4305e2a7c48063f1745d8f47ef176d356c07b2d533dbdfe02d4d76bd5699f8dda0f258108b2c16b2cf4bbe8228f4565620125839101e721310a05a SHA512 c393e7a93f8d4368ae9ee3130eb44cbc0a4937fdbe27bb918a8900716d9946bae39897717b1c2b3c2531ce69562df3d3260177fa76a6f90ee53ace206fe382a3
+EBUILD cryptonite-0.21.ebuild 1285 BLAKE2B 2722a82dafce4913a9d2d79d23e870a0bb52f4fee220412b65a97dbb0ad5e23c53f756715a7d0e45f75890c78776b7b3e5fb03869d989ea4fe691287a33c2aeb SHA512 baccf65be74a4062d24b662275770536966198c6ff700bc582a717b83c54680e43bd8ccd7a7fad235091b33365c52d877445934bffd5c5d79e988246c6d45cb8
+EBUILD cryptonite-0.7.ebuild 1109 BLAKE2B 0248cc967d6ffad48a7941933b80f5bf246413ca75ffa74b088d06074a2b4b53cc9663c2cd0d808346caa6a79da9d8ed8595ca789d97f4022d77167b01baecef SHA512 68b9c87848b3c64ca0834d9ad4b1f67e668029f16a0ac41f6b7d9cbb3a44ecfa44ed98d0cdd6fab86a17bc32d4b2f4be410cf4936991433b72867d04c402289a
+EBUILD cryptonite-0.8.ebuild 1114 BLAKE2B 05cad9a54436b5c59c465365c2100e7b4c8c191a8e9e578d1ff3dd8c3f9fbbc1f64712c2b4089107b87a74184d7415a7213d92ea56c775241d8695c0622af0c4 SHA512 f470ba4e7ad2ef069da36b531f70d323fa661c8d48e9f93e2d62710db67ac9dc586918e5f0f29a5ec3e8f78d19f0aca03d9cdd2ed4b382abf8ecd8f60f13a126
+MISC metadata.xml 1742 BLAKE2B 69dc6545e0d61413e5d719fb39384815586d24a4359becfc388d3e4654b5998c59dcabfa3617846047ad467ba385b575f45e5089e8b98039778b42d20242e15d SHA512 f1dcfbb9a816fc6c7a418fb38b98f3de6fc240b694e44a3d1a5a44f06e79d1940be46ac2712e32e1fc3af29942f8a100c0a4795d7e803d28c2e76c103b179d13
diff --git a/dev-haskell/cryptonite/cryptonite-0.21.ebuild b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
new file mode 100644
index 000000000000..a4d474225be7
--- /dev/null
+++ b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -check_alignment,-old_toolchain_inliner
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Cryptography Primitives sink"
+HOMEPAGE="https://github.com/haskell-crypto/cryptonite"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="+integer-gmp +support_aesni support_blake2_sse +support_deepseq support_pclmuldq +support_rdrand"
+
+RDEPEND=">=dev-haskell/memory-0.8:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( dev-haskell/byteable
+ dev-haskell/tasty
+ dev-haskell/tasty-hunit
+ dev-haskell/tasty-kat
+ dev-haskell/tasty-quickcheck )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-check_alignment \
+ $(cabal_flag integer-gmp integer-gmp) \
+ --flag=-old_toolchain_inliner \
+ $(cabal_flag support_aesni support_aesni) \
+ $(cabal_flag support_blake2_sse support_blake2_sse) \
+ $(cabal_flag support_deepseq support_deepseq) \
+ $(cabal_flag support_pclmuldq support_pclmuldq) \
+ $(cabal_flag support_rdrand support_rdrand)
+}
diff --git a/dev-haskell/cryptonite/cryptonite-0.7.ebuild b/dev-haskell/cryptonite/cryptonite-0.7.ebuild
new file mode 100644
index 000000000000..bf70362d04a2
--- /dev/null
+++ b/dev-haskell/cryptonite/cryptonite-0.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Cryptography Primitives sink"
+HOMEPAGE="https://github.com/vincenthz/cryptonite"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+integer-gmp +support_aesni +support_deepseq support_pclmuldq +support_rdrand"
+
+RESTRICT=test # slow
+
+RDEPEND=">=dev-haskell/memory-0.8:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( dev-haskell/byteable
+ dev-haskell/tasty
+ dev-haskell/tasty-hunit
+ dev-haskell/tasty-kat
+ dev-haskell/tasty-quickcheck )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag integer-gmp integer-gmp) \
+ $(cabal_flag support_aesni support_aesni) \
+ $(cabal_flag support_deepseq support_deepseq) \
+ $(cabal_flag support_pclmuldq support_pclmuldq) \
+ $(cabal_flag support_rdrand support_rdrand)
+}
diff --git a/dev-haskell/cryptonite/cryptonite-0.8.ebuild b/dev-haskell/cryptonite/cryptonite-0.8.ebuild
new file mode 100644
index 000000000000..08d4a6767c3b
--- /dev/null
+++ b/dev-haskell/cryptonite/cryptonite-0.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Cryptography Primitives sink"
+HOMEPAGE="https://github.com/haskell-crypto/cryptonite"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+integer-gmp +support_aesni +support_deepseq support_pclmuldq +support_rdrand"
+
+RESTRICT=test # slow
+
+RDEPEND=">=dev-haskell/memory-0.8:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( dev-haskell/byteable
+ dev-haskell/tasty
+ dev-haskell/tasty-hunit
+ dev-haskell/tasty-kat
+ dev-haskell/tasty-quickcheck )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag integer-gmp integer-gmp) \
+ $(cabal_flag support_aesni support_aesni) \
+ $(cabal_flag support_deepseq support_deepseq) \
+ $(cabal_flag support_pclmuldq support_pclmuldq) \
+ $(cabal_flag support_rdrand support_rdrand)
+}
diff --git a/dev-haskell/cryptonite/metadata.xml b/dev-haskell/cryptonite/metadata.xml
new file mode 100644
index 000000000000..2558232f1f8f
--- /dev/null
+++ b/dev-haskell/cryptonite/metadata.xml
@@ -0,0 +1,42 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ A repository of cryptographic primitives.
+
+ * Symmetric ciphers: AES, DES, 3DES, Blowfish, Camellia, RC4, Salsa, ChaCha.
+
+ * Hash: SHA1, SHA2, SHA3, MD2, MD4, MD5, Kekkak, Skein, Ripemd, Tiger, Whirlpool
+
+ * MAC: HMAC, Poly1305
+
+ * Assymmetric crypto: DSA, RSA, DH, ECDH, ECDSA, ECC, Curve25519, Ed25519
+
+ * Key Derivation Function: PBKDF2, Scrypt
+
+ * Cryptographic Random generation: System Entropy, Deterministic Random Generator
+
+ * Data related: Anti-Forensic Information Splitter (AFIS)
+
+ If anything cryptographic related is missing from here, submit
+ a pull request to have it added. This package strive to be a
+ cryptographic kitchen sink that provides cryptography for everyone.
+
+ Evaluate the security related to your requirements before using.
+ </longdescription>
+ <use>
+ <flag name="support_aesni">allow compilation with AESNI on system and architecture that supports it</flag>
+ <flag name="support_rdrand">allow compilation with AESNI on system and architecture that supports it</flag>
+ <flag name="support_pclmuldq">Allow compilation with pclmuldq on architecture that supports it</flag>
+ <flag name="integer-gmp">Whether or not to use GMP for some functions</flag>
+ <flag name="support_deepseq">add deepseq instances for cryptographic types</flag>
+ <flag name="support_blake2_sse">Use SSE optimized version of BLAKE2</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">haskell-crypto/cryptonite</remote-id>
+ </upstream>
+</pkgmetadata>