From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 1 20:53:42 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7E5816A4CE; Sat, 1 May 2004 20:53:42 -0700 (PDT) Received: from defiant.apana.org.au (defiant.apana.org.au [203.11.114.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id B96AD43D2D; Sat, 1 May 2004 20:53:39 -0700 (PDT) (envelope-from dean@odyssey.apana.org.au) Received: from Mushka.odyssey.apana.org.au (mushka.apana.org.au [203.11.114.10]) by defiant.apana.org.au (8.9.3/8.9.3) with ESMTP id LAA35348; Sun, 2 May 2004 11:53:36 +0800 (WST) X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Message-Id: <5.2.1.1.2.20040502115018.00aaabb8@odyssey.apana.org.au> X-Sender: dean@odyssey.apana.org.au X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Sun, 02 May 2004 11:53:34 +0800 To: Pete Fritchman , petef@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org From: Dean Hollister In-Reply-To: <200405020223.i422N2Sh064510@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: ports/65949: Upgraded Port: dns/firedns X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 03:53:42 -0000 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 + +.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 +.include 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