[libsrtp] Update to 2.4.2 (#20359)

* Update libsrtp to 2.4.2

* Update CI baseline

* More tweaks

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2021-09-28 06:00:19 +02:00 committed by GitHub
parent 980a91e3b7
commit 0fc5f349d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 17 deletions

View File

@ -1,31 +1,31 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cisco/libsrtp
REF 56a065555aea2abddaf9fb60353fe59f277837a3
SHA512 59afa25df79f875d28eefe95ef89b5956b1d2f319bba38ec34b832c2faa16b5425aae2f6ad19cf478afe02b28f4032b5dcf20a301d647d897d4577f66ca77376
REF v2.4.2
SHA512 6E4805E6D34B2050A6F68F629B0B42356B1D27F2CBAA6CC6166E56957609C3D9AA6B723DCC674E5C74180D122D27BADD2F9496639CCB1E0C210B9E1F7949D0E2
)
if (VCPKG_TARGET_IS_WINDOWS)
set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} -D_CRT_SECURE_NO_WARNINGS /wd4703")
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} -D_CRT_SECURE_NO_WARNINGS /wd4703")
set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} /wd4703")
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} /wd4703")
endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
)
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/srtp2.dll)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/srtp2.dll ${CURRENT_PACKAGES_DIR}/bin/srtp2.dll)
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/srtp2.dll")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/bin")
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/srtp2.dll" "${CURRENT_PACKAGES_DIR}/bin/srtp2.dll")
endif()
if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/lib/srtp2.dll)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/bin)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/srtp2.dll ${CURRENT_PACKAGES_DIR}/debug/bin/srtp2.dll)
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/srtp2.dll")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/bin")
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/srtp2.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/srtp2.dll")
endif()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libsrtp RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libsrtp" RENAME copyright)

View File

@ -1,6 +1,5 @@
{
"name": "libsrtp",
"version-string": "2.2.0",
"port-version": 1,
"version": "2.4.2",
"description": "This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel."
}

View File

@ -3797,8 +3797,8 @@
"port-version": 1
},
"libsrtp": {
"baseline": "2.2.0",
"port-version": 1
"baseline": "2.4.2",
"port-version": 0
},
"libssh": {
"baseline": "0.9.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "20d89602c93b0aa1df176a8610b514b014375c8c",
"version": "2.4.2",
"port-version": 0
},
{
"git-tree": "fdf039be54c0a11434b8c923e808d6315b398082",
"version-string": "2.2.0",