summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+ {