diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5cdfb26 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libtuntap (0.4-1) UNRELEASED; urgency=medium + + * Initial release. (Closes: #nnnn) + + -- Marek Küthe Sun, 17 Mar 2024 21:34:43 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b73ffda --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: libtuntap +Section: libs +Priority: optional +Maintainer: LaKabane +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 13), + cmake, +Standards-Version: 4.6.2 +Vcs-Browser: https://github.com/LaKabane/libtuntap +Vcs-Git: https://github.com/LaKabane/libtuntap.git + +Package: libtuntap-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libtuntap (= ${binary:Version}), + ${misc:Depends}, +Description: The portable Tun/Tap devices configuration utility + +Package: libtuntap +Architecture: any +Multi-Arch: same +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Description: The portable Tun/Tap devices configuration utility diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..83fddfe --- /dev/null +++ b/debian/copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/LaKabane/libtuntap#license +Upstream-Name: libtuntap +Upstream-Contact: LaKabane + +Files: * +Copyright: LaKabane +License: ISC + +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. diff --git a/debian/libtuntap-dev.dirs b/debian/libtuntap-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libtuntap-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libtuntap-dev.install b/debian/libtuntap-dev.install new file mode 100644 index 0000000..41a1414 --- /dev/null +++ b/debian/libtuntap-dev.install @@ -0,0 +1 @@ +usr/include/* diff --git a/debian/libtuntap.dirs b/debian/libtuntap.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libtuntap.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libtuntap.install b/debian/libtuntap.install new file mode 100644 index 0000000..d0dbfd1 --- /dev/null +++ b/debian/libtuntap.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..606b4ca --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -DENABLE_CXX=ON -DBUILD_SHARED_LIBS=ON + +override_dh_auto_test: + # Tests fails: see https://github.com/LaKabane/libtuntap/issues/46 diff --git a/debian/upstream/metadata.ex b/debian/upstream/metadata.ex new file mode 100644 index 0000000..009790f --- /dev/null +++ b/debian/upstream/metadata.ex @@ -0,0 +1,5 @@ +Bug-Database: https://github.com/LaKabane/libtuntap/issues +Bug-Submit: https://github.com/LaKabane/libtuntap/issues/new +Documentation: https://github.com/LaKabane/libtuntap/blob/master/doc/api.md +Repository-Browse: https://github.com/LaKabane/libtuntap +Repository: https://github.com/LaKabane/libtuntap.git