1
0
Fork 0

Adding debian version 0.2.0-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 06:31:23 +01:00
parent a84695b834
commit 6a671f2333
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
8 changed files with 100 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

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

43
debian/control vendored Normal file
View file

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

26
debian/copyright vendored Normal file
View file

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

4
debian/libdnswire-dev.install vendored Normal file
View file

@ -0,0 +1,4 @@
usr/include
usr/lib/*/*.a
usr/lib/*/*.so
usr/lib/*/pkgconfig

1
debian/libdnswire0.install vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/*/*.so.*

17
debian/rules vendored Executable file
View file

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

1
debian/source/format vendored Normal file
View file

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

3
debian/watch vendored Normal file
View file

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