Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2009 15:21:36 +0530 (IST)
From:      Ashish SHUKLA <wahjava@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/137959: [PATCH] irc/bitlbee-otr is not doing SRV lookups for XMPP protocol
Message-ID:  <20090819095136.444384BA7E@chateau.d.lf>
Resent-Message-ID: <200908191000.n7JA043G037790@freefall.freebsd.org>

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

>Number:         137959
>Category:       ports
>Synopsis:       [PATCH] irc/bitlbee-otr is not doing SRV lookups for XMPP protocol
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 19 10:00:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ashish SHUKLA
>Release:        FreeBSD 8.0-BETA2 amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.lf 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Wed Jul 15 21:48:41 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
bitlbee-otr is not performing SRV DNS records lookup for XMPP domain
names. The attached diff fixes this.

Is it possible for the committer to upload the distfile of this port
to FreeBSD.org's ftp server as Google is shutting down gogglepages.com
service soon, and I don't have another place to host.

Thanks in advance.
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/irc/bitlbee-otr/Makefile bitlbee-otr/Makefile
--- /usr/ports/irc/bitlbee-otr/Makefile	2009-08-18 05:35:25.000000000 +0530
+++ bitlbee-otr/Makefile	2009-08-19 15:17:54.000000000 +0530
@@ -7,7 +7,7 @@
 
 PORTNAME=	bitlbee-otr
 PORTVERSION=	1.2.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	irc
 MASTER_SITES=	http://wahjava.googlepages.com/
 
diff -urN /usr/ports/irc/bitlbee-otr/files/patch-configure bitlbee-otr/files/patch-configure
--- /usr/ports/irc/bitlbee-otr/files/patch-configure	1970-01-01 05:30:00.000000000 +0530
+++ bitlbee-otr/files/patch-configure	2009-08-19 14:59:56.000000000 +0530
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -350,13 +350,11 @@
+ 
+ echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
+ 
+-for i in $systemlibdirs; do
+-	if [ -f $i/libresolv.a ]; then
++if [ "$arch" = FreeBSD ]; then
++	if [ `strings /lib/libc.so.* |grep res_query |wc -l` -gt 0 ]; then
+ 		echo '#define HAVE_RESOLV_A' >> config.h
+-		echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
+-		break
+ 	fi
+-done
++fi
+ 
+ STORAGES="text xml"
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



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