summaryrefslogtreecommitdiff
path: root/net/djbdns
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-01-10 03:23:49 +0000
committerhubertf <hubertf@pkgsrc.org>2001-01-10 03:23:49 +0000
commite66f7596ea9e63ae03c9dbe08f4b80084563dcb3 (patch)
tree0ba728994747adcf9a58dc9681f5e90ed6449d46 /net/djbdns
parent04d6d1a28a294700b838fbaf90374035bbf32b86 (diff)
downloadpkgsrc-e66f7596ea9e63ae03c9dbe08f4b80084563dcb3.tar.gz
20001224
ui: new dnstrace output format. ui: dnstrace shows all servers providing each ns/a line. ui: added dnstracesort. 20001225 internal: response_rstart() and response_cname() use uint32 ttl. internal: added response_hidettl(). internal: cache_get() returns ttl. internal: dnscache keeps track of ttls for aliases. ui: dnscache returns ttl unless $HIDETTL is set. ui: dnscache returns ttl 655360 for localhost et al. 20001226 ui: dnscache supports $FORWARDONLY. tnx to several people for the suggestion. tnx Dan Peterson for sample code. ui: dnscache now logs sequential query numbers, not indices. internal: revamped dnscache to separate udp from tcp. ui: dnscache reports uactive, tactive separately. ui: dnscache reports tcpopen/tcpclose by port and ip. ui: dnscache artificially times out oldest UDP query if UDP table is full, and oldest TCP connection if TCP table is full. ui: dnscache reports broken pipe when a TCP client sends FIN. 20001228 ui: dnstrace supports dd. ui: dnscache logs stats when it handles 1.0.0.127.in-addr.arpa. ui: pickdns actively refuses queries for unknown types. ui: pickdns responds to MX queries. tnx Mike Batchelor. internal: added const at various places. internal: removed some unused variables. internal: used time_t in tai_now.c. internal: used stdlib.h in alloc.c. api: split dns_domain_suffix() into suffix(), suffixpos(). internal: switched to buffer_unix*. internal: included unistd.h for various declarations. 20010103 ui: increased maximum data size from 512 bytes to 32767 bytes in tinydns, tinydns-get, axfrdns. allows big TXT records. ui: dnsmx reformats name when it prints an artificial 0 MX. 20010105 ui: increased MAXLEVEL to 5. the Internet is becoming more glueless every day. 20010106 version: djbdns 1.03.
Diffstat (limited to 'net/djbdns')
-rw-r--r--net/djbdns/Makefile44
-rw-r--r--net/djbdns/files/md58
-rw-r--r--net/djbdns/pkg/DESCR11
3 files changed, 31 insertions, 32 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile
index 26056750c6f..b164be25996 100644
--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,28 +1,27 @@
-# $NetBSD: Makefile,v 1.4 2000/12/29 16:42:54 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/10 03:23:49 hubertf Exp $
# FreeBSD Id: ports/net/djbdns/Makefile,v 1.4 2000/09/28 18:18:41 nbm Exp
-DISTNAME= djbdns-1.02
-PKGNAME= djbdns-1.02nb2
+DISTNAME= djbdns-1.03
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/djbdns/ \
ftp://cr.yp.to/djbdns/ \
ftp://ftp.innominate.org/gpa/djb/ \
http://www.hungry.com/~fn/ \
http://tinydns.org/
-DISTFILES= djbdns-1.02.tar.gz \
- djbdns-1.02-man.tar.gz \
+DISTFILES= djbdns-1.03.tar.gz \
+ djbdns-1.03-man.tar.gz \
dnscache-log.pl.txt \
tinydns-log.pl.txt
PATCH_SITES= http://www.fefe.de/dns/
-PATCHFILES= djbdns-1.02-ipv6.diff.bz2
+PATCHFILES= djbdns-1.03-ipv6.diff.bz2
PATCH_DIST_STRIP= -p1
MAINTAINER= zuntum@eik.pl
HOMEPAGE= http://cr.yp.to/djbdns.html
-EXTRACT_ONLY= djbdns-1.02.tar.gz \
- djbdns-1.02-man.tar.gz
+EXTRACT_ONLY= djbdns-1.03.tar.gz \
+ djbdns-1.03-man.tar.gz
ALL_TARGET= it
INSTALL_TARGET= setup check
@@ -35,30 +34,19 @@ post-patch:
@${ECHO} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO} "${CC} -s" > ${WRKSRC}/conf-ld
@${ECHO} "${PREFIX}" > ${WRKSRC}/conf-home
- @${SED} 's|usage: dnscache-conf acct logacct /dnscache|usage: dnscache-conf acct logacct ${PREFIX}/etc/dnscache|' \
- < ${WRKSRC}/dnscache-conf.c > ${WRKSRC}/dnscache-conf.c.done; \
- ${MV} ${WRKSRC}/dnscache-conf.c.done ${WRKSRC}/dnscache-conf.c
- @${SED} 's|usage: axfrdns-conf acct logacct /axfrdns /tinydns|usage: axfrdns-conf acct logacct ${PREFIX}/etc/axfrdns ${PREFIX}/etc/tinydns|' < ${WRKSRC}/axfrdns-conf.c > ${WRKSRC}/axfrdns-conf.c.done; \
- ${MV} ${WRKSRC}/axfrdns-conf.c.done ${WRKSRC}/axfrdns-conf.c
- @${SED} 's|usage: pickdns-conf acct logacct /pickdns|usage: pickdns-conf acct logacct ${PREFIX}/etc/pickdns|' \
- < ${WRKSRC}/pickdns-conf.c > ${WRKSRC}/pickdns-conf.c.done; \
- ${MV} ${WRKSRC}/pickdns-conf.c.done ${WRKSRC}/pickdns-conf.c
- @${SED} 's|usage: rbldns-conf acct logacct /rbldns|usage: rbldns-conf acct logacct ${PREFIX}/etc/rbldns|' \
- < ${WRKSRC}/rbldns-conf.c > ${WRKSRC}/rbldns-conf.c.done; \
- ${MV} ${WRKSRC}/rbldns-conf.c.done ${WRKSRC}/rbldns-conf.c
- @${SED} 's|usage: tinydns-conf acct logacct /tinydns|usage: tinydns-conf acct logacct ${PREFIX}/etc/tinydns|' \
- < ${WRKSRC}/tinydns-conf.c > ${WRKSRC}/tinydns-conf.c.done; \
- ${MV} ${WRKSRC}/tinydns-conf.c.done ${WRKSRC}/tinydns-conf.c
- @${SED} 's|usage: walldns-conf acct logacct /walldns|usage: walldns-conf acct logacct ${PREFIX}/etc/walldns|' \
- < ${WRKSRC}/walldns-conf.c > ${WRKSRC}/walldns-conf.c.done; \
- ${MV} ${WRKSRC}/walldns-conf.c.done ${WRKSRC}/walldns-conf.c
+
+.for i in dnscache-conf axfrdns-conf pickdns-conf rbldns-conf tinydns-conf walldns-conf
+ ${SED} 's|usage: $i acct logacct /$i|usage: $i acct logacct ${PREFIX}/etc/$i|' \
+ < ${WRKSRC}/$i.c > ${WRKSRC}/$i.c.done
+ ${MV} ${WRKSRC}/$i.c.done ${WRKSRC}/$i.c
+.endfor
post-install:
@${INSTALL} ${WRKDIR}/tinydns-log.pl ${PREFIX}/bin/tinydns-log.pl
@${INSTALL} ${WRKDIR}/dnscache-log.pl ${PREFIX}/bin/dnscache-log.pl
@${INSTALL_DATA} ${WRKSRC}/dnsroots.global ${PREFIX}/etc/dnsroots.global
- @cd ${WRKDIR}/djbdns-1.02-man && ${INSTALL_MAN} dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 dnsq.1 dnsqr.1 dnstrace.1 dnstxt.1 ${PREFIX}/man/man1
- @cd ${WRKDIR}/djbdns-1.02-man && ${INSTALL_MAN} qualification.5 ${PREFIX}/man/man5
- @cd ${WRKDIR}/djbdns-1.02-man && ${INSTALL_MAN} axfr-get.8 axfrdns.8 dnscache-conf.8 dnscache.8 pickdns-conf.8 pickdns-data.8 pickdns.8 rbldns-conf.8 rbldns-data.8 rbldns.8 tinydns-conf.8 tinydns-data.8 tinydns.8 walldns-conf.8 walldns.8 ${PREFIX}/man/man8
+ @cd ${WRKDIR}/${DISTNAME}-man && ${INSTALL_MAN} dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 dnsq.1 dnsqr.1 dnstrace.1 dnstxt.1 ${PREFIX}/man/man1
+ @cd ${WRKDIR}/${DISTNAME}-man && ${INSTALL_MAN} qualification.5 ${PREFIX}/man/man5
+ @cd ${WRKDIR}/${DISTNAME}-man && ${INSTALL_MAN} axfr-get.8 axfrdns.8 dnscache-conf.8 dnscache.8 pickdns-conf.8 pickdns-data.8 pickdns.8 rbldns-conf.8 rbldns-data.8 rbldns.8 tinydns-conf.8 tinydns-data.8 tinydns.8 walldns-conf.8 walldns.8 ${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"
diff --git a/net/djbdns/files/md5 b/net/djbdns/files/md5
index 76c39e3f565..5dab8831e0d 100644
--- a/net/djbdns/files/md5
+++ b/net/djbdns/files/md5
@@ -1,7 +1,7 @@
-$NetBSD: md5,v 1.4 2000/12/29 16:42:54 hubertf Exp $
+$NetBSD: md5,v 1.5 2001/01/10 03:23:49 hubertf Exp $
-MD5 (djbdns-1.02.tar.gz) = c27b7ffd4af1c93db96f40f6d5f793b6
-MD5 (djbdns-1.02-man.tar.gz) = 8795b414c01389aafbee2849915bd6bb
+MD5 (djbdns-1.03.tar.gz) = d756ecca7aa5a0384860eee074f8c3fa
+MD5 (djbdns-1.03-man.tar.gz) = cf8675c8d193fb9129aaec9b1ec03779
MD5 (dnscache-log.pl.txt) = ae3b02d588e943e7a0d49e1cfa27ddb5
MD5 (tinydns-log.pl.txt) = 277b2ecbd2788a5940746faa185fdaef
-MD5 (djbdns-1.02-ipv6.diff.bz2) = 3f65b1eeb00ca4cc02ed1ed2a814ee9e
+MD5 (djbdns-1.03-ipv6.diff.bz2) = d5a2fe93a677734d4f2e692844249081
diff --git a/net/djbdns/pkg/DESCR b/net/djbdns/pkg/DESCR
index 022ddb42451..3326005ab54 100644
--- a/net/djbdns/pkg/DESCR
+++ b/net/djbdns/pkg/DESCR
@@ -19,5 +19,16 @@ several components:
command-line interfaces to DNS.
* The dnsq and dnstrace programs are DNS debugging tools.
+You may also want to use:
+ * pkgsrc/net/ucspi-tcp, if you're going to use axfrdns or axfr-get
+ * tinydns logfile formatter, installed under ${PREFIX}/bin/tinydns-log.pl
+ * dnscache logfile formatter, installed under ${PREFIX}/bin/dnscache-log.pl
+ (formatters are taken from http://tinydns.org, they need perl to run]
+ * tai64nlocal (pkgsrc/sysutils/daemontools) -- to convert timestamps printed
+ out by these two formatters to human readable form
+
This package includes IPv6 patches written by Fefe,
see http://www.fefe.de/dns/ for more details.
+
+Please read http://cr.yp.to/djbdns/upgrade.html if you're upgrading from
+previous version of djbdns.