Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2008 05:36:02 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/128861: [NEW PORT]math/TestU01: Utilities for statistical testing of uniform random number generators
Message-ID:  <200811140536.mAE5a2KF092788@www.freebsd.org>
Resent-Message-ID: <200811140540.mAE5e7fF066703@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128861
>Category:       ports
>Synopsis:       [NEW PORT]math/TestU01: Utilities for statistical testing of uniform random number generators
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 14 05:40:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	TestU01
#	TestU01/Makefile
#	TestU01/distinfo
#	TestU01/pkg-descr
#	TestU01/pkg-plist
#
echo c - TestU01
mkdir -p TestU01 > /dev/null 2>&1
echo x - TestU01/Makefile
sed 's/^X//' >TestU01/Makefile << '2e3c3fab19f808a134069995695ba6dc'
X# New ports collection makefile for:   rngstreams
X# Date created:        13 November 2008
X# Whom:                bf <bf2006a@yahoo.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	TestU01
XPORTVERSION=	1.2.1
XCATEGORIES=	math
XMASTER_SITES=	http://www.iro.umontreal.ca/~simardr/testu01/:0 \
X		http://www.iro.umontreal.ca/~lecuyer/myftp/papers/:1
XDISTFILES=	${PORTNAME}${EXTRACT_SUFX}:0 testu01.pdf:1
XEXTRACT_ONLY=	${PORTNAME}${EXTRACT_SUFX}
X
XMAINTAINER=	bf2006a@yahoo.com
XCOMMENT=	Utilities for statistical testing of uniform random number generators
X
XLIB_DEPENDS=	gmp:${PORTSDIR}/math/libgmp4
X
XUSE_ZIP=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS= --includedir="${PREFIX}/include/${PORTNAME}"
XUSE_GMAKE=	yes
XMAKE_ARGS=	docdir="${DOCSDIR}" exdir="${EXAMPLESDIR}"
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
XUSE_LDCONFIG=	yes
XPLIST_SUB=	PORTNAME="${PORTNAME}"
X
Xpost-patch:
X.ifdef(NOPORTDOCS)
X	@${REINPLACE_CMD} -e  '/^SUBDIRS \=/s/ doc / /' ${WRKSRC}/Makefile.in
X	@${FIND} -X ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} \
X	-e '/^install-data-am\: /s/install-docDATA//'
X.endif
X.ifdef(NOPORTEXAMPLES)
X	@${REINPLACE_CMD} -e  '/^SUBDIRS \=/s/ examples / /' ${WRKSRC}/Makefile.in
X.endif
X
X.ifndef(NOPORTDOCS)
Xpost-install:
X	@${INSTALL_DATA} ${DISTDIR}/testu01.pdf ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
2e3c3fab19f808a134069995695ba6dc
echo x - TestU01/distinfo
sed 's/^X//' >TestU01/distinfo << '6b12ee0c3c6a27754e21fd42a151e2dd'
XMD5 (TestU01.zip) = f4c017eab89d0867a70c0a7311552915
XSHA256 (TestU01.zip) = 044390799f1236cdad6c8704569d1a6ea056b871451dfeeca362e6a0377e2308
XSIZE (TestU01.zip) = 3306885
XMD5 (testu01.pdf) = 18ff5316e0ee24de4be16c9b0febda8f
XSHA256 (testu01.pdf) = 3a8efb1b6aa4a10c128a25e9ada0b5dacc83191abb5bebae94f6525dfd7f885d
XSIZE (testu01.pdf) = 466695
6b12ee0c3c6a27754e21fd42a151e2dd
echo x - TestU01/pkg-descr
sed 's/^X//' >TestU01/pkg-descr << 'e97c17f2fd112720ca9bff1ad0067afd'
X
XTestU01 is a software library, implemented in the ANSI C language, and
Xoffering a collection of utilities for the empirical statistical testing
Xof uniform random number generators. 
X
XThe library implements several types of random number generators in generic
Xform, as well as many specific generators proposed in the literature or
Xfound in widely-used software. It provides general implementations of the
Xclassical statistical tests for random number generators, as well as several
Xothers proposed in the literature, and some original ones. These tests can
Xbe applied to the generators predefined in the library and to user-defined
Xgenerators. Specific tests suites for either sequences of uniform random
Xnumbers in [0,1] or bit sequences are also available. Basic tools for 
Xplotting vectors of points produced by generators are provided as well. 
X
XAdditional software permits one to perform systematic studies of the
Xinteraction between a specific test and the structure of the point sets
Xproduced by a given family of random number generators. That is, for a given
Xkind of test and a given class of random number generators, to determine how
Xlarge should be the sample size of the test, as a function of the generator's
Xperiod length, before the generator starts to fail the test systematically.
X
XWWW: http://www.iro.umontreal.ca/~simardr/testu01/tu01.html
e97c17f2fd112720ca9bff1ad0067afd
echo x - TestU01/pkg-plist
sed 's/^X//' >TestU01/pkg-plist << '163eafe98e08ca175ca03a952d09e363'
Xbin/tcode
Xinclude/%%PORTNAME%%/TestU01.h
Xinclude/%%PORTNAME%%/addstr.h
Xinclude/%%PORTNAME%%/bbattery.h
Xinclude/%%PORTNAME%%/bitset.h
Xinclude/%%PORTNAME%%/chrono.h
Xinclude/%%PORTNAME%%/fbar.h
Xinclude/%%PORTNAME%%/fcho.h
Xinclude/%%PORTNAME%%/fcong.h
Xinclude/%%PORTNAME%%/fdist.h
Xinclude/%%PORTNAME%%/ffam.h
Xinclude/%%PORTNAME%%/ffsr.h
Xinclude/%%PORTNAME%%/finv.h
Xinclude/%%PORTNAME%%/fknuth.h
Xinclude/%%PORTNAME%%/fmarsa.h
Xinclude/%%PORTNAME%%/fmass.h
Xinclude/%%PORTNAME%%/fmultin.h
Xinclude/%%PORTNAME%%/fnpair.h
Xinclude/%%PORTNAME%%/fres.h
Xinclude/%%PORTNAME%%/fspectral.h
Xinclude/%%PORTNAME%%/fstring.h
Xinclude/%%PORTNAME%%/ftab.h
Xinclude/%%PORTNAME%%/fvaria.h
Xinclude/%%PORTNAME%%/fwalk.h
Xinclude/%%PORTNAME%%/gdef.h
Xinclude/%%PORTNAME%%/gdefconf.h
Xinclude/%%PORTNAME%%/gofs.h
Xinclude/%%PORTNAME%%/gofw.h
Xinclude/%%PORTNAME%%/mystr.h
Xinclude/%%PORTNAME%%/num.h
Xinclude/%%PORTNAME%%/num2.h
Xinclude/%%PORTNAME%%/rijndael-alg-fst.h
Xinclude/%%PORTNAME%%/scatter.h
Xinclude/%%PORTNAME%%/scomp.h
Xinclude/%%PORTNAME%%/sentrop.h
Xinclude/%%PORTNAME%%/sknuth.h
Xinclude/%%PORTNAME%%/smarsa.h
Xinclude/%%PORTNAME%%/smultin.h
Xinclude/%%PORTNAME%%/snpair.h
Xinclude/%%PORTNAME%%/sres.h
Xinclude/%%PORTNAME%%/sspacings.h
Xinclude/%%PORTNAME%%/sspectral.h
Xinclude/%%PORTNAME%%/sstring.h
Xinclude/%%PORTNAME%%/statcoll.h
Xinclude/%%PORTNAME%%/svaria.h
Xinclude/%%PORTNAME%%/swalk.h
Xinclude/%%PORTNAME%%/swrite.h
Xinclude/%%PORTNAME%%/tables.h
Xinclude/%%PORTNAME%%/tu01_sha1.h
Xinclude/%%PORTNAME%%/uautomata.h
Xinclude/%%PORTNAME%%/ubrent.h
Xinclude/%%PORTNAME%%/ucarry.h
Xinclude/%%PORTNAME%%/ucrypto.h
Xinclude/%%PORTNAME%%/ucubic.h
Xinclude/%%PORTNAME%%/udeng.h
Xinclude/%%PORTNAME%%/ufile.h
Xinclude/%%PORTNAME%%/ugfsr.h
Xinclude/%%PORTNAME%%/ugranger.h
Xinclude/%%PORTNAME%%/uinv.h
Xinclude/%%PORTNAME%%/uknuth.h
Xinclude/%%PORTNAME%%/ulcg.h
Xinclude/%%PORTNAME%%/ulec.h
Xinclude/%%PORTNAME%%/umarsa.h
Xinclude/%%PORTNAME%%/umrg.h
Xinclude/%%PORTNAME%%/unif01.h
Xinclude/%%PORTNAME%%/unumrec.h
Xinclude/%%PORTNAME%%/uquad.h
Xinclude/%%PORTNAME%%/usoft.h
Xinclude/%%PORTNAME%%/utaus.h
Xinclude/%%PORTNAME%%/utezuka.h
Xinclude/%%PORTNAME%%/util.h
Xinclude/%%PORTNAME%%/utouzin.h
Xinclude/%%PORTNAME%%/uvaria.h
Xinclude/%%PORTNAME%%/uweyl.h
Xinclude/%%PORTNAME%%/uwu.h
Xinclude/%%PORTNAME%%/uxorshift.h
Xinclude/%%PORTNAME%%/vectorsF2.h
Xinclude/%%PORTNAME%%/wdist.h
Xlib/libmylib.a
Xlib/libmylib.la
Xlib/libmylib.so.0.1
Xlib/libprobdist.a
Xlib/libprobdist.la
Xlib/libprobdist.so.0.1
Xlib/libtestu01.a
Xlib/libtestu01.la
Xlib/libtestu01.so.0.1
X%%DATADIR%%/param/CombCubLCG.par
X%%DATADIR%%/param/CombCubic2.par
X%%DATADIR%%/param/CombL2.par
X%%DATADIR%%/param/CombWH2.par
X%%DATADIR%%/param/Cubic1.par
X%%DATADIR%%/param/InvExpl.par
X%%DATADIR%%/param/InvExpl2a.par
X%%DATADIR%%/param/InvExpl2b.par
X%%DATADIR%%/param/InvImpl.par
X%%DATADIR%%/param/InvImpl2a.par
X%%DATADIR%%/param/InvImpl2b.par
X%%DATADIR%%/param/LCGBad2.par
X%%DATADIR%%/param/LCGGood.par
X%%DATADIR%%/param/LCGGranger.par
X%%DATADIR%%/param/LCGPow2.par
X%%DATADIR%%/param/LCGWu2.par
X%%DATADIR%%/param/LFSR1.par
X%%DATADIR%%/param/LFSR2.par
X%%DATADIR%%/param/LFSR3.par
X%%DATADIR%%/param/MRG2.par
X%%DATADIR%%/param/MRG3.par
X%%DATADIR%%/param/TausLCG2.par
X%%PORTDOCS%%%%DOCSDIR%%/guidelongtestu01.pdf
X%%PORTDOCS%%%%DOCSDIR%%/guidemylib.pdf
X%%PORTDOCS%%%%DOCSDIR%%/guideprobdist.pdf
X%%PORTDOCS%%%%DOCSDIR%%/guideshorttestu01.pdf
X%%PORTDOCS%%%%DOCSDIR%%/testu01.pdf
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat1.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat1.res
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat2.res
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat3.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/birth1.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/birth1.res
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/birth2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex1.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex3.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex3.res
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex4.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex7.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/excel.dat
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fbirth.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fbirth.res1.tex
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fbirth.res2.tex
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcoll.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcoll.res1.tex
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcoll.res2.tex
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mrg32k3a.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/my16807.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/my16807.h
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scat.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scat2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vax.bin
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xorshift.c
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
X@dirrm %%DATADIR%%/param
X@dirrm %%DATADIR%%
163eafe98e08ca175ca03a952d09e363
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811140536.mAE5a2KF092788>