Skip to content

Commit c7e733c

Browse files
committed
upgrade to opam2, require ocaml 4.04.2
1 parent 34648af commit c7e733c

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ env:
88
- PACKAGE="tlstunnel"
99
- POST_INSTALL_HOOK="./.travis-test.sh"
1010
matrix:
11-
- OCAML_VERSION=4.02
12-
- OCAML_VERSION=4.03
1311
- OCAML_VERSION=4.04
1412
- OCAML_VERSION=4.05
1513
- OCAML_VERSION=4.06
14+
- OCAML_VERSION=4.07
1615
notifications:
1716
email: false

opam

+19-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
opam-version: "1.2"
2-
name: "tlstunnel"
3-
homepage: "https://github.com/hannesm/tlstunnel"
4-
dev-repo: "https://github.com/hannesm/tlstunnel.git"
5-
bug-reports: "https://github.com/hannesm/tlstunnel/issues"
6-
author: ["Hannes Mehnert <[email protected]>"]
7-
maintainer: ["Hannes Mehnert <[email protected]>"]
8-
license: "BSD2"
9-
10-
build: [
11-
["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
12-
]
1+
opam-version: "2.0"
2+
name: "tlstunnel"
3+
maintainer: "Hannes Mehnert <[email protected]>"
4+
authors: "Hannes Mehnert <[email protected]>"
5+
license: "BSD2"
6+
homepage: "https://github.com/hannesm/tlstunnel"
7+
bug-reports: "https://github.com/hannesm/tlstunnel/issues"
138
depends: [
9+
"ocaml" {>= "4.04.2"}
1410
"ocamlfind" {build}
1511
"ocamlbuild" {build}
1612
"topkg" {build}
@@ -22,3 +18,14 @@ depends: [
2218
"cmdliner"
2319
"fmt"
2420
]
21+
build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
22+
dev-repo: "git+https://github.com/hannesm/tlstunnel.git"
23+
synopsis: "A TLS reverse proxy"
24+
description: """
25+
Who needs a stunnel if you have a tls tunnel?
26+
27+
`tlstunnel` is picky; it won't accept connections:
28+
- which do not contain the [secure renegotiation](https://tools.ietf.org/html/rfc5746) extension
29+
- which speak SSL version 3
30+
- if the given certificate chain is not valid (or contains an X.509 version 1 certificate, or less than 1024 bits RSA public key
31+
"""

0 commit comments

Comments
 (0)