ports/57247: security/gnutls is unusable for loudmouth/gossip, gaim and ???

Herbert J. Skuhra herbert at bugat.at
Fri Sep 26 13:50:21 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list