From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 2 14:40:23 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 797B016A4F0 for ; Fri, 2 Feb 2007 14:40:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4278D13C494 for ; Fri, 2 Feb 2007 14:40:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l12EeNmN020751 for ; Fri, 2 Feb 2007 14:40:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l12EeNov020750; Fri, 2 Feb 2007 14:40:23 GMT (envelope-from gnats) Resent-Date: Fri, 2 Feb 2007 14:40:23 GMT Resent-Message-Id: <200702021440.l12EeNov020750@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Spil Oss Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C81B816A403 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/108689: [patch] bitlbee on 6.2-RELEASE with NO_INET6 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 14:40:23 -0000 >Number: 108689 >Category: misc >Synopsis: [patch] bitlbee on 6.2-RELEASE with NO_INET6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 14:40:22 GMT 2007 >Closed-Date: >Last-Modified: >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: >Unformatted: