@crossbind/port-curl-ios 2.0.0-beta.56 → 2.0.0-beta.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/curl.xcframework/ios-arm64/Headers/curl/curl.h +42 -16
- package/curl.xcframework/ios-arm64/Headers/curl/curlver.h +5 -6
- package/curl.xcframework/ios-arm64/Headers/curl/multi.h +14 -14
- package/curl.xcframework/ios-arm64/Headers/curl/typecheck-gcc.h +7 -3
- package/curl.xcframework/ios-arm64/Headers/curl/urlapi.h +1 -0
- package/curl.xcframework/ios-arm64/libcurl.a +0 -0
- package/curl.xcframework/ios-arm64-simulator/Headers/curl/curl.h +42 -16
- package/curl.xcframework/ios-arm64-simulator/Headers/curl/curlver.h +5 -6
- package/curl.xcframework/ios-arm64-simulator/Headers/curl/multi.h +14 -14
- package/curl.xcframework/ios-arm64-simulator/Headers/curl/typecheck-gcc.h +7 -3
- package/curl.xcframework/ios-arm64-simulator/Headers/curl/urlapi.h +1 -0
- package/curl.xcframework/ios-arm64-simulator/libcurl.a +0 -0
- package/dist/prebuilt/ios-iphoneos-mt-release/crossbind-source.fingerprint +1 -1
- package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/curl.h +42 -16
- package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/curlver.h +5 -6
- package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/multi.h +14 -14
- package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/typecheck-gcc.h +7 -3
- package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/urlapi.h +1 -0
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/CURLConfig.cmake +4 -4
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/CURLConfigVersion.cmake +3 -3
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindGSS.cmake +130 -112
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindLibgsasl.cmake +1 -0
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindNettle.cmake +13 -9
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindZstd.cmake +2 -2
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/libcurl.a +0 -0
- package/dist/prebuilt/ios-iphoneos-mt-release/lib/pkgconfig/libcurl.pc +7 -4
- package/dist/prebuilt/ios-iphoneos-mt-release/share/man/man1/curl-config.1 +1 -1
- package/dist/prebuilt/ios-iphonesimulator-mt-release/crossbind-source.fingerprint +1 -1
- package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/curl.h +42 -16
- package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/curlver.h +5 -6
- package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/multi.h +14 -14
- package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/typecheck-gcc.h +7 -3
- package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/urlapi.h +1 -0
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/CURLConfig.cmake +4 -4
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/CURLConfigVersion.cmake +3 -3
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindGSS.cmake +130 -112
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindLibgsasl.cmake +1 -0
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindNettle.cmake +13 -9
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindZstd.cmake +2 -2
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/libcurl.a +0 -0
- package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/pkgconfig/libcurl.pc +7 -4
- package/dist/prebuilt/ios-iphonesimulator-mt-release/share/man/man1/curl-config.1 +1 -1
- package/package.json +5 -5
|
@@ -25,19 +25,21 @@
|
|
|
25
25
|
#
|
|
26
26
|
# Input variables:
|
|
27
27
|
#
|
|
28
|
-
# - `NETTLE_INCLUDE_DIR`:
|
|
29
|
-
# - `
|
|
28
|
+
# - `NETTLE_INCLUDE_DIR`: Absolute path to nettle include directory.
|
|
29
|
+
# - `NETTLE_HOGWEED_LIBRARY`: Absolute path to `hogweed` library.
|
|
30
|
+
# - `NETTLE_LIBRARY`: Absolute path to `nettle` library.
|
|
30
31
|
#
|
|
31
32
|
# Defines:
|
|
32
33
|
#
|
|
33
|
-
# - `NETTLE_FOUND`:
|
|
34
|
-
# - `NETTLE_VERSION`:
|
|
35
|
-
# - `CURL::nettle`:
|
|
34
|
+
# - `NETTLE_FOUND`: System has nettle.
|
|
35
|
+
# - `NETTLE_VERSION`: Version of nettle.
|
|
36
|
+
# - `CURL::nettle`: nettle library target.
|
|
36
37
|
|
|
37
|
-
set(_nettle_pc_requires "nettle")
|
|
38
|
+
set(_nettle_pc_requires "hogweed" "nettle")
|
|
38
39
|
|
|
39
40
|
if(CURL_USE_PKGCONFIG AND
|
|
40
41
|
NOT DEFINED NETTLE_INCLUDE_DIR AND
|
|
42
|
+
NOT DEFINED NETTLE_HOGWEED_LIBRARY AND
|
|
41
43
|
NOT DEFINED NETTLE_LIBRARY)
|
|
42
44
|
find_package(PkgConfig QUIET)
|
|
43
45
|
pkg_check_modules(_nettle ${_nettle_pc_requires})
|
|
@@ -46,10 +48,11 @@ endif()
|
|
|
46
48
|
if(_nettle_FOUND)
|
|
47
49
|
set(Nettle_FOUND TRUE)
|
|
48
50
|
set(NETTLE_FOUND TRUE)
|
|
49
|
-
set(NETTLE_VERSION ${
|
|
51
|
+
set(NETTLE_VERSION ${_nettle_nettle_VERSION})
|
|
50
52
|
message(STATUS "Found Nettle (via pkg-config): ${_nettle_INCLUDE_DIRS} (found version \"${NETTLE_VERSION}\")")
|
|
51
53
|
else()
|
|
52
54
|
find_path(NETTLE_INCLUDE_DIR NAMES "nettle/sha2.h")
|
|
55
|
+
find_library(NETTLE_HOGWEED_LIBRARY NAMES "hogweed")
|
|
53
56
|
find_library(NETTLE_LIBRARY NAMES "nettle")
|
|
54
57
|
|
|
55
58
|
unset(NETTLE_VERSION CACHE)
|
|
@@ -71,6 +74,7 @@ else()
|
|
|
71
74
|
find_package_handle_standard_args(Nettle
|
|
72
75
|
REQUIRED_VARS
|
|
73
76
|
NETTLE_INCLUDE_DIR
|
|
77
|
+
NETTLE_HOGWEED_LIBRARY
|
|
74
78
|
NETTLE_LIBRARY
|
|
75
79
|
VERSION_VAR
|
|
76
80
|
NETTLE_VERSION
|
|
@@ -78,10 +82,10 @@ else()
|
|
|
78
82
|
|
|
79
83
|
if(NETTLE_FOUND)
|
|
80
84
|
set(_nettle_INCLUDE_DIRS ${NETTLE_INCLUDE_DIR})
|
|
81
|
-
set(_nettle_LIBRARIES ${NETTLE_LIBRARY})
|
|
85
|
+
set(_nettle_LIBRARIES ${NETTLE_HOGWEED_LIBRARY} ${NETTLE_LIBRARY})
|
|
82
86
|
endif()
|
|
83
87
|
|
|
84
|
-
mark_as_advanced(NETTLE_INCLUDE_DIR NETTLE_LIBRARY)
|
|
88
|
+
mark_as_advanced(NETTLE_INCLUDE_DIR NETTLE_HOGWEED_LIBRARY NETTLE_LIBRARY)
|
|
85
89
|
endif()
|
|
86
90
|
|
|
87
91
|
if(NETTLE_FOUND)
|
|
@@ -54,7 +54,7 @@ if(NOT DEFINED ZSTD_INCLUDE_DIR AND
|
|
|
54
54
|
endif()
|
|
55
55
|
if(NOT _zstd_FOUND AND CURL_USE_CMAKECONFIG)
|
|
56
56
|
find_package(zstd CONFIG QUIET)
|
|
57
|
-
#
|
|
57
|
+
# Only use if 1.4.5 or greater
|
|
58
58
|
if(zstd_CONFIG AND
|
|
59
59
|
NOT TARGET zstd::libzstd_static AND
|
|
60
60
|
NOT TARGET zstd::libzstd_shared)
|
|
@@ -81,7 +81,7 @@ elseif(zstd_CONFIG)
|
|
|
81
81
|
if(ZSTD_USE_STATIC_LIBS)
|
|
82
82
|
set(_zstd_LIBRARIES zstd::libzstd_static)
|
|
83
83
|
elseif(TARGET zstd::libzstd)
|
|
84
|
-
set(_zstd_LIBRARIES zstd::libzstd) #
|
|
84
|
+
set(_zstd_LIBRARIES zstd::libzstd) # 1.5.6+
|
|
85
85
|
else()
|
|
86
86
|
set(_zstd_LIBRARIES zstd::libzstd_shared)
|
|
87
87
|
endif()
|
|
Binary file
|
|
@@ -27,15 +27,18 @@ exec_prefix=${prefix}
|
|
|
27
27
|
libdir=${exec_prefix}/lib
|
|
28
28
|
includedir=${prefix}/include
|
|
29
29
|
supported_protocols="DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS IPFS IPNS MQTT MQTTS POP3 POP3S RTSP SMTP SMTPS TELNET TFTP WS WSS"
|
|
30
|
-
supported_features="alt-svc AsynchDNS HSTS HTTPS-proxy Largefile libz SSL threadsafe
|
|
30
|
+
supported_features="alt-svc AsynchDNS HSTS HTTPS-proxy Largefile libz SSL threadsafe UnixSockets"
|
|
31
31
|
|
|
32
32
|
Name: libcurl
|
|
33
33
|
URL: https://curl.se/
|
|
34
34
|
Description: Library to transfer files with HTTP, FTP, etc.
|
|
35
|
-
|
|
35
|
+
License: curl
|
|
36
|
+
Copyright: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
37
|
+
Version: 8.22.0
|
|
38
|
+
Source: https://curl.se/download/curl-8.22.0.tar.gz
|
|
36
39
|
Requires: openssl,zlib
|
|
37
|
-
Requires.private: openssl,zlib
|
|
38
40
|
Libs: -L${libdir} -lcurl -lssl -lcrypto -lz
|
|
39
|
-
Libs.private:
|
|
41
|
+
Libs.private: -lssl -lcrypto -lz
|
|
40
42
|
Cflags: -I${includedir} -DCURL_STATICLIB
|
|
41
43
|
Cflags.private: -DCURL_STATICLIB
|
|
44
|
+
Link.ABI: c
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossbind/port-curl-ios",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"nativeVersion": "8.
|
|
3
|
+
"version": "2.0.0-beta.60",
|
|
4
|
+
"nativeVersion": "8.22.0",
|
|
5
5
|
"description": "iOS build of the precompiled libcurl (CURL) library, built with crossbind. Use it together with the main package @crossbind/port-curl.",
|
|
6
6
|
"homepage": "https://github.com/crossbind/crossbind/tree/main/ports/curl#readme",
|
|
7
7
|
"repository": {
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"react-native"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@crossbind/port-curl": "^2.0.0-beta.
|
|
25
|
-
"@crossbind/port-openssl-ios": "^2.0.0-beta.
|
|
24
|
+
"@crossbind/port-curl": "^2.0.0-beta.60",
|
|
25
|
+
"@crossbind/port-openssl-ios": "^2.0.0-beta.60"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"crossbind": "^2.0.0-beta.
|
|
28
|
+
"crossbind": "^2.0.0-beta.60"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "crossbind build -p ios",
|