pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/p5-Crypt-OpenSSL-RSA Updated to version 0.24.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49e90d8232f6
branches:  trunk
changeset: 528825:49e90d8232f6
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Thu May 17 16:40:18 2007 +0000

description:
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@localhost>
          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@localhost> to add support
          for SHA{224,256,384,512}

diffstat:

 security/p5-Crypt-OpenSSL-RSA/Makefile         |   5 +++--
 security/p5-Crypt-OpenSSL-RSA/distinfo         |  10 +++++-----
 security/p5-Crypt-OpenSSL-RSA/patches/patch-aa |  13 -------------
 security/p5-Crypt-OpenSSL-RSA/patches/patch-ab |  16 ++++++++++++++++
 4 files changed, 24 insertions(+), 20 deletions(-)

diffs (73 lines):

diff -r 9099bf90b021 -r 49e90d8232f6 security/p5-Crypt-OpenSSL-RSA/Makefile
--- a/security/p5-Crypt-OpenSSL-RSA/Makefile    Thu May 17 15:55:21 2007 +0000
+++ b/security/p5-Crypt-OpenSSL-RSA/Makefile    Thu May 17 16:40:18 2007 +0000
@@ -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 @@
 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 -r 9099bf90b021 -r 49e90d8232f6 security/p5-Crypt-OpenSSL-RSA/distinfo
--- a/security/p5-Crypt-OpenSSL-RSA/distinfo    Thu May 17 15:55:21 2007 +0000
+++ b/security/p5-Crypt-OpenSSL-RSA/distinfo    Thu May 17 16:40:18 2007 +0000
@@ -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 -r 9099bf90b021 -r 49e90d8232f6 security/p5-Crypt-OpenSSL-RSA/patches/patch-aa
--- a/security/p5-Crypt-OpenSSL-RSA/patches/patch-aa    Thu May 17 15:55:21 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 9099bf90b021 -r 49e90d8232f6 security/p5-Crypt-OpenSSL-RSA/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-OpenSSL-RSA/patches/patch-ab    Thu May 17 16:40:18 2007 +0000
@@ -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
+ {



Home | Main Index | Thread Index | Old Index