Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[oatpp-openssl] new port #19265

Merged
merged 8 commits into from
Sep 1, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions ports/oatpp-openssl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
set(OATPP_VERSION "1.2.5")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

# get the source
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-openssl
REF ${OATPP_VERSION}
SHA512 c5a40691d846703378c2965f2ad9b99edb2025d47854719bab4e80a4771258c2b72cfba0135b63dd9e2387da4549b5bc6cebfc1913a8006d14d59e250be19060
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
OPTIONS
"-DOATPP_BUILD_TESTS:BOOL=OFF"
"-DCMAKE_CXX_FLAGS=-D_CRT_SECURE_NO_WARNINGS"
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/oatpp-openssl-${OATPP_VERSION})
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
18 changes: 18 additions & 0 deletions ports/oatpp-openssl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "oatpp-openssl",
"version": "1.2.5",
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
"description": "Oat++ openssl module providing secure server and client connection providers.",
"homepage": "https://github.com/oatpp/oatpp-openssl",
"dependencies": [
"oatpp",
"openssl",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4468,6 +4468,10 @@
"baseline": "1.2.5",
"port-version": 0
},
"oatpp-openssl": {
"baseline": "1.2.5",
"port-version": 0
},
"oatpp-postgresql": {
"baseline": "1.2.5",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/o-/oatpp-openssl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "a80334d165d26322da2e6306bfcd9cb21c8f9533",
"version": "1.2.5",
"port-version": 0
}
]
}