diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 000000000..df0749c0a --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,6 @@ +### v0.1.0 (2017-08-17) + +* use Mirage 3 interfaces +* add support for ICMP ECHO_REQUESTS +* add support for transparent HTTP/HTTPS proxying + diff --git a/Makefile b/Makefile index 3d138a8d7..e0fab1d87 100644 --- a/Makefile +++ b/Makefile @@ -69,3 +69,16 @@ clean: rm -f vpnkit.exe rm -f vpnkit.tgz rm -f src/bin/depends.ml + +REPO=../../mirage/opam-repository +PACKAGES=$(REPO)/packages +# until we have https://github.com/ocaml/opam-publish/issues/38 +pkg-%: + topkg opam pkg -n $* + mkdir -p $(PACKAGES)/$* + cp -r _build/$*.* $(PACKAGES)/$*/ + cd $(PACKAGES) && git add $* + +PKGS=$(basename $(wildcard *.opam)) +opam-pkg: + $(MAKE) $(PKGS:%=pkg-%) diff --git a/pkg/pkg.ml b/pkg/pkg.ml new file mode 100644 index 000000000..4d1266722 --- /dev/null +++ b/pkg/pkg.ml @@ -0,0 +1,3 @@ +#!/usr/bin/env ocaml +#use "topfind" +#require "topkg-jbuilder.auto" diff --git a/vpnkit.descr b/vpnkit.descr new file mode 100644 index 000000000..aaa647321 --- /dev/null +++ b/vpnkit.descr @@ -0,0 +1,6 @@ +VPN-friendly networking devices for HyperKit + +HyperKit is a hypervisor which runs on macOS using the "hypervisor.framework". +VPNKit implements a virtual ethernet device for HyperKit VMs in a VPN-friendly +way, by terminating and proxying all the TCP flows, caching and forwarding +DNS requests etc. HyperKit and VPNKit are used in Docker for Mac and Windows. diff --git a/vpnkit.opam b/vpnkit.opam index 5228e6336..471fec326 100644 --- a/vpnkit.opam +++ b/vpnkit.opam @@ -12,10 +12,10 @@ authors: [ "Thomas Gazagnaire " "Thomas Leonard " ] -homepage: "https://github.com/docker/vpnkit" -bug-reports: "https://github.com/docker/vpnkit/issues" -dev-repo: "https://github.com/docker/vpnkit.git" -doc: "https://docker.github.io/vpnkit/" +homepage: "https://github.com/moby/vpnkit" +bug-reports: "https://github.com/moby/vpnkit/issues" +dev-repo: "https://github.com/moby/vpnkit.git" +doc: "https://moby.github.io/vpnkit/" build: [ [make] @@ -27,7 +27,6 @@ install: [make "install" "BINDIR=%{bin}%"] remove: [make "uninstall" "BINDIR=%{bin}%"] depends: [ - "ocamlfind" {build} "jbuilder" {build} "alcotest" {test} "result"