blob: f7d35677258222d03baecab28c2b8030ee194edd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
|