Skip site navigation (1)Skip section navigation (2)
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:   ports/41786: New Port: libfiredns
Message-ID:  <200208191647.SAA21736@mailhub5.isdnet.net>

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

>Number:         41786
>Category:       ports
>Synopsis:       New Port: libfiredns
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 19 09:50:02 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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