The MD5.pm module we've been using has been depreciated for two years 
(since Nov 2005). 

The attached MD5.pm replacement is really a wrapper for the supported 
Digest::MD5 module, which I've also ported.

Tested: -STABLE 4.2 i386

Please Test and Commit.

Kind Regards,
JCR

Attachment: ports_security_p5-MD5--2.03.tar.gz
Description: application/tgz

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/p5-MD5/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	15 Jan 2007 17:40:10 -0000	1.9
+++ Makefile	26 Nov 2007 06:23:10 -0000
@@ -5,15 +5,26 @@
 COMMENT=	"interface to md5 message-digest algorithm"
 
 MODULES=	cpan
-DISTNAME=	MD5-1.7
+DISTNAME=	MD5-2.03
 CATEGORIES=	security
-
 MAINTAINER=	Kevin Lo <[EMAIL PROTECTED]>
+# DIST_SUBDIR=	GAAS/
+## NOTE: The ports cpan module doesn't play well with DIST_SUBDIR
+MASTER_SITES= ftp://ftp.cpan.org/pub/CPAN/modules/by-module/MD5/GAAS/ \
+  ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/MD5/GAAS/ \
+  ftp://cpan.mirrors.tds.net/pub/CPAN/modules/by-module/MD5/GAAS/ \
+  ftp://mirror.datapipe.net/pub/CPAN/modules/by-module/MD5/GAAS/ \
+  ftp://ftp.ucr.ac.cr/pub/Unix/CPAN/modules/by-module/MD5/GAAS/ \
+  ftp://ftp.mirror.anlx.net/CPAN/modules/by-module/MD5/GAAS/ \
+  ftp://mirror.hiwaay.net/CPAN/modules/by-module/MD5/GAAS/
 
 # Perl
 PERMIT_PACKAGE_CDROM=   Yes
 PERMIT_PACKAGE_FTP=     Yes
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=   Yes
+
+RUN_DEPENDS=	:p5-Digest-MD5->=2.36:security/p5-Digest-MD5
+BUILD_DEPENDS=	${RUN_DEPENDS}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/p5-MD5/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	5 Apr 2007 17:26:09 -0000	1.3
+++ distinfo	26 Nov 2007 06:23:10 -0000
@@ -1,5 +1,5 @@
-MD5 (MD5-1.7.tar.gz) = krB+wZvogWNhPd5pk560ig==
-RMD160 (MD5-1.7.tar.gz) = aXMCgsU4zNhXy7CHM/GPA/AuAKs=
-SHA1 (MD5-1.7.tar.gz) = ZdD8Wz5onDFfzDe21lIWN9CN3G0=
-SHA256 (MD5-1.7.tar.gz) = KxhDhKWalbDKEuwj9QWsLnUnLYUDvqxpGUhco7AjDtI=
-SIZE (MD5-1.7.tar.gz) = 12313
+MD5 (MD5-2.03.tar.gz) = CVfwL8MLwhBrMoa6hUkXvA==
+RMD160 (MD5-2.03.tar.gz) = elRBT1sVvN03aepvPjVvOx9SYdw=
+SHA1 (MD5-2.03.tar.gz) = VgIiQZBWKqDiMwJ8XzzBzVSc874=
+SHA256 (MD5-2.03.tar.gz) = dk0077UOzxLYNWH2bvZyT4nD3eb1qibqGM9fhMh79+E=
+SIZE (MD5-2.03.tar.gz) = 2810
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/security/p5-MD5/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- pkg/DESCR	4 Jan 2001 02:09:18 -0000	1.1.1.1
+++ pkg/DESCR	26 Nov 2007 06:23:10 -0000
@@ -1,4 +1,8 @@
+The MD5.pm module is depreciated.  Please use Digest::MD5 instead.
+
+This module (MD5.pm) is just a thin wrapper around the Digest::MD5
+module.  It is provided so that legacy code that relies on the old
+interface continues to work with the speed benefit of the new module.
+
 This Perl module allows you to use the RSA Data Security Inc.
 MD5 message digest algorithm.
-
-Please see 'perldoc MD5' for more information. 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/p5-MD5/pkg/PLIST,v
retrieving revision 1.8
diff -u -r1.8 PLIST
--- pkg/PLIST	15 Sep 2004 18:36:02 -0000	1.8
+++ pkg/PLIST	26 Nov 2007 06:23:10 -0000
@@ -1,9 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.8 2004/09/15 18:36:02 espie Exp $
-${P5ARCH}/
-${P5ARCH}/MD5.pm
-${P5ARCH}/auto/
-${P5ARCH}/auto/MD5/
-${P5ARCH}/auto/MD5/MD5.bs
-${P5ARCH}/auto/MD5/MD5.so
-${P5ARCH}/auto/MD5/autosplit.ix
+${P5SITE}/
+${P5SITE}/MD5.pm
 @man man/man3p/MD5.3p

Reply via email to