From nobody@FreeBSD.org  Fri Feb  2 14:35:42 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C81B816A403
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Feb 2007 14:35:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id B789E13C442
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Feb 2007 14:35:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l12EZgrt056591
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 2 Feb 2007 14:35:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l12EZgBu056588;
	Fri, 2 Feb 2007 14:35:42 GMT
	(envelope-from nobody)
Message-Id: <200702021435.l12EZgBu056588@www.freebsd.org>
Date: Fri, 2 Feb 2007 14:35:42 GMT
From: Spil Oss<spil.oss@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] bitlbee on 6.2-RELEASE with NO_INET6
X-Send-Pr-Version: www-3.0

>Number:         108689
>Category:       ports
>Synopsis:       [patch] irc/bitlbee: bitlbee on 6.2-RELEASE with NO_INET6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    alepulver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 02 14:40:22 GMT 2007
>Closed-Date:    Fri Feb 16 21:00:03 GMT 2007
>Last-Modified:  Fri Feb 16 21:10:03 GMT 2007
>Originator:     Spil Oss
>Release:        FreeBSD 6.2-RELEASE
>Organization:
n.a.
>Environment:
FreeBSD somehost.somedomain.net 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Mon Jan 15 19:21:21 CET 2007     root@somehost.somedomain.net:/usr/obj/usr/src/sys/BEASTIE62  i386
>Description:
After upgrading to 6.2, the bitlbee port didn't want to connect to MSN at all, and only after 150secs to googletalk.
Finally the problem seemed to be solved by adding --ipv6 to configure
Since the port was lacking DEBUG and OPENSSL knobs as well, I added these to the Makefile
>How-To-Repeat:
Compile kernel and base-sytem without IPv6
>Fix:
add --ipv6=0 to CONFIGURE_OPTS

Patch attached with submission follows:

--- Makefile.orig	Tue Jan  2 09:54:08 2007
+++ Makefile	Fri Feb  2 14:07:16 2007
@@ -28,7 +28,10 @@
 
 OPTIONS=	MSN "Enable MSN protocol support" On \
 		LDAP "Enable LDAP authentication support" Off \
-		RECODE "Enable oscar_recode_charset" Off
+		RECODE "Enable oscar_recode_charset" Off \
+		DEBUG "Create debuggable binary" Off \
+		OPENSSL "Use openssl rather than gnutls" Off \
+		IPV6 "Compile IPV6 support" On
 
 CONFIGURE_ARGS=	--mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
 
@@ -39,12 +42,17 @@
 .endif
 
 .if !defined(WITHOUT_MSN)
-LIB_DEPENDS+=	gnutls.15:${PORTSDIR}/security/gnutls
 CONFIGURE_ARGS+=--msn=1
 .else
 CONFIGURE_ARGS+=--msn=0 --ssl=bogus
 .endif
 
+.if defined(WITH_OPENSSL)
+CONFIGURE_ARGS+=--ssl=openssl 
+.else
+LIB_DEPENDS+=	gnutls.15:${PORTSDIR}/security/gnutls
+.endif
+
 .if defined(WITH_LDAP)
 USE_OPENLDAP=	yes
 CONFIGURE_ARGS+=--ldap=${LOCALBASE}
@@ -54,6 +62,14 @@
 post-patch::
 	@cd ${WRKDIR} && \
 		${PATCH} ${PATCH_ARGS} < ${FILESDIR}/oscar-recode-patch
+.endif
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--debug=1
+.endif
+
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=--ipv6=0
 .endif
 
 pre-install:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Feb 2 14:41:48 UTC 2007 
Responsible-Changed-Why:  
Reassign to the ports team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108689 
Responsible-Changed-From-To: freebsd-ports-bugs->alepulver 
Responsible-Changed-By: alepulver 
Responsible-Changed-When: Mon Feb 5 17:07:44 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108689 
State-Changed-From-To: open->feedback 
State-Changed-By: alepulver 
State-Changed-When: Wed Feb 7 04:18:24 UTC 2007 
State-Changed-Why:  
Ask maintainer for approval. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108689 

From: Alejandro Pulver <alepulver@FreeBSD.org>
To: peter@dataloss.nl
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/108689: [patch] irc/bitlbee: bitlbee on 6.2-RELEASE with
 NO_INET6
Date: Wed, 7 Feb 2007 01:17:06 -0300

 LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpIZWxsby4N
 Cg0KQSBwYXRjaCBoYXMgYmVlbiBzdWJtaXR0ZWQgZm9yIHRoZSBwb3J0IHlvdSBtYWludGFpbiBp
 cmMvYml0bGJlZS4NCg0KSXQgaXMgaGVyZToNCmh0dHA6Ly93d3cuZnJlZWJzZC5vcmcvY2dpL3F1
 ZXJ5LXByLmNnaT9wcj1wb3J0cy8xMDg2ODkNCg0KSWYgeW91IGFwcHJvdmUgaXQgcGxlYXNlIHJl
 cGx5IHNheWluZyBzbywgb3RoZXJ3aXNlIGNvbW1lbnRzIGFyZSBhbHNvDQp3ZWxjb21lLg0KDQpC
 ZXN0IFJlZ2FyZHMsDQpBbGUNCi0tLS0tQkVHSU4gUEdQIFNJR05BVFVSRS0tLS0tDQpWZXJzaW9u
 OiBHbnVQRyB2MS40LjYgKEZyZWVCU0QpDQoNCmlEOERCUUZGeVZMUWlWMDVFcFJjUDJFUkFxOXBB
 SjQrNmNGTFROY2JyZkZJTjdWSlhNZnFzS0c1c2dDZUtOVzQNCkdiMUkrNjZxY0FjWlFHQnl6U3Iw
 NHhvPQ0KPVdVNlcNCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ0K
State-Changed-From-To: feedback->closed 
State-Changed-By: alepulver 
State-Changed-When: Fri Feb 16 20:59:54 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108689 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108689: commit references a PR
Date: Fri, 16 Feb 2007 20:59:28 +0000 (UTC)

 alepulver    2007-02-16 20:59:22 UTC
 
   FreeBSD ports repository
 
   Modified files:
     irc/bitlbee          Makefile 
   Log:
   - Add DEBUG, OPENSSL and IPV6 options.
   
   PR:             ports/108689
   Submitted by:   Spil Oss <spil.oss@gmail.com>
   Approved by:    Peter van Dijk <peter@dataloss.nl> (maintainer, timeout)
   
   Revision  Changes    Path
   1.30      +18 -2     ports/irc/bitlbee/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
