-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26886 from raphael-proust/async_ssl_patch
Patch to fix async_ssl build
- Loading branch information
Showing
3 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
opam-version: "2.0" | ||
maintainer: "Jane Street developers" | ||
authors: ["Jane Street Group, LLC"] | ||
homepage: "https://github.com/janestreet/async_ssl" | ||
bug-reports: "https://github.com/janestreet/async_ssl/issues" | ||
dev-repo: "git+https://github.com/janestreet/async_ssl.git" | ||
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/async_ssl/index.html" | ||
license: "MIT" | ||
patches: [ "no-incompatible-pointer-types-0160.patch" ] | ||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.14.0"} | ||
"async" {>= "v0.16" & < "v0.17"} | ||
"base" {>= "v0.16" & < "v0.17"} | ||
"core" {>= "v0.16" & < "v0.17"} | ||
"ppx_jane" {>= "v0.16" & < "v0.17"} | ||
"ppx_optcomp" {>= "v0.16" & < "v0.17"} | ||
"stdio" {>= "v0.16" & < "v0.17"} | ||
"conf-libssl" | ||
"ctypes" {>= "0.18.0"} | ||
"ctypes-foreign" {>= "0.18.0"} | ||
"dune" {>= "2.0.0"} | ||
"dune-configurator" | ||
] | ||
synopsis: "An Async-pipe-based interface with OpenSSL" | ||
description: " | ||
This library allows you to create an SSL client and server, with | ||
encrypted communication between both. | ||
" | ||
url { | ||
src: "https://ocaml.janestreet.com/ocaml-core/v0.16/files/async_ssl-v0.16.0.tar.gz" | ||
checksum: "sha256=5c9f74ddc00228634c2f6c60c10f3a821dc664f873d80c427284588c3e01bedd" | ||
} | ||
extra-source "no-incompatible-pointer-types-0160.patch" { | ||
src: | ||
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/async_ssl/no-incompatible-pointer-types-0160.patch" | ||
checksum: [ | ||
"sha256=cbac0da5e278c247e30f19dce943e7346e03aa7f7095d8ee46cf489b49ed110e" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
opam-version: "2.0" | ||
maintainer: "Jane Street developers" | ||
authors: ["Jane Street Group, LLC"] | ||
homepage: "https://github.com/janestreet/async_ssl" | ||
bug-reports: "https://github.com/janestreet/async_ssl/issues" | ||
dev-repo: "git+https://github.com/janestreet/async_ssl.git" | ||
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/async_ssl/index.html" | ||
license: "MIT" | ||
patches: [ "no-incompatible-pointer-types-0161.patch" ] | ||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.14.0"} | ||
"async" {>= "v0.16" & < "v0.17"} | ||
"base" {>= "v0.16" & < "v0.17"} | ||
"core" {>= "v0.16" & < "v0.17"} | ||
"ppx_jane" {>= "v0.16" & < "v0.17"} | ||
"ppx_optcomp" {>= "v0.16" & < "v0.17"} | ||
"stdio" {>= "v0.16" & < "v0.17"} | ||
"conf-libssl" | ||
"ctypes" {>= "0.18.0"} | ||
"ctypes-foreign" {>= "0.18.0"} | ||
"dune" {>= "2.0.0"} | ||
"dune-configurator" | ||
] | ||
available: arch != "arm32" & arch != "x86_32" | ||
synopsis: "An Async-pipe-based interface with OpenSSL" | ||
description: " | ||
This library allows you to create an SSL client and server, with | ||
encrypted communication between both. | ||
" | ||
url { | ||
src: | ||
"https://github.com/janestreet/async_ssl/archive/refs/tags/v0.16.1.tar.gz" | ||
checksum: [ | ||
"md5=7e404ed41467b7ac0ef985f5ac6eccd8" | ||
"sha512=e4545e91d15d43f1a53ca8d05e8b7d39d11627671d0da2b2b02451b197387b396a310d51397decbd6448fc2bb13aa237b052685263dea4e2010f7884ad94371d" | ||
] | ||
} | ||
extra-source "no-incompatible-pointer-types-0161.patch" { | ||
src: | ||
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/async_ssl/no-incompatible-pointer-types-0161.patch" | ||
checksum: [ | ||
"sha256=35c417f5e67dee469008e540b98811f0d9450f766b19b4ffd90a828d87fd5e7c" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
opam-version: "2.0" | ||
maintainer: "Jane Street developers" | ||
authors: ["Jane Street Group, LLC"] | ||
homepage: "https://github.com/janestreet/async_ssl" | ||
bug-reports: "https://github.com/janestreet/async_ssl/issues" | ||
dev-repo: "git+https://github.com/janestreet/async_ssl.git" | ||
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/async_ssl/index.html" | ||
license: "MIT" | ||
patches: [ "no-incompatible-pointer-types-017.patch" ] | ||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
depends: [ | ||
"ocaml" {>= "5.1.0"} | ||
"async" {>= "v0.17" & < "v0.18"} | ||
"base" {>= "v0.17" & < "v0.18"} | ||
"core" {>= "v0.17" & < "v0.18"} | ||
"ppx_jane" {>= "v0.17" & < "v0.18"} | ||
"ppx_optcomp" {>= "v0.17" & < "v0.18"} | ||
"stdio" {>= "v0.17" & < "v0.18"} | ||
"conf-libssl" | ||
"ctypes" {>= "0.18.0"} | ||
"ctypes-foreign" {>= "0.18.0"} | ||
"dune" {>= "3.11.0"} | ||
"dune-configurator" | ||
] | ||
available: arch != "arm32" & arch != "x86_32" | ||
synopsis: "An Async-pipe-based interface with OpenSSL" | ||
description: " | ||
This library allows you to create an SSL client and server, with | ||
encrypted communication between both. | ||
" | ||
url { | ||
src: "https://github.com/janestreet/async_ssl/archive/refs/tags/v0.17.0.tar.gz" | ||
checksum: "sha256=d1f9ca883ce9154571b2812235171707b70cb8e65b24ed3aeaec1fbebc5be1ba" | ||
} | ||
extra-source "no-incompatible-pointer-types-017.patch" { | ||
src: | ||
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/async_ssl/no-incompatible-pointer-types-017.patch" | ||
checksum: [ | ||
"sha256=6e97c88bdeff6f5848c2c173b26845019575c3c09d68cc57a22ef649c4983236" | ||
] | ||
} |