[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: d0d1c6d1e01f2508a2bbaabe12701a50a4b2ff00 Author: Sam James gentoo org> AuthorDate: Thu Jan 19 01:19:57 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jan 19 01:20:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d1c6d1 app-crypt/dieharder: Stabilize 3.31.1-r4 x86, #891251 Signed-off-by: Sam James gentoo.org> app-crypt/dieharder/dieharder-3.31.1-r4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild index c6ed2a02f63b..47c50dd311d1 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="doc" RESTRICT="test" # Way too long
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 266b76ffb08d40a753cac71490a625b4f5f97990 Author: Sam James gentoo org> AuthorDate: Thu Jan 19 01:20:43 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jan 19 01:20:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=266b76ff app-crypt/dieharder: Stabilize 3.31.1-r4 arm64, #891251 Signed-off-by: Sam James gentoo.org> app-crypt/dieharder/dieharder-3.31.1-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild index ea9e9eb44a37..19afb57f878c 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="doc" RESTRICT="test" # Way too long
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 96ab1c680cf089b9ce30f971693496c1afe87829 Author: Sam James gentoo org> AuthorDate: Thu Jan 19 01:19:58 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jan 19 01:20:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ab1c68 app-crypt/dieharder: Stabilize 3.31.1-r4 amd64, #891251 Signed-off-by: Sam James gentoo.org> app-crypt/dieharder/dieharder-3.31.1-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild index 47c50dd311d1..ea9e9eb44a37 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="doc" RESTRICT="test" # Way too long
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 43b8321a53420243f8e2aea74143dc8a966c056a Author: WANG Xuerui gentoo org> AuthorDate: Sun May 8 02:23:37 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Sun May 8 02:23:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b8321a app-crypt/dieharder: keyword 3.31.1-r4 for ~loong Signed-off-by: WANG Xuerui gentoo.org> app-crypt/dieharder/dieharder-3.31.1-r4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild index 75ad6f0f329b..c6ed2a02f63b 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="doc" RESTRICT="test" # Way too long
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 458a9a074ce9853c3d39e5b1a6844b34bb6ef751 Author: Sam James gentoo org> AuthorDate: Wed Jun 2 21:25:24 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jun 2 21:50:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458a9a07 app-crypt/dieharder: subscribe to sci-libs/gsl subslot Signed-off-by: Sam James gentoo.org> .../{dieharder-3.31.1-r3.ebuild => dieharder-3.31.1-r4.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild similarity index 97% rename from app-crypt/dieharder/dieharder-3.31.1-r3.ebuild rename to app-crypt/dieharder/dieharder-3.31.1-r4.ebuild index d9861f85b72..8bae5f15b9a 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r4.ebuild @@ -15,7 +15,7 @@ KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="doc" RESTRICT="test" # Way too long -RDEPEND="sci-libs/gsl" +RDEPEND="sci-libs/gsl:=" DEPEND="${RDEPEND}" BDEPEND=" doc? ( dev-tex/latex2html )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 41305d5e95afc5b9c515ac2f74362bda205a17be Author: Sam James gentoo org> AuthorDate: Tue Mar 23 04:29:53 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 23 04:29:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41305d5e app-crypt/dieharder: fix typo in DESCRIPTION Signed-off-by: Sam James gentoo.org> app-crypt/dieharder/dieharder-3.31.1-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild index fe4f37aa10e..d9861f85b72 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit autotools flag-o-matic -DESCRIPTION="An advanced suite for testing the randomness of RNG's" +DESCRIPTION="An advanced suite for testing the randomness of RNGs" HOMEPAGE="https://www.phy.duke.edu/~rgb/General/dieharder.php; SRC_URI="https://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; @@ -42,7 +42,7 @@ src_compile() { src_install() { if use doc; then - DOCS=( ChangeLog manual/dieharder.pdf manual/dieharder.ps) + DOCS=( ChangeLog manual/dieharder.pdf manual/dieharder.ps ) HTML_DOCS=( dieharder.html ) fi
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/files/, app-crypt/dieharder/
commit: 58e4239da7523f1889ad080a5d484d133faba8dc Author: Jakov Smolic sartura hr> AuthorDate: Thu Feb 11 19:53:21 2021 + Commit: Ben Kohler gentoo org> CommitDate: Fri Feb 12 13:44:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e4239d app-crypt/dieharder: Apply gcc-10 workaround and cross-compile patch Closes: https://bugs.gentoo.org/708538 Closes: https://github.com/gentoo/gentoo/pull/12544 Co-authored-by: Tom Hughes chromium.org> Signed-off-by: Tom Hughes chromium.org> Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Ben Kohler gentoo.org> app-crypt/dieharder/dieharder-3.31.1-r3.ebuild | 51 +-- .../dieharder/files/dieharder-3.31.1-build.patch | 8 --- .../files/dieharder-3.31.1-cross-compile.patch | 57 ++ .../files/dieharder-3.31.1-urandom-64bit.patch | 15 +++--- 4 files changed, 86 insertions(+), 45 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild index 269cb352cf1..fe4f37aa10e 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild @@ -1,11 +1,13 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit autotools flag-o-matic + 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; +HOMEPAGE="https://www.phy.duke.edu/~rgb/General/dieharder.php; +SRC_URI="https://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" @@ -14,30 +16,22 @@ IUSE="doc" RESTRICT="test" # Way too long RDEPEND="sci-libs/gsl" -DEPEND="${RDEPEND} - doc? ( dev-tex/latex2html )" - -DOCS=( - NOTES -) -HTML_DOCS=() +DEPEND="${RDEPEND}" +BDEPEND=" doc? ( dev-tex/latex2html )" PATCHES=( - "${FILESDIR}/${P}-build.patch" - "${FILESDIR}/${P}-urandom-64bit.patch" + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-urandom-64bit.patch + "${FILESDIR}"/${P}-cross-compile.patch ) -pkg_setup() { - use doc && DOCS+=( - ChangeLog - manual/dieharder.pdf manual/dieharder.ps - ) - use doc && HTML_DOCS+=( - dieharder.html - ) +src_prepare() { + default + eautoreconf } src_configure() { + append-flags -fcommon econf --disable-static } @@ -46,17 +40,18 @@ src_compile() { use doc && emake -C manual } -src_test() { - "${S}/dieharder/dieharder" -g 501 -a -} - src_install() { + if use doc; then + DOCS=( ChangeLog manual/dieharder.pdf manual/dieharder.ps) + HTML_DOCS=( dieharder.html ) + fi + default - docinto "dieharder" - dodoc dieharder/README dieharder/NOTES - docinto "libdieharder" - dodoc libdieharder/README libdieharder/NOTES + docinto dieharder + dodoc dieharder/{NOTES,README} + docinto libdieharder + dodoc libdieharder/{NOTES,README} find "${ED}" -name '*.la' -delete || die } diff --git a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch index 50e2119030c..07d33171a4c 100644 --- a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch +++ b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch @@ -1,5 +1,3 @@ -diff --git a/include/dieharder/libdieharder.h b/include/dieharder/libdieharder.h -index 2138ebf..f6d471b 100644 --- a/include/dieharder/libdieharder.h +++ b/include/dieharder/libdieharder.h @@ -6,6 +6,8 @@ @@ -34,8 +32,6 @@ Subject: [PATCH 1/2] rgb_operm: convert to noop as implementation missing include/dieharder/rgb_operm.h | 2 ++ 1 file changed, 2 insertions(+) -diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h -index c48fa37..f33fc1f 100644 --- a/include/dieharder/rgb_operm.h +++ b/include/dieharder/rgb_operm.h @@ -1,3 +1,4 @@ @@ -62,8 +58,6 @@ Subject: [PATCH 2/2] dab_filltree2: inline cannot have prototype nor can it be libdieharder/dab_filltree2.c | 48 +--- 2 files changed, 41 insertions(+), 44 deletions(-) -diff --git a/libdieharder/dab_filltree.c b/libdieharder/dab_filltree.c -index 9cc5ce7..3ed6b00 100644 --- a/libdieharder/dab_filltree.c +++ b/libdieharder/dab_filltree.c @@ -34,7 +34,24 @@ static double targetData[] = { @@ -117,8 +111,6 @@ index 9cc5ce7..3ed6b00 100644 #include int main_filltree(int argc, char **argv) { -diff --git a/libdieharder/dab_filltree2.c b/libdieharder/dab_filltree2.c -index 1e33af2..7102d3c 100644 --- a/libdieharder/dab_filltree2.c +++ b/libdieharder/dab_filltree2.c @@ -92,7 +92,29 @@ static double targetData[128] = { // size=128, generated from 6e9 samples
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 0e2ad5c790ea4d5ad40cfb622bd20a148a8797c5 Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Feb 23 22:06:32 2019 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Feb 23 22:21:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2ad5c7 app-crypt/dieharder: remove old Signed-off-by: Alon Bar-Lev gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 50 -- 1 file changed, 50 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild deleted file mode 100644 index cf12a7824f6..000 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc" - -RDEPEND="sci-libs/gsl" -DEPEND="${RDEPEND} - doc? ( dev-tex/latex2html )" - -DOCS=( - NOTES -) -HTML_DOCS=() - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -pkg_setup() { - use doc && DOCS+=( - ChangeLog - manual/dieharder.pdf manual/dieharder.ps - ) - use doc && HTML_DOCS+=( - dieharder.html - ) -} - -src_compile() { - emake -j1 - use doc && emake -C manual -} - -src_install() { - default - - docinto "dieharder" - dodoc dieharder/README dieharder/NOTES - docinto "libdieharder" - dodoc libdieharder/README libdieharder/NOTES -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/, app-crypt/dieharder/files/
commit: e0851dfe8e3bc56f435fc0a71fdf562794df903d Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Feb 23 22:20:39 2019 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Feb 23 22:21:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0851dfe app-crypt/dieharder: resolve undefined symbols Closes: https://bugs.gentoo.org/show_bug.cgi?id=678300 Thanks: Ben Kohler Signed-off-by: Alon Bar-Lev gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 ...3.31.1-r2.ebuild => dieharder-3.31.1-r3.ebuild} | 2 +- .../dieharder/files/dieharder-3.31.1-build.patch | 158 + 2 files changed, 159 insertions(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r2.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild similarity index 97% rename from app-crypt/dieharder/dieharder-3.31.1-r2.ebuild rename to app-crypt/dieharder/dieharder-3.31.1-r3.ebuild index 5a949f9d035..8fd1209bd49 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r2.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="doc" -RESTRICT="test" +RESTRICT="test" # Way too long RDEPEND="sci-libs/gsl" DEPEND="${RDEPEND} diff --git a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch index 4cbd5021c77..50e2119030c 100644 --- a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch +++ b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch @@ -25,3 +25,161 @@ index 2138ebf..f6d471b 100644 #include #include #include +From aee56b67080a5a8732c12216ef4415f315f35e4a Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev +Date: Sun, 24 Feb 2019 00:04:55 +0200 +Subject: [PATCH 1/2] rgb_operm: convert to noop as implementation missing + +--- + include/dieharder/rgb_operm.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +index c48fa37..f33fc1f 100644 +--- a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +@@ -1,3 +1,4 @@ ++#if 0 + /* + * rgb_operm test header. + */ +@@ -36,3 +37,4 @@ static Dtest rgb_operm_dtest __attribute__((unused)) = { + * a data stream of rands from x_i to x_{i+k} to compute c[][]. + */ + unsigned int rgb_operm_k; ++#endif +-- +2.19.2 + +From b1140059cab9a5b2847dd312087d44d58fe61263 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev +Date: Sun, 24 Feb 2019 00:10:00 +0200 +Subject: [PATCH 2/2] dab_filltree2: inline cannot have prototype nor can it be + non static + +--- + libdieharder/dab_filltree.c | 37 ++- + libdieharder/dab_filltree2.c | 48 +--- + 2 files changed, 41 insertions(+), 44 deletions(-) + +diff --git a/libdieharder/dab_filltree.c b/libdieharder/dab_filltree.c +index 9cc5ce7..3ed6b00 100644 +--- a/libdieharder/dab_filltree.c b/libdieharder/dab_filltree.c +@@ -34,7 +34,24 @@ static double targetData[] = { + 0.0, 0.0, 0.0, 0.0, 0.1333, 0.2000, 0.20634921, 0.17857143, 0.13007085, 0.08183633, 0.04338395, 0.01851828, 0.00617270, 0.00151193, 0.00023520, 0.1680, 0., 0., 0., 0. + }; + +-inline int insert(double x, double *array, unsigned int startVal); ++static inline int insert(double x, double *array, unsigned int startVal) { ++ uint d = (startVal + 1) / 2; ++ uint i = startVal; ++ while (d > 0) { ++ if (array[i] == 0) { ++ array[i] = x; ++ return -1; ++ } ++ if (array[i] < x) { ++ i += d; ++ } else { ++ i -= d; ++ } ++ d /= 2; ++ } ++ return i; ++} ++ + + int dab_filltree(Test **test,int irun) { + int size = (ntuple == 0) ? 32 : ntuple; +@@ -105,24 +122,6 @@ int dab_filltree(Test **test,int irun) { + } + + +-inline int insert(double x, double *array, unsigned int startVal) { +- uint d = (startVal + 1) / 2; +- uint i = startVal; +- while (d > 0) { +- if (array[i] == 0) { +- array[i] = x; +- return -1; +- } +- if (array[i] < x) { +- i += d; +- } else { +- i -= d; +- } +- d /= 2; +- } +- return i; +-} +- + #include + + int main_filltree(int argc, char **argv) { +diff --git a/libdieharder/dab_filltree2.c b/libdieharder/dab_filltree2.c +index 1e33af2..7102d3c 100644 +--- a/libdieharder/dab_filltree2.c b/libdieharder/dab_filltree2.c +@@ -92,7 +92,29 @@ static double targetData[128] = { // size=128, generated from 6e9 samples + 0.000e+00,0.000e+00,0.000e+00,0.000e+00, + }; + +-inline int insertBit(uint x, uchar *array, uint *i, uint *d); ++/* ++ * Insert a bit into the tree, represented by an array. ++ * A value of one is marked; zero is unmarked. ++ * The function returns -2 is still on the path. ++ * The function returns -1 if the path ends by marking a node. ++ * The function returns >= 0 if the path went too deep; the ++ * returned value is the last position
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/files/, app-crypt/dieharder/
commit: 132ea93627a905045caf6a6227b7f0c65b49f24c Author: Alon Bar-Lev gentoo org> AuthorDate: Thu Feb 7 21:02:46 2019 + Commit: Alon Bar-Lev gentoo org> CommitDate: Thu Feb 7 21:03:18 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132ea936 app-crypt/dieharder: fix random on 64bit Closes: https://bugs.gentoo.org/show_bug.cgi?id=677386 Thanks: vm666 Signed-off-by: Alon Bar-Lev gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-crypt/dieharder/dieharder-3.31.1-r2.ebuild | 56 ++ .../files/dieharder-3.31.1-urandom-64bit.patch | 87 ++ 2 files changed, 143 insertions(+) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r2.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r2.ebuild new file mode 100644 index 000..5a949f9d035 --- /dev/null +++ b/app-crypt/dieharder/dieharder-3.31.1-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" +RESTRICT="test" + +RDEPEND="sci-libs/gsl" +DEPEND="${RDEPEND} + doc? ( dev-tex/latex2html )" + +DOCS=( + NOTES +) +HTML_DOCS=() + +PATCHES=( + "${FILESDIR}/${P}-build.patch" + "${FILESDIR}/${P}-urandom-64bit.patch" +) + +pkg_setup() { + use doc && DOCS+=( + ChangeLog + manual/dieharder.pdf manual/dieharder.ps + ) + use doc && HTML_DOCS+=( + dieharder.html + ) +} + +src_compile() { + emake -j1 + use doc && emake -C manual +} + +src_test() { + "${S}/dieharder/dieharder" -g 501 -a +} + +src_install() { + default + + docinto "dieharder" + dodoc dieharder/README dieharder/NOTES + docinto "libdieharder" + dodoc libdieharder/README libdieharder/NOTES +} diff --git a/app-crypt/dieharder/files/dieharder-3.31.1-urandom-64bit.patch b/app-crypt/dieharder/files/dieharder-3.31.1-urandom-64bit.patch new file mode 100644 index 000..c5615b673fd --- /dev/null +++ b/app-crypt/dieharder/files/dieharder-3.31.1-urandom-64bit.patch @@ -0,0 +1,87 @@ +diff -ru dieharder-3.31.1/libdieharder/rng_dev_arandom.c dieharder-3.31.1_fixed/libdieharder/rng_dev_arandom.c +--- dieharder-3.31.1/libdieharder/rng_dev_arandom.c2011-10-14 15:41:37.0 +0200 dieharder-3.31.1_fixed/libdieharder/rng_dev_arandom.c 2014-01-03 22:51:30.010534418 +0100 +@@ -6,6 +6,7 @@ + */ + + #include ++#include + + static unsigned long int dev_arandom_get (void *vstate); + static double dev_arandom_get_double (void *vstate); +@@ -21,7 +22,7 @@ + dev_arandom_get (void *vstate) + { + dev_arandom_state_t *state = (dev_arandom_state_t *) vstate; +- unsigned long int j; ++ uint32_t j; + + if(state->fp != NULL) { + fread(,sizeof(j),1,state->fp); +@@ -36,7 +37,7 @@ + static double + dev_arandom_get_double (void *vstate) + { +- return dev_arandom_get (vstate) / (double) UINT_MAX; ++ return dev_arandom_get (vstate) / (double) UINT32_MAX; + } + + static void +diff -ru dieharder-3.31.1/libdieharder/rng_dev_random.c dieharder-3.31.1_fixed/libdieharder/rng_dev_random.c +--- dieharder-3.31.1/libdieharder/rng_dev_random.c 2011-10-14 15:41:37.0 +0200 dieharder-3.31.1_fixed/libdieharder/rng_dev_random.c 2014-01-03 22:50:57.852321485 +0100 +@@ -6,6 +6,7 @@ + */ + + #include ++#include + + static unsigned long int dev_random_get (void *vstate); + static double dev_random_get_double (void *vstate); +@@ -21,7 +22,7 @@ + dev_random_get (void *vstate) + { + dev_random_state_t *state = (dev_random_state_t *) vstate; +- unsigned long int j; ++ uint32_t j; + + if(state->fp != NULL) { + fread(,sizeof(j),1,state->fp); +@@ -36,7 +37,7 @@ + static double + dev_random_get_double (void *vstate) + { +- return dev_random_get (vstate) / (double) UINT_MAX; ++ return dev_random_get (vstate) / (double) UINT32_MAX; + } + + static void +diff -ru dieharder-3.31.1/libdieharder/rng_dev_urandom.c dieharder-3.31.1_fixed/libdieharder/rng_dev_urandom.c +--- dieharder-3.31.1/libdieharder/rng_dev_urandom.c2011-10-14 15:41:37.0 +0200 dieharder-3.31.1_fixed/libdieharder/rng_dev_urandom.c 2014-01-03 23:06:24.124239582 +0100 +@@ -3,6 +3,7 @@ + */ + + #include ++#include + + /* + * This is a wrapping of the /dev/random hardware rng +@@ -21,7 +22,7 @@ + dev_urandom_get (void *vstate) + { + dev_urandom_state_t *state = (dev_urandom_state_t *) vstate; +- unsigned long int j; ++ uint32_t j; + + if(state->fp != NULL) { + fread(,sizeof(j),1,state->fp); +@@ -36,7 +37,7 @@ + static double + dev_urandom_get_double (void
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 49bac2a0d54db748e6e000e66557fe1ee9410d11 Author: Matt Turner gentoo org> AuthorDate: Wed Mar 28 20:54:46 2018 + Commit: Matt Turner gentoo org> CommitDate: Wed Mar 28 20:54:46 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49bac2a0 app-crypt/dieharder-3.31.1-r1: added ~mips app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index 68fb80d3fb6..7a783bb23e8 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 39d99b94c48e9f3e0eabbe77a4c71739dc4c19ea Author: Alexis Ballier gentoo org> AuthorDate: Mon Jul 17 10:11:14 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Mon Jul 17 10:11:14 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d99b94 app-crypt/dieharder: keyword ~arm64 Package-Manager: Portage-2.3.6, Repoman-2.3.2 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index fac6cb84629..68fb80d3fb6 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: f5970e9eb8b884696c01fcf7c350dfa596a62b9b Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Mar 25 21:38:32 2017 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Mar 25 21:46:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5970e9e app-crypt/dieharder: remove eutils Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 -- 1 file changed, 2 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index 9ec1ce881eb..fac6cb84629 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -3,8 +3,6 @@ EAPI=6 -inherit 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;
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: cafa165ec0a2fff3663d52e32c34a6b750485326 Author: Matt Turner gentoo org> AuthorDate: Tue Mar 21 16:30:03 2017 + Commit: Matt Turner gentoo org> CommitDate: Tue Mar 21 18:11:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafa165e app-crypt/dieharder-3.31.1-r1: added ~sparc app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index 68fad0b13f3..b8f3db28326 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: c8e2b4bef0c3f25c1d801d7fe5196a984593b2d3 Author: Matt Turner gentoo org> AuthorDate: Tue Mar 21 16:30:02 2017 + Commit: Matt Turner gentoo org> CommitDate: Tue Mar 21 18:11:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e2b4be app-crypt/dieharder-3.31.1-r1: added ~ia64 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index 60c028b0d65..68fad0b13f3 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 9259819d333cd382194c57ead390969ba424ed59 Author: Matt Turner gentoo org> AuthorDate: Tue Mar 21 16:35:51 2017 + Commit: Matt Turner gentoo org> CommitDate: Tue Mar 21 18:11:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9259819d app-crypt/dieharder-3.31.1-r1: added ~ppc app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index b8f3db28326..118de6488da 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 41a26b5f097033efac4994419c785a9da9609287 Author: Matt Turner gentoo org> AuthorDate: Tue Mar 21 16:35:52 2017 + Commit: Matt Turner gentoo org> CommitDate: Tue Mar 21 18:11:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a26b5f app-crypt/dieharder-3.31.1-r1: added ~ppc64 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index 118de6488da..9ec1ce881eb 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 1369fdfcb1d6676f928b44b4f16ba9accbdf634e Author: Matt Turner gentoo org> AuthorDate: Tue Mar 21 16:30:01 2017 + Commit: Matt Turner gentoo org> CommitDate: Tue Mar 21 18:11:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1369fdfc app-crypt/dieharder-3.31.1-r1: added ~alpha app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index 7120c3470b4..60c028b0d65 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~hppa ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: 5f0e8e624906e4a85b0b0fa643573f2819c7e176 Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Mar 18 07:41:41 2017 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Mar 18 07:44:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f0e8e62 app-crypt/dieharder: remove unneeded autoreconf Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index ac42da98fd1..7120c3470b4 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools eutils +inherit eutils DESCRIPTION="An advanced suite for testing the randomness of RNG's" HOMEPAGE="http://www.phy.duke.edu/~rgb/General/dieharder.php; @@ -37,11 +37,6 @@ pkg_setup() { ) } -src_prepare() { - default - eautoreconf -} - src_compile() { emake -j1 use doc && emake -C manual
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: f0663b66caad77bca4bfeda596f5b282f6ba Author: Alon Bar-Lev gentoo org> AuthorDate: Fri Feb 3 23:27:49 2017 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Feb 4 01:30:48 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0663b68 app-crypt/dieharder: eapi bump Package-Manager: portage-2.3.3 app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 31 ++ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index d389c1b..1a44ed1 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit autotools eutils @@ -19,8 +19,27 @@ RDEPEND="sci-libs/gsl" DEPEND="${RDEPEND} doc? ( dev-tex/latex2html )" +DOCS=( + NOTES +) +HTML_DOCS=() + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +pkg_setup() { + use doc && DOCS+=( + ChangeLog + manual/dieharder.pdf manual/dieharder.ps + ) + use doc && HTML_DOCS+=( + dieharder.html + ) +} + src_prepare() { - epatch "${FILESDIR}/${P}-build.patch" + default eautoreconf } @@ -31,15 +50,9 @@ src_compile() { src_install() { default - dodoc 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 }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/
commit: b22647b8eda20f1cd458ecf9714a6f71dc59f80c Author: Jeroen Roovers gentoo org> AuthorDate: Thu Jan 5 12:53:08 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Thu Jan 5 12:55:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b22647b8 app-crypt/dieharder: Mark ~hppa (bug #604690). Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --ignore-arches app-crypt/dieharder/dieharder-3.31.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild index 49db3e0..d389c1b 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -12,7 +12,7 @@ SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~hppa ~x86" IUSE="doc" RDEPEND="sci-libs/gsl"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/dieharder/, app-crypt/dieharder/files/
commit: 381aec5d1d34d123ece0aa4c1587f3054fe08b20 Author: Alon Bar-Lev gentoo org> AuthorDate: Sun Jun 12 02:40:08 2016 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sun Jun 12 03:22:05 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=381aec5d app-crypt/dieharder: cleanup Package-Manager: portage-2.2.28 app-crypt/dieharder/Manifest | 1 - app-crypt/dieharder/dieharder-2.28.1.ebuild| 38 -- app-crypt/dieharder/dieharder-3.31.1.ebuild| 38 -- .../dieharder/files/dieharder-2.28.1-qafixes.patch | 33 --- 4 files changed, 110 deletions(-) diff --git a/app-crypt/dieharder/Manifest b/app-crypt/dieharder/Manifest index 6957e01..f4bd8ab 100644 --- a/app-crypt/dieharder/Manifest +++ b/app-crypt/dieharder/Manifest @@ -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 diff --git a/app-crypt/dieharder/dieharder-2.28.1.ebuild b/app-crypt/dieharder/dieharder-2.28.1.ebuild deleted file mode 100644 index 943426c..000 --- a/app-crypt/dieharder/dieharder-2.28.1.ebuild +++ /dev/null @@ -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 -} diff --git a/app-crypt/dieharder/dieharder-3.31.1.ebuild b/app-crypt/dieharder/dieharder-3.31.1.ebuild deleted file mode 100644 index 92d7ad4..000 --- a/app-crypt/dieharder/dieharder-3.31.1.ebuild +++ /dev/null @@ -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 -} diff --git a/app-crypt/dieharder/files/dieharder-2.28.1-qafixes.patch b/app-crypt/dieharder/files/dieharder-2.28.1-qafixes.patch deleted file mode 100644 index 265d566..000 --- a/app-crypt/dieharder/files/dieharder-2.28.1-qafixes.patch +++ /dev/null @@ -1,33 +0,0 @@ libdieharder/static_get_bits.c 2008-09-08 08:37:18.0 -0400 -+++ libdieharder/static_get_bits.c.new 2010-12-21 09:39:02.0 -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.c2008-09-08 08:37:18.0 -0400 -+++ libdieharder/bits.c.new2010-12-21 09:45:51.0 -0500 -@@ -944,7 +944,7 @@ - */ -MYDEBUG(D_BITS) { - printf("bu = %d bl = %d\n",bu,bl); -- printf(" init %2d: |"); -+ printf(" init