Package: pdns-server
Version: 3.1-4
Severity: wishlist
Tags: patch

Some debug helper tools from the upstream source are not yet
included in any pdns package.

The tools are:
dnsreplay is a tool to replay a series of queries from a pcap file.
dnsscope does some statistics stuff
dnswascher cleans a pcap from non-DNS traffic.

Attached is a patch adding a new subpackage to the debian/control file
and a patch against upstream to enable the build of these tools without 
modifying
debian/rules.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-42-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/.pc/.quilt_patches b/.pc/.quilt_patches
deleted file mode 100644
index 6857a8d..0000000
--- a/.pc/.quilt_patches
+++ /dev/null
@@ -1 +0,0 @@
-debian/patches
diff --git a/.pc/.quilt_series b/.pc/.quilt_series
deleted file mode 100644
index c206706..0000000
--- a/.pc/.quilt_series
+++ /dev/null
@@ -1 +0,0 @@
-series
diff --git a/.pc/.version b/.pc/.version
deleted file mode 100644
index 0cfbf08..0000000
--- a/.pc/.version
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/debian/control b/debian/control
index a6d5a55..32bf0eb 100644
--- a/debian/control
+++ b/debian/control
@@ -157,3 +157,18 @@ Description: lua backend for PowerDNS
 # .
 # This package contains a mongodb backend for PowerDNS.
 
+Package: pdns-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: dnsreplay dnsscope and dnswasher are tools to debug (Power)DNS Servers
+ PowerDNS is a versatile nameserver which supports a large number
+ of different backends ranging from simple zonefiles to relational
+ databases and load balancing/failover algorithms.
+ PowerDNS tries to emphasize speed and security.
+ .
+ dnsreplay is a tool to replay a series of queries from a pcap file,
+ dnsscope does some statistics stuff and dnswascher cleans a pcap from
+ non-DNS traffic.
+ .
+ These might help to debug (Power)DNS Servers.
+
diff --git a/debian/patches/enable-additional-pdns-tools b/debian/patches/enable-additional-pdns-tools
index 20f2a86..e9ef389 100644
--- a/debian/patches/enable-additional-pdns-tools
+++ b/debian/patches/enable-additional-pdns-tools
@@ -1,3 +1,8 @@
+Description: Enable the built of DNS debugging utils without
+  adding extra magic in debian/rules
+Origin: jj+deb...@borkum.net
+Copyright: public domain
+
 --- a/pdns/Makefile.am.orig	2012-08-27 16:02:24.000000000 +0200
 +++ b/pdns/Makefile.am	2012-08-27 16:36:40.126552169 +0200
 @@ -24,10 +24,10 @@
diff --git a/debian/patches/series b/debian/patches/series
index 33e33f1..2e22061 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ upstream-2608
 upstream-2609+2612
 upstream-2611
 upstream-2622
+enable-additional-pdns-tools

Reply via email to