svn commit: r333502 - in head/devel: . p5-UUID-Random-Patch-UseMRS
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Nov 11 14:08:09 UTC 2013
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 at 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 at xs4all.nl>
+# $FreeBSD$
+
+PORTNAME= UUID-Random-Patch-UseMRS
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl at 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
+ at dirrmtry %%SITE_PERL%%/UUID/Random/Patch
+ at dirrmtry %%SITE_PERL%%/UUID/Random
+ at dirrmtry %%SITE_PERL%%/UUID
More information about the svn-ports-all
mailing list