From: Peter Michael Green Date: Sat, 6 Jun 2026 15:32:36 +0000 (+0000) Subject: Import ocaml-cohttp_6.2.1-4+rpi1.debian.tar.xz X-Git-Tag: archive/raspbian/6.2.2-1+rpi1~3^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=75876c810047359290a2f63b396234e5ef090a62;p=ocaml-cohttp.git Import ocaml-cohttp_6.2.1-4+rpi1.debian.tar.xz [dgit import tarball ocaml-cohttp 6.2.1-4+rpi1 ocaml-cohttp_6.2.1-4+rpi1.debian.tar.xz] --- 75876c810047359290a2f63b396234e5ef090a62 diff --git a/changelog b/changelog new file mode 100644 index 0000000..983b5d9 --- /dev/null +++ b/changelog @@ -0,0 +1,70 @@ +ocaml-cohttp (6.2.1-4+rpi1) forky-staging; urgency=medium + + * Remove !nocheck build-dependencies. + * Disable testsuite. + + -- Peter Michael Green Sat, 06 Jun 2026 15:32:36 +0000 + +ocaml-cohttp (6.2.1-4) unstable; urgency=medium + + * Use dh_ocamllibinstall + + -- Stéphane Glondu Tue, 12 May 2026 09:22:01 +0200 + +ocaml-cohttp (6.2.1-3) unstable; urgency=medium + + * Enable tests that need base_quickcheck + * Bump Standards-Version to 4.7.4 + + -- Stéphane Glondu Tue, 21 Apr 2026 07:32:49 +0200 + +ocaml-cohttp (6.2.1-2) unstable; urgency=medium + + * Increase timeout in tests to cope with slowness of riscv64 + + -- Stéphane Glondu Mon, 16 Mar 2026 08:11:38 +0100 + +ocaml-cohttp (6.2.1-1) unstable; urgency=medium + + * New upstream release + * Bump Standards-Version to 4.7.3 + * Remove Priority and Rules-Requires-Root from debian/control + + -- Stéphane Glondu Sat, 14 Mar 2026 09:44:01 +0100 + +ocaml-cohttp (5.3.0-2) unstable; urgency=medium + + * Fix Build-Depends with nocheck profile (Closes: #1116829) + * Bump Standards-Version to 4.7.2 + * Bump debian/watch to version 5 + + -- Stéphane Glondu Sat, 04 Oct 2025 09:58:57 +0200 + +ocaml-cohttp (5.3.0-1) unstable; urgency=medium + + * New upstream release + + -- Stéphane Glondu Sun, 08 Oct 2023 20:49:27 +0200 + +ocaml-cohttp (5.1.0-2) unstable; urgency=medium + + * Use ocaml_dune DH buildsystem + * Bump Standards-Version to 4.6.2 + + -- Stéphane Glondu Mon, 07 Aug 2023 05:10:19 +0200 + +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 Thu, 06 Jul 2023 09:37:57 +0200 + +ocaml-cohttp (4.0.0-1) unstable; urgency=medium + + * Initial release (Closes: #1002566) + + -- Stéphane Glondu Sat, 15 Jan 2022 08:48:47 +0100 diff --git a/control b/control new file mode 100644 index 0000000..a2d24fe --- /dev/null +++ b/control @@ -0,0 +1,173 @@ +Source: ocaml-cohttp +Section: ocaml +Maintainer: Debian OCaml Maintainers +Uploaders: Stéphane Glondu +Build-Depends: + debhelper-compat (= 13), + dh-ocaml (>= 3), + libbase64-ocaml-dev, + libconduit-lwt-ocaml-dev, + libjsonm-ocaml-dev, + 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 +Standards-Version: 4.7.4 +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. diff --git a/copyright b/copyright new file mode 100644 index 0000000..f1fb43a --- /dev/null +++ b/copyright @@ -0,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 +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 --git a/debian-dune b/debian-dune new file mode 100644 index 0000000..32a349b --- /dev/null +++ b/debian-dune @@ -0,0 +1,5 @@ +http +cohttp +cohttp-lwt cohttp-lwt +cohttp-lwt-unix cohttp-lwt-unix +cohttp-lwt-jsoo cohttp-lwt-jsoo diff --git a/dh-ocaml.conf.json b/dh-ocaml.conf.json new file mode 100644 index 0000000..22658d2 --- /dev/null +++ b/dh-ocaml.conf.json @@ -0,0 +1,3 @@ +{ + "dh_ocamllibinstall": true +} 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/libcohttp-lwt-jsoo-ocaml-dev.docs b/libcohttp-lwt-jsoo-ocaml-dev.docs new file mode 100644 index 0000000..badc21d --- /dev/null +++ b/libcohttp-lwt-jsoo-ocaml-dev.docs @@ -0,0 +1 @@ +usr/doc/cohttp-lwt-jsoo/* diff --git a/libcohttp-lwt-ocaml-dev.docs b/libcohttp-lwt-ocaml-dev.docs new file mode 100644 index 0000000..4ab01cd --- /dev/null +++ b/libcohttp-lwt-ocaml-dev.docs @@ -0,0 +1 @@ +usr/doc/cohttp-lwt/* diff --git a/libcohttp-lwt-unix-ocaml-dev.docs b/libcohttp-lwt-unix-ocaml-dev.docs new file mode 100644 index 0000000..562ddbd --- /dev/null +++ b/libcohttp-lwt-unix-ocaml-dev.docs @@ -0,0 +1 @@ +usr/doc/cohttp-lwt-unix/* diff --git a/libcohttp-ocaml-dev.docs b/libcohttp-ocaml-dev.docs new file mode 100644 index 0000000..6a65cf3 --- /dev/null +++ b/libcohttp-ocaml-dev.docs @@ -0,0 +1 @@ +usr/doc/cohttp/* diff --git a/not-installed b/not-installed new file mode 100644 index 0000000..040bebc --- /dev/null +++ b/not-installed @@ -0,0 +1 @@ +usr/doc/http/* diff --git a/patches/0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch b/patches/0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch new file mode 100644 index 0000000..160436a --- /dev/null +++ b/patches/0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch @@ -0,0 +1,21 @@ +From: Stephane Glondu +Date: Mon, 16 Mar 2026 08:11:08 +0100 +Subject: Increase timeout in tests to cope with slowness of riscv64 + +--- + cohttp-lwt-unix/test/cohttp_lwt_unix_test/src/cohttp_lwt_unix_test.ml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cohttp-lwt-unix/test/cohttp_lwt_unix_test/src/cohttp_lwt_unix_test.ml b/cohttp-lwt-unix/test/cohttp_lwt_unix_test/src/cohttp_lwt_unix_test.ml +index d399ea1..36c59fe 100644 +--- a/cohttp-lwt-unix/test/cohttp_lwt_unix_test/src/cohttp_lwt_unix_test.ml ++++ b/cohttp-lwt-unix/test/cohttp_lwt_unix_test/src/cohttp_lwt_unix_test.ml +@@ -40,7 +40,7 @@ let temp_server ?port spec callback = + Lwt.wakeup_exn server_failed_wake exn; + Lwt.reraise exn) + in +- Lwt.pick [ Lwt_unix.with_timeout 5.0 (fun () -> callback uri); server_failed ] ++ Lwt.pick [ Lwt_unix.with_timeout 10.0 (fun () -> callback uri); server_failed ] + >|= fun res -> + Lwt.cancel server; + res diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..bf1e9f2 --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch diff --git a/rules b/rules new file mode 100755 index 0000000..c60db02 --- /dev/null +++ b/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DEB_BUILD_OPTIONS += nocheck + +include /usr/share/ocaml/ocamlvars.mk + +%: + dh $@ --with ocaml --buildsystem ocaml_dune 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..9b5a949 --- /dev/null +++ b/watch @@ -0,0 +1,5 @@ +Version: 5 + +Source: https://api.github.com/repos/mirage/ocaml-cohttp/releases?per_page=50 +Matching-Pattern: https://[^ "]+/cohttp-@ANY_VERSION@\.tbz +Searchmode: plain