summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorlukem <lukem>2001-01-08 15:51:55 +0000
committerlukem <lukem>2001-01-08 15:51:55 +0000
commit4945a75d7d8ee78fa614a97f2eff1b1db5417708 (patch)
treec741871ab2ee3993868099a59652438fbea71d5d /net
parentfff5c519ea13c64807f8ac3ecb032dfec5a2a66a (diff)
downloadpkgsrc-4945a75d7d8ee78fa614a97f2eff1b1db5417708.tar.gz
adns-1.0 - Asynchronous-capable DNS client library and utilities.
Diffstat (limited to 'net')
-rw-r--r--net/adns/Makefile14
-rw-r--r--net/adns/files/md53
-rw-r--r--net/adns/pkg/COMMENT1
-rw-r--r--net/adns/pkg/DESCR27
-rw-r--r--net/adns/pkg/PLIST7
5 files changed, 52 insertions, 0 deletions
diff --git a/net/adns/Makefile b/net/adns/Makefile
new file mode 100644
index 00000000000..232e03e25ad
--- /dev/null
+++ b/net/adns/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2001/01/08 15:51:55 lukem Exp $
+#
+
+DISTNAME= adns-1.0
+CATEGORIES= net
+MASTER_SITES= http://www.chiark.greenend.org.uk/~ian/adns/ftp/
+
+MAINTAINER= lukem@netbsd.org
+HOMEPAGE= http://www.chiark.greenend.org.uk/~ian/adns/
+
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/adns/files/md5 b/net/adns/files/md5
new file mode 100644
index 00000000000..bb26494e106
--- /dev/null
+++ b/net/adns/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 2001/01/08 15:51:55 lukem Exp $
+
+MD5 (adns-1.0.tar.gz) = af4411ee10875b96c0d61f903018f438
diff --git a/net/adns/pkg/COMMENT b/net/adns/pkg/COMMENT
new file mode 100644
index 00000000000..32c7bc1e62a
--- /dev/null
+++ b/net/adns/pkg/COMMENT
@@ -0,0 +1 @@
+Asynchronous-capable DNS client library and utilities.
diff --git a/net/adns/pkg/DESCR b/net/adns/pkg/DESCR
new file mode 100644
index 00000000000..686f34b873f
--- /dev/null
+++ b/net/adns/pkg/DESCR
@@ -0,0 +1,27 @@
+adns is a DNS resolver library and a collection of utilities that use the
+library. The adns library 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.
+* Responses are decoded automatically into a natural representation
+ for a C program - there is no need to deal with DNS packet formats.
+* Sanity checking (eg, name syntax checking, reverse/forward
+ correspondence, CNAME pointing to CNAME) is performed automatically.
+* Time-to-live, CNAME and other similar information is returned in an
+ easy-to-use form, without getting in the way.
+* There is no global state in the library; resolver state is an
+ opaque data structure which the client creates explicitly. A
+ program can have several instances of the resolver.
+* Errors are reported to the application in a way that distinguishes
+ the various causes of failure properly.
+* Understands conventional resolv.conf, but this can overridden by
+ environment variables.
+* Flexibility. For example, the application can tell adns to: ignore
+ environment variables (for setuid programs), disable hostname
+ syntax sanity checks to return arbitrary data, override or ignore
+ resolv.conf in favour of supplied configuration, etc.
+* Believed to be correct ! For example, will correctly back off to
+ TCP in case of long replies or queries, or to other nameservers if
+ several are available. It has sensible handling of bad responses etc.
+
diff --git a/net/adns/pkg/PLIST b/net/adns/pkg/PLIST
new file mode 100644
index 00000000000..13c99dcae8d
--- /dev/null
+++ b/net/adns/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2001/01/08 15:51:56 lukem Exp $
+bin/adnshost
+bin/adnslogres
+bin/adnsresfilter
+include/adns.h
+lib/libadns.a
+lib/libadns.so.1.0