diff options
| author | pravic <ehysta@gmail.com> | 2018-07-18 23:06:59 +0300 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-07-18 13:06:59 -0700 |
| commit | ef47bb472062302367c0a9ddf2b5f9b49ed6c3fe (patch) | |
| tree | 4b2c0afe09fb04f9a98ebb6efddce18de3e1edb0 | |
| parent | 1f4dde2b22a872b9ff5bbe909d8c7af63adc4efa (diff) | |
| download | vcpkg-ef47bb472062302367c0a9ddf2b5f9b49ed6c3fe.tar.gz vcpkg-ef47bb472062302367c0a9ddf2b5f9b49ed6c3fe.zip | |
[curl] update to 7.61.0 (#3901)
* [curl] update to 7.61.0
* [curl] Fix wrong checksum.
* [curl] Remove winssl-http2 patch which is not needed anymore.
per curl/curl#2591.
| -rw-r--r-- | ports/curl/0005_winssl_http2.patch | 79 | ||||
| -rw-r--r-- | ports/curl/CONTROL | 2 | ||||
| -rw-r--r-- | ports/curl/portfile.cmake | 5 |
3 files changed, 3 insertions, 83 deletions
diff --git a/ports/curl/0005_winssl_http2.patch b/ports/curl/0005_winssl_http2.patch deleted file mode 100644 index 0a7ca6f53..000000000 --- a/ports/curl/0005_winssl_http2.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index bf25b1f79..dac74d7f7 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1104,12 +1104,17 @@ include(CMake/OtherTests.cmake) - - add_definitions(-DHAVE_CONFIG_H) - --# For windows, all compilers used by cmake should support large files -+# For Windows, all compilers used by CMake should support large files - if(WIN32) - set(USE_WIN32_LARGE_FILES ON) -+ -+ # Use the manifest embedded in the Windows Resource -+ set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -DCURL_EMBED_MANIFEST") - endif(WIN32) - - if(MSVC) -+ # Disable default manifest added by CMake -+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO") - add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE) - if(CMAKE_C_FLAGS MATCHES "/W[0-4]") - string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") -diff --git a/src/curl.rc b/src/curl.rc -index 5f49d2236..f54c4b234 100644 ---- a/src/curl.rc -+++ b/src/curl.rc -@@ -61,3 +61,51 @@ BEGIN - VALUE "Translation", 0x409, 1200 - END - END -+ -+/* Manifest */ -+ -+#if defined(CURL_EMBED_MANIFEST) -+ -+/* String escaping rules: -+ https://msdn.microsoft.com/library/aa381050 -+ Application Manifest doc, including the list of 'supportedOS Id's: -+ https://msdn.microsoft.com/library/aa374191 */ -+ -+#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID -+#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 -+#endif -+#ifndef RT_MANIFEST -+#define RT_MANIFEST 24 -+#endif -+ -+#define _STR(macro) _STR_(macro) -+#define _STR_(macro) #macro -+ -+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST -+BEGIN -+ "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>" -+ "<assembly xmlns=""urn:schemas-microsoft-com:asm.v1"" manifestVersion=""1.0"">" -+ "<assemblyIdentity name=""The curl executable"" version=""" -+ _STR(LIBCURL_VERSION_MAJOR) "." -+ _STR(LIBCURL_VERSION_MINOR) "." -+ _STR(LIBCURL_VERSION_PATCH) ".0"" type=""win32""/>" -+ "<compatibility xmlns=""urn:schemas-microsoft-com:compatibility.v1"">" -+ "<application>" -+ "<supportedOS Id=""{e2011457-1546-43c5-a5fe-008deee3d3f0}""/>" /* Vista / Server 2008 */ -+ "<supportedOS Id=""{35138b9a-5d96-4fbd-8e2d-a2440225f93a}""/>" /* 7 / Server 2008 R2 */ -+ "<supportedOS Id=""{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}""/>" /* 8 / Server 2012 */ -+ "<supportedOS Id=""{1f676c76-80e1-4239-95bb-83d0f6d0da78}""/>" /* 8.1 / Server 2012 R2 */ -+ "<supportedOS Id=""{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}""/>" /* 10 / Server 2016 */ -+ "</application>" -+ "</compatibility>" -+ "<trustInfo xmlns=""urn:schemas-microsoft-com:asm.v3"">" -+ "<security>" -+ "<requestedPrivileges>" -+ "<requestedExecutionLevel level=""asInvoker"" uiAccess=""false""/>" -+ "</requestedPrivileges>" -+ "</security>" -+ "</trustInfo>" -+ "</assembly>" -+END -+ -+#endif diff --git a/ports/curl/CONTROL b/ports/curl/CONTROL index f54c6c643..59eaaf095 100644 --- a/ports/curl/CONTROL +++ b/ports/curl/CONTROL @@ -1,5 +1,5 @@ Source: curl -Version: 7.60.0-2 +Version: 7.61.0 Build-Depends: zlib Description: A library for transferring data with URLs Default-Features: ssl diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 8f6d70917..075f9856e 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -2,8 +2,8 @@ include(vcpkg_common_functions) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO curl/curl - REF curl-7_60_0 - SHA512 876ca211d40887f36f77661235d3875bdd3fe210f131c8bd1025bd8c9ca3144a9ac23247067675a3e30385427748c51d0d54250cc2bb4a2ae0c3a9b9428b0e66 + REF curl-7_61_0 + SHA512 b6d2f57059e72139540cb93b945703857cb447920ed9b283993611453fed623432290adc5a3558181e3decc15c7cf54fff475010d922957807a37d1a1449be6c HEAD_REF master ) @@ -14,7 +14,6 @@ vcpkg_apply_patches( ${CMAKE_CURRENT_LIST_DIR}/0002_fix_uwp.patch ${CMAKE_CURRENT_LIST_DIR}/0003_fix_libraries.patch ${CMAKE_CURRENT_LIST_DIR}/0004_nghttp2_staticlib.patch - ${CMAKE_CURRENT_LIST_DIR}/0005_winssl_http2.patch ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" CURL_STATICLIB) |
