diff --git a/ports/libjuice/CONTROL b/ports/libjuice/CONTROL deleted file mode 100644 index 4660f8033409fc..00000000000000 --- a/ports/libjuice/CONTROL +++ /dev/null @@ -1,8 +0,0 @@ -Source: libjuice -Version: 0.6.0 -Homepage: https://github.com/paullouisageneau/libjuice -Description: The library is a simplified implementation of the Interactive Connectivity Establishment (ICE) protocol in C for POSIX platforms (including Linux and Apple macOS) and Microsoft Windows. - -Feature: nettle -Build-Depends: nettle -Description: Use nettle for HMAC computation instead of the Builtin diff --git a/ports/libjuice/fix-for-vcpkg.patch b/ports/libjuice/fix-for-vcpkg.patch index 2d390aa9f0b3ef..72ef83d0bc454f 100644 --- a/ports/libjuice/fix-for-vcpkg.patch +++ b/ports/libjuice/fix-for-vcpkg.patch @@ -1,8 +1,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8136e2e..fa7ce92 100644 +index 6142f91..cfdfa40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -46,6 +46,9 @@ set(LIBJUICE_SOURCES +@@ -53,6 +53,9 @@ set(LIBJUICE_SOURCES set(LIBJUICE_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/juice/juice.h ) @@ -12,7 +12,7 @@ index 8136e2e..fa7ce92 100644 set(TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/test/main.c -@@ -59,10 +62,10 @@ set(TESTS_SOURCES +@@ -70,10 +73,10 @@ set(TESTS_SOURCES set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) @@ -25,7 +25,7 @@ index 8136e2e..fa7ce92 100644 target_include_directories(juice PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include/juice) target_include_directories(juice PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) target_link_libraries(juice PUBLIC Threads::Threads) -@@ -86,10 +89,14 @@ endif() +@@ -97,10 +100,14 @@ endif() if (USE_NETTLE) find_package(Nettle REQUIRED) @@ -42,7 +42,7 @@ index 8136e2e..fa7ce92 100644 else() target_compile_definitions(juice PRIVATE USE_NETTLE=0) target_compile_definitions(juice-static PRIVATE USE_NETTLE=0) -@@ -109,8 +116,13 @@ endif() +@@ -125,8 +132,13 @@ endif() add_library(LibJuice::LibJuice ALIAS juice) add_library(LibJuice::LibJuiceStatic ALIAS juice-static) @@ -57,7 +57,7 @@ index 8136e2e..fa7ce92 100644 if(NOT MSVC) target_compile_options(juice PRIVATE -Wall -Wextra) -@@ -145,3 +157,8 @@ if(NOT NO_TESTS) +@@ -161,3 +173,8 @@ if(NOT NO_TESTS) target_link_libraries(juice-tests juice) endif() diff --git a/ports/libjuice/portfile.cmake b/ports/libjuice/portfile.cmake index c03818b2ba7a7b..16c83d1895bf71 100644 --- a/ports/libjuice/portfile.cmake +++ b/ports/libjuice/portfile.cmake @@ -1,8 +1,8 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO paullouisageneau/libjuice - REF v0.6.0 - SHA512 43ab1f4d7d51c05b5cf2c948c9910b26b5cb7f0f15f10cdfcfdbfc833cfc0caf23da18f12adc1aa7183f77cfb510f5637031d89b3b08014c1fb7266b7f5f31f2 + REF v0.7.1 + SHA512 4a8a8705d8ee5f6d242e4463e13fbd45ec86145bf17f9c4f755e60922166b3cb12773296fac34f02cbe4ac79f91d73f2bc6406445cfe9520bf09e10d1606bc7e HEAD_REF master PATCHES fix-for-vcpkg.patch diff --git a/ports/libjuice/vcpkg.json b/ports/libjuice/vcpkg.json new file mode 100644 index 00000000000000..7aa06acb5a39db --- /dev/null +++ b/ports/libjuice/vcpkg.json @@ -0,0 +1,14 @@ +{ + "name": "libjuice", + "version": "0.7.1", + "description": "The library is a simplified implementation of the Interactive Connectivity Establishment (ICE) protocol in C for POSIX platforms (including Linux and Apple macOS) and Microsoft Windows.", + "homepage": "https://github.com/paullouisageneau/libjuice", + "features": { + "nettle": { + "description": "Use nettle for HMAC computation instead of the Builtin", + "dependencies": [ + "nettle" + ] + } + } +} diff --git a/versions/baseline.json b/versions/baseline.json index 7ba361f3b15b9f..ffe00df53b42ab 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3169,7 +3169,7 @@ "port-version": 0 }, "libjuice": { - "baseline": "0.6.0", + "baseline": "0.7.1", "port-version": 0 }, "libkeyfinder": { diff --git a/versions/l-/libjuice.json b/versions/l-/libjuice.json index abd1cc8361647d..04ae9e972c206a 100644 --- a/versions/l-/libjuice.json +++ b/versions/l-/libjuice.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "42cecee2b8da92c2c8c120c09bd663b20f2c947a", + "version": "0.7.1", + "port-version": 0 + }, { "git-tree": "e7ef5f1f7d883e5f8a7dcb52ea5821730281e375", "version-string": "0.6.0",