summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-14 17:45:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-15 07:35:54 +0000
commit0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8 (patch)
treef9103d69e40c9c4dd42e1aab74f60b2f296bca72
parentAdding upstream version 0.2.0. (diff)
downloaddnswire-0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8.tar.xz
dnswire-0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8.zip
Adding debian version 0.2.0-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/control43
-rw-r--r--debian/copyright26
-rw-r--r--debian/libdnswire-dev.install4
-rw-r--r--debian/libdnswire0.install1
-rwxr-xr-xdebian/rules17
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
8 files changed, 100 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org>
+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 <jerry@dns-oarc.net>
+Source: https://github.com/DNS-OARC/dnswire/releases
+
+Files: *
+Copyright: 2020 OARC, Inc.
+License: LGPL-3+
+
+Files: debian/*
+Copyright: 2022 Daniel Baumann <daniel.baumann@progress-linux.org>
+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