--- cryptokit-1.3.orig/debian/control +++ cryptokit-1.3/debian/control @@ -0,0 +1,82 @@ +Source: cryptokit +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: + Ralf Treinen , + Samuel Mimram , + Stefano Zacchiroli , + Sylvain Le Gall , + Stéphane Glondu , + Mehdi Dogguy +Build-Depends: + cdbs (>= 0.4.23-1.1), + ocaml-nox (>= 3.11.1-3~), + debhelper (>= 7), + zlib1g-dev, + dh-ocaml (>= 0.9) +Standards-Version: 3.8.3 +Homepage: http://pauillac.inria.fr/~xleroy/software.html#cryptokit +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/cryptokit.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/cryptokit.git + +Package: libcryptokit-ocaml +Architecture: any +Replaces: libcryptokit-ocaml-dev (<< 1.3-11) +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Description: cryptographic algorithm library for OCaml - runtime + The Cryptokit library for Objective Caml provides a variety of + cryptographic primitives that can be used to implement cryptographic + protocols in security-sensitive applications. The primitives provided + include: + . + - Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour, + in ECB, CBC, CFB and OFB modes. + - Public-key cryptography: RSA encryption, Diffie-Hellman key agreement. + - Hash functions and MACs: SHA-1, MD5, and MACs based on AES and DES. + - Random number generation. + - Encodings and compression: base 64, hexadecimal, Zlib compression. + . + Additional ciphers and hashes can easily be used in conjunction with + the library. In particular, basic mechanisms such as chaining modes, + output buffering, and padding are provided by generic classes that can + easily be composed with user-provided ciphers. More generally, the library + promotes a "Lego"-like style of constructing and composing + transformations over character streams. + . + This package provides just the shared library for Cryptokit. + +Package: libcryptokit-ocaml-dev +Architecture: any +Depends: + zlib1g-dev, + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Description: cryptographic algorithm library for OCaml - development + The Cryptokit library for Objective Caml provides a variety of + cryptographic primitives that can be used to implement cryptographic + protocols in security-sensitive applications. The primitives provided + include: + . + - Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour, + in ECB, CBC, CFB and OFB modes. + - Public-key cryptography: RSA encryption, Diffie-Hellman key agreement. + - Hash functions and MACs: SHA-1, MD5, and MACs based on AES and DES. + - Random number generation. + - Encodings and compression: base 64, hexadecimal, Zlib compression. + . + Additional ciphers and hashes can easily be used in conjunction with + the library. In particular, basic mechanisms such as chaining modes, + output buffering, and padding are provided by generic classes that can + easily be composed with user-provided ciphers. More generally, the library + promotes a "Lego"-like style of constructing and composing + transformations over character streams. + . + This package provides static libraries, interfaces, and documentation + for Cryptokit. --- cryptokit-1.3.orig/debian/gbp.conf +++ cryptokit-1.3/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True --- cryptokit-1.3.orig/debian/compat +++ cryptokit-1.3/debian/compat @@ -0,0 +1 @@ +7 --- cryptokit-1.3.orig/debian/libcryptokit-ocaml-dev.dirs.in +++ cryptokit-1.3/debian/libcryptokit-ocaml-dev.dirs.in @@ -0,0 +1 @@ +@OCamlStdlibDir@/cryptokit --- cryptokit-1.3.orig/debian/libcryptokit-ocaml.install.in +++ cryptokit-1.3/debian/libcryptokit-ocaml.install.in @@ -0,0 +1,3 @@ +@OCamlStdlibDir@/cryptokit/cryptokit.cma +OPT: cryptokit.cmxs @OCamlStdlibDir@/cryptokit +debian/META.cryptokit @OCamlStdlibDir@/METAS --- cryptokit-1.3.orig/debian/libcryptokit-ocaml-dev.examples +++ cryptokit-1.3/debian/libcryptokit-ocaml-dev.examples @@ -0,0 +1,3 @@ +test.ml +speedtest.ml +Makefile --- cryptokit-1.3.orig/debian/libcryptokit-ocaml-dev.install.in +++ cryptokit-1.3/debian/libcryptokit-ocaml-dev.install.in @@ -0,0 +1,5 @@ +@OCamlStdlibDir@/cryptokit/*.a +@OCamlStdlibDir@/cryptokit/*.cmi +@OCamlStdlibDir@/cryptokit/*.mli +OPT: @OCamlStdlibDir@/cryptokit/*.cmx +OPT: @OCamlStdlibDir@/cryptokit/*.cmxa --- cryptokit-1.3.orig/debian/rules +++ cryptokit-1.3/debian/rules @@ -0,0 +1,59 @@ +#!/usr/bin/make -f +# debian/rules for cryptokit package +# Copyright (C) 2006 Sylvain Le Gall +# +# 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 2, or (at +# your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +# Generate debian/control using +# fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/ocaml.mk + +PACKAGE := libcryptokit-ocaml +DESTDIR := $(CURDIR)/debian/$(PACKAGE) + +PACKAGE_DEV := libcryptokit-ocaml-dev +DESTDIR_DEV := $(CURDIR)/debian/tmp + +DEB_MAKE_CLEAN_TARGET := clean +DEB_MAKE_BUILD_TARGET := all +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +DEB_MAKE_BUILD_TARGET += allopt +endif +DEB_MAKE_INSTALL_TARGET := install \ + INSTALLDIR="$(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)/cryptokit" + +CDBS_BUILD_DEPENDS := $(subst ocaml-nox,ocaml-nox (>= 3.10.0-8),$(CDBS_BUILD_DEPENDS)) + +# Enable zlib support +CFLAGS += -DHAVE_ZLIB + +build/libcryptokit-ocaml:: +ifneq ($(OCAML_OPT_ARCH),) + ocamlopt -I . -shared -linkall -o cryptokit.cmxs cryptokit.cmxa +endif + +common-install-prehook-arch:: + mkdir -p "$(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)/cryptokit" + +install/libcryptokit-ocaml-dev:: + VERSION=$(DEB_NOEPOCH_VERSION); \ + VERSION=$${VERSION%%-*}; \ + sed -i "s/@VERSION@/$$VERSION/g" debian/META.cryptokit + mv $(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)/cryptokit/stublibs \ + $(DESTDIR)/$(OCAML_STDLIB_DIR)/stublibs/dllcryptokit.so --- cryptokit-1.3.orig/debian/libcryptokit-ocaml-dev.ocamldoc +++ cryptokit-1.3/debian/libcryptokit-ocaml-dev.ocamldoc @@ -0,0 +1 @@ +# This file must not be empty to be represented in .diff.gz! --- cryptokit-1.3.orig/debian/META.cryptokit.in +++ cryptokit-1.3/debian/META.cryptokit.in @@ -0,0 +1,7 @@ +name="cryptokit" +version="@VERSION@" +description="Cryptographic primitives" +requires="num unix" +archive(byte)="cryptokit.cma" +archive(native)="cryptokit.cmxa" +directory="+cryptokit" --- cryptokit-1.3.orig/debian/copyright +++ cryptokit-1.3/debian/copyright @@ -0,0 +1,57 @@ +This package was debianized by Michael K. Edwards on +Sun, 14 Dec 2003 02:24:27 -0800. + +It was downloaded on Sat, 13 Dec 2003 from: + http://caml.inria.fr/distrib/bazar-ocaml/cryptokit-1.2.tar.gz + +The author's homepage is at http://pauillac.inria.fr/~xleroy/ + +Upstream Authors: Xavier Leroy + Michael K. Edwards + +Copyright: 2001,2002,2003 Xavier Leroy +Portions Copyright: 2003 Michael K. Edwards + +Cryptokit is free software; you can redistribute it and/or modify +it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2, or +(at your option) any later version, including its successor, the +GNU Lesser General Public License. + +Cryptokit 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 Lesser General Public License for more details. + +You may have received a copy of the GNU Library General Public License along +with Cryptokit; see the file COPYING. If not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +As a special exception to the GNU Library General Public License, you +may link, statically or dynamically, a "work that uses the Library" +with a publicly distributed version of the Library to produce an +executable file containing portions of the Library, and distribute +that executable file under terms of your choice, without any of the +additional requirements listed in clause 6 of the GNU Library General +Public License. By "a publicly distributed version of the Library", +we mean either the unmodified Library as distributed by INRIA, or a +modified version of the Library that is distributed under the +conditions defined in clause 3 of the GNU Library General Public +License. This exception does not however invalidate any other reasons +why the executable file might be covered by the GNU Library General +Public License. + +However, the RSA and Diffie-Hellman operations in this version of +Cryptokit have been reimplemented using the Numerix multi-precision +integer library, which is licensed under the GNU General Public License. +Consequently, any use of this Library together with Numerix will be +governed by the GNU General Public License and the special exception +listed above will not apply to the resulting work. + + +On Debian systems the complete text of Version 2 of the Library General +Public License can be found in /usr/share/common-licenses/LGPL-2, and +its successor, Version 2.1 of the Lesser General Public License, can +be found in /usr/share/common-licenses/LGPL-2.1. The General Public +License mentioned in connection with Numerix can also be found in +/usr/share/common-licenses/GPL-2. --- cryptokit-1.3.orig/debian/control.in +++ cryptokit-1.3/debian/control.in @@ -0,0 +1,73 @@ +Source: cryptokit +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: @OCamlTeam@ +Build-Depends: + @cdbs@, + debhelper (>= 7), + zlib1g-dev, + dh-ocaml (>= 0.9) +Standards-Version: 3.8.2 +Homepage: http://pauillac.inria.fr/~xleroy/software.html#cryptokit +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/cryptokit.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/cryptokit.git + +Package: libcryptokit-ocaml +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Description: cryptographic algorithm library for OCaml - runtime + The Cryptokit library for Objective Caml provides a variety of + cryptographic primitives that can be used to implement cryptographic + protocols in security-sensitive applications. The primitives provided + include: + . + - Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour, + in ECB, CBC, CFB and OFB modes. + - Public-key cryptography: RSA encryption, Diffie-Hellman key agreement. + - Hash functions and MACs: SHA-1, MD5, and MACs based on AES and DES. + - Random number generation. + - Encodings and compression: base 64, hexadecimal, Zlib compression. + . + Additional ciphers and hashes can easily be used in conjunction with + the library. In particular, basic mechanisms such as chaining modes, + output buffering, and padding are provided by generic classes that can + easily be composed with user-provided ciphers. More generally, the library + promotes a "Lego"-like style of constructing and composing + transformations over character streams. + . + This package provides just the shared library for Cryptokit. + +Package: libcryptokit-ocaml-dev +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Description: cryptographic algorithm library for OCaml - development + The Cryptokit library for Objective Caml provides a variety of + cryptographic primitives that can be used to implement cryptographic + protocols in security-sensitive applications. The primitives provided + include: + . + - Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour, + in ECB, CBC, CFB and OFB modes. + - Public-key cryptography: RSA encryption, Diffie-Hellman key agreement. + - Hash functions and MACs: SHA-1, MD5, and MACs based on AES and DES. + - Random number generation. + - Encodings and compression: base 64, hexadecimal, Zlib compression. + . + Additional ciphers and hashes can easily be used in conjunction with + the library. In particular, basic mechanisms such as chaining modes, + output buffering, and padding are provided by generic classes that can + easily be composed with user-provided ciphers. More generally, the library + promotes a "Lego"-like style of constructing and composing + transformations over character streams. + . + This package provides static libraries, interfaces, and documentation + for Cryptokit. --- cryptokit-1.3.orig/debian/libcryptokit-ocaml.dirs.in +++ cryptokit-1.3/debian/libcryptokit-ocaml.dirs.in @@ -0,0 +1,3 @@ +@OCamlDllDir@ +@OCamlStdlibDir@/cryptokit +@OCamlStdlibDir@/METAS --- cryptokit-1.3.orig/debian/watch +++ cryptokit-1.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://caml.inria.fr/distrib/bazar-ocaml/cryptokit-([0-9].*)\.tar\.gz --- cryptokit-1.3.orig/debian/changelog +++ cryptokit-1.3/debian/changelog @@ -0,0 +1,234 @@ +cryptokit (1.3-14build1) lucid; urgency=low + + * No-change rebuild for OCaml 3.11.2 transition (LP: #522363). + + -- Ilya Barygin Wed, 17 Feb 2010 17:56:04 +0300 + +cryptokit (1.3-14) unstable; urgency=low + + [ Stéphane Glondu ] + * Add missing dependency on zlib1g-dev (Closes: #536505) + * Remove control.in + * debian/control: + - remove Remi Vanicat and Sven Luther from Uploaders + - move to section ocaml + - update Standards-Version to 3.8.3 + - update for dh-ocaml 0.9, and add versioned build-dependency + + [ Mehdi Dogguy ] + * Update email addresses and remove DMUA + + -- Stéphane Glondu Fri, 09 Oct 2009 11:17:23 +0200 + +cryptokit (1.3-13) unstable; urgency=medium + + * Install all *.a files (including the one attached to cryptokit.cmxa) + (Closes: #527816) + + -- Stephane Glondu Tue, 12 May 2009 11:27:02 +0200 + +cryptokit (1.3-12) unstable; urgency=low + + * Used ifeq instead of ifdef in debian/rules: a variable can be defined + and empty. Fixes FTBFS on non-native archs, Closes: #524247. + * Add myself to Uploaders. + + -- Mehdi Dogguy Wed, 15 Apr 2009 22:31:51 +0200 + +cryptokit (1.3-11) unstable; urgency=low + + * Add myself to Uploaders and DMUA + * Move to new archive section ocaml + * Move .cma and META to libcryptokit-ocaml, build .cmxs + * Remove unused patches and dpatch dependency + * Remove clean target from debian/rules (not needed) + * Bump Standards-Version to 3.8.1 + + -- Stephane Glondu Sun, 12 Apr 2009 00:36:22 +0200 + +cryptokit (1.3-10) unstable; urgency=low + + * Add missing build-dependency on dh-ocaml. + + -- Samuel Mimram Wed, 25 Feb 2009 18:22:56 +0100 + +cryptokit (1.3-9) unstable; urgency=low + + [ Stephane Glondu ] + * Remove Julien from Uploaders + + [ Samuel Mimram ] + * Rebuild with OCaml 3.11. + * Switch packaging to git + * Update compat to 7. + * Update standards version to 3.8.0. + + -- Samuel Mimram Tue, 24 Feb 2009 19:09:23 +0100 + +cryptokit (1.3-8) unstable; urgency=medium + + [ Stefano Zacchiroli ] + * fix vcs-svn field to point just above the debian/ dir + + [ Stephane Glondu ] + * Enable zlib support, closes: #469040. + + [ Sylvain Le Gall ] + * Add homepage field in debian/control + + -- Sylvain Le Gall Mon, 03 Mar 2008 11:49:24 +0100 + +cryptokit (1.3-7) unstable; urgency=low + + * Depend on ocaml-nox instead of ocaml, closes: #450594. + * Updated stantards version to 3.7.3, no changes needed. + + -- Samuel Mimram Sat, 22 Dec 2007 00:49:16 +0100 + +cryptokit (1.3-6) unstable; urgency=low + + * Build for ocaml 3.10.0 + * Generate documentation with ocamldoc, doesn't ship the one provided by + upstream (generate almost the same thing, but with a more recent version + of ocamldoc and in the right place) + + -- Sylvain Le Gall Tue, 04 Sep 2007 00:26:44 +0200 + +cryptokit (1.3-5) experimental; urgency=low + + * Add dependency on ocaml package + + -- Sylvain Le Gall Tue, 24 Jul 2007 00:56:00 +0200 + +cryptokit (1.3-4) experimental; urgency=low + + [ Sylvain Le Gall ] + * Upgrade debian/watch version to 3, + * Upgrade debhelper debian/compat to 5, + * Replace dependency Source-Version by source:Version, + * Use CDBS for debian/rules, + * Use @OCamlTeam@ for Uploaders field in debian/control.in, + * Add versioned Build-Depends on dpkg-dev (>= 1.13.19), + * Rebuild for ocaml 3.10.0 + + [ Samuel Mimram ] + * Updated doc-base entry, closes: #318423. + + [ Julien Cristau ] + * Remove inactive people from the Uploaders field. + + -- Sylvain Le Gall Sat, 07 Jul 2007 23:26:24 +0200 + +cryptokit (1.3-3) unstable; urgency=low + + * Rebuild with OCaml 3.09.2. + * Updated standards version to 3.7.2, no changes needed. + * We don't need to remove rpaths anymore. + + -- Samuel Mimram Fri, 19 May 2006 14:09:09 +0000 + +cryptokit (1.3-2) unstable; urgency=low + + * Rebuild for OCaml 3.09.1 + + -- Sylvain Le Gall Tue, 10 Jan 2006 23:55:51 +0100 + +cryptokit (1.3-1) unstable; urgency=low + + * New upstream release + * Upgrade standards version to 3.6.2.0 (no change) + * Stop using numerix, remove dependencies and patches related to numerix + * Use svn-buildpackage + * Get rid of hardcoded OCaml ABI + * Rewrite the META to META.in and place it in METAS/, add "num" to the list + of requires (and remove "numerix"). + + -- Sylvain Le Gall Tue, 20 Dec 2005 00:45:55 +0100 + +cryptokit (1.2-8) unstable; urgency=medium + + * Updated to OCaml 3.08.3. + * Using dh_shlibdeps. + * Added -g and -fPIC to the CFLAGS. + * Installing META in /usr/lib/ocaml/XXX/cryptokit. + + -- Samuel Mimram Tue, 5 Apr 2005 22:02:17 +0200 + +cryptokit (1.2-7) unstable; urgency=high + + * Rebuilding with ocaml 3.08.2 to get rid of the inconsistent assumptions over + the Unix module, closes: #285780. + + -- Samuel Mimram Sat, 1 Jan 2005 18:14:01 +0100 + +cryptokit (1.2-6) unstable; urgency=medium + + * Corrected a bug in the patch to handle too big buffers. + + -- Samuel Mimram Tue, 16 Nov 2004 20:25:15 +0100 + +cryptokit (1.2-5) unstable; urgency=medium + + * Added a patch to raise an exception when the input buffer is too big for + the put_string method of uncompress, see: + http://caml.inria.fr/archives/200411/msg00008.html + + -- Samuel Mimram Wed, 3 Nov 2004 14:25:49 +0100 + +cryptokit (1.2-4) unstable; urgency=low + + * Made the dependency on numerix stronger to ensure we get the 3.08 version + + -- Mike Furr Tue, 27 Jul 2004 19:49:33 -0400 + +cryptokit (1.2-3) unstable; urgency=low + + * Rebuild against ocaml 3.08 (Closes: #261208) + * Changed deps to ocaml-nox + * Moved meta file to correct location (Closes: #247133) + + -- Mike Furr Tue, 27 Jul 2004 11:56:44 -0400 + +cryptokit (1.2-2) unstable; urgency=low + + * Changed debian/rules to only call allopt target on platforms that have the + ocamlopt compiler (Closes: 243542) + * Added myself to Uploaders list. + + -- Mike Furr Wed, 14 Apr 2004 19:01:30 -0400 + +cryptokit (1.2-1) unstable; urgency=low + + * First upload (closes: Bug#203256) + * debian/control: explicit Section: lines for binary packages + * debian/control: Maintainer: Debian OCaml Maintainers, etc. + * Sign with DSA subkey of new GPG key + + -- Michael K. Edwards Mon, 19 Jan 2004 11:48:52 -0800 + +cryptokit (1.2-0.4) unstable; urgency=low + + * Build against Numerix packages with Big (new nums library) support + * Include examples and speed test results in docs + * Build with Numerix.Slong on i386, Numerix.Gmp elsewhere + + -- Michael K. Edwards (in Debian context) Thu, 18 Dec 2003 02:34:23 -0800 + +cryptokit (1.2-0.3) unstable; urgency=low + + * Split into libcryptokit-ocaml{,dev}, and build against split Numerix + packages. + + -- Michael K. Edwards (in Debian context) Wed, 17 Dec 2003 13:00:32 -0800 + +cryptokit (1.2-0.2) unstable; urgency=low + + * Ported to Numerix from (non-free) Nat bignum library + + -- Michael K. Edwards (in Debian context) Mon, 15 Dec 2003 01:40:56 -0800 + +cryptokit (1.2-0.1) unstable; urgency=low + + * Initial Release + + -- Michael K. Edwards (in Debian context) Sat, 13 Dec 2003 14:33:27 -0800 --- cryptokit-1.3.orig/debian/libcryptokit-ocaml-dev.docs +++ cryptokit-1.3/debian/libcryptokit-ocaml-dev.docs @@ -0,0 +1 @@ +README