Hi,

> can you please verify the patch. I don't see any changes to upstream
> files.
you're right I messed up the diff.

-- 
Joerg Jungermann
--------------------------------------------------------------
 borkum.NET -                     | host-, post- & webmaster
       J.Jungermann & J.Stamm GbR | it security, linux, typo3
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
new file mode 100644
index 0000000..e9ef389
--- /dev/null
+++ b/debian/patches/enable-additional-pdns-tools
@@ -0,0 +1,20 @@
+Description: Enable the built of DNS debugging utils without
+  adding extra magic in debian/rules
+Origin: [email protected]
+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 @@
+ 
+ if RECURSOR
+ sbin_PROGRAMS = pdns_server pdns_recursor
+-bin_PROGRAMS = pdns_control rec_control pdnssec dnsreplay
++bin_PROGRAMS = pdns_control rec_control pdnssec dnsreplay dnswasher dnsscope
+ else
+ sbin_PROGRAMS = pdns_server 
+-bin_PROGRAMS = pdns_control pdnssec dnsreplay
++bin_PROGRAMS = pdns_control pdnssec dnsreplay dnswasher dnsscope
+ endif
+ 
+ EXTRA_PROGRAMS=pdns_recursor sdig tsig-tests speedtest pdns_control dnsscope dnsgram \
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
diff --git a/debian/pdns-tools.dirs b/debian/pdns-tools.dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/pdns-tools.dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/pdns-tools.install b/debian/pdns-tools.install
new file mode 100644
index 0000000..27ed03b
--- /dev/null
+++ b/debian/pdns-tools.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/bin/dnsreplay usr/bin/
+debian/tmp/usr/bin/dnswasher usr/bin/
+debian/tmp/usr/bin/dnsscope usr/bin/

Reply via email to