From dean@odyssey.apana.org.au  Sat Apr 24 20:36:03 2004
Return-Path: <dean@odyssey.apana.org.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 20EF716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 Apr 2004 20:36:03 -0700 (PDT)
Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BA01843D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 Apr 2004 20:36:01 -0700 (PDT)
	(envelope-from dean@odyssey.apana.org.au)
Received: (from dean@localhost)
	by odyssey.apana.org.au (8.9.3/8.9.3) id LAA76938;
	Sun, 25 Apr 2004 11:35:59 +0800 (WST)
Message-Id: <200404250335.LAA76938@odyssey.apana.org.au>
Date: Sun, 25 Apr 2004 11:35:59 +0800 (WST)
From: Dean Hollister <dean@odyssey.apana.org.au>
Reply-To: Dean Hollister <dean@odyssey.apana.org.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Upgraded Port: dns/firedns
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65949
>Category:       ports
>Synopsis:       Upgraded Port: dns/firedns
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 24 20:40:18 PDT 2004
>Closed-Date:    Sun May 02 13:06:58 CDT 2004
>Last-Modified:  Sun May 02 13:06:58 CDT 2004
>Originator:     Dean Hollister
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Australian Public Access Network Association Inc
>Environment:
System: FreeBSD odyssey.apana.org.au 4.9-STABLE FreeBSD 4.9-STABLE #1: Tue Mar 23 18:01:20 WST 2004 root@odyssey.apana.org.au:/usr/obj/usr/src/sys/ODYSSEY i386
>Description:
Upgraded Port: dns/firedns
>How-To-Repeat:
Patch to new version follows.
>Fix:
diff -ruN firedns.orig/Makefile firedns/Makefile
--- firedns.orig/Makefile	Sun Feb  1 10:05:47 2004
+++ firedns/Makefile	Sun Apr 25 11:31:22 2004
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	firedns
-PORTVERSION=	0.9.7
+PORTVERSION=	0.9.12
 CATEGORIES=	dns devel
-MASTER_SITES=	http://firestuff.org/projects/ \
+MASTER_SITES=	http://www.firestuff.org/projects/ \
 		http://www.wa.apana.org.au/~dean/sources/ \
 		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
 
@@ -17,22 +17,28 @@
 
 BUILD_DEPENDS=	${LOCALBASE}/include/firestring.h:${PORTSDIR}/misc/firestring
 
+USE_BZIP2=	yes
 HAS_CONFIGURE=	yes
-CONFIGURE_ENV=	PREFIX="${PREFIX}"
 INSTALLS_SHLIB=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-MAN3=		firedns_aton4.3 firedns_aton6.3 \
-		firedns_dnsbl_lookup.3 firedns_getip4.3 \
-		firedns_getip6.3 firedns_getmx.3 \
-		firedns_getmxlist.3 firedns_getname4.3 \
-		firedns_getname6.3 firedns_getresult.3 \
-		firedns_gettxt.3 firedns_ntoa4.3 \
-		firedns_ntoa6.3 firedns_resolveip4.3 \
-		firedns_resolveip6.3 firedns_resolvemx.3 \
-		firedns_resolvemxlist.3 firedns_resolvename4.3 \
-		firedns_resolvename6.3 firedns_resolvetxt.3 \
+MAN1=		fdnscname.1 fdnsip.1 fdnsip6.1 fdnsip6list.1 fdnsiplist.1 fdnsmx.1 \
+		fdnsmxalist.1 fdnsmxlist.1 fdnsname.1 fdnsnamep.1 fdnsspf1.1 \
+		fdnstxt.1 fdnstxtlist.1
+
+MAN3=		firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
+		firedns_free_mxalist.3 firedns_getcname.3 firedns_getip4.3 \
+		firedns_getip4list.3 firedns_getip6.3 firedns_getip6list.3 \
+		firedns_getmx.3 firedns_getmxlist.3 firedns_getname4.3 \
+		firedns_getname6.3 firedns_getresult.3 firedns_gettxt.3 \
+		firedns_gettxtlist.3 firedns_ntoa4.3 firedns_ntoa6.3 \
+		firedns_resolvecname.3 firedns_resolveip4.3 \
+		firedns_resolveip4list.3 firedns_resolveip6.3 \
+		firedns_resolveip6list.3 firedns_resolvemx.3 \
+		firedns_resolvemxalist.3  firedns_resolvemxlist.3 \
+		firedns_resolvename4.3 firedns_resolvename6.3 \
+		firedns_resolvetxt.3 firedns_resolvetxtlist.3 \
 		libfiredns.3
 
 pre-configure:
