summaryrefslogtreecommitdiff
path: root/dev-haskell/sha
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/sha')
-rw-r--r--dev-haskell/sha/Manifest5
-rw-r--r--dev-haskell/sha/metadata.xml20
-rw-r--r--dev-haskell/sha/sha-1.6.4.2.ebuild47
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-haskell/sha/Manifest b/dev-haskell/sha/Manifest
new file mode 100644
index 000000000000..1718120df4f4
--- /dev/null
+++ b/dev-haskell/sha/Manifest
@@ -0,0 +1,5 @@
+DIST SHA-1.6.4.2.tar.gz 2715266 SHA256 c470176f63cbe49fd0502a1b32ef22bc01b1af42385583b8be94547750958a8c SHA512 aa1178f08ad3364c504ee790dac9b0774b7461fa7ea0a8f2c3ad82943d109602debcf4a8a83090815fef487ceac40019f8b5594ab0043f36e019d69bc5f76853 WHIRLPOOL f5276133475ea2e7568c1ed0f4b9d4cf7db58e2fb75d6f6221918c4ba6e9a7fcbe3fd7b43846e7aef7046f537e65c8afee24df45dd22528e2bb2038faee202a5
+EBUILD sha-1.6.4.2.ebuild 1253 SHA256 c7e36c2d10da8eae52f95c1d6f8c92742d058c4175adfe7be755e239cd16960b SHA512 767ac7eedb44d3ce597a9e374379ccb7bcfb45aecbf56c4b4ea1e5c5e0fbfd73a4da2b09b179c729f019e14cf155dfe3a2b2873b963bc7c1aac37abd26c0901c WHIRLPOOL 8014fb279850cbebffdb3c22980082dd1c89af3612c73873dab01133e6b3efdd0dbc88f685fd3c960bf9df0097b1ae0c11a195c7d81769d583f5f3d4313a1c4a
+MISC ChangeLog 3221 SHA256 171bc6de9b1d838469cba829a3c794dcf9a2f44a6df6c5c32c10496c833aaed3 SHA512 ff1224bc60899de885f6ff5cd1a89d4df25a7ec9ccdbdcfbfd7317bd34b83d84b458f902527307c90081cc017f4b00ceb0a314bd1036532b0decd7ced19b1fef WHIRLPOOL ae530d33b6b787e26a247bed4f8789bfe16d985cdaf60251dbf7a3f75cb3fdbeff014384a8e7f5061e18f9c15df2018004072fbb7b04418775dddf6a2dde6698
+MISC ChangeLog-2015 1926 SHA256 131b01d9fb7d0f52e87201b2e3de24bd2a971ed6017195508c77806e4a90a5cd SHA512 9374b4799625e3b326f06443a849e37a762cf9d6639dab9e5c3e5d081b8a36541984d78c610b1901ea3bd87aa248138921a00d3607ffe1f120ccbfa041106168 WHIRLPOOL d7f1382bf228cecff82aeb865d8cba31ab5c237a3c812d5a40deededf257177b021f4859cd363a54c35b022a28d6abac02c733943adee066f1bb6d018bb86795
+MISC metadata.xml 799 SHA256 a18249401ae85c5f14e0dee9f97a7deeb6ddb1fe62fa42890748619cb97aa292 SHA512 e00b204843e7e36afd812d8ca4b65568e57e51e8f1f1eb1e86ea4ba4ae3d9a2c0f5184056f8d8a10987c8ef90cd2cb4b0867591a49030410dc844c7d36acad39 WHIRLPOOL 0c8e508cfe4d61f8a6fe275792b4cceb143b1e1ada72a39d1114f23683c2220e4bb7afcad9bccf15dcb29cc2b2791546e1a80562ee91532feeebcbcf42737a18
diff --git a/dev-haskell/sha/metadata.xml b/dev-haskell/sha/metadata.xml
new file mode 100644
index 000000000000..485303c5f624
--- /dev/null
+++ b/dev-haskell/sha/metadata.xml
@@ -0,0 +1,20 @@
+<?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>
+ <use>
+ <flag name="exe">Build a sha1 and a sha384 executable similar to 'md5sum'.</flag>
+ </use>
+ <longdescription>
+ This library implements the SHA suite of message digest functions,
+ according to NIST FIPS 180-2 (with the SHA-224 addendum), as well
+ as the SHA-based HMAC routines. The functions have been tested
+ against most of the NIST and RFC test vectors for the various
+ functions. While some attention has been paid to performance,
+ these do not presently reach the speed of well-tuned libraries,
+ like OpenSSL.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/sha/sha-1.6.4.2.ebuild b/dev-haskell/sha/sha-1.6.4.2.ebuild
new file mode 100644
index 000000000000..f301ffdfd807
--- /dev/null
+++ b/dev-haskell/sha/sha-1.6.4.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: +decoderinterface
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="SHA"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Implementations of the SHA suite of message digest functions"
+HOMEPAGE="http://hackage.haskell.org/package/SHA"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86 ~amd64-linux"
+IUSE="exe"
+
+RESTRICT=test # fails to build on ghc-7.6, https://ghc.haskell.org/trac/ghc/ticket/8657
+
+RDEPEND=">=dev-haskell/binary-0.7:=[profile?] <dev-haskell/binary-10000:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-3
+ >=dev-haskell/test-framework-0.8.0.3 <dev-haskell/test-framework-10000
+ >=dev-haskell/test-framework-quickcheck2-0.3.0.2 <dev-haskell/test-framework-quickcheck2-10000 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ cabal_chdeps \
+ ' -O2' ' '
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=decoderinterface \
+ $(cabal_flag exe exe)
+}