Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 14:08:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333502 - in head/devel: . p5-UUID-Random-Patch-UseMRS
Message-ID:  <201311111408.rABE883N075582@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Nov 11 14:08:08 2013
New Revision: 333502
URL: http://svnweb.freebsd.org/changeset/ports/333502

Log:
  - Add p5-UUID-Random-Patch-UseMRS 0.01
  
  UUID::Random::Patch::UseMRS makes UUID::Random use rand() from
  Math::Random::Secure instead of the default rand() that comes with Perl. It is
  useful for creating cryptographically secure UUID's. On the other hand, as a
  note, this makes generate() around 20 times slower.
  
  After you use this module, use UUID::Random as usual.
  
  WWW: http://search.cpan.org/dist/UUID-Random-Patch-UseMRS/
  
  PR:		ports/182322
  Submitted by:	Henk van Oers <hvo.pm@xs4all.nl>

Added:
  head/devel/p5-UUID-Random-Patch-UseMRS/
  head/devel/p5-UUID-Random-Patch-UseMRS/Makefile   (contents, props changed)
  head/devel/p5-UUID-Random-Patch-UseMRS/distinfo   (contents, props changed)
  head/devel/p5-UUID-Random-Patch-UseMRS/pkg-descr   (contents, props changed)
  head/devel/p5-UUID-Random-Patch-UseMRS/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Nov 11 14:07:38 2013	(r333501)
+++ head/devel/Makefile	Mon Nov 11 14:08:08 2013	(r333502)
@@ -2975,6 +2975,7 @@
     SUBDIR += p5-UNIVERSAL-which
     SUBDIR += p5-UUID
     SUBDIR += p5-UUID-Random
+    SUBDIR += p5-UUID-Random-Patch-UseMRS
     SUBDIR += p5-UUID-Tiny
     SUBDIR += p5-Uniq
     SUBDIR += p5-Unix-Statgrab

Added: head/devel/p5-UUID-Random-Patch-UseMRS/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-UUID-Random-Patch-UseMRS/Makefile	Mon Nov 11 14:08:08 2013	(r333502)
@@ -0,0 +1,23 @@
+# Created by: Henk van Oers <hvo.pm@xs4all.nl>
+# $FreeBSD$
+
+PORTNAME=	UUID-Random-Patch-UseMRS
+PORTVERSION=	0.01
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Make UUID::Random use Math::Random::Secure::rand()
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Math-Random-Secure>=0:${PORTSDIR}/math/p5-Math-Random-Secure \
+		p5-UUID-Random>=0:${PORTSDIR}/devel/p5-UUID-Random
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USE_PERL5=	modbuild
+USES=		perl5
+
+.include <bsd.port.mk>

Added: head/devel/p5-UUID-Random-Patch-UseMRS/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-UUID-Random-Patch-UseMRS/distinfo	Mon Nov 11 14:08:08 2013	(r333502)
@@ -0,0 +1,2 @@
+SHA256 (UUID-Random-Patch-UseMRS-0.01.tar.gz) = 85f28345a9c2ee287f3c1283d5c6ec5b49a305c64c1b45bce9d8b8373a93dd73
+SIZE (UUID-Random-Patch-UseMRS-0.01.tar.gz) = 9810

Added: head/devel/p5-UUID-Random-Patch-UseMRS/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-UUID-Random-Patch-UseMRS/pkg-descr	Mon Nov 11 14:08:08 2013	(r333502)
@@ -0,0 +1,8 @@
+UUID::Random::Patch::UseMRS makes UUID::Random use rand() from
+Math::Random::Secure instead of the default rand() that comes with Perl. It is
+useful for creating cryptographically secure UUID's. On the other hand, as a
+note, this makes generate() around 20 times slower.
+
+After you use this module, use UUID::Random as usual.
+
+WWW: http://search.cpan.org/dist/UUID-Random-Patch-UseMRS/

Added: head/devel/p5-UUID-Random-Patch-UseMRS/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-UUID-Random-Patch-UseMRS/pkg-plist	Mon Nov 11 14:08:08 2013	(r333502)
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/UUID/Random/Patch/UseMRS.pm
+%%PERL5_MAN3%%/UUID::Random::Patch::UseMRS.3.gz
+@dirrmtry %%SITE_PERL%%/UUID/Random/Patch
+@dirrmtry %%SITE_PERL%%/UUID/Random
+@dirrmtry %%SITE_PERL%%/UUID



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311111408.rABE883N075582>