Date: Mon, 23 Sep 2013 12:46:55 GMT From: Henk van Oers <hvo.pm@xs4all.nl> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182322: New port: security/p5-UUID-Random-Patch-UseMRS use Math::Random::Secure Message-ID: <201309231246.r8NCktKW096213@oldred.freebsd.org> Resent-Message-ID: <201309231250.r8NCo1In095574@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182322 >Category: ports >Synopsis: New port: security/p5-UUID-Random-Patch-UseMRS use Math::Random::Secure >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: Mon Sep 23 12:50:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Henk van Oers >Release: 9.1-RELEASE-p6 >Organization: perl.nl >Environment: FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This module generates random uuid strings. >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: # # p5-UUID-Random-Patch-UseMRS # p5-UUID-Random-Patch-UseMRS/Makefile # p5-UUID-Random-Patch-UseMRS/pkg-descr # p5-UUID-Random-Patch-UseMRS/distinfo # p5-UUID-Random-Patch-UseMRS/pkg-plist # echo c - p5-UUID-Random-Patch-UseMRS mkdir -p p5-UUID-Random-Patch-UseMRS > /dev/null 2>&1 echo x - p5-UUID-Random-Patch-UseMRS/Makefile sed 's/^X//' >p5-UUID-Random-Patch-UseMRS/Makefile << 'c60496f81b163d93e70a27a6f37de05b' X# Created by: Henk van Oers <hvo.pm@xs4all.nl> X# $FreeBSD$ X XPORTNAME= UUID-Random-Patch-UseMRS XPORTVERSION= 0.01 XCATEGORIES= security perl5 XMASTER_SITES= CPAN XPKGNAMEPREFIX= p5- X XMAINTAINER= perl@FreeBSD.org XCOMMENT= Make UUID::Random use Math::Random::Secure::rand() X XLICENSE= ART10 X XBUILD_DEPENDS= p5-Math-Random-Secure>=0:${PORTSDIR}/math/p5-Math-Random-Secure \ X p5-UUID-Random>=0:${PORTSDIR}/security/p5-UUID-Random XRUN_DEPENDS:= ${BUILD_DEPENDS} X XUSES= perl5 XUSE_PERL5= modbuild X XMAN3= UUID::Random::Patch::UseMRS.3 X XNO_STAGE= yes X.include <bsd.port.mk> c60496f81b163d93e70a27a6f37de05b echo x - p5-UUID-Random-Patch-UseMRS/pkg-descr sed 's/^X//' >p5-UUID-Random-Patch-UseMRS/pkg-descr << '0d58d66715ee1ae079b73d3673ec478f' XThis module makes UUID::Random use rand() from Math::Random::Secure Xinstead of the default rand() that comes with Perl. XIt is useful for creating cryptographically secure UUID's. XOn the other hand, as a note, Xthis makes generate() around 20 times slower. X XAfter you use this module, use UUID::Random as usual. X XWWW: https://metacpan.org/module/UUID::Random::Patch::UseMRS 0d58d66715ee1ae079b73d3673ec478f echo x - p5-UUID-Random-Patch-UseMRS/distinfo sed 's/^X//' >p5-UUID-Random-Patch-UseMRS/distinfo << '24956a3c7a1ae0623849acd5f670381c' XSHA256 (UUID-Random-Patch-UseMRS-0.01.tar.gz) = 85f28345a9c2ee287f3c1283d5c6ec5b49a305c64c1b45bce9d8b8373a93dd73 XSIZE (UUID-Random-Patch-UseMRS-0.01.tar.gz) = 9810 24956a3c7a1ae0623849acd5f670381c echo x - p5-UUID-Random-Patch-UseMRS/pkg-plist sed 's/^X//' >p5-UUID-Random-Patch-UseMRS/pkg-plist << 'dc7ba5824db43cef3f2b2ac5a679ae5b' X%%SITE_PERL%%/UUID/Random/Patch/UseMRS.pm X@dirrmtry %%SITE_PERL%%/UUID/Random/Patch X@dirrmtry %%SITE_PERL%%/UUID/Random X@dirrmtry %%SITE_PERL%%/UUID dc7ba5824db43cef3f2b2ac5a679ae5b exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309231246.r8NCktKW096213>