diff options
author | Dane Smith <c1pher@gentoo.org> | 2010-12-21 15:04:36 +0000 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2010-12-21 15:04:36 +0000 |
commit | 8ae59dc5f12be656fe012377e770eb7f53da4808 (patch) | |
tree | 15cffd74027bb98f2302bfc8f62c77d624b088d8 /app-crypt/dieharder | |
parent | Fix dep in older version too, just to avoid duplicate bug reports (diff) | |
download | historical-8ae59dc5f12be656fe012377e770eb7f53da4808.tar.gz historical-8ae59dc5f12be656fe012377e770eb7f53da4808.tar.bz2 historical-8ae59dc5f12be656fe012377e770eb7f53da4808.zip |
New package app-crypt/dieharder wrt bug 212674. Moved from Sunrise.
Package-Manager: portage-2.2.0_alpha4/cvs/Linux i686
Diffstat (limited to 'app-crypt/dieharder')
-rw-r--r-- | app-crypt/dieharder/ChangeLog | 12 | ||||
-rw-r--r-- | app-crypt/dieharder/Manifest | 25 | ||||
-rw-r--r-- | app-crypt/dieharder/dieharder-2.28.1.ebuild | 38 | ||||
-rw-r--r-- | app-crypt/dieharder/files/dieharder-2.28.1-qafixes.patch | 33 | ||||
-rw-r--r-- | app-crypt/dieharder/metadata.xml | 9 |
5 files changed, 117 insertions, 0 deletions
diff --git a/app-crypt/dieharder/ChangeLog b/app-crypt/dieharder/ChangeLog new file mode 100644 index 000000000000..3f35c08b2ca3 --- /dev/null +++ b/app-crypt/dieharder/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-crypt/dieharder +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/dieharder/ChangeLog,v 1.1 2010/12/21 15:04:36 c1pher Exp $ + +*dieharder-2.28.1 (21 Dec 2010) + + 21 Dec 2010; Dane Smith <c1pher@gentoo.org> +dieharder-2.28.1.ebuild, + +files/dieharder-2.28.1-qafixes.patch, +metadata.xml: + New ebuild for dieharder wrt bug 212674. Moved from the Sunrise overlay. + New + patch addresses some upstream QA warnings. Submitting upstream. + diff --git a/app-crypt/dieharder/Manifest b/app-crypt/dieharder/Manifest new file mode 100644 index 000000000000..799e1b61058a --- /dev/null +++ b/app-crypt/dieharder/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX dieharder-2.28.1-qafixes.patch 1334 RMD160 9bd9ed8eda16a030263cfc7d2263cf895c63be4f SHA1 950a2c577cd4fb571e8aa98f4d7f6fa29cf0b925 SHA256 2986d58380472316e7e2b7a06124436d8d1218de56a90f981eeff0ebaf160694 +DIST dieharder-2.28.1.tgz 766985 RMD160 955d39077c093aec39da2688e4e51a249438d59e SHA1 789984e5ce582e3e59b8af0ae330d061435a10ed SHA256 748ec4716e64de38807e126f10335e45136fa789056e9f647a6bf73698205286 +EBUILD dieharder-2.28.1.ebuild 926 RMD160 62b511476aa34f3f12d160553b671a83b3ddf59b SHA1 18a7c85fe0f8e74d6f966576e4c0cc858ebc0b49 SHA256 9f5973bc455b802d74f8cf10d7633c0093fc9fb7276a808c9ff388a85787f7f6 +MISC ChangeLog 520 RMD160 e0dffcdc1f4563821f013eb422a4867cb79c8118 SHA1 d105de5880bc427f548ef97f22645286285dd571 SHA256 a5ed44dc9d97195645d999c68462fc57ea7079a14f26d01ff71feb72762fa618 +MISC metadata.xml 249 RMD160 9e6c4cbeb7c56f4a8a6a404caba243bc43987007 SHA1 1253e617bfc5df483e730af0285d48301dad6730 SHA256 e14bc23df34373a562d9b2d09e037959ba43d96ccb1ad3de19e47cd6959a0af6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iQIcBAEBAgAGBQJNEMHSAAoJEEsurZwMLhUxBikP/A5O9CJj7Vqv9Ru18mb/i1vO +S/5//eFFe/J7BFOIlOv6dABzExDHs8c2J9tI4r0V5mv5u/iIirc8o08ulCGwuEEe +LTFOII/SquirgOhVw1OuXYz1ije3cBa56EuYKaVwsg5lRaxlwwng0IWohCqrpW+7 +klqidNRT1YwJ1UK6dNvUwArSf9I0RVRKrwNmV8ELgpTBAsKB9yLDmz/x4APfcY3Y +eafTKlNMyIHTJ7zzHmshwxXkBkRnDeyVnwFJUEJY9STQpdZTNgezIwl9PWu1q8Ec +/rMwFaED4J0WovoFc7Z/Lw2J/yZZqACw64pvPILAt7z0aepuZktZW0toD7EN+cCo +sfVI+uwB/r1iRXKQgfxuvFTnwdebN21HA46IISHSGGJSuLSdCiLT5VPsHDMTbBgP +eemO6/ERE94ZyDchPBlDT/feGAkh2ajq5c2R71mttWfwD8Qkb2enX1BO3XGbhOhq +5APnviu1h+FX0Rb9lGPGJdE/WAf+8Ff7VepGyOFfMa+fOzzC4T56y/s5Gkylvu3K +sVI7oKpwQ2n3QdjjX1+h2ZJxdDjDDbJ0DXa/QkJ0IvZezlQURaRBFlz7zATxUmhh +lj/Sbxoe4ECxoxrGT3ukAOS3ESzKvQCnpkYagn1ufzynlV/sd4EQrNxo0zdA+imJ +a1JNsSYRKBfMFbbuPDoD +=Zbjm +-----END PGP SIGNATURE----- diff --git a/app-crypt/dieharder/dieharder-2.28.1.ebuild b/app-crypt/dieharder/dieharder-2.28.1.ebuild new file mode 100644 index 000000000000..678f1b000c86 --- /dev/null +++ b/app-crypt/dieharder/dieharder-2.28.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/dieharder/dieharder-2.28.1.ebuild,v 1.1 2010/12/21 15:04:36 c1pher Exp $ + +EAPI=2 + +WANT_AUTOCONF="2.5" +inherit autotools eutils + +DESCRIPTION="An advanced suite for testing the randomness of RNG's" +HOMEPAGE="http://www.phy.duke.edu/~rgb/General/dieharder.php" +SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sci-libs/gsl" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-qafixes.patch + eautoreconf +} + +src_compile() { + emake all-recursive || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc NEWS README* NOTES || die + docinto "dieharder" + dodoc dieharder/README dieharder/NOTES || die + docinto "libdieharder" + dodoc libdieharder/README libdieharder/NOTES || die +} diff --git a/app-crypt/dieharder/files/dieharder-2.28.1-qafixes.patch b/app-crypt/dieharder/files/dieharder-2.28.1-qafixes.patch new file mode 100644 index 000000000000..265d566c801c --- /dev/null +++ b/app-crypt/dieharder/files/dieharder-2.28.1-qafixes.patch @@ -0,0 +1,33 @@ +--- libdieharder/static_get_bits.c 2008-09-08 08:37:18.000000000 -0400 ++++ libdieharder/static_get_bits.c.new 2010-12-21 09:39:02.000000000 -0500 +@@ -44,7 +44,7 @@ + } + if(nbits > 32){ + fprintf(stderr,"Warning! dieharder cannot yet work with\b"); +- fprintf(stderr," %u > 32 bit chunks. Exiting!\n\n"); ++ fprintf(stderr," %u > 32 bit chunks. Exiting!\n\n", nbits); + exit(0); + } + +--- libdieharder/bits.c 2008-09-08 08:37:18.000000000 -0400 ++++ libdieharder/bits.c.new 2010-12-21 09:45:51.000000000 -0500 +@@ -944,7 +944,7 @@ + */ + MYDEBUG(D_BITS) { + printf("bu = %d bl = %d\n",bu,bl); +- printf(" init %2d: |"); ++ printf(" init %2d: |",bleft); + dumpbits(&bits_rand[0],bu); + printf("|"); + dumpbits(&bits_rand[1],bu); +--- libdieharder/marsaglia_tsang_gcd.c 2008-09-08 08:37:19.000000000 -0400 ++++ libdieharder/marsaglia_tsang_gcd.c.new 2010-12-21 09:47:40.000000000 -0500 +@@ -289,7 +289,7 @@ + Vtest_destroy(&vtest_u); + + if(verbose == D_USER_TEMPLATE || verbose == D_ALL){ +- printf("# user_marsaglia_tsang_gcd(): ks_pvalue_k[%u] = %10.5f ks_pvalue_w[%u] = %10.5f\n",kspi,ks_pvalue[kspi],ks_pvalue2[kspi]); ++ printf("# user_marsaglia_tsang_gcd(): ks_pvalue_k[%u] = %10.5f ks_pvalue_w[%u] = %10.5f\n",kspi,ks_pvalue[kspi],kspi,ks_pvalue2[kspi]); + } + + kspi++; diff --git a/app-crypt/dieharder/metadata.xml b/app-crypt/dieharder/metadata.xml new file mode 100644 index 000000000000..a82acb7999a3 --- /dev/null +++ b/app-crypt/dieharder/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>crypto</herd> + <maintainer> + <email>c1pher@gentoo.org</email> + <name>Dane Smith</name> + </maintainer> +</pkgmetadata> |