app-crypt/dieharder: cleanup

Package-Manager: portage-2.2.28
This commit is contained in:
Alon Bar-Lev
2016-06-12 05:40:08 +03:00
parent f068bf9d86
commit 381aec5d1d
4 changed files with 0 additions and 110 deletions

View File

@@ -1,2 +1 @@
DIST dieharder-2.28.1.tgz 766985 SHA256 748ec4716e64de38807e126f10335e45136fa789056e9f647a6bf73698205286 SHA512 35e210fd0fff9ecb3e68494058a9943e6684dd98d3a3ff70776b52a7de7fcbda28f10084f23f3872793da365ed8e16c0a91941266272e6e97575c9b146b17e14 WHIRLPOOL 8f17197f095831cc63601367ab73bac2ac19fda129ee321543883ee69477f9a253abaf3cc9a1e376bb531093bae56119dfd49f29deb29cad1ac411bccfa72a02
DIST dieharder-3.31.1.tgz 1149780 SHA256 6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f SHA512 e01ed4266b4fe5d5fadde3c92c30e430d0ca5f7fedd26b26ed2ab98b7602aa9c35bb5c8fd9314ef2f5235b5087645ab13e5e6550156e26643baa5aeb77088dc5 WHIRLPOOL eb10fffbe839b2448b1955841dd4c3dee45f21ab89eb5107e82c3fef8706f7386ee6b6c21aa947c2cbe1f16075c7882975c9eff5fb17876799c15ccce9b5eca1

View File

@@ -1,38 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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
}

View File

@@ -1,38 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
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="doc"
RDEPEND="sci-libs/gsl"
DEPEND="${RDEPEND}
doc? ( dev-tex/latex2html )"
src_compile() {
emake all-recursive
use doc && emake -C manual
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NOTES
docinto "dieharder"
dodoc dieharder/README dieharder/NOTES
docinto "libdieharder"
dodoc libdieharder/README libdieharder/NOTES
if use doc ; then
dodoc ChangeLog dieharder.html
docinto "manual"
dodoc manual/dieharder.pdf manual/dieharder.ps
fi
}

View File

@@ -1,33 +0,0 @@
--- 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++;