NetBSD Problem Report #23172

Received: (qmail 13869 invoked by uid 605); 16 Oct 2003 20:38:54 -0000
Message-Id: <20031016203853.5777011153@narn.netbsd.org>
Date: Thu, 16 Oct 2003 20:38:53 +0000 (UTC)
From: roskens@elfin.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: roskens@elfin.net
To: gnats-bugs@gnats.NetBSD.org
Subject: gnutls-0.8.7 fails when using libtasn1-0.2.4
X-Send-Pr-Version: www-1.0

>Number:         23172
>Category:       pkg
>Synopsis:       gnutls-0.8.7 fails when using libtasn1-0.2.4
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    jmmv
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 16 20:39:00 +0000 2003
>Closed-Date:    Sat Oct 18 08:13:55 +0000 2003
>Last-Modified:  Sat Oct 18 08:13:55 +0000 2003
>Originator:     Ron Roskens
>Release:        1.6ZC
>Organization:
>Environment:
NetBSD hysteria.tx.elfin.net 1.6ZC NetBSD 1.6ZC (GENERIC) #13: Tue Oct  7 16:29:21 CDT 2003  root@tidell.tx.elfin.net:/d/d1g/NetBSD/obj/sys/arch/i386/compile/GENERIC i386

>Description:
security/gnutls 0.8.X requires security/libtasn1<0.2.0, but pkgsrc only provides security/libtasn1=0.2.4.
>How-To-Repeat:
# cd pkgsrc/security/gnutls
# make install
# gnutls-cli-debug -p 443 www.hotmail.com
Resolving 'www.hotmail.com'...
Connecting to '207.68.172.239:443'...
Checking for TLS 1.0 support... no
Checking for SSL 3.0 support... no

>Fix:
downgrade security/libtasn1 to version 0.1.2

Index: Makefile
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/security/libtasn1/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile    17 Jul 2003 22:52:58 -0000      1.3
+++ Makefile    16 Oct 2003 20:08:37 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.3 2003/07/17 22:52:58 grant Exp $
 #

-DISTNAME=      libtasn1-0.2.4
+DISTNAME=      libtasn1-0.1.2
 CATEGORIES=    security devel
 MASTER_SITES=  ftp://ftp.gnutls.org/pub/gnutls/libtasn1/

Index: PLIST
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/security/libtasn1/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST       14 May 2003 03:23:43 -0000      1.1.1.1
+++ PLIST       16 Oct 2003 20:10:26 -0000
@@ -3,5 +3,5 @@
 lib/libtasn1.a
 lib/libtasn1.la
 lib/libtasn1.so
-lib/libtasn1.so.2
-lib/libtasn1.so.2.4
+lib/libtasn1.so.0
+lib/libtasn1.so.0.2
Index: buildlink2.mk
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/security/libtasn1/buildlink2.mk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 buildlink2.mk
--- buildlink2.mk       14 May 2003 03:23:43 -0000      1.1.1.1
+++ buildlink2.mk       16 Oct 2003 20:11:17 -0000
@@ -9,7 +9,7 @@
 LIBTASN1_BUILDLINK2_MK=        # defined

 BUILDLINK_PACKAGES+=                   libtasn1
-BUILDLINK_DEPENDS.libtasn1?=           libtasn1>=0.1.2
+BUILDLINK_DEPENDS.libtasn1?=           libtasn1>=0.1.2 libtasn1<=0.2.0
 BUILDLINK_PKGSRCDIR.libtasn1?=         ../../security/libtasn1

 EVAL_PREFIX+=  BUILDLINK_PREFIX.libtasn1=libtasn1
Index: distinfo
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/security/libtasn1/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo    14 May 2003 03:23:43 -0000      1.1.1.1
+++ distinfo    16 Oct 2003 20:09:46 -0000
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.1.1.1 2003/05/14 03:23:43 salo Exp $

-SHA1 (libtasn1-0.2.4.tar.gz) = 0cd9b054fc7c7ae49c4f86c20d37c911744538d6
-Size (libtasn1-0.2.4.tar.gz) = 354215 bytes
+SHA1 (libtasn1-0.1.2.tar.gz) = 5eb77d7e992906738ee6e678b1183c2e4624f375
+Size (libtasn1-0.1.2.tar.gz) = 346996 bytes

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jmmv 
Responsible-Changed-By: jmmv 
Responsible-Changed-When: Thu Oct 16 21:30:40 UTC 2003 
Responsible-Changed-Why:  
I'll handle this one. 

From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23172 CVS commit: pkgsrc/security/gnutls
Date: Sat, 18 Oct 2003 08:10:57 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jmmv
 Date:		Sat Oct 18 08:10:57 UTC 2003

 Modified Files:
 	pkgsrc/security/gnutls: Makefile buildlink2.mk

 Log Message:
 Make this package use the libtasn library that comes with it, instead of our
 own security/libtasn1 package, which is too new to work fine with gnutls.
 While here, add missing dependency on devel/zlib.
 Fixes PR pkg/23172; reviewed by wiz@.  Bump PKGREVISION to 1.


 To generate a diff of this commit:
 cvs rdiff -r1.3 -r1.4 pkgsrc/security/gnutls/Makefile
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/security/gnutls/buildlink2.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: jmmv 
State-Changed-When: Sat Oct 18 08:13:07 UTC 2003 
State-Changed-Why:  
I've modified gnutls to use the libtasn package that comes with it (instead of 
security/libtasn1).  Thanks. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.