From 92854c3eea6e488a678b9b9ce3271759a132bb55 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Glondu?= Date: Sun, 28 Nov 2021 13:27:49 +0100 Subject: [PATCH] Import ocaml-eqaf_0.8-2.debian.tar.xz [dgit import tarball ocaml-eqaf 0.8-2 ocaml-eqaf_0.8-2.debian.tar.xz] --- changelog | 11 +++++++++ control | 43 ++++++++++++++++++++++++++++++++++++ copyright | 35 +++++++++++++++++++++++++++++ gbp.conf | 2 ++ libeqaf-ocaml-dev.docs | 1 + libeqaf-ocaml-dev.install.in | 14 ++++++++++++ libeqaf-ocaml.install.in | 5 +++++ rules | 15 +++++++++++++ source/format | 1 + watch | 2 ++ 10 files changed, 129 insertions(+) create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 libeqaf-ocaml-dev.docs create mode 100644 libeqaf-ocaml-dev.install.in create mode 100644 libeqaf-ocaml.install.in create mode 100755 rules create mode 100644 source/format create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..64b52d4 --- /dev/null +++ b/changelog @@ -0,0 +1,11 @@ +ocaml-eqaf (0.8-2) unstable; urgency=medium + + * Fix debian/copyright + + -- Stéphane Glondu Sun, 28 Nov 2021 13:27:49 +0100 + +ocaml-eqaf (0.8-1) unstable; urgency=medium + + * Initial release (Closes: #1000391) + + -- Stéphane Glondu Mon, 22 Nov 2021 17:03:45 +0100 diff --git a/control b/control new file mode 100644 index 0000000..5b218dc --- /dev/null +++ b/control @@ -0,0 +1,43 @@ +Source: ocaml-eqaf +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Stéphane Glondu +Build-Depends: + debhelper-compat (= 13), + ocaml-nox, + ocaml-dune, + libcstruct-ocaml-dev, + dh-ocaml +Standards-Version: 4.6.0 +Rules-Requires-Root: no +Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml-eqaf +Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml-eqaf.git +Homepage: https://github.com/mirage/eqaf + +Package: libeqaf-ocaml-dev +Provides: ${ocaml:Provides} +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Recommends: ocaml-findlib +Description: constant-time equal function on string for OCaml (dev files) + This package provides an equal function on string in constant-time to + avoid timing-attack with crypto stuff. + . + This package contains development files. + +Package: libeqaf-ocaml +Provides: ${ocaml:Provides} +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Description: constant-time equal function on string for OCaml (runtime files) + This package provides an equal function on string in constant-time to + avoid timing-attack with crypto stuff. + . + This package contains runtime files. diff --git a/copyright b/copyright new file mode 100644 index 0000000..f4ec62c --- /dev/null +++ b/copyright @@ -0,0 +1,35 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2018, Romain Calascibetta + 2018, David Kaloper Meršinjak +License: MIT + +Files: check/linear_algebra.ml +Copyright: 2018, Jane Street Group, LLC +License: Apache-2.0 + +Files: debian/* +Copyright: 2021, Stéphane Glondu +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (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 THE AUTHORS OR + COPYRIGHT HOLDERS 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. + +License: Apache-2.0 + See `/usr/share/common-licenses/Apache-2.0'. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/libeqaf-ocaml-dev.docs b/libeqaf-ocaml-dev.docs new file mode 100644 index 0000000..a7a328f --- /dev/null +++ b/libeqaf-ocaml-dev.docs @@ -0,0 +1 @@ +usr/doc/*/* diff --git a/libeqaf-ocaml-dev.install.in b/libeqaf-ocaml-dev.install.in new file mode 100644 index 0000000..e06b4e3 --- /dev/null +++ b/libeqaf-ocaml-dev.install.in @@ -0,0 +1,14 @@ +@OCamlStdlibDir@/*/*opam* +@OCamlStdlibDir@/*/*dune* +@OCamlStdlibDir@/*/*.ml* +@OCamlStdlibDir@/*/*.cmi +@OCamlStdlibDir@/*/*.cmt* +OPT: @OCamlStdlibDir@/*/*.a +OPT: @OCamlStdlibDir@/*/*.cmx +OPT: @OCamlStdlibDir@/*/*.cmxa +@OCamlStdlibDir@/*/*/*.ml* +@OCamlStdlibDir@/*/*/*.cmi +@OCamlStdlibDir@/*/*/*.cmt* +OPT: @OCamlStdlibDir@/*/*/*.a +OPT: @OCamlStdlibDir@/*/*/*.cmx +OPT: @OCamlStdlibDir@/*/*/*.cmxa diff --git a/libeqaf-ocaml.install.in b/libeqaf-ocaml.install.in new file mode 100644 index 0000000..0f2ecc4 --- /dev/null +++ b/libeqaf-ocaml.install.in @@ -0,0 +1,5 @@ +@OCamlStdlibDir@/*/META +@OCamlStdlibDir@/*/*.cma +DYN: @OCamlStdlibDir@/*/*.cmxs +@OCamlStdlibDir@/*/*/*.cma +DYN: @OCamlStdlibDir@/*/*/*.cmxs diff --git a/rules b/rules new file mode 100755 index 0000000..ccbc4e9 --- /dev/null +++ b/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/ocaml/ocamlvars.mk + +DESTDIR=$(CURDIR)/debian/tmp + +%: + dh $@ --with ocaml + +override_dh_auto_build: + dune build -p eqaf + +override_dh_auto_install: + dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) + rm -f $(DESTDIR)/usr/doc/*/LICENSE* diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/watch b/watch new file mode 100644 index 0000000..0b2fd57 --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/mirage/eqaf/releases .*eqaf-v?([0-9.]+)\.tbz -- 2.30.2