diff options
author | Mark Wright <gienah@gentoo.org> | 2014-07-02 12:31:10 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2014-07-02 12:31:10 +0000 |
commit | 202f8eb359c00c86648fd4d583739910d18ebb19 (patch) | |
tree | 9f8092e2e233a689466f7fd6f27c0a629b2fbd6b /dev-haskell/tf-random | |
parent | Bump profunctors to 4.0.4 (diff) | |
download | gentoo-2-202f8eb359c00c86648fd4d583739910d18ebb19.tar.gz gentoo-2-202f8eb359c00c86648fd4d583739910d18ebb19.tar.bz2 gentoo-2-202f8eb359c00c86648fd4d583739910d18ebb19.zip |
Add tf-random
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/tf-random')
-rw-r--r-- | dev-haskell/tf-random/ChangeLog | 9 | ||||
-rw-r--r-- | dev-haskell/tf-random/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/tf-random/metadata.xml | 25 | ||||
-rw-r--r-- | dev-haskell/tf-random/tf-random-0.5.ebuild | 27 |
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-haskell/tf-random/ChangeLog b/dev-haskell/tf-random/ChangeLog new file mode 100644 index 000000000000..7d15398efcfc --- /dev/null +++ b/dev-haskell/tf-random/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-haskell/tf-random +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/tf-random/ChangeLog,v 1.1 2014/07/02 12:31:10 gienah Exp $ + +*tf-random-0.5 (02 Jul 2014) + + 02 Jul 2014; Mark Wright <gienah@gentoo.org> +metadata.xml, + +tf-random-0.5.ebuild: + Add tf-random diff --git a/dev-haskell/tf-random/Manifest b/dev-haskell/tf-random/Manifest new file mode 100644 index 000000000000..429d385f6a10 --- /dev/null +++ b/dev-haskell/tf-random/Manifest @@ -0,0 +1,3 @@ +DIST tf-random-0.5.tar.gz 18483 SHA256 2e30cec027b313c9e1794d326635d8fc5f79b6bf6e7580ab4b00186dadc88510 SHA512 a766909571b4b37daaaaa9fa1aa9739bd2db8c32c0f64452fd7c3717f4578090e5227b763772858c6c311c5f366dd461421ffc3beb295455902fea1fb133deb7 WHIRLPOOL 593a67cf1b8dfece25fab4027c44ec2cacd7f4ae072fa185ac60188963d586a1873e2fc665c9ce4cbe0625ee02f304ef238352f9010195bb5f7b8f3c12ac310f +EBUILD tf-random-0.5.ebuild 677 SHA256 68377a9514fa9ac5fee21e78405421940f1e339703c68a1d8e37be25d4deb9f9 SHA512 078be98fc23ff07e93b3b939ce00d7260d9be37329217a6bc60dd2ee0132f0ec774f907684f386d5c401fd1bbc4edd64288663d949c8d9b3c2c60eadf7f49c66 WHIRLPOOL 1f58f2b9dadd8ae556c640f810d987f1ad1dc35afed6be524f15edb67a08f0755cdcfe9e2cc4e57af4d052f4f3a85d6b987a933398b7204d3c251bc47bb3aee8 +MISC metadata.xml 1765 SHA256 30291d7359d4d1490a012b4bcbbfd4553f964df739742feb83670122362c8009 SHA512 5be07491cc0e34d53323e3fc8c93bbbcea654ec4d20005308703166c73f85192ef1901ee70d1c2072481e8f800a3cf462b79e9f84c542716ee617bf08841d699 WHIRLPOOL 10a4992bd16f4197ebd1d86f1d92a6ddc88cfb0a30412e2518785f9642719ae1dba5b7216ec18e59bee7d6b2f3ca1f4dfa423337ca3be19aa16e9bd42ce45a50 diff --git a/dev-haskell/tf-random/metadata.xml b/dev-haskell/tf-random/metadata.xml new file mode 100644 index 000000000000..611a749df76b --- /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> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </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 (<https://www.schneier.com/skein.html>), 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..ced0ddd92658 --- /dev/null +++ b/dev-haskell/tf-random/tf-random-0.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/tf-random/tf-random-0.5.ebuild,v 1.1 2014/07/02 12:31:10 gienah Exp $ + +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="~amd64 ~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 +" |