NetBSD Problem Report #31405
From www@netbsd.org Tue Sep 27 16:05:22 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id AD0A563B87B; Tue, 27 Sep 2005 16:05:22 +0000 (UTC)
Message-Id: <20050927160522.AD0A563B87B@narn.netbsd.org>
Date: Tue, 27 Sep 2005 16:05:22 +0000 (UTC)
From: xtoddx@gmail.com
Reply-To: xtoddx@gmail.com
To: gnats-bugs@netbsd.org
Subject: security/ruby-openssl DragonFly fix (openssl 9.8)
X-Send-Pr-Version: www-1.0
>Number: 31405
>Category: pkg
>Synopsis: security/ruby-openssl DragonFly fix (openssl 9.8)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: taca
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Sep 27 16:06:00 +0000 2005
>Closed-Date: Thu Oct 06 10:13:52 +0000 2005
>Last-Modified: Tue Nov 15 10:26:00 +0000 2005
>Originator: Todd Willey
>Release:
>Organization:
>Environment:
>Description:
API change in openssl >= 0.9.8
reference: http://www.mail-archive.com/openssl-dev@openssl.org/msg19779.html
>How-To-Repeat:
>Fix:
patches/patch-ab:
--- ossl_x509store.c.orig 2004-12-19 08:28:32.000000000 +0000
+++ ossl_x509store.c 2005-09-27 11:47:24.000000000 +0000
@@ -538,7 +538,11 @@
if(NIL_P(time)) {
GetX509StCtx(self, store);
+#if OPENSSL_VERSION_NUMBER < 0x00908000L
store->flags &= ~X509_V_FLAG_USE_CHECK_TIME;
+#else
+ store->param->flags &= ~X509_V_FLAG_USE_CHECK_TIME;
+#endif
}
else {
long t = NUM2LONG(rb_Integer(time));
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: taca@netbsd.org
Responsible-Changed-When: Tue, 27 Sep 2005 16:08:43 +0000
Responsible-Changed-Why:
I'll take this.
From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/31405: security/ruby-openssl DragonFly fix (openssl 9.8)
Date: Wed, 28 Sep 2005 13:29:42 +0900 (JST)
In message <20050927160600.E8B5D63B885@narn.netbsd.org>
on Tue, 27 Sep 2005 16:06:00 +0000 (UTC),
xtoddx@gmail.com wrote:
> >Description:
> API change in openssl >= 0.9.8
Would you please test this patch?
--
Takahiro Kambe <taca@back-street.net>
--- ext/openssl/ossl_x509store.c.orig 2004-12-19 17:28:32.000000000 +0900
+++ ext/openssl/ossl_x509store.c
@@ -535,17 +535,11 @@ static VALUE
ossl_x509stctx_set_time(VALUE self, VALUE time)
{
X509_STORE_CTX *store;
+ long t;
- if(NIL_P(time)) {
- GetX509StCtx(self, store);
- store->flags &= ~X509_V_FLAG_USE_CHECK_TIME;
- }
- else {
- long t = NUM2LONG(rb_Integer(time));
-
- GetX509StCtx(self, store);
- X509_STORE_CTX_set_time(store, 0, t);
- }
+ t = NUM2LONG(rb_Integer(time));
+ GetX509StCtx(self, store);
+ X509_STORE_CTX_set_time(store, 0, t);
return time;
}
From: Todd Willey <xtoddx@gmail.com>
To: gnats-bugs@netbsd.org
Cc: taca@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/31405: security/ruby-openssl DragonFly fix (openssl 9.8)
Date: Wed, 28 Sep 2005 20:44:58 +0000
On 9/28/05, Takahiro Kambe <taca@back-street.net> wrote:
> The following reply was made to PR pkg/31405; it has been noted by GNATS.
> Would you please test this patch?
The patch compiled.
-todd[1]
From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/31405 CVS commit: pkgsrc/security/ruby-openssl
Date: Sun, 2 Oct 2005 06:20:47 +0000 (UTC)
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 2 06:20:47 UTC 2005
Modified Files:
pkgsrc/security/ruby-openssl: Makefile distinfo
Added Files:
pkgsrc/security/ruby-openssl/patches: patch-ab
Log Message:
Fix portability problem with newer OpenSSL (on DragonFlyBSD) reported by
PR pkg/31405 from Todd Willey.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 pkgsrc/security/ruby-openssl/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/security/ruby-openssl/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/security/ruby-openssl/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: taca@netbsd.org
State-Changed-When: Sun, 02 Oct 2005 06:25:04 +0000
State-Changed-Why:
I commit skightly diffrent changes from ruby 1.8.x's CVS.
Please test its really works.
From: Todd Willey <xtoddx@gmail.com>
To: "taca@netbsd.org" <taca@netbsd.org>
Cc: pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/31405
Date: Wed, 5 Oct 2005 17:41:23 -0400
On 10/2/05, taca@netbsd.org <taca@netbsd.org> wrote:
> Synopsis: security/ruby-openssl DragonFly fix (openssl 9.8)
>
> State-Changed-From-To: open->feedback
> State-Changed-By: taca@netbsd.org
> State-Changed-When: Sun, 02 Oct 2005 06:25:04 +0000
> State-Changed-Why:
> I commit skightly diffrent changes from ruby 1.8.x's CVS.
> Please test its really works.
It compiles fine. Should be okay to close this bug.
-todd[1]
State-Changed-From-To: feedback->closed
State-Changed-By: taca@netbsd.org
State-Changed-When: Thu, 06 Oct 2005 10:13:52 +0000
State-Changed-Why:
Submitter reported that the problem fixed.
Thanks for your problem report.
From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/31405 CVS commit: [pkgsrc-2005Q3] pkgsrc/security/ruby-openssl
Date: Tue, 15 Nov 2005 10:25:29 +0000 (UTC)
Module Name: pkgsrc
Committed By: salo
Date: Tue Nov 15 10:25:29 UTC 2005
Modified Files:
pkgsrc/security/ruby-openssl [pkgsrc-2005Q3]: Makefile distinfo
Added Files:
pkgsrc/security/ruby-openssl/patches [pkgsrc-2005Q3]: patch-ab
Log Message:
Pullup ticket 875 - requested by Takahiro Kambe
portability fix for ruby-openssl
Revisions pulled up:
- pkgsrc/security/ruby-openssl/Makefile 1.22
- pkgsrc/security/ruby-openssl/distinfo 1.9
- pkgsrc/security/ruby-openssl/patches/patch-ab 1.1
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 2 06:20:47 UTC 2005
Modified Files:
pkgsrc/security/ruby-openssl: Makefile distinfo
Added Files:
pkgsrc/security/ruby-openssl/patches: patch-ab
Log Message:
Fix portability problem with newer OpenSSL (on DragonFlyBSD) reported by
PR pkg/31405 from Todd Willey.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.21.4.1 pkgsrc/security/ruby-openssl/Makefile
cvs rdiff -r1.8 -r1.8.6.1 pkgsrc/security/ruby-openssl/distinfo
cvs rdiff -r0 -r1.2.2.1 pkgsrc/security/ruby-openssl/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.