Date: Fri, 2 Feb 2007 14:35:42 GMT From: Spil Oss<spil.oss@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/108689: [patch] bitlbee on 6.2-RELEASE with NO_INET6 Message-ID: <200702021435.l12EZgBu056588@www.freebsd.org> Resent-Message-ID: <200702021440.l12EeNov020750@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702021435.l12EZgBu056588>