Commit graph

253 commits

Author SHA1 Message Date
fetsorn 42bfc8668c curl: fix typo
"becuase" -> "because"
2023-05-08 20:00:55 +04:00
Thomas Gerbet 74207b79f0 curl: add support for Rustls backend
No functional changes for the other TLS backend but it is now possible
to build curl with `rustls-ffi`.

```
> ./result-bin/bin/curl --version
curl 8.0.1 (x86_64-pc-linux-gnu) libcurl/8.0.1 rustls-ffi/0.9.2/rustls/0.20.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.2 libssh2/1.10.0 nghttp2/1.51.0
Release-Date: 2023-03-20
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz SPNEGO SSL threadsafe UnixSockets zstd
```
2023-04-02 12:00:30 +02:00
Vladimír Čunát 12dd95fbb1
Merge branch 'master' into staging-next 2023-03-24 09:07:41 +01:00
Stefan Frijters 6fce94a26c
curl: fix build without TLS
Fixes "configure: error: select TLS backend(s) or disable TLS with --without-ssl."
if all backends are switched off.
2023-03-23 22:26:50 +01:00
Artturi 603cae0768
curl: Fix passthru tests evaluation
The override would previously clear the version attribute, which
likely started happening after 41877098.

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
2023-03-20 17:09:09 +01:00
Martin Weinelt 280f14490e
curl: 7.88.1 -> 8.0.1
https://curl.se/changes.html#8_0_0
https://daniel.haxx.se/blog/2023/03/20/curl-8-0-0-is-here/
https://daniel.haxx.se/blog/2023/03/20/curl-8-0-1-because-i-jinxed-it/

Fixes: CVE-2023-27533, CVE-2023-27534, CVE-2023-27535, CVE-2023-27536,
       CVE-2023-27537, CVE-2023-27538
2023-03-20 17:09:07 +01:00
zowoq 6da9d0f34a curl: 7.88.0 -> 7.88.1
https://curl.se/changes.html#7_88_1
2023-02-21 08:19:21 +10:00
Vladimír Čunát c6dcda71cb
curl: add yet another patch for the same issue 2023-02-16 20:43:50 +01:00
Thomas Gerbet 74f6aaae4a curl: add patch for the HTTP/2 issue
See upstream issue https://github.com/curl/curl/issues/10525
2023-02-16 16:17:46 +01:00
github-actions[bot] bf5abe92d4
Merge master into staging-next 2023-02-15 18:01:14 +00:00
sternenseemann c5a0a5ac5e curl: add pkg-config metadata for libcurl.pc
I did not add the validatePkgConfig setup hook to curl, as I suspect it
may cause trouble when bootstrapping.
2023-02-15 13:52:15 +01:00
zowoq 8ea81a949a curl: 7.87.0 -> 7.88.0
https://curl.se/changes.html#7_88_0
2023-02-15 18:07:19 +10:00
Martin Weinelt c44fb852ce
curl: 7.86.0 -> 7.87.0
https://daniel.haxx.se/blog/2022/12/21/curl-7-87-0/
https://curl.se/docs/CVE-2022-43551.html
https://curl.se/docs/CVE-2022-43552.html

Fixes: CVE-2022-43551, CVE-2022-43552
2022-12-21 23:15:10 +01:00
zowoq e8b747b3cd curl: 7.85.0 -> 7.86.0
https://curl.se/changes.html#7_86_0
2022-10-26 16:51:31 +10:00
Jonathan Ringer e0d8990938
c-ares: add cmake to default, c-aresMinimal: init 2022-10-13 13:01:20 -07:00
zowoq 0f64ae72ea curl: 7.84.0 -> 7.85.0
https://curl.se/changes.html#7_85_0
2022-09-03 16:08:22 +10:00
Vladimír Čunát ddfcb5ba68
Merge #180478: curl: fix build on certain platforms
...into staging
2022-07-20 20:26:37 +02:00
github-actions[bot] 8df1eb061a
Merge master into staging-next 2022-07-17 00:02:14 +00:00
Nick Cao 5bb4355ad4
curl: fix build on certain platforms 2022-07-07 17:49:05 +08:00
Artturi fb6816eae3
Merge pull request #178869 from Artturin/curlies 2022-07-06 17:30:45 +03:00
zowoq eb9d6edb5a curl: 7.83.1 -> 7.84.0
https://curl.se/changes.html#7_84_0
2022-07-05 09:16:03 +10:00
Sandro Jäckel 419dd6e12d
curl: remove `? null` 2022-07-01 22:06:42 +02:00
Artturin 47b58ff43e curl: put tests in tests.withCheck
curl is built many times during a stdenv rebuild

