From 12ff759ffee887b9f1bbd56beed85d03c445bdea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 5 May 2018 15:05:36 +0200 Subject: [PATCH] Debian package infrastructure. --- debian/.gitignore | 4 ++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/copyright | 37 +++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/rules | 9 +++++++++ 7 files changed, 72 insertions(+) create mode 100644 debian/.gitignore create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..1f45c3a --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,4 @@ +/cryb-to.postinst.debhelper +/cryb-to.postrm.debhelper +/cryb-to.substvars +/files diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d0e54f6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cryb-otp (0.20180426-1) unstable; urgency=low + + * Initial release. + + -- Dag-Erling Smørgrav Thu, 26 Apr 2018 23:31:52 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e1aa184 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: cryb-otp +Section: unknown +Priority: optional +Maintainer: Dag-Erling Smørgrav +Build-Depends: debhelper (>= 9), autotools-dev, cryb-to (>= 0.20180426) +Standards-Version: 3.9.5 +Homepage: https://github.com/cryb-to/cryb-otp + +Package: cryb-otp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${misc:Pre-Depends} +Description: Collection of cryptographic and security-related libraries + The Cryb OTP package consists of a library and a set of utilities + which implement a variety of one-time-password authentication + mechanisms on top of algorithms provided by the Cryb libraries. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4b226e9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cryb-to +Source: + +Files: * +Copyright: 2012-2015 The University of Oslo + 2012-2018 Dag-Erling Smørgrav +License: BSD-3-Clause + +Files: debian/* +Copyright: 2018 Dag-Erling Smørgrav +License: BSD-3-Clause + +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..98c0d15 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +#DH_VERBOSE = 1 +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk +export DEB_BUILD_MAINT_OPTIONS = hardening=+all timeless + +%: + dh $@ --with autotools-dev