Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 15:48:08 +0200 (CEST)
From:      "Herbert J. Skuhra" <herbert@bugat.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57247: security/gnutls is unusable for loudmouth/gossip, gaim and ???
Message-ID:  <20030926134808.01D351FEC@freebsd2.rocks>
Resent-Message-ID: <200309261350.h8QDoJ07013684@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57247
>Category:       ports
>Synopsis:       security/gnutls is unusable for loudmouth/gossip, gaim and ???
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 26 06:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Herbert J. Skuhra
>Release:        FreeBSD 5.1-RELEASE-p2 i386
>Organization:
BSD User Group Austria
>Environment:
System: FreeBSD freebsd2.rocks 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #2: Fri Sep 12 15:51:06 CEST 2003 herbert@freebsd2.rocks:/usr/obj/usr/src/sys/PC1 i386


>Description:
	net/(loudmouth|gossip) and net/gaim only provides functional SSL support when security/gnutls is build with "--with-included-libtasn1"

>How-To-Repeat:
	cd /usr/ports/net/gossip
	make -DWITH_GNUTLS install clean
	rehash
	gossip &
	try to connect to a jabber server over SSL on port 5223

	connection fails and error message displayed
	GNUTLS ERROR: ASN1 parser: Element was not found.
	Only unencrypted connection works.

	Same goes for net/gaim (see my other pr):
	gnutls: Handshaking
	gnutls: Handshake failed

	Or do you think there is a better fix for gnutls?
>Fix:

------ patch ------

diff -ruN gnutls.bak/Makefile gnutls/Makefile
--- gnutls.bak/Makefile	Fri Sep 26 15:32:44 2003
+++ gnutls/Makefile	Fri Sep 26 15:33:24 2003
@@ -18,7 +18,6 @@
 COMMENT=	GNU Transport Layer Security library
 
 LIB_DEPENDS=	gcrypt.6:${PORTSDIR}/security/libgcrypt \
-		tasn1.2:${PORTSDIR}/security/libtasn1 \
 		opencdk.6:${PORTSDIR}/security/opencdk
 
 USE_LIBTOOL=	yes
@@ -27,6 +26,7 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS=		--with-included-libtasn1
 
 DOCS=		AUTHORS NEWS README THANKS doc/tex/*.ps
 EXAMPLES=	doc/examples/*.c

------ end of patch ------
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030926134808.01D351FEC>