Codebase list ocaml-conduit / 3e14d1d
Initial packaging Stephane Glondu 2 years ago
13 changed file(s) with 207 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ocaml-conduit (4.0.2-1) UNRELEASED; urgency=medium
1
2 * Initial release (Closes: #1001143)
3
4 -- Stéphane Glondu <glondu@debian.org> Sun, 05 Dec 2021 08:32:41 +0100
0 Source: ocaml-conduit
1 Section: ocaml
2 Priority: optional
3 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
4 Uploaders:
5 Stéphane Glondu <glondu@debian.org>
6 Build-Depends:
7 debhelper-compat (= 13),
8 ocaml-nox,
9 ocaml-dune,
10 libppx-sexp-conv-ocaml-dev,
11 libsexplib-ocaml-dev,
12 libastring-ocaml-dev,
13 liburi-ocaml-dev,
14 liblogs-ocaml-dev,
15 libipaddr-ocaml-dev,
16 liblwt-ocaml-dev,
17 dh-ocaml
18 Standards-Version: 4.6.0
19 Rules-Requires-Root: no
20 Homepage: https://github.com/mirage/ocaml-conduit
21 Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml-conduit.git
22 Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml-conduit
23
24 Package: libconduit-ocaml-dev
25 Architecture: any
26 Depends:
27 ${shlibs:Depends},
28 ${ocaml:Depends},
29 ${misc:Depends}
30 Provides: ${ocaml:Provides}
31 Recommends: ocaml-findlib
32 Description: network connection establishment library for OCaml (dev)
33 The conduit library takes care of establishing and listening for TCP
34 and SSL/TLS connections for the Lwt and Async libraries.
35 .
36 The reason this library exists is to provide a degree of abstraction
37 from the precise SSL library used, since there are a variety of ways
38 to bind to a library (e.g. the C FFI, or the Ctypes library), as well
39 as well as which library is used (just OpenSSL for now).
40 .
41 By default, OpenSSL is used as the preferred connection library, but
42 you can force the use of the pure OCaml TLS stack by setting the
43 environment variable CONDUIT_TLS=native when starting your program.
44 .
45 This package contains development files.
46
47 Package: libconduit-ocaml
48 Architecture: any
49 Depends:
50 ${shlibs:Depends},
51 ${ocaml:Depends},
52 ${misc:Depends}
53 Provides: ${ocaml:Provides}
54 Suggests: ocaml-findlib
55 Description: network connection establishment library for OCaml (runtime)
56 The conduit library takes care of establishing and listening for TCP
57 and SSL/TLS connections for the Lwt and Async libraries.
58 .
59 The reason this library exists is to provide a degree of abstraction
60 from the precise SSL library used, since there are a variety of ways
61 to bind to a library (e.g. the C FFI, or the Ctypes library), as well
62 as well as which library is used (just OpenSSL for now).
63 .
64 By default, OpenSSL is used as the preferred connection library, but
65 you can force the use of the pure OCaml TLS stack by setting the
66 environment variable CONDUIT_TLS=native when starting your program.
67 .
68 This package contains the shared runtime libraries.
69
70 Package: libconduit-lwt-ocaml-dev
71 Architecture: any
72 Depends:
73 ${shlibs:Depends},
74 ${ocaml:Depends},
75 ${misc:Depends}
76 Provides: ${ocaml:Provides}
77 Recommends: ocaml-findlib
78 Description: network connection establishment library for Lwt (dev)
79 The conduit library takes care of establishing and listening for TCP
80 and SSL/TLS connections for the Lwt and Async libraries.
81 .
82 The reason this library exists is to provide a degree of abstraction
83 from the precise SSL library used, since there are a variety of ways
84 to bind to a library (e.g. the C FFI, or the Ctypes library), as well
85 as well as which library is used (just OpenSSL for now).
86 .
87 By default, OpenSSL is used as the preferred connection library, but
88 you can force the use of the pure OCaml TLS stack by setting the
89 environment variable CONDUIT_TLS=native when starting your program.
90 .
91 This package contains development files for Lwt.
92
93 Package: libconduit-lwt-ocaml
94 Architecture: any
95 Depends:
96 ${shlibs:Depends},
97 ${ocaml:Depends},
98 ${misc:Depends}
99 Provides: ${ocaml:Provides}
100 Suggests: ocaml-findlib
101 Description: network connection establishment library for Lwt (runtime)
102 The conduit library takes care of establishing and listening for TCP
103 and SSL/TLS connections for the Lwt and Async libraries.
104 .
105 The reason this library exists is to provide a degree of abstraction
106 from the precise SSL library used, since there are a variety of ways
107 to bind to a library (e.g. the C FFI, or the Ctypes library), as well
108 as well as which library is used (just OpenSSL for now).
109 .
110 By default, OpenSSL is used as the preferred connection library, but
111 you can force the use of the pure OCaml TLS stack by setting the
112 environment variable CONDUIT_TLS=native when starting your program.
113 .
114 This package contains the shared runtime libraries for Lwt.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1
2 Files: *
3 Copyright: 2012-2018, The ocaml-conduit contributors
4 License: ISC
5
6 Files: debian/*
7 Copyright: 2021, Stéphane Glondu <glondu@debian.org>
8 License: ISC
9
10 License: ISC
11 Permission to use, copy, modify, and/or distribute this software for
12 any purpose with or without fee is hereby granted, provided that the
13 above copyright notice and this permission notice appear in all
14 copies.
15 .
16 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
17 WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
18 WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
19 AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
20 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
21 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
22 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23 PERFORMANCE OF THIS SOFTWARE.
0 [DEFAULT]
1 pristine-tar = True
0 @OCamlStdlibDir@/*lwt*/*opam*
1 @OCamlStdlibDir@/*lwt*/*dune*
2 @OCamlStdlibDir@/*lwt*/*.cmt*
3 @OCamlStdlibDir@/*lwt*/*.cmi
4 @OCamlStdlibDir@/*lwt*/*.ml*
5 @OCamlStdlibDir@/*lwt*/*.a
6 OPT: @OCamlStdlibDir@/*lwt*/*.cmxa
7 OPT: @OCamlStdlibDir@/*lwt*/*.cmx
0 @OCamlStdlibDir@/*lwt*/META
1 @OCamlStdlibDir@/*lwt*/*.cma
2 DYN: @OCamlStdlibDir@/*lwt*/*.cmxs
0 @OCamlStdlibDir@/conduit/*opam*
1 @OCamlStdlibDir@/conduit/*dune*
2 @OCamlStdlibDir@/conduit/*.cmt*
3 @OCamlStdlibDir@/conduit/*.cmi
4 @OCamlStdlibDir@/conduit/*.ml*
5 @OCamlStdlibDir@/conduit/*.a
6 OPT: @OCamlStdlibDir@/conduit/*.cmxa
7 OPT: @OCamlStdlibDir@/conduit/*.cmx
0 @OCamlStdlibDir@/conduit/META
1 @OCamlStdlibDir@/conduit/*.cma
2 DYN: @OCamlStdlibDir@/conduit/*.cmxs
0 #!/usr/bin/make -f
1 # -*- makefile -*-
2
3 DESTDIR=$(CURDIR)/debian/tmp
4
5 include /usr/share/ocaml/ocamlvars.mk
6
7 %:
8 dh $@ --with ocaml
9
10 override_dh_auto_clean:
11 dune clean
12 rm -rf _tmp
13
14 override_dh_auto_build:
15 rm -rf _tmp
16 OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p conduit
17 dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) conduit
18 OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p conduit-lwt
19 dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) conduit-lwt
20 # Needs ca-cert
21 # OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p conduit-lwt-unix
22 # dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) conduit-lwt-unix
23
24 override_dh_auto_test:
25 OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p conduit
26 OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p conduit-lwt
27 # OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p conduit-lwt-unix
28
29 override_dh_auto_install:
30 rm -rf debian/tmp
31 cp -a $(CURDIR)/_tmp debian/tmp
32 # for u in conduit-lwt-unix; do rm -rf $(DESTDIR)/usr/doc/$$u; done
33 rm -rf debian/tmp/usr/doc/*/LICENSE*
0 3.0 (quilt)
0 version=4
1 https://github.com/mirage/ocaml-conduit/releases .*-v?([\d\.]+)\.tbz