Commit Graph

26 Commits

Author SHA1 Message Date
Aleksey Vasilenko 1a182e6906 curl: update to 8.10.0
- Refresh a patch

Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-09-12 17:49:03 +08:00
Aleksey Vasilenko 302dbe731d curl: update to 8.9.1
- Remove upstreamed patch
- Remove stalled mirrors
- Fixes regression introduced in 8.9.0 update
    OpenWrt issue: https://github.com/openwrt/packages/issues/24693
    Upstream issue: https://github.com/curl/curl/issues/14280

Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-08-02 22:28:34 +08:00
Josef Schlehofer e3e1480761 Revert "curl: update to 8.9.0"
With the recent update, it was discovered that curl causes high CPU usage,
until the solution is found, let's revert the commit.

Fixes: https://github.com/openwrt/packages/issues/24693

This reverts commit e29aaab606.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2024-07-31 08:27:22 +02:00
Aleksey Vasilenko e29aaab606 curl: update to 8.9.0
- Remove upstreamed patch
- Remove stalled mirrors

Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-07-25 15:20:01 +08:00
Ryan Keane d97d07c6da
curl: upstream backports for mbedtls
tlsv1.3 support is broken in curl 8.8.0 with mbedtls 3.6.0.
See curl/curl#13653 and Mbed-TLS/mbedtls#9210 for more details.
A workaround was implemented in upsteam code, see curl/curl@0c4b4c1 and curl/curl@5f9017d
This commit includes patches generated from upstream commits.

fix #24365 #24386

Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
2024-06-19 17:41:11 -04:00
krant 49fc257b45 curl: update to 8.8.0
- Switch source to .xz according to CONTRIBUTING.md
- Switch project URL to  HTTPS
- Drop upstreamed patch
- Refresh remaining patch
- Adopt the package

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-06-07 03:20:01 +08:00
Felix Fietkau de4ef9d169 curl: fix SSL init with mbedtls 3.6
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-04-18 21:58:13 +02:00
Stan Grishin 227c8daa15 curl: update to 8.7.1
* update to 8.7.1: https://curl.se/changes.html#8_7_1
* use the new --disable-docs flag for configure
* update 200-no_docs_tests.patch
* switch to APK-compatible revision

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-03-31 16:44:21 +00:00
Konstantin Demin 0f2c98d53f
curl: update to 8.6.0
* https://curl.se/changes.html#8_6_0

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2024-02-01 03:28:09 +03:00
Stan Grishin 6501290c17 curl: update to 8.5.0
* https://curl.se/changes.html#8_5_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-12-10 17:41:49 +00:00
Stan Grishin b9c7aa50f4 curl: update to 8.1.0
* https://curl.se/changes.html#8_1_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-23 22:14:13 +00:00
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