Attached is is an update for security/P5-MD5 against HEAD. Instead of using the depreciated MD5.pm v1.7 module, this new one v2.03 is just a wrapper around the Digest-MD5 which we have in base.
When there is a requirement for a perl module which we have in the default perl installation, what is the best way to express it in the port Makefile? The only trouble is, the new version is not on CPAN proper but in a sub-directory. If there is a better way to tell our ports cpan module to access a sub-directory in CPAN, I'd like to know what it is. Thanks, JCR
? w-p5-MD5-2.03 Index: Makefile =================================================================== RCS file: /cvs/ports/security/p5-MD5/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 15 Sep 2007 23:30:00 -0000 1.10 +++ Makefile 1 Dec 2007 11:07:11 -0000 @@ -1,14 +1,22 @@ -# $OpenBSD: Makefile,v 1.10 2007/09/15 23:30:00 merdely Exp $ +# $OpenBSD: Makefile,v 1.9 2007/01/15 17:40:10 simon Exp $ SHARED_ONLY= Yes 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 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 1 Dec 2007 11:07:11 -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 1 Dec 2007 11:07:11 -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 1 Dec 2007 11:07:11 -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
