From root@fr.cw.net  Mon Aug 19 09:48:03 2002
Return-Path: <root@fr.cw.net>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 63B1537B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Aug 2002 09:48:03 -0700 (PDT)
Received: from mailhub5.isdnet.net (mailhub5.isdnet.net [195.154.209.25])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E982543E77
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Aug 2002 09:48:00 -0700 (PDT)
	(envelope-from root@fr.cw.net)
Received: from fr.cw.net ([62.4.2.201])
	by mailhub5.isdnet.net (8.9.3/8.9.3) with SMTP id SAA21736;
	Mon, 19 Aug 2002 18:47:59 +0200 (CEST)
Received: by fr.cw.net (sSMTP sendmail emulation); Mon, 19 Aug 2002 16:47:59 +0000
Message-Id: <200208191647.SAA21736@mailhub5.isdnet.net>
Date: Mon, 19 Aug 2002 16:47:59 +0000
From: Charlie & <root@fr.cw.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Xavier Beaudouin <kiwi@caudium.net>
Subject: New Port: libfiredns
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41786
>Category:       ports
>Synopsis:       New Port: libfiredns
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 19 09:50:02 PDT 2002
>Closed-Date:    Fri Aug 23 15:43:16 GMT 2002
>Last-Modified:  Fri Aug 23 15:43:16 GMT 2002
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
Cable & Wireless / The Caudium Group
>Environment:
System: FreeBSD jumpstart-test2.fr.cw.net 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Mon Aug 19 13:11:45 GMT 2002 root@jumpstart-test2.fr.cw.net:/usr/src/sys/compile/46_MLY_SMP i386

Port tree from plain install.
>Description:
 
 libfiredns is needed for compiling/porting messagewall software. Here is
 a port.
 Note: This port depends of libfirestring port to be compiled.

>How-To-Repeat:
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libfiredns
#	libfiredns/Makefile
#	libfiredns/distinfo
#	libfiredns/pkg-plist
#	libfiredns/pkg-descr
#	libfiredns/pkg-comment
#	libfiredns/files
#	libfiredns/files/patch-aa
#
echo c - libfiredns
mkdir -p libfiredns > /dev/null 2>&1
echo x - libfiredns/Makefile
sed 's/^X//' >libfiredns/Makefile << 'END-of-libfiredns/Makefile'
X# New ports collection makefile for:	libfiredns
X# Date created:				19 Aug 2002
X# Whom:					Xavier Beaudouin <xbeaudouin@fr.cw.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libfiredns
XPORTVERSION=	0.1.28
XCATEGORIES=	devel
XMASTER_SITES=	http://www.messagewall.org/download/
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	firedns-${PORTVERSION}
X
XMAINTAINER=	xbeaudouin@fr.cw.net
X
XLIB_DEPENDS=	firestring.0:${PORTSDIR}/devel/libfirestring/
X
XWRKSRC=		${WRKDIR}/firedns/
X
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
X
XUSE_GMAKE=	yes
X
XMAN3=		firedns_aton4.3	firedns_aton6.3 firedns_dnsbl_lookup.3 \
X		firedns_getip4.3 firedns_getip6.3 firedns_getmx.3 \
X		firedns_getname4.3 firedns_getname6.3 firedns_getresult.3 \
X		firedns_gettxt.3 firedns_ntoa4.3 firedns_ntoa6.3 \
X		firedns_resolveip4.3 firedns_resolveip6.3 \
X		firedns_resolvemx.3 firedns_resolvename4.3 \
X		firedns_resolvename6.3 firedns_resolvetxt.3 libfiredns.3
X
XMANCOMPRESSED=	no
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X	@cd ${PREFIX}/lib ; ${MV} libfiredns.so libfiredns.so.0; \
X	${LN} -s libfiredns.so.0 libfiredns.so
X
X.include <bsd.port.post.mk>
END-of-libfiredns/Makefile
echo x - libfiredns/distinfo
sed 's/^X//' >libfiredns/distinfo << 'END-of-libfiredns/distinfo'
XMD5 (firedns-0.1.28.tar.gz) = e282b325b751593939af35b117e2939d
END-of-libfiredns/distinfo
echo x - libfiredns/pkg-plist
sed 's/^X//' >libfiredns/pkg-plist << 'END-of-libfiredns/pkg-plist'
Xinclude/firedns.h
Xlib/libfiredns.a
Xlib/libfiredns.so
Xlib/libfiredns.so.0
END-of-libfiredns/pkg-plist
echo x - libfiredns/pkg-descr
sed 's/^X//' >libfiredns/pkg-descr << 'END-of-libfiredns/pkg-descr'
Xlibfiredns is a library for handling asynchronous DNS
Xrequests.  It provides a very simple interface for sending
Xrequests and parsing reponses, as well as low-timeout
Xblocking functions.  It can also be compiled to override
Xthe BIND/LIBC functions with its alternative implementations.
Xlibfiredns functions have much lower timeouts than the stock
Xfunctions and tend to be faster because they send requests
Xto all configured system nameservers at the same time.
X
XWWW: http://www.messagewall.org/firedns.html
END-of-libfiredns/pkg-descr
echo x - libfiredns/pkg-comment
sed 's/^X//' >libfiredns/pkg-comment << 'END-of-libfiredns/pkg-comment'
XLibrary giving asynchronous DNS requests handler
END-of-libfiredns/pkg-comment
echo c - libfiredns/files
mkdir -p libfiredns/files > /dev/null 2>&1
echo x - libfiredns/files/patch-aa
sed 's/^X//' >libfiredns/files/patch-aa << 'END-of-libfiredns/files/patch-aa'
X--- configure.old	Mon Aug 19 16:14:00 2002
X+++ configure	Mon Aug 19 16:15:01 2002
X@@ -529,22 +529,22 @@
X 
X $ECHO -n "	adding rule to install static libraries..."
X $ECHO "install-static: $STATIC" >> Makefile
X-$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
X+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
X $ECHO "done"
X for LIBRARY in $STATIC; do
X 	$ECHO -n "	adding rule to install static library $LIBRARY..."
X-	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
X+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
X 	$ECHO "done"
X done;
X $ECHO >> Makefile
X 
X $ECHO -n "	adding rule to install shared libraries..."
X $ECHO "install-shared: $STATIC" >> Makefile
X-$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
X+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
X $ECHO "done"
X for LIBRARY in $SHARED; do
X 	$ECHO -n "	adding rule to install shared library $LIBRARY..."
X-	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
X+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
X 	$ECHO "done"
X done;
X $ECHO >> Makefile
END-of-libfiredns/files/patch-aa
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: perky 
State-Changed-When: Fri Aug 23 15:40:35 GMT 2002 
State-Changed-Why:  
We have this in net/firedns already. Thank you for submitting. 

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