From wahjava@gmail.com  Wed Aug 19 09:51:51 2009
Return-Path: <wahjava@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B8D561065690
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Aug 2009 09:51:51 +0000 (UTC)
	(envelope-from wahjava@gmail.com)
Received: from mail-px0-f180.google.com (mail-px0-f180.google.com [209.85.216.180])
	by mx1.freebsd.org (Postfix) with ESMTP id 77B248FC3F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Aug 2009 09:51:51 +0000 (UTC)
Received: by pxi10 with SMTP id 10so2517208pxi.28
        for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Aug 2009 02:51:51 -0700 (PDT)
Received: by 10.115.115.14 with SMTP id s14mr7227746wam.189.1250675509849;
        Wed, 19 Aug 2009 02:51:49 -0700 (PDT)
Received: from chateau.d.lf ([122.162.182.214])
        by mx.google.com with ESMTPS id m17sm14829787waf.3.2009.08.19.02.51.47
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 19 Aug 2009 02:51:49 -0700 (PDT)
Received: by chateau.d.lf (Postfix, from userid 1001)
	id 444384BA7E; Wed, 19 Aug 2009 15:21:36 +0530 (IST)
Message-Id: <20090819095136.444384BA7E@chateau.d.lf>
Date: Wed, 19 Aug 2009 15:21:36 +0530 (IST)
From: Ashish SHUKLA <wahjava@gmail.com>
Reply-To: Ashish SHUKLA <wahjava@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] irc/bitlbee-otr is not doing SRV lookups for XMPP protocol
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 19 10:00:04 UTC 2009
>Closed-Date:    Sat Sep 19 12:52:31 UTC 2009
>Last-Modified:  Sat Sep 19 13:00:20 UTC 2009
>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:

From: wahjava@gmail.com (Ashish SHUKLA)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137959: [PATCH] irc/bitlbee-otr is not doing SRV lookups for XMPP protocol
Date: Fri, 21 Aug 2009 10:59:48 +0530

 --=-=-=
 Content-Type: multipart/signed; boundary="==-=-=";
 	micalg=pgp-sha1; protocol="application/pgp-signature"
 
 --==-=-=
 Content-Transfer-Encoding: quoted-printable
 
 Please discard the old diff file. The attached diff file has
 MASTERS_SITE set to MASTER_SITE_FREEBSD as the distfile is already
 uploaded to the FreeBSD FTP servers.
 
 Thanks
 =2D-=20
 Ashish SHUKLA
 
 --==-=-=
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.12 (FreeBSD)
 
 iEYEARECAAYFAkqOMNAACgkQHy+EEHYuXnRjbACggnbNnKWEUbUXhIKTW/8N7tdR
 y7YAoIHcWDnI2jDRShULDIJbNIg0YDqp
 =xugt
 -----END PGP SIGNATURE-----
 --==-=-=--
 
 --=-=-=
 Content-Type: text/x-diff
 Content-Disposition: attachment; filename=bitlbee-otr.diff
 Content-Description: bitlbee-otr diff file
 
 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 23:11:59.000000000 +0530
 @@ -7,9 +7,9 @@
  
  PORTNAME=	bitlbee-otr
  PORTVERSION=	1.2.3
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	irc
 -MASTER_SITES=	http://wahjava.googlepages.com/
 +MASTER_SITES=	${MASTER_SITE_FREEBSD}
  
  MAINTAINER=	wahjava@gmail.com
  COMMENT=	An IRC to other chat networks gateway with support for OTR
 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"
 + 
 
 --=-=-=--
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Sep 19 12:52:30 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137959: commit references a PR
Date: Sat, 19 Sep 2009 12:52:36 +0000 (UTC)

 miwi        2009-09-19 12:52:23 UTC
 
   FreeBSD ports repository
 
   Modified files:
     irc/bitlbee-otr      Makefile 
   Added files:
     irc/bitlbee-otr/files patch-configure 
   Log:
   - Fix performing SRV DNS records lookup for XMPP domain
     names.
   
   PR:             137959
   Submitted by:   Ashish SHUKLA <wahjava@gmail.com> (maintainer)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.50      +2 -2      ports/irc/bitlbee-otr/Makefile
   1.6       +22 -0     ports/irc/bitlbee-otr/files/patch-configure (new)
 _______________________________________________
 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:
