Install /etc/dnsroots.global automatically if it does not exist,

or else print a big shiny warning.
This commit is contained in:
camield 2001-02-02 19:34:50 +00:00
parent 923f7975fe
commit 52aff08d05
2 changed files with 3 additions and 7 deletions

View File

@ -1,12 +1,6 @@
Help on configuration: ${HOMEPAGE}
=> _Before_ running dnscache-conf you need to install the 'dnsroots'
file into /etc. This port deliberately does not touch /etc.
dnscache-conf tries /etc/dnsroots.local first, then /etc/dnsroots.global.
cp ${PREFIX}/share/djbdns/dnsroots.global /etc
=> _After_ running dnscache-conf, do the following in your new
dnscache directory to get a strong(er) random seed:

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2001/01/13 11:17:07 avsm Exp $
@comment $OpenBSD: PLIST,v 1.8 2001/02/02 19:34:51 camield Exp $
bin/axfr-get
bin/axfrdns
bin/axfrdns-conf
@ -55,4 +55,6 @@ man/man8/tinydns.8
man/man8/walldns-conf.8
man/man8/walldns.8
share/djbdns/dnsroots.global
@exec if [ -f /etc/%f ]; then echo "\n!! WARNING !!\t/etc/%f exists\n\t\tPlease verify with %D/%F" ; else /bin/cp %D/%F /etc; fi
@dirrm share/djbdns
@unexec echo "Please remove /etc/dnsroots.global manually"