debian/0000755000000000000000000000000012247302133007163 5ustar debian/META.cryptokit.in0000644000000000000000000000026612237402241012274 0ustar name="cryptokit" version="@VERSION@" description="Cryptographic primitives" requires="num unix" archive(byte)="cryptokit.cma" archive(native)="cryptokit.cmxa" directory="+cryptokit" debian/control0000644000000000000000000000611012237403014010563 0ustar Source: cryptokit Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Ralf Treinen , Samuel Mimram , Stéphane Glondu , Mehdi Dogguy Build-Depends: ocaml-findlib (>= 1.4), ocaml-nox (>= 4), debhelper (>= 8), zlib1g-dev, dh-ocaml (>= 0.9) Standards-Version: 3.9.4 Homepage: http://forge.ocamlcore.org/projects/cryptokit/ Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/cryptokit.git Vcs-Browser: http://anonscm.debian.org/gitweb/?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: 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. debian/source/0000755000000000000000000000000012237402241010463 5ustar debian/source/format0000644000000000000000000000001412237402241011671 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000542012237402241011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Packaged-By: Michael K. Edwards Packaged-Date: Sun, 14 Dec 2003 02:24:27 -0800 Source: https://forge.ocamlcore.org/projects/cryptokit/ Upstream-Contact: Xavier Leroy Files: * Copyright: 2001-2012, Inria 2003, Michael K. Edwards License: LGPL-2-exception | GPL-2 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'. debian/watch0000644000000000000000000000012212237402241010207 0ustar version=3 http://forge.ocamlcore.org/frs/?group_id=133 .*/cryptokit-(.*)\.tar\.gz debian/compat0000644000000000000000000000000212237402241010361 0ustar 8 debian/libcryptokit-ocaml-dev.install.in0000644000000000000000000000027412237402241015547 0ustar usr/share/doc @OCamlStdlibDir@/cryptokit/*.a @OCamlStdlibDir@/cryptokit/*.cmi @OCamlStdlibDir@/cryptokit/*.mli OPT: @OCamlStdlibDir@/cryptokit/*.cmxa OPT: @OCamlStdlibDir@/cryptokit/*.cmx debian/libcryptokit-ocaml-dev.examples0000644000000000000000000000003712237402241015307 0ustar test/test.ml test/speedtest.ml debian/control.in0000644000000000000000000000562212237402241011200 0ustar 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. debian/rules0000755000000000000000000000151712237403437010257 0ustar #!/usr/bin/make -f DESTDIR=$(CURDIR)/debian/tmp include /usr/share/ocaml/ocamlvars.mk export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR) %: dh $@ --with ocaml .PHONY: override_dh_auto_configure override_dh_auto_configure: ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libcryptokit-ocaml-dev .PHONY: override_dh_auto_build override_dh_auto_build: ocaml setup.ml -build ocaml setup.ml -doc .PHONY: override_dh_auto_test override_dh_auto_test: ocaml setup.ml -test .PHONY: override_dh_auto_install override_dh_auto_install: mkdir -p '$(OCAMLFIND_DESTDIR)' mkdir -p '$(DESTDIR)$(OCAML_DLL_DIR)' ocaml setup.ml -install .PHONY: override_dh_auto_clean override_dh_auto_clean: ocaml setup.ml -distclean .PHONY: override_dh_install override_dh_install: dh_install --fail-missing -X.so.owner debian/gbp.conf0000644000000000000000000000003612237402241010601 0ustar [DEFAULT] pristine-tar = True debian/libcryptokit-ocaml.install.in0000644000000000000000000000020312237402241014763 0ustar @OCamlDllDir@/*.so @OCamlStdlibDir@/cryptokit/META @OCamlStdlibDir@/cryptokit/cryptokit.cma DYN: @OCamlStdlibDir@/cryptokit/*.cmxs debian/changelog0000644000000000000000000002045112247302027011041 0ustar cryptokit (1.9-2) unstable; urgency=low * Upload to unstable -- Stéphane Glondu Tue, 03 Dec 2013 08:11:18 +0100 cryptokit (1.9-1) experimental; urgency=low * New upstream release * Update Vcs-* -- Stéphane Glondu Sat, 09 Nov 2013 10:52:39 +0100 cryptokit (1.7-2) experimental; urgency=low * Compile with OCaml >= 4 -- Stéphane Glondu Thu, 25 Jul 2013 21:32:18 +0200 cryptokit (1.7-1) unstable; urgency=low [ Stéphane Glondu ] * New upstream release * Use format version 1.0 in debian/copyright * Bump Standards-Version to 3.9.4 [ Sylvain Le Gall ] * Remove Sylvain Le Gall from uploaders -- Stéphane Glondu Wed, 08 May 2013 14:48:43 +0200 cryptokit (1.5-1) unstable; urgency=low [ Stéphane Glondu ] * New upstream release - relocated to forge.o.o, update Homepage and debian/watch accordingly * Bump debhelper compat level to 8 * Switch source package format to 3.0 (quilt) * Bump Standards-Version to 3.9.2 [ Stefano Zacchiroli ] * remove myself from Uploaders -- Stéphane Glondu Mon, 21 Nov 2011 21:23:10 +0100 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 debian/libcryptokit-ocaml-dev.docs0000644000000000000000000000001312237402241014413 0ustar README.txt debian/libcryptokit-ocaml-dev.doc-base.apiref0000644000000000000000000000054412237402241016416 0ustar Document: libcryptokit-ocaml-dev-ocamldoc-api-reference Title: libcryptokit-ocaml-dev OCamldoc API Reference Abstract: API reference manual for libcryptokit-ocaml-dev (generated via OCamldoc) Section: Programming/OCaml Format: HTML Index: /usr/share/doc/libcryptokit-ocaml-dev/cryptokit/index.html Files: /usr/share/doc/libcryptokit-ocaml-dev/cryptokit/*