From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 19 15:30:50 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D371C16A4E9 for ; Wed, 19 Jul 2006 15:30:50 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABF9E43D8F for ; Wed, 19 Jul 2006 15:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6JFUHml067762 for ; Wed, 19 Jul 2006 15:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6JFUHPo067761; Wed, 19 Jul 2006 15:30:17 GMT (envelope-from gnats) Resent-Date: Wed, 19 Jul 2006 15:30:17 GMT Resent-Message-Id: <200607191530.k6JFUHPo067761@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FBF716A4DA for ; Wed, 19 Jul 2006 15:25:28 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 293CD43D80 for ; Wed, 19 Jul 2006 15:25:23 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id 1AC4A88; Wed, 19 Jul 2006 23:25:18 +0800 (CST) Message-Id: <20060719152518.1AC4A88@netnews.NCTU.edu.tw> Date: Wed, 19 Jul 2006 23:25:18 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/100547: [NEW PORT] security/p5-Data-Entropy: Entropy (randomness) management X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 15:30:51 -0000 >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 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@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 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 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@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@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Entropy X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data X@dirrmtry %%SITE_PERL%%/Data/Entropy/RawSource X@dirrmtry %%SITE_PERL%%/Data/Entropy X@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: