1
0
Fork 0

Adding debian version 2.0.0+debian-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-08 12:00:23 +01:00
parent 1cf0d30d41
commit aae241d722
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
11 changed files with 146 additions and 0 deletions

6
debian/changelog vendored Normal file
View file

@ -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

39
debian/control vendored Normal file
View file

@ -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.

55
debian/copyright vendored Normal file
View file

@ -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.

2
debian/dnscap-dev.install vendored Normal file
View file

@ -0,0 +1,2 @@
src/dnscap_common.h /usr/include/dnscap
src/dump_dns.h /usr/include/dnscap

1
debian/dnscap.examples vendored Normal file
View file

@ -0,0 +1 @@
contrib/*

3
debian/dnscap.install vendored Normal file
View file

@ -0,0 +1,3 @@
usr/bin
usr/lib/*/dnscap/*.so
usr/share/man

View file

@ -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.

View file

@ -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

2
debian/patches/series vendored Normal file
View file

@ -0,0 +1,2 @@
debian/0001-rssm-shebang.patch
debian/0002-cryptopant.patch

11
debian/rules vendored Executable file
View file

@ -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

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)