Update to djbdns 1.02

PR:		21510
Submitted by:	Dan Peterson <danp@danp.net>
This commit is contained in:
Neil Blakey-Milner 2000-09-28 18:19:06 +00:00
parent 8bda462858
commit e0b2c29572
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33224
12 changed files with 120 additions and 58 deletions

View file

@ -5,11 +5,11 @@
# $FreeBSD$
#
PORTNAME= dnscache
PORTVERSION= 1.00
PORTNAME= djbdns
PORTVERSION= 1.02
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/dnscache/ \
ftp://cr.yp.to/dnscache/
MASTER_SITES= http://cr.yp.to/djbdns/ \
ftp://cr.yp.to/djbdns/
MAINTAINER= nbm@FreeBSD.org

View file

@ -1 +1 @@
MD5 (dnscache-1.00.tar.gz) = 67d51c5403c03f08d6ba8fff0108ab27
MD5 (djbdns-1.02.tar.gz) = c27b7ffd4af1c93db96f40f6d5f793b6

20
dns/djbdns/files/patch-aa Normal file
View file

@ -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);

11
dns/djbdns/files/patch-ab Normal file
View file

@ -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);

View file

@ -1,4 +1,4 @@
DNScache is a collection of Domain Name System tools. It includes
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
@ -20,4 +20,4 @@ several components:
* The dnsq and dnstrace programs are DNS debugging tools.
Documentation is at the website below,
WWW: http://cr.yp.to/dnscache.html
WWW: http://cr.yp.to/djbdns.html

View file

@ -1,29 +1,29 @@
etc/dnscache/VERSION
etc/dnscache/@
bin/dnscache-conf
bin/tinydns-conf
bin/walldns-conf
bin/rbldns-conf
bin/pickdns-conf
bin/axfr-get
bin/axfrdns
bin/axfrdns-conf
bin/dnscache
bin/tinydns
bin/walldns
bin/rbldns
bin/pickdns
bin/axfrdns
bin/tinydns-get
bin/tinydns-data
bin/tinydns-edit
bin/rbldns-data
bin/pickdns-data
bin/axfr-get
bin/dnscache-conf
bin/dnsfilter
bin/dnsip
bin/dnsipq
bin/dnsname
bin/dnstxt
bin/dnsmx
bin/dnsfilter
bin/dnsname
bin/dnsq
bin/random-ip
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

View file

@ -5,11 +5,11 @@
# $FreeBSD$
#
PORTNAME= dnscache
PORTVERSION= 1.00
PORTNAME= djbdns
PORTVERSION= 1.02
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/dnscache/ \
ftp://cr.yp.to/dnscache/
MASTER_SITES= http://cr.yp.to/djbdns/ \
ftp://cr.yp.to/djbdns/
MAINTAINER= nbm@FreeBSD.org

View file

@ -1 +1 @@
MD5 (dnscache-1.00.tar.gz) = 67d51c5403c03f08d6ba8fff0108ab27
MD5 (djbdns-1.02.tar.gz) = c27b7ffd4af1c93db96f40f6d5f793b6

20
net/djbdns/files/patch-aa Normal file
View file

@ -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);

11
net/djbdns/files/patch-ab Normal file
View file

@ -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);

View file

@ -1,4 +1,4 @@
DNScache is a collection of Domain Name System tools. It includes
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
@ -20,4 +20,4 @@ several components:
* The dnsq and dnstrace programs are DNS debugging tools.
Documentation is at the website below,
WWW: http://cr.yp.to/dnscache.html
WWW: http://cr.yp.to/djbdns.html

View file

@ -1,29 +1,29 @@
etc/dnscache/VERSION
etc/dnscache/@
bin/dnscache-conf
bin/tinydns-conf
bin/walldns-conf
bin/rbldns-conf
bin/pickdns-conf
bin/axfr-get
bin/axfrdns
bin/axfrdns-conf
bin/dnscache
bin/tinydns
bin/walldns
bin/rbldns
bin/pickdns
bin/axfrdns
bin/tinydns-get
bin/tinydns-data
bin/tinydns-edit
bin/rbldns-data
bin/pickdns-data
bin/axfr-get
bin/dnscache-conf
bin/dnsfilter
bin/dnsip
bin/dnsipq
bin/dnsname
bin/dnstxt
bin/dnsmx
bin/dnsfilter
bin/dnsname
bin/dnsq
bin/random-ip
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