summaryrefslogtreecommitdiff
path: root/dev-haskell/tf-random
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/tf-random
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/tf-random')
-rw-r--r--dev-haskell/tf-random/Manifest5
-rw-r--r--dev-haskell/tf-random/metadata.xml25
-rw-r--r--dev-haskell/tf-random/tf-random-0.5.ebuild26
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-haskell/tf-random/Manifest b/dev-haskell/tf-random/Manifest
new file mode 100644
index 000000000000..934e72eb43fb
--- /dev/null
+++ b/dev-haskell/tf-random/Manifest
@@ -0,0 +1,5 @@
+DIST tf-random-0.5.tar.gz 18483 SHA256 2e30cec027b313c9e1794d326635d8fc5f79b6bf6e7580ab4b00186dadc88510 SHA512 a766909571b4b37daaaaa9fa1aa9739bd2db8c32c0f64452fd7c3717f4578090e5227b763772858c6c311c5f366dd461421ffc3beb295455902fea1fb133deb7 WHIRLPOOL 593a67cf1b8dfece25fab4027c44ec2cacd7f4ae072fa185ac60188963d586a1873e2fc665c9ce4cbe0625ee02f304ef238352f9010195bb5f7b8f3c12ac310f
+EBUILD tf-random-0.5.ebuild 694 SHA256 a80ff3db7c83e00141ff17483e4e78d722fa213d0c9317965d617b58110effc7 SHA512 dafa4e6f1beab0054a42f3a57542fa0075d7508f4b1984136230fa7263131c5cd25084086ef81a116233fcab6a414c7fc9e30fbae37a6316eacf53920d94449b WHIRLPOOL dd6f638aabcaafb64c3a07226c45b863608c3c7a1bba41ef8825108e90116061b8126b02fbaa04b86c3530506f4204c71afea191523f74d0a0bbd809b2176ca9
+MISC ChangeLog 2972 SHA256 471455f8e890087e6c174d5edb14909b295bb014dc64e185c03b2347cbc0f0d4 SHA512 07c21ad4e93c1767615bb44e7d74c1ceee77fd85710968d0ae11200deab9b9c8e81610bff9b3bfff3e86106676d6c4eb2ab65f911b0ea75222ba746f5ccdead5 WHIRLPOOL bcba889392f8b44848c8995f626226616f11ca8f6b891795e4ee9c54c626a112036796ee44195fe17adf41c6b987098b8996acb611c66a3b6602023d648e6668
+MISC ChangeLog-2015 688 SHA256 08a6db6b9095f0733ce5f9adcbf1fbbfd22e5841a0b9d14295fa5bf0b5f5d20c SHA512 f729e5cd79afcd721153039a3622a1241cfb7b2e17468ea240224759c550571ad10be962f7d80106dadb4071c158e6d0eeca05c63903420af7b9dd7869eba46c WHIRLPOOL 63ffd264f78d8116551f8d607d4e91939893b3447340bd1028d14067406118c55cf95a071aefa5ddc55eb77ff2f693fda618587557dae32def746335552c0632
+MISC metadata.xml 1762 SHA256 86c3ea9e1cd7a385d51bd24e5973579ec24981619c4b37486410f08f6480a43c SHA512 56185586f7239dcac266f54e781e431643a80011ea73d340ac1e0bf5dd3937610d2d5433189fd59eb3736e71d3b1eeabe1a4cef804ace1369beb10b35bc93c5d WHIRLPOOL 2ca166f99311ea8a1e28a12bb5e6627a5e9c423562503e7ba0b1b85a1aef84a5c765fd14fee8680f323d116d0af10a29742442b1b90ad5775bf41e93358a632f
diff --git a/dev-haskell/tf-random/metadata.xml b/dev-haskell/tf-random/metadata.xml
new file mode 100644
index 000000000000..5635c16285eb
--- /dev/null
+++ b/dev-haskell/tf-random/metadata.xml
@@ -0,0 +1,25 @@
+<?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>
+ This package contains an implementation of a high-quality splittable pseudorandom number generator. The generator is based on a cryptographic hash function built on top of the ThreeFish block cipher. See the paper /Splittable Pseudorandom Number Generators Using Cryptographic Hashing/ by Claessen, PaBka for details and the rationale of the design.
+
+ The package provides the following:
+
+ * A splittable PRNG that implements the standard 'System.Random.RandomGen' class.
+
+ * The generator also implements an alternative version of the 'System.Random.TF.Gen.RandomGen' class (exported from "System.Random.TF.Gen"), which requires the generator to return pseudorandom integers from the full 32-bit range, and contains an n-way split function.
+
+ * An alternative version of the @Random@ class is provided, which is linked to the new @RandomGen@ class, together with @Random@ instances for some integral types.
+
+ * Two functions for initialising the generator with a non-deterministic seed: one using the system time, and one using the @\/dev\/urandom@ UNIX special file.
+
+ The package uses an adapted version of the reference C implementation of ThreeFish from the reference package of the Skein hash function (&lt;https://www.schneier.com/skein.html&gt;), originally written by Doug Whiting.
+
+ Please note that even though the generator provides very high-quality pseudorandom numbers, it has not been designed with cryptographic applications in mind.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/tf-random/tf-random-0.5.ebuild b/dev-haskell/tf-random/tf-random-0.5.ebuild
new file mode 100644
index 000000000000..8f79546a69cb
--- /dev/null
+++ b/dev-haskell/tf-random/tf-random-0.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.9999
+
+CABAL_FEATURES="lib profile" # non-ASCII in .cabal: haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="High-quality splittable pseudorandom number generator"
+HOMEPAGE="http://hackage.haskell.org/package/tf-random"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/primitive-0.3:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"