1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
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