pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/p5-Crypt-SSLeay help this to build on modern ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cb10bf0d067
branches:  trunk
changeset: 564400:3cb10bf0d067
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Wed Sep 02 11:43:30 2009 +0000

description:
help this to build on modern OpenSSL versions (as included in NetBSD-current)
by redefining BLOCK->osslBLOCK as was done in security/p5-Net-SSLeay

diffstat:

 security/p5-Crypt-SSLeay/distinfo         |   3 ++-
 security/p5-Crypt-SSLeay/patches/patch-aa |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 9a493618a588 -r 3cb10bf0d067 security/p5-Crypt-SSLeay/distinfo
--- a/security/p5-Crypt-SSLeay/distinfo Wed Sep 02 11:38:13 2009 +0000
+++ b/security/p5-Crypt-SSLeay/distinfo Wed Sep 02 11:43:30 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2007/11/29 14:16:37 wiz Exp $
+$NetBSD: distinfo,v 1.8 2009/09/02 11:43:30 plunky Exp $
 
 SHA1 (Crypt-SSLeay-0.57.tar.gz) = 6e83137fac79a37346a5f862b6d6cf3fdeefe721
 RMD160 (Crypt-SSLeay-0.57.tar.gz) = 81b9f9da6a74f39e14bce176249b3c30f667912d
 Size (Crypt-SSLeay-0.57.tar.gz) = 122980 bytes
+SHA1 (patch-aa) = ada70c84a3dce44871d9c5b1846c488a2e038606
diff -r 9a493618a588 -r 3cb10bf0d067 security/p5-Crypt-SSLeay/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-SSLeay/patches/patch-aa Wed Sep 02 11:43:30 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.4 2009/09/02 11:43:31 plunky Exp $
+
+add a workaround for openssl versions that redefine the BLOCK type
+
+--- SSLeay.xs.orig     2009-09-02 12:23:55.000000000 +0100
++++ SSLeay.xs
+@@ -18,6 +18,7 @@ extern "C" {
+ #define PERL5 1
+ #endif
+ 
++#define BLOCK osslBLOCK
+ /* ssl.h or openssl/ssl.h is included from the crypt_ssleay_version
+  * file which is written when building with perl Makefile.PL
+  * #include "ssl.h"



Home | Main Index | Thread Index | Old Index