summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2015-06-21 00:10:58 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2015-06-21 00:10:58 +0000
commit5046c0f6768e21e011d00f07eb01114991ec593b (patch)
tree16be5f06565438cfe71b631c0d094e415fb2bb5d /app-crypt
parentMask app-eselect/eselect-ecj. (diff)
downloadhistorical-5046c0f6768e21e011d00f07eb01114991ec593b.tar.gz
historical-5046c0f6768e21e011d00f07eb01114991ec593b.tar.bz2
historical-5046c0f6768e21e011d00f07eb01114991ec593b.zip
Minimum build fixup for newer glibc, bug#531268, ugly build, unmaintained package
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xBF20DC51
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/dieharder/ChangeLog11
-rw-r--r--app-crypt/dieharder/Manifest12
-rw-r--r--app-crypt/dieharder/dieharder-3.31.1-r1.ebuild45
-rw-r--r--app-crypt/dieharder/files/dieharder-3.31.1-build.patch27
4 files changed, 88 insertions, 7 deletions
diff --git a/app-crypt/dieharder/ChangeLog b/app-crypt/dieharder/ChangeLog
index 5dd7009e1c96..068d92228a15 100644
--- a/app-crypt/dieharder/ChangeLog
+++ b/app-crypt/dieharder/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-crypt/dieharder
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/dieharder/ChangeLog,v 1.3 2013/06/02 10:54:59 pacho Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/dieharder/ChangeLog,v 1.4 2015/06/21 00:10:51 alonbl Exp $
+
+*dieharder-3.31.1-r1 (21 Jun 2015)
+
+ 21 Jun 2015; Alon Bar-Lev <alonbl@gentoo.org> +dieharder-3.31.1-r1.ebuild,
+ +files/dieharder-3.31.1-build.patch:
+ Minimum build fixup for newer glibc, bug#531268, ugly build, unmaintained
+ package
02 Jun 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due bug #328951
diff --git a/app-crypt/dieharder/Manifest b/app-crypt/dieharder/Manifest
index 3faaea582f8f..47bd82c4cbe3 100644
--- a/app-crypt/dieharder/Manifest
+++ b/app-crypt/dieharder/Manifest
@@ -2,16 +2,18 @@
Hash: SHA256
AUX dieharder-2.28.1-qafixes.patch 1334 SHA256 2986d58380472316e7e2b7a06124436d8d1218de56a90f981eeff0ebaf160694 SHA512 4e8da25a633ebe0ec36602dcb3d947e0692ac0530d39e0bcb00c330b2327b60b17e4fa21583d961ac32780ae69f850a0366cdc65a0de798a3a829b1c86264bbd WHIRLPOOL aafafd53803592b38afe1d8990fd2c52eaafe867cc80c19b14f8f340f4e13fd29ba57af9059d97c31efea9c489db5288fb315e89626bfb66dc4f896b62d4a42d
+AUX dieharder-3.31.1-build.patch 623 SHA256 fe93e67a6ee62f9653949552f7fa44292e8c888656df97896296ff97b9198064 SHA512 8d98efdcbfd4cea06d1cae1a1fbea1305e366c030c99b3abb944d1a47543e9b592304f60cd8dbfe9b3fa77ec9ee61c2537bf2390f072ced7d36ad7eb9550e4ea WHIRLPOOL 6f6d6bfaa5402df95bd4334d0de7871ff292ef93abcc3f75a0efe1b041e4ef34886385274c3936b2b8142cd46f6af6831117b75e2eb435942a9cb95f191eacac
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
EBUILD dieharder-2.28.1.ebuild 926 SHA256 9f5973bc455b802d74f8cf10d7633c0093fc9fb7276a808c9ff388a85787f7f6 SHA512 0be8dfba0245ab0e4c0b48215034556847513aae997e7b2fd8df33479eec56dd3e2f6d0dd218e925fb3cdc393386859abe0b303b95a556b790f33e0bb2e52f43 WHIRLPOOL fdb5948eceeb4f18450cacfdee1d42416b2fc6f160deb222c6b07ca76cb989d189ec3b8b046576270b3c6abc9b94152eca3cf4020f0e326c93ccdbefbe920417
+EBUILD dieharder-3.31.1-r1.ebuild 1014 SHA256 8ecbad0652d9907ac1fd374539bfabb58e62cb8c637613dbd82988ec3d4d279f SHA512 06483d737ad4a294beb8c90875421f72ad4e49cb5b31681b46009d3c60139ecd901bf2e8ab6d583be24f4458fbd54213345e6242133a54fbd93728f3e2e52ec6 WHIRLPOOL 6e0335f5fd22bbf3bbf47d4a0148e1669f7a864947980aae571b059737218887e018a700ea167f511659e353d61f28fcc7db84b96bd0041e85d8c41e67586430
EBUILD dieharder-3.31.1.ebuild 960 SHA256 e9bd4432d5e2fbcbc157ecd4973f954d2c53232d281f0723471ae05c11898d0b SHA512 94868e11a8aa7fa7864cc1e8fd4ed5fbb1bfc218853a439aa347a5f56e867052fe13bafc54014f2abfbaa365c61b987efce49375fe2bba87e93bd044fd9859a6 WHIRLPOOL 27b9c3c8d90bd7ec59eabe60eda5fab677685b3ec7ffae00c3dcb8772656f226ef2b4559391767cf84dea2c3755667e6a74bc679183931547e446b6de2d6bda6
-MISC ChangeLog 742 SHA256 5a30f312c8c7639a70e54133f2dfbb137ec8e70d3b7f2912774db4f99620519c SHA512 9f4a145fbdfbc2c24f58aec652b25111d57576ec89e0a7cd1e1b86a77fe297e3149b0c14b5ade3fd7f31809175846d31db4addfbe0ed7da2853ca9b4ee9096eb WHIRLPOOL 970d2ad71ecee2ca6b3c17e690b81d442ad0ac1f676afe8742e717f8f2064cdb7c51a458e27b11d506ee3d6ef1f9e2320b428451a3b4df6f270805c483e2bf29
+MISC ChangeLog 982 SHA256 bbd04fe9d44bfde253b677bf1417315a6c7315f0635769e0576ee84785378c1c SHA512 d44a7fd0b8406e69f8c958a9dce056de565e2a63cf9b6b854b65d924deb0abb68631c277faa3e96e2060a3aed69d3eba68ba0b07c5283de0d8aaae8d8dc4900c WHIRLPOOL 92be7392081bc2b09e568133dbab1c83a434d50c088cde84e6081089632aff8640bdf22644bae2cfde98676724828cfd144c32d85e1563cad61ec43206187056
MISC metadata.xml 159 SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 SHA512 96a1f7f082adc57e52a1a32666e1206e68f8ff03c728fdb7666ff98c255905977491fc4dfc37bc8bdf5da0eb50cdc408adec357bbd75bd980bc90659cc157194 WHIRLPOOL 82fca1c4b75b090abdb0a4233c8e49fc43535ca6e470f725c1872653ea922b6693e9646bc3ee1fd6f1293ebedad661642cec13b2817fb5315268300f7675a751
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2
-iEYEAREIAAYFAlGrJIQACgkQCaWpQKGI+9QK5QCeKFEfEmYlBWGij5bjAVUUFtjb
-ZHoAn0EZEVduMYafpc9NYOqhjIFoDuuN
-=i0nW
+iF4EAREIAAYFAlWGAQ4ACgkQXYk9GL8g3FFg2wD/Qq2wwgzw6tvggE8PobPpn9C+
+JArYKiCJxbAkSDqut6QBAKrh1f30I0eBzNlPg+dzAxlzRpagjO/cmD1dmeUmtA1O
+=/wuA
-----END PGP SIGNATURE-----
diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild
new file mode 100644
index 000000000000..9e44ca2518df
--- /dev/null
+++ b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild,v 1.1 2015/06/21 00:10:51 alonbl Exp $
+
+EAPI=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="doc"
+
+RDEPEND="sci-libs/gsl"
+DEPEND="${RDEPEND}
+ doc? ( dev-tex/latex2html )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-build.patch"
+ eautoreconf
+}
+
+src_compile() {
+ emake -j1
+ use doc && emake -C manual
+}
+
+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
+}
diff --git a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch
new file mode 100644
index 000000000000..4cbd5021c77c
--- /dev/null
+++ b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch
@@ -0,0 +1,27 @@
+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 @@
+
+ #include "copyright.h"
+
++#define _GNU_SOURCE
++
+ /* To enable large file support */
+ #define _FILE_OFFSET_BITS 64
+
+@@ -16,13 +18,11 @@
+ #include <sys/time.h>
+
+ /* This turns on uint macro in c99 */
+-#define __USE_MISC 1
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
+
+ /* This turns on M_PI in math.h */
+-#define __USE_BSD 1
+ #include <math.h>
+ #include <limits.h>
+ #include <gsl/gsl_rng.h>