-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
* update to 7.86.0: https://curl.se/changes.html#7_86_0 * remove 300-curl-wolfssl.m4-error-out-if-wolfSSL-is-not-usable.patch as it was fixed upstream: curl/curl#9682 * update configure options for OpenSSL as --without-ssl is breaking build * remove --without-libidn configure arg as it's no longer recognized Signed-off-by: Stan Grishin <stangri@melmac.ca>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,15 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=curl | ||
PKG_VERSION:=7.85.0 | ||
PKG_RELEASE:=$(AUTORELEASE).1 | ||
PKG_VERSION:=7.86.0 | ||
PKG_RELEASE:=$(AUTORELEASE) | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | ||
PKG_SOURCE_URL:=https://github.com/curl/curl/releases/download/curl-$(subst .,_,$(PKG_VERSION))/ \ | ||
https://dl.uxnr.de/mirror/curl/ \ | ||
https://curl.askapache.com/download/ \ | ||
https://curl.se/download/ | ||
PKG_HASH:=88b54a6d4b9a48cb4d873c7056dcba997ddd5b7be5a2d537a4acb55c20b04be6 | ||
PKG_HASH:=2d61116e5f485581f6d59865377df4463f2e788677ac43222b496d4e49fb627b | ||
|
||
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=COPYING | ||
|
@@ -116,7 +116,6 @@ CONFIGURE_ARGS += \ | |
--disable-manual \ | ||
--without-nss \ | ||
--without-librtmp \ | ||
--without-libidn \ | ||
--without-ca-path \ | ||
--without-libpsl \ | ||
--without-zstd \ | ||
|
@@ -126,7 +125,7 @@ CONFIGURE_ARGS += \ | |
\ | ||
$(if $(CONFIG_LIBCURL_WOLFSSL),--with-wolfssl="$(STAGING_DIR)/usr",--without-wolfssl) \ | ||
$(if $(CONFIG_LIBCURL_GNUTLS),--with-gnutls="$(STAGING_DIR)/usr",--without-gnutls) \ | ||
$(if $(CONFIG_LIBCURL_OPENSSL),--with-ssl="$(STAGING_DIR)/usr",--without-ssl) \ | ||
$(if $(CONFIG_LIBCURL_OPENSSL),--with-openssl="$(STAGING_DIR)/usr",--without-openssl) \ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rodsmar
|
||
$(if $(CONFIG_LIBCURL_MBEDTLS),--with-mbedtls="$(STAGING_DIR)/usr",--without-mbedtls) \ | ||
\ | ||
$(if $(CONFIG_LIBCURL_LIBIDN2),--with-libidn2="$(STAGING_DIR)/usr",--without-libidn2) \ | ||
|
This file was deleted.
7 comments
on commit 88009b2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stangri You could reproduce the issue by:
# CONFIG_PACKAGE_libcurl is not set
# CONFIG_PACKAGE_curl is not set
and make
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue fixed by:
diff --git a/net/curl/Makefile b/net/curl/Makefile
index 6b96d739b..e1dfe8334 100644
--- a/net/curl/Makefile
+++ b/net/curl/Makefile
@@ -126,7 +126,7 @@ CONFIGURE_ARGS += \
\
$(if $(CONFIG_LIBCURL_WOLFSSL),--with-wolfssl="$(STAGING_DIR)/usr",--without-wolfssl) \
$(if $(CONFIG_LIBCURL_GNUTLS),--with-gnutls="$(STAGING_DIR)/usr",--without-gnutls) \
- $(if $(CONFIG_LIBCURL_OPENSSL),--with-openssl="$(STAGING_DIR)/usr",--without-openssl) \
+ $(if $(CONFIG_LIBCURL_OPENSSL),--with-openssl="$(STAGING_DIR)/usr",--without-ssl) \
$(if $(CONFIG_LIBCURL_MBEDTLS),--with-mbedtls="$(STAGING_DIR)/usr",--without-mbedtls) \
\
$(if $(CONFIG_LIBCURL_LIBIDN2),--with-libidn2="$(STAGING_DIR)/usr",--without-libidn2) \
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update:
fixed by:
diff --git a/net/curl/Makefile b/net/curl/Makefile
index 6b96d739b..1b19a0318 100644
--- a/net/curl/Makefile
+++ b/net/curl/Makefile
@@ -124,6 +124,7 @@ CONFIGURE_ARGS += \
\
$(call autoconf_bool,CONFIG_IPV6,ipv6) \
\
+ $(if $(CONFIG_LIBCURL_WOLFSSL)$(CONFIG_LIBCURL_GNUTLS)$(CONFIG_LIBCURL_OPENSSL)$(CONFIG_LIBCURL_MBEDTLS),,--without-ssl) \
$(if $(CONFIG_LIBCURL_WOLFSSL),--with-wolfssl="$(STAGING_DIR)/usr",--without-wolfssl) \
$(if $(CONFIG_LIBCURL_GNUTLS),--with-gnutls="$(STAGING_DIR)/usr",--without-gnutls) \
$(if $(CONFIG_LIBCURL_OPENSSL),--with-openssl="$(STAGING_DIR)/usr",--without-openssl) \
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ptpt52 do you want to send a PR or do you want me to do it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ptpt52 do you want to send a PR or do you want me to do it?
it is kindly and convenient for you to do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit breaks build system if this package (curl) is selected.
(...)
checking dependency style of mipsel-openwrt-linux-musl-gcc... gcc3
checking curl version... 7.86.0
configure: error: select TLS backend(s) or disable TLS with --without-ssl.
Select from these:
--with-amissl
--with-bearssl
--with-gnutls
--with-mbedtls
--with-nss
--with-openssl (also works for BoringSSL and libressl)
--with-rustls
--with-schannel
--with-secure-transport
--with-wolfssl
make[2]: *** [Makefile:187: /home/rodrigo/openwrt-snapshot/build_dir/target-mipsel_24kc_musl/curl-7.86.0/.configured_477282291d05badcb8a9e0f74832373d] Error 1
make[2]: Leaving directory '/home/rodrigo/openwrt-snapshot/feeds/packages/net/curl'
time: package/feeds/packages/curl/compile#31.65#1.38#33.27
ERROR: package/feeds/packages/curl failed to build.
make[1]: *** [package/Makefile:116: package/feeds/packages/curl/compile] Error 1
make[1]: Leaving directory '/home/rodrigo/openwrt-snapshot'
make: *** [/home/rodrigo/openwrt-snapshot/include/toplevel.mk:231: package/feeds/packages/curl/compile] Error 2
if I reverse that point, the build proceeds normally.