Skip to content

Commit

Permalink
Merge pull request #5 from pieterlexis/dnspcap2calidns2
Browse files Browse the repository at this point in the history
dnspcap2calidns: Add manpage and packaging
  • Loading branch information
rgacogne authored May 3, 2018
2 parents 52ebf44 + 22f4ca2 commit b2ee183
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-scripts/build-auth-rpm
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ fi
%files tools
%{_bindir}/calidns
%{_bindir}/dnsgram
%{_bindir}/dnspcap2calidns
%{_bindir}/dnsreplay
%{_bindir}/dnsscan
%{_bindir}/dnsscope
Expand All @@ -465,6 +466,7 @@ fi
%{_bindir}/sdig
%{_mandir}/man1/calidns.1.gz
%{_mandir}/man1/dnsgram.1.gz
%{_mandir}/man1/dnspcap2calidns.1.gz
%{_mandir}/man1/dnsreplay.1.gz
%{_mandir}/man1/dnsscan.1.gz
%{_mandir}/man1/dnsscope.1.gz
Expand Down Expand Up @@ -774,6 +776,7 @@ exit 0
%{_bindir}/calidns
%{_bindir}/dnsbulktest
%{_bindir}/dnsgram
%{_bindir}/dnspcap2calidns
%{_bindir}/dnspcap2protobuf
%{_bindir}/dnsreplay
%{_bindir}/dnsscan
Expand All @@ -791,6 +794,7 @@ exit 0
%{_mandir}/man1/calidns.1.gz
%{_mandir}/man1/dnsbulktest.1.gz
%{_mandir}/man1/dnsgram.1.gz
%{_mandir}/man1/dnspcap2calidns.1.gz
%{_mandir}/man1/dnspcap2protobuf.1.gz
%{_mandir}/man1/dnsreplay.1.gz
%{_mandir}/man1/dnsscan.1.gz
Expand Down Expand Up @@ -1055,6 +1059,7 @@ exit 0
%{_bindir}/calidns
%{_bindir}/dnsbulktest
%{_bindir}/dnsgram
%{_bindir}/dnspcap2calidns
%{_bindir}/dnsreplay
%{_bindir}/dnsscan
%{_bindir}/dnsscope
Expand All @@ -1071,6 +1076,7 @@ exit 0
%{_mandir}/man1/calidns.1.gz
%{_mandir}/man1/dnsbulktest.1.gz
%{_mandir}/man1/dnsgram.1.gz
%{_mandir}/man1/dnspcap2calidns.1.gz
%{_mandir}/man1/dnsreplay.1.gz
%{_mandir}/man1/dnsscan.1.gz
%{_mandir}/man1/dnsscope.1.gz
Expand Down
1 change: 1 addition & 0 deletions build-scripts/debian-authoritative/pdns-tools.install
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
usr/bin/calidns
usr/bin/dnsbulktest
usr/bin/dnsgram
usr/bin/dnspcap2calidns
usr/bin/dnspcap2protobuf
usr/bin/dnsreplay
usr/bin/dnsscan
Expand Down
1 change: 1 addition & 0 deletions build-scripts/debian-authoritative/pdns-tools.manpages
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
debian/tmp/usr/share/man/man1/calidns.1
debian/tmp/usr/share/man/man1/dnsbulktest.1
debian/tmp/usr/share/man/man1/dnsgram.1
debian/tmp/usr/share/man/man1/dnspcap2calidns.1
debian/tmp/usr/share/man/man1/dnspcap2protobuf.1
debian/tmp/usr/share/man/man1/dnsreplay.1
debian/tmp/usr/share/man/man1/dnsscan.1
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
'calidns': 'A DNS recursor testing tool',
'dnsbulktest': 'A debugging tool for intermittent resolver failures',
'dnsgram': 'A debugging tool for intermittent resolver failures',
'dnspcap2calidns': 'A tool to convert PCAPs of DNS traffic to calidns input',
'dnspcap2protobuf': 'A tool to convert PCAPs of DNS traffic to PowerDNS Protobuf',
'dnsreplay': 'A PowerDNS nameserver debugging tool',
'dnsscan': 'List the amount of queries per qtype in a pcap',
Expand Down
23 changes: 23 additions & 0 deletions docs/manpages/dnspcap2calidns.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
dnspcap2calidns
================

Synopsis
--------

:program:`dnspcap2calidns` *PCAPFILE* *OUTFILE*

Description
-----------

:program:`dnspcap2calidns` reads the PCAP file *PCAPFILE* for DNS queries and
writes these to *OUTFILE* in the format understood by :program:`calidns`

Options
-------

--help Show a summary of options.
--version Display the version of dnspcap2calidns

See also
--------
:manpage:`calidns(1)`

0 comments on commit b2ee183

Please sign in to comment.