summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-05-17 16:40:18 +0000
committerheinz <heinz@pkgsrc.org>2007-05-17 16:40:18 +0000
commitead53f260ab889acc0ecf0cb2b06607f6bec5a4e (patch)
tree67f194d8af8521623c1ea0139b9290a7ff4c8bdd /security
parent7f5fe080ea80bfcc3fc2003b249a4b794b952311 (diff)
downloadpkgsrc-ead53f260ab889acc0ecf0cb2b06607f6bec5a4e.tar.gz
Updated to version 0.24.
Pkgsrc changes: - Package supports installation to DESTDIR. - Removed patch-aa (missing includes when using OpenSSL 0.9.8 were fixed). - patch-ab corrects wrong test count. Changes since version 0.22: ===================================== 0.24 Mon Nov 13 2006 08:21:14 - Fix a bug reported by Mark Martinec <Mark.Martinec@ijs.si> where encrypt could segfault if called with insufficient data; it now informatively croaks instead. - Fix a bug reported by Mark Martinec where check_key would segfault instead of croaking when called on a public key. - Fix decrypt and private_encrypt to croak instead of segfault when called on a public key. - Add an is_private method. - Silence a few compiler warnings about ignoring return values from certain BIO_* methods. 0.23 Wed Apr 12 2006 00:06:10 - Provide 32 bytes of seeding in tests, up from 19. - Stop relying on implicit includes, which disappeared in the 0.98 release of OpenSSL. - Apply patch from Jim Radford <radford@blackbean.org> to add support for SHA{224,256,384,512}
Diffstat (limited to 'security')
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/Makefile5
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/distinfo10
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/patches/patch-aa13
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/patches/patch-ab16
4 files changed, 24 insertions, 20 deletions
diff --git a/security/p5-Crypt-OpenSSL-RSA/Makefile b/security/p5-Crypt-OpenSSL-RSA/Makefile
index 2e32bfa3c68..38c3fbfef78 100644
--- a/security/p5-Crypt-OpenSSL-RSA/Makefile
+++ b/security/p5-Crypt-OpenSSL-RSA/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2006/02/15 22:22:19 heinz Exp $
+# $NetBSD: Makefile,v 1.11 2007/05/17 16:40:18 heinz Exp $
#
-DISTNAME= Crypt-OpenSSL-RSA-0.22
+DISTNAME= Crypt-OpenSSL-RSA-0.24
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5ors
CATEGORIES= security perl5
@@ -14,6 +14,7 @@ COMMENT= Perl5 wrapper module for the OpenSSL RSA functions
DEPENDS+= p5-Crypt-OpenSSL-Bignum-[0-9]*:../../security/p5-Crypt-OpenSSL-Bignum
DEPENDS+= p5-Crypt-OpenSSL-Random-[0-9]*:../../security/p5-Crypt-OpenSSL-Random
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/Crypt/OpenSSL/RSA/.packlist
diff --git a/security/p5-Crypt-OpenSSL-RSA/distinfo b/security/p5-Crypt-OpenSSL-RSA/distinfo
index 1c3ef7fc92a..dda7472e45d 100644
--- a/security/p5-Crypt-OpenSSL-RSA/distinfo
+++ b/security/p5-Crypt-OpenSSL-RSA/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2006/02/23 18:32:15 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/05/17 16:40:19 heinz Exp $
-SHA1 (Crypt-OpenSSL-RSA-0.22.tar.gz) = 4e3137fca2f8b258c7fd247d0af0d89c3e2a6e4e
-RMD160 (Crypt-OpenSSL-RSA-0.22.tar.gz) = efe66f06b19d4bdd51ae5df6fab6a4ab17b50cc8
-Size (Crypt-OpenSSL-RSA-0.22.tar.gz) = 10741 bytes
-SHA1 (patch-aa) = 47ce147b2c848a4452b6b8738a1df66d5c1a3656
+SHA1 (Crypt-OpenSSL-RSA-0.24.tar.gz) = d8258622fd50292d0980acd682b6522804a887a5
+RMD160 (Crypt-OpenSSL-RSA-0.24.tar.gz) = 92468e2ae97fce7c1278b25bafd7458e1c32df65
+Size (Crypt-OpenSSL-RSA-0.24.tar.gz) = 11847 bytes
+SHA1 (patch-ab) = c238c982a776a211f896667a60b4723069383abe
diff --git a/security/p5-Crypt-OpenSSL-RSA/patches/patch-aa b/security/p5-Crypt-OpenSSL-RSA/patches/patch-aa
deleted file mode 100644
index 7bd2bf74b4c..00000000000
--- a/security/p5-Crypt-OpenSSL-RSA/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/02/23 18:32:15 joerg Exp $
-
---- RSA.xs.orig 2006-02-23 18:27:55.000000000 +0000
-+++ RSA.xs
-@@ -5,6 +5,8 @@
- #include <openssl/ssl.h>
- #include <openssl/bn.h>
- #include <openssl/err.h>
-+#include <openssl/md5.h>
-+#include <openssl/ripemd.h>
-
- typedef struct
- {
diff --git a/security/p5-Crypt-OpenSSL-RSA/patches/patch-ab b/security/p5-Crypt-OpenSSL-RSA/patches/patch-ab
new file mode 100644
index 00000000000..1c15ce887f6
--- /dev/null
+++ b/security/p5-Crypt-OpenSSL-RSA/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2007/05/17 16:40:19 heinz Exp $
+
+ If use_sha512_hash is not available (with OpenSSL <0.9.8), 4*5 tests will
+ not be done.
+
+--- t/rsa.t.orig 2006-11-13 01:01:04.000000000 +0100
++++ t/rsa.t
+@@ -4,7 +4,7 @@ use Test;
+ use Crypt::OpenSSL::Random;
+ use Crypt::OpenSSL::RSA;
+
+-BEGIN { plan tests => 45 + (UNIVERSAL::can("Crypt::OpenSSL::RSA", "use_sha512_hash") ? 3*6 : 0) }
++BEGIN { plan tests => 43 + (UNIVERSAL::can("Crypt::OpenSSL::RSA", "use_sha512_hash") ? 4*5 : 0) }
+
+ sub _Test_Encrypt_And_Decrypt
+ {