diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-04 19:34:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-04 21:07:27 +0000 |
commit | 5018b1a0fb8aa426b62b3d3b90dd474beace3c97 (patch) | |
tree | 42a1e746c56c250a61b1890be74f9ebb8a6c41a2 | |
parent | Adding upstream version 2.0.0+debian. (diff) | |
download | dnscap-5018b1a0fb8aa426b62b3d3b90dd474beace3c97.tar.xz dnscap-5018b1a0fb8aa426b62b3d3b90dd474beace3c97.zip |
Adding debian version 2.0.0+debian-1.debian/2.0.0+debian-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 39 | ||||
-rw-r--r-- | debian/copyright | 55 | ||||
-rw-r--r-- | debian/dnscap-dev.install | 2 | ||||
-rw-r--r-- | debian/dnscap.examples | 1 | ||||
-rw-r--r-- | debian/dnscap.install | 3 | ||||
-rw-r--r-- | debian/patches/debian/0001-rssm-shebang.patch | 12 | ||||
-rw-r--r-- | debian/patches/debian/0002-cryptopant.patch | 14 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rwxr-xr-x | debian/rules | 11 | ||||
-rw-r--r-- | debian/source/format | 1 |
11 files changed, 146 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..077d8aa --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +dnscap (2.0.0+debian-1) sid; urgency=medium + + * Initial upload to sid (Closes: #423458). + * Rebuilding upstream tarball without debian directory. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 04 Mar 2021 20:22:49 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0689f0f --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: dnscap +Section: utils +Priority: optional +Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> +Build-Depends: + debhelper-compat (= 13), + libldns-dev, + libpcap-dev, + libssl-dev, + libyaml-perl, + zlib1g-dev, +Rules-Requires-Root: no +Standards-Version: 4.5.1 +Homepage: https://www.dns-oarc.net/tools/dnscap +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/dnscap +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/dnscap + +Package: dnscap +Architecture: any +Depends: + ${misc:Depends}, + ${perl:Depends}, + ${shlibs:Depends}, +Description: Network capture utility designed specifically for DNS traffic + dnscap is a network capture utility designed specifically for DNS traffic. It + produces binary data in pcap(3) format. This utility is similar to tcpdump(1), + but has a number of features tailored to DNS transactions and protocol options. + +Package: dnscap-dev +Architecture: all +Depends: + dnscap (>= ${source:Version}), + ${misc:Depends}, +Description: Network capture utility designed specifically for DNS traffic (development) + dnscap is a network capture utility designed specifically for DNS traffic. It + produces binary data in pcap(3) format. This utility is similar to tcpdump(1), + but has a number of features tailored to DNS transactions and protocol options. + . + This package contains the development files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5001a7c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,55 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dnscap +Upstream-Contact: Jerry Lundström <jerry@dns-oarc.net> +Source: https://github.com/DNS-OARC/dnscap + +Files: * +Copyright: 2016-2021 OARC, Inc. +License: BSD-3-Clause + +Files: isc/* +Copyright: 1997-2008 Internet Systems Consortium, Inc. +License: ISC + +Files: debian/* +Copyright: 2021 Daniel Baumann <daniel.baumann@progress-linux.org> +License: BSD-3-clause + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + . + * Neither the name of the organization nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: ISC + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. diff --git a/debian/dnscap-dev.install b/debian/dnscap-dev.install new file mode 100644 index 0000000..4a9d3a1 --- /dev/null +++ b/debian/dnscap-dev.install @@ -0,0 +1,2 @@ +src/dnscap_common.h /usr/include/dnscap +src/dump_dns.h /usr/include/dnscap diff --git a/debian/dnscap.examples b/debian/dnscap.examples new file mode 100644 index 0000000..86071d7 --- /dev/null +++ b/debian/dnscap.examples @@ -0,0 +1 @@ +contrib/* diff --git a/debian/dnscap.install b/debian/dnscap.install new file mode 100644 index 0000000..04d010a --- /dev/null +++ b/debian/dnscap.install @@ -0,0 +1,3 @@ +usr/bin +usr/lib/*/dnscap/*.so +usr/share/man diff --git a/debian/patches/debian/0001-rssm-shebang.patch b/debian/patches/debian/0001-rssm-shebang.patch new file mode 100644 index 0000000..6db94ba --- /dev/null +++ b/debian/patches/debian/0001-rssm-shebang.patch @@ -0,0 +1,12 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Correcting Perl shebang. + +diff -Naurp dnscap.orig/plugins/rssm/dnscap-rssm-rssac002 dnscap/plugins/rssm/dnscap-rssm-rssac002 +--- dnscap.orig/plugins/rssm/dnscap-rssm-rssac002 ++++ dnscap/plugins/rssm/dnscap-rssm-rssac002 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env perl ++#!/usr/bin/perl + # + # Copyright (c) 2018-2021, OARC, Inc. + # All rights reserved. diff --git a/debian/patches/debian/0002-cryptopant.patch b/debian/patches/debian/0002-cryptopant.patch new file mode 100644 index 0000000..494ffa6 --- /dev/null +++ b/debian/patches/debian/0002-cryptopant.patch @@ -0,0 +1,14 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Building without cryptopant plugin, needs cryptopANT which is not available (OpenSSL vs. GPL-2). + +diff -Naurp dnscap.orig/plugins/Makefile.am dnscap/plugins/Makefile.am +--- dnscap.orig/plugins/Makefile.am ++++ dnscap/plugins/Makefile.am +@@ -1,6 +1,6 @@ + MAINTAINERCLEANFILES = $(srcdir)/Makefile.in + + SUBDIRS = pcapdump rssm txtout rzkeychange royparse anonmask ipcrypt \ +- anonaes128 cryptopan cryptopant eventlog ++ anonaes128 cryptopan eventlog + + EXTRA_DIST = template diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..ba0c0d0 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +debian/0001-rssm-shebang.patch +debian/0002-cryptopant.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..025863b --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh ${@} + +execute_after_dh_auto_install: + # Removing useless files + rm -f debian/tmp/usr/lib/*/dnscap/*.la + rm -f debian/tmp/usr/share/doc/dnscap/CONTRIBUTORS + rm -f debian/tmp/usr/share/doc/dnscap/LICENSE + rm -f debian/tmp/usr/share/doc/dnscap/README.md diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) |