From 70a3c7d3c51f60dbb40fad49ba9ea3fc0fb25b13 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Fri, 15 Oct 2021 02:47:11 +0200 Subject: [PATCH] [bext-wintls] add new port (#20719) * [bext-wintls] add new port * delete extra blank lines * update version Co-authored-by: Jonliu1993 <13720414433@163.com> --- ports/bext-wintls/portfile.cmake | 11 +++++++++++ ports/bext-wintls/vcpkg.json | 18 ++++++++++++++++++ versions/b-/bext-wintls.json | 9 +++++++++ versions/baseline.json | 4 ++++ 4 files changed, 42 insertions(+) create mode 100644 ports/bext-wintls/portfile.cmake create mode 100644 ports/bext-wintls/vcpkg.json create mode 100644 versions/b-/bext-wintls.json diff --git a/ports/bext-wintls/portfile.cmake b/ports/bext-wintls/portfile.cmake new file mode 100644 index 0000000000..14ac5c893e --- /dev/null +++ b/ports/bext-wintls/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO laudrup/boost-wintls + REF v0.9.5 + SHA512 5b6a88d64225c0f065d18f65319d44b90eb594431c53d9fbff72edfe2fc909613a966062b5636db7a3d0e36a389a0948dada0fbfa61b21b7b52b1af952d93071 + HEAD_REF master +) + +file(COPY "${SOURCE_PATH}/include/boost/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/boost/") + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/" RENAME copyright) diff --git a/ports/bext-wintls/vcpkg.json b/ports/bext-wintls/vcpkg.json new file mode 100644 index 0000000000..cb39e3137c --- /dev/null +++ b/ports/bext-wintls/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "bext-wintls", + "version": "0.9.5", + "description": "Native Windows TLS stream wrapper for use with boost::asio", + "homepage": "https://github.com/laudrup/boost-wintls", + "supports": "windows", + "dependencies": [ + "boost-asio", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/b-/bext-wintls.json b/versions/b-/bext-wintls.json new file mode 100644 index 0000000000..b57b166726 --- /dev/null +++ b/versions/b-/bext-wintls.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "1bed92afff8085f2d8f888b35ce0049e5986aa8a", + "version": "0.9.5", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index b74e960259..c8ececc924 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -432,6 +432,10 @@ "baseline": "1.1.8", "port-version": 0 }, + "bext-wintls": { + "baseline": "0.9.5", + "port-version": 0 + }, "bfgroup-lyra": { "baseline": "1.5", "port-version": 1