Browse Source

Initial packaging

Christoph Biedl 3 years ago
parent
commit
48efdeed07

+ 5 - 0
debian/changelog

@@ -0,0 +1,5 @@
+tang (6-1) unstable; urgency=medium
+
+  * Initial release. Closes: #854409
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de>  Tue, 14 Nov 2017 18:59:31 +0100

+ 1 - 0
debian/compat

@@ -0,0 +1 @@
+10

+ 30 - 0
debian/control

@@ -0,0 +1,30 @@
+Source: tang
+Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Homepage: https://github.com/latchset/tang
+Standards-Version: 4.1.1
+Build-Depends: debhelper (>= 10~),
+    curl,
+    jose,
+    libhttp-parser-dev (>= 2.7.1-2~),
+    libjansson4 (>= 2.10),
+    libjose-dev (>= 8),
+    pkg-config,
+    systemd,
+Priority: optional
+Section: net
+
+Package: tang
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+Description: network-based cryptographic binding server
+ Tang is a service for binding cryptographic keys to network presence.
+ It offers a secure, stateless, anonymous alternative to key escrow
+ services.
+
+Package: tang-nagios
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+    jose,
+Description: monitoring plugin to check the tang server
+ This package provides a plugin to monitor a tang server, a service for
+ binding cryptographic keys to network presence.

+ 24 - 0
debian/copyright

@@ -0,0 +1,24 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: clevis
+Source: https://github.com/latchset/clevis
+
+Files: *
+Copyright: 2016 Red Hat, Inc.
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

+ 11 - 0
debian/rules

@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+%:
+	dh $@
+
+override_dh_missing:
+	dh_missing --fail-missing

+ 1 - 0
debian/source/format

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

+ 2 - 0
debian/tang-nagios.install

@@ -0,0 +1,2 @@
+
+usr/lib/*/nagios/plugins/tang

+ 2 - 0
debian/tang-nagios.manpages

@@ -0,0 +1,2 @@
+
+debian/tmp/usr/share/man/man1/tang-nagios.1

+ 10 - 0
debian/tang.install

@@ -0,0 +1,10 @@
+
+lib/systemd/system/tangd-keygen.service
+lib/systemd/system/tangd-update.path
+lib/systemd/system/tangd-update.service
+lib/systemd/system/tangd.socket
+lib/systemd/system/tangd@.service
+usr/lib/*/tangd
+
+usr/lib/*/tangd-keygen
+usr/lib/*/tangd-update

+ 2 - 0
debian/tang.manpages

@@ -0,0 +1,2 @@
+
+debian/tmp/usr/share/man/man8/tang.8

+ 4 - 0
debian/watch

@@ -0,0 +1,4 @@
+
+version=3
+https://github.com/latchset/tang/releases \
+    /latchset/tang/releases/download/[^/]+/tang-([0-9][.0-9]*)\.tar\.bz2