]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Removed some debian specifics
authorAki Tuomi <cmouse@cmouse.fi>
Tue, 14 May 2013 19:44:57 +0000 (22:44 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Tue, 14 May 2013 20:01:17 +0000 (23:01 +0300)
debian/pdns-server.install
debian/pdns-server.manpages
debian/pdns-server.postinst
debian/pdns-server.postrm

index a8c9b4f1cb0e829432f8026a6312d25151f7297f..ed942c7340c1dab4a53a5e4e2bbf172a12e46f5a 100644 (file)
@@ -1,7 +1,9 @@
 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/
index 0715169e28f4cf43acd93cefcd784467f3088a38..c3510f882391618779bc541758cebfcc4523759f 100644 (file)
@@ -1,6 +1,4 @@
 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
index 41c904271d5aceeb3392c34093ccd0afe586c538..9d770101f53412b2abea72dada7a11fff8d0d6d1 100644 (file)
@@ -15,11 +15,9 @@ fi
 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
@@ -35,7 +33,6 @@ 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
@@ -60,19 +57,17 @@ case "$1" in
     # 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
   ;;
 
index f16428f04bba3bcd5fcbdaebb8dfa6043ab20fa7..640e5f0ffc52e7f7130f9c678f77a35f27c8ec60 100644 (file)
@@ -14,15 +14,12 @@ case "$1" in
     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
   ;;