Bug 182322 - New port: security/p5-UUID-Random-Patch-UseMRS use Math::Random::Secure
Summary: New port: security/p5-UUID-Random-Patch-UseMRS use Math::Random::Secure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-23 13:50 UTC by Henk van Oers
Modified: 2013-11-11 14:10 UTC (History)
0 users

See Also:


Attachments
file.shar (2.46 KB, text/plain)
2013-09-23 13:50 UTC, Henk van Oers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henk van Oers 2013-09-23 13:50:01 UTC
This module generates random uuid strings.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-23 13:50:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 azverev 2013-09-23 13:53:23 UTC
Why is maintainer for new port set to perl@? If you need this port,
don't you want to be maintainer?
Comment 3 Henk van Oers 2013-09-23 14:14:52 UTC

On Mon, 23 Sep 2013, Zverev Andrey wrote:

> Why is maintainer for new port set to perl@? If you need this port, don¢t you want to be maintainer?

I'm on perl@ for years now and have submitted new ports this way before.
I also watch the freshports.

The 4 ports I submitted today are in preparation of
p5-Dancer-Plugin-Auth-Extensible that ships whith
Dancer/Plugin/Auth/Extensible/Provider/Unix.pm

Regards,
Henk
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-11 13:24:58 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-11-11 14:08:17 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-11 14:09:48 UTC
State Changed
From-To: open->closed

New port added as devel/p5-UUID-Random-Patch-UseMRS. Thanks!