cURL: Update to version 7.40.0

* Update to version 7.40.0
* remove non existing config options around enable/disable HTTPS protocoll
* remove --with-ca-path if ssl support disabled
* set proxy support as default like all versions before CC did

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 44176
This commit is contained in:
John Crispin 2015-01-28 12:07:47 +00:00
parent 895edf7c43
commit 89df45295e
4 changed files with 10 additions and 17 deletions

View File

@ -1,5 +1,4 @@
menu "Configuration" if PACKAGE_libcurl
depends on PACKAGE_libcurl
choice choice
prompt "SSL library" prompt "SSL library"
@ -53,10 +52,6 @@ config LIBCURL_HTTP
bool "Enable HTTP support" bool "Enable HTTP support"
default y default y
config LIBCURL_HTTPS
bool "Enable HTTPS support"
default n
config LIBCURL_IMAP config LIBCURL_IMAP
bool "Enable IMAP support" bool "Enable IMAP support"
default n default n
@ -79,7 +74,7 @@ config LIBCURL_POP3
config LIBCURL_PROXY config LIBCURL_PROXY
bool "Enable proxy support" bool "Enable proxy support"
default n default y
config LIBCURL_RTSP config LIBCURL_RTSP
bool "Enable RTSP support" bool "Enable RTSP support"
@ -113,4 +108,4 @@ config LIBCURL_ZLIB
bool "Use zlib" bool "Use zlib"
default n default n
endmenu endif

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=curl PKG_NAME:=curl
PKG_VERSION:=7.38.0 PKG_VERSION:=7.40.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@ -18,7 +18,7 @@ PKG_SOURCE_URL:=http://curl.haxx.se/download/ \
ftp://ftp.planetmirror.com/pub/curl/ \ ftp://ftp.planetmirror.com/pub/curl/ \
http://www.mirrormonster.com/curl/download/ \ http://www.mirrormonster.com/curl/download/ \
http://curl.mirrors.cyberservers.net/download/ http://curl.mirrors.cyberservers.net/download/
PKG_MD5SUM:=af6b3c299bd891f43cb5f76c4091b7b4 PKG_MD5SUM:=8d30594212e65657a5c32030f0998fa9
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
@ -37,7 +37,6 @@ PKG_CONFIG_DEPENDS := \
LIBCURL_GNUTLS \ LIBCURL_GNUTLS \
LIBCURL_GOPHER \ LIBCURL_GOPHER \
LIBCURL_HTTP \ LIBCURL_HTTP \
LIBCURL_HTTPS \
LIBCURL_IMAP \ LIBCURL_IMAP \
LIBCURL_LDAP \ LIBCURL_LDAP \
LIBCURL_LDAPS \ LIBCURL_LDAPS \
@ -98,7 +97,7 @@ CONFIGURE_ARGS += \
--disable-manual \ --disable-manual \
--disable-verbose \ --disable-verbose \
--without-ca-bundle \ --without-ca-bundle \
$(if $(CONFIG_LIBCURL_OPENSSL),--with-ca-path=/etc/ssl/certs/) \ $(if $(CONFIG_LIBCURL_NOSSL),,--with-ca-path=/etc/ssl/certs/) \
--without-krb4 \ --without-krb4 \
--without-libidn \ --without-libidn \
--without-nss \ --without-nss \
@ -114,7 +113,6 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LIBCURL_GOPHER),--enable,--disable)-gopher \ $(if $(CONFIG_LIBCURL_GOPHER),--enable,--disable)-gopher \
$(if $(CONFIG_LIBCURL_GNUTLS),--with-gnutls="$(STAGING_DIR)/usr",--without-gnutls) \ $(if $(CONFIG_LIBCURL_GNUTLS),--with-gnutls="$(STAGING_DIR)/usr",--without-gnutls) \
$(if $(CONFIG_LIBCURL_HTTP),--enable,--disable)-http \ $(if $(CONFIG_LIBCURL_HTTP),--enable,--disable)-http \
$(if $(CONFIG_LIBCURL_HTTPS),--enable,--disable)-https \
$(if $(CONFIG_LIBCURL_IMAP),--enable,--disable)-imap \ $(if $(CONFIG_LIBCURL_IMAP),--enable,--disable)-imap \
$(if $(CONFIG_LIBCURL_LDAP),--enable,--disable)-ldap \ $(if $(CONFIG_LIBCURL_LDAP),--enable,--disable)-ldap \
$(if $(CONFIG_LIBCURL_LDAPS),--enable,--disable)-ldaps \ $(if $(CONFIG_LIBCURL_LDAPS),--enable,--disable)-ldaps \

View File

@ -1,6 +1,6 @@
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -2877,6 +2877,7 @@ CURL_VERIFY_RUNTIMELIBS @@ -2885,6 +2885,7 @@ CURL_VERIFY_RUNTIMELIBS
AC_CHECK_SIZEOF(size_t) AC_CHECK_SIZEOF(size_t)
AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long)

View File

@ -1,6 +1,6 @@
--- a/Makefile.am --- a/Makefile.am
+++ b/Makefile.am +++ b/Makefile.am
@@ -128,7 +128,7 @@ CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) @@ -129,7 +129,7 @@ CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ) \
bin_SCRIPTS = curl-config bin_SCRIPTS = curl-config
SUBDIRS = lib src include SUBDIRS = lib src include
@ -11,7 +11,7 @@
pkgconfig_DATA = libcurl.pc pkgconfig_DATA = libcurl.pc
--- a/Makefile.in --- a/Makefile.in
+++ b/Makefile.in +++ b/Makefile.in
@@ -574,7 +574,7 @@ CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) @@ -577,7 +577,7 @@ CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ) \
bin_SCRIPTS = curl-config bin_SCRIPTS = curl-config
SUBDIRS = lib src include SUBDIRS = lib src include