diff options
author | hubertf <hubertf> | 2000-12-27 16:04:23 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-12-27 16:04:23 +0000 |
commit | b1fff726b5d07e957b1a3974a6e7c9abfa8cefcc (patch) | |
tree | 1ad58f159a07e0b37fef1e4cbf7eb1c15eb933a6 /net | |
parent | d71865b9e95b9ec73ae7c09f9e3f5c9c00aa4ec9 (diff) | |
download | pkgsrc-b1fff726b5d07e957b1a3974a6e7c9abfa8cefcc.tar.gz |
Add djbdns-1.02:
DJBDNS is a collection of Domain Name System tools. It includes
several components:
* The dnscache program is a local DNS cache. It accepts recursive DNS
queries from local clients such as web browsers. It collects
responses from remote DNS servers.
* The tinydns program is a fast, UDP-only DNS server. It makes local
DNS information available to the Internet.
* The pickdns program is a load-balancing DNS server. It points
clients to a dynamic selection of IP addresses.
* The walldns program is a reverse DNS wall. It provides matching
reverse and forward records while hiding local host information.
* The dns library handles outgoing and incoming DNS packets. It can be
used by clients such as web browsers to look up host addresses, host
names, MX records, etc. It supports asynchronous resolution.
* The dnsfilter program is a parallel IP-address-to-host-name
converter.
* The dnsip, dnsipq, dnsname, dnstxt, and dnsmx programs are simple
command-line interfaces to DNS.
* The dnsq and dnstrace programs are DNS debugging tools.
Documentation is only available on the web site, sorry.
Submitted by Tomasz Luchowski <zuntum@eik.pl> in PR 11675.
Diffstat (limited to 'net')
-rw-r--r-- | net/djbdns/Makefile | 23 | ||||
-rw-r--r-- | net/djbdns/files/md5 | 3 | ||||
-rw-r--r-- | net/djbdns/files/patch-aa | 20 | ||||
-rw-r--r-- | net/djbdns/files/patch-ab | 11 | ||||
-rw-r--r-- | net/djbdns/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/djbdns/pkg/DESCR | 22 | ||||
-rw-r--r-- | net/djbdns/pkg/MESSAGE | 1 | ||||
-rw-r--r-- | net/djbdns/pkg/PLIST | 30 |
8 files changed, 111 insertions, 0 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile new file mode 100644 index 00000000000..79bd9a273c4 --- /dev/null +++ b/net/djbdns/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/27 16:04:23 hubertf Exp $ +# FreeBSD Id: ports/net/djbdns/Makefile,v 1.4 2000/09/28 18:18:41 nbm Exp + +DISTNAME= djbdns-1.02 +CATEGORIES= net +MASTER_SITES= http://cr.yp.to/djbdns/ \ + ftp://cr.yp.to/djbdns/ + +MAINTAINER= zuntum@eik.pl +HOMEPAGE= http://cr.yp.to/djbdns.html + +ALL_TARGET= it +INSTALL_TARGET= setup check + +post-patch: + @${ECHO} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + @${ECHO} "${CC} -s" > ${WRKSRC}/conf-ld + @${ECHO} "${PREFIX}" > ${WRKSRC}/conf-home + +post-install: + @${INSTALL_DATA} ${WRKSRC}/dnsroots.global ${PREFIX}/etc/dnsroots.global + +.include "../../mk/bsd.pkg.mk" diff --git a/net/djbdns/files/md5 b/net/djbdns/files/md5 new file mode 100644 index 00000000000..8125d0d3a3e --- /dev/null +++ b/net/djbdns/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/27 16:04:23 hubertf Exp $ + +MD5 (djbdns-1.02.tar.gz) = c27b7ffd4af1c93db96f40f6d5f793b6 diff --git a/net/djbdns/files/patch-aa b/net/djbdns/files/patch-aa new file mode 100644 index 00000000000..4fb1e2a7abb --- /dev/null +++ b/net/djbdns/files/patch-aa @@ -0,0 +1,20 @@ +--- dnscache-conf.orig Sat Sep 23 17:39:21 2000 ++++ dnscache-conf.c Sat Sep 23 17:42:43 2000 +@@ -89,13 +89,13 @@ + if (chdir(auto_home) == -1) + strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": "); + +- fdrootservers = open_read("/etc/dnsroots.local"); ++ fdrootservers = open_read("etc/dnsroots.local"); + if (fdrootservers == -1) { + if (errno != error_noent) +- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: "); +- fdrootservers = open_read("/etc/dnsroots.global"); ++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.local: "); ++ fdrootservers = open_read("etc/dnsroots.global"); + if (fdrootservers == -1) +- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: "); ++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.global: "); + } + + init(dir,FATAL); diff --git a/net/djbdns/files/patch-ab b/net/djbdns/files/patch-ab new file mode 100644 index 00000000000..e608a047589 --- /dev/null +++ b/net/djbdns/files/patch-ab @@ -0,0 +1,11 @@ +--- hier.c.orig Sat Sep 23 17:37:08 2000 ++++ hier.c Sat Sep 23 17:37:52 2000 +@@ -2,7 +2,7 @@ + + void hier() + { +- c("/","etc","dnsroots.global",-1,-1,0644); ++ c(auto_home,"etc","dnsroots.global",-1,-1,0644); + + h(auto_home,-1,-1,02755); + d(auto_home,"bin",-1,-1,02755); diff --git a/net/djbdns/pkg/COMMENT b/net/djbdns/pkg/COMMENT new file mode 100644 index 00000000000..e2ba27ff806 --- /dev/null +++ b/net/djbdns/pkg/COMMENT @@ -0,0 +1 @@ +Collection of secure and reliable DNS tools by Dan Bernstein diff --git a/net/djbdns/pkg/DESCR b/net/djbdns/pkg/DESCR new file mode 100644 index 00000000000..de6ba7c36b4 --- /dev/null +++ b/net/djbdns/pkg/DESCR @@ -0,0 +1,22 @@ +DJBDNS is a collection of Domain Name System tools. It includes +several components: + + * The dnscache program is a local DNS cache. It accepts recursive DNS + queries from local clients such as web browsers. It collects + responses from remote DNS servers. + * The tinydns program is a fast, UDP-only DNS server. It makes local + DNS information available to the Internet. + * The pickdns program is a load-balancing DNS server. It points + clients to a dynamic selection of IP addresses. + * The walldns program is a reverse DNS wall. It provides matching + reverse and forward records while hiding local host information. + * The dns library handles outgoing and incoming DNS packets. It can be + used by clients such as web browsers to look up host addresses, host + names, MX records, etc. It supports asynchronous resolution. + * The dnsfilter program is a parallel IP-address-to-host-name + converter. + * The dnsip, dnsipq, dnsname, dnstxt, and dnsmx programs are simple + command-line interfaces to DNS. + * The dnsq and dnstrace programs are DNS debugging tools. + +Documentation is only available on the web site, sorry. diff --git a/net/djbdns/pkg/MESSAGE b/net/djbdns/pkg/MESSAGE new file mode 100644 index 00000000000..b436cc0bf71 --- /dev/null +++ b/net/djbdns/pkg/MESSAGE @@ -0,0 +1 @@ +You will also need to install ucspi-tcp package (pkgsrc/net/ucspi-tcp) if you want to use axfrdns or axfr-get diff --git a/net/djbdns/pkg/PLIST b/net/djbdns/pkg/PLIST new file mode 100644 index 00000000000..e343cea1b24 --- /dev/null +++ b/net/djbdns/pkg/PLIST @@ -0,0 +1,30 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/27 16:04:23 hubertf Exp $ +bin/axfr-get +bin/axfrdns +bin/axfrdns-conf +bin/dnscache +bin/dnscache-conf +bin/dnsfilter +bin/dnsip +bin/dnsipq +bin/dnsmx +bin/dnsname +bin/dnsq +bin/dnsqr +bin/dnstrace +bin/dnstxt +bin/pickdns +bin/pickdns-conf +bin/pickdns-data +bin/random-ip +bin/rbldns +bin/rbldns-conf +bin/rbldns-data +bin/tinydns +bin/tinydns-conf +bin/tinydns-data +bin/tinydns-edit +bin/tinydns-get +bin/walldns +bin/walldns-conf +etc/dnsroots.global |