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>
23 lines
530 B
Makefile
23 lines
530 B
Makefile
# 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>
|