diff options
author | martti <martti@pkgsrc.org> | 2001-12-12 14:36:38 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2001-12-12 14:36:38 +0000 |
commit | 3fae5cf30248cf7a48be766422285dbcee166b86 (patch) | |
tree | 40667e024aec75ed4c3286f1fa470ce04085e601 /security/p5-Crypt-CBC | |
parent | 74498f630ff62bc9456d91c1311dc8c57e25b0a8 (diff) | |
download | pkgsrc-3fae5cf30248cf7a48be766422285dbcee166b86.tar.gz |
Updated p5-Crypt-CBC to 2.01 (provided by Shell Hung in pkg/14917)
Changes :
- Patches for foreign program compatibility, initialization vectors
and padding methods from Jody Biggs <jody.biggs@paymybills.com>
- Removed debugging code
- Used Digest-MD5
Diffstat (limited to 'security/p5-Crypt-CBC')
-rw-r--r-- | security/p5-Crypt-CBC/Makefile | 6 | ||||
-rw-r--r-- | security/p5-Crypt-CBC/distinfo | 8 | ||||
-rw-r--r-- | security/p5-Crypt-CBC/patches/patch-aa | 13 | ||||
-rw-r--r-- | security/p5-Crypt-CBC/patches/patch-ab | 24 |
4 files changed, 6 insertions, 45 deletions
diff --git a/security/p5-Crypt-CBC/Makefile b/security/p5-Crypt-CBC/Makefile index b7da0f8d0b5..ce6b0039b4d 100644 --- a/security/p5-Crypt-CBC/Makefile +++ b/security/p5-Crypt-CBC/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.6 2001/11/26 06:50:14 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/12/12 14:36:38 martti Exp $ # FreeBSD Id: Makefile,v 1.7 1997/06/24 18:43:23 jfitz Exp # -DISTNAME= Crypt-CBC-1.25 -PKGNAME= p5-Crypt-CBC-1.25 +DISTNAME= Crypt-CBC-2.01 +PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5cbc CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/} diff --git a/security/p5-Crypt-CBC/distinfo b/security/p5-Crypt-CBC/distinfo index e7293750b95..1fdf1c8cc0d 100644 --- a/security/p5-Crypt-CBC/distinfo +++ b/security/p5-Crypt-CBC/distinfo @@ -1,6 +1,4 @@ -$NetBSD: distinfo,v 1.3 2001/10/02 11:52:53 mjl Exp $ +$NetBSD: distinfo,v 1.4 2001/12/12 14:36:38 martti Exp $ -SHA1 (Crypt-CBC-1.25.tar.gz) = 8a9c214582d144ffa8d33e44b5764be96b5d9770 -Size (Crypt-CBC-1.25.tar.gz) = 6899 bytes -SHA1 (patch-aa) = aa140b01dcd32f27cf2d122208cebb0a285a5391 -SHA1 (patch-ab) = c5635e0233f2f62253bf27a9b29e266eb73b4a64 +SHA1 (Crypt-CBC-2.01.tar.gz) = b5de8f5435654b2bb1a87117ca4e0efc305dacde +Size (Crypt-CBC-2.01.tar.gz) = 9058 bytes diff --git a/security/p5-Crypt-CBC/patches/patch-aa b/security/p5-Crypt-CBC/patches/patch-aa deleted file mode 100644 index ccf3a5eccb3..00000000000 --- a/security/p5-Crypt-CBC/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2001/10/02 11:52:53 mjl Exp $ - ---- Makefile.PL.orig Tue Oct 2 13:37:10 2001 -+++ Makefile.PL Tue Oct 2 13:37:25 2001 -@@ -4,7 +4,7 @@ - WriteMakefile( - 'NAME' => 'Crypt::CBC', - 'VERSION_FROM' => 'CBC.pm', # finds $VERSION -- 'PREREQ_PM' => {'MD5' => '1.00' }, -+ 'PREREQ_PM' => {'Digest::MD5' => '1.16' }, - 'LIBS' => [''], # e.g., '-lm' - 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' - 'INC' => '', # e.g., '-I/usr/include/other' diff --git a/security/p5-Crypt-CBC/patches/patch-ab b/security/p5-Crypt-CBC/patches/patch-ab deleted file mode 100644 index d339b702b1e..00000000000 --- a/security/p5-Crypt-CBC/patches/patch-ab +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2001/10/02 11:52:53 mjl Exp $ - ---- CBC.pm.orig Tue Oct 2 13:38:01 2001 -+++ CBC.pm Tue Oct 2 13:42:11 2001 -@@ -1,6 +1,6 @@ - package Crypt::CBC; - --use MD5; -+use Digest::MD5; - use Carp; - use strict; - use vars qw($VERSION); -@@ -28,9 +28,9 @@ - - # the real key is computed from the first N bytes of the - # MD5 hash of the provided key. -- my $material = MD5->hash($key); -+ my $material = Digest::MD5::md5($key); - while (length($material) < $ks + $bs) { -- $material .= MD5->hash($material); -+ $material .= Digest::MD5::md5($material); - } - - # Original implementation of SSLEay used part of the key for the IV |