[libsrtp] Added openssl feature flag for enabling OpenSSL support (#36135)

* [libsrtp] Added openssl feature flag for enabling OpenSSL support

* [libsrtp] Fixed JSON mixup

* [libsrtp]: Format vcpkg.json

* [libsrtp]: Update version database

* [libsrtp] Update ports/libsrtp/portfile.cmake

* Use vcpkg_check_features appropriately

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* [libsrtp] Update version database

* [libsrtp]: Added port-version, clean up whitespace

* [libsrtp]: Updated version database

* [libsrtp] Update versions/l-/libsrtp.json

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

---------

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
This commit is contained in:
Albert Santoni 2024-02-02 14:45:46 -05:00 committed by GitHub
parent 69a6cceca8
commit 75e0c3dc8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 22 additions and 2 deletions

View File

@ -7,11 +7,17 @@ vcpkg_from_github(
fix-runtime-destination.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
openssl ENABLE_OPENSSL
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-DCMAKE_PROJECT_INCLUDE=${CMAKE_CURRENT_LIST_DIR}/cmake-project-include.cmake"
-DTEST_APPS=OFF
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()

View File

@ -1,6 +1,7 @@
{
"name": "libsrtp",
"version": "2.5.0",
"port-version": 1,
"description": "This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel.",
"homepage": "https://github.com/cisco/libsrtp/",
"license": "BSD-3-Clause",
@ -13,5 +14,13 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"openssl": {
"description": "Enable OpenSSL support",
"dependencies": [
"openssl"
]
}
}
}

View File

@ -4898,7 +4898,7 @@
},
"libsrtp": {
"baseline": "2.5.0",
"port-version": 0
"port-version": 1
},
"libssh": {
"baseline": "0.10.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "15577c99d2d078770d2e07d2bc8cce770797adb8",
"version": "2.5.0",
"port-version": 1
},
{
"git-tree": "27c325c9851b5c07e172e74e312e8070af7b9d0b",
"version": "2.5.0",