debian/tmp/usr/bin/pdns_control usr/bin/
debian/tmp/usr/bin/zone2sql usr/bin/
debian/tmp/usr/bin/zone2json usr/bin/
+debian/tmp/usr/bin/zone2ldap usr/bin/
debian/tmp/usr/bin/pdnssec usr/bin/
+debian/tmp/usr/bin/dnsreplay usr/bin/
debian/tmp/usr/sbin/pdns_server usr/sbin/
debian/config/pdns.conf usr/share/pdns-server/
debian/default/pdns usr/share/pdns-server/
debian/tmp/usr/share/man/man8/dnsreplay.8
-debian/tmp/usr/share/man/man8/dnsscope.8
-debian/tmp/usr/share/man/man8/dnswasher.8
debian/tmp/usr/share/man/man8/pdns_control.8
debian/tmp/usr/share/man/man8/pdnssec.8
debian/tmp/usr/share/man/man8/pdns_server.8
if [ -z "$PDNSDIR" ]; then
PDNSDIR=/etc/powerdns/pdns.d
fi
-PDNSLOCAL=$PDNSDIR/pdns.local
# Temporary files
PDNSCONFTEMP=`mktemp`
-PDNSLOCALTEMP=`mktemp`
PDNSDEFAULTTEMP=`mktemp`
case "$1" in
# Fill the temporary files with config items.
cat /usr/share/pdns-server/pdns.conf > $PDNSCONFTEMP
- cat /usr/share/pdns-server/pdns.local > $PDNSLOCALTEMP
cat /usr/share/pdns-server/pdns > $PDNSDEFAULTTEMP
# Do we listen on a specified address
# Install the new configuration files if the user wants it.
ucf --debconf-ok $PDNSCONFTEMP $PDNSCONF
ucf --debconf-ok $PDNSDEFAULTTEMP $PDNSDEFAULT
- ucf --debconf-ok $PDNSLOCALTEMP $PDNSLOCAL
# Stop the debconf stuff
db_stop || true
# Clean up temporary files.
- rm -f $PDNSCONFTEMP $PDNSDEFAULTTEMP $PDNSLOCALTEMP
+ rm -f $PDNSCONFTEMP $PDNSDEFAULTTEMP
# There could be passwords in these files. PowerDNS first reads the
# configuration files and then drop root privileges.
if [ -z "$2" ]; then
- chmod 0600 $PDNSCONF $PDNSLOCAL
- chmod 0700 $PDNSDIR
+ chmod 0600 $PDNSCONF
fi
;;
for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do
rm -f /etc/powerdns/pdns.conf$ext
rm -f /etc/default/pdns$ext
- rm -f /etc/powerdns/pdns.d/pdns.local$ext
done
rm -f /etc/powerdns/pdns.conf
rm -f /etc/default/pdns
- rm -f /etc/powerdns/pdns.d/pdns.local
if [ -x /usr/bin/ucf ]; then
ucf --purge /etc/powerdns/pdns.conf
ucf --purge /etc/default/pdns
- ucf --purge /etc/powerdns/pdns.d/pdns.local
fi
;;