From d84bce87f89e5fafb1d7d9c18911c6ac863c3612 Mon Sep 17 00:00:00 2001 From: David Scott Date: Tue, 1 May 2018 13:38:19 +0100 Subject: [PATCH 1/3] Add mirage-channel{,-lwt}.3.2.0 which has `read_line ~len` This imports https://github.com/mirage/mirage-channel/pull/25 Signed-off-by: David Scott --- .../dev/mirage-channel-lwt.3.2.0/descr | 29 +++++++++++++++++ .../dev/mirage-channel-lwt.3.2.0/opam | 32 +++++++++++++++++++ .../packages/dev/mirage-channel-lwt.3.2.0/url | 1 + .../packages/dev/mirage-channel.3.2.0/descr | 29 +++++++++++++++++ .../packages/dev/mirage-channel.3.2.0/opam | 22 +++++++++++++ .../packages/dev/mirage-channel.3.2.0/url | 1 + .../packages/dev/mirage-channel-lwt.3.2.0 | 1 + repo/win32/packages/dev/mirage-channel.3.2.0 | 1 + 8 files changed, 116 insertions(+) create mode 100644 repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/descr create mode 100644 repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/opam create mode 100644 repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/url create mode 100644 repo/darwin/packages/dev/mirage-channel.3.2.0/descr create mode 100644 repo/darwin/packages/dev/mirage-channel.3.2.0/opam create mode 100644 repo/darwin/packages/dev/mirage-channel.3.2.0/url create mode 120000 repo/win32/packages/dev/mirage-channel-lwt.3.2.0 create mode 120000 repo/win32/packages/dev/mirage-channel.3.2.0 diff --git a/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/descr b/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/descr new file mode 100644 index 000000000..55e8d1911 --- /dev/null +++ b/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/descr @@ -0,0 +1,29 @@ +Buffered channels for MirageOS FLOW types + +Channels are buffered reader/writers built on top of unbuffered `FLOW` +implementations. + +Example: + +```ocaml +module Channel = Channel.Make(Flow) +... +Channel.read_exactly ~len:16 t +>>= fun bufs -> (* read header of message *) +let payload_length = Cstruct.(LE.get_uint16 (concat bufs) 0) in +Channel.read_exactly ~len:payload_length t +>>= fun bufs -> (* payload of message *) + +(* process message *) + +Channel.write_buffer t header; +Channel.write_buffer t payload; +Channel.flush t +>>= fun () -> +``` + +mirage-channel is distributed under the ISC license. + +* Homepage: https://github.com/mirage/mirage-channel +* Issue: +* Contact: `` \ No newline at end of file diff --git a/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/opam b/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/opam new file mode 100644 index 000000000..0ec20e299 --- /dev/null +++ b/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/opam @@ -0,0 +1,32 @@ +opam-version: "1.2" +maintainer: "Anil Madhavapeddy " +authors: ["Anil Madhavapeddy" "Mindy Preston" "Thomas Gazagnaire"] +homepage: "https://github.com/mirage/mirage-channel" +doc: "http://docs.mirage.io/mirage-channel" +license: "ISC" +dev-repo: "https://github.com/mirage/mirage-channel.git" +bug-reports: "https://github.com/mirage/mirage-channel/issues" +tags: ["org:mirage"] + +build: [ + [ "jbuilder" "subst" ] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] +build-test: [ + [ "jbuilder" "runtest" "-p" name "-j" jobs ] +] + +depends: [ + "jbuilder" {build & >="1.0+beta10"} + "mirage-flow-lwt" {>= "1.2.0"} + "mirage-channel" {>= "3.1.0"} + "io-page" + "result" + "lwt" {>= "2.4.7"} + "cstruct" + "logs" + "alcotest" {test} + "io-page-unix" {test} +] +conflicts: [ "tcpip" {<"2.5.0"} ] +available: [ ocaml-version >= "4.02.3"] diff --git a/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/url b/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/url new file mode 100644 index 000000000..8ae428610 --- /dev/null +++ b/repo/darwin/packages/dev/mirage-channel-lwt.3.2.0/url @@ -0,0 +1 @@ +git: "https://github.com/djs55/mirage-channel#read-line-limit" diff --git a/repo/darwin/packages/dev/mirage-channel.3.2.0/descr b/repo/darwin/packages/dev/mirage-channel.3.2.0/descr new file mode 100644 index 000000000..55e8d1911 --- /dev/null +++ b/repo/darwin/packages/dev/mirage-channel.3.2.0/descr @@ -0,0 +1,29 @@ +Buffered channels for MirageOS FLOW types + +Channels are buffered reader/writers built on top of unbuffered `FLOW` +implementations. + +Example: + +```ocaml +module Channel = Channel.Make(Flow) +... +Channel.read_exactly ~len:16 t +>>= fun bufs -> (* read header of message *) +let payload_length = Cstruct.(LE.get_uint16 (concat bufs) 0) in +Channel.read_exactly ~len:payload_length t +>>= fun bufs -> (* payload of message *) + +(* process message *) + +Channel.write_buffer t header; +Channel.write_buffer t payload; +Channel.flush t +>>= fun () -> +``` + +mirage-channel is distributed under the ISC license. + +* Homepage: https://github.com/mirage/mirage-channel +* Issue: +* Contact: `` \ No newline at end of file diff --git a/repo/darwin/packages/dev/mirage-channel.3.2.0/opam b/repo/darwin/packages/dev/mirage-channel.3.2.0/opam new file mode 100644 index 000000000..af78ade59 --- /dev/null +++ b/repo/darwin/packages/dev/mirage-channel.3.2.0/opam @@ -0,0 +1,22 @@ +opam-version: "1.2" +maintainer: "Anil Madhavapeddy " +authors: ["Anil Madhavapeddy" "Mindy Preston" "Thomas Gazagnaire"] +homepage: "https://github.com/mirage/mirage-channel" +doc: "http://mirage.github.io/mirage-channel/" +license: "ISC" +dev-repo: "https://github.com/mirage/mirage-channel.git" +bug-reports: "https://github.com/mirage/mirage-channel/issues" +tags: ["org:mirage"] +available: [ ocaml-version >= "4.02.3"] + +build: [ + [ "jbuilder" "subst" ] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] +depends: [ + "jbuilder" {build & >="1.0+beta10"} + "mirage-flow" {>= "1.2.0"} +] +conflicts: [ + "tcpip" {< "3.0.0"} +] diff --git a/repo/darwin/packages/dev/mirage-channel.3.2.0/url b/repo/darwin/packages/dev/mirage-channel.3.2.0/url new file mode 100644 index 000000000..8ae428610 --- /dev/null +++ b/repo/darwin/packages/dev/mirage-channel.3.2.0/url @@ -0,0 +1 @@ +git: "https://github.com/djs55/mirage-channel#read-line-limit" diff --git a/repo/win32/packages/dev/mirage-channel-lwt.3.2.0 b/repo/win32/packages/dev/mirage-channel-lwt.3.2.0 new file mode 120000 index 000000000..9431b0dcf --- /dev/null +++ b/repo/win32/packages/dev/mirage-channel-lwt.3.2.0 @@ -0,0 +1 @@ +../../../darwin/packages/dev/mirage-channel-lwt.3.2.0 \ No newline at end of file diff --git a/repo/win32/packages/dev/mirage-channel.3.2.0 b/repo/win32/packages/dev/mirage-channel.3.2.0 new file mode 120000 index 000000000..27aec615d --- /dev/null +++ b/repo/win32/packages/dev/mirage-channel.3.2.0 @@ -0,0 +1 @@ +../../../darwin/packages/dev/mirage-channel.3.2.0 \ No newline at end of file From 494b98bd721c588dbc1c1ad8666cd55d792fca7a Mon Sep 17 00:00:00 2001 From: David Scott Date: Tue, 1 May 2018 16:19:33 +0100 Subject: [PATCH 2/3] Add cohttp-mirage.1.2.0 which uses `read_line ~len` This imports https://github.com/mirage/ocaml-cohttp/pull/612 Signed-off-by: David Scott --- .../packages/dev/cohttp-mirage.1.2.0/descr | 26 ++++++++++++++++ .../packages/dev/cohttp-mirage.1.2.0/opam | 30 +++++++++++++++++++ .../packages/dev/cohttp-mirage.1.2.0/url | 1 + repo/win32/packages/dev/cohttp-mirage.1.2.0 | 1 + 4 files changed, 58 insertions(+) create mode 100644 repo/darwin/packages/dev/cohttp-mirage.1.2.0/descr create mode 100644 repo/darwin/packages/dev/cohttp-mirage.1.2.0/opam create mode 100644 repo/darwin/packages/dev/cohttp-mirage.1.2.0/url create mode 120000 repo/win32/packages/dev/cohttp-mirage.1.2.0 diff --git a/repo/darwin/packages/dev/cohttp-mirage.1.2.0/descr b/repo/darwin/packages/dev/cohttp-mirage.1.2.0/descr new file mode 100644 index 000000000..032a6c1f4 --- /dev/null +++ b/repo/darwin/packages/dev/cohttp-mirage.1.2.0/descr @@ -0,0 +1,26 @@ +An OCaml library for HTTP clients and servers + +[![Join the chat at https://gitter.im/mirage/ocaml-cohttp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mirage/ocaml-cohttp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + +Cohttp is an OCaml library for creating HTTP daemons. It has a portable +HTTP parser, and implementations using various asynchronous programming +libraries: + +* `Cohttp_lwt_unix` uses the [Lwt](https://ocsigen.org/lwt/) library, and + specifically the UNIX bindings. +* `Cohttp_async` uses the [Async](https://realworldocaml.org/v1/en/html/concurrent-programming-with-async.html) + library. +* `Cohttp_lwt` exposes an OS-independent Lwt interface, which is used + by the [Mirage](https://mirage.io/) interface to generate standalone + microkernels (use the cohttp-mirage subpackage). +* `Cohttp_lwt_xhr` compiles to a JavaScript module that maps the Cohttp + calls to XMLHTTPRequests. This is used to compile OCaml libraries like + the GitHub bindings to JavaScript and still run efficiently. + +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. \ No newline at end of file diff --git a/repo/darwin/packages/dev/cohttp-mirage.1.2.0/opam b/repo/darwin/packages/dev/cohttp-mirage.1.2.0/opam new file mode 100644 index 000000000..e0e5e8337 --- /dev/null +++ b/repo/darwin/packages/dev/cohttp-mirage.1.2.0/opam @@ -0,0 +1,30 @@ +opam-version: "1.2" +maintainer: "anil@recoil.org" +authors: [ + "Anil Madhavapeddy" + "Thomas Gazagnaire" +] +homepage: "https://github.com/mirage/ocaml-cohttp" +bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +dev-repo: "https://github.com/mirage/ocaml-cohttp.git" +build: [ + ["jbuilder" "subst" "-n" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] +build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] +depends: [ + "jbuilder" {build & >= "1.0+beta10"} + "result" + "mirage-flow-lwt" {>= "1.2.0"} + "mirage-channel-lwt" {>= "3.0.0"} + "conduit" {>= "0.99"} + "mirage-conduit" {>= "3.0.0"} + "lwt" {>= "2.4.3"} + "cohttp" + "cohttp-lwt" + "astring" + "magic-mime" +] +available: [ocaml-version >= "4.03.0"] diff --git a/repo/darwin/packages/dev/cohttp-mirage.1.2.0/url b/repo/darwin/packages/dev/cohttp-mirage.1.2.0/url new file mode 100644 index 000000000..7c2680014 --- /dev/null +++ b/repo/darwin/packages/dev/cohttp-mirage.1.2.0/url @@ -0,0 +1 @@ +git: "https://github.com/djs55/ocaml-cohttp#read-line-limit" diff --git a/repo/win32/packages/dev/cohttp-mirage.1.2.0 b/repo/win32/packages/dev/cohttp-mirage.1.2.0 new file mode 120000 index 000000000..725427c1b --- /dev/null +++ b/repo/win32/packages/dev/cohttp-mirage.1.2.0 @@ -0,0 +1 @@ +../../../darwin/packages/dev/cohttp-mirage.1.2.0 \ No newline at end of file From 434ebcb8b466af8f3e7eb6bcb74e67a4ff1cdde0 Mon Sep 17 00:00:00 2001 From: David Scott Date: Tue, 1 May 2018 13:40:55 +0100 Subject: [PATCH 3/3] AUTO: Update upstream packages Signed-off-by: David Scott --- .../upstream/asn1-combinators.0.2.0/descr | 10 ++ .../upstream/asn1-combinators.0.2.0/opam | 27 +++ .../upstream/asn1-combinators.0.2.0/url | 2 + .../packages/upstream/base.v0.10.0/opam | 2 +- .../packages/upstream/conduit-lwt.1.1.0/descr | 37 +++++ .../packages/upstream/conduit-lwt.1.1.0/opam | 21 +++ .../packages/upstream/conduit-lwt.1.1.0/url | 2 + .../packages/upstream/conduit.1.1.0/descr | 37 +++++ .../packages/upstream/conduit.1.1.0/opam | 24 +++ .../packages/upstream/conduit.1.1.0/url | 2 + .../darwin/packages/upstream/conf-gmp.1/descr | 2 + .../packages/upstream/conf-gmp.1/files/test.c | 8 + repo/darwin/packages/upstream/conf-gmp.1/opam | 22 +++ .../packages/upstream/conf-perl.1/descr | 2 + .../darwin/packages/upstream/conf-perl.1/opam | 15 ++ .../packages/upstream/cpuid.0.1.1/descr | 26 +++ .../darwin/packages/upstream/cpuid.0.1.1/opam | 19 +++ repo/darwin/packages/upstream/cpuid.0.1.1/url | 2 + .../packages/upstream/hvsock.1.0.1/opam | 2 +- repo/darwin/packages/upstream/lwt.3.3.0/opam | 4 - .../packages/upstream/magic-mime.1.1.0/descr | 26 +++ .../packages/upstream/magic-mime.1.1.0/opam | 19 +++ .../packages/upstream/magic-mime.1.1.0/url | 2 + .../upstream/mirage-channel-lwt.3.1.0/descr | 29 ---- .../upstream/mirage-channel-lwt.3.1.0/opam | 32 ---- .../upstream/mirage-channel-lwt.3.1.0/url | 2 - .../upstream/mirage-channel.3.1.0/descr | 29 ---- .../upstream/mirage-channel.3.1.0/opam | 22 --- .../upstream/mirage-channel.3.1.0/url | 2 - .../upstream/mirage-conduit.3.0.1/descr | 35 ++++ .../upstream/mirage-conduit.3.0.1/opam | 26 +++ .../upstream/mirage-conduit.3.0.1/url | 2 + .../packages/upstream/mirage-no-solo5.1/descr | 1 + .../packages/upstream/mirage-no-solo5.1/opam | 6 + .../packages/upstream/mirage-no-xen.1/descr | 1 + .../packages/upstream/mirage-no-xen.1/opam | 6 + .../packages/upstream/nocrypto.0.5.4/descr | 9 + .../packages/upstream/nocrypto.0.5.4/opam | 42 +++++ .../packages/upstream/nocrypto.0.5.4/url | 2 + .../ocaml-migrate-parsetree.1.0.7/opam | 2 +- .../files/check-num-in-sitelib.patch | 39 ----- .../ocamlfind.1.7.3-1/files/threads.patch | 26 --- .../packages/upstream/ocamlfind.1.7.3-1/url | 3 - .../descr | 0 .../files/ocaml-stub | 0 .../files/ocamlfind.install | 0 .../opam | 6 +- .../packages/upstream/ocamlfind.1.8.0/url | 3 + repo/darwin/packages/upstream/ounit.2.0.7/url | 2 - .../{ounit.2.0.7 => ounit.2.0.8}/descr | 0 .../packages/upstream/ounit.2.0.8}/opam | 2 +- repo/darwin/packages/upstream/ounit.2.0.8/url | 2 + .../packages/upstream/ptime.0.8.3/descr | 20 +++ .../darwin/packages/upstream/ptime.0.8.3/opam | 21 +++ repo/darwin/packages/upstream/ptime.0.8.3/url | 2 + repo/darwin/packages/upstream/tls.0.9.1/descr | 15 ++ repo/darwin/packages/upstream/tls.0.9.1/opam | 55 ++++++ repo/darwin/packages/upstream/tls.0.9.1/url | 2 + .../packages/upstream/vchan.3.0.0/descr | 4 + .../darwin/packages/upstream/vchan.3.0.0/opam | 37 +++++ repo/darwin/packages/upstream/vchan.3.0.0/url | 2 + .../darwin/packages/upstream/x509.0.6.1/descr | 10 ++ repo/darwin/packages/upstream/x509.0.6.1/opam | 36 ++++ repo/darwin/packages/upstream/x509.0.6.1/url | 2 + .../packages/upstream/xenstore.2.0.0/descr | 1 + .../packages/upstream/xenstore.2.0.0/opam | 30 ++++ .../packages/upstream/xenstore.2.0.0/url | 2 + .../upstream/xenstore_transport.1.0.0/descr | 6 + .../upstream/xenstore_transport.1.0.0/opam | 37 +++++ .../upstream/xenstore_transport.1.0.0/url | 2 + .../darwin/packages/upstream/zarith.1.7/descr | 5 + repo/darwin/packages/upstream/zarith.1.7/opam | 27 +++ repo/darwin/packages/upstream/zarith.1.7/url | 2 + .../upstream/asn1-combinators.0.2.0/descr | 10 ++ .../upstream/asn1-combinators.0.2.0/opam | 27 +++ .../upstream/asn1-combinators.0.2.0/url | 2 + .../win32/packages/upstream/base.v0.10.0/opam | 2 +- .../packages/upstream/conduit-lwt.1.1.0/descr | 37 +++++ .../packages/upstream/conduit-lwt.1.1.0/opam | 21 +++ .../packages/upstream/conduit-lwt.1.1.0/url | 2 + .../packages/upstream/conduit.1.1.0/descr | 37 +++++ .../packages/upstream/conduit.1.1.0/opam | 24 +++ .../win32/packages/upstream/conduit.1.1.0/url | 2 + repo/win32/packages/upstream/conf-gmp.1/descr | 2 + .../upstream/conf-gmp.1/files/test-win.sh | 4 + .../packages/upstream/conf-gmp.1/files/test.c | 8 + repo/win32/packages/upstream/conf-gmp.1/opam | 24 +++ .../win32/packages/upstream/conf-perl.1/descr | 2 + repo/win32/packages/upstream/conf-perl.1/opam | 15 ++ .../win32/packages/upstream/cpuid.0.1.1/descr | 26 +++ repo/win32/packages/upstream/cpuid.0.1.1/opam | 19 +++ repo/win32/packages/upstream/cpuid.0.1.1/url | 2 + .../win32/packages/upstream/hvsock.1.0.1/opam | 2 +- repo/win32/packages/upstream/lwt.3.3.0/opam | 4 - .../packages/upstream/magic-mime.1.1.0/descr | 26 +++ .../packages/upstream/magic-mime.1.1.0/opam | 19 +++ .../packages/upstream/magic-mime.1.1.0/url | 2 + .../upstream/mirage-channel-lwt.3.1.0/descr | 29 ---- .../upstream/mirage-channel-lwt.3.1.0/opam | 32 ---- .../upstream/mirage-channel-lwt.3.1.0/url | 2 - .../upstream/mirage-channel.3.1.0/descr | 29 ---- .../upstream/mirage-channel.3.1.0/opam | 22 --- .../upstream/mirage-channel.3.1.0/url | 2 - .../upstream/mirage-conduit.3.0.1/descr | 35 ++++ .../upstream/mirage-conduit.3.0.1/opam | 26 +++ .../upstream/mirage-conduit.3.0.1/url | 2 + .../packages/upstream/mirage-no-solo5.1/descr | 1 + .../packages/upstream/mirage-no-solo5.1/opam | 6 + .../packages/upstream/mirage-no-xen.1/descr | 1 + .../packages/upstream/mirage-no-xen.1/opam | 6 + .../packages/upstream/nocrypto.0.5.4/descr | 9 + .../packages/upstream/nocrypto.0.5.4/opam | 42 +++++ .../packages/upstream/nocrypto.0.5.4/url | 2 + .../ocaml-migrate-parsetree.1.0.7/opam | 2 +- .../files/check-num-in-sitelib.patch | 39 ----- .../ocamlfind.1.7.3-1/files/threads.patch | 26 --- .../packages/upstream/ocamlfind.1.7.3-1/opam | 27 --- .../packages/upstream/ocamlfind.1.7.3-1/url | 3 - .../descr | 0 .../files/findlib-1.8.0.patch} | 38 ++--- .../files/ocaml-stub | 0 .../files/ocamlfind.install | 0 .../packages/upstream/ocamlfind.1.8.0/opam | 26 +++ .../packages/upstream/ocamlfind.1.8.0/url | 3 + repo/win32/packages/upstream/ounit.2.0.7/url | 2 - .../{ounit.2.0.7 => ounit.2.0.8}/descr | 0 .../packages/upstream/ounit.2.0.8}/opam | 2 +- repo/win32/packages/upstream/ounit.2.0.8/url | 2 + .../win32/packages/upstream/ptime.0.8.3/descr | 20 +++ repo/win32/packages/upstream/ptime.0.8.3/opam | 21 +++ repo/win32/packages/upstream/ptime.0.8.3/url | 2 + repo/win32/packages/upstream/tls.0.9.1/descr | 15 ++ repo/win32/packages/upstream/tls.0.9.1/opam | 55 ++++++ repo/win32/packages/upstream/tls.0.9.1/url | 2 + .../win32/packages/upstream/vchan.3.0.0/descr | 4 + repo/win32/packages/upstream/vchan.3.0.0/opam | 37 +++++ repo/win32/packages/upstream/vchan.3.0.0/url | 2 + repo/win32/packages/upstream/x509.0.6.1/descr | 10 ++ repo/win32/packages/upstream/x509.0.6.1/opam | 36 ++++ repo/win32/packages/upstream/x509.0.6.1/url | 2 + .../packages/upstream/xenstore.2.0.0/descr | 1 + .../packages/upstream/xenstore.2.0.0/opam | 30 ++++ .../packages/upstream/xenstore.2.0.0/url | 2 + .../upstream/xenstore_transport.1.0.0/descr | 6 + .../upstream/xenstore_transport.1.0.0/opam | 37 +++++ .../upstream/xenstore_transport.1.0.0/url | 2 + repo/win32/packages/upstream/zarith.1.7/descr | 5 + .../zarith.1.7/files/Zarith-release-1.7.patch | 156 ++++++++++++++++++ repo/win32/packages/upstream/zarith.1.7/opam | 28 ++++ repo/win32/packages/upstream/zarith.1.7/url | 2 + 150 files changed, 1733 insertions(+), 439 deletions(-) create mode 100644 repo/darwin/packages/upstream/asn1-combinators.0.2.0/descr create mode 100644 repo/darwin/packages/upstream/asn1-combinators.0.2.0/opam create mode 100644 repo/darwin/packages/upstream/asn1-combinators.0.2.0/url create mode 100644 repo/darwin/packages/upstream/conduit-lwt.1.1.0/descr create mode 100644 repo/darwin/packages/upstream/conduit-lwt.1.1.0/opam create mode 100644 repo/darwin/packages/upstream/conduit-lwt.1.1.0/url create mode 100644 repo/darwin/packages/upstream/conduit.1.1.0/descr create mode 100644 repo/darwin/packages/upstream/conduit.1.1.0/opam create mode 100644 repo/darwin/packages/upstream/conduit.1.1.0/url create mode 100644 repo/darwin/packages/upstream/conf-gmp.1/descr create mode 100644 repo/darwin/packages/upstream/conf-gmp.1/files/test.c create mode 100644 repo/darwin/packages/upstream/conf-gmp.1/opam create mode 100644 repo/darwin/packages/upstream/conf-perl.1/descr create mode 100644 repo/darwin/packages/upstream/conf-perl.1/opam create mode 100644 repo/darwin/packages/upstream/cpuid.0.1.1/descr create mode 100644 repo/darwin/packages/upstream/cpuid.0.1.1/opam create mode 100644 repo/darwin/packages/upstream/cpuid.0.1.1/url create mode 100644 repo/darwin/packages/upstream/magic-mime.1.1.0/descr create mode 100644 repo/darwin/packages/upstream/magic-mime.1.1.0/opam create mode 100644 repo/darwin/packages/upstream/magic-mime.1.1.0/url delete mode 100644 repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/descr delete mode 100644 repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/opam delete mode 100644 repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/url delete mode 100644 repo/darwin/packages/upstream/mirage-channel.3.1.0/descr delete mode 100644 repo/darwin/packages/upstream/mirage-channel.3.1.0/opam delete mode 100644 repo/darwin/packages/upstream/mirage-channel.3.1.0/url create mode 100644 repo/darwin/packages/upstream/mirage-conduit.3.0.1/descr create mode 100644 repo/darwin/packages/upstream/mirage-conduit.3.0.1/opam create mode 100644 repo/darwin/packages/upstream/mirage-conduit.3.0.1/url create mode 100644 repo/darwin/packages/upstream/mirage-no-solo5.1/descr create mode 100644 repo/darwin/packages/upstream/mirage-no-solo5.1/opam create mode 100644 repo/darwin/packages/upstream/mirage-no-xen.1/descr create mode 100644 repo/darwin/packages/upstream/mirage-no-xen.1/opam create mode 100644 repo/darwin/packages/upstream/nocrypto.0.5.4/descr create mode 100644 repo/darwin/packages/upstream/nocrypto.0.5.4/opam create mode 100644 repo/darwin/packages/upstream/nocrypto.0.5.4/url delete mode 100644 repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch delete mode 100644 repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch delete mode 100644 repo/darwin/packages/upstream/ocamlfind.1.7.3-1/url rename repo/darwin/packages/upstream/{ocamlfind.1.7.3-1 => ocamlfind.1.8.0}/descr (100%) rename repo/darwin/packages/upstream/{ocamlfind.1.7.3-1 => ocamlfind.1.8.0}/files/ocaml-stub (100%) rename repo/darwin/packages/upstream/{ocamlfind.1.7.3-1 => ocamlfind.1.8.0}/files/ocamlfind.install (100%) rename repo/darwin/packages/upstream/{ocamlfind.1.7.3-1 => ocamlfind.1.8.0}/opam (87%) create mode 100644 repo/darwin/packages/upstream/ocamlfind.1.8.0/url delete mode 100644 repo/darwin/packages/upstream/ounit.2.0.7/url rename repo/darwin/packages/upstream/{ounit.2.0.7 => ounit.2.0.8}/descr (100%) rename repo/{win32/packages/upstream/ounit.2.0.7 => darwin/packages/upstream/ounit.2.0.8}/opam (96%) create mode 100644 repo/darwin/packages/upstream/ounit.2.0.8/url create mode 100644 repo/darwin/packages/upstream/ptime.0.8.3/descr create mode 100644 repo/darwin/packages/upstream/ptime.0.8.3/opam create mode 100644 repo/darwin/packages/upstream/ptime.0.8.3/url create mode 100644 repo/darwin/packages/upstream/tls.0.9.1/descr create mode 100644 repo/darwin/packages/upstream/tls.0.9.1/opam create mode 100644 repo/darwin/packages/upstream/tls.0.9.1/url create mode 100644 repo/darwin/packages/upstream/vchan.3.0.0/descr create mode 100644 repo/darwin/packages/upstream/vchan.3.0.0/opam create mode 100644 repo/darwin/packages/upstream/vchan.3.0.0/url create mode 100644 repo/darwin/packages/upstream/x509.0.6.1/descr create mode 100644 repo/darwin/packages/upstream/x509.0.6.1/opam create mode 100644 repo/darwin/packages/upstream/x509.0.6.1/url create mode 100644 repo/darwin/packages/upstream/xenstore.2.0.0/descr create mode 100644 repo/darwin/packages/upstream/xenstore.2.0.0/opam create mode 100644 repo/darwin/packages/upstream/xenstore.2.0.0/url create mode 100644 repo/darwin/packages/upstream/xenstore_transport.1.0.0/descr create mode 100644 repo/darwin/packages/upstream/xenstore_transport.1.0.0/opam create mode 100644 repo/darwin/packages/upstream/xenstore_transport.1.0.0/url create mode 100644 repo/darwin/packages/upstream/zarith.1.7/descr create mode 100644 repo/darwin/packages/upstream/zarith.1.7/opam create mode 100644 repo/darwin/packages/upstream/zarith.1.7/url create mode 100644 repo/win32/packages/upstream/asn1-combinators.0.2.0/descr create mode 100644 repo/win32/packages/upstream/asn1-combinators.0.2.0/opam create mode 100644 repo/win32/packages/upstream/asn1-combinators.0.2.0/url create mode 100644 repo/win32/packages/upstream/conduit-lwt.1.1.0/descr create mode 100644 repo/win32/packages/upstream/conduit-lwt.1.1.0/opam create mode 100644 repo/win32/packages/upstream/conduit-lwt.1.1.0/url create mode 100644 repo/win32/packages/upstream/conduit.1.1.0/descr create mode 100644 repo/win32/packages/upstream/conduit.1.1.0/opam create mode 100644 repo/win32/packages/upstream/conduit.1.1.0/url create mode 100644 repo/win32/packages/upstream/conf-gmp.1/descr create mode 100755 repo/win32/packages/upstream/conf-gmp.1/files/test-win.sh create mode 100644 repo/win32/packages/upstream/conf-gmp.1/files/test.c create mode 100644 repo/win32/packages/upstream/conf-gmp.1/opam create mode 100644 repo/win32/packages/upstream/conf-perl.1/descr create mode 100644 repo/win32/packages/upstream/conf-perl.1/opam create mode 100644 repo/win32/packages/upstream/cpuid.0.1.1/descr create mode 100644 repo/win32/packages/upstream/cpuid.0.1.1/opam create mode 100644 repo/win32/packages/upstream/cpuid.0.1.1/url create mode 100644 repo/win32/packages/upstream/magic-mime.1.1.0/descr create mode 100644 repo/win32/packages/upstream/magic-mime.1.1.0/opam create mode 100644 repo/win32/packages/upstream/magic-mime.1.1.0/url delete mode 100644 repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/descr delete mode 100644 repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/opam delete mode 100644 repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/url delete mode 100644 repo/win32/packages/upstream/mirage-channel.3.1.0/descr delete mode 100644 repo/win32/packages/upstream/mirage-channel.3.1.0/opam delete mode 100644 repo/win32/packages/upstream/mirage-channel.3.1.0/url create mode 100644 repo/win32/packages/upstream/mirage-conduit.3.0.1/descr create mode 100644 repo/win32/packages/upstream/mirage-conduit.3.0.1/opam create mode 100644 repo/win32/packages/upstream/mirage-conduit.3.0.1/url create mode 100644 repo/win32/packages/upstream/mirage-no-solo5.1/descr create mode 100644 repo/win32/packages/upstream/mirage-no-solo5.1/opam create mode 100644 repo/win32/packages/upstream/mirage-no-xen.1/descr create mode 100644 repo/win32/packages/upstream/mirage-no-xen.1/opam create mode 100644 repo/win32/packages/upstream/nocrypto.0.5.4/descr create mode 100644 repo/win32/packages/upstream/nocrypto.0.5.4/opam create mode 100644 repo/win32/packages/upstream/nocrypto.0.5.4/url delete mode 100644 repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch delete mode 100644 repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch delete mode 100644 repo/win32/packages/upstream/ocamlfind.1.7.3-1/opam delete mode 100644 repo/win32/packages/upstream/ocamlfind.1.7.3-1/url rename repo/win32/packages/upstream/{ocamlfind.1.7.3-1 => ocamlfind.1.8.0}/descr (100%) rename repo/win32/packages/upstream/{ocamlfind.1.7.3-1/files/findlib-1.7.3.patch => ocamlfind.1.8.0/files/findlib-1.8.0.patch} (97%) rename repo/win32/packages/upstream/{ocamlfind.1.7.3-1 => ocamlfind.1.8.0}/files/ocaml-stub (100%) rename repo/win32/packages/upstream/{ocamlfind.1.7.3-1 => ocamlfind.1.8.0}/files/ocamlfind.install (100%) create mode 100644 repo/win32/packages/upstream/ocamlfind.1.8.0/opam create mode 100644 repo/win32/packages/upstream/ocamlfind.1.8.0/url delete mode 100644 repo/win32/packages/upstream/ounit.2.0.7/url rename repo/win32/packages/upstream/{ounit.2.0.7 => ounit.2.0.8}/descr (100%) rename repo/{darwin/packages/upstream/ounit.2.0.7 => win32/packages/upstream/ounit.2.0.8}/opam (96%) create mode 100644 repo/win32/packages/upstream/ounit.2.0.8/url create mode 100644 repo/win32/packages/upstream/ptime.0.8.3/descr create mode 100644 repo/win32/packages/upstream/ptime.0.8.3/opam create mode 100644 repo/win32/packages/upstream/ptime.0.8.3/url create mode 100644 repo/win32/packages/upstream/tls.0.9.1/descr create mode 100644 repo/win32/packages/upstream/tls.0.9.1/opam create mode 100644 repo/win32/packages/upstream/tls.0.9.1/url create mode 100644 repo/win32/packages/upstream/vchan.3.0.0/descr create mode 100644 repo/win32/packages/upstream/vchan.3.0.0/opam create mode 100644 repo/win32/packages/upstream/vchan.3.0.0/url create mode 100644 repo/win32/packages/upstream/x509.0.6.1/descr create mode 100644 repo/win32/packages/upstream/x509.0.6.1/opam create mode 100644 repo/win32/packages/upstream/x509.0.6.1/url create mode 100644 repo/win32/packages/upstream/xenstore.2.0.0/descr create mode 100644 repo/win32/packages/upstream/xenstore.2.0.0/opam create mode 100644 repo/win32/packages/upstream/xenstore.2.0.0/url create mode 100644 repo/win32/packages/upstream/xenstore_transport.1.0.0/descr create mode 100644 repo/win32/packages/upstream/xenstore_transport.1.0.0/opam create mode 100644 repo/win32/packages/upstream/xenstore_transport.1.0.0/url create mode 100644 repo/win32/packages/upstream/zarith.1.7/descr create mode 100644 repo/win32/packages/upstream/zarith.1.7/files/Zarith-release-1.7.patch create mode 100644 repo/win32/packages/upstream/zarith.1.7/opam create mode 100644 repo/win32/packages/upstream/zarith.1.7/url diff --git a/repo/darwin/packages/upstream/asn1-combinators.0.2.0/descr b/repo/darwin/packages/upstream/asn1-combinators.0.2.0/descr new file mode 100644 index 000000000..d4f3ddbaf --- /dev/null +++ b/repo/darwin/packages/upstream/asn1-combinators.0.2.0/descr @@ -0,0 +1,10 @@ +Embed typed ASN.1 grammars in OCaml + +asn1-combinators is a library for expressing ASN.1 in OCaml. Skip the notation +part of ASN.1, and embed the abstract syntax directly in the language. These +abstract syntax representations can be used for parsing, serialization, or +random testing. + +The only ASN.1 encodings currently supported are BER and DER. + +asn1-combinators is distributed under the ISC license. diff --git a/repo/darwin/packages/upstream/asn1-combinators.0.2.0/opam b/repo/darwin/packages/upstream/asn1-combinators.0.2.0/opam new file mode 100644 index 000000000..f8c4ee578 --- /dev/null +++ b/repo/darwin/packages/upstream/asn1-combinators.0.2.0/opam @@ -0,0 +1,27 @@ +opam-version: "1.2" +authors: ["David Kaloper Meršinjak "] +maintainer: "David Kaloper Meršinjak " +homepage: "https://github.com/mirleft/ocaml-asn1-combinators" +doc: "https://mirleft.github.io/ocaml-asn1-combinators/doc" +license: "ISC" +dev-repo: "https://github.com/mirleft/ocaml-asn1-combinators.git" +bug-reports: "https://github.com/mirleft/ocaml-asn1-combinators/issues" +tags: [ "org:mirage" ] +available: [ ocaml-version >= "4.02.0" ] +build: [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" ] +build-test: [ + [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true" ] + [ "ocaml" "pkg/pkg.ml" "test" ] +] +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "result" + "cstruct" + "zarith" + "ptime" + "ounit" {test} +] +depopts: [] +conflicts: [ "cstruct" {< "1.6.0"} ] diff --git a/repo/darwin/packages/upstream/asn1-combinators.0.2.0/url b/repo/darwin/packages/upstream/asn1-combinators.0.2.0/url new file mode 100644 index 000000000..6cf26ab82 --- /dev/null +++ b/repo/darwin/packages/upstream/asn1-combinators.0.2.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v0.2.0/asn1-combinators-0.2.0.tbz" +checksum: "f695aec35f8934d20d966032adbf3520" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/base.v0.10.0/opam b/repo/darwin/packages/upstream/base.v0.10.0/opam index ea936832c..099e95b25 100644 --- a/repo/darwin/packages/upstream/base.v0.10.0/opam +++ b/repo/darwin/packages/upstream/base.v0.10.0/opam @@ -15,4 +15,4 @@ depends: [ depopts: [ "base-native-int63" ] -available: [ ocaml-version >= "4.04.1" ] +available: [ ocaml-version >= "4.04.1" & ocaml-version < "4.07.0" ] diff --git a/repo/darwin/packages/upstream/conduit-lwt.1.1.0/descr b/repo/darwin/packages/upstream/conduit-lwt.1.1.0/descr new file mode 100644 index 000000000..089629261 --- /dev/null +++ b/repo/darwin/packages/upstream/conduit-lwt.1.1.0/descr @@ -0,0 +1,37 @@ +An OCaml network connection establishment library + +[![Build Status](https://travis-ci.org/mirage/ocaml-conduit.svg?branch=master)](https://travis-ci.org/mirage/ocaml-conduit) + +The `conduit` library takes care of establishing and listening for +TCP and SSL/TLS connections for the Lwt and Async libraries. + +The reason this library exists is to provide a degree of abstraction +from the precise SSL library used, since there are a variety of ways +to bind to a library (e.g. the C FFI, or the Ctypes library), as well +as well as which library is used (just OpenSSL for now). + +By default, OpenSSL is used as the preferred connection library, but +you can force the use of the pure OCaml TLS stack by setting the +environment variable `CONDUIT_TLS=native` when starting your program. + +The opam packages available are: + +- `conduit`: the main `Conduit` module +- `conduit-lwt`: the portable Lwt implementation +- `conduit-lwt-unix`: the Lwt/Unix implementation +- `conduit-async` the Jane Street Async implementation +- `mirage-conduit`: the MirageOS compatible implementation + +### Debugging + +Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` +environment variable to output debugging information to standard error. +Just set this variable when running the program to see what URIs +are being resolved to. + +### Further Informartion + +* **API Docs:** http://docs.mirage.io/ +* **WWW:** https://github.com/mirage/ocaml-conduit +* **E-mail:** +* **Bugs:** https://github.com/mirage/ocaml-conduit/issues \ No newline at end of file diff --git a/repo/darwin/packages/upstream/conduit-lwt.1.1.0/opam b/repo/darwin/packages/upstream/conduit-lwt.1.1.0/opam new file mode 100644 index 000000000..4c44e250c --- /dev/null +++ b/repo/darwin/packages/upstream/conduit-lwt.1.1.0/opam @@ -0,0 +1,21 @@ +opam-version: "1.2" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"] +homepage: "https://github.com/mirage/ocaml-conduit" +dev-repo: "https://github.com/mirage/ocaml-conduit.git" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +tags: "org:mirage" +license: "ISC" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] +depends: [ + "base-unix" + "jbuilder" {build & >="1.0+beta9"} + "ppx_sexp_conv" {build} + "conduit" + "lwt" {>="3.0.0"} +] +available: [ocaml-version >= "4.03.0"] diff --git a/repo/darwin/packages/upstream/conduit-lwt.1.1.0/url b/repo/darwin/packages/upstream/conduit-lwt.1.1.0/url new file mode 100644 index 000000000..e34c664c3 --- /dev/null +++ b/repo/darwin/packages/upstream/conduit-lwt.1.1.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.1.0/conduit-1.1.0.tbz" +checksum: "eb1d02c80d06ef812d97dc1ab588b597" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/conduit.1.1.0/descr b/repo/darwin/packages/upstream/conduit.1.1.0/descr new file mode 100644 index 000000000..089629261 --- /dev/null +++ b/repo/darwin/packages/upstream/conduit.1.1.0/descr @@ -0,0 +1,37 @@ +An OCaml network connection establishment library + +[![Build Status](https://travis-ci.org/mirage/ocaml-conduit.svg?branch=master)](https://travis-ci.org/mirage/ocaml-conduit) + +The `conduit` library takes care of establishing and listening for +TCP and SSL/TLS connections for the Lwt and Async libraries. + +The reason this library exists is to provide a degree of abstraction +from the precise SSL library used, since there are a variety of ways +to bind to a library (e.g. the C FFI, or the Ctypes library), as well +as well as which library is used (just OpenSSL for now). + +By default, OpenSSL is used as the preferred connection library, but +you can force the use of the pure OCaml TLS stack by setting the +environment variable `CONDUIT_TLS=native` when starting your program. + +The opam packages available are: + +- `conduit`: the main `Conduit` module +- `conduit-lwt`: the portable Lwt implementation +- `conduit-lwt-unix`: the Lwt/Unix implementation +- `conduit-async` the Jane Street Async implementation +- `mirage-conduit`: the MirageOS compatible implementation + +### Debugging + +Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` +environment variable to output debugging information to standard error. +Just set this variable when running the program to see what URIs +are being resolved to. + +### Further Informartion + +* **API Docs:** http://docs.mirage.io/ +* **WWW:** https://github.com/mirage/ocaml-conduit +* **E-mail:** +* **Bugs:** https://github.com/mirage/ocaml-conduit/issues \ No newline at end of file diff --git a/repo/darwin/packages/upstream/conduit.1.1.0/opam b/repo/darwin/packages/upstream/conduit.1.1.0/opam new file mode 100644 index 000000000..4270ba140 --- /dev/null +++ b/repo/darwin/packages/upstream/conduit.1.1.0/opam @@ -0,0 +1,24 @@ +opam-version: "1.2" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"] +homepage: "https://github.com/mirage/ocaml-conduit" +dev-repo: "https://github.com/mirage/ocaml-conduit.git" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +tags: "org:mirage" +license: "ISC" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] +depends: [ + "jbuilder" {build & >="1.0+beta9"} + "ppx_sexp_conv" {build} + "sexplib" + "astring" + "uri" + "result" + "logs" {>="0.5.0"} + "ipaddr" {>="2.5.0"} +] +available: [ocaml-version >= "4.03.0"] diff --git a/repo/darwin/packages/upstream/conduit.1.1.0/url b/repo/darwin/packages/upstream/conduit.1.1.0/url new file mode 100644 index 000000000..e34c664c3 --- /dev/null +++ b/repo/darwin/packages/upstream/conduit.1.1.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.1.0/conduit-1.1.0.tbz" +checksum: "eb1d02c80d06ef812d97dc1ab588b597" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/conf-gmp.1/descr b/repo/darwin/packages/upstream/conf-gmp.1/descr new file mode 100644 index 000000000..c409e3439 --- /dev/null +++ b/repo/darwin/packages/upstream/conf-gmp.1/descr @@ -0,0 +1,2 @@ +Virtual package relying on a GMP lib system installation. +This package can only install if the GMP lib is installed on the system. diff --git a/repo/darwin/packages/upstream/conf-gmp.1/files/test.c b/repo/darwin/packages/upstream/conf-gmp.1/files/test.c new file mode 100644 index 000000000..74e2843b7 --- /dev/null +++ b/repo/darwin/packages/upstream/conf-gmp.1/files/test.c @@ -0,0 +1,8 @@ +#include +#ifndef __GMP_H__ +#error "No GMP header" +#endif + +void test(void) { + __gmp_init(); +} diff --git a/repo/darwin/packages/upstream/conf-gmp.1/opam b/repo/darwin/packages/upstream/conf-gmp.1/opam new file mode 100644 index 000000000..f4f84e621 --- /dev/null +++ b/repo/darwin/packages/upstream/conf-gmp.1/opam @@ -0,0 +1,22 @@ +opam-version: "1.2" +maintainer: "nbraud" +author: "nbraud" +homepage: "http://gmplib.org/" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +dev-repo: "https://github.com/ocaml/opam-repository.git" +license: "GPL" +build: [ + ["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "darwin"} + ["sh" "-exc" "cc -c $CFLAGS -I/opt/local/include -I/usr/local/include test.c"] {os = "darwin"} +] +depexts: [ + [["debian"] ["libgmp-dev"]] + [["ubuntu"] ["libgmp-dev"]] + [["osx" "homebrew"] ["gmp"]] + [["centos"] ["gmp" "gmp-devel"]] + [["fedora"] ["gmp" "gmp-devel"]] + [["openbsd"] ["gmp"]] + [["freebsd"] ["gmp"]] + [["alpine"] ["gmp-dev"]] + [["opensuse"] ["gmp-devel"]] +] diff --git a/repo/darwin/packages/upstream/conf-perl.1/descr b/repo/darwin/packages/upstream/conf-perl.1/descr new file mode 100644 index 000000000..a0520188b --- /dev/null +++ b/repo/darwin/packages/upstream/conf-perl.1/descr @@ -0,0 +1,2 @@ +Virtual package relying on perl +This package can only install if the perl program is installed on the system. diff --git a/repo/darwin/packages/upstream/conf-perl.1/opam b/repo/darwin/packages/upstream/conf-perl.1/opam new file mode 100644 index 000000000..2010b2430 --- /dev/null +++ b/repo/darwin/packages/upstream/conf-perl.1/opam @@ -0,0 +1,15 @@ +opam-version: "1.2" +maintainer: "tim@gfxmonk.net" +homepage: "https://www.perl.org/" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +dev-repo: "https://github.com/ocaml/opam-repository.git" +license: "GPL-1+" +build: [["perl" "--version"]] +depexts: [ + [["debian"] ["perl"]] + [["ubuntu"] ["perl"]] + [["alpine"]["perl"]] + [["nixpkgs"] ["perl"]] + [["archlinux"] ["perl"]] + [["fedora"] ["perl-Pod-Html"]] +] diff --git a/repo/darwin/packages/upstream/cpuid.0.1.1/descr b/repo/darwin/packages/upstream/cpuid.0.1.1/descr new file mode 100644 index 000000000..6ed960e99 --- /dev/null +++ b/repo/darwin/packages/upstream/cpuid.0.1.1/descr @@ -0,0 +1,26 @@ +Detect CPU features + + +cpuid allows detection of CPU features from OCaml. + +cpuid is distributed under the ISC license. + +## Installation + +cpuid can be installed with `opam`: + + opam install cpuid + +If you don't use `opam` consult the [`opam`](opam) file for build +instructions. + +## Documentation + +The documentation and API reference is automatically generated by +`ocamldoc` from the interfaces. It can be consulted [online][doc] +and there is a generated version in the `doc` directory of the +distribution. + +[doc]: https://pqwy.github.io/cpuid/doc + +[![Build Status](https://travis-ci.org/pqwy/cpuid.svg?branch=master)](https://travis-ci.org/pqwy/cpuid) \ No newline at end of file diff --git a/repo/darwin/packages/upstream/cpuid.0.1.1/opam b/repo/darwin/packages/upstream/cpuid.0.1.1/opam new file mode 100644 index 000000000..fc08f3543 --- /dev/null +++ b/repo/darwin/packages/upstream/cpuid.0.1.1/opam @@ -0,0 +1,19 @@ +opam-version: "1.2" +maintainer: "David Kaloper Meršinjak " +authors: ["David Kaloper Meršinjak "] +homepage: "https://github.com/pqwy/cpuid" +doc: "https://pqwy.github.io/cpuid/doc" +license: "ISC" +dev-repo: "https://github.com/pqwy/cpuid.git" +bug-reports: "https://github.com/pqwy/cpuid/issues" +tags: [] +available: [ ocaml-version >= "4.01.0" ] +build: [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" ] +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "ocb-stubblr" {build} + "result" ] +depopts: [] +conflicts: [ "ocb-stubblr" {<"0.1.0"} ] diff --git a/repo/darwin/packages/upstream/cpuid.0.1.1/url b/repo/darwin/packages/upstream/cpuid.0.1.1/url new file mode 100644 index 000000000..248d3235b --- /dev/null +++ b/repo/darwin/packages/upstream/cpuid.0.1.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/pqwy/cpuid/releases/download/v0.1.1/cpuid-0.1.1.tbz" +checksum: "717a6bf371bd083ea588ccd96f328dc2" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/hvsock.1.0.1/opam b/repo/darwin/packages/upstream/hvsock.1.0.1/opam index f71d3a430..35934d0d2 100644 --- a/repo/darwin/packages/upstream/hvsock.1.0.1/opam +++ b/repo/darwin/packages/upstream/hvsock.1.0.1/opam @@ -21,7 +21,7 @@ depends: [ "base-bytes" "base-threads" "base-unix" - "lwt" {>= "2.4.7"} + "lwt" {>= "2.4.7" & < "4.0.0"} "logs" "fmt" "cmdliner" diff --git a/repo/darwin/packages/upstream/lwt.3.3.0/opam b/repo/darwin/packages/upstream/lwt.3.3.0/opam index 86e7f1549..857a96042 100644 --- a/repo/darwin/packages/upstream/lwt.3.3.0/opam +++ b/repo/darwin/packages/upstream/lwt.3.3.0/opam @@ -58,7 +58,3 @@ messages: [ "For Lwt_log and Lwt_daemon, please install package lwt_log" {!lwt_log:installed} ] -post-messages: [ - "Lwt 4.0.0 will make some breaking changes in March 2018. See - https://github.com/ocsigen/lwt/issues/453" -] diff --git a/repo/darwin/packages/upstream/magic-mime.1.1.0/descr b/repo/darwin/packages/upstream/magic-mime.1.1.0/descr new file mode 100644 index 000000000..eb0771d5e --- /dev/null +++ b/repo/darwin/packages/upstream/magic-mime.1.1.0/descr @@ -0,0 +1,26 @@ +Map filenames to common MIME types + +This library contains a database of MIME types that maps filename extensions +into MIME types suitable for use in many Internet protocols such as HTTP or +e-mail. It is generated from the `mime.types` file found in Unix systems, but +has no dependency on a filesystem since it includes the contents of the +database as an ML datastructure. + +For example, here's how to lookup MIME types in the [utop] REPL: + + #require "magic-mime";; + Magic_mime.lookup "/foo/bar.txt";; + - : bytes = "text/plain" + Magic_mime.lookup "bar.css";; + - : bytes = "text/css" + +### Internals + +The following files need to be edited to add MIME types: + +- mime.types: this is obtained by synching from the Apache Foundation's + [mime.types](https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types) + in the Apache Subversion repository. +- x-mime.types: these are the extension types, so non-standard `x-` prefixes are used here. +- file.types: full filenames of common occurrences that are useful to map onto a MIME type. + OCaml-specific things like `opam` files show up here. \ No newline at end of file diff --git a/repo/darwin/packages/upstream/magic-mime.1.1.0/opam b/repo/darwin/packages/upstream/magic-mime.1.1.0/opam new file mode 100644 index 000000000..9459ca8b1 --- /dev/null +++ b/repo/darwin/packages/upstream/magic-mime.1.1.0/opam @@ -0,0 +1,19 @@ +opam-version: "1.2" +name: "magic-mime" +maintainer: "Anil Madhavapeddy " +authors: ["Anil Madhavapeddy" "Maxence Guesdon"] +homepage: "https://github.com/mirage/ocaml-magic-mime" +bug-reports: "https://github.com/mirage/ocaml-magic-mime/issues" +dev-repo: "https://github.com/mirage/ocaml-magic-mime.git" +doc: "https://mirage.github.io/ocaml-magic-mime" +license: "ISC" + +build: [ + [ "jbuilder" "subst"] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] + +depends: [ + "jbuilder" {build & >="1.0+beta9"} +] +available: [ ocaml-version >= "4.03.0" ] diff --git a/repo/darwin/packages/upstream/magic-mime.1.1.0/url b/repo/darwin/packages/upstream/magic-mime.1.1.0/url new file mode 100644 index 000000000..7bfb26c9d --- /dev/null +++ b/repo/darwin/packages/upstream/magic-mime.1.1.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-magic-mime/releases/download/v1.1.0/magic-mime-1.1.0.tbz" +checksum: "341ab5133c2e17ca645f23a0149025d1" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/descr b/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/descr deleted file mode 100644 index 55e8d1911..000000000 --- a/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/descr +++ /dev/null @@ -1,29 +0,0 @@ -Buffered channels for MirageOS FLOW types - -Channels are buffered reader/writers built on top of unbuffered `FLOW` -implementations. - -Example: - -```ocaml -module Channel = Channel.Make(Flow) -... -Channel.read_exactly ~len:16 t ->>= fun bufs -> (* read header of message *) -let payload_length = Cstruct.(LE.get_uint16 (concat bufs) 0) in -Channel.read_exactly ~len:payload_length t ->>= fun bufs -> (* payload of message *) - -(* process message *) - -Channel.write_buffer t header; -Channel.write_buffer t payload; -Channel.flush t ->>= fun () -> -``` - -mirage-channel is distributed under the ISC license. - -* Homepage: https://github.com/mirage/mirage-channel -* Issue: -* Contact: `` \ No newline at end of file diff --git a/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/opam b/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/opam deleted file mode 100644 index 0ec20e299..000000000 --- a/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/opam +++ /dev/null @@ -1,32 +0,0 @@ -opam-version: "1.2" -maintainer: "Anil Madhavapeddy " -authors: ["Anil Madhavapeddy" "Mindy Preston" "Thomas Gazagnaire"] -homepage: "https://github.com/mirage/mirage-channel" -doc: "http://docs.mirage.io/mirage-channel" -license: "ISC" -dev-repo: "https://github.com/mirage/mirage-channel.git" -bug-reports: "https://github.com/mirage/mirage-channel/issues" -tags: ["org:mirage"] - -build: [ - [ "jbuilder" "subst" ] {pinned} - [ "jbuilder" "build" "-p" name "-j" jobs ] -] -build-test: [ - [ "jbuilder" "runtest" "-p" name "-j" jobs ] -] - -depends: [ - "jbuilder" {build & >="1.0+beta10"} - "mirage-flow-lwt" {>= "1.2.0"} - "mirage-channel" {>= "3.1.0"} - "io-page" - "result" - "lwt" {>= "2.4.7"} - "cstruct" - "logs" - "alcotest" {test} - "io-page-unix" {test} -] -conflicts: [ "tcpip" {<"2.5.0"} ] -available: [ ocaml-version >= "4.02.3"] diff --git a/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/url b/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/url deleted file mode 100644 index b8e4dbc05..000000000 --- a/repo/darwin/packages/upstream/mirage-channel-lwt.3.1.0/url +++ /dev/null @@ -1,2 +0,0 @@ -archive: "https://github.com/mirage/mirage-channel/releases/download/v3.1.0/mirage-channel-3.1.0.tbz" -checksum: "942d02ee627c0bae75ce5e7e16c1153e" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/mirage-channel.3.1.0/descr b/repo/darwin/packages/upstream/mirage-channel.3.1.0/descr deleted file mode 100644 index 55e8d1911..000000000 --- a/repo/darwin/packages/upstream/mirage-channel.3.1.0/descr +++ /dev/null @@ -1,29 +0,0 @@ -Buffered channels for MirageOS FLOW types - -Channels are buffered reader/writers built on top of unbuffered `FLOW` -implementations. - -Example: - -```ocaml -module Channel = Channel.Make(Flow) -... -Channel.read_exactly ~len:16 t ->>= fun bufs -> (* read header of message *) -let payload_length = Cstruct.(LE.get_uint16 (concat bufs) 0) in -Channel.read_exactly ~len:payload_length t ->>= fun bufs -> (* payload of message *) - -(* process message *) - -Channel.write_buffer t header; -Channel.write_buffer t payload; -Channel.flush t ->>= fun () -> -``` - -mirage-channel is distributed under the ISC license. - -* Homepage: https://github.com/mirage/mirage-channel -* Issue: -* Contact: `` \ No newline at end of file diff --git a/repo/darwin/packages/upstream/mirage-channel.3.1.0/opam b/repo/darwin/packages/upstream/mirage-channel.3.1.0/opam deleted file mode 100644 index af78ade59..000000000 --- a/repo/darwin/packages/upstream/mirage-channel.3.1.0/opam +++ /dev/null @@ -1,22 +0,0 @@ -opam-version: "1.2" -maintainer: "Anil Madhavapeddy " -authors: ["Anil Madhavapeddy" "Mindy Preston" "Thomas Gazagnaire"] -homepage: "https://github.com/mirage/mirage-channel" -doc: "http://mirage.github.io/mirage-channel/" -license: "ISC" -dev-repo: "https://github.com/mirage/mirage-channel.git" -bug-reports: "https://github.com/mirage/mirage-channel/issues" -tags: ["org:mirage"] -available: [ ocaml-version >= "4.02.3"] - -build: [ - [ "jbuilder" "subst" ] {pinned} - [ "jbuilder" "build" "-p" name "-j" jobs ] -] -depends: [ - "jbuilder" {build & >="1.0+beta10"} - "mirage-flow" {>= "1.2.0"} -] -conflicts: [ - "tcpip" {< "3.0.0"} -] diff --git a/repo/darwin/packages/upstream/mirage-channel.3.1.0/url b/repo/darwin/packages/upstream/mirage-channel.3.1.0/url deleted file mode 100644 index b8e4dbc05..000000000 --- a/repo/darwin/packages/upstream/mirage-channel.3.1.0/url +++ /dev/null @@ -1,2 +0,0 @@ -archive: "https://github.com/mirage/mirage-channel/releases/download/v3.1.0/mirage-channel-3.1.0.tbz" -checksum: "942d02ee627c0bae75ce5e7e16c1153e" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/mirage-conduit.3.0.1/descr b/repo/darwin/packages/upstream/mirage-conduit.3.0.1/descr new file mode 100644 index 000000000..cb46f15b9 --- /dev/null +++ b/repo/darwin/packages/upstream/mirage-conduit.3.0.1/descr @@ -0,0 +1,35 @@ +Network conduit library + +The `conduit` library takes care of establishing and listening for +TCP and SSL/TLS connections for the Lwt and Async libraries. + +The reason this library exists is to provide a degree of abstraction +from the precise SSL library used, since there are a variety of ways +to bind to a library (e.g. the C FFI, or the Ctypes library), as well +as well as which library is used (just OpenSSL for now). + +By default, OpenSSL is used as the preferred connection library, but +you can force the use of the pure OCaml TLS stack by setting the +environment variable `CONDUIT_TLS=native` when starting your program. + +The opam packages available are: + +- `conduit`: the main `Conduit` module +- `conduit-lwt`: the portable Lwt implementation +- `conduit-lwt-unix`: the Lwt/Unix implementation +- `conduit-async` the Jane Street Async implementation +- `mirage-conduit`: the MirageOS compatible implementation + +### Debugging + +Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` +environment variable to output debugging information to standard error. +Just set this variable when running the program to see what URIs +are being resolved to. + +### Further Informartion + +* **API Docs:** http://docs.mirage.io/ +* **WWW:** https://github.com/mirage/ocaml-conduit +* **E-mail:** +* **Bugs:** https://github.com/mirage/ocaml-conduit/issues \ No newline at end of file diff --git a/repo/darwin/packages/upstream/mirage-conduit.3.0.1/opam b/repo/darwin/packages/upstream/mirage-conduit.3.0.1/opam new file mode 100644 index 000000000..4d9f78119 --- /dev/null +++ b/repo/darwin/packages/upstream/mirage-conduit.3.0.1/opam @@ -0,0 +1,26 @@ +opam-version: "1.2" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire"] +homepage: "https://github.com/mirage/ocaml-conduit" +dev-repo: "https://github.com/mirage/ocaml-conduit.git" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +tags: "org:mirage" +license: "ISC" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] + +depends: [ + "jbuilder" {build & >="1.0+beta10"} + "ppx_sexp_conv" {build} + "cstruct" {>= "3.0.0"} + "mirage-types-lwt" {>= "3.0.0"} + "mirage-flow-lwt" {>= "1.2.0"} + "mirage-dns" {>= "3.0.0"} + "conduit-lwt" + "vchan" {>= "3.0.0"} + "tls" {>="0.8.0"} +] +available: [ocaml-version >="4.03.0"] diff --git a/repo/darwin/packages/upstream/mirage-conduit.3.0.1/url b/repo/darwin/packages/upstream/mirage-conduit.3.0.1/url new file mode 100644 index 000000000..a11f363f0 --- /dev/null +++ b/repo/darwin/packages/upstream/mirage-conduit.3.0.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.0.1/conduit-1.0.1.tbz" +checksum: "ef2095d59d93303697c944f9d404e64d" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/mirage-no-solo5.1/descr b/repo/darwin/packages/upstream/mirage-no-solo5.1/descr new file mode 100644 index 000000000..fe8ccd209 --- /dev/null +++ b/repo/darwin/packages/upstream/mirage-no-solo5.1/descr @@ -0,0 +1 @@ +Virtual package conflicting with mirage-solo5 diff --git a/repo/darwin/packages/upstream/mirage-no-solo5.1/opam b/repo/darwin/packages/upstream/mirage-no-solo5.1/opam new file mode 100644 index 000000000..aaaef8fd9 --- /dev/null +++ b/repo/darwin/packages/upstream/mirage-no-solo5.1/opam @@ -0,0 +1,6 @@ +opam-version: "1.2" +maintainer: "mirageos-devel@lists.xenproject.org" +authors: ["mirageos-devel@lists.xenproject.org"] +homepage: "https://mirage.io" +license: "BSD2" +conflicts: [ "mirage-solo5" ] diff --git a/repo/darwin/packages/upstream/mirage-no-xen.1/descr b/repo/darwin/packages/upstream/mirage-no-xen.1/descr new file mode 100644 index 000000000..fe69ce3c9 --- /dev/null +++ b/repo/darwin/packages/upstream/mirage-no-xen.1/descr @@ -0,0 +1 @@ +Virtual package conflicting with mirage-xen diff --git a/repo/darwin/packages/upstream/mirage-no-xen.1/opam b/repo/darwin/packages/upstream/mirage-no-xen.1/opam new file mode 100644 index 000000000..34c598b39 --- /dev/null +++ b/repo/darwin/packages/upstream/mirage-no-xen.1/opam @@ -0,0 +1,6 @@ +opam-version: "1.2" +maintainer: "mirageos-devel@lists.xenproject.org" +authors: ["mirageos-devel@lists.xenproject.org"] +homepage: "https://mirage.io" +license: "BSD2" +conflicts: [ "mirage-xen" ] diff --git a/repo/darwin/packages/upstream/nocrypto.0.5.4/descr b/repo/darwin/packages/upstream/nocrypto.0.5.4/descr new file mode 100644 index 000000000..3ca64e089 --- /dev/null +++ b/repo/darwin/packages/upstream/nocrypto.0.5.4/descr @@ -0,0 +1,9 @@ +Simpler crypto + + +nocrypto is a small cryptographic library that puts emphasis on the applicative +style and ease of use. It includes basic ciphers (AES, 3DES, RC4), hashes (MD5, +SHA1, SHA2), public-key primitives (RSA, DSA, DH) and a strong RNG (Fortuna). + +RSA timing attacks are countered by blinding. AES timing attacks are avoided by +delegating to AES-NI. \ No newline at end of file diff --git a/repo/darwin/packages/upstream/nocrypto.0.5.4/opam b/repo/darwin/packages/upstream/nocrypto.0.5.4/opam new file mode 100644 index 000000000..a2122450e --- /dev/null +++ b/repo/darwin/packages/upstream/nocrypto.0.5.4/opam @@ -0,0 +1,42 @@ +opam-version: "1.2" +homepage: "https://github.com/mirleft/ocaml-nocrypto" +dev-repo: "https://github.com/mirleft/ocaml-nocrypto.git" +bug-reports: "https://github.com/mirleft/ocaml-nocrypto/issues" +doc: "https://mirleft.github.io/ocaml-nocrypto/doc" +authors: ["David Kaloper "] +maintainer: "David Kaloper " +license: "ISC" +tags: [ "org:mirage" ] +available: [ ocaml-version >= "4.02.0" ] + +build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" + "--jobs" "1" + "--with-lwt" "%{lwt:installed}%" + "--xen" "%{mirage-xen:installed}%" + "--freestanding" "%{mirage-solo5:installed}%"] + +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "cpuid" {build} + "ocb-stubblr" {build} + "ppx_deriving" {build} + "ppx_sexp_conv" {build & < "v0.11.0"} + "ounit" {test} + "cstruct" {>="2.4.0"} + "cstruct-lwt" + "zarith" + "lwt" + "sexplib" {< "v0.11.0"} + ("mirage-no-xen" | ("mirage-xen" & "mirage-entropy" & "zarith-xen")) + ("mirage-no-solo5" | ("mirage-solo5" & "mirage-entropy" & "zarith-freestanding")) +] + +conflicts: [ + "topkg" {<"0.9.1"} + "ocb-stubblr" {<"0.1.0"} + "mirage-xen" {<"2.2.0"} + "sexplib" {="v0.9.0"} +] + diff --git a/repo/darwin/packages/upstream/nocrypto.0.5.4/url b/repo/darwin/packages/upstream/nocrypto.0.5.4/url new file mode 100644 index 000000000..ec05a1382 --- /dev/null +++ b/repo/darwin/packages/upstream/nocrypto.0.5.4/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-nocrypto/releases/download/v0.5.4/nocrypto-0.5.4.tbz" +checksum: "c331a7a4d2a563d1d5ed581aeb849011" diff --git a/repo/darwin/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam b/repo/darwin/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam index ab6476b0a..28f75f814 100644 --- a/repo/darwin/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam +++ b/repo/darwin/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam @@ -17,4 +17,4 @@ depends: [ "ocamlfind" {build} "jbuilder" {build & >= "1.0+beta10"} ] -available: ocaml-version >= "4.02.0" +available: [ocaml-version >= "4.02.0" & ocaml-version < "4.07.0"] diff --git a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch b/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch deleted file mode 100644 index 2fe9e5f37..000000000 --- a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 04a4e29db7d86e56ba7cb3b1ea6a26cdf9e597b2 Mon Sep 17 00:00:00 2001 -From: Gabriel Scherer -Date: Fri, 20 Oct 2017 16:13:59 +0200 -Subject: [PATCH] don't install an empty 'num' package if a third-party package - exists - -When reinstalling/updating ocamlfind in an existing OCaml environment, -ocamlfind is installed in a context where ocamlfind packages may -already exist. In particular, the `num` package (separated from the -compiler distribution in 4.06) may exist and own the file -${ocaml_core_stdlib}/num.cmi. In this case ocamlfind should not -overwrite it by installing its own num package -- the behaviour -observed by Jacques-Pascal Deplaix before this patch. - -This approach may be generalizable to the other builtin base packages. ---- - configure | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/configure b/configure -index 6a4a558..2627f1f 100755 ---- a/configure -+++ b/configure -@@ -524,7 +524,11 @@ fi - - # num? - --if [ -f "${ocaml_core_stdlib}/num.cmi" ]; then -+if [ -f "${ocaml_sitelib}/num/META" ]; then -+ echo "num: package already present" -+ lnum="" -+ numtop="" -+elif [ -f "${ocaml_core_stdlib}/num.cmi" ]; then - echo "num: found" - lnum="num num-top" - numtop="num-top" --- -2.9.5 - diff --git a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch b/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch deleted file mode 100644 index 1f2191ca9..000000000 --- a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 6de006e6f4864a585b085f840660383fa354f9bf Mon Sep 17 00:00:00 2001 -From: Anton Bachin -Date: Wed, 20 Dec 2017 12:17:40 -0600 -Subject: [PATCH] threads: drop explicit check for -thread/-vmthread - ---- - site-lib-src/threads/META.in | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/site-lib-src/threads/META.in b/site-lib-src/threads/META.in -index b42f3dd..fe2d986 100644 ---- a/site-lib-src/threads/META.in -+++ b/site-lib-src/threads/META.in -@@ -9,9 +9,6 @@ dnl This file is input of the m4 macro processor. - - `browse_interfaces = "'interfaces`"' - --`error(-mt) = "Missing -thread or -vmthread switch"' --`error(-mt_vm,-mt_posix) = "Missing -thread or -vmthread switch"' -- - `package "vm" (' - ` # --- Bytecode-only threads:' - ` requires = "unix"' --- -2.12.2 - diff --git a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/url b/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/url deleted file mode 100644 index a14c7c641..000000000 --- a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/url +++ /dev/null @@ -1,3 +0,0 @@ -archive: "http://download.camlcity.org/download/findlib-1.7.3.tar.gz" -checksum: "7d57451218359f7b7dfc969e3684a6da" -mirrors: [ "http://download2.camlcity.org/download/findlib-1.7.3.tar.gz" ] diff --git a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/descr b/repo/darwin/packages/upstream/ocamlfind.1.8.0/descr similarity index 100% rename from repo/darwin/packages/upstream/ocamlfind.1.7.3-1/descr rename to repo/darwin/packages/upstream/ocamlfind.1.8.0/descr diff --git a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/ocaml-stub b/repo/darwin/packages/upstream/ocamlfind.1.8.0/files/ocaml-stub similarity index 100% rename from repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/ocaml-stub rename to repo/darwin/packages/upstream/ocamlfind.1.8.0/files/ocaml-stub diff --git a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/ocamlfind.install b/repo/darwin/packages/upstream/ocamlfind.1.8.0/files/ocamlfind.install similarity index 100% rename from repo/darwin/packages/upstream/ocamlfind.1.7.3-1/files/ocamlfind.install rename to repo/darwin/packages/upstream/ocamlfind.1.8.0/files/ocamlfind.install diff --git a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/opam b/repo/darwin/packages/upstream/ocamlfind.1.8.0/opam similarity index 87% rename from repo/darwin/packages/upstream/ocamlfind.1.7.3-1/opam rename to repo/darwin/packages/upstream/ocamlfind.1.8.0/opam index 90afb67aa..832b336d7 100644 --- a/repo/darwin/packages/upstream/ocamlfind.1.7.3-1/opam +++ b/repo/darwin/packages/upstream/ocamlfind.1.8.0/opam @@ -4,10 +4,6 @@ author: "Gerd Stolpmann " homepage: "http://projects.camlcity.org/projects/findlib.html" bug-reports: "https://gitlab.camlcity.org/gerd/lib-findlib/issues" dev-repo: "https://gitlab.camlcity.org/gerd/lib-findlib.git" -patches: [ - "check-num-in-sitelib.patch" - "threads.patch" -] build: [ ["./configure" "-bindir" bin "-sitelib" lib "-mandir" man "-config" "%{lib}%/findlib.conf" "-no-custom" "-no-topfind" {preinstalled}] [make "all"] @@ -23,7 +19,7 @@ remove: [ [make "uninstall"] ["rm" "-f" "%{bin}%/ocaml"] {preinstalled} ] -available: [ocaml-version >= "3.12.0"] # ocamlfind refers to cmxs +available: [ocaml-version >= "4.00.0"] depends: [ "conf-m4" {build} ] diff --git a/repo/darwin/packages/upstream/ocamlfind.1.8.0/url b/repo/darwin/packages/upstream/ocamlfind.1.8.0/url new file mode 100644 index 000000000..45ad39c94 --- /dev/null +++ b/repo/darwin/packages/upstream/ocamlfind.1.8.0/url @@ -0,0 +1,3 @@ +archive: "http://download.camlcity.org/download/findlib-1.8.0.tar.gz" +checksum: "a710c559667672077a93d34eb6a42e5b" +mirrors: [ "http://download2.camlcity.org/download/findlib-1.8.0.tar.gz" ] diff --git a/repo/darwin/packages/upstream/ounit.2.0.7/url b/repo/darwin/packages/upstream/ounit.2.0.7/url deleted file mode 100644 index ff98cab5c..000000000 --- a/repo/darwin/packages/upstream/ounit.2.0.7/url +++ /dev/null @@ -1,2 +0,0 @@ -archive: "https://forge.ocamlcore.org/frs/download.php/1738/ounit-2.0.7.tar.gz" -checksum: "852bc74596501e79969eea522e1ae99e" diff --git a/repo/darwin/packages/upstream/ounit.2.0.7/descr b/repo/darwin/packages/upstream/ounit.2.0.8/descr similarity index 100% rename from repo/darwin/packages/upstream/ounit.2.0.7/descr rename to repo/darwin/packages/upstream/ounit.2.0.8/descr diff --git a/repo/win32/packages/upstream/ounit.2.0.7/opam b/repo/darwin/packages/upstream/ounit.2.0.8/opam similarity index 96% rename from repo/win32/packages/upstream/ounit.2.0.7/opam rename to repo/darwin/packages/upstream/ounit.2.0.8/opam index 7c655063a..e30d5dd0a 100644 --- a/repo/win32/packages/upstream/ounit.2.0.7/opam +++ b/repo/darwin/packages/upstream/ounit.2.0.8/opam @@ -8,7 +8,7 @@ doc: ["http://ounit.forge.ocamlcore.org/api-ounit/index.html"] build: [make "build"] remove: [["ocamlfind" "remove" "oUnit"]] depends: [ - "ocamlfind" + "ocamlfind" {build} "ocamlbuild" {build} "base-bytes" ] diff --git a/repo/darwin/packages/upstream/ounit.2.0.8/url b/repo/darwin/packages/upstream/ounit.2.0.8/url new file mode 100644 index 000000000..7f5a90b55 --- /dev/null +++ b/repo/darwin/packages/upstream/ounit.2.0.8/url @@ -0,0 +1,2 @@ +archive: "https://forge.ocamlcore.org/frs/download.php/1749/ounit-2.0.8.tar.gz" +checksum: "bd12d66c9dbd95a50570bb686b0f10f5" diff --git a/repo/darwin/packages/upstream/ptime.0.8.3/descr b/repo/darwin/packages/upstream/ptime.0.8.3/descr new file mode 100644 index 000000000..f77827c8d --- /dev/null +++ b/repo/darwin/packages/upstream/ptime.0.8.3/descr @@ -0,0 +1,20 @@ +POSIX time for OCaml + +Ptime has platform independent POSIX time support in pure OCaml. It +provides a type to represent a well-defined range of POSIX timestamps +with picosecond precision, conversion with date-time values, +conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to a +human-readable, locale-independent representation. + +The additional Ptime_clock library provides access to a system POSIX +clock and to the system's current time zone offset. + +Ptime is not a calendar library. + +Ptime depends on the `result` compatibility package. Ptime_clock +depends on your system library. Ptime_clock's optional JavaScript +support depends on [js_of_ocaml][jsoo]. Ptime and its libraries are +distributed under the ISC license. + +[rfc3339]: http://tools.ietf.org/html/rfc3339 +[jsoo]: http://ocsigen.org/js_of_ocaml/ diff --git a/repo/darwin/packages/upstream/ptime.0.8.3/opam b/repo/darwin/packages/upstream/ptime.0.8.3/opam new file mode 100644 index 000000000..b34f28961 --- /dev/null +++ b/repo/darwin/packages/upstream/ptime.0.8.3/opam @@ -0,0 +1,21 @@ +opam-version: "1.2" +maintainer: "Daniel Bünzli " +authors: ["Daniel Bünzli "] +homepage: "http://erratique.ch/software/ptime" +doc: "http://erratique.ch/software/ptime/doc" +dev-repo: "http://erratique.ch/repos/ptime.git" +bug-reports: "https://github.com/dbuenzli/ptime/issues" +tags: [ "time" "posix" "system" "org:erratique" ] +license: "ISC" +available: [ ocaml-version >= "4.01.0"] +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "result" +] +depopts: [ "js_of_ocaml" ] +build:[[ + "ocaml" "pkg/pkg.ml" "build" + "--pinned" "%{pinned}%" + "--with-js_of_ocaml" "%{js_of_ocaml:installed}%" ]] diff --git a/repo/darwin/packages/upstream/ptime.0.8.3/url b/repo/darwin/packages/upstream/ptime.0.8.3/url new file mode 100644 index 000000000..0043089e1 --- /dev/null +++ b/repo/darwin/packages/upstream/ptime.0.8.3/url @@ -0,0 +1,2 @@ +archive: "http://erratique.ch/software/ptime/releases/ptime-0.8.3.tbz" +checksum: "bf84f6bfedce30349cffc9eb52ac7574" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/tls.0.9.1/descr b/repo/darwin/packages/upstream/tls.0.9.1/descr new file mode 100644 index 000000000..6b52ac617 --- /dev/null +++ b/repo/darwin/packages/upstream/tls.0.9.1/descr @@ -0,0 +1,15 @@ +Transport Layer Security purely in OCaml + +Transport Layer Security (TLS) is probably the most widely deployed security +protocol on the Internet. It provides communication privacy to prevent +eavesdropping, tampering, and message forgery. Furthermore, it optionally +provides authentication of the involved endpoints. TLS is commonly deployed for +securing web services ([HTTPS](http://tools.ietf.org/html/rfc2818)), emails, +virtual private networks, and wireless networks. + +TLS uses asymmetric cryptography to exchange a symmetric key, and optionally +authenticate (using X.509) either or both endpoints. It provides algorithmic +agility, which means that the key exchange method, symmetric encryption +algorithm, and hash algorithm are negotiated. + +Read [further](https://nqsb.io) and our [Usenix Security 2015 paper](https://usenix15.nqsb.io). \ No newline at end of file diff --git a/repo/darwin/packages/upstream/tls.0.9.1/opam b/repo/darwin/packages/upstream/tls.0.9.1/opam new file mode 100644 index 000000000..52daefdc6 --- /dev/null +++ b/repo/darwin/packages/upstream/tls.0.9.1/opam @@ -0,0 +1,55 @@ +opam-version: "1.2" +name: "tls" +homepage: "https://github.com/mirleft/ocaml-tls" +dev-repo: "https://github.com/mirleft/ocaml-tls.git" +bug-reports: "https://github.com/mirleft/ocaml-tls/issues" +doc: "https://mirleft.github.io/ocaml-tls/doc" +author: ["David Kaloper " "Hannes Mehnert "] +maintainer: ["Hannes Mehnert " "David Kaloper "] +license: "BSD2" + +build: [ + [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" + "--with-lwt" "%{lwt+ptime:installed}%" + "--with-mirage" "%{mirage-flow-lwt+mirage-kv-lwt+mirage-clock+ptime:installed}%" ] +] +build-test: [ + ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true" + "--with-lwt" "%{lwt+ptime+astring:installed}%" + "--with-mirage" "%{mirage-flow-lwt+mirage-kv-lwt+mirage-clock+ptime:installed}%" ] + ["ocaml" "pkg/pkg.ml" "test"] +] + +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "ppx_sexp_conv" {build & < "v0.11.0"} + "ppx_deriving" {build} + "ppx_cstruct" {build & >= "3.0.0"} + "result" + "cstruct" {>= "3.0.0"} + "sexplib" + "nocrypto" {>= "0.5.4"} + "x509" {>= "0.6.1"} + "cstruct-unix" {test & >= "3.0.0"} + "ounit" {test} +] +depopts: [ + "lwt" + "mirage-flow-lwt" + "mirage-kv-lwt" + "mirage-clock" + "ptime" + "astring" {test} +] +conflicts: [ + "lwt" {<"2.4.8"} + "mirage-net-xen" {<"1.3.0"} + "mirage-types" {<"3.0.0"} + "sexplib" {= "v0.9.0"} + "ptime" {< "0.8.1"} +] + +tags: [ "org:mirage"] +available: [ ocaml-version >= "4.02.2" ] diff --git a/repo/darwin/packages/upstream/tls.0.9.1/url b/repo/darwin/packages/upstream/tls.0.9.1/url new file mode 100644 index 000000000..dc8d5b5b2 --- /dev/null +++ b/repo/darwin/packages/upstream/tls.0.9.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-tls/releases/download/0.9.1/tls-0.9.1.tbz" +checksum: "6540028f450dd753dc90d8a4ba6bb457" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/vchan.3.0.0/descr b/repo/darwin/packages/upstream/vchan.3.0.0/descr new file mode 100644 index 000000000..c79c90334 --- /dev/null +++ b/repo/darwin/packages/upstream/vchan.3.0.0/descr @@ -0,0 +1,4 @@ +Xen Vchan implementation +Vchan is a high performance inter-domain communications protocol using +shared memory. This implementation runs in both userspace and +kernelspace using Mirage. diff --git a/repo/darwin/packages/upstream/vchan.3.0.0/opam b/repo/darwin/packages/upstream/vchan.3.0.0/opam new file mode 100644 index 000000000..3829a9617 --- /dev/null +++ b/repo/darwin/packages/upstream/vchan.3.0.0/opam @@ -0,0 +1,37 @@ +opam-version: "1.2" +maintainer: "jonathan.ludlam@eu.citrix.com" +authors: [ + "Vincent Bernardoff" + "Jon Ludlam" + "David Scott" +] +homepage: "http://github.com/mirage/ocaml-vchan" +bug-reports: "http://github.com/mirage/ocaml-vchan/issues" +dev-repo: "http://github.com/mirage/ocaml-vchan.git" +doc: "http://mirage.github.io/ocaml-vchan" +license: "ISC" + +build: [ + [ "jbuilder" "subst"] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocamlfind" {build} + "jbuilder" {build & >="1.0+beta9"} + "lwt" {>= "2.5.0"} + "cstruct" {>= "3.0.0"} + "ppx_tools" {build} + "ppx_sexp_conv" {build & >="v0.9"} + "ppx_cstruct" {build} + "io-page" + "mirage-flow-lwt" {>= "1.0.0"} + "xenstore" {>= "1.2.2"} + "xenstore_transport" + "sexplib" + "cmdliner" + "result" + "ounit" {test} +] +available: [ocaml-version >= "4.03.0"] +tags: "org:mirage" diff --git a/repo/darwin/packages/upstream/vchan.3.0.0/url b/repo/darwin/packages/upstream/vchan.3.0.0/url new file mode 100644 index 000000000..21a38a30f --- /dev/null +++ b/repo/darwin/packages/upstream/vchan.3.0.0/url @@ -0,0 +1,2 @@ +http: "https://github.com/mirage/ocaml-vchan/releases/download/3.0.0/vchan-3.0.0.tbz" +checksum: "8be9a2d7df23fdf8983daecef3454b5d" diff --git a/repo/darwin/packages/upstream/x509.0.6.1/descr b/repo/darwin/packages/upstream/x509.0.6.1/descr new file mode 100644 index 000000000..48d25c7aa --- /dev/null +++ b/repo/darwin/packages/upstream/x509.0.6.1/descr @@ -0,0 +1,10 @@ +Public Key Infrastructure purely in OCaml + +X.509 is a public key infrastructure used mostly on the Internet. It consists +of certificates which include public keys and identifiers, signed by an +authority. Authorities must be exchanged over a second channel to establish the +trust relationship. This library implements most parts of +[RFC5280](https://tools.ietf.org/html/rfc5280) and +[RFC6125](https://tools.ietf.org/html/rfc6125). + +Read [further](https://nqsb.io) and our [Usenix Security 2015 paper](https://usenix15.nqsb.io). \ No newline at end of file diff --git a/repo/darwin/packages/upstream/x509.0.6.1/opam b/repo/darwin/packages/upstream/x509.0.6.1/opam new file mode 100644 index 000000000..c750eddff --- /dev/null +++ b/repo/darwin/packages/upstream/x509.0.6.1/opam @@ -0,0 +1,36 @@ +opam-version: "1.2" +name: "x509" +homepage: "https://github.com/mirleft/ocaml-x509" +dev-repo: "https://github.com/mirleft/ocaml-x509.git" +bug-reports: "https://github.com/mirleft/ocaml-x509/issues" +doc: "https://mirleft.github.io/ocaml-x509/doc" +author: [ "David Kaloper " "Hannes Mehnert " ] +maintainer: [ "Hannes Mehnert " "David Kaloper " ] +license: "BSD2" + +build: [ + ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"] +] +build-test: [ + ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"] + ["ocaml" "pkg/pkg.ml" "test"] +] + +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "ppx_sexp_conv" {build & < "v0.11.0"} + "topkg" {build} + "result" + "cstruct" {>= "1.6.0"} + "sexplib" + "asn1-combinators" {>= "0.2.0"} + "ptime" + "nocrypto" {>= "0.5.3"} + "astring" + "ounit" {test} + "cstruct-unix" {test & >= "3.0.0"} +] + +tags: [ "org:mirage" ] +available: [ ocaml-version >= "4.02.2" ] diff --git a/repo/darwin/packages/upstream/x509.0.6.1/url b/repo/darwin/packages/upstream/x509.0.6.1/url new file mode 100644 index 000000000..db6122d76 --- /dev/null +++ b/repo/darwin/packages/upstream/x509.0.6.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-x509/releases/download/0.6.1/x509-0.6.1.tbz" +checksum: "a8cac9dca9bc4d39f7433403633d2223" \ No newline at end of file diff --git a/repo/darwin/packages/upstream/xenstore.2.0.0/descr b/repo/darwin/packages/upstream/xenstore.2.0.0/descr new file mode 100644 index 000000000..80cdcd00e --- /dev/null +++ b/repo/darwin/packages/upstream/xenstore.2.0.0/descr @@ -0,0 +1 @@ +Xenstore protocol clients and server diff --git a/repo/darwin/packages/upstream/xenstore.2.0.0/opam b/repo/darwin/packages/upstream/xenstore.2.0.0/opam new file mode 100644 index 000000000..0030c87d8 --- /dev/null +++ b/repo/darwin/packages/upstream/xenstore.2.0.0/opam @@ -0,0 +1,30 @@ +opam-version: "1.2" +maintainer: "dave@recoil.org" +authors: [ + "Vincent Hanquez" + "Thomas Gazagnaire" + "Dave Scott" + "Anil Madhavapeddy" + "Vincent Bernardoff" +] +homepage: "https://github.com/mirage/ocaml-xenstore" +bug-reports: "https://github.com/mirage/ocaml-xenstore/issues" +dev-repo: "https://github.com/mirage/ocaml-xenstore.git" +doc: "https://mirage.github.io/ocaml-xenstore" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] + +build-test: ["jbuilder" "runtest" "-p" name] + +depends: [ + "jbuilder" {build & >="1.0+beta9"} + "cstruct" {>= "3.2.0"} + "ppx_cstruct" {build} + "ppx_tools" {build} + "lwt" + "ounit" {test} +] +available: [ ocaml-version >= "4.04.0" ] diff --git a/repo/darwin/packages/upstream/xenstore.2.0.0/url b/repo/darwin/packages/upstream/xenstore.2.0.0/url new file mode 100644 index 000000000..6c335c753 --- /dev/null +++ b/repo/darwin/packages/upstream/xenstore.2.0.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-xenstore/releases/download/2.0.0/xenstore-2.0.0.tbz" +checksum: "c1b3234c5468d37253fab2fe23a719b5" diff --git a/repo/darwin/packages/upstream/xenstore_transport.1.0.0/descr b/repo/darwin/packages/upstream/xenstore_transport.1.0.0/descr new file mode 100644 index 000000000..33dd1f168 --- /dev/null +++ b/repo/darwin/packages/upstream/xenstore_transport.1.0.0/descr @@ -0,0 +1,6 @@ +Low-level libraries for connecting to a xenstore service on a xen host. + +These libraries contain the IO functions for communicating with a +xenstore service on a xen host. One subpackage deals with regular Unix +threads and another deals with Lwt co-operative threads. + diff --git a/repo/darwin/packages/upstream/xenstore_transport.1.0.0/opam b/repo/darwin/packages/upstream/xenstore_transport.1.0.0/opam new file mode 100644 index 000000000..7f80379af --- /dev/null +++ b/repo/darwin/packages/upstream/xenstore_transport.1.0.0/opam @@ -0,0 +1,37 @@ +opam-version: "1.2" +authors: [ + "Christian Lindig" + "David Scott" + "Euan Harris" + "John Else" + "Jon Ludlam" + "Jonathan Davies" + "Marcello Seri" + "Si Beaumont" + "Thomas Sanders" + "Vincent Bernardoff" +] +maintainer: "dave@recoil.org" +homepage: "http://github.com/djs55/ocaml-xenstore-clients" +bug-reports: "http://github.com/djs55/ocaml-xenstore-clients/issues" +dev-repo: "http://github.com/djs55/ocaml-xenstore-clients.git" +doc: "http://djs55.github.io/ocaml-xenstore-clients" +license: "LGPL" + +tags: [ + "org:mirage" + "org:xapi-project" +] +build: [ + [ "jbuilder" "subst"] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocamlfind" {build} + "jbuilder" {build & >="1.0+beta9"} + "lwt" + "xenstore" {>= "2.0.0"} +] + +available: [ ocaml-version >= "4.04.0" ] diff --git a/repo/darwin/packages/upstream/xenstore_transport.1.0.0/url b/repo/darwin/packages/upstream/xenstore_transport.1.0.0/url new file mode 100644 index 000000000..05808ce3b --- /dev/null +++ b/repo/darwin/packages/upstream/xenstore_transport.1.0.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/xapi-project/ocaml-xenstore-clients/archive/v1.0.0.tar.gz" +checksum: "4e59bac5caae42588148f9c2bcd3f3e6" diff --git a/repo/darwin/packages/upstream/zarith.1.7/descr b/repo/darwin/packages/upstream/zarith.1.7/descr new file mode 100644 index 000000000..0eb288aba --- /dev/null +++ b/repo/darwin/packages/upstream/zarith.1.7/descr @@ -0,0 +1,5 @@ +Implements arithmetic and logical operations over arbitrary-precision integers +The Zarith library implements arithmetic and logical operations over +arbitrary-precision integers. It uses GMP to efficiently implement +arithmetic over big integers. Small integers are represented as Caml +unboxed integers, for speed and space economy. diff --git a/repo/darwin/packages/upstream/zarith.1.7/opam b/repo/darwin/packages/upstream/zarith.1.7/opam new file mode 100644 index 000000000..edc05b819 --- /dev/null +++ b/repo/darwin/packages/upstream/zarith.1.7/opam @@ -0,0 +1,27 @@ +opam-version: "1.2" +name: "zarith" +version: "1.7" +maintainer: "Xavier Leroy " +authors: [ + "Antoine Miné" + "Xavier Leroy" + "Pascal Cuoq" +] +homepage: "https://github.com/ocaml/Zarith" +bug-reports: "https://github.com/ocaml/Zarith/issues" +dev-repo: "https://github.com/ocaml/Zarith.git" +build: [ + ["./configure"] { os != "openbsd" & os != "freebsd" & os != "darwin"} + ["sh" "-exc" "LDFLAGS=\"$LDFLAGS -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/usr/local/include\" ./configure"] { os = "openbsd" | os = "freebsd" } + ["sh" "-exc" "LDFLAGS=\"$LDFLAGS -L/opt/local/lib -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/opt/local/include -I/usr/local/include\" ./configure"] { os = "darwin" } + [make] +] +install: [ + [make "install"] +] +remove: ["ocamlfind" "remove" "zarith"] +depends: [ + "ocamlfind" + "conf-gmp" + "conf-perl" {build} +] diff --git a/repo/darwin/packages/upstream/zarith.1.7/url b/repo/darwin/packages/upstream/zarith.1.7/url new file mode 100644 index 000000000..73e5c14b5 --- /dev/null +++ b/repo/darwin/packages/upstream/zarith.1.7/url @@ -0,0 +1,2 @@ +archive: "https://github.com/ocaml/Zarith/archive/release-1.7.tar.gz" +checksum: "80944e2755ebb848451a77dc2ad0651b" diff --git a/repo/win32/packages/upstream/asn1-combinators.0.2.0/descr b/repo/win32/packages/upstream/asn1-combinators.0.2.0/descr new file mode 100644 index 000000000..d4f3ddbaf --- /dev/null +++ b/repo/win32/packages/upstream/asn1-combinators.0.2.0/descr @@ -0,0 +1,10 @@ +Embed typed ASN.1 grammars in OCaml + +asn1-combinators is a library for expressing ASN.1 in OCaml. Skip the notation +part of ASN.1, and embed the abstract syntax directly in the language. These +abstract syntax representations can be used for parsing, serialization, or +random testing. + +The only ASN.1 encodings currently supported are BER and DER. + +asn1-combinators is distributed under the ISC license. diff --git a/repo/win32/packages/upstream/asn1-combinators.0.2.0/opam b/repo/win32/packages/upstream/asn1-combinators.0.2.0/opam new file mode 100644 index 000000000..f8c4ee578 --- /dev/null +++ b/repo/win32/packages/upstream/asn1-combinators.0.2.0/opam @@ -0,0 +1,27 @@ +opam-version: "1.2" +authors: ["David Kaloper Meršinjak "] +maintainer: "David Kaloper Meršinjak " +homepage: "https://github.com/mirleft/ocaml-asn1-combinators" +doc: "https://mirleft.github.io/ocaml-asn1-combinators/doc" +license: "ISC" +dev-repo: "https://github.com/mirleft/ocaml-asn1-combinators.git" +bug-reports: "https://github.com/mirleft/ocaml-asn1-combinators/issues" +tags: [ "org:mirage" ] +available: [ ocaml-version >= "4.02.0" ] +build: [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" ] +build-test: [ + [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true" ] + [ "ocaml" "pkg/pkg.ml" "test" ] +] +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "result" + "cstruct" + "zarith" + "ptime" + "ounit" {test} +] +depopts: [] +conflicts: [ "cstruct" {< "1.6.0"} ] diff --git a/repo/win32/packages/upstream/asn1-combinators.0.2.0/url b/repo/win32/packages/upstream/asn1-combinators.0.2.0/url new file mode 100644 index 000000000..6cf26ab82 --- /dev/null +++ b/repo/win32/packages/upstream/asn1-combinators.0.2.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v0.2.0/asn1-combinators-0.2.0.tbz" +checksum: "f695aec35f8934d20d966032adbf3520" \ No newline at end of file diff --git a/repo/win32/packages/upstream/base.v0.10.0/opam b/repo/win32/packages/upstream/base.v0.10.0/opam index 7ac073bb2..d3e33e3b3 100644 --- a/repo/win32/packages/upstream/base.v0.10.0/opam +++ b/repo/win32/packages/upstream/base.v0.10.0/opam @@ -15,5 +15,5 @@ depends: [ depopts: [ "base-native-int63" ] -available: [ ocaml-version >= "4.04.1" ] +available: [ ocaml-version >= "4.04.1" & ocaml-version < "4.07.0" ] patches: "base-v0.10.0.patch" {os = "win32"} diff --git a/repo/win32/packages/upstream/conduit-lwt.1.1.0/descr b/repo/win32/packages/upstream/conduit-lwt.1.1.0/descr new file mode 100644 index 000000000..089629261 --- /dev/null +++ b/repo/win32/packages/upstream/conduit-lwt.1.1.0/descr @@ -0,0 +1,37 @@ +An OCaml network connection establishment library + +[![Build Status](https://travis-ci.org/mirage/ocaml-conduit.svg?branch=master)](https://travis-ci.org/mirage/ocaml-conduit) + +The `conduit` library takes care of establishing and listening for +TCP and SSL/TLS connections for the Lwt and Async libraries. + +The reason this library exists is to provide a degree of abstraction +from the precise SSL library used, since there are a variety of ways +to bind to a library (e.g. the C FFI, or the Ctypes library), as well +as well as which library is used (just OpenSSL for now). + +By default, OpenSSL is used as the preferred connection library, but +you can force the use of the pure OCaml TLS stack by setting the +environment variable `CONDUIT_TLS=native` when starting your program. + +The opam packages available are: + +- `conduit`: the main `Conduit` module +- `conduit-lwt`: the portable Lwt implementation +- `conduit-lwt-unix`: the Lwt/Unix implementation +- `conduit-async` the Jane Street Async implementation +- `mirage-conduit`: the MirageOS compatible implementation + +### Debugging + +Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` +environment variable to output debugging information to standard error. +Just set this variable when running the program to see what URIs +are being resolved to. + +### Further Informartion + +* **API Docs:** http://docs.mirage.io/ +* **WWW:** https://github.com/mirage/ocaml-conduit +* **E-mail:** +* **Bugs:** https://github.com/mirage/ocaml-conduit/issues \ No newline at end of file diff --git a/repo/win32/packages/upstream/conduit-lwt.1.1.0/opam b/repo/win32/packages/upstream/conduit-lwt.1.1.0/opam new file mode 100644 index 000000000..4c44e250c --- /dev/null +++ b/repo/win32/packages/upstream/conduit-lwt.1.1.0/opam @@ -0,0 +1,21 @@ +opam-version: "1.2" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"] +homepage: "https://github.com/mirage/ocaml-conduit" +dev-repo: "https://github.com/mirage/ocaml-conduit.git" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +tags: "org:mirage" +license: "ISC" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] +depends: [ + "base-unix" + "jbuilder" {build & >="1.0+beta9"} + "ppx_sexp_conv" {build} + "conduit" + "lwt" {>="3.0.0"} +] +available: [ocaml-version >= "4.03.0"] diff --git a/repo/win32/packages/upstream/conduit-lwt.1.1.0/url b/repo/win32/packages/upstream/conduit-lwt.1.1.0/url new file mode 100644 index 000000000..e34c664c3 --- /dev/null +++ b/repo/win32/packages/upstream/conduit-lwt.1.1.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.1.0/conduit-1.1.0.tbz" +checksum: "eb1d02c80d06ef812d97dc1ab588b597" \ No newline at end of file diff --git a/repo/win32/packages/upstream/conduit.1.1.0/descr b/repo/win32/packages/upstream/conduit.1.1.0/descr new file mode 100644 index 000000000..089629261 --- /dev/null +++ b/repo/win32/packages/upstream/conduit.1.1.0/descr @@ -0,0 +1,37 @@ +An OCaml network connection establishment library + +[![Build Status](https://travis-ci.org/mirage/ocaml-conduit.svg?branch=master)](https://travis-ci.org/mirage/ocaml-conduit) + +The `conduit` library takes care of establishing and listening for +TCP and SSL/TLS connections for the Lwt and Async libraries. + +The reason this library exists is to provide a degree of abstraction +from the precise SSL library used, since there are a variety of ways +to bind to a library (e.g. the C FFI, or the Ctypes library), as well +as well as which library is used (just OpenSSL for now). + +By default, OpenSSL is used as the preferred connection library, but +you can force the use of the pure OCaml TLS stack by setting the +environment variable `CONDUIT_TLS=native` when starting your program. + +The opam packages available are: + +- `conduit`: the main `Conduit` module +- `conduit-lwt`: the portable Lwt implementation +- `conduit-lwt-unix`: the Lwt/Unix implementation +- `conduit-async` the Jane Street Async implementation +- `mirage-conduit`: the MirageOS compatible implementation + +### Debugging + +Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` +environment variable to output debugging information to standard error. +Just set this variable when running the program to see what URIs +are being resolved to. + +### Further Informartion + +* **API Docs:** http://docs.mirage.io/ +* **WWW:** https://github.com/mirage/ocaml-conduit +* **E-mail:** +* **Bugs:** https://github.com/mirage/ocaml-conduit/issues \ No newline at end of file diff --git a/repo/win32/packages/upstream/conduit.1.1.0/opam b/repo/win32/packages/upstream/conduit.1.1.0/opam new file mode 100644 index 000000000..4270ba140 --- /dev/null +++ b/repo/win32/packages/upstream/conduit.1.1.0/opam @@ -0,0 +1,24 @@ +opam-version: "1.2" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"] +homepage: "https://github.com/mirage/ocaml-conduit" +dev-repo: "https://github.com/mirage/ocaml-conduit.git" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +tags: "org:mirage" +license: "ISC" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] +depends: [ + "jbuilder" {build & >="1.0+beta9"} + "ppx_sexp_conv" {build} + "sexplib" + "astring" + "uri" + "result" + "logs" {>="0.5.0"} + "ipaddr" {>="2.5.0"} +] +available: [ocaml-version >= "4.03.0"] diff --git a/repo/win32/packages/upstream/conduit.1.1.0/url b/repo/win32/packages/upstream/conduit.1.1.0/url new file mode 100644 index 000000000..e34c664c3 --- /dev/null +++ b/repo/win32/packages/upstream/conduit.1.1.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.1.0/conduit-1.1.0.tbz" +checksum: "eb1d02c80d06ef812d97dc1ab588b597" \ No newline at end of file diff --git a/repo/win32/packages/upstream/conf-gmp.1/descr b/repo/win32/packages/upstream/conf-gmp.1/descr new file mode 100644 index 000000000..c409e3439 --- /dev/null +++ b/repo/win32/packages/upstream/conf-gmp.1/descr @@ -0,0 +1,2 @@ +Virtual package relying on a GMP lib system installation. +This package can only install if the GMP lib is installed on the system. diff --git a/repo/win32/packages/upstream/conf-gmp.1/files/test-win.sh b/repo/win32/packages/upstream/conf-gmp.1/files/test-win.sh new file mode 100755 index 000000000..f62b29d98 --- /dev/null +++ b/repo/win32/packages/upstream/conf-gmp.1/files/test-win.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env dash + +cc=$(ocamlc -config | awk '/^bytecomp_c_compiler/ {for(i=2;i<=NF;i++) printf "%s ", $i}') +$cc -c $CFLAGS test.c diff --git a/repo/win32/packages/upstream/conf-gmp.1/files/test.c b/repo/win32/packages/upstream/conf-gmp.1/files/test.c new file mode 100644 index 000000000..74e2843b7 --- /dev/null +++ b/repo/win32/packages/upstream/conf-gmp.1/files/test.c @@ -0,0 +1,8 @@ +#include +#ifndef __GMP_H__ +#error "No GMP header" +#endif + +void test(void) { + __gmp_init(); +} diff --git a/repo/win32/packages/upstream/conf-gmp.1/opam b/repo/win32/packages/upstream/conf-gmp.1/opam new file mode 100644 index 000000000..38d44c9a9 --- /dev/null +++ b/repo/win32/packages/upstream/conf-gmp.1/opam @@ -0,0 +1,24 @@ +opam-version: "1.2" +maintainer: "nbraud" +author: "nbraud" +homepage: "http://gmplib.org/" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +dev-repo: "https://github.com/ocaml/opam-repository.git" +license: "GPL" +build: [ + ["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "darwin" & os != "win32"} + ["sh" "-exc" "cc -c $CFLAGS -I/opt/local/include -I/usr/local/include test.c"] {os = "darwin"} + ["./test-win.sh"] { os = "win32" } +] +depexts: [ + [["debian"] ["libgmp-dev"]] + [["ubuntu"] ["libgmp-dev"]] + [["osx" "homebrew"] ["gmp"]] + [["centos"] ["gmp" "gmp-devel"]] + [["fedora"] ["gmp" "gmp-devel"]] + [["openbsd"] ["gmp"]] + [["freebsd"] ["gmp"]] + [["alpine"] ["gmp-dev"]] + [["opensuse"] ["gmp-devel"]] + [["win32" "cygwinports"] ["gmp"]] +] diff --git a/repo/win32/packages/upstream/conf-perl.1/descr b/repo/win32/packages/upstream/conf-perl.1/descr new file mode 100644 index 000000000..a0520188b --- /dev/null +++ b/repo/win32/packages/upstream/conf-perl.1/descr @@ -0,0 +1,2 @@ +Virtual package relying on perl +This package can only install if the perl program is installed on the system. diff --git a/repo/win32/packages/upstream/conf-perl.1/opam b/repo/win32/packages/upstream/conf-perl.1/opam new file mode 100644 index 000000000..2010b2430 --- /dev/null +++ b/repo/win32/packages/upstream/conf-perl.1/opam @@ -0,0 +1,15 @@ +opam-version: "1.2" +maintainer: "tim@gfxmonk.net" +homepage: "https://www.perl.org/" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +dev-repo: "https://github.com/ocaml/opam-repository.git" +license: "GPL-1+" +build: [["perl" "--version"]] +depexts: [ + [["debian"] ["perl"]] + [["ubuntu"] ["perl"]] + [["alpine"]["perl"]] + [["nixpkgs"] ["perl"]] + [["archlinux"] ["perl"]] + [["fedora"] ["perl-Pod-Html"]] +] diff --git a/repo/win32/packages/upstream/cpuid.0.1.1/descr b/repo/win32/packages/upstream/cpuid.0.1.1/descr new file mode 100644 index 000000000..6ed960e99 --- /dev/null +++ b/repo/win32/packages/upstream/cpuid.0.1.1/descr @@ -0,0 +1,26 @@ +Detect CPU features + + +cpuid allows detection of CPU features from OCaml. + +cpuid is distributed under the ISC license. + +## Installation + +cpuid can be installed with `opam`: + + opam install cpuid + +If you don't use `opam` consult the [`opam`](opam) file for build +instructions. + +## Documentation + +The documentation and API reference is automatically generated by +`ocamldoc` from the interfaces. It can be consulted [online][doc] +and there is a generated version in the `doc` directory of the +distribution. + +[doc]: https://pqwy.github.io/cpuid/doc + +[![Build Status](https://travis-ci.org/pqwy/cpuid.svg?branch=master)](https://travis-ci.org/pqwy/cpuid) \ No newline at end of file diff --git a/repo/win32/packages/upstream/cpuid.0.1.1/opam b/repo/win32/packages/upstream/cpuid.0.1.1/opam new file mode 100644 index 000000000..fc08f3543 --- /dev/null +++ b/repo/win32/packages/upstream/cpuid.0.1.1/opam @@ -0,0 +1,19 @@ +opam-version: "1.2" +maintainer: "David Kaloper Meršinjak " +authors: ["David Kaloper Meršinjak "] +homepage: "https://github.com/pqwy/cpuid" +doc: "https://pqwy.github.io/cpuid/doc" +license: "ISC" +dev-repo: "https://github.com/pqwy/cpuid.git" +bug-reports: "https://github.com/pqwy/cpuid/issues" +tags: [] +available: [ ocaml-version >= "4.01.0" ] +build: [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" ] +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "ocb-stubblr" {build} + "result" ] +depopts: [] +conflicts: [ "ocb-stubblr" {<"0.1.0"} ] diff --git a/repo/win32/packages/upstream/cpuid.0.1.1/url b/repo/win32/packages/upstream/cpuid.0.1.1/url new file mode 100644 index 000000000..248d3235b --- /dev/null +++ b/repo/win32/packages/upstream/cpuid.0.1.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/pqwy/cpuid/releases/download/v0.1.1/cpuid-0.1.1.tbz" +checksum: "717a6bf371bd083ea588ccd96f328dc2" \ No newline at end of file diff --git a/repo/win32/packages/upstream/hvsock.1.0.1/opam b/repo/win32/packages/upstream/hvsock.1.0.1/opam index f71d3a430..35934d0d2 100644 --- a/repo/win32/packages/upstream/hvsock.1.0.1/opam +++ b/repo/win32/packages/upstream/hvsock.1.0.1/opam @@ -21,7 +21,7 @@ depends: [ "base-bytes" "base-threads" "base-unix" - "lwt" {>= "2.4.7"} + "lwt" {>= "2.4.7" & < "4.0.0"} "logs" "fmt" "cmdliner" diff --git a/repo/win32/packages/upstream/lwt.3.3.0/opam b/repo/win32/packages/upstream/lwt.3.3.0/opam index 7926d2fb2..8e011f483 100644 --- a/repo/win32/packages/upstream/lwt.3.3.0/opam +++ b/repo/win32/packages/upstream/lwt.3.3.0/opam @@ -58,8 +58,4 @@ messages: [ "For Lwt_log and Lwt_daemon, please install package lwt_log" {!lwt_log:installed} ] -post-messages: [ - "Lwt 4.0.0 will make some breaking changes in March 2018. See - https://github.com/ocsigen/lwt/issues/453" -] patches: "lwt-3.3.0.patch" {os = "win32"} diff --git a/repo/win32/packages/upstream/magic-mime.1.1.0/descr b/repo/win32/packages/upstream/magic-mime.1.1.0/descr new file mode 100644 index 000000000..eb0771d5e --- /dev/null +++ b/repo/win32/packages/upstream/magic-mime.1.1.0/descr @@ -0,0 +1,26 @@ +Map filenames to common MIME types + +This library contains a database of MIME types that maps filename extensions +into MIME types suitable for use in many Internet protocols such as HTTP or +e-mail. It is generated from the `mime.types` file found in Unix systems, but +has no dependency on a filesystem since it includes the contents of the +database as an ML datastructure. + +For example, here's how to lookup MIME types in the [utop] REPL: + + #require "magic-mime";; + Magic_mime.lookup "/foo/bar.txt";; + - : bytes = "text/plain" + Magic_mime.lookup "bar.css";; + - : bytes = "text/css" + +### Internals + +The following files need to be edited to add MIME types: + +- mime.types: this is obtained by synching from the Apache Foundation's + [mime.types](https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types) + in the Apache Subversion repository. +- x-mime.types: these are the extension types, so non-standard `x-` prefixes are used here. +- file.types: full filenames of common occurrences that are useful to map onto a MIME type. + OCaml-specific things like `opam` files show up here. \ No newline at end of file diff --git a/repo/win32/packages/upstream/magic-mime.1.1.0/opam b/repo/win32/packages/upstream/magic-mime.1.1.0/opam new file mode 100644 index 000000000..9459ca8b1 --- /dev/null +++ b/repo/win32/packages/upstream/magic-mime.1.1.0/opam @@ -0,0 +1,19 @@ +opam-version: "1.2" +name: "magic-mime" +maintainer: "Anil Madhavapeddy " +authors: ["Anil Madhavapeddy" "Maxence Guesdon"] +homepage: "https://github.com/mirage/ocaml-magic-mime" +bug-reports: "https://github.com/mirage/ocaml-magic-mime/issues" +dev-repo: "https://github.com/mirage/ocaml-magic-mime.git" +doc: "https://mirage.github.io/ocaml-magic-mime" +license: "ISC" + +build: [ + [ "jbuilder" "subst"] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] + +depends: [ + "jbuilder" {build & >="1.0+beta9"} +] +available: [ ocaml-version >= "4.03.0" ] diff --git a/repo/win32/packages/upstream/magic-mime.1.1.0/url b/repo/win32/packages/upstream/magic-mime.1.1.0/url new file mode 100644 index 000000000..7bfb26c9d --- /dev/null +++ b/repo/win32/packages/upstream/magic-mime.1.1.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-magic-mime/releases/download/v1.1.0/magic-mime-1.1.0.tbz" +checksum: "341ab5133c2e17ca645f23a0149025d1" \ No newline at end of file diff --git a/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/descr b/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/descr deleted file mode 100644 index 55e8d1911..000000000 --- a/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/descr +++ /dev/null @@ -1,29 +0,0 @@ -Buffered channels for MirageOS FLOW types - -Channels are buffered reader/writers built on top of unbuffered `FLOW` -implementations. - -Example: - -```ocaml -module Channel = Channel.Make(Flow) -... -Channel.read_exactly ~len:16 t ->>= fun bufs -> (* read header of message *) -let payload_length = Cstruct.(LE.get_uint16 (concat bufs) 0) in -Channel.read_exactly ~len:payload_length t ->>= fun bufs -> (* payload of message *) - -(* process message *) - -Channel.write_buffer t header; -Channel.write_buffer t payload; -Channel.flush t ->>= fun () -> -``` - -mirage-channel is distributed under the ISC license. - -* Homepage: https://github.com/mirage/mirage-channel -* Issue: -* Contact: `` \ No newline at end of file diff --git a/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/opam b/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/opam deleted file mode 100644 index 0ec20e299..000000000 --- a/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/opam +++ /dev/null @@ -1,32 +0,0 @@ -opam-version: "1.2" -maintainer: "Anil Madhavapeddy " -authors: ["Anil Madhavapeddy" "Mindy Preston" "Thomas Gazagnaire"] -homepage: "https://github.com/mirage/mirage-channel" -doc: "http://docs.mirage.io/mirage-channel" -license: "ISC" -dev-repo: "https://github.com/mirage/mirage-channel.git" -bug-reports: "https://github.com/mirage/mirage-channel/issues" -tags: ["org:mirage"] - -build: [ - [ "jbuilder" "subst" ] {pinned} - [ "jbuilder" "build" "-p" name "-j" jobs ] -] -build-test: [ - [ "jbuilder" "runtest" "-p" name "-j" jobs ] -] - -depends: [ - "jbuilder" {build & >="1.0+beta10"} - "mirage-flow-lwt" {>= "1.2.0"} - "mirage-channel" {>= "3.1.0"} - "io-page" - "result" - "lwt" {>= "2.4.7"} - "cstruct" - "logs" - "alcotest" {test} - "io-page-unix" {test} -] -conflicts: [ "tcpip" {<"2.5.0"} ] -available: [ ocaml-version >= "4.02.3"] diff --git a/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/url b/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/url deleted file mode 100644 index b8e4dbc05..000000000 --- a/repo/win32/packages/upstream/mirage-channel-lwt.3.1.0/url +++ /dev/null @@ -1,2 +0,0 @@ -archive: "https://github.com/mirage/mirage-channel/releases/download/v3.1.0/mirage-channel-3.1.0.tbz" -checksum: "942d02ee627c0bae75ce5e7e16c1153e" \ No newline at end of file diff --git a/repo/win32/packages/upstream/mirage-channel.3.1.0/descr b/repo/win32/packages/upstream/mirage-channel.3.1.0/descr deleted file mode 100644 index 55e8d1911..000000000 --- a/repo/win32/packages/upstream/mirage-channel.3.1.0/descr +++ /dev/null @@ -1,29 +0,0 @@ -Buffered channels for MirageOS FLOW types - -Channels are buffered reader/writers built on top of unbuffered `FLOW` -implementations. - -Example: - -```ocaml -module Channel = Channel.Make(Flow) -... -Channel.read_exactly ~len:16 t ->>= fun bufs -> (* read header of message *) -let payload_length = Cstruct.(LE.get_uint16 (concat bufs) 0) in -Channel.read_exactly ~len:payload_length t ->>= fun bufs -> (* payload of message *) - -(* process message *) - -Channel.write_buffer t header; -Channel.write_buffer t payload; -Channel.flush t ->>= fun () -> -``` - -mirage-channel is distributed under the ISC license. - -* Homepage: https://github.com/mirage/mirage-channel -* Issue: -* Contact: `` \ No newline at end of file diff --git a/repo/win32/packages/upstream/mirage-channel.3.1.0/opam b/repo/win32/packages/upstream/mirage-channel.3.1.0/opam deleted file mode 100644 index af78ade59..000000000 --- a/repo/win32/packages/upstream/mirage-channel.3.1.0/opam +++ /dev/null @@ -1,22 +0,0 @@ -opam-version: "1.2" -maintainer: "Anil Madhavapeddy " -authors: ["Anil Madhavapeddy" "Mindy Preston" "Thomas Gazagnaire"] -homepage: "https://github.com/mirage/mirage-channel" -doc: "http://mirage.github.io/mirage-channel/" -license: "ISC" -dev-repo: "https://github.com/mirage/mirage-channel.git" -bug-reports: "https://github.com/mirage/mirage-channel/issues" -tags: ["org:mirage"] -available: [ ocaml-version >= "4.02.3"] - -build: [ - [ "jbuilder" "subst" ] {pinned} - [ "jbuilder" "build" "-p" name "-j" jobs ] -] -depends: [ - "jbuilder" {build & >="1.0+beta10"} - "mirage-flow" {>= "1.2.0"} -] -conflicts: [ - "tcpip" {< "3.0.0"} -] diff --git a/repo/win32/packages/upstream/mirage-channel.3.1.0/url b/repo/win32/packages/upstream/mirage-channel.3.1.0/url deleted file mode 100644 index b8e4dbc05..000000000 --- a/repo/win32/packages/upstream/mirage-channel.3.1.0/url +++ /dev/null @@ -1,2 +0,0 @@ -archive: "https://github.com/mirage/mirage-channel/releases/download/v3.1.0/mirage-channel-3.1.0.tbz" -checksum: "942d02ee627c0bae75ce5e7e16c1153e" \ No newline at end of file diff --git a/repo/win32/packages/upstream/mirage-conduit.3.0.1/descr b/repo/win32/packages/upstream/mirage-conduit.3.0.1/descr new file mode 100644 index 000000000..cb46f15b9 --- /dev/null +++ b/repo/win32/packages/upstream/mirage-conduit.3.0.1/descr @@ -0,0 +1,35 @@ +Network conduit library + +The `conduit` library takes care of establishing and listening for +TCP and SSL/TLS connections for the Lwt and Async libraries. + +The reason this library exists is to provide a degree of abstraction +from the precise SSL library used, since there are a variety of ways +to bind to a library (e.g. the C FFI, or the Ctypes library), as well +as well as which library is used (just OpenSSL for now). + +By default, OpenSSL is used as the preferred connection library, but +you can force the use of the pure OCaml TLS stack by setting the +environment variable `CONDUIT_TLS=native` when starting your program. + +The opam packages available are: + +- `conduit`: the main `Conduit` module +- `conduit-lwt`: the portable Lwt implementation +- `conduit-lwt-unix`: the Lwt/Unix implementation +- `conduit-async` the Jane Street Async implementation +- `mirage-conduit`: the MirageOS compatible implementation + +### Debugging + +Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` +environment variable to output debugging information to standard error. +Just set this variable when running the program to see what URIs +are being resolved to. + +### Further Informartion + +* **API Docs:** http://docs.mirage.io/ +* **WWW:** https://github.com/mirage/ocaml-conduit +* **E-mail:** +* **Bugs:** https://github.com/mirage/ocaml-conduit/issues \ No newline at end of file diff --git a/repo/win32/packages/upstream/mirage-conduit.3.0.1/opam b/repo/win32/packages/upstream/mirage-conduit.3.0.1/opam new file mode 100644 index 000000000..4d9f78119 --- /dev/null +++ b/repo/win32/packages/upstream/mirage-conduit.3.0.1/opam @@ -0,0 +1,26 @@ +opam-version: "1.2" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire"] +homepage: "https://github.com/mirage/ocaml-conduit" +dev-repo: "https://github.com/mirage/ocaml-conduit.git" +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" +tags: "org:mirage" +license: "ISC" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] + +depends: [ + "jbuilder" {build & >="1.0+beta10"} + "ppx_sexp_conv" {build} + "cstruct" {>= "3.0.0"} + "mirage-types-lwt" {>= "3.0.0"} + "mirage-flow-lwt" {>= "1.2.0"} + "mirage-dns" {>= "3.0.0"} + "conduit-lwt" + "vchan" {>= "3.0.0"} + "tls" {>="0.8.0"} +] +available: [ocaml-version >="4.03.0"] diff --git a/repo/win32/packages/upstream/mirage-conduit.3.0.1/url b/repo/win32/packages/upstream/mirage-conduit.3.0.1/url new file mode 100644 index 000000000..a11f363f0 --- /dev/null +++ b/repo/win32/packages/upstream/mirage-conduit.3.0.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.0.1/conduit-1.0.1.tbz" +checksum: "ef2095d59d93303697c944f9d404e64d" \ No newline at end of file diff --git a/repo/win32/packages/upstream/mirage-no-solo5.1/descr b/repo/win32/packages/upstream/mirage-no-solo5.1/descr new file mode 100644 index 000000000..fe8ccd209 --- /dev/null +++ b/repo/win32/packages/upstream/mirage-no-solo5.1/descr @@ -0,0 +1 @@ +Virtual package conflicting with mirage-solo5 diff --git a/repo/win32/packages/upstream/mirage-no-solo5.1/opam b/repo/win32/packages/upstream/mirage-no-solo5.1/opam new file mode 100644 index 000000000..aaaef8fd9 --- /dev/null +++ b/repo/win32/packages/upstream/mirage-no-solo5.1/opam @@ -0,0 +1,6 @@ +opam-version: "1.2" +maintainer: "mirageos-devel@lists.xenproject.org" +authors: ["mirageos-devel@lists.xenproject.org"] +homepage: "https://mirage.io" +license: "BSD2" +conflicts: [ "mirage-solo5" ] diff --git a/repo/win32/packages/upstream/mirage-no-xen.1/descr b/repo/win32/packages/upstream/mirage-no-xen.1/descr new file mode 100644 index 000000000..fe69ce3c9 --- /dev/null +++ b/repo/win32/packages/upstream/mirage-no-xen.1/descr @@ -0,0 +1 @@ +Virtual package conflicting with mirage-xen diff --git a/repo/win32/packages/upstream/mirage-no-xen.1/opam b/repo/win32/packages/upstream/mirage-no-xen.1/opam new file mode 100644 index 000000000..34c598b39 --- /dev/null +++ b/repo/win32/packages/upstream/mirage-no-xen.1/opam @@ -0,0 +1,6 @@ +opam-version: "1.2" +maintainer: "mirageos-devel@lists.xenproject.org" +authors: ["mirageos-devel@lists.xenproject.org"] +homepage: "https://mirage.io" +license: "BSD2" +conflicts: [ "mirage-xen" ] diff --git a/repo/win32/packages/upstream/nocrypto.0.5.4/descr b/repo/win32/packages/upstream/nocrypto.0.5.4/descr new file mode 100644 index 000000000..3ca64e089 --- /dev/null +++ b/repo/win32/packages/upstream/nocrypto.0.5.4/descr @@ -0,0 +1,9 @@ +Simpler crypto + + +nocrypto is a small cryptographic library that puts emphasis on the applicative +style and ease of use. It includes basic ciphers (AES, 3DES, RC4), hashes (MD5, +SHA1, SHA2), public-key primitives (RSA, DSA, DH) and a strong RNG (Fortuna). + +RSA timing attacks are countered by blinding. AES timing attacks are avoided by +delegating to AES-NI. \ No newline at end of file diff --git a/repo/win32/packages/upstream/nocrypto.0.5.4/opam b/repo/win32/packages/upstream/nocrypto.0.5.4/opam new file mode 100644 index 000000000..a2122450e --- /dev/null +++ b/repo/win32/packages/upstream/nocrypto.0.5.4/opam @@ -0,0 +1,42 @@ +opam-version: "1.2" +homepage: "https://github.com/mirleft/ocaml-nocrypto" +dev-repo: "https://github.com/mirleft/ocaml-nocrypto.git" +bug-reports: "https://github.com/mirleft/ocaml-nocrypto/issues" +doc: "https://mirleft.github.io/ocaml-nocrypto/doc" +authors: ["David Kaloper "] +maintainer: "David Kaloper " +license: "ISC" +tags: [ "org:mirage" ] +available: [ ocaml-version >= "4.02.0" ] + +build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" + "--jobs" "1" + "--with-lwt" "%{lwt:installed}%" + "--xen" "%{mirage-xen:installed}%" + "--freestanding" "%{mirage-solo5:installed}%"] + +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "cpuid" {build} + "ocb-stubblr" {build} + "ppx_deriving" {build} + "ppx_sexp_conv" {build & < "v0.11.0"} + "ounit" {test} + "cstruct" {>="2.4.0"} + "cstruct-lwt" + "zarith" + "lwt" + "sexplib" {< "v0.11.0"} + ("mirage-no-xen" | ("mirage-xen" & "mirage-entropy" & "zarith-xen")) + ("mirage-no-solo5" | ("mirage-solo5" & "mirage-entropy" & "zarith-freestanding")) +] + +conflicts: [ + "topkg" {<"0.9.1"} + "ocb-stubblr" {<"0.1.0"} + "mirage-xen" {<"2.2.0"} + "sexplib" {="v0.9.0"} +] + diff --git a/repo/win32/packages/upstream/nocrypto.0.5.4/url b/repo/win32/packages/upstream/nocrypto.0.5.4/url new file mode 100644 index 000000000..ec05a1382 --- /dev/null +++ b/repo/win32/packages/upstream/nocrypto.0.5.4/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-nocrypto/releases/download/v0.5.4/nocrypto-0.5.4.tbz" +checksum: "c331a7a4d2a563d1d5ed581aeb849011" diff --git a/repo/win32/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam b/repo/win32/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam index f07d8396f..2a6e576a5 100644 --- a/repo/win32/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam +++ b/repo/win32/packages/upstream/ocaml-migrate-parsetree.1.0.7/opam @@ -17,5 +17,5 @@ depends: [ "ocamlfind" {build} "jbuilder" {build & >= "1.0+beta10"} ] -available: ocaml-version >= "4.02.0" +available: [ocaml-version >= "4.02.0" & ocaml-version < "4.07.0"] patches: "ocaml-migrate-parsetree-1.0.7.patch" {os = "win32"} diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch b/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch deleted file mode 100644 index 2fe9e5f37..000000000 --- a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/check-num-in-sitelib.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 04a4e29db7d86e56ba7cb3b1ea6a26cdf9e597b2 Mon Sep 17 00:00:00 2001 -From: Gabriel Scherer -Date: Fri, 20 Oct 2017 16:13:59 +0200 -Subject: [PATCH] don't install an empty 'num' package if a third-party package - exists - -When reinstalling/updating ocamlfind in an existing OCaml environment, -ocamlfind is installed in a context where ocamlfind packages may -already exist. In particular, the `num` package (separated from the -compiler distribution in 4.06) may exist and own the file -${ocaml_core_stdlib}/num.cmi. In this case ocamlfind should not -overwrite it by installing its own num package -- the behaviour -observed by Jacques-Pascal Deplaix before this patch. - -This approach may be generalizable to the other builtin base packages. ---- - configure | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/configure b/configure -index 6a4a558..2627f1f 100755 ---- a/configure -+++ b/configure -@@ -524,7 +524,11 @@ fi - - # num? - --if [ -f "${ocaml_core_stdlib}/num.cmi" ]; then -+if [ -f "${ocaml_sitelib}/num/META" ]; then -+ echo "num: package already present" -+ lnum="" -+ numtop="" -+elif [ -f "${ocaml_core_stdlib}/num.cmi" ]; then - echo "num: found" - lnum="num num-top" - numtop="num-top" --- -2.9.5 - diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch b/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch deleted file mode 100644 index 1f2191ca9..000000000 --- a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/threads.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 6de006e6f4864a585b085f840660383fa354f9bf Mon Sep 17 00:00:00 2001 -From: Anton Bachin -Date: Wed, 20 Dec 2017 12:17:40 -0600 -Subject: [PATCH] threads: drop explicit check for -thread/-vmthread - ---- - site-lib-src/threads/META.in | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/site-lib-src/threads/META.in b/site-lib-src/threads/META.in -index b42f3dd..fe2d986 100644 ---- a/site-lib-src/threads/META.in -+++ b/site-lib-src/threads/META.in -@@ -9,9 +9,6 @@ dnl This file is input of the m4 macro processor. - - `browse_interfaces = "'interfaces`"' - --`error(-mt) = "Missing -thread or -vmthread switch"' --`error(-mt_vm,-mt_posix) = "Missing -thread or -vmthread switch"' -- - `package "vm" (' - ` # --- Bytecode-only threads:' - ` requires = "unix"' --- -2.12.2 - diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/opam b/repo/win32/packages/upstream/ocamlfind.1.7.3-1/opam deleted file mode 100644 index 65529b527..000000000 --- a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/opam +++ /dev/null @@ -1,27 +0,0 @@ -opam-version: "1.2" -maintainer: "andreashauptmann@t-online.de" -authors: "Gerd Stolpmann " -homepage: "http://projects.camlcity.org/projects/findlib.html" -bug-reports: "mailto:gerd@gerd-stolpmann.de" -dev-repo: "git+https://gitlab.camlcity.org/gerd/lib-findlib.git" -patches: [ - "check-num-in-sitelib.patch" - "threads.patch" - "findlib-1.7.3.patch" {os = "win32"} -] -build: [ - ["./configure" "-bindir" bin "-sitelib" lib "-mandir" man "-config" "%{lib}%/findlib.conf" "-no-topfind" {preinstalled}] - [make "all"] - [make "opt"] { ocaml-native } -] -install: [make "install"] -remove: [ - ["ocamlfind" "remove" "bytes"] - ["rm" "-f" "${lib}/toplevel/topfind" ] - ["./configure" "-bindir" bin "-sitelib" lib "-mandir" man "-config" "%{lib}%/findlib.conf" "-no-topfind" {preinstalled}] - [make "uninstall"] -] -available: [ocaml-version >= "3.12.0"] # ocamlfind refers to cmxs -depends: [ - "conf-m4" {build} -] diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/url b/repo/win32/packages/upstream/ocamlfind.1.7.3-1/url deleted file mode 100644 index a14c7c641..000000000 --- a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/url +++ /dev/null @@ -1,3 +0,0 @@ -archive: "http://download.camlcity.org/download/findlib-1.7.3.tar.gz" -checksum: "7d57451218359f7b7dfc969e3684a6da" -mirrors: [ "http://download2.camlcity.org/download/findlib-1.7.3.tar.gz" ] diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/descr b/repo/win32/packages/upstream/ocamlfind.1.8.0/descr similarity index 100% rename from repo/win32/packages/upstream/ocamlfind.1.7.3-1/descr rename to repo/win32/packages/upstream/ocamlfind.1.8.0/descr diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/findlib-1.7.3.patch b/repo/win32/packages/upstream/ocamlfind.1.8.0/files/findlib-1.8.0.patch similarity index 97% rename from repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/findlib-1.7.3.patch rename to repo/win32/packages/upstream/ocamlfind.1.8.0/files/findlib-1.8.0.patch index 7d5bef93d..5d3d1895f 100644 --- a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/findlib-1.7.3.patch +++ b/repo/win32/packages/upstream/ocamlfind.1.8.0/files/findlib-1.8.0.patch @@ -33,7 +33,7 @@ +++ ./src/findlib/findlib.ml @@ -28,15 +28,20 @@ let conf_ldconf = ref "";; - let conf_ignore_dups_in = ref (None : string option);; + let conf_ignore_dups_in = ref ([] : string list);; -let ocamlc_default = "ocamlc";; -let ocamlopt_default = "ocamlopt";; @@ -269,7 +269,7 @@ ["-ppx"; String.concat " " (preprocessor :: options)] with Not_found -> [] ) -@@ -894,6 +992,14 @@ +@@ -895,6 +993,14 @@ switch (e.g. -L instead of -L ) *) @@ -284,7 +284,7 @@ let ocamlc which () = -@@ -1021,9 +1127,12 @@ +@@ -1022,9 +1128,12 @@ "-intf", Arg.String (fun s -> pass_files := !pass_files @ [ Intf(slashify s) ]); @@ -299,7 +299,7 @@ "-thread", Arg.Unit (fun _ -> threads := threads_default); -@@ -1224,7 +1333,7 @@ +@@ -1237,7 +1346,7 @@ with any -> close_out initl; @@ -308,7 +308,7 @@ raise any end; -@@ -1232,9 +1341,9 @@ +@@ -1245,9 +1354,9 @@ at_exit (fun () -> let tr f x = try f x with _ -> () in @@ -321,7 +321,7 @@ ); let exclude_list = [ stdlibdir; threads_dir; vmthreads_dir ] in -@@ -1480,7 +1589,9 @@ +@@ -1493,7 +1602,9 @@ [ "-v", Arg.Unit (fun () -> verbose := Verbose); "-pp", Arg.String (fun s -> pp_specified := true; @@ -332,7 +332,7 @@ ] ) ) -@@ -1659,7 +1770,9 @@ +@@ -1672,7 +1783,9 @@ Arg.String (fun s -> add_spec_fn "-I" (slashify (resolve_path s))); "-pp", Arg.String (fun s -> pp_specified := true; @@ -343,7 +343,7 @@ ] ) ) -@@ -1817,7 +1930,10 @@ +@@ -1830,7 +1943,10 @@ output_string ch_out append; close_out ch_out; close_in ch_in; @@ -355,7 +355,7 @@ prerr_endline("Installed " ^ outpath); with -@@ -1869,6 +1985,8 @@ +@@ -1882,6 +1998,8 @@ Unix.openfile (Filename.concat dir owner_file) [Unix.O_RDONLY] 0 in let f = Unix.in_channel_of_descr fd in @@ -364,16 +364,16 @@ try let line = input_line f in let is_my_file = (line = pkg) in -@@ -2186,7 +2304,7 @@ +@@ -2208,7 +2326,7 @@ let lines = read_ldconf !ldconf in let dlldir_norm = Fl_split.norm_dir dlldir in - let dlldir_norm_lc = String.lowercase dlldir_norm in + let dlldir_norm_lc = string_lowercase_ascii dlldir_norm in - let ci_filesys = (Sys.os_type = "Win32") in + let ci_filesys = is_win in let check_dir d = let d' = Fl_split.norm_dir d in (d' = dlldir_norm) || -@@ -2334,7 +2452,7 @@ +@@ -2356,7 +2474,7 @@ List.iter (fun file -> let absfile = Filename.concat dlldir file in @@ -382,7 +382,7 @@ prerr_endline ("Removed " ^ absfile) ) dll_files -@@ -2343,7 +2461,7 @@ +@@ -2365,7 +2483,7 @@ (* Remove the files from the package directory: *) if Sys.file_exists pkgdir then begin let files = Sys.readdir pkgdir in @@ -391,7 +391,7 @@ Unix.rmdir pkgdir; prerr_endline ("Removed " ^ pkgdir) end -@@ -2393,7 +2511,9 @@ +@@ -2415,7 +2533,9 @@ let print_configuration() = @@ -401,7 +401,7 @@ if Sys.file_exists s then s else -@@ -2431,27 +2551,27 @@ +@@ -2453,27 +2573,27 @@ if md = "" then "the corresponding package directories" else dir md ); Printf.printf "The standard library is assumed to reside in:\n %s\n" @@ -439,7 +439,7 @@ | _ -> assert false ;; -@@ -2459,7 +2579,7 @@ +@@ -2481,7 +2601,7 @@ let ocamlcall pkg cmd = let dir = package_directory pkg in @@ -448,7 +448,7 @@ begin try Unix.access path [ Unix.X_OK ] with -@@ -2625,6 +2745,10 @@ +@@ -2647,6 +2767,10 @@ | Sys_error f -> prerr_endline ("ocamlfind: " ^ f); exit 2 @@ -469,7 +469,7 @@ sed -e 's;@AUTOLINK@;$(OCAML_AUTOLINK);g' \ -e 's;@SYSTEM@;$(SYSTEM);g' \ >findlib_config.ml -@@ -116,7 +117,7 @@ +@@ -113,7 +114,7 @@ $(OCAMLC) -a -o num_top.cma $(NUMTOP_OBJECTS) clean: @@ -478,7 +478,7 @@ fl_meta.ml findlib_config.ml findlib.mml topfind.ml topfind \ ocamlfind$(EXEC_SUFFIX) ocamlfind_opt$(EXEC_SUFFIX) -@@ -124,7 +125,7 @@ +@@ -121,7 +122,7 @@ mkdir -p "$(prefix)$(OCAML_SITELIB)/$(NAME)" mkdir -p "$(prefix)$(OCAMLFIND_BIN)" test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_CORE_STDLIB)" diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/ocaml-stub b/repo/win32/packages/upstream/ocamlfind.1.8.0/files/ocaml-stub similarity index 100% rename from repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/ocaml-stub rename to repo/win32/packages/upstream/ocamlfind.1.8.0/files/ocaml-stub diff --git a/repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/ocamlfind.install b/repo/win32/packages/upstream/ocamlfind.1.8.0/files/ocamlfind.install similarity index 100% rename from repo/win32/packages/upstream/ocamlfind.1.7.3-1/files/ocamlfind.install rename to repo/win32/packages/upstream/ocamlfind.1.8.0/files/ocamlfind.install diff --git a/repo/win32/packages/upstream/ocamlfind.1.8.0/opam b/repo/win32/packages/upstream/ocamlfind.1.8.0/opam new file mode 100644 index 000000000..0b7a6628f --- /dev/null +++ b/repo/win32/packages/upstream/ocamlfind.1.8.0/opam @@ -0,0 +1,26 @@ +opam-version: "1.2" +maintainer: "Thomas Gazagnaire " +author: "Gerd Stolpmann " +homepage: "http://projects.camlcity.org/projects/findlib.html" +bug-reports: "https://gitlab.camlcity.org/gerd/lib-findlib/issues" +dev-repo: "https://gitlab.camlcity.org/gerd/lib-findlib.git" +build: [ + ["./configure" "-bindir" bin "-sitelib" lib "-mandir" man "-config" "%{lib}%/findlib.conf" "-no-custom" "-no-topfind" {preinstalled}] + [make "all"] + [make "opt"] { ocaml-native } +] +install: [ + [make "install"] + ["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {preinstalled} +] +remove: [ + ["ocamlfind" "remove" "bytes"] + ["./configure" "-bindir" bin "-sitelib" lib "-mandir" man "-config" "%{lib}%/findlib.conf" "-no-topfind" {preinstalled}] + [make "uninstall"] + ["rm" "-f" "%{bin}%/ocaml"] {preinstalled} +] +available: [ocaml-version >= "4.00.0"] +depends: [ + "conf-m4" {build} +] +patches: "findlib-1.8.0.patch" {os = "win32"} diff --git a/repo/win32/packages/upstream/ocamlfind.1.8.0/url b/repo/win32/packages/upstream/ocamlfind.1.8.0/url new file mode 100644 index 000000000..45ad39c94 --- /dev/null +++ b/repo/win32/packages/upstream/ocamlfind.1.8.0/url @@ -0,0 +1,3 @@ +archive: "http://download.camlcity.org/download/findlib-1.8.0.tar.gz" +checksum: "a710c559667672077a93d34eb6a42e5b" +mirrors: [ "http://download2.camlcity.org/download/findlib-1.8.0.tar.gz" ] diff --git a/repo/win32/packages/upstream/ounit.2.0.7/url b/repo/win32/packages/upstream/ounit.2.0.7/url deleted file mode 100644 index ff98cab5c..000000000 --- a/repo/win32/packages/upstream/ounit.2.0.7/url +++ /dev/null @@ -1,2 +0,0 @@ -archive: "https://forge.ocamlcore.org/frs/download.php/1738/ounit-2.0.7.tar.gz" -checksum: "852bc74596501e79969eea522e1ae99e" diff --git a/repo/win32/packages/upstream/ounit.2.0.7/descr b/repo/win32/packages/upstream/ounit.2.0.8/descr similarity index 100% rename from repo/win32/packages/upstream/ounit.2.0.7/descr rename to repo/win32/packages/upstream/ounit.2.0.8/descr diff --git a/repo/darwin/packages/upstream/ounit.2.0.7/opam b/repo/win32/packages/upstream/ounit.2.0.8/opam similarity index 96% rename from repo/darwin/packages/upstream/ounit.2.0.7/opam rename to repo/win32/packages/upstream/ounit.2.0.8/opam index 7c655063a..e30d5dd0a 100644 --- a/repo/darwin/packages/upstream/ounit.2.0.7/opam +++ b/repo/win32/packages/upstream/ounit.2.0.8/opam @@ -8,7 +8,7 @@ doc: ["http://ounit.forge.ocamlcore.org/api-ounit/index.html"] build: [make "build"] remove: [["ocamlfind" "remove" "oUnit"]] depends: [ - "ocamlfind" + "ocamlfind" {build} "ocamlbuild" {build} "base-bytes" ] diff --git a/repo/win32/packages/upstream/ounit.2.0.8/url b/repo/win32/packages/upstream/ounit.2.0.8/url new file mode 100644 index 000000000..7f5a90b55 --- /dev/null +++ b/repo/win32/packages/upstream/ounit.2.0.8/url @@ -0,0 +1,2 @@ +archive: "https://forge.ocamlcore.org/frs/download.php/1749/ounit-2.0.8.tar.gz" +checksum: "bd12d66c9dbd95a50570bb686b0f10f5" diff --git a/repo/win32/packages/upstream/ptime.0.8.3/descr b/repo/win32/packages/upstream/ptime.0.8.3/descr new file mode 100644 index 000000000..f77827c8d --- /dev/null +++ b/repo/win32/packages/upstream/ptime.0.8.3/descr @@ -0,0 +1,20 @@ +POSIX time for OCaml + +Ptime has platform independent POSIX time support in pure OCaml. It +provides a type to represent a well-defined range of POSIX timestamps +with picosecond precision, conversion with date-time values, +conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to a +human-readable, locale-independent representation. + +The additional Ptime_clock library provides access to a system POSIX +clock and to the system's current time zone offset. + +Ptime is not a calendar library. + +Ptime depends on the `result` compatibility package. Ptime_clock +depends on your system library. Ptime_clock's optional JavaScript +support depends on [js_of_ocaml][jsoo]. Ptime and its libraries are +distributed under the ISC license. + +[rfc3339]: http://tools.ietf.org/html/rfc3339 +[jsoo]: http://ocsigen.org/js_of_ocaml/ diff --git a/repo/win32/packages/upstream/ptime.0.8.3/opam b/repo/win32/packages/upstream/ptime.0.8.3/opam new file mode 100644 index 000000000..b34f28961 --- /dev/null +++ b/repo/win32/packages/upstream/ptime.0.8.3/opam @@ -0,0 +1,21 @@ +opam-version: "1.2" +maintainer: "Daniel Bünzli " +authors: ["Daniel Bünzli "] +homepage: "http://erratique.ch/software/ptime" +doc: "http://erratique.ch/software/ptime/doc" +dev-repo: "http://erratique.ch/repos/ptime.git" +bug-reports: "https://github.com/dbuenzli/ptime/issues" +tags: [ "time" "posix" "system" "org:erratique" ] +license: "ISC" +available: [ ocaml-version >= "4.01.0"] +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "result" +] +depopts: [ "js_of_ocaml" ] +build:[[ + "ocaml" "pkg/pkg.ml" "build" + "--pinned" "%{pinned}%" + "--with-js_of_ocaml" "%{js_of_ocaml:installed}%" ]] diff --git a/repo/win32/packages/upstream/ptime.0.8.3/url b/repo/win32/packages/upstream/ptime.0.8.3/url new file mode 100644 index 000000000..0043089e1 --- /dev/null +++ b/repo/win32/packages/upstream/ptime.0.8.3/url @@ -0,0 +1,2 @@ +archive: "http://erratique.ch/software/ptime/releases/ptime-0.8.3.tbz" +checksum: "bf84f6bfedce30349cffc9eb52ac7574" \ No newline at end of file diff --git a/repo/win32/packages/upstream/tls.0.9.1/descr b/repo/win32/packages/upstream/tls.0.9.1/descr new file mode 100644 index 000000000..6b52ac617 --- /dev/null +++ b/repo/win32/packages/upstream/tls.0.9.1/descr @@ -0,0 +1,15 @@ +Transport Layer Security purely in OCaml + +Transport Layer Security (TLS) is probably the most widely deployed security +protocol on the Internet. It provides communication privacy to prevent +eavesdropping, tampering, and message forgery. Furthermore, it optionally +provides authentication of the involved endpoints. TLS is commonly deployed for +securing web services ([HTTPS](http://tools.ietf.org/html/rfc2818)), emails, +virtual private networks, and wireless networks. + +TLS uses asymmetric cryptography to exchange a symmetric key, and optionally +authenticate (using X.509) either or both endpoints. It provides algorithmic +agility, which means that the key exchange method, symmetric encryption +algorithm, and hash algorithm are negotiated. + +Read [further](https://nqsb.io) and our [Usenix Security 2015 paper](https://usenix15.nqsb.io). \ No newline at end of file diff --git a/repo/win32/packages/upstream/tls.0.9.1/opam b/repo/win32/packages/upstream/tls.0.9.1/opam new file mode 100644 index 000000000..52daefdc6 --- /dev/null +++ b/repo/win32/packages/upstream/tls.0.9.1/opam @@ -0,0 +1,55 @@ +opam-version: "1.2" +name: "tls" +homepage: "https://github.com/mirleft/ocaml-tls" +dev-repo: "https://github.com/mirleft/ocaml-tls.git" +bug-reports: "https://github.com/mirleft/ocaml-tls/issues" +doc: "https://mirleft.github.io/ocaml-tls/doc" +author: ["David Kaloper " "Hannes Mehnert "] +maintainer: ["Hannes Mehnert " "David Kaloper "] +license: "BSD2" + +build: [ + [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" + "--with-lwt" "%{lwt+ptime:installed}%" + "--with-mirage" "%{mirage-flow-lwt+mirage-kv-lwt+mirage-clock+ptime:installed}%" ] +] +build-test: [ + ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true" + "--with-lwt" "%{lwt+ptime+astring:installed}%" + "--with-mirage" "%{mirage-flow-lwt+mirage-kv-lwt+mirage-clock+ptime:installed}%" ] + ["ocaml" "pkg/pkg.ml" "test"] +] + +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build} + "ppx_sexp_conv" {build & < "v0.11.0"} + "ppx_deriving" {build} + "ppx_cstruct" {build & >= "3.0.0"} + "result" + "cstruct" {>= "3.0.0"} + "sexplib" + "nocrypto" {>= "0.5.4"} + "x509" {>= "0.6.1"} + "cstruct-unix" {test & >= "3.0.0"} + "ounit" {test} +] +depopts: [ + "lwt" + "mirage-flow-lwt" + "mirage-kv-lwt" + "mirage-clock" + "ptime" + "astring" {test} +] +conflicts: [ + "lwt" {<"2.4.8"} + "mirage-net-xen" {<"1.3.0"} + "mirage-types" {<"3.0.0"} + "sexplib" {= "v0.9.0"} + "ptime" {< "0.8.1"} +] + +tags: [ "org:mirage"] +available: [ ocaml-version >= "4.02.2" ] diff --git a/repo/win32/packages/upstream/tls.0.9.1/url b/repo/win32/packages/upstream/tls.0.9.1/url new file mode 100644 index 000000000..dc8d5b5b2 --- /dev/null +++ b/repo/win32/packages/upstream/tls.0.9.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-tls/releases/download/0.9.1/tls-0.9.1.tbz" +checksum: "6540028f450dd753dc90d8a4ba6bb457" \ No newline at end of file diff --git a/repo/win32/packages/upstream/vchan.3.0.0/descr b/repo/win32/packages/upstream/vchan.3.0.0/descr new file mode 100644 index 000000000..c79c90334 --- /dev/null +++ b/repo/win32/packages/upstream/vchan.3.0.0/descr @@ -0,0 +1,4 @@ +Xen Vchan implementation +Vchan is a high performance inter-domain communications protocol using +shared memory. This implementation runs in both userspace and +kernelspace using Mirage. diff --git a/repo/win32/packages/upstream/vchan.3.0.0/opam b/repo/win32/packages/upstream/vchan.3.0.0/opam new file mode 100644 index 000000000..3829a9617 --- /dev/null +++ b/repo/win32/packages/upstream/vchan.3.0.0/opam @@ -0,0 +1,37 @@ +opam-version: "1.2" +maintainer: "jonathan.ludlam@eu.citrix.com" +authors: [ + "Vincent Bernardoff" + "Jon Ludlam" + "David Scott" +] +homepage: "http://github.com/mirage/ocaml-vchan" +bug-reports: "http://github.com/mirage/ocaml-vchan/issues" +dev-repo: "http://github.com/mirage/ocaml-vchan.git" +doc: "http://mirage.github.io/ocaml-vchan" +license: "ISC" + +build: [ + [ "jbuilder" "subst"] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocamlfind" {build} + "jbuilder" {build & >="1.0+beta9"} + "lwt" {>= "2.5.0"} + "cstruct" {>= "3.0.0"} + "ppx_tools" {build} + "ppx_sexp_conv" {build & >="v0.9"} + "ppx_cstruct" {build} + "io-page" + "mirage-flow-lwt" {>= "1.0.0"} + "xenstore" {>= "1.2.2"} + "xenstore_transport" + "sexplib" + "cmdliner" + "result" + "ounit" {test} +] +available: [ocaml-version >= "4.03.0"] +tags: "org:mirage" diff --git a/repo/win32/packages/upstream/vchan.3.0.0/url b/repo/win32/packages/upstream/vchan.3.0.0/url new file mode 100644 index 000000000..21a38a30f --- /dev/null +++ b/repo/win32/packages/upstream/vchan.3.0.0/url @@ -0,0 +1,2 @@ +http: "https://github.com/mirage/ocaml-vchan/releases/download/3.0.0/vchan-3.0.0.tbz" +checksum: "8be9a2d7df23fdf8983daecef3454b5d" diff --git a/repo/win32/packages/upstream/x509.0.6.1/descr b/repo/win32/packages/upstream/x509.0.6.1/descr new file mode 100644 index 000000000..48d25c7aa --- /dev/null +++ b/repo/win32/packages/upstream/x509.0.6.1/descr @@ -0,0 +1,10 @@ +Public Key Infrastructure purely in OCaml + +X.509 is a public key infrastructure used mostly on the Internet. It consists +of certificates which include public keys and identifiers, signed by an +authority. Authorities must be exchanged over a second channel to establish the +trust relationship. This library implements most parts of +[RFC5280](https://tools.ietf.org/html/rfc5280) and +[RFC6125](https://tools.ietf.org/html/rfc6125). + +Read [further](https://nqsb.io) and our [Usenix Security 2015 paper](https://usenix15.nqsb.io). \ No newline at end of file diff --git a/repo/win32/packages/upstream/x509.0.6.1/opam b/repo/win32/packages/upstream/x509.0.6.1/opam new file mode 100644 index 000000000..c750eddff --- /dev/null +++ b/repo/win32/packages/upstream/x509.0.6.1/opam @@ -0,0 +1,36 @@ +opam-version: "1.2" +name: "x509" +homepage: "https://github.com/mirleft/ocaml-x509" +dev-repo: "https://github.com/mirleft/ocaml-x509.git" +bug-reports: "https://github.com/mirleft/ocaml-x509/issues" +doc: "https://mirleft.github.io/ocaml-x509/doc" +author: [ "David Kaloper " "Hannes Mehnert " ] +maintainer: [ "Hannes Mehnert " "David Kaloper " ] +license: "BSD2" + +build: [ + ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"] +] +build-test: [ + ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"] + ["ocaml" "pkg/pkg.ml" "test"] +] + +depends: [ + "ocamlfind" {build} + "ocamlbuild" {build} + "ppx_sexp_conv" {build & < "v0.11.0"} + "topkg" {build} + "result" + "cstruct" {>= "1.6.0"} + "sexplib" + "asn1-combinators" {>= "0.2.0"} + "ptime" + "nocrypto" {>= "0.5.3"} + "astring" + "ounit" {test} + "cstruct-unix" {test & >= "3.0.0"} +] + +tags: [ "org:mirage" ] +available: [ ocaml-version >= "4.02.2" ] diff --git a/repo/win32/packages/upstream/x509.0.6.1/url b/repo/win32/packages/upstream/x509.0.6.1/url new file mode 100644 index 000000000..db6122d76 --- /dev/null +++ b/repo/win32/packages/upstream/x509.0.6.1/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirleft/ocaml-x509/releases/download/0.6.1/x509-0.6.1.tbz" +checksum: "a8cac9dca9bc4d39f7433403633d2223" \ No newline at end of file diff --git a/repo/win32/packages/upstream/xenstore.2.0.0/descr b/repo/win32/packages/upstream/xenstore.2.0.0/descr new file mode 100644 index 000000000..80cdcd00e --- /dev/null +++ b/repo/win32/packages/upstream/xenstore.2.0.0/descr @@ -0,0 +1 @@ +Xenstore protocol clients and server diff --git a/repo/win32/packages/upstream/xenstore.2.0.0/opam b/repo/win32/packages/upstream/xenstore.2.0.0/opam new file mode 100644 index 000000000..0030c87d8 --- /dev/null +++ b/repo/win32/packages/upstream/xenstore.2.0.0/opam @@ -0,0 +1,30 @@ +opam-version: "1.2" +maintainer: "dave@recoil.org" +authors: [ + "Vincent Hanquez" + "Thomas Gazagnaire" + "Dave Scott" + "Anil Madhavapeddy" + "Vincent Bernardoff" +] +homepage: "https://github.com/mirage/ocaml-xenstore" +bug-reports: "https://github.com/mirage/ocaml-xenstore/issues" +dev-repo: "https://github.com/mirage/ocaml-xenstore.git" +doc: "https://mirage.github.io/ocaml-xenstore" + +build: [ + ["jbuilder" "subst" "-p" name "--name" name] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] + +build-test: ["jbuilder" "runtest" "-p" name] + +depends: [ + "jbuilder" {build & >="1.0+beta9"} + "cstruct" {>= "3.2.0"} + "ppx_cstruct" {build} + "ppx_tools" {build} + "lwt" + "ounit" {test} +] +available: [ ocaml-version >= "4.04.0" ] diff --git a/repo/win32/packages/upstream/xenstore.2.0.0/url b/repo/win32/packages/upstream/xenstore.2.0.0/url new file mode 100644 index 000000000..6c335c753 --- /dev/null +++ b/repo/win32/packages/upstream/xenstore.2.0.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/mirage/ocaml-xenstore/releases/download/2.0.0/xenstore-2.0.0.tbz" +checksum: "c1b3234c5468d37253fab2fe23a719b5" diff --git a/repo/win32/packages/upstream/xenstore_transport.1.0.0/descr b/repo/win32/packages/upstream/xenstore_transport.1.0.0/descr new file mode 100644 index 000000000..33dd1f168 --- /dev/null +++ b/repo/win32/packages/upstream/xenstore_transport.1.0.0/descr @@ -0,0 +1,6 @@ +Low-level libraries for connecting to a xenstore service on a xen host. + +These libraries contain the IO functions for communicating with a +xenstore service on a xen host. One subpackage deals with regular Unix +threads and another deals with Lwt co-operative threads. + diff --git a/repo/win32/packages/upstream/xenstore_transport.1.0.0/opam b/repo/win32/packages/upstream/xenstore_transport.1.0.0/opam new file mode 100644 index 000000000..7f80379af --- /dev/null +++ b/repo/win32/packages/upstream/xenstore_transport.1.0.0/opam @@ -0,0 +1,37 @@ +opam-version: "1.2" +authors: [ + "Christian Lindig" + "David Scott" + "Euan Harris" + "John Else" + "Jon Ludlam" + "Jonathan Davies" + "Marcello Seri" + "Si Beaumont" + "Thomas Sanders" + "Vincent Bernardoff" +] +maintainer: "dave@recoil.org" +homepage: "http://github.com/djs55/ocaml-xenstore-clients" +bug-reports: "http://github.com/djs55/ocaml-xenstore-clients/issues" +dev-repo: "http://github.com/djs55/ocaml-xenstore-clients.git" +doc: "http://djs55.github.io/ocaml-xenstore-clients" +license: "LGPL" + +tags: [ + "org:mirage" + "org:xapi-project" +] +build: [ + [ "jbuilder" "subst"] {pinned} + [ "jbuilder" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocamlfind" {build} + "jbuilder" {build & >="1.0+beta9"} + "lwt" + "xenstore" {>= "2.0.0"} +] + +available: [ ocaml-version >= "4.04.0" ] diff --git a/repo/win32/packages/upstream/xenstore_transport.1.0.0/url b/repo/win32/packages/upstream/xenstore_transport.1.0.0/url new file mode 100644 index 000000000..05808ce3b --- /dev/null +++ b/repo/win32/packages/upstream/xenstore_transport.1.0.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/xapi-project/ocaml-xenstore-clients/archive/v1.0.0.tar.gz" +checksum: "4e59bac5caae42588148f9c2bcd3f3e6" diff --git a/repo/win32/packages/upstream/zarith.1.7/descr b/repo/win32/packages/upstream/zarith.1.7/descr new file mode 100644 index 000000000..0eb288aba --- /dev/null +++ b/repo/win32/packages/upstream/zarith.1.7/descr @@ -0,0 +1,5 @@ +Implements arithmetic and logical operations over arbitrary-precision integers +The Zarith library implements arithmetic and logical operations over +arbitrary-precision integers. It uses GMP to efficiently implement +arithmetic over big integers. Small integers are represented as Caml +unboxed integers, for speed and space economy. diff --git a/repo/win32/packages/upstream/zarith.1.7/files/Zarith-release-1.7.patch b/repo/win32/packages/upstream/zarith.1.7/files/Zarith-release-1.7.patch new file mode 100644 index 000000000..7a82a4b11 --- /dev/null +++ b/repo/win32/packages/upstream/zarith.1.7/files/Zarith-release-1.7.patch @@ -0,0 +1,156 @@ +--- ./caml_z_x86_64_mingw64.S ++++ ./caml_z_x86_64_mingw64.S +@@ -21,9 +21,9 @@ + + + /* makes the stack non-executable. */ ++#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +- +- ++#endif + /* helper functions */ + /* **************** */ + +--- ./configure ++++ ./configure +@@ -22,7 +22,24 @@ + gmp='auto' + perf='no' + +-ar='ar' ++#ar='ar' ++ar_help=$(ocamlc -config | awk -F '[\t \r]+' '/^system/ {print $2}') ++case "$ar_help" in ++ *mingw64*) ++ if which x86_64-w64-mingw32-ar >/dev/null 2>&1 ; then ++ ar=x86_64-w64-mingw32-ar ++ fi ++ ;; ++ *mingw*) ++ if which i686-w64-mingw32-ar >/dev/null 2>&1 ; then ++ ar=i686-w64-mingw32-ar ++ fi ++ ;; ++ *) ++ ar='ar' ++ ;; ++esac ++ + ocaml='ocaml' + ocamlc='ocamlc' + ocamlopt='ocamlopt' +@@ -204,13 +221,32 @@ + searchbinreq "$CC" + cc="$CC" + ccopt="$CFLAGS" +-elif ! searchbin 'gcc'; then ++else ++ cc= ++ case "$system_help" in ++ *mingw64*) ++ if which x86_64-w64-mingw32-gcc >/dev/null 2>&1 ; then ++ cc=x86_64-w64-mingw32-gcc ++ ccopt="-O3 -Wall -Wextra $CFLAGS" ++ fi ++ ;; ++ *mingw*) ++ if which i686-w64-mingw32-gcc >/dev/null 2>&1 ; then ++ cc=i686-w64-mingw32-gcc ++ ccopt="-O3 -Wall -Wextra $CFLAGS" ++ fi ++ ;; ++ esac ++ if [ -z "$cc" ]; then ++ if ! searchbin 'gcc'; then + cc='gcc' + ccopt="-O3 -Wall -Wextra $CFLAGS" +-else ++ else + searchbinreq 'cc' + cc='cc' + ccopt="-O3 -Wall -Wextra $CFLAGS" ++ fi ++ fi + fi + + # optional native-code generation +@@ -234,7 +270,7 @@ + + # directories + +-if test "$ocamllibdir" = "auto"; then ocamllibdir=`ocamlc -where`; fi ++if test "$ocamllibdir" = "auto"; then ocamllibdir=`ocamlc -where | tr -d '\r'`; fi + + # fails on Cygwin: + # if test ! -f "$ocamllibdir/caml/mlvalues.h" +@@ -261,7 +297,7 @@ + if test $? -eq 1 -a $ocamlfind != "no"; then + instmeth='findlib' + if test "$installdir" = "auto" +- then installdir=`ocamlfind printconf destdir`; fi ++ then installdir=`ocamlfind printconf destdir | tr -d '\r'`; fi + else + searchbin install + if test $? -eq 1; then instmeth='install' +@@ -298,7 +334,7 @@ + i486-*linux-gnu|i686-*linux-gnu|i486-kfreebsd-gnu) + ccdef="-DZ_ELF -DZ_DOT_LABEL_PREFIX $ccdef" + arch='i686';; +- i686-*cygwin) ++ i686-*cygwin|x86_64-*cygwin) + if test "x$wordsize" = "x64"; then + ccdef="-DZ_COFF $ccdef" + arch='x86_64_mingw64' +@@ -386,6 +422,20 @@ + ;; + esac + ++exec_suffix='' ++so_suffix='.so' ++systype=`uname -s` ++case "$systype" in ++ CYGWIN*) ++ exec_suffix='.exe' ++ so_suffix='.dll' ++ ;; ++ MINGW*) ++ exec_suffix='.exe' ++ so_suffix='.dll' ++ ;; ++esac ++ + # dump Makefile + + cat > Makefile <" +authors: [ + "Antoine Miné" + "Xavier Leroy" + "Pascal Cuoq" +] +homepage: "https://github.com/ocaml/Zarith" +bug-reports: "https://github.com/ocaml/Zarith/issues" +dev-repo: "https://github.com/ocaml/Zarith.git" +build: [ + ["./configure"] { os != "openbsd" & os != "freebsd" & os != "darwin"} + ["sh" "-exc" "LDFLAGS=\"$LDFLAGS -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/usr/local/include\" ./configure"] { os = "openbsd" | os = "freebsd" } + ["sh" "-exc" "LDFLAGS=\"$LDFLAGS -L/opt/local/lib -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/opt/local/include -I/usr/local/include\" ./configure"] { os = "darwin" } + [make] +] +install: [ + [make "install"] +] +remove: ["ocamlfind" "remove" "zarith"] +depends: [ + "ocamlfind" + "conf-gmp" + "conf-perl" {build} +] +patches: "Zarith-release-1.7.patch" {os = "win32"} diff --git a/repo/win32/packages/upstream/zarith.1.7/url b/repo/win32/packages/upstream/zarith.1.7/url new file mode 100644 index 000000000..73e5c14b5 --- /dev/null +++ b/repo/win32/packages/upstream/zarith.1.7/url @@ -0,0 +1,2 @@ +archive: "https://github.com/ocaml/Zarith/archive/release-1.7.tar.gz" +checksum: "80944e2755ebb848451a77dc2ad0651b"