they are a bottleneck
2022-06-28 02:17:12 +03:00
Artturin 6bce3fc64e curl: use finalAttrs
allows using the correct package in passthru

remove unneeded replaceStrings in urls
2022-06-24 18:59:13 +03:00
Domen Kožar 85f2a13ee3
check that password is not blank
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-06-09 16:18:35 +01:00
Domen Kožar 7434c16611 nix: patch curl netrc regression
https://github.com/curl/curl/issues/8653
2022-06-09 01:28:26 +01:00
Robert Scott e9a0f109e5 curl: deduplicate definition of passthru.tests 2022-05-27 00:04:56 +01:00
Pavol Rusnak c571a647c1
curl: fix curl-gnutls build on darwin 2022-05-25 18:48:22 +02:00
Izorkin 6e8e1faabe
nixos/tests: add nginx-http3 test 2022-05-22 19:29:12 +03:00
Robert Scott 954efdfff3 curl: disable test 1086 on darwin
failures seem common on aarch64, disabling on darwin out of caution
as it may be more a matter of newer macos releases having issues
with it
2022-05-12 22:04:21 +01:00
Izorkin c5edd9926d
curl: 7.83.0 -> 7.83.1 2022-05-11 21:22:04 +03:00
github-actions[bot] 1a3de31faa
Merge staging-next into staging 2022-05-10 12:11:45 +00:00
Rick van Schijndel 12e43250db curlcpp: drop
Maintainers in nixpkgs are not active anymore.
No active user within nixpkgs.
Upstream doesn't see much activity.
2022-05-10 07:02:11 +02:00
Robert Scott 87ac2775d8 curl: enable tests
some tests still skipped due to missing dependencies, but it's
unlikely we want to add these build-time dependencies to such
an early-stage package
2022-05-10 06:54:35 +02:00
Sandro d59a6c1264
Merge pull request #171957 from risicle/ris-curl-passthru-tests
curl: add some key reverse-dependencies to passthru.tests
2022-05-09 16:04:44 +02:00
Robert Scott 924ebf6556 curl: add some key reverse-dependencies to passthru.tests 2022-05-07 15:54:47 +01:00
Martin Weinelt 85f5539c4b
curl: 7.82.0 -> 7.83.0
https://curl.se/changes.html#7_83_0
https://curl.se/docs/CVE-2022-22576.html
https://curl.se/docs/CVE-2022-27774.html
https://curl.se/docs/CVE-2022-27775.html
https://curl.se/docs/CVE-2022-27776.html

Fixes: CVE-2022-22576, CVE-2022-27774, CVE-2022-27775, CVE-2022-27776
2022-04-27 19:56:47 +02:00
Sandro Jäckel febceef078
curl: gate darwin workarounds behind stdenv.isDarwin to make life on linux easier
Closes #3382
2022-04-19 15:20:41 +02:00
Izorkin a6a8731dc7
curl: enable ca-bundle if activated http3 protocol 2022-04-17 20:12:06 +03:00
Paul Grandperrin 0fad2b34c4 Patch curl certificate CN verification
From 911714d617
Fixes https://github.com/NixOS/nixpkgs/issues/167971
2022-04-09 14:50:18 +02:00
R. Ryantm a4bb1d210d curl: 7.81.0 -> 7.82.0 2022-03-16 20:00:30 +10:00
Bernardo Meurer 336b2c85c0
Merge pull request #145610 from Izorkin/update-curl
curl: update build configuration
2022-01-10 16:22:03 +00:00
zowoq 20b0e16c32 curl: 7.80.0 -> 7.81.0
https://curl.se/changes.html#7_81_0
2022-01-06 09:03:18 +10:00
Izorkin 507301b357
curl: add support http3 protocol 2021-12-03 23:26:44 +03:00
Izorkin 851b12b691
curl: cleanup build configuration 2021-12-03 23:26:44 +03:00
Izorkin 1e4864e295
curl: add psl support 2021-12-03 23:26:43 +03:00
Izorkin da30a0cfb8
curl: add support rtmp protocol 2021-12-03 23:26:43 +03:00
Izorkin bc721b462b
curl: add support sasl authentication 2021-12-03 23:26:43 +03:00
Izorkin 7497778795
curl: add support zstd compression 2021-12-03 23:26:42 +03:00
Izorkin 29526bc2eb
curl: IDN support requires libidn2 package 2021-12-03 23:26:42 +03:00