Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ opam update -u
TARGETS="mirage-http mirage mirage-xen github dns tls mirage-profile"
opam install ${TARGETS}
eval `opam config env`
git clone git://github.com/mirage/mirage-skeleton
git clone git://github.com/talex5/mirage-skeleton -b tls
cd mirage-skeleton
make configure
make depend
make build
make clean
make configure MODE=xen
make build MODE=xen
15 changes: 15 additions & 0 deletions packages/conduit/conduit.dev/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Network connection library for TCP and SSL

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 (either OpenSSL or a native OCaml TLS implementation).

If you are using the `Lwt_unix` version of the library, you can set two
environment variables to control the behaviour of the library:

- `CONDUIT_DEBUG=1` will output debug information to standard error.
- `CONDUIT_TLS=native` will force the use of the pure OCaml TLS library.
37 changes: 37 additions & 0 deletions packages/conduit/conduit.dev/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
opam-version: "1.1"
maintainer: "anil@recoil.org"
tags: [
"org:mirage"
]
build: [
[make]
[make "install"]
]
remove: ["ocamlfind" "remove" "conduit"]
depends: [
"ocamlfind"
"sexplib" {>="109.15.00"}
"stringext"
"uri"
"cstruct" {>="1.0.1"}
"ipaddr" {>="2.5.0"}
]
depopts: [
"async"
"lwt"
"ssl"
"async_ssl"
"mirage-dns"
"vchan"
"tls"
]
conflicts: [
"async" {<"109.15.00"}
"lwt" {<"2.4.3"}
"async_ssl" {<"111.21.00"}
"mirage-types" {<"2.0.0"}
"dns" {<"0.10.0"}
"tls" {<"0.2.0"}
"vchan" {<"2.0.0"}
]
available: [ocaml-version >= "4.01.0"]
1 change: 1 addition & 0 deletions packages/conduit/conduit.dev/url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
archive: "https://github.com/talex5/ocaml-conduit.git#tls"
1 change: 0 additions & 1 deletion packages/ctypes/ctypes.0.4.0/descr

This file was deleted.

35 changes: 0 additions & 35 deletions packages/ctypes/ctypes.0.4.0/opam

This file was deleted.

1 change: 0 additions & 1 deletion packages/ctypes/ctypes.0.4.0/url

This file was deleted.

3 changes: 3 additions & 0 deletions packages/gmp/gmp.6.0.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ remove: [
"%{prefix}%/lib/pkgconfig/gmp.pc"
"%{prefix}%/lib/gmp" ]
]
depends: [
"ocamlfind"
]
depopts: [
"mirage-xen"
]
1 change: 0 additions & 1 deletion packages/mirage-profile/mirage-profile.0.1/descr

This file was deleted.

27 changes: 0 additions & 27 deletions packages/mirage-profile/mirage-profile.0.1/opam

This file was deleted.

1 change: 0 additions & 1 deletion packages/mirage-profile/mirage-profile.0.1/url

This file was deleted.

14 changes: 0 additions & 14 deletions packages/mirage-types-lwt/mirage-types-lwt.2.0.0/descr

This file was deleted.

16 changes: 0 additions & 16 deletions packages/mirage-types-lwt/mirage-types-lwt.2.0.0/opam

This file was deleted.

1 change: 0 additions & 1 deletion packages/mirage-www/mirage-www.1.2.0/descr

This file was deleted.

3 changes: 0 additions & 3 deletions packages/mirage-www/mirage-www.1.2.0/files/mirage-www.install

This file was deleted.

24 changes: 0 additions & 24 deletions packages/mirage-www/mirage-www.1.2.0/opam

This file was deleted.

1 change: 0 additions & 1 deletion packages/mirage-www/mirage-www.1.2.0/url

This file was deleted.

10 changes: 10 additions & 0 deletions packages/mirage/mirage.dev/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The Mirage library operating system

Mirage is a unikernel for constructing secure, high-performance
network applications across a variety of cloud computing and mobile
platforms. Code can be developed on a normal OS such as Linux or MacOS
X, and then compiled into a fully-standalone, specialised microkernel
that runs under the Xen hypervisor. Since Xen powers most public cloud
computing infrastructure such as Amazon EC2, this lets your servers
run more cheaply, securely and finer control than with a full software
stack.
36 changes: 36 additions & 0 deletions packages/mirage/mirage.dev/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
opam-version: "1.1"
maintainer: [
"anil@recoil.org"
"thomas@gazagnaire.org"
]
authors: [
"Anil Madhavapeddy"
"Thomas Gazagnaire"
"Dave Scott"
"Richard Mortier"
]
tags: [
"org:mirage"
"org:xapi-project"
]
build: [
["./configure" "--bindir" "%{bin}%"]
[make]
[make "install"]
]
remove: [
["rm" "-f" "%{bin}%/mirage"]
["ocamlfind" "remove" "mirage"]
]
depends: [
"ipaddr" {>= "1.0.0"}
"mirage-types" {>= "2.2.0"}
"re" {>= "1.2.1"}
"cmdliner" {>= "0.9.2"}
"lwt" {>= "2.4.3"}
"cstruct" {>= "1.0.1"}
"io-page" {>= "1.0.0"}
"crunch"
"sexplib"
]
ocaml-version: [>="4.01.0"]
1 change: 1 addition & 0 deletions packages/mirage/mirage.dev/url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
archive: "https://github.com/talex5/mirage.git#conduit-tls"
3 changes: 0 additions & 3 deletions packages/shared-memory-ring/shared-memory-ring.1.1.1/descr

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions packages/shared-memory-ring/shared-memory-ring.1.1.1/opam

This file was deleted.

2 changes: 0 additions & 2 deletions packages/shared-memory-ring/shared-memory-ring.1.1.1/url

This file was deleted.

4 changes: 4 additions & 0 deletions packages/tls/tls.0.3.0/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Transport Layer Security (TLS) in OCaml

A clean-slate TLS implementation, with support for protocol versions 1.0-1.2.
Includes the core library, as well as Lwt and Mirage frontends.
1 change: 1 addition & 0 deletions packages/tls/tls.0.3.0/findlib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tls
32 changes: 32 additions & 0 deletions packages/tls/tls.0.3.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
opam-version: "1.2"
name: "tls"
version: "0.3.0"
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"
author: ["David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>"]
maintainer: ["Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>"]
license: "BSD2"

build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix
"--%{lwt:enable}%-lwt"
"--%{mirage-types+io-page+ipaddr:enable}%-mirage" ]
["ocaml" "setup.ml" "-build"]
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "tls"]

depends: [
"ocamlfind"
"cstruct" {>= "1.2.0"}
"type_conv"
"sexplib"
"nocrypto" {>= "0.3.0"}
"x509" {>= "0.2.1"}
]
depopts: [
"lwt"
"mirage-types-lwt"
]
conflicts: [ "mirage-types-lwt" {<"2.2.0"} ]
1 change: 1 addition & 0 deletions packages/tls/tls.0.3.0/url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
archive: "https://github.com/talex5/ocaml-tls.git#errors"
4 changes: 4 additions & 0 deletions packages/x509/x509.0.2.1/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
X.509 certificate (RFC5280) library

Library for X.509 certificate parsing, serialization and authentication.
Supports path validation (RFC5280) and hostname verification (RFC6125).
1 change: 1 addition & 0 deletions packages/x509/x509.0.2.1/findlib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x509
27 changes: 27 additions & 0 deletions packages/x509/x509.0.2.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
opam-version: "1.2"
name: "x509"
version: "0.2.1"
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"
author: [ "David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>" ]
maintainer: [ "Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>" ]
license: "BSD2"

build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix ]
["ocaml" "setup.ml" "-build"]
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "x509"]

depends: [
"ocamlfind"
"cstruct" {>= "1.2.0"}
"type_conv"
"sexplib"
"asn1-combinators" {>= "0.1.1"}
"nocrypto" {>= "0.2.0"}
]
tags: [ "org:mirage" ]
available: [ ocaml-version >= "4.01.0" ]
1 change: 1 addition & 0 deletions packages/x509/x509.0.2.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
archive: "https://github.com/mirleft/ocaml-x509.git"
5 changes: 0 additions & 5 deletions packages/xentropyd/xentropyd.0.9.1/descr

This file was deleted.

Loading