ports/100547: [NEW PORT] security/p5-Data-Entropy: Entropy (randomness) management

Gea-Suan Lin gslin at gslin.org
Wed Jul 19 15:30:51 UTC 2006


>Number:         100547
>Category:       ports
>Synopsis:       [NEW PORT] security/p5-Data-Entropy: Entropy (randomness) management
>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:   Wed Jul 19 15:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
This module maintains a concept of a current selection of entropy
source. Algorithms that require entropy can use the source nominated
by this module, avoiding the need for entropy source objects to be
explicitly passed around. This is convenient because usually one
entropy source will be used for an entire program run and so an
explicit entropy source parameter would rarely vary. There is also a
default entropy source, avoiding the need to explicitly configure a
source at all.

If nothing is done to set a source then it defaults to the use of
Rijndael (AES) in counter mode (see
Data::Entropy::RawSource::CryptCounter and Crypt::Rijndael), keyed
using Perl's built-in rand function. This gives a data stream that
looks like concentrated entropy, but really only has at most the
entropy of the rand seed. Within a single run it is cryptographically
difficult to detect the correlation between parts of the
pseudo-entropy stream. If more true entropy is required then it is
necessary to configure a different entropy source.

WWW:	http://search.cpan.org/dist/Data-Entropy/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Data-Entropy-0.000.shar begins here ---
# 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:
#
#	p5-Data-Entropy
#	p5-Data-Entropy/pkg-descr
#	p5-Data-Entropy/Makefile
#	p5-Data-Entropy/pkg-plist
#	p5-Data-Entropy/distinfo
#
echo c - p5-Data-Entropy
mkdir -p p5-Data-Entropy > /dev/null 2>&1
echo x - p5-Data-Entropy/pkg-descr
sed 's/^X//' >p5-Data-Entropy/pkg-descr << 'END-of-p5-Data-Entropy/pkg-descr'
XThis module maintains a concept of a current selection of entropy
Xsource. Algorithms that require entropy can use the source nominated
Xby this module, avoiding the need for entropy source objects to be
Xexplicitly passed around. This is convenient because usually one
Xentropy source will be used for an entire program run and so an
Xexplicit entropy source parameter would rarely vary. There is also a
Xdefault entropy source, avoiding the need to explicitly configure a
Xsource at all.
X
XIf nothing is done to set a source then it defaults to the use of
XRijndael (AES) in counter mode (see
XData::Entropy::RawSource::CryptCounter and Crypt::Rijndael), keyed
Xusing Perl's built-in rand function. This gives a data stream that
Xlooks like concentrated entropy, but really only has at most the
Xentropy of the rand seed. Within a single run it is cryptographically
Xdifficult to detect the correlation between parts of the
Xpseudo-entropy stream. If more true entropy is required then it is
Xnecessary to configure a different entropy source.
X
XWWW:	http://search.cpan.org/dist/Data-Entropy/
END-of-p5-Data-Entropy/pkg-descr
echo x - p5-Data-Entropy/Makefile
sed 's/^X//' >p5-Data-Entropy/Makefile << 'END-of-p5-Data-Entropy/Makefile'
X# New ports collection makefile for:	p5-Data-Entropy
X# Date created:		2006-07-19
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Data-Entropy
XPORTVERSION=	0.000
XCATEGORIES=	security perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Data
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	Entropy (randomness) management
X
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Crypt/Rijndael.pm:${PORTSDIR}/security/p5-Crypt-Rijndael \
X		${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
X		${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt \
X		${SITE_PERL}/Math/BigRat.pm:${PORTSDIR}/math/p5-Math-BigRat \
X		${SITE_PERL}/Params/Classify.pm:${PORTSDIR}/devel/p5-Params-Classify
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Data::Entropy::RawSource::RandomOrg.3 \
X		Data::Entropy::RawSource::CryptCounter.3 \
X	       	Data::Entropy::Algorithms.3 \
X	       	Data::Entropy::RawSource::RandomnumbersInfo.3 \
X	       	Data::Entropy::Source.3 Data::Entropy.3 \
X	       	Data::Entropy::RawSource::Local.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600	# Inherited from www/p5-libwww
XIGNORE=		requires Perl 5.6.0 or newer.  Please install lang/perl5.8 and try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Data-Entropy/Makefile
echo x - p5-Data-Entropy/pkg-plist
sed 's/^X//' >p5-Data-Entropy/pkg-plist << 'END-of-p5-Data-Entropy/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Entropy/.packlist
X%%SITE_PERL%%/Data/Entropy.pm
X%%SITE_PERL%%/Data/Entropy/Algorithms.pm
X%%SITE_PERL%%/Data/Entropy/RawSource/CryptCounter.pm
X%%SITE_PERL%%/Data/Entropy/RawSource/Local.pm
X%%SITE_PERL%%/Data/Entropy/RawSource/RandomOrg.pm
X%%SITE_PERL%%/Data/Entropy/RawSource/RandomnumbersInfo.pm
X%%SITE_PERL%%/Data/Entropy/Source.pm
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Entropy
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data
X at dirrmtry %%SITE_PERL%%/Data/Entropy/RawSource
X at dirrmtry %%SITE_PERL%%/Data/Entropy
X at dirrmtry %%SITE_PERL%%/Data
END-of-p5-Data-Entropy/pkg-plist
echo x - p5-Data-Entropy/distinfo
sed 's/^X//' >p5-Data-Entropy/distinfo << 'END-of-p5-Data-Entropy/distinfo'
XMD5 (Data-Entropy-0.000.tar.gz) = 99dde7eea7e3b8f4ff36c469015596b9
XSHA256 (Data-Entropy-0.000.tar.gz) = f3c769b259f5319d22579b3cd29348a567a9ef1ac2c2c56d0a9e88977bf6e63a
XSIZE (Data-Entropy-0.000.tar.gz) = 30851
END-of-p5-Data-Entropy/distinfo
exit
--- p5-Data-Entropy-0.000.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list