summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/ruby-openssl/Makefile7
-rw-r--r--security/ruby-openssl/distinfo7
-rw-r--r--security/ruby-openssl/patches/patch-aa17
3 files changed, 25 insertions, 6 deletions
diff --git a/security/ruby-openssl/Makefile b/security/ruby-openssl/Makefile
index 624babf67e0..183ba4cb567 100644
--- a/security/ruby-openssl/Makefile
+++ b/security/ruby-openssl/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2002/10/25 09:36:24 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2003/07/06 14:22:44 taca Exp $
-DISTNAME= ossl-0.1.2a
-PKGNAME= ${RUBY_PKGNAMEPREFIX}openssl-0.1.2.1
+DISTNAME= ossl-0.1.3
+PKGNAME= ${RUBY_PKGNAMEPREFIX}openssl-0.1.3
+WRKSRC= ${WRKDIR}/ossl
CATEGORIES= security
MASTER_SITES= http://freesoftware.fsf.org/download/rubypki/
diff --git a/security/ruby-openssl/distinfo b/security/ruby-openssl/distinfo
index 803b00a1d03..a2586d9e93e 100644
--- a/security/ruby-openssl/distinfo
+++ b/security/ruby-openssl/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2002/08/30 23:48:22 taca Exp $
+$NetBSD: distinfo,v 1.4 2003/07/06 14:22:44 taca Exp $
-SHA1 (ruby/ossl-0.1.2a.tar.gz) = dc3382ef0344c7463a4d60454af10e6f894980c6
-Size (ruby/ossl-0.1.2a.tar.gz) = 82993 bytes
+SHA1 (ruby/ossl-0.1.3.tar.gz) = 1dff416c64f56908f448be76128cf2a1d27f17f2
+Size (ruby/ossl-0.1.3.tar.gz) = 83282 bytes
+SHA1 (patch-aa) = 43fd0b4e97acb1351c9b9cc032c76388fdad7941
diff --git a/security/ruby-openssl/patches/patch-aa b/security/ruby-openssl/patches/patch-aa
new file mode 100644
index 00000000000..b556857c8ef
--- /dev/null
+++ b/security/ruby-openssl/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2003/07/06 14:22:44 taca Exp $
+
+--- ossl.h.orig 2002-07-23 19:45:25.000000000 +0900
++++ ossl.h
+@@ -25,9 +25,11 @@ extern "C" {
+ #include <openssl/ssl.h>
+ #include <openssl/hmac.h>
+ #include <openssl/rand.h>
+-#include <openssl/e_os.h>
+ #if defined(NT)
++# include <openssl/e_os.h>
+ # undef OpenFile
++#else
++# define MS_CALLBACK
+ #endif
+
+ #include "openssl_missing.h"