From: Peter Michael Green Date: Sat, 6 Jun 2026 15:32:36 +0000 (+0000) Subject: ocaml-cohttp (6.2.1-4+rpi1) forky-staging; urgency=medium X-Git-Tag: archive/raspbian/6.2.2-1+rpi1~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d953728d51fd696ec9bec85ed869300709cf7b7e;p=ocaml-cohttp.git ocaml-cohttp (6.2.1-4+rpi1) forky-staging; urgency=medium * Remove !nocheck build-dependencies. * Disable testsuite. [dgit import unpatched ocaml-cohttp 6.2.1-4+rpi1] --- d953728d51fd696ec9bec85ed869300709cf7b7e diff --cc debian/changelog index 0000000,0000000..983b5d9 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,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 --cc debian/control index 0000000,0000000..a2d24fe new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,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 --cc debian/copyright index 0000000,0000000..f1fb43a new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -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 ++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/debian-dune index 0000000,0000000..32a349b new file mode 100644 --- /dev/null +++ b/debian/debian-dune @@@ -1,0 -1,0 +1,5 @@@ ++http ++cohttp ++cohttp-lwt cohttp-lwt ++cohttp-lwt-unix cohttp-lwt-unix ++cohttp-lwt-jsoo cohttp-lwt-jsoo diff --cc debian/dh-ocaml.conf.json index 0000000,0000000..22658d2 new file mode 100644 --- /dev/null +++ b/debian/dh-ocaml.conf.json @@@ -1,0 -1,0 +1,3 @@@ ++{ ++ "dh_ocamllibinstall": true ++} diff --cc debian/gbp.conf index 0000000,0000000..cec628c new file mode 100644 --- /dev/null +++ b/debian/gbp.conf @@@ -1,0 -1,0 +1,2 @@@ ++[DEFAULT] ++pristine-tar = True diff --cc debian/libcohttp-lwt-jsoo-ocaml-dev.docs index 0000000,0000000..badc21d new file mode 100644 --- /dev/null +++ b/debian/libcohttp-lwt-jsoo-ocaml-dev.docs @@@ -1,0 -1,0 +1,1 @@@ ++usr/doc/cohttp-lwt-jsoo/* diff --cc debian/libcohttp-lwt-ocaml-dev.docs index 0000000,0000000..4ab01cd new file mode 100644 --- /dev/null +++ b/debian/libcohttp-lwt-ocaml-dev.docs @@@ -1,0 -1,0 +1,1 @@@ ++usr/doc/cohttp-lwt/* diff --cc debian/libcohttp-lwt-unix-ocaml-dev.docs index 0000000,0000000..562ddbd new file mode 100644 --- /dev/null +++ b/debian/libcohttp-lwt-unix-ocaml-dev.docs @@@ -1,0 -1,0 +1,1 @@@ ++usr/doc/cohttp-lwt-unix/* diff --cc debian/libcohttp-ocaml-dev.docs index 0000000,0000000..6a65cf3 new file mode 100644 --- /dev/null +++ b/debian/libcohttp-ocaml-dev.docs @@@ -1,0 -1,0 +1,1 @@@ ++usr/doc/cohttp/* diff --cc debian/not-installed index 0000000,0000000..040bebc new file mode 100644 --- /dev/null +++ b/debian/not-installed @@@ -1,0 -1,0 +1,1 @@@ ++usr/doc/http/* diff --cc debian/patches/0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch index 0000000,0000000..160436a new file mode 100644 --- /dev/null +++ b/debian/patches/0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch @@@ -1,0 -1,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 --cc debian/patches/series index 0000000,0000000..bf1e9f2 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,1 @@@ ++0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch diff --cc debian/rules index 0000000,0000000..c60db02 new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,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 --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/watch index 0000000,0000000..9b5a949 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,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