[openvpn3] update to 3.7 (#24360)

* [openvpn3] update to 3.7

* version
This commit is contained in:
Thomas1664 2022-04-26 01:15:56 +02:00 committed by GitHub
parent 3db88df035
commit e66dded96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 16 deletions

View File

@ -3,24 +3,23 @@ set(VCPKG_LIBRARY_LINKAGE static)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO OpenVPN/openvpn3
REF release/3.4.1
SHA512 2d0a7d2d48047c969ba1cb49b34d51c85dd82ae97296d7c096ead13a8e7cc69fa3908262228e29d93f60b7273814d8ef5a402a5d401cd7f91370868d5d308678
REF release/3.7
SHA512 de95bd2b1a01179aa81e1612be175540c2486b856f66880372d09966655bbbadd71d874ed49b032566dde2896207bc76298c5cfcf73e86272c04d5aaa977d660
HEAD_REF master
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
vcpkg_cmake_install()
file(COPY ${SOURCE_PATH}/openvpn DESTINATION ${CURRENT_PACKAGES_DIR}/include/)
file(COPY ${SOURCE_PATH}/client/ovpncli.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/openvpn/)
file(COPY "${SOURCE_PATH}/openvpn" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(COPY "${SOURCE_PATH}/client/ovpncli.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/openvpn")
file(GLOB_RECURSE HEADERS ${CURRENT_PACKAGES_DIR}/include/openvpn/*)
file(GLOB_RECURSE HEADERS "${CURRENT_PACKAGES_DIR}/include/openvpn/*")
foreach(HEADER IN LISTS HEADERS)
file(READ "${HEADER}" _contents)
string(REPLACE "defined(USE_ASIO)" "1" _contents "${_contents}")
@ -31,5 +30,5 @@ foreach(HEADER IN LISTS HEADERS)
endforeach()
file(INSTALL
${SOURCE_PATH}/COPYRIGHT.AGPLV3
DESTINATION ${CURRENT_PACKAGES_DIR}/share/openvpn3 RENAME copyright)
"${SOURCE_PATH}/COPYRIGHT.AGPLV3"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,14 +1,19 @@
{
"name": "openvpn3",
"version-string": "3.4.1",
"port-version": 2,
"version": "3.7.0",
"description": "a C++ class library that implements the functionality of an OpenVPN client, and is protocol-compatible with the OpenVPN 2.x branch.",
"homepage": "https://openvpn.net",
"license": "AGPL-3.0",
"dependencies": [
"asio",
"mbedtls",
{
"name": "tap-windows6",
"platform": "windows"
},
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -5189,8 +5189,8 @@
"port-version": 0
},
"openvpn3": {
"baseline": "3.4.1",
"port-version": 2
"baseline": "3.7.0",
"port-version": 0
},
"openvr": {
"baseline": "1.16.8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "901a710e937496a572cdb5b64d2401c18919ffde",
"version": "3.7.0",
"port-version": 0
},
{
"git-tree": "bf20f11ad1fb64e74ebcfda5a3b3c19b8e4770ae",
"version-string": "3.4.1",