| 1 |
This is the Debian GNU/Linux dieharder package, a random number |
| 2 |
generator testing library and front-end, which was written by Robert G. Brown. |
| 3 |
|
| 4 |
This package was created by Dirk Eddelbuettel <[email protected]>. |
| 5 |
The sources were downloaded from |
| 6 |
http://www.phy.duke.edu/~rgb/General/dieharder.php |
| 7 |
|
| 8 |
Copyright (C) 2003 - 2008 Robert G. Brown |
| 9 |
Portions Copyright (C) 2004 Alex Hay |
| 10 |
Portions Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka |
| 11 |
Portions Copyright (C) 1997 - 2003 Robert Gentleman, Ross Ihaka and the R Development Core Team |
| 12 |
Portions Copyright (C) 2006 Tony Pasqualoni |
| 13 |
Portions Copyright (C) 1996 - 2000 James Theiler, Brian Gough |
| 14 |
|
| 15 |
License: GPL |
| 16 |
|
| 17 |
On Debian GNU/Linux systems, the complete text of the GNU General |
| 18 |
Public License can be found in `/usr/share/common-licenses/GPL'. |
| 19 |
|
| 20 |
The main copyright statement is in copyright.h: |
| 21 |
|
| 22 |
/* |
| 23 |
* $Id: copyright.h 256 2007-01-27 15:14:15Z rgb $ |
| 24 |
* |
| 25 |
* Copyright (c) 2003 by Robert G. Brown, [email protected] |
| 26 |
* GPL version 2b (b for beverage) granted as given |
| 27 |
* in the file COPYING in this distribution. |
| 28 |
* |
| 29 |
* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 30 |
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
| 31 |
* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
| 32 |
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
| 33 |
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 34 |
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 35 |
* PERFORMANCE OF THIS SOFTWARE. |
| 36 |
* |
| 37 |
*/ |
| 38 |
|
| 39 |
The bevarage clause mentioned is |
| 40 |
|
| 41 |
License is granted to build or use the accompanying software: |
| 42 |
|
| 43 |
dieharder |
| 44 |
|
| 45 |
according to the following standard Gnu General Public License or any |
| 46 |
later versions, with the one minor "Beverage" modification listed below. |
| 47 |
Note that this modification is probably not legally defensible and can |
| 48 |
be followed really pretty much according to the honor rule. |
| 49 |
|
| 50 |
As to my personal preferences in beverages, red wine is great, beer is |
| 51 |
delightful, and Coca Cola or coffee or tea or even milk acceptable to |
| 52 |
those who for religious or personal reasons wish to avoid stressing my |
| 53 |
liver. |
| 54 |
|
| 55 |
The "Beverage" Modification to the GPL |
| 56 |
|
| 57 |
Any user of this software shall, upon meeting the primary author(s) of |
| 58 |
this software for the first time under the appropriate circumstances, |
| 59 |
offer to buy him or her or them a beverage. This beverage may or may |
| 60 |
not be alcoholic, depending on the personal ethical and moral views of |
| 61 |
the offerer. The beverage cost need not exceed one U.S. dollar |
| 62 |
(although it certainly may at the whim of the offerer:-) and may be |
| 63 |
accepted or declined with no further obligation on the part of the |
| 64 |
offerer. It is not necessary to repeat the offer after the first |
| 65 |
meeting, but it can't hurt... |
| 66 |
|
| 67 |
which is followed by the text of the GNU GPL, Version 2, June 1991 |
| 68 |
|
| 69 |
|
| 70 |
Regarding intellectual / academic acknowledgements, let alone |
| 71 |
copyrights, Robert G. Brown writes the following the README: |
| 72 |
|
| 73 |
-- snip --------------------------------------------------------------------- |
| 74 |
Dieharder is original code written by and Copyright Robert G. Brown |
| 75 |
(with different code modules written over the period 2003-present). The |
| 76 |
tests included (or expected to be included in the future) in dieharder, |
| 77 |
are, however, derived from descriptions from several places. |
| 78 |
|
| 79 |
* Diehard, a famous suite of random number tests written over many |
| 80 |
years by George Marsaglia. The original Diehard sources (written in |
| 81 |
Fortran) are (of course) Copyright George Marsaglia according to the |
| 82 |
Berne convention, where authors retain copyright with or without a |
| 83 |
notice in any original work. The original Diehard code written by |
| 84 |
Marsaglia did not include a copyright notice or an explicit license in |
| 85 |
or with the sources that have been made publically available on the web |
| 86 |
for many years. When contacted, Dr. Marsaglia has indicated his wish to |
| 87 |
restrict commercial usage of his code and permit only academic/research |
| 88 |
related use. For this reason the the algorithms are fully |
| 89 |
re-implemented, in original code, in dieharder to keep authorship and |
| 90 |
GPL licensing issues clear. However, all diehard-equivalent tests are |
| 91 |
clearly labelled as such and academically attributed to Dr. Marsaglia. |
| 92 |
|
| 93 |
* The National Institute of Standards and Technology (NIST) |
| 94 |
Statistical Test Suite (STS) as described in publication SP800-22b. |
| 95 |
Although this test suite was developed with government support and is |
| 96 |
explicitly in the public domain, and is available in C source. There is |
| 97 |
some overlap between STS and Diehard -- for example, both have binary |
| 98 |
matrix rank tests -- but the STS focusses primarily on bitlevel |
| 99 |
randomness and the suitability of a random number generator for use in |
| 100 |
cryptographic applications. The tests described in SP800-22b that are |
| 101 |
implemented in dieharder are completely rewritten in original C by |
| 102 |
Robert G. Brown to keep copyright and GPL issues clear. All STS-derived |
| 103 |
tests are clearly labelled as such and are academically attributed to |
| 104 |
the various authors of the suite (Andrew Rukhin, Juan Soto, James |
| 105 |
Nechvatal, Miles Smid, Elaine Barker, Stefan Leigh, Mark Levenson, Mark |
| 106 |
Vangel, David Banks, Alan Heckert, James Dray, San Vo). |
| 107 |
|
| 108 |
* Original tests or timing operations inserted by Robert G. Brown. |
| 109 |
Almost any distribution that can be computed on the basis of a source of |
| 110 |
random numbers with a derived statistic with known or reliably |
| 111 |
measurable statistical properties can serve as a test of random numbers |
| 112 |
using the general approach implemented in Diehard, the STS, Dieharder, |
| 113 |
and elsewhere. |
| 114 |
|
| 115 |
* Tests described in Knuth's The Art of Computer Programming. |
| 116 |
|
| 117 |
* User-contributed tests. |
| 118 |
|
| 119 |
* Tests described elsewhere in the literature. |
| 120 |
|
| 121 |
In all cases some effort has been made to correctly attribute the |
| 122 |
originator of a test algorithm, and if there are any errors in this |
| 123 |
regard they will be happily corrected once they are brought to the |
| 124 |
attention of the author. |
| 125 |
-- snip --------------------------------------------------------------------- |
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
Portions of dieharder carry different copyrights, but are generally |
| 130 |
released under the GNU General Public License as well: |
| 131 |
|
| 132 |
libdieharder/rng_kiss.c: |
| 133 |
libdieharder/rng_dev_urandom.c: |
| 134 |
dieharder/empty_random.c: |
| 135 |
Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough |
| 136 |
Released under GPL v2 or later |
| 137 |
|
| 138 |
libdieharder/rng_ca.c |
| 139 |
Copyright (C) Tony Pasqualoni / Sept. 20, 2006 |
| 140 |
Released under GPL v2 or later |
| 141 |
|
| 142 |
dieharder/db_gnu_r_rngs.c: |
| 143 |
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka |
| 144 |
* Copyright (C) 1997--2003 Robert Gentleman, Ross Ihaka and the |
| 145 |
* R Development Core Team |
| 146 |
* Copyright (C) 1997, 1999 Makoto Matsumoto and Takuji Nishimura. |
| 147 |
* |
| 148 |
* Copyright (C) 2006 Dirk Eddelbuettel dieharder adaptation |
| 149 |
Released under GPL v2 or later |