This module provides a secure, efficient, and simple interface for

creating session tokens, password reset codes, temporary passwords,
random identifiers, and anything else you can think of.

Like this: my $token = Session::Token->new->get; # 128 bits

WWW: http://search.cpan.org/dist/Session-Token/

PR:		200390
Submitted by:	hvo.pm@xs4all.nl
This commit is contained in:
Dmitry Marakasov 2015-05-27 21:21:54 +00:00
parent 033203568b
commit bef55936cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387680
5 changed files with 38 additions and 0 deletions

View File

@ -633,6 +633,7 @@
SUBDIR += p5-SAVI-Perl
SUBDIR += p5-SHA
SUBDIR += p5-Safe-Hole
SUBDIR += p5-Sesstion-Token
SUBDIR += p5-Snort-Rule
SUBDIR += p5-String-MkPasswd
SUBDIR += p5-Sudo

View File

@ -0,0 +1,25 @@
# Created by: Henk van Oers <hvo.pm@xs4all.nl>
# $FreeBSD$
PORTNAME= Session-Token
PORTVERSION= 1.008
CATEGORIES= security perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:FRACTAL
PKGNAMEPREFIX= p5-
MAINTAINER= hvo.pm@xs4all.nl
COMMENT= Secure, efficient, simple random session token generation
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
post-install:
${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Session/Token/Token.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Session/Token/Token.so
${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Session/Token/Token.so
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Session-Token-1.008.tar.gz) = 80a8e2c4a97b2d712990052bdc2bf70c489171f1bf88f8e0ba5f58d7e1c2a3f8
SIZE (Session-Token-1.008.tar.gz) = 21732

View File

@ -0,0 +1,7 @@
This module provides a secure, efficient, and simple interface for
creating session tokens, password reset codes, temporary passwords,
random identifiers, and anything else you can think of.
Like this: my $token = Session::Token->new->get; # 128 bits
WWW: http://search.cpan.org/dist/Session-Token/

View File

@ -0,0 +1,3 @@
%%SITE_ARCH%%/Session/Token.pm
%%SITE_ARCH%%/auto/Session/Token/Token.so
%%PERL5_MAN3%%/Session::Token.3.gz