diff -ruN firedns.orig/distinfo firedns/distinfo
--- firedns.orig/distinfo	Sun Feb  1 10:05:47 2004
+++ firedns/distinfo	Sun Apr 25 11:12:09 2004
@@ -1,2 +1,2 @@
-MD5 (firedns-0.9.7.tar.gz) = dd6fbf0e3a5fbdf5761c7139987d7657
-SIZE (firedns-0.9.7.tar.gz) = 91920
+MD5 (firedns-0.9.12.tar.bz2) = f264cb8ac319d6555986c993dfeca5cf
+SIZE (firedns-0.9.12.tar.bz2) = 96535
diff -ruN firedns.orig/pkg-descr firedns/pkg-descr
--- firedns.orig/pkg-descr	Sun Feb  1 10:05:48 2004
+++ firedns/pkg-descr	Sun Apr 25 11:29:03 2004
@@ -1,13 +1,12 @@
-libfiredns is a library for handling asynchronous DNS
-requests.  It provides a very simple interface for sending
-requests and parsing reponses, as well as low-timeout
-blocking functions.  It can also be compiled to override
-the BIND/LIBC functions with its alternative implementations.
-libfiredns functions have much lower timeouts than the stock
-functions and tend to be faster because they send requests
-to all configured system nameservers at the same time.
+libfiredns is a library for handling asynchronous DNS 
+requests.  It provides a very simple interface for sending 
+requests and parsing reponses, as well as low-timeout 
+blocking functions.  libfiredns functions have much lower 
+timeouts than the stock functions and tend to be faster 
+because they send requests to all configured system 
+nameservers at the same time.
 
-WWW:	http://ares.penguinhosting.net/~ian/
+WWW: http://www.firestuff.org/
 
 - Dean
 dean@odyssey.apana.org.au
diff -ruN firedns.orig/pkg-plist firedns/pkg-plist
--- firedns.orig/pkg-plist	Sun Feb  1 10:05:48 2004
+++ firedns/pkg-plist	Sun Apr 25 11:22:32 2004
@@ -1,11 +1,19 @@
 @comment $FreeBSD: ports/dns/firedns/pkg-plist,v 1.4 2004/01/31 23:18:11 sergei Exp $
 bin/fdnsip
+bin/fdnsip6
+bin/fdnsiplist
+bin/fdnsip6list
+bin/fdnstxt
+bin/fdnstxtlist
+bin/fdnsname
+bin/fdnsnamep
 bin/fdnsmx
 bin/fdnsmxlist
-bin/fdnsname
-bin/fdnstxt
-include/firedns.h
+bin/fdnsmxalist
+bin/fdnscname
+bin/fdnsspf1
 lib/libfiredns.a
-lib/libfiredns.so
+lib/libfiredns.so.0.9.12
 lib/libfiredns.so.0
-lib/libfiredns.so.0.9.7
+lib/libfiredns.so
+include/firedns.h


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: petef 
State-Changed-When: Sat May 1 21:21:50 CDT 2004 
State-Changed-Why:  
This compiles OK on -current, but croaks on -stable: 

> ccache cc -O -pipe  -fPIC -DVERSION=""0.9.12"" -DCONFDIR=""/usr/local/etc"" -DBINDIR=""/usr/local/bin"" -DSBINDIR=""/usr/local/sbin"" -DLIBDIR=""/usr/lib"" -DMANDIR=""/usr/local/man"" -c -o firestring.o firestring.c 
> firestring.c: In function `firestring_fprintf': 
> firestring.c:375: invalid lvalue in unary `&' 
> firestring.c: In function `firestring_printf': 
> firestring.c:395: invalid lvalue in unary `&' 
> [...] 

Perhaps we need to modify the syntax, or depend on gcc3? 

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

From: Dean Hollister <dean@odyssey.apana.org.au>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/65949: Upgraded Port: dns/firedns
Date: Sun, 02 May 2004 12:08:06 +0800

 At 21:23 01/05/2004 -0500, Pete Fritchman wrote:
 
 >This compiles OK on -current, but croaks on -stable:
 >
 > > ccache cc -O -pipe  -fPIC -DVERSION="\"0.9.12\"" 
 > -DCONFDIR="\"/usr/local/etc\"" -DBINDIR="\"/usr/local/bin\"" 
 > -DSBINDIR="\"/usr/local/sbin\"" -DLIBDIR="\"/usr/lib\"" 
 > -DMANDIR="\"/usr/local/man\"" -c -o firestring.o firestring.c
 > > firestring.c: In function `firestring_fprintf':
 > > firestring.c:375: invalid lvalue in unary `&'
 > > firestring.c: In function `firestring_printf':
 > > firestring.c:395: invalid lvalue in unary `&'
 > > [...]
 >
 >Perhaps we need to modify the syntax, or depend on gcc3?
 
 Yes, you're right ... it requires at least gcc32, as firestring is compiled 
 with gcc3 upwards.
 
 Revised patch is below.
 
 Regards,
 
 d.
 
 
 
 diff -ruN firedns.orig/Makefile firedns/Makefile
 --- firedns.orig/Makefile       Sun Feb  1 10:05:47 2004
 +++ firedns/Makefile    Sun May  2 11:46:47 2004
 @@ -6,9 +6,9 @@
   #
 
   PORTNAME=      firedns
 -PORTVERSION=   0.9.7
 +PORTVERSION=   0.9.12
   CATEGORIES=    dns devel
 -MASTER_SITES=  http://firestuff.org/projects/ \
 +MASTER_SITES=  http://www.firestuff.org/projects/ \
                  http://www.wa.apana.org.au/~dean/sources/ \
                  ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
 
 @@ -17,25 +17,39 @@
 
   BUILD_DEPENDS= ${LOCALBASE}/include/firestring.h:${PORTSDIR}/misc/firestring
 
 +USE_BZIP2=     yes
   HAS_CONFIGURE= yes
 -CONFIGURE_ENV= PREFIX="${PREFIX}"
   INSTALLS_SHLIB=        yes
 
 +.include <bsd.port.pre.mk>
 +
 +.if ${OSVERSION} < 500000
 +USE_GCC=       3.2
 +.else
 +USE_GCC=       yes
 +.endif
 +
   WRKSRC=                ${WRKDIR}/${PORTNAME}
 
 -MAN3=          firedns_aton4.3 firedns_aton6.3 \
 -               firedns_dnsbl_lookup.3 firedns_getip4.3 \
 -               firedns_getip6.3 firedns_getmx.3 \
 -               firedns_getmxlist.3 firedns_getname4.3 \
 -               firedns_getname6.3 firedns_getresult.3 \
 -               firedns_gettxt.3 firedns_ntoa4.3 \
 -               firedns_ntoa6.3 firedns_resolveip4.3 \
 -               firedns_resolveip6.3 firedns_resolvemx.3 \
 -               firedns_resolvemxlist.3 firedns_resolvename4.3 \
 -               firedns_resolvename6.3 firedns_resolvetxt.3 \
 +MAN1=          fdnscname.1 fdnsip.1 fdnsip6.1 fdnsip6list.1 fdnsiplist.1 
 fdnsmx.1 \
 +               fdnsmxalist.1 fdnsmxlist.1 fdnsname.1 fdnsnamep.1 fdnsspf1.1 \
 +               fdnstxt.1 fdnstxtlist.1
 +
 +MAN3=          firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
 +               firedns_free_mxalist.3 firedns_getcname.3 firedns_getip4.3 \
 +               firedns_getip4list.3 firedns_getip6.3 firedns_getip6list.3 \
 +               firedns_getmx.3 firedns_getmxlist.3 firedns_getname4.3 \
 +               firedns_getname6.3 firedns_getresult.3 firedns_gettxt.3 \
 +               firedns_gettxtlist.3 firedns_ntoa4.3 firedns_ntoa6.3 \
 +               firedns_resolvecname.3 firedns_resolveip4.3 \
 +               firedns_resolveip4list.3 firedns_resolveip6.3 \
 +               firedns_resolveip6list.3 firedns_resolvemx.3 \
 +               firedns_resolvemxalist.3  firedns_resolvemxlist.3 \
 +               firedns_resolvename4.3 firedns_resolvename6.3 \
 +               firedns_resolvetxt.3 firedns_resolvetxtlist.3 \
                  libfiredns.3
 
   pre-configure:
          @-${RM} ${WRKSRC}/firemake/*.orig
 
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 diff -ruN firedns.orig/distinfo firedns/distinfo
 --- firedns.orig/distinfo       Sun Feb  1 10:05:47 2004
 +++ firedns/distinfo    Sun Apr 25 11:12:09 2004
 @@ -1,2 +1,2 @@
 -MD5 (firedns-0.9.7.tar.gz) = dd6fbf0e3a5fbdf5761c7139987d7657
 -SIZE (firedns-0.9.7.tar.gz) = 91920
 +MD5 (firedns-0.9.12.tar.bz2) = f264cb8ac319d6555986c993dfeca5cf
 +SIZE (firedns-0.9.12.tar.bz2) = 96535
 diff -ruN firedns.orig/pkg-descr firedns/pkg-descr
 --- firedns.orig/pkg-descr      Sun Feb  1 10:05:48 2004
 +++ firedns/pkg-descr   Sun Apr 25 11:29:03 2004
 @@ -1,13 +1,12 @@
 -libfiredns is a library for handling asynchronous DNS
 -requests.  It provides a very simple interface for sending
 -requests and parsing reponses, as well as low-timeout
 -blocking functions.  It can also be compiled to override
 -the BIND/LIBC functions with its alternative implementations.
 -libfiredns functions have much lower timeouts than the stock
 -functions and tend to be faster because they send requests
 -to all configured system nameservers at the same time.
 +libfiredns is a library for handling asynchronous DNS
 +requests.  It provides a very simple interface for sending
 +requests and parsing reponses, as well as low-timeout
 +blocking functions.  libfiredns functions have much lower
 +timeouts than the stock functions and tend to be faster
 +because they send requests to all configured system
 +nameservers at the same time.
 
 -WWW:   http://ares.penguinhosting.net/~ian/
 +WWW: http://www.firestuff.org/
 
   - Dean
   dean@odyssey.apana.org.au
 diff -ruN firedns.orig/pkg-plist firedns/pkg-plist
 --- firedns.orig/pkg-plist      Sun Feb  1 10:05:48 2004
 +++ firedns/pkg-plist   Sun May  2 11:48:20 2004
 @@ -1,11 +1,19 @@
   @comment $FreeBSD: ports/dns/firedns/pkg-plist,v 1.4 2004/01/31 23:18:11 
 sergei Exp $
 +bin/fdnscname
   bin/fdnsip
 +bin/fdnsip6
 +bin/fdnsip6list
 +bin/fdnsiplist
   bin/fdnsmx
 +bin/fdnsmxalist
   bin/fdnsmxlist
   bin/fdnsname
 +bin/fdnsnamep
 +bin/fdnsspf1
   bin/fdnstxt
 +bin/fdnstxtlist
   include/firedns.h
   lib/libfiredns.a
   lib/libfiredns.so
   lib/libfiredns.so.0
 -lib/libfiredns.so.0.9.7
 +lib/libfiredns.so.0.9.12
 
 
 
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: petef 
State-Changed-When: Sun May 2 13:06:17 CDT 2004 
State-Changed-Why:  
Committed, thanks.  I kept pkg-plist sorted, too. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65949 
>Unformatted:
