Resurrect math/testu01 and take maintainership.
This commit is contained in:
parent
ac1f7d7e54
commit
3fe754466a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557743
1
MOVED
1
MOVED
@ -13192,7 +13192,6 @@ mail/xlbiff||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
math/algotutor||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
math/nyh-hoc||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
math/superlu_mt||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
math/testu01||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
misc/astrolog||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
misc/chord2html||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
misc/crosspad||2019-10-16|Has expired: Unfetchable, unmaintained
|
||||
|
@ -932,6 +932,7 @@
|
||||
SUBDIR += tablix
|
||||
SUBDIR += taucs
|
||||
SUBDIR += tblis
|
||||
SUBDIR += testu01
|
||||
SUBDIR += tetgen
|
||||
SUBDIR += teyjus
|
||||
SUBDIR += timbl
|
||||
|
65
math/testu01/Makefile
Normal file
65
math/testu01/Makefile
Normal file
@ -0,0 +1,65 @@
|
||||
# Created by: bf <bf2006a@yahoo.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= TestU01
|
||||
PORTVERSION= 1.2.3
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://simul.iro.umontreal.ca/${PORTNAME:tl}/
|
||||
DISTNAME= ${PORTNAME}
|
||||
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= Utilities for statistical testing of uniform random number generators
|
||||
|
||||
LICENSE= TestU01
|
||||
LICENSE_NAME= TestU01 license
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
||||
|
||||
LIB_DEPENDS= libgmp.so:math/gmp
|
||||
|
||||
USES= gmake libtool localbase zip
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --includedir="${PREFIX}/include/${PORTNAME}"
|
||||
MAKE_ARGS= docdir="${DOCSDIR}" exdir="${EXAMPLESDIR}"
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
CONFLICTS= emboss-[0-9]*
|
||||
|
||||
CFLAGS+= -fPIC
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
pre-configure-DOCS-off:
|
||||
${REINPLACE_CMD} -e '/^SUBDIRS \=/s/ doc / /' ${WRKSRC}/Makefile.in
|
||||
${FIND} -X ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} \
|
||||
-e '/^install-data-am\: /s/install-docDATA//'
|
||||
|
||||
pre-configure-EXAMPLES-off:
|
||||
${REINPLACE_CMD} -e '/^SUBDIRS \=/s/ examples / /' ${WRKSRC}/Makefile.in
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}/examples ; \
|
||||
for f in [mx]*.c ; do \
|
||||
${CC} ${CFLAGS} -c $${f} -I. -I../include ; \
|
||||
done ; \
|
||||
for t in [befs]*.c; do \
|
||||
case $${t} in \
|
||||
ex3.c) x="my16807.o" ;; \
|
||||
ex7.c) x="mrg32k3a.o xorshift.o" ;; \
|
||||
scat.c) continue ;; \
|
||||
*) x="" ;; \
|
||||
esac ; \
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o $${t%.c} $${t} -I. -I../include \
|
||||
-Wl,--as-needed $${x} ../testu01/.libs/libtestu01.so \
|
||||
../probdist/.libs/libprobdist.so ../mylib/.libs/libmylib.so -lm ; \
|
||||
${ECHO_CMD} "Running $${t%.c}..." ; \
|
||||
${SETENV} \
|
||||
LD_LIBRARY_PATH=../testu01/.libs:../probdist/.libs:../mylib/.libs \
|
||||
./$${t%.c} ; \
|
||||
done
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/testu01/distinfo
Normal file
3
math/testu01/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1607619501
|
||||
SHA256 (TestU01-1.2.3/TestU01.zip) = bc1d1dd2aea7ed3b3d28eaad2c8ee55913f11ce67aec8fe4f643c1c0d2ed1cac
|
||||
SIZE (TestU01-1.2.3/TestU01.zip) = 3123035
|
22
math/testu01/pkg-descr
Normal file
22
math/testu01/pkg-descr
Normal file
@ -0,0 +1,22 @@
|
||||
TestU01 is a software library, implemented in the ANSI C language, and
|
||||
offering a collection of utilities for the empirical statistical testing
|
||||
of uniform random number generators.
|
||||
|
||||
The library implements several types of random number generators in generic
|
||||
form, as well as many specific generators proposed in the literature or
|
||||
found in widely-used software. It provides general implementations of the
|
||||
classical statistical tests for random number generators, as well as several
|
||||
others proposed in the literature, and some original ones. These tests can
|
||||
be applied to the generators predefined in the library and to user-defined
|
||||
generators. Specific tests suites for either sequences of uniform random
|
||||
numbers in [0,1] or bit sequences are also available. Basic tools for
|
||||
plotting vectors of points produced by generators are provided as well.
|
||||
|
||||
Additional software permits one to perform systematic studies of the
|
||||
interaction between a specific test and the structure of the point sets
|
||||
produced by a given family of random number generators. That is, for a given
|
||||
kind of test and a given class of random number generators, to determine how
|
||||
large should be the sample size of the test, as a function of the generator's
|
||||
period length, before the generator starts to fail the test systematically.
|
||||
|
||||
WWW: http://simul.iro.umontreal.ca/testu01/tu01.html
|
143
math/testu01/pkg-plist
Normal file
143
math/testu01/pkg-plist
Normal file
@ -0,0 +1,143 @@
|
||||
bin/tcode
|
||||
include/TestU01/TestU01.h
|
||||
include/TestU01/addstr.h
|
||||
include/TestU01/bbattery.h
|
||||
include/TestU01/bitset.h
|
||||
include/TestU01/chrono.h
|
||||
include/TestU01/fbar.h
|
||||
include/TestU01/fcho.h
|
||||
include/TestU01/fcong.h
|
||||
include/TestU01/fdist.h
|
||||
include/TestU01/ffam.h
|
||||
include/TestU01/ffsr.h
|
||||
include/TestU01/finv.h
|
||||
include/TestU01/fknuth.h
|
||||
include/TestU01/fmarsa.h
|
||||
include/TestU01/fmass.h
|
||||
include/TestU01/fmultin.h
|
||||
include/TestU01/fnpair.h
|
||||
include/TestU01/fres.h
|
||||
include/TestU01/fspectral.h
|
||||
include/TestU01/fstring.h
|
||||
include/TestU01/ftab.h
|
||||
include/TestU01/fvaria.h
|
||||
include/TestU01/fwalk.h
|
||||
include/TestU01/gdef.h
|
||||
include/TestU01/gdefconf.h
|
||||
include/TestU01/gofs.h
|
||||
include/TestU01/gofw.h
|
||||
include/TestU01/mystr.h
|
||||
include/TestU01/num.h
|
||||
include/TestU01/num2.h
|
||||
include/TestU01/rijndael-alg-fst.h
|
||||
include/TestU01/scatter.h
|
||||
include/TestU01/scomp.h
|
||||
include/TestU01/sentrop.h
|
||||
include/TestU01/sknuth.h
|
||||
include/TestU01/smarsa.h
|
||||
include/TestU01/smultin.h
|
||||
include/TestU01/snpair.h
|
||||
include/TestU01/sres.h
|
||||
include/TestU01/sspacings.h
|
||||
include/TestU01/sspectral.h
|
||||
include/TestU01/sstring.h
|
||||
include/TestU01/statcoll.h
|
||||
include/TestU01/svaria.h
|
||||
include/TestU01/swalk.h
|
||||
include/TestU01/swrite.h
|
||||
include/TestU01/tables.h
|
||||
include/TestU01/tu01_sha1.h
|
||||
include/TestU01/uautomata.h
|
||||
include/TestU01/ubrent.h
|
||||
include/TestU01/ucarry.h
|
||||
include/TestU01/ucrypto.h
|
||||
include/TestU01/ucubic.h
|
||||
include/TestU01/udeng.h
|
||||
include/TestU01/ufile.h
|
||||
include/TestU01/ugfsr.h
|
||||
include/TestU01/ugranger.h
|
||||
include/TestU01/uinv.h
|
||||
include/TestU01/uknuth.h
|
||||
include/TestU01/ulcg.h
|
||||
include/TestU01/ulec.h
|
||||
include/TestU01/umarsa.h
|
||||
include/TestU01/umrg.h
|
||||
include/TestU01/unif01.h
|
||||
include/TestU01/unumrec.h
|
||||
include/TestU01/uquad.h
|
||||
include/TestU01/usoft.h
|
||||
include/TestU01/utaus.h
|
||||
include/TestU01/utezuka.h
|
||||
include/TestU01/util.h
|
||||
include/TestU01/utouzin.h
|
||||
include/TestU01/uvaria.h
|
||||
include/TestU01/uweyl.h
|
||||
include/TestU01/uwu.h
|
||||
include/TestU01/uxorshift.h
|
||||
include/TestU01/vectorsF2.h
|
||||
include/TestU01/wdist.h
|
||||
lib/libmylib.a
|
||||
lib/libmylib.so
|
||||
lib/libmylib.so.0
|
||||
lib/libmylib.so.0.0.1
|
||||
lib/libprobdist.a
|
||||
lib/libprobdist.so
|
||||
lib/libprobdist.so.0
|
||||
lib/libprobdist.so.0.0.1
|
||||
lib/libtestu01.a
|
||||
lib/libtestu01.so
|
||||
lib/libtestu01.so.0
|
||||
lib/libtestu01.so.0.0.1
|
||||
%%DATADIR%%/param/CombCubLCG.par
|
||||
%%DATADIR%%/param/CombCubic2.par
|
||||
%%DATADIR%%/param/CombL2.par
|
||||
%%DATADIR%%/param/CombWH2.par
|
||||
%%DATADIR%%/param/Cubic1.par
|
||||
%%DATADIR%%/param/InvExpl.par
|
||||
%%DATADIR%%/param/InvExpl2a.par
|
||||
%%DATADIR%%/param/InvExpl2b.par
|
||||
%%DATADIR%%/param/InvImpl.par
|
||||
%%DATADIR%%/param/InvImpl2a.par
|
||||
%%DATADIR%%/param/InvImpl2b.par
|
||||
%%DATADIR%%/param/LCGBad2.par
|
||||
%%DATADIR%%/param/LCGGood.par
|
||||
%%DATADIR%%/param/LCGGranger.par
|
||||
%%DATADIR%%/param/LCGPow2.par
|
||||
%%DATADIR%%/param/LCGWu2.par
|
||||
%%DATADIR%%/param/LFSR1.par
|
||||
%%DATADIR%%/param/LFSR2.par
|
||||
%%DATADIR%%/param/LFSR3.par
|
||||
%%DATADIR%%/param/MRG2.par
|
||||
%%DATADIR%%/param/MRG3.par
|
||||
%%DATADIR%%/param/TausLCG2.par
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guidelongtestu01.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guidemylib.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guideprobdist.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guideshorttestu01.pdf
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat1.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat1.res
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat2.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat2.res
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bat3.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/birth1.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/birth1.res
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/birth2.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex1.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex3.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex3.res
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex4.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex7.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/excel.dat
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fbirth.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fbirth.res1.tex
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fbirth.res2.tex
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcoll.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcoll.res1.tex
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcoll.res2.tex
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mrg32k3a.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/my16807.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/my16807.h
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scat.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scat2.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vax.bin
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xorshift.c
|
Loading…
Reference in New Issue
Block a user