pkgsrc/net/djbdns-run/INSTALL
schmonz 01f641147d Initial import of djbdns-run, a package that provides NetBSD-style
rc.d scripts (inspired by Bennett Todd's Linux init.d scripts) to
run djbdns services. It also includes Jonathan de Boyne Pollard's
dnscache-showctl and tinydns-showctl scripts.
2004-09-01 20:13:04 +00:00

26 lines
455 B
Text

psmsg='#
# This file was auto-generated by pkgsrc.'
case ${STAGE} in
POST-INSTALL)
cd ${PKG_SYSCONFDIR}/axfrdns
if ! [ -s tcp ]; then
${ECHO} ':allow,AXFR=""' > tcp
${ECHO} "$psmsg" >> tcp
${CHMOD} 644 tcp
fi
${LOCALBASE}/bin/tcprules tcp.cdb tcp.tmp < tcp
${CHMOD} 644 tcp.cdb
cd ${PKG_SYSCONFDIR}/dnscache
${TOUCH} ip/127.0.0.1
${CHMOD} 644 ip/127.0.0.1
if ! [ -s servers/@ ]; then
${CP} ../dnsroots.global servers/@
fi
;;
esac