--- cryptgps-0.2.1.orig/debian/expand_stars.sh
+++ cryptgps-0.2.1/debian/expand_stars.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+# expand '(*' to '(**'
+sed 's/^\( *\)(\*\( [^\$=]\)/\1(**\2/' "$@"
--- cryptgps-0.2.1.orig/debian/watch
+++ cryptgps-0.2.1/debian/watch
@@ -0,0 +1,7 @@
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://download.camlcity.org/download/ cryptgps-(.*)\.tar\.gz
+
--- cryptgps-0.2.1.orig/debian/compat
+++ cryptgps-0.2.1/debian/compat
@@ -0,0 +1 @@
+7
--- cryptgps-0.2.1.orig/debian/gbp.conf
+++ cryptgps-0.2.1/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
--- cryptgps-0.2.1.orig/debian/clean
+++ cryptgps-0.2.1/debian/clean
@@ -0,0 +1,2 @@
+depend
+depend.pkg
--- cryptgps-0.2.1.orig/debian/copyright
+++ cryptgps-0.2.1/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Stefano Zacchiroli <zack@debian.org> on
+Tue, 02 Jan 2007 15:19:27 +0100.
+
+It was downloaded from:
+  http://www.ocaml-programming.de/packages/
+
+Upstream Author:
+  Gerd Stolpmann <gerd@gerd-stolpmann.de>
+
+Copyright:
+
+  Copyright 1999 by Gerd Stolpmann
+
+  The package "cryptgps" is copyright by Gerd Stolpmann.
+  
+  Permission is hereby granted, free of charge, to any person obtaining
+  a copy of the "cryptgps" software (the "Software"), to deal in the
+  Software without restriction, including without limitation the rights
+  to use, copy, modify, merge, publish, distribute, sublicense, and/or
+  sell copies of the Software, and to permit persons to whom the
+  Software is furnished to do so, subject to the following conditions:
+  
+  The above copyright notice and this permission notice shall be included
+  in all copies or substantial portions of the Software.
+  
+  The Software is provided ``as is'', without warranty of any kind, express
+  or implied, including but not limited to the warranties of
+  merchantability, fitness for a particular purpose and noninfringement.
+  In no event shall Gerd Stolpmann be liable for any claim, damages or
+  other liability, whether in an action of contract, tort or otherwise,
+  arising from, out of or in connection with the Software or the use or
+  other dealings in the software.
+
--- cryptgps-0.2.1.orig/debian/libcryptgps-ocaml-dev.docs
+++ cryptgps-0.2.1/debian/libcryptgps-ocaml-dev.docs
@@ -0,0 +1 @@
+README
--- cryptgps-0.2.1.orig/debian/changelog
+++ cryptgps-0.2.1/debian/changelog
@@ -0,0 +1,83 @@
+cryptgps (0.2.1-7.9.201403181510) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Tue, 18 Mar 2014 15:10:54 +0100
+
+cryptgps (0.2.1-7) unstable; urgency=low
+
+  * debian/control:
+    - add myself to Uploaders
+    - move to section ocaml
+    - update Standards-Version to 3.8.3
+    - update for dh-ocaml 0.9, and add versioned build-dependency
+
+ -- Stéphane Glondu <glondu@debian.org>  Tue, 06 Oct 2009 01:34:54 +0200
+
+cryptgps (0.2.1-6) unstable; urgency=low
+
+  [ Stefano Zacchiroli ]
+  * upload to unstable
+  * debian/control:
+    - update build-deps: remove obsolete ones, add more strict ones to
+      ensure buildability in unstable
+  * debian/rules: use ocaml.mk as a CDBS "rules" snippet
+  
+  [ Mehdi Dogguy ]
+  * Fix watch file.
+
+ -- Stefano Zacchiroli <zack@debian.org>  Thu, 26 Feb 2009 19:22:21 +0100
+
+cryptgps (0.2.1-5) experimental; urgency=low
+
+  [ Stefano Zacchiroli ]
+  * debian/control:
+    - bump Standards-Version to 3.8.0 (no changes needed)
+    - add build-dep on dh-ocaml, which ships the CDBS class
+  * rebuild against OCaml 3.11 (strengthen dep, for experimental build)
+  * switch to debhelper 7 (bump deps and debian/compat accordingly)
+  * debian/patches:
+    - disable patch no_debugging_info.dpatch, we do want -g
+
+  [ Stephane Glondu ]
+  * update Homepage, fix watch file
+  * Switching packaging to git
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sun, 01 Feb 2009 19:08:38 +0100
+
+cryptgps (0.2.1-4) unstable; urgency=low
+
+  * promote Homepage to a real debian/control field
+  * update standards-version, no changes needed
+  * setting me as an uploader, d-o-m as the maintainer
+  * move to debian/expand_stars.sh the ocamldoc filter to expand upstream
+    comments to ocamldoc(-like) comments, to avoid make quotation issues
+
+ -- Stefano Zacchiroli <zack@debian.org>  Fri, 28 Dec 2007 20:16:34 +0100
+
+cryptgps (0.2.1-3) unstable; urgency=low
+
+  * debian/control
+    - bump ocaml-nox build dep to -8, to ensure the (not so) fixed CDBS class
+      is used for ocamldoc generation
+  * debian/rules
+    - enable generation of ocamldoc documentation (via CDBS)
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 03 Sep 2007 23:03:32 +0200
+
+cryptgps (0.2.1-2) experimental; urgency=low
+
+  * rebuild with ocaml 3.10
+  * debian/rules
+    - override findlib "destdir" setting via the environment variable
+      OCAMLFIND_DESTDIR instead of makefile patching, hence ...
+  * debian/patches
+    - ... removed now useless destdir patch
+
+ -- Stefano Zacchiroli <zack@debian.org>  Fri, 13 Jul 2007 09:53:46 +0200
+
+cryptgps (0.2.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #405315).
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue,  2 Jan 2007 15:17:34 +0100
--- cryptgps-0.2.1.orig/debian/control
+++ cryptgps-0.2.1/debian/control
@@ -0,0 +1,32 @@
+Source: cryptgps
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders:
+ Stefano Zacchiroli <zack@debian.org>,
+ Stéphane Glondu <glondu@debian.org>
+Build-Depends:
+ debhelper (>= 7),
+ cdbs,
+ ocaml-nox (>= 3.11.1-3~),
+ ocaml-findlib (>= 1.2.5),
+ dh-ocaml (>= 0.9)
+Standards-Version: 3.8.3
+Homepage: http://projects.camlcity.org/projects/cryptgps.html
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/cryptgps.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/cryptgps.git
+
+Package: libcryptgps-ocaml-dev
+Architecture: any
+Depends:
+ ocaml-findlib,
+ ${shlibs:Depends},
+ ${ocaml:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml implementation of symmetric cryptographic algorithms: Blowfish, DES, 3DES
+ This OCaml library implements some well-known symmetric cryptographic
+ algorithms, namely: Blowfish, DES, 3DES.
+ .
+ This package contains all the development stuff needed to use cryptgps in
+ OCaml programs.
--- cryptgps-0.2.1.orig/debian/libcryptgps-ocaml-dev.ocamldoc
+++ cryptgps-0.2.1/debian/libcryptgps-ocaml-dev.ocamldoc
@@ -0,0 +1 @@
+-pp debian/expand_stars.sh
--- cryptgps-0.2.1.orig/debian/rules
+++ cryptgps-0.2.1/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/ocaml.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+PKGNAME = libcryptgps-ocaml-dev
+DESTDIR := $(CURDIR)/debian/$(PKGNAME)$(OCAML_STDLIB_DIR)
+OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES)
+DEB_MAKE_BUILD_TARGET = all
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+	DEB_MAKE_BUILD_TARGET += opt
+endif
+
+DEB_MAKE_INSTALL_TARGET = install OCAMLFIND_DESTDIR=$(DESTDIR)
+build/$(PKGNAME)::
+	mkdir -p $(DESTDIR)
+	chmod +x $(CURDIR)/debian/expand_stars.sh
