summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-02-13 02:47:14 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-02-13 02:47:14 +0000
commitb7fae4b3655fa500800af7edf384286ce9eaf18a (patch)
tree8e92212a5202f791100fa925deb7d4c70c8f3dfe
parentSymmetrical Block, Stream, and PubKey Ciphers. (diff)
A collection of crypto hashes, with a practical incremental and one-pass,
pure APIs, with performance close to the fastest implementations available in others languages. The implementations are made in C with a haskell FFI wrapper that hide the C implementation. WWW: http://github.com/vincenthz/hs-cryptohash Obtained from: FreeBSD Haskell
Notes
Notes: svn path=/head/; revision=291130
-rw-r--r--lang/ghc/bsd.hackage.mk1
-rw-r--r--security/hs-cryptohash/Makefile20
-rw-r--r--security/hs-cryptohash/distinfo2
-rw-r--r--security/hs-cryptohash/pkg-descr8
4 files changed, 31 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 05ea83178c28..34c60d9b594d 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -58,6 +58,7 @@ Crypto_port= security/hs-Crypto
crypto-api_port= security/hs-crypto-api
crypto-pubkey-types_port= security/hs-crypto-pubkey-types
cryptocipher_port= security/hs-cryptocipher
+cryptohash_port= security/hs-cryptohash
csv_port= textproc/hs-csv
curl_port= ftp/hs-curl
darcs_port= devel/hs-darcs # executable
diff --git a/security/hs-cryptohash/Makefile b/security/hs-cryptohash/Makefile
new file mode 100644
index 000000000000..9ac4413d1605
--- /dev/null
+++ b/security/hs-cryptohash/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-cryptohash
+# Date created: November 19, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= cryptohash
+PORTVERSION= 0.7.4
+CATEGORIES= security haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A collection of crypto hashes, fast, pure, and practical
+
+LICENSE= BSD
+
+CABAL_SETUP= Setup.hs
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/security/hs-cryptohash/distinfo b/security/hs-cryptohash/distinfo
new file mode 100644
index 000000000000..b9cbead84b42
--- /dev/null
+++ b/security/hs-cryptohash/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/cryptohash-0.7.4.tar.gz) = 4be94351f2960bc3a4c28bd6273a476a8c0896f3918f4c9ead12100c23aff4da
+SIZE (cabal/cryptohash-0.7.4.tar.gz) = 38773
diff --git a/security/hs-cryptohash/pkg-descr b/security/hs-cryptohash/pkg-descr
new file mode 100644
index 000000000000..f60c7732bff3
--- /dev/null
+++ b/security/hs-cryptohash/pkg-descr
@@ -0,0 +1,8 @@
+A collection of crypto hashes, with a practical incremental and one-pass,
+pure APIs, with performance close to the fastest implementations available
+in others languages.
+
+The implementations are made in C with a haskell FFI wrapper that hide the
+C implementation.
+
+WWW: http://github.com/vincenthz/hs-cryptohash