aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Heyman <mheyman@gmail.com>2021-09-01 14:48:01 -0400
committerGitHub <noreply@github.com>2021-09-01 11:48:01 -0700
commit2b4ff3419f7421b2972e4d6879251a23049cd8c1 (patch)
tree65994977a54ee648d61d1ad64e22618a36de8ca3
parentaa65c404c67410d1b2991d2b13386969f228edb0 (diff)
downloadvcpkg-2b4ff3419f7421b2972e4d6879251a23049cd8c1.tar.gz
vcpkg-2b4ff3419f7421b2972e4d6879251a23049cd8c1.zip
[oatpp-openssl] new port (#19265)
* [oatpp-openssl] new port * [oatpp-openssl] uses version-semver * [oatpp-openssl] uses version-semver * [oatpp-version] has paramters with arguments surrounded by quotes * [oatpp-openssl] vcpkg x-add-version oatpp-openssl --overwrite-version * [oatpp-openssl] no unused vcpkg_cmake_configure options * [oatpp-openssl] no unused vcpkg_cmake_configure options Co-authored-by: mheyman <mheyman@localdomain>
-rw-r--r--ports/oatpp-openssl/portfile.cmake25
-rw-r--r--ports/oatpp-openssl/vcpkg.json18
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/o-/oatpp-openssl.json9
4 files changed, 56 insertions, 0 deletions
diff --git a/ports/oatpp-openssl/portfile.cmake b/ports/oatpp-openssl/portfile.cmake
new file mode 100644
index 000000000..9445ee700
--- /dev/null
+++ b/ports/oatpp-openssl/portfile.cmake
@@ -0,0 +1,25 @@
+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}"
+ OPTIONS
+ "-DOATPP_BUILD_TESTS:BOOL=OFF"
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/oatpp-openssl-${OATPP_VERSION}")
+vcpkg_copy_pdbs()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/oatpp-openssl/vcpkg.json b/ports/oatpp-openssl/vcpkg.json
new file mode 100644
index 000000000..b844deaa3
--- /dev/null
+++ b/ports/oatpp-openssl/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "oatpp-openssl",
+ "version-semver": "1.2.5",
+ "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
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index e1fda552b..83566b49a 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -4520,6 +4520,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
diff --git a/versions/o-/oatpp-openssl.json b/versions/o-/oatpp-openssl.json
new file mode 100644
index 000000000..80b4c28e4
--- /dev/null
+++ b/versions/o-/oatpp-openssl.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "d127d675e359a2f4a430f49f9dab815dd7991bfb",
+ "version-semver": "1.2.5",
+ "port-version": 0
+ }
+ ]
+}