ports/180899: New port: math/ent Entropy calculation and analysis of putative random sequences

Horia Racoviceanu horia at racoviceanu.com
Sun Jul 28 08:10:00 UTC 2013


>Number:         180899
>Category:       ports
>Synopsis:       New port: math/ent Entropy calculation and analysis of putative random sequences
>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:   Sun Jul 28 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Horia Racoviceanu
>Release:        FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
FreeBSD horia.lan 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
ent applies various tests to sequences of bytes stored in files and reports the
results of those tests. The program is useful for evaluating pseudorandom
number generators for encryption and statistical sampling applications,
compression algorithms, and other applications where the information density of
a file is of interest.

WWW: http://www.fourmilab.ch/random/
>How-To-Repeat:
https://redports.org/buildarchive/20130728070900-12089/
>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:
#
#	ent
#	ent/Makefile
#	ent/distinfo
#	ent/pkg-descr
#
echo c - ent
mkdir -p ent > /dev/null 2>&1
echo x - ent/Makefile
sed 's/^X//' >ent/Makefile << 'bd48e99038b1d226826b94ef25c959c2'
X# Created by: Horia Racoviceanu <horia at racoviceanu.com>
X# $FreeBSD$
X
XPORTNAME=	ent
XPORTVERSION=	0.20080128
XCATEGORIES=	math
XMASTER_SITES=	http://www.fourmilab.ch/random/
XDISTNAME=	random
XDIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
X
XMAINTAINER=	horia at racoviceanu.com
XCOMMENT=	Entropy calculation and analysis of putative random sequences
X
XUSE_ZIP=	yes
XNO_WRKSUBDIR=	yes
XALL_TARGET=	ent
XPLIST_FILES=	bin/ent
X
Xregression-test: build
X	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)
X
Xpost-patch:
X	${REINPLACE_CMD} -e '/CC = /d' -e '/CFLAGS = /s,$$, ${CFLAGS},' \
X		${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/ent ${PREFIX}/bin
X
X.include <bsd.port.mk>
bd48e99038b1d226826b94ef25c959c2
echo x - ent/distinfo
sed 's/^X//' >ent/distinfo << '46500c403fc61a4629fe2dcc71db05c5'
XSHA256 (ent/0.20080128/random.zip) = c14ed62db24511848d6b37d4bf8869185b65be9042ffad5272257f3a249569ec
XSIZE (ent/0.20080128/random.zip) = 76200
46500c403fc61a4629fe2dcc71db05c5
echo x - ent/pkg-descr
sed 's/^X//' >ent/pkg-descr << 'd7af05d7e21e2274e48c225aa5e0a94a'
Xent applies various tests to sequences of bytes stored in files and reports the
Xresults of those tests. The program is useful for evaluating pseudorandom
Xnumber generators for encryption and statistical sampling applications,
Xcompression algorithms, and other applications where the information density of
Xa file is of interest.
X
XWWW: http://www.fourmilab.ch/random/
d7af05d7e21e2274e48c225aa5e0a94a
exit



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


More information about the freebsd-ports-bugs mailing list