Debian package infrastructure.

This commit is contained in:
Dag-Erling Smørgrav 2018-05-05 15:05:36 +02:00
parent 5cc1f1949e
commit 12ff759ffe
7 changed files with 72 additions and 0 deletions

4
debian/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
/cryb-to.postinst.debhelper
/cryb-to.postrm.debhelper
/cryb-to.substvars
/files

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
cryb-otp (0.20180426-1) unstable; urgency=low
* Initial release.
-- Dag-Erling Smørgrav <des@des.no> Thu, 26 Apr 2018 23:31:52 +0200

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

15
debian/control vendored Normal file
View file

@ -0,0 +1,15 @@
Source: cryb-otp
Section: unknown
Priority: optional
Maintainer: Dag-Erling Smørgrav <des@des.no>
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.

37
debian/copyright vendored Normal file
View file

@ -0,0 +1,37 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cryb-to
Source: <https://github.com/cryb-to/cryb-to>
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 <des@des.no>
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.

1
debian/docs vendored Normal file
View file

@ -0,0 +1 @@
README

9
debian/rules vendored Executable file
View file

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