Bug 182326 - New port: security/p5-Crypt-Password-Util Crypt password utilities
Summary: New port: security/p5-Crypt-Password-Util Crypt password utilities
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 14:00 UTC by Henk van Oers
Modified: 2013-11-11 14:10 UTC (History)
0 users

See Also:


Attachments
file.shar (2.32 KB, text/plain)
2013-09-23 14:00 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 14:00:01 UTC
Automatically choose the appropriate type and salt

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

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-11 13:25:03 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-11 14:08:31 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"
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-11 14:10:02 UTC
State Changed
From-To: open->closed

New port added. Thanks!