aboutsummaryrefslogtreecommitdiff
path: root/dns/adns
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-04-02 05:37:29 +0000
committerWill Andrews <will@FreeBSD.org>2000-04-02 05:37:29 +0000
commit63eef36fd6230244ab5eda1670ba2bede924dac0 (patch)
treee732292ec694e49eed121a217ff8e658a70e79d3 /dns/adns
parentbcaf1bc702ebd74d8f179a9124c98614c341b600 (diff)
downloadports-63eef36fd6230244ab5eda1670ba2bede924dac0.tar.gz
ports-63eef36fd6230244ab5eda1670ba2bede924dac0.zip
Notes
Diffstat (limited to 'dns/adns')
-rw-r--r--dns/adns/Makefile23
-rw-r--r--dns/adns/distinfo1
-rw-r--r--dns/adns/files/patch-aa11
-rw-r--r--dns/adns/files/patch-ab30
-rw-r--r--dns/adns/pkg-comment1
-rw-r--r--dns/adns/pkg-descr15
-rw-r--r--dns/adns/pkg-plist8
7 files changed, 89 insertions, 0 deletions
diff --git a/dns/adns/Makefile b/dns/adns/Makefile
new file mode 100644
index 000000000000..f0ea2209d6bd
--- /dev/null
+++ b/dns/adns/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: adns
+# Version required: 0.7
+# Date created: Mon Mar 3, 2000
+# Whom: Kostya Lukin <lukin@okbmei.msk.su>
+#
+# $FreeBSD$
+#
+
+DISTNAME= adns-0.7
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GNU} \
+ ftp://ftp.chiark.greenend.org.uk/users/ian/adns/
+MASTER_SITE_SUBDIR= adns
+
+MAINTAINER= lukin@okbmei.msk.su
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+post-install:
+ strip ${PREFIX}/bin/adnstest ${PREFIX}/bin/adnslogres ${PREFIX}/bin/adnshost
+
+.include <bsd.port.mk>
diff --git a/dns/adns/distinfo b/dns/adns/distinfo
new file mode 100644
index 000000000000..250b26711cdd
--- /dev/null
+++ b/dns/adns/distinfo
@@ -0,0 +1 @@
+MD5 (adns-0.7.tar.gz) = dbf31b805b3d993d116a2ef9e45b93ae
diff --git a/dns/adns/files/patch-aa b/dns/adns/files/patch-aa
new file mode 100644
index 000000000000..5dbb8a59cec4
--- /dev/null
+++ b/dns/adns/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Wed Nov 24 19:57:32 1999
++++ configure Mon Mar 20 18:35:47 2000
+@@ -1457,7 +1457,7 @@
+
+ SHLIBFORLINK='libadns.so'
+ SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
+-SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
++SHLIBFILE='$(SHLIBSONAME)'
+
+ SHLIBCC='$(CC) $(CFLAGS) -fpic'
+ MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
diff --git a/dns/adns/files/patch-ab b/dns/adns/files/patch-ab
new file mode 100644
index 000000000000..fbda698f88cc
--- /dev/null
+++ b/dns/adns/files/patch-ab
@@ -0,0 +1,30 @@
+--- dynamic/Makefile.in.orig Fri Oct 15 21:57:50 1999
++++ dynamic/Makefile.in Mon Mar 20 18:41:21 2000
+@@ -24,7 +24,7 @@
+ srcdir= @srcdir@
+ VPATH= @srcdir@
+
+-TARGETS= $(SHLIBFILE) $(SHLIBSONAME) $(SHLIBFORLINK)
++TARGETS= $(SHLIBFILE) $(SHLIBFORLINK)
+ include $(srcdir)/../settings.make
+ include $(srcdir)/../src/adns.make
+
+@@ -32,16 +32,12 @@
+
+ install:
+ $(INSTALL_PROGRAM) $(SHLIBFILE) $(lib_dir)/$(SHLIBFILE)
+- ln -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)
+
+ uninstall:
+- rm -f $(lib_dir)/$(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME)
++ rm -f $(lib_dir)/$(SHLIBFILE)
+
+ $(SHLIBFORLINK):
+- ln -s $(SHLIBSONAME) $(SHLIBFORLINK)
+-
+-$(SHLIBSONAME):
+- ln -s $(SHLIBFILE) $(SHLIBSONAME)
++ ln -s $(SHLIBFILE) $(SHLIBFORLINK)
+
+ $(SHLIBFILE): $(ALLOBJS)
+ rm -f $@
diff --git a/dns/adns/pkg-comment b/dns/adns/pkg-comment
new file mode 100644
index 000000000000..ec85d4bc47b9
--- /dev/null
+++ b/dns/adns/pkg-comment
@@ -0,0 +1 @@
+Easy to use, asynchronous-capable DNS client library and utilities
diff --git a/dns/adns/pkg-descr b/dns/adns/pkg-descr
new file mode 100644
index 000000000000..cfa788211c2c
--- /dev/null
+++ b/dns/adns/pkg-descr
@@ -0,0 +1,15 @@
+adns is a resolver library for C (and C++) programs. In contrast with
+the existing interfaces, gethostbyname et al and libresolv, it has the
+following features:
+
+* It is reasonably easy to use for simple programs which just want
+ to translate names to addresses, look up MX records, etc.
+* It can be used in an asynchronous, non-blocking, manner. Many
+ queries can be handled simultaneously.
+
+Technical note: adns requires a real nameserver like BIND or
+Dents running on the same system or a nearby one, which must be
+willing to provide `recursive service'. I.e., adns is a `stub
+resolver'.
+
+WWW: http://www.chiark.greenend.org.uk/~ian/adns/
diff --git a/dns/adns/pkg-plist b/dns/adns/pkg-plist
new file mode 100644
index 000000000000..34413637cc04
--- /dev/null
+++ b/dns/adns/pkg-plist
@@ -0,0 +1,8 @@
+bin/adnstest
+bin/adnslogres
+bin/adnshost
+include/adns.h
+lib/libadns.a
+lib/libadns.so.0
+@exec /sbin/ldconfig -m %D/lib
+@unexec /sbin/ldconfig -R