Commit Graph

49 Commits

Author SHA1 Message Date
Dirk Brenken afae2776e9
curl: fix/bump PKG_RELEASE, remove maintainer
* make PKG_RELEASE numeric again
* made a release bump due to  a newly added patch (see de4ef9d169 for details)
* remove maintainer (as requested in #23890

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-04-20 07:41:20 +02: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 6bd2b89d83 curl: prepare for HTTP/3 support
* these changes along with 2 PRs below and using non-standard
  openssl library allow for building curl with HTTP/3 support
* https://github.com/openwrt/packages/pull/22443
* https://github.com/openwrt/packages/pull/22444

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-10-18 18:58:07 +00:00
Michal Hrusecky 5167111691 curl: Update to version 8.4.0
For detailed changes, see https://curl.se/changes.html#8_4_0
Switching to tar.bz2 for the time being as tar.xz is not yet available.
Fixes CVE-2023-38546 and CVE-2023-38545.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2023-10-11 09:17:21 +02:00
Josef Schlehofer 07c0a5eab8 curl: update to version 8.3.0
Release notes:
https://curl.se/changes.html#8_3_0

Fixes:
CVE-2023-38039 [1]

[1] https://curl.se/docs/CVE-2023-38039.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-16 11:23:06 +02:00
Stan Grishin 82dbc1c4d5 curl: update to 8.2.1
* https://curl.se/changes.html#8_2_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-07-31 04:11:07 +00:00
Stan Grishin a276cebd9e curl: update to 8.2.0
* https://curl.se/changes.html#8_2_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-07-23 15:48:38 +00:00
Stan Grishin 5afd8e088a curl: update to 8.1.2
* https://curl.se/changes.html#8_1_2

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-06-05 19:35:15 +00:00
Stan Grishin b126e765cc curl: update to 8.1.1
* https://curl.se/changes.html#8_1_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-23 22:26:31 +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
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Stan Grishin 797f7b44aa curl: update to 8.0.1
* https://curl.se/changes.html#8_0_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-03-30 16:22:58 +02:00
Oskari Rauta 4d25a44d5c curl: enable unix sockets by default
- changed Config.in to enable unix sockets support by default
 - release number bumped

Description:
socket support is very handy when communicating with
various REST APIs.

Size increases are very small, nearly unnoticiable.

Tested-by: Stan Grishin <stangri@melmac.ca>
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-03-12 16:55:27 +00:00
Stan Grishin 3371071730 curl: update to 7.88.1
* https://curl.se/changes.html#7_88_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-02-25 21:59:01 +00:00
Stan Grishin 9c78e10030 curl: bugfix: building as selected package doesn't break build
* Reported-by: Chen Minqiang <ptpt52@gmail.com>
* details [here](88009b2d5e (commitcomment-88604318))

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-11-02 07:46:42 +00:00
Stan Grishin d66435208c curl: include nls.mk
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-10-31 03:05:44 +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
Petr Štetiar 845d81ca09 treewide: fix security issues by bumping all packages using libwolfssl
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.

Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-04 00:58:29 -07:00
Stan Grishin c812153f8d curl: bugfix: github source url
* fixes https://github.com/openwrt/packages/issues/19456

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-09-26 08:37:15 +00: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 0a65e4c6fa curl: switch default SSL to mbedTLS
The decision to switch the default to wolfSSL was taken because of
hostapd back from when curl was in base. Unfortunately, not only is
wolfSSL bigger but it has also been causing issues recently. There's
also no relation between hostapd and curl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-23 12:39:21 -07: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 dd81a4878c curl: update to 7.81.0
* changes: https://curl.se/changes.html#7_81_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-01-09 19:51:47 +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
Stan Grishin 6015bc32f5 curl: update to 7.79.1
* update to [7.79.1](https://curl.se/changes.html#7_79_1)

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-09-26 18:33:03 +00:00
Stan Grishin 5d1794e6dc curl: update to 7.79.0
* update to [7.79.0](https://curl.se/changes.html#7_79_0)

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-09-15 13:03:34 -04:00
Stan Grishin 243c86ffc8 curl: update to 7.78.0
* update to 7.78.0
* change maintainer
* remove obsolete mirror (curl.mirror.anstey.ca)
* update main curl URLs

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-08-14 01:24:38 +01:00
Stan Grishin 83b4d4f89c curl: enable HTTP/2 support by default
Description: Lack of support of HTTP/2 by default starts to hurt,
for example with https-dns-proxy package, some DoH resolvers (like mullvad)
no longer support HTTP/1 and are not usable.

This enables HTTP/2 support by default (which would bring ~68Kb libnghttp).

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-07-30 23:15:06 +00:00
Jan Pavlinec ff58fc3a9c curl: update to version 7.77.0 (security fix)
Fixes:
CVE-2021-22897
CVE-2021-22898
CVE-2021-22901

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-05-27 17:05:09 +03:00
Jan Pavlinec b971310549
curl: update to version 7.76.0
Fixes CVE-2021-22876 and CVE-2021-22890

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-04-01 11:02:53 +02:00
Rosen Penev d55ea14a46
curl: update to 7.75.0
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-22 16:34:55 -08:00
Felix Fietkau eea050dab8 curl,fuse,lm-sensors: move BuildPackage line for libs above packges depending on it
Fixes ABI_VERSION handling issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-16 11:20:23 +01: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
Rosen Penev 8285806e10
curl: fix host config file
Fix the prefix instead.

Replace custom Compile section with PKG_INSTALL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-10 01:50:28 -08: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
Tony Butler 7b6f58e9d0 curl: add optional zlib support
Package libcurl is missing dependencies for the following libraries:
libzstd.so.1

Previous patch by Hans Dedecker <dedeckeh@gmail.com> took the easy way
out :)

Suggested-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Tony Butler <spudz76@gmail.com>
[fixed title]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-26 13:26:42 -10:00
Hauke Mehrtens 30fecae052 curl: Use wolfssl by default
Instead of using mbedtls by default use wolfssl. We now integrate
wolfssl in the default build so use it also as default ssl library for
curl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-26 13:25:07 -10: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