diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/skein | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/skein')
-rw-r--r-- | dev-haskell/skein/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/skein/metadata.xml | 34 | ||||
-rw-r--r-- | dev-haskell/skein/skein-1.0.9.4.ebuild | 35 |
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-haskell/skein/Manifest b/dev-haskell/skein/Manifest new file mode 100644 index 000000000000..cedb4bb955b6 --- /dev/null +++ b/dev-haskell/skein/Manifest @@ -0,0 +1,3 @@ +DIST skein-1.0.9.4.tar.gz 134346 BLAKE2B 0161ea5a6de793c7938595d05b98b04f8929f007945fb86ea6c6fc7cef26a7022be00d0546920abbfb0ececcdab3e770acf4a4f468a33582106cd8290e830f2f SHA512 4f449de2db0c9f6a22e3f7375999029c1ab9139ae2e678e5582d5ad05dc8b3c12c99951ede884228579b9acc0243b00b93dca07dd6d1ea314cc0d3d223165c34 +EBUILD skein-1.0.9.4.ebuild 1076 BLAKE2B cd4bf57067bca638b8e9201144513d62662671c6771b3d013999caf41d36f6f6e598ff3224fd44f3efbf58870af3f0142fab4fafdf3ea173530f68b48b0ec26e SHA512 b15983a168cc3e650154a409e329bc033ade6eadec40176f514209decd783984dd735f7f83549a79f7f7ce712114187acf0900e2ae903d20ba136a1822c5a387 +MISC metadata.xml 1460 BLAKE2B 1dccc7c204fd31f08ed354f0c2e11d0d9a8295b1bb366eab6bc60debf224bd35b50560b89310c148d6f6817934eb120beed9696ab6a6d7a1ce0b6edd1b9049eb SHA512 8979dc64387fe53f66f80484988f55c0e176803a8f3c4f7d09e2e60430609d948292af918190dac0fda114fee9f03b756ba2c6baa5bc8beb2e2d42cbaee00465 diff --git a/dev-haskell/skein/metadata.xml b/dev-haskell/skein/metadata.xml new file mode 100644 index 000000000000..155e664ff75c --- /dev/null +++ b/dev-haskell/skein/metadata.xml @@ -0,0 +1,34 @@ +<?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> + Skein (<http://www.skein-hash.info/>) is a family of fast + secure cryptographic hash functions designed by Niels + Ferguson, Stefan Lucks, Bruce Schneier, Doug Whiting, Mihir + Bellare, Tadayoshi Kohno, Jon Callas and Jesse Walker. + + This package uses bindings to the optimized C implementation + of Skein. We provide a high-level interface (see module + "Crypto.Skein") to some of the Skein use cases. We also + provide a low-level interface (see module + "Crypto.Skein.Internal") should you need to use Skein in a + different way. + + Currently we have support for Skein as cryptographic hash + function as Skein as a message authentication code + (Skein-MAC). For examples of how to use this package, see + "Crypto.Skein" module documentation. + </longdescription> + <use> + <flag name="big-endian">When manually selecting the endianness, use big-endian (default is little-endian)</flag> + <flag name="force-endianness">Use a manually selected endian when compiling (see flag 'big-endian')</flag> + <flag name="reference">Use the reference implementation instead of the optimized one</flag> + </use> + <upstream> + <remote-id type="github">meteficha/skein</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/skein/skein-1.0.9.4.ebuild b/dev-haskell/skein/skein-1.0.9.4.ebuild new file mode 100644 index 000000000000..099965f17124 --- /dev/null +++ b/dev-haskell/skein/skein-1.0.9.4.ebuild @@ -0,0 +1,35 @@ +# 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="Skein, a family of cryptographic hash functions. Includes Skein-MAC as well" +HOMEPAGE="https://github.com/meteficha/skein" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="big-endian force-endianness reference" + +RDEPEND=">=dev-haskell/cereal-0.3:=[profile?] <dev-haskell/cereal-0.6:=[profile?] + >=dev-haskell/crypto-api-0.6:=[profile?] <dev-haskell/crypto-api-0.14:=[profile?] + >=dev-haskell/tagged-0.2:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.3 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag big-endian big-endian) \ + $(cabal_flag force-endianness force-endianness) \ + $(cabal_flag reference reference) +} |