Permalink
Browse files

Add `opam` file to permit easier local pinning, and fix Travis to use…

… this.
  • Loading branch information...
1 parent 8f352f7 commit 25ff2843e7fe58a95bb017983e74468c5a91a275 @avsm avsm committed Jul 20, 2014
Showing with 27 additions and 6 deletions.
  1. +3 −5 .travis-ci.sh
  2. +4 −1 CHANGES
  3. +20 −0 opam
View
@@ -1,6 +1,3 @@
-# OPAM packages needed to build tests.
-OPAM_PACKAGES="cstruct mirage-types mirage-unix mirage-console-unix mirage-clock-unix mirage-net-unix ipaddr"
-
case "$OCAML_VERSION,$OPAM_VERSION" in
3.12.1,1.0.0) ppa=avsm/ocaml312+opam10 ;;
3.12.1,1.1.0) ppa=avsm/ocaml312+opam11 ;;
@@ -23,7 +20,8 @@ opam --version
opam --git-version
opam init
-opam install ${OPAM_PACKAGES}
eval `opam config env`
-make
+opam pin tcpip .
+opam install tcpip
+opam install mirage-www
View
@@ -1,5 +1,8 @@
-1.1.6 (trunk):
+1.1.6 (20-July-2014):
* Quieten down the stack logging rate by not announcing IPv6 packet discards.
+* Raise exception `Bad_option` for unparseable or invalid TCPv4 options (#57).
+* Fix linking error with module `Tcp_checksum` by lifting it into top library (#60).
+* Add `opam` file to permit easier local pinning, and fix Travis to use this.
1.1.5 (18-June-2014):
* Ensure that DHCP completes before the application is started, so that
View
20 opam
@@ -0,0 +1,20 @@
+opam-version: "1"
+maintainer: "anil@recoil.org"
+build: [
+ [make]
+ [make "install"]
+]
+remove: [
+ ["ocamlfind" "remove" "tcpip"]
+]
+depends: [
+ "ocamlfind"
+ "cstruct" {>= "1.0.1"}
+ "mirage-types" {>= "1.1.2"}
+ "mirage-unix" {>= "1.1.0"}
+ "mirage-console-unix"
+ "mirage-clock-unix" {>= "1.0.0"}
+ "mirage-net-unix" {>= "1.1.0"}
+ "ipaddr" {>= "2.2.0"}
+]
+ocaml-version: [>= "4.00.0"]

0 comments on commit 25ff284

Please sign in to comment.