From 0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 14 Jan 2022 18:45:33 +0100 Subject: Adding debian version 0.2.0-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++++ debian/control | 43 +++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 26 ++++++++++++++++++++++++++ debian/libdnswire-dev.install | 4 ++++ debian/libdnswire0.install | 1 + debian/rules | 17 +++++++++++++++++ debian/source/format | 1 + debian/watch | 3 +++ 8 files changed, 100 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libdnswire-dev.install create mode 100644 debian/libdnswire0.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b2d01e6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dnswire (0.2.0-1) sid; urgency=medium + + * Initial upload to sid (Closes: #1003735). + + -- Daniel Baumann Fri, 14 Jan 2022 18:37:40 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..230d8da --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: dnswire +Section: libs +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + golang-github-dnstap-golang-dnstap-dev, + libprotobuf-c-dev, + libtinyframe-dev, + libuv1-dev, + pkg-config, + protobuf-c-compiler, +Rules-Requires-Root: no +Standards-Version: 4.6.0 +Homepage: https://github.com/DNS-OARC/dnswire +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/dnswire +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/dnswire + +Package: libdnswire-dev +Section: libdevel +Architecture: any +Depends: + ${misc:Depends}, +Description: DNS encapsulations and transporting (development) + dnswire is a C library for encoding/decoding different DNS encapsulations and + transporting them over different protocols. + . + This package contains the development files. + +Package: libdnswire0 +Section: libs +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: DNS encapsulations and transporting (library) + dnswire is a C library for encoding/decoding different DNS encapsulations and + transporting them over different protocols. + . + Supported encapsulations: + . + * DNSTAP using Protobuf + * Frame Streams using tinyframe diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d815bea --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dnswire +Upstream-Contact: Jerry Lundström +Source: https://github.com/DNS-OARC/dnswire/releases + +Files: * +Copyright: 2020 OARC, Inc. +License: LGPL-3+ + +Files: debian/* +Copyright: 2022 Daniel Baumann +License: LGPL-3+ + +License: LGPL-3+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + The complete text of the GNU Library General Public License + can be found in /usr/share/common-licenses/LGPL-3 file. diff --git a/debian/libdnswire-dev.install b/debian/libdnswire-dev.install new file mode 100644 index 0000000..7272386 --- /dev/null +++ b/debian/libdnswire-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/*/*.a +usr/lib/*/*.so +usr/lib/*/pkgconfig diff --git a/debian/libdnswire0.install b/debian/libdnswire0.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/debian/libdnswire0.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1015993 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh ${@} + +execute_after_dh_auto_clean: + rm -f src/dnstap.pb + +execute_after_dh_auto_configure: + ln -s /usr/share/gocode/src/github.com/dnstap/golang-dnstap/dnstap.pb src/dnstap.pb + +execute_after_dh_auto_install: + # removing unused files + rm -f debian/tmp/usr/lib/*/*.la + rm -f debian/tmp/usr/share/doc/*/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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..34a44a3 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/dnswire-$1\.tar\.gz/ \ +https://github.com/DNS-OARC/dnswire/tags .*/v?(\d\S+)\.tar\.gz -- cgit v1.2.3