Opennet Firmware
 Alle Dateien Funktionen Variablen Gruppen Seiten
curl_enable_https.patch
gehe zur Dokumentation dieser Datei
1 Provide optional --enable-https flag for curl.
2 
3 Signed-off-by: Lars Kruse <devel@sumpfralle.de>
4 
5 --- a/openwrt/package/network/utils/curl/Config.in
6 +++ b/openwrt/package/network/utils/curl/Config.in
7 @@ -53,6 +53,10 @@ config LIBCURL_HTTP
8  bool "Enable HTTP support"
9  default y
10 
11 +config LIBCURL_HTTPS
12 + bool "Enable HTTPS support"
13 + default n
14 +
15  config LIBCURL_IMAP
16  bool "Enable IMAP support"
17  default n
18 --- a/openwrt/package/network/utils/curl/Makefile
19 +++ b/openwrt/package/network/utils/curl/Makefile
20 @@ -37,6 +37,7 @@ PKG_CONFIG_DEPENDS := \
21  LIBCURL_GNUTLS \
22  LIBCURL_GOPHER \
23  LIBCURL_HTTP \
24 + LIBCURL_HTTPS \
25  LIBCURL_IMAP \
26  LIBCURL_LDAP \
27  LIBCURL_LDAPS \
28 @@ -112,6 +113,7 @@ CONFIGURE_ARGS += \
29  $(if $(CONFIG_LIBCURL_GOPHER),--enable,--disable)-gopher \
30  $(if $(CONFIG_LIBCURL_GNUTLS),--with-gnutls="$(STAGING_DIR)/usr",--without-gnutls) \
31  $(if $(CONFIG_LIBCURL_HTTP),--enable,--disable)-http \
32 + $(if $(CONFIG_LIBCURL_HTTPS),--enable,--disable)-https \
33  $(if $(CONFIG_LIBCURL_IMAP),--enable,--disable)-imap \
34  $(if $(CONFIG_LIBCURL_LDAP),--enable,--disable)-ldap \
35  $(if $(CONFIG_LIBCURL_LDAPS),--enable,--disable)-ldaps \