ocaml-cohttp (5.1.0-1) unstable; urgency=medium
authorJulien Puydt <jpuydt@debian.org>
Thu, 6 Jul 2023 07:37:57 +0000 (09:37 +0200)
committerJulien Puydt <jpuydt@debian.org>
Thu, 6 Jul 2023 07:37:57 +0000 (09:37 +0200)
  * Add deps on ppx-sexp-conv by hand... why!?
  * Fix d/watch.
  * New upstream release.
  * Complete b-deps.
  * Fix compilation with recent dune

[dgit import unpatched ocaml-cohttp 5.1.0-1]

19 files changed:
1  2 
debian/changelog
debian/control
debian/copyright
debian/gbp.conf
debian/libcohttp-lwt-jsoo-ocaml-dev.docs
debian/libcohttp-lwt-jsoo-ocaml-dev.install.in
debian/libcohttp-lwt-jsoo-ocaml.install.in
debian/libcohttp-lwt-ocaml-dev.docs
debian/libcohttp-lwt-ocaml-dev.install.in
debian/libcohttp-lwt-ocaml.install.in
debian/libcohttp-lwt-unix-ocaml-dev.docs
debian/libcohttp-lwt-unix-ocaml-dev.install.in
debian/libcohttp-lwt-unix-ocaml.install.in
debian/libcohttp-ocaml-dev.docs
debian/libcohttp-ocaml-dev.install.in
debian/libcohttp-ocaml.install.in
debian/rules
debian/source/format
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c103f81b0e1eff0e12c4c7124474b1e793f2bd7c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,15 @@@
++ocaml-cohttp (5.1.0-1) unstable; urgency=medium
++
++  * Add deps on ppx-sexp-conv by hand... why!?
++  * Fix d/watch.
++  * New upstream release.
++  * Complete b-deps.
++  * Fix compilation with recent dune
++
++ -- Julien Puydt <jpuydt@debian.org>  Thu, 06 Jul 2023 09:37:57 +0200
++
++ocaml-cohttp (4.0.0-1) unstable; urgency=medium
++
++  * Initial release (Closes: #1002566)
++
++ -- Stéphane Glondu <glondu@debian.org>  Sat, 15 Jan 2022 08:48:47 +0100
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4340f796270462e36974ccc70b833917b9852830
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,177 @@@
++Source: ocaml-cohttp
++Section: ocaml
++Priority: optional
++Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
++Uploaders: Stéphane Glondu <glondu@debian.org>
++Build-Depends: debhelper-compat (= 13),
++               dh-ocaml,
++               libalcotest-ocaml-dev <!nocheck>,
++               libbase64-ocaml-dev,
++               libconduit-lwt-ocaml-dev,
++               libcrowbar-ocaml-dev <!nocheck>,
++               libfmt-ocaml-dev <!nocheck>,
++               libjsonm-ocaml-dev <!nocheck>,
++               liblogs-ocaml-dev,
++               libmagic-mime-ocaml-dev,
++               libounit-ocaml-dev,
++               libppx-sexp-conv-ocaml-dev,
++               libre-ocaml-dev,
++               libsexplib0-ocaml-dev,
++               libstringext-ocaml-dev,
++               liburi-ocaml-dev,
++               netbase,
++               ocaml-dune,
++               ocaml-nox
++Standards-Version: 4.6.0
++Rules-Requires-Root: no
++Homepage: https://github.com/mirage/ocaml-cohttp
++Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml-cohttp.git
++Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml-cohttp
++
++Package: libcohttp-ocaml-dev
++Architecture: any
++Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Recommends: ocaml-findlib
++Description: OCaml library for HTTP clients and servers (dev)
++ Cohttp is an OCaml library for creating HTTP daemons. It has a
++ portable HTTP parser, and implementations using various asynchronous
++ programming libraries.
++ .
++ It has concrete implementations for many targets, including lwt,
++ lwt-unix, lwt-jsoo.
++ .
++ You can implement other targets using the parser very easily. Look at
++ the IO signature in lib/s.mli and implement that in the desired
++ backend.
++ .
++ You can activate some runtime debugging by setting COHTTP_DEBUG to
++ any value, and all requests and responses will be written to
++ stderr. Further debugging of the connection layer can be obtained by
++ setting CONDUIT_DEBUG to any value.
++ .
++ This package contains development files.
++
++Package: libcohttp-ocaml
++Architecture: any
++Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Suggests: ocaml-findlib
++Description: OCaml library for HTTP clients and servers (runtime)
++ Cohttp is an OCaml library for creating HTTP daemons. It has a
++ portable HTTP parser, and implementations using various asynchronous
++ programming libraries.
++ .
++ It has concrete implementations for many targets, including lwt,
++ lwt-unix, lwt-jsoo.
++ .
++ You can implement other targets using the parser very easily. Look at
++ the IO signature in lib/s.mli and implement that in the desired
++ backend.
++ .
++ You can activate some runtime debugging by setting COHTTP_DEBUG to
++ any value, and all requests and responses will be written to
++ stderr. Further debugging of the connection layer can be obtained by
++ setting CONDUIT_DEBUG to any value.
++ .
++ This package contains the shared runtime libraries.
++
++Package: libcohttp-lwt-ocaml-dev
++Architecture: any
++Depends: libppx-sexp-conv-ocaml-dev,
++         ${misc:Depends},
++         ${ocaml:Depends},
++         ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Recommends: ocaml-findlib
++Description: CoHTTP implementation using the Lwt concurrency library (dev)
++ This is a portable implementation of CoHTTP that uses the Lwt
++ concurrency library to multiplex IO. It implements as much of the
++ logic in an OS-independent way as possible, so that more specialised
++ modules can be tailored for different targets. For example, you can
++ install cohttp-lwt-unix or cohttp-lwt-jsoo for a Unix or JavaScript
++ backend, or cohttp-mirage for the MirageOS unikernel version of the
++ library. All of these implementations share the same IO logic from
++ this module.
++ .
++ This package contains development files.
++
++Package: libcohttp-lwt-ocaml
++Architecture: any
++Depends: libppx-sexp-conv-ocaml,
++         ${misc:Depends},
++         ${ocaml:Depends},
++         ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Suggests: ocaml-findlib
++Description: CoHTTP implementation using the Lwt concurrency library (runtime)
++ This is a portable implementation of CoHTTP that uses the Lwt
++ concurrency library to multiplex IO. It implements as much of the
++ logic in an OS-independent way as possible, so that more specialised
++ modules can be tailored for different targets. For example, you can
++ install cohttp-lwt-unix or cohttp-lwt-jsoo for a Unix or JavaScript
++ backend, or cohttp-mirage for the MirageOS unikernel version of the
++ library. All of these implementations share the same IO logic from
++ this module.
++ .
++ This package contains the shared runtime libraries.
++
++Package: libcohttp-lwt-unix-ocaml-dev
++Architecture: any
++Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Recommends: ocaml-findlib
++Description: CoHTTP implementation for Unix and Windows using Lwt (dev)
++ An implementation of an HTTP client and server using the Lwt
++ concurrency library. See the Cohttp_lwt_unix module for information
++ on how to use this. The package also installs cohttp-curl-lwt and a
++ cohttp-server-lwt binaries for quick uses of a HTTP(S) client and
++ server respectively.
++ .
++ Although the name implies that this only works under Unix, it should
++ also be fine under Windows too.
++ .
++ This package contains development files.
++
++Package: libcohttp-lwt-unix-ocaml
++Architecture: any
++Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Suggests: ocaml-findlib
++Description: CoHTTP implementation for Unix and Windows using Lwt (runtime)
++ An implementation of an HTTP client and server using the Lwt
++ concurrency library. See the Cohttp_lwt_unix module for information
++ on how to use this. The package also installs cohttp-curl-lwt and a
++ cohttp-server-lwt binaries for quick uses of a HTTP(S) client and
++ server respectively.
++ .
++ Although the name implies that this only works under Unix, it should
++ also be fine under Windows too.
++ .
++ This package contains the shared runtime libraries.
++
++Package: libcohttp-lwt-jsoo-ocaml-dev
++Architecture: any
++Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Recommends: ocaml-findlib
++Description: CoHTTP implementation for the Js_of_ocaml JavaScript compiler (dev)
++ An implementation of an HTTP client for JavaScript, but using the
++ CoHTTP types. This lets you build HTTP clients that can compile
++ natively (using one of the other Cohttp backends such as
++ cohttp-lwt-unix) and also to native JavaScript via js_of_ocaml.
++ .
++ This package contains development files.
++
++Package: libcohttp-lwt-jsoo-ocaml
++Architecture: any
++Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
++Provides: ${ocaml:Provides}
++Suggests: ocaml-findlib
++Description: CoHTTP implementation for the Js_of_ocaml JavaScript compiler (runtime)
++ An implementation of an HTTP client for JavaScript, but using the
++ CoHTTP types. This lets you build HTTP clients that can compile
++ natively (using one of the other Cohttp backends such as
++ cohttp-lwt-unix) and also to native JavaScript via js_of_ocaml.
++ .
++ This package contains the shared runtime libraries.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f1fb43a93e71c050f890aa2fdf33c50d0a46a5cd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,44 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++
++Files: *
++Copyright: 2009-2018, Anil Madhavapeddy, David Sheets, Andy Ray, Romain Calascibetta, Thomas Gazagnaire, Rudi Grinberg, Mika Illouz, Martin Jambon, Trevor Smith
++License: ISC
++
++Files: cohttp/scripts/codes/*
++Copyright: 2012-2013, Samuel Ryan (citricsquid)
++License: MIT
++
++Files: debian/*
++Copyright: 2021, Stéphane Glondu <glondu@debian.org>
++License: ISC
++
++License: ISC
++ Permission to use, copy, modify, and distribute this software for any
++ purpose with or without fee is hereby granted, provided that the above
++ copyright notice and this permission notice appear in all copies.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
++ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
++ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
++ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
++ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
++ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
++
++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.
diff --cc debian/gbp.conf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cec628c7444886870d72dc8bcd536479e7f8a284
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++[DEFAULT]
++pristine-tar = True
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..badc21d52afdcfaa2e3001a151295cc38251eb64
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/doc/cohttp-lwt-jsoo/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e77686d2e84207d43a91365b980b9827f9ddd3f1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++@OCamlStdlibDir@/cohttp-lwt-jsoo/*opam*
++@OCamlStdlibDir@/cohttp-lwt-jsoo/*dune*
++@OCamlStdlibDir@/cohttp-lwt-jsoo/*.cmt*
++@OCamlStdlibDir@/cohttp-lwt-jsoo/*.cmi
++@OCamlStdlibDir@/cohttp-lwt-jsoo/*.ml*
++OPT: @OCamlStdlibDir@/cohttp-lwt-jsoo/*.a
++OPT: @OCamlStdlibDir@/cohttp-lwt-jsoo/*.cmxa
++OPT: @OCamlStdlibDir@/cohttp-lwt-jsoo/*.cmx
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..707b04a443510fe1f356d5f67e0557d08cfca5e3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++@OCamlStdlibDir@/cohttp-lwt-jsoo/META
++@OCamlStdlibDir@/cohttp-lwt-jsoo/*.cma
++DYN: @OCamlStdlibDir@/cohttp-lwt-jsoo/*.cmxs
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4ab01cd5af95a8920d4558256ed46c0da92e4afb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/doc/cohttp-lwt/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0508b41e6023c1bb5c482d8dd0df832bb24b5e9b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++@OCamlStdlibDir@/cohttp-lwt/*opam*
++@OCamlStdlibDir@/cohttp-lwt/*dune*
++@OCamlStdlibDir@/cohttp-lwt/*.cmt*
++@OCamlStdlibDir@/cohttp-lwt/*.cmi
++@OCamlStdlibDir@/cohttp-lwt/*.ml*
++OPT: @OCamlStdlibDir@/cohttp-lwt/*.a
++OPT: @OCamlStdlibDir@/cohttp-lwt/*.cmxa
++OPT: @OCamlStdlibDir@/cohttp-lwt/*.cmx
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..087c46276dc240302a2a689e4766a5828205ecd2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++@OCamlStdlibDir@/cohttp-lwt/META
++@OCamlStdlibDir@/cohttp-lwt/*.cma
++DYN: @OCamlStdlibDir@/cohttp-lwt/*.cmxs
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..562ddbdf1748ca81c1b47bb90aa5b028238af648
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/doc/cohttp-lwt-unix/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bce1b3ac0b1b52bac970cb625c6fff4750dc083f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,9 @@@
++@OCamlStdlibDir@/cohttp-lwt-unix/*opam*
++@OCamlStdlibDir@/cohttp-lwt-unix/*dune*
++@OCamlStdlibDir@/cohttp-lwt-unix/*.cmt*
++@OCamlStdlibDir@/cohttp-lwt-unix/*.cmi
++@OCamlStdlibDir@/cohttp-lwt-unix/*.ml*
++OPT: @OCamlStdlibDir@/cohttp-lwt-unix/*.a
++OPT: @OCamlStdlibDir@/cohttp-lwt-unix/*.cmxa
++OPT: @OCamlStdlibDir@/cohttp-lwt-unix/*.cmx
++usr/bin/*lwt
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..31dc60084a9b110bfc2708a8a3c7a949bb47d4a7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++@OCamlStdlibDir@/cohttp-lwt-unix/META
++@OCamlStdlibDir@/cohttp-lwt-unix/*.cma
++DYN: @OCamlStdlibDir@/cohttp-lwt-unix/*.cmxs
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6a65cf30fb43960e840826608d925f9606a2b273
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/doc/cohttp/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..93881cc555a2c936eec1b26e1f1b37ba864a42ef
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++@OCamlStdlibDir@/cohttp/*opam*
++@OCamlStdlibDir@/cohttp/*dune*
++@OCamlStdlibDir@/cohttp/*.cmt*
++@OCamlStdlibDir@/cohttp/*.cmi
++@OCamlStdlibDir@/cohttp/*.ml*
++OPT: @OCamlStdlibDir@/cohttp/*.a
++OPT: @OCamlStdlibDir@/cohttp/*.cmxa
++OPT: @OCamlStdlibDir@/cohttp/*.cmx
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..36562c589412799d1224c808df56c04a1832bc52
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++@OCamlStdlibDir@/cohttp/META
++@OCamlStdlibDir@/cohttp/*.cma
++DYN: @OCamlStdlibDir@/cohttp/*.cmxs
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d2be4a8ca40357d4e86c21bf73d35b3a68dad50d
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,39 @@@
++#!/usr/bin/make -f
++# -*- makefile -*-
++
++DESTDIR=$(CURDIR)/debian/tmp
++
++include /usr/share/ocaml/ocamlvars.mk
++
++DUNE_BUILD := OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p
++DUNE_INSTALL := dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
++DUNE_RUNTEST := OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p
++
++%:
++      dh $@ --with ocaml
++
++override_dh_auto_clean:
++      dune clean
++      rm -rf _tmp
++
++override_dh_auto_build:
++      rm -rf _tmp
++      $(DUNE_BUILD) cohttp
++      $(DUNE_INSTALL) cohttp
++      $(DUNE_BUILD) cohttp-lwt
++      $(DUNE_INSTALL) cohttp-lwt
++      $(DUNE_BUILD) cohttp-lwt-unix
++      $(DUNE_INSTALL) cohttp-lwt-unix
++      $(DUNE_BUILD) cohttp-lwt-jsoo
++      $(DUNE_INSTALL) cohttp-lwt-jsoo
++
++override_dh_auto_test:
++      $(DUNE_RUNTEST) cohttp
++      $(DUNE_RUNTEST) cohttp-lwt
++      $(DUNE_RUNTEST) cohttp-lwt-unix
++      $(DUNE_RUNTEST) cohttp-lwt-jsoo
++
++override_dh_auto_install:
++      rm -rf debian/tmp
++      cp -a $(CURDIR)/_tmp debian/tmp
++      rm -rf debian/tmp/usr/doc/*/LICENSE*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..46d9721acc3fac5617e9409a062cebfc33d00d58
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++version=4
++https://github.com/mirage/ocaml-cohttp/tags .*/v?([\d\.]+)\.tar\.gz