From ee8502360558742b243f6f108755614f1cac7c88 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 4 Mar 2021 19:48:10 +0100 Subject: Adding debian version 2.4.2+debian-1. Signed-off-by: Daniel Baumann --- debian/changelog | 6 +++++ debian/control | 31 ++++++++++++++++++++++ debian/copyright | 30 +++++++++++++++++++++ debian/dnsperf.lintian-overrides | 2 ++ .../patches/debian/0001-queryparse-shebang.patch | 12 +++++++++ debian/patches/series | 1 + debian/rules | 14 ++++++++++ debian/source/format | 1 + 8 files changed, 97 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dnsperf.lintian-overrides create mode 100644 debian/patches/debian/0001-queryparse-shebang.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..af8cc6c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +dnsperf (2.4.2+debian-1) sid; urgency=medium + + * Initial upload to sid (Closes: #984535). + * Rebuilding upstream tarball without debian directory. + + -- Daniel Baumann Thu, 04 Mar 2021 19:40:24 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..86803fe --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: dnsperf +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + libldns-dev, + libssl-dev, + pkg-config, +Rules-Requires-Root: no +Standards-Version: 4.5.1 +Homepage: https://www.dns-oarc.net/tools/dnsperf +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/dnsperf +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/dnsperf + +Package: dnsperf +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Suggests: + python3-dnspython, + python3-pcapy, +Description: DNS Performance Testing Tool + dnsperf gathers accurate latency and throughput metrics for the Domain Name + Service (DNS). Network operators can benchmark their naming and addressing + infrastructure. dnsperf "self-paces" the DNS query load to simulate network + conditions. + . + resperf systematically increases the query rate and monitors the response + rate to simulate caching DNS services. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ce323e8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dnsperf +Upstream-Contact: Jerry Lundström +Source: https://github.com/DNS-OARC/dnsperf + +Files: * +Copyright: 2019-2021 OARC, Inc. + 2017-2018 Akamai Technologies + 2006-2016 Nominum, Inc. +License: Apache-2.0 + +Files: debian/* +Copyright: 2021 Daniel Baumann +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + The complete text of the Apache-2.0 License + can be found in /usr/share/common-licenses/Apache-2.0 file. diff --git a/debian/dnsperf.lintian-overrides b/debian/dnsperf.lintian-overrides new file mode 100644 index 0000000..a550746 --- /dev/null +++ b/debian/dnsperf.lintian-overrides @@ -0,0 +1,2 @@ +# Suggests rather than to Depends to python3 just for the queryparse contrib script. +dnsperf: python3-script-but-no-python3-dep usr/bin/pcap-queryparse #!/usr/bin/python3 diff --git a/debian/patches/debian/0001-queryparse-shebang.patch b/debian/patches/debian/0001-queryparse-shebang.patch new file mode 100644 index 0000000..ec0ba24 --- /dev/null +++ b/debian/patches/debian/0001-queryparse-shebang.patch @@ -0,0 +1,12 @@ +Author: Daniel Baumann +Description: Correcting Python shebang. + +diff -Naurp dnsperf.orig/contrib/queryparse/queryparse dnsperf/contrib/queryparse/queryparse +--- dnsperf.orig/contrib/queryparse/queryparse ++++ dnsperf/contrib/queryparse/queryparse +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # + # Copyright 2019-2021 OARC, Inc. + # Copyright 2017-2018 Akamai Technologies diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..eafb9c0 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian/0001-queryparse-shebang.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..950156b --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +%: + dh ${@} + +execute_after_dh_auto_install: + # queryparse + cp contrib/queryparse/queryparse debian/dnsperf/usr/bin/pcap-queryparse + cp contrib/queryparse/queryparse.1 debian/dnsperf/usr/share/man/man1/pcap-queryparse.1 + cp contrib/queryparse/USAGE debian/dnsperf/usr/share/doc/dnsperf/pcap-queryparse.USAGE + + # Removing useless files + rm -f debian/dnsperf/usr/share/doc/dnsperf/LICENSE + rm -f debian/dnsperf/usr/share/doc/dnsperf/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) -- cgit v1.2.3