From nobody@FreeBSD.org  Mon Sep 23 12:51:00 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 7DE2B57E
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Sep 2013 12:51:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 505DD29FD
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Sep 2013 12:51:00 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8NCp0ZU097969
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Sep 2013 12:51:00 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8NCoxSc097824;
	Mon, 23 Sep 2013 12:50:59 GMT
	(envelope-from nobody)
Message-Id: <201309231250.r8NCoxSc097824@oldred.freebsd.org>
Date: Mon, 23 Sep 2013 12:50:59 GMT
From: Henk van Oers <hvo.pm@xs4all.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: security/p5-Crypt-Password-Util  Crypt password utilities
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182326
>Category:       ports
>Synopsis:       New port: security/p5-Crypt-Password-Util  Crypt password utilities
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 23 13:00:01 UTC 2013
>Closed-Date:    Mon Nov 11 14:10:05 UTC 2013
>Last-Modified:  Mon Nov 11 14:10:05 UTC 2013
>Originator:     Henk van Oers
>Release:        9.1-RELEASE-p6
>Organization:
perl.nl
>Environment:
FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Automatically choose the appropriate type and salt
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Crypt-Password-Util
#	p5-Crypt-Password-Util/Makefile
#	p5-Crypt-Password-Util/pkg-descr
#	p5-Crypt-Password-Util/distinfo
#	p5-Crypt-Password-Util/pkg-plist
#
echo c - p5-Crypt-Password-Util
mkdir -p p5-Crypt-Password-Util > /dev/null 2>&1
echo x - p5-Crypt-Password-Util/Makefile
sed 's/^X//' >p5-Crypt-Password-Util/Makefile << '6976c91a9ebbf27c9be80936966a6522'
X# Created by: Henk van Oers <hvo.pm@xs4all.nl>
X# $FreeBSD$
X
XPORTNAME=	Crypt-Password-Util
XPORTVERSION=	0.09
XCATEGORIES=	security perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	perl@FreeBSD.org
XCOMMENT=	Crypt password utilities
X
XLICENSE=	ART10
X
XBUILD_DEPENDS=	p5-Sort-Versions>=0:${PORTSDIR}/devel/p5-Sort-Versions \
X		p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
X		p5-UUID-Random-Patch-UseMRS>=0:${PORTSDIR}/security/p5-UUID-Random-Patch-UseMRS
XRUN_DEPENDS=	p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
X		p5-UUID-Random-Patch-UseMRS>=0:${PORTSDIR}/security/p5-UUID-Random-Patch-UseMRS
X
XUSES=		perl5
XUSE_PERL5=	modbuild
X
XMAN3=		Crypt::Password::Util.3
X
XNO_STAGE=	yes
X.include <bsd.port.mk>
6976c91a9ebbf27c9be80936966a6522
echo x - p5-Crypt-Password-Util/pkg-descr
sed 's/^X//' >p5-Crypt-Password-Util/pkg-descr << '37b915b7289fba71883161af2febad21'
XAutomatically choose the appropriate type and salt.
X
XSee also Authen::Passphrase which recognizes more encodings
X(but currently not SSHA256 and SSHA512).
X
XWWW: https://metacpan.org/module/Crypt::Password::Util
37b915b7289fba71883161af2febad21
echo x - p5-Crypt-Password-Util/distinfo
sed 's/^X//' >p5-Crypt-Password-Util/distinfo << 'c8bcc034a8d3ab3537fbfe7469be733c'
XSHA256 (Crypt-Password-Util-0.09.tar.gz) = 9e7c3ffb877748a201955bf95cf25cfbb134fb1b0bd906e905861e73dddf420f
XSIZE (Crypt-Password-Util-0.09.tar.gz) = 11588
c8bcc034a8d3ab3537fbfe7469be733c
echo x - p5-Crypt-Password-Util/pkg-plist
sed 's/^X//' >p5-Crypt-Password-Util/pkg-plist << 'a70b056dd44e697869ed4b9e5be742b4'
X%%SITE_PERL%%/Crypt/Password/Util.pm
X@dirrmtry %%SITE_PERL%%/Crypt/Password
X@dirrmtry %%SITE_PERL%%/Crypt
a70b056dd44e697869ed4b9e5be742b4
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 23 13:00:42 UTC 2013 
Responsible-Changed-Why:  
perl@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182326 
Responsible-Changed-From-To: perl->sunpoet 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Mon Nov 11 13:25:03 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182326 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182326: commit references a PR
Date: Mon, 11 Nov 2013 14:08:31 +0000 (UTC)

 Author: sunpoet
 Date: Mon Nov 11 14:08:22 2013
 New Revision: 333503
 URL: http://svnweb.freebsd.org/changeset/ports/333503
 
 Log:
   - Add p5-Crypt-Password-Util 0.09
   
   Crypt::Password::Util is a crypt password utilities.
   
   Its crypt($str) works like Perl's crypt(), but automatically choose the
   appropriate crypt type and random salt. Will first choose SSHA512 with 64-bit
   random salt. If not supported by system, fall back to MD5-CRYPT with 32-bit
   random salt. If that is not supported, fall back to CRYPT.
   
   Its crypt_type($str) returns crypt type, or undef if $str does not look like a
   crypted password. Currently known types: CRYPT (traditional DES crypt),
   MD5-CRYPT (including Apache variant), SSHA256 (salted SHA256), SSHA512 (salted
   SHA512), and PLAIN-MD5.
   
   See also Authen::Passphrase which recognizes more encodings (but currently not
   SSHA256 and SSHA512).
   
   WWW: http://search.cpan.org/dist/Crypt-Password-Util/
   
   PR:		ports/182326
   Submitted by:	Henk van Oers <hvo.pm@xs4all.nl>
 
 Added:
   head/security/p5-Crypt-Password-Util/
   head/security/p5-Crypt-Password-Util/Makefile   (contents, props changed)
   head/security/p5-Crypt-Password-Util/distinfo   (contents, props changed)
   head/security/p5-Crypt-Password-Util/pkg-descr   (contents, props changed)
   head/security/p5-Crypt-Password-Util/pkg-plist   (contents, props changed)
 Modified:
   head/security/Makefile
 
 Modified: head/security/Makefile
 ==============================================================================
 --- head/security/Makefile	Mon Nov 11 14:08:08 2013	(r333502)
 +++ head/security/Makefile	Mon Nov 11 14:08:22 2013	(r333503)
 @@ -476,6 +476,7 @@
      SUBDIR += p5-Crypt-PGPSimple
      SUBDIR += p5-Crypt-PassGen
      SUBDIR += p5-Crypt-PasswdMD5
 +    SUBDIR += p5-Crypt-Password-Util
      SUBDIR += p5-Crypt-Primes
      SUBDIR += p5-Crypt-RC4
      SUBDIR += p5-Crypt-RC5
 
 Added: head/security/p5-Crypt-Password-Util/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/p5-Crypt-Password-Util/Makefile	Mon Nov 11 14:08:22 2013	(r333503)
 @@ -0,0 +1,23 @@
 +# Created by: Henk van Oers <hvo.pm@xs4all.nl>
 +# $FreeBSD$
 +
 +PORTNAME=	Crypt-Password-Util
 +PORTVERSION=	0.09
 +CATEGORIES=	security perl5
 +MASTER_SITES=	CPAN
 +PKGNAMEPREFIX=	p5-
 +
 +MAINTAINER=	perl@FreeBSD.org
 +COMMENT=	Crypt password utilities
 +
 +LICENSE=	ART10 GPLv1
 +LICENSE_COMB=	dual
 +
 +BUILD_DEPENDS=	p5-UUID-Random-Patch-UseMRS>=0:${PORTSDIR}/devel/p5-UUID-Random-Patch-UseMRS
 +RUN_DEPENDS:=	${BUILD_DEPENDS}
 +TEST_DEPENDS=	p5-Sort-Versions>=0:${PORTSDIR}/devel/p5-Sort-Versions
 +
 +USE_PERL5=	modbuild
 +USES=		perl5
 +
 +.include <bsd.port.mk>
 
 Added: head/security/p5-Crypt-Password-Util/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/p5-Crypt-Password-Util/distinfo	Mon Nov 11 14:08:22 2013	(r333503)
 @@ -0,0 +1,2 @@
 +SHA256 (Crypt-Password-Util-0.09.tar.gz) = 9e7c3ffb877748a201955bf95cf25cfbb134fb1b0bd906e905861e73dddf420f
 +SIZE (Crypt-Password-Util-0.09.tar.gz) = 11588
 
 Added: head/security/p5-Crypt-Password-Util/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/p5-Crypt-Password-Util/pkg-descr	Mon Nov 11 14:08:22 2013	(r333503)
 @@ -0,0 +1,16 @@
 +Crypt::Password::Util is a crypt password utilities.
 +
 +Its crypt($str) works like Perl's crypt(), but automatically choose the
 +appropriate crypt type and random salt. Will first choose SSHA512 with 64-bit
 +random salt. If not supported by system, fall back to MD5-CRYPT with 32-bit
 +random salt. If that is not supported, fall back to CRYPT.
 +
 +Its crypt_type($str) returns crypt type, or undef if $str does not look like a
 +crypted password. Currently known types: CRYPT (traditional DES crypt),
 +MD5-CRYPT (including Apache variant), SSHA256 (salted SHA256), SSHA512 (salted
 +SHA512), and PLAIN-MD5.
 +
 +See also Authen::Passphrase which recognizes more encodings (but currently not
 +SSHA256 and SSHA512).
 +
 +WWW: http://search.cpan.org/dist/Crypt-Password-Util/
 
 Added: head/security/p5-Crypt-Password-Util/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/p5-Crypt-Password-Util/pkg-plist	Mon Nov 11 14:08:22 2013	(r333503)
 @@ -0,0 +1,4 @@
 +%%SITE_PERL%%/Crypt/Password/Util.pm
 +%%PERL5_MAN3%%/Crypt::Password::Util.3.gz
 +@dirrmtry %%SITE_PERL%%/Crypt/Password
 +@dirrmtry %%SITE_PERL%%/Crypt
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Mon Nov 11 14:10:02 UTC 2013 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182326 
>Unformatted:
