From e1e7d1db7eaa6fcfaba1ac221aadeb8c47104bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 9 Mar 2017 22:32:14 +0100 Subject: [PATCH 1/2] First shot at a Debian package. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 20 ++++++++++++++++++++ debian/copyright | 39 +++++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/rules | 9 +++++++++ debian/source/format | 1 + 7 files changed, 76 insertions(+) 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 create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c04e65c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cryb-to (0.20170307-1) unstable; urgency=low + + * Initial release + + -- Dag-Erling Smørgrav Wed, 09 Mar 2017 22:30:06 +0100 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..ad3b1da --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: cryb-to +Section: unknown +Priority: optional +Maintainer: Dag-Erling Smørgrav +Build-Depends: debhelper (>= 9), autotools-dev +Standards-Version: 3.9.5 +Homepage: https://github.com/cryb-to/cryb-to + +Package: cryb-to +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Collection of cryptographic and security-related libraries + The aim of the Cryb.to project is to provide a collection of correct, + well-written, well-tested and well-documented implementations of both + low-level cryptographic primitives and higher-level security-related + interfaces under a permissive license. + . + The Cryb libraries are the first and primary product of the Cryb.to + project. They include low-level cryptographic primitives and support + code such as safe string handling and containers. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1a160b5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cryb-to +Source: + +Files: * +Copyright: 2006-2007 Christophe Devine + 2005-2013 Colin Percival + 2011-2017 Dag-Erling Smørgrav + 2012-2016 The University of Oslo +License: BSD-3-Clause + +Files: debian/* +Copyright: 2017 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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) From 07c89ae461a16c4e0aa6ef8d3843d692728099af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 22 Mar 2017 21:37:26 +0100 Subject: [PATCH 2/2] Sync debian/copyright with LICENSE. --- debian/copyright | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/debian/copyright b/debian/copyright index 1a160b5..0f948a0 100644 --- a/debian/copyright +++ b/debian/copyright @@ -5,8 +5,9 @@ Source: Files: * Copyright: 2006-2007 Christophe Devine 2005-2013 Colin Percival - 2011-2017 Dag-Erling Smørgrav + 2013 Joachim Strömbergson 2012-2016 The University of Oslo + 2011-2017 Dag-Erling Smørgrav License: BSD-3-Clause Files: debian/* @@ -27,13 +28,13 @@ License: BSD-3-Clause 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 + ``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 + 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.