Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 21:13:13 +0300 (MSK)
From:      Kostya Lukin <lukin@sapa.ivcme.elektra.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17510: new port - net/adns
Message-ID:  <200003201813.VAA63801@sapa.ivcme.elektra.ru>

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

>Number:         17510
>Category:       ports
>Synopsis:       new port - net/adns
>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 Mar 20 10:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kostya Lukin
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
IVC Mosenergo
>Environment:

	

>Description:

adns-0.7 is an easy to use, asynchronous-capable DNS client library and
utilities. I need this port to send port of Jabber - ICQ-like server.

>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:
#
#	adns
#	adns/Makefile
#	adns/files
#	adns/files/md5
#	adns/pkg
#	adns/pkg/COMMENT
#	adns/pkg/DESCR
#	adns/pkg/PLIST
#	adns/patches
#	adns/patches/patch-aa
#	adns/patches/patch-ab
#
echo c - adns
mkdir -p adns > /dev/null 2>&1
echo x - adns/Makefile
sed 's/^X//' >adns/Makefile << 'END-of-adns/Makefile'
X# New ports collection makefile for:	adns
X# Version required:		0.7
X# Date created:			Mon Mar 3, 2000
X# Whom:				Kostya Lukin <lukin@okbmei.msk.su>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	adns-0.7
XCATEGORIES=     net
XMASTER_SITES=	${MASTER_SITE_GNU} \
X		ftp://ftp.chiark.greenend.org.uk/users/ian/adns/
XMASTER_SITE_SUBDIR=	adns
X
XMAINTAINER=	lukin@okbmei.msk.su
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
X.include <bsd.port.pre.mk>
X
X.if ${PORTOBJFORMAT} != "elf"
XBROKEN=	"Requires ELF libs"
X.endif
X
Xpost-install:
X	strip ${PREFIX}/bin/adnstest ${PREFIX}/bin/adnslogres ${PREFIX}/bin/adnshost
X
X.include <bsd.port.post.mk>
END-of-adns/Makefile
echo c - adns/files
mkdir -p adns/files > /dev/null 2>&1
echo x - adns/files/md5
sed 's/^X//' >adns/files/md5 << 'END-of-adns/files/md5'
XMD5 (adns-0.7.tar.gz) = dbf31b805b3d993d116a2ef9e45b93ae
END-of-adns/files/md5
echo c - adns/pkg
mkdir -p adns/pkg > /dev/null 2>&1
echo x - adns/pkg/COMMENT
sed 's/^X//' >adns/pkg/COMMENT << 'END-of-adns/pkg/COMMENT'
XEasy to use, asynchronous-capable DNS client library and utilities
END-of-adns/pkg/COMMENT
echo x - adns/pkg/DESCR
sed 's/^X//' >adns/pkg/DESCR << 'END-of-adns/pkg/DESCR'
Xadns is a resolver library for C (and C++) programs. In contrast with
Xthe existing interfaces, gethostbyname et al and libresolv, it has the
Xfollowing features:
X
X* It is reasonably easy to use for simple programs which just want
X  to translate names to addresses, look up MX records, etc.
X* It can be used in an asynchronous, non-blocking, manner. Many
X  queries can be handled simultaneously.
X
X        [ Many features skipped... ]
X
Xadns also comes with a number of utility programs for use from the
Xcommand line and in scripts:
X
X        [ See README in distfile... ]
X
X(Technical note: adns requires a real nameserver like BIND or
XDents running on the same system or a nearby one, which must be
Xwilling to provide `recursive service'. I.e., adns is a `stub
Xresolver'.)
X
XWWW: http://www.chiark.greenend.org.uk/~ian/adns/
END-of-adns/pkg/DESCR
echo x - adns/pkg/PLIST
sed 's/^X//' >adns/pkg/PLIST << 'END-of-adns/pkg/PLIST'
Xbin/adnstest
Xbin/adnslogres
Xbin/adnshost
Xinclude/adns.h
Xlib/libadns.a
Xlib/libadns.so.0
X@exec /sbin/ldconfig -m %D/lib
X@unexec /sbin/ldconfig -R
END-of-adns/pkg/PLIST
echo c - adns/patches
mkdir -p adns/patches > /dev/null 2>&1
echo x - adns/patches/patch-aa
sed 's/^X//' >adns/patches/patch-aa << 'END-of-adns/patches/patch-aa'
X--- configure.orig	Wed Nov 24 19:57:32 1999
X+++ configure	Mon Mar 20 18:35:47 2000
X@@ -1457,7 +1457,7 @@
X 
X SHLIBFORLINK='libadns.so'
X SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
X-SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
X+SHLIBFILE='$(SHLIBSONAME)'
X 
X SHLIBCC='$(CC) $(CFLAGS) -fpic'
X MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
END-of-adns/patches/patch-aa
echo x - adns/patches/patch-ab
sed 's/^X//' >adns/patches/patch-ab << 'END-of-adns/patches/patch-ab'
X--- dynamic/Makefile.in.orig	Fri Oct 15 21:57:50 1999
X+++ dynamic/Makefile.in	Mon Mar 20 18:41:21 2000
X@@ -24,7 +24,7 @@
X srcdir=		@srcdir@
X VPATH=		@srcdir@
X 
X-TARGETS=	$(SHLIBFILE) $(SHLIBSONAME) $(SHLIBFORLINK)
X+TARGETS=	$(SHLIBFILE) $(SHLIBFORLINK)
X include		$(srcdir)/../settings.make
X include		$(srcdir)/../src/adns.make
X 
X@@ -32,16 +32,12 @@
X 
X install:
X 		$(INSTALL_PROGRAM) $(SHLIBFILE) $(lib_dir)/$(SHLIBFILE)
X-		ln -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)
X 
X uninstall:
X-		rm -f $(lib_dir)/$(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)
X+		rm -f $(lib_dir)/$(SHLIBFILE)
X 
X $(SHLIBFORLINK):
X-		ln -s $(SHLIBSONAME) $(SHLIBFORLINK)
X-
X-$(SHLIBSONAME):
X-		ln -s $(SHLIBFILE) $(SHLIBSONAME)
X+		ln -s $(SHLIBFILE) $(SHLIBFORLINK)
X 
X $(SHLIBFILE):	$(ALLOBJS)
X 		rm -f $@
END-of-adns/patches/patch-ab
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?200003201813.VAA63801>