Re: [OpenWrt-Devel] [PATCH] curl: enable https protocol

2015-01-09 Thread Lars Kruse
Provide optional --enable-https flag for curl.

Signed-off-by: Lars Kruse de...@sumpfralle.de

--- a/package/network/utils/curl/Config.in
+++ b/package/network/utils/curl/Config.in
@@ -53,6 +53,10 @@ config LIBCURL_HTTP
bool Enable HTTP support
default y
 
+config LIBCURL_HTTPS
+   bool Enable HTTPS support
+   default n
+
 config LIBCURL_IMAP
bool Enable IMAP support
default n
--- a/package/network/utils/curl/Makefile
+++ b/package/network/utils/curl/Makefile
@@ -37,6 +37,7 @@ PKG_CONFIG_DEPENDS := \
   LIBCURL_GNUTLS \
   LIBCURL_GOPHER \
   LIBCURL_HTTP \
+  LIBCURL_HTTPS \
   LIBCURL_IMAP \
   LIBCURL_LDAP \
   LIBCURL_LDAPS \
@@ -112,6 +113,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LIBCURL_GOPHER),--enable,--disable)-gopher \
$(if 
$(CONFIG_LIBCURL_GNUTLS),--with-gnutls=$(STAGING_DIR)/usr,--without-gnutls) \
$(if $(CONFIG_LIBCURL_HTTP),--enable,--disable)-http \
+   $(if $(CONFIG_LIBCURL_HTTPS),--enable,--disable)-https \
$(if $(CONFIG_LIBCURL_IMAP),--enable,--disable)-imap \
$(if $(CONFIG_LIBCURL_LDAP),--enable,--disable)-ldap \
$(if $(CONFIG_LIBCURL_LDAPS),--enable,--disable)-ldaps \

--

Sending again with correct formatting.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] curl: enable https protocol

2015-01-07 Thread Felix Fietkau
On 2014-12-27 18:32, Lars Kruse wrote:
 Hi,
 
 even though SSL-support is configurable for curl, there is currently
 no support for https (just http). The attached patch fixes that.
 
 Lars
 
 
 
 Provide optional --enable-https flag for curl.
 
 Signed-off-by: Lars Kruse de...@sumpfralle.de
Like the other one, this patch is whitespace damaged and has wrong
formatting for description.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] curl: enable https protocol

2014-12-27 Thread Lars Kruse
Hi,

even though SSL-support is configurable for curl, there is currently
no support for https (just http). The attached patch fixes that.

Lars



Provide optional --enable-https flag for curl.

Signed-off-by: Lars Kruse de...@sumpfralle.de
---
Provide optional --enable-https flag for curl.
--- a/openwrt/package/network/utils/curl/Config.in
+++ b/openwrt/package/network/utils/curl/Config.in
@@ -53,6 +53,10 @@ config LIBCURL_HTTP
bool Enable HTTP support
default y
 
+config LIBCURL_HTTPS
+   bool Enable HTTPS support
+   default n
+
 config LIBCURL_IMAP
bool Enable IMAP support
default n
--- a/openwrt/package/network/utils/curl/Makefile
+++ b/openwrt/package/network/utils/curl/Makefile
@@ -37,6 +37,7 @@ PKG_CONFIG_DEPENDS := \
   LIBCURL_GNUTLS \
   LIBCURL_GOPHER \
   LIBCURL_HTTP \
+  LIBCURL_HTTPS \
   LIBCURL_IMAP \
   LIBCURL_LDAP \
   LIBCURL_LDAPS \
@@ -112,6 +113,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LIBCURL_GOPHER),--enable,--disable)-gopher \
$(if
$(CONFIG_LIBCURL_GNUTLS),--with-gnutls=$(STAGING_DIR)/usr,--without-gnutls) \
$(if $(CONFIG_LIBCURL_HTTP),--enable,--disable)-http \
+   $(if $(CONFIG_LIBCURL_HTTPS),--enable,--disable)-https \
$(if $(CONFIG_LIBCURL_IMAP),--enable,--disable)-imap \
$(if $(CONFIG_LIBCURL_LDAP),--enable,--disable)-ldap \
$(if $(CONFIG_LIBCURL_LDAPS),--enable,--disable)-ldaps \

--
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel