Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debian package #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
libtuntap (0.4-1) stable; urgency=medium

* Initial release.

-- Marek Küthe <m.k@mk16.de> Sun, 17 Mar 2024 21:34:43 +0100
28 changes: 28 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Source: libtuntap
Section: libs
Priority: optional
Maintainer: LaKabane <tleguern+libtuntap@bouledef.eu>
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
13 changes: 13 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -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 <tleguern+libtuntap@bouledef.eu>

Files: *
Copyright: LaKabane <tleguern+libtuntap@bouledef.eu>
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.
2 changes: 2 additions & 0 deletions debian/libtuntap-dev.dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib
usr/include
2 changes: 2 additions & 0 deletions debian/libtuntap-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/include/*
usr/lib/lib*.so
1 change: 1 addition & 0 deletions debian/libtuntap.dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib
1 change: 1 addition & 0 deletions debian/libtuntap.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/lib*.so.*
10 changes: 10 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions debian/upstream/metadata.ex
Original file line number Diff line number Diff line change
@@ -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
Loading