Commit graph

15 commits

Author SHA1 Message Date
Stan Grishin
88009b2d5e curl: update to 7.86.0
* 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: https://github.com/curl/curl/pull/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>
2022-10-30 19:54:05 +00:00
Petr Štetiar
9140f366ef curl: error out if wolfSSL is not usable
When we explicitly declare, that we would like to have curl built with
wolfSSL support using `--with-wolfssl` configure option, then we should
make sure, that we either endup with curl having that support, or it
shouldn't be available at all, otherwise we risk, that we end up with
regressions like following:

  configure:25299: checking for wolfSSL_Init in -lwolfssl
  configure:25321: x86_64-openwrt-linux-musl-gcc -o conftest [snip]
  In file included from target-x86_64_musl/usr/include/wolfssl/wolfcrypt/dsa.h:33,
                   from target-x86_64_musl/usr/include/wolfssl/wolfcrypt/asn_public.h:35,
                  from target-x86_64_musl/usr/include/wolfssl/ssl.h:35,
                   from conftest.c:47:
  target-x86_64_musl/usr/include/wolfssl/wolfcrypt/integer.h:37:14: fatal error: wolfssl/wolfcrypt/sp_int.h: No such file or directory
       #include <wolfssl/wolfcrypt/sp_int.h>
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

and in the end thus produce curl without https support:

 curl: (1) Protocol "https" not supported or disabled in libcurl

So fix it, by making the working wolfSSL mandatory and error out in
configure step when that's not the case:

 checking for wolfSSL_Init in -lwolfssl... no
 configure: error: --with-wolfssl but wolfSSL was not found or doesn't work

References: #19005, #19547
Upstream-Status: Accepted [https://github.com/curl/curl/pull/9682]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-10 11:27:05 +02:00
Stan Grishin
03a32717bc curl: update to 7.85.0
* https://curl.se/changes.html#7_85_0
* add GitHub to PKG_SOURCE_URL

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-09-15 20:55:01 +00:00
Stan Grishin
b814eec3b5 Revert "curl: update to 7.85.0"
This reverts commit 312ab68be4.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-09-15 22:43:11 +02:00
Stan Grishin
312ab68be4 curl: update to 7.85.0
* https://curl.se/changes.html#7_85_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-09-15 19:51:31 +00:00
Rosen Penev
317575755a curl: fix compilation with wolfSSL
options.h header is needed now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-19 20:03:26 -07:00
Stan Grishin
b0f213a726 curl: bump to 7.83.1
* https://curl.se/changes.html#7_83_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-06-06 22:47:08 +00:00
Chris Osgood
4eb08bacf3 curl: Fix compiling curl wolfSSL IPv6 disabled
Fixes #18082

Signed-off-by: Chris Osgood <chris_github@functionalfuture.com>
2022-03-18 10:48:07 -04:00
Stan Grishin
38b3a5f857 curl: update to 7.82.0
* changelog: https://curl.se/changes.html#7_82_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-03-07 02:57:42 +00:00
Stan Grishin
80ef61729b curl: update to 7.80.0
* bump version to 7.80.0
* update maintainer email address

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-11-12 20:25:53 +00:00
Jan Pavlinec
9e2dc1e51e
curl: update to version 7.74.0 (security fix)
Fixes:
CVE-2020-8286
CVE-2020-8285
CVE-2020-8284

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-12-11 13:20:52 +01:00
DENG Qingfang
2f68b75a67 curl: fix build against OpenSSL
Ref: https://curl.se/mail/lib-2020-10/0037.html
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-11-26 14:47:55 +08:00
Rosen Penev
613688a555
curl: update to 7.73.0
Remove upstream patch.

Refresh other one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-24 22:30:29 -08:00
Hauke Mehrtens
f2fa1f6093 curl: Fix build with wolfssl
Backport a commit from upstream curl to fix a problem in configure with
wolfssl.

checking size of time_t... configure: error: cannot determine a size for time_t

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-26 13:25:07 -10:00
Paul Spooren
efed611029 curl: add package (previously in base)
Move package over from openwrt.git based on the Hamburg 2019 decision
that non essential packages should be maintained in packages.git

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-26 08:27:24 -10:00