From 00cfab45e545c3931a0a70c5caefc08c65c40f83 Mon Sep 17 00:00:00 2001 From: Cavv Date: Mon, 20 Jan 2025 23:01:34 +0100 Subject: [PATCH] Update curl to 7.83.0 --- curl/PKGBUILD | 9 +++++---- examples/https/source/https.c | 38 +++++++++++++++++------------------ 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/curl/PKGBUILD b/curl/PKGBUILD index d70c561..df04056 100644 --- a/curl/PKGBUILD +++ b/curl/PKGBUILD @@ -1,5 +1,5 @@ pkgname=nds-curl -pkgver=7.72.0 +pkgver=7.83.0 pkgrel=1 pkgdesc="Library for transferring data with URLs" arch=(any) @@ -11,8 +11,8 @@ makedepends=(nds-pkg-config dkp-toolchain-vars) options=(!strip libtool staticlibs) source=("https://curl.se/download/curl-${pkgver}.tar.xz" "${pkgname}.patch") -sha256sums=("0ded0808c4d85f2ee0db86980ae610cc9d165e9ca9da466196cc73c346513713" - "d939bd2d5a8ce045358235ff75b60b3d1cf9819dd42ea598d69bd8586a537407") +sha256sums=("bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a" + "15f5f3684cce0664e58cb87a20255058b41c4140133b1586ffbc30c46c31983d") build() { cd curl-$pkgver @@ -29,7 +29,8 @@ build() { --disable-shared --enable-static \ --disable-ipv6 --disable-unix-sockets \ --disable-manual --disable-ntlm-wb \ - --disable-threaded-resolver --with-wolfssl=$PORTLIBS_PREFIX + --disable-threaded-resolver --disable-socketpair \ + --with-wolfssl=$PORTLIBS_PREFIX make -C lib } diff --git a/examples/https/source/https.c b/examples/https/source/https.c index 4e412bf..0ca0707 100644 --- a/examples/https/source/https.c +++ b/examples/https/source/https.c @@ -5,11 +5,11 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms - * are also available at https://curl.haxx.se/docs/copyright.html. + * are also available at https://curl.se/docs/copyright.html. * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is @@ -20,9 +20,9 @@ * ***************************************************************************/ /* -* Simple HTTPS GET -* -*/ + * Simple HTTPS GET + * + */ #include #include @@ -52,25 +52,25 @@ int main(void) #ifdef SKIP_PEER_VERIFICATION /* - * If you want to connect to a site who isn't using a certificate that is - * signed by one of the certs in the CA bundle you have, you can skip the - * verification of the server's certificate. This makes the connection - * A LOT LESS SECURE. - * - * If you have a CA cert for the server stored someplace else than in the - * default bundle, then the CURLOPT_CAPATH option might come handy for - * you. - */ + * If you want to connect to a site who is not using a certificate that is + * signed by one of the certs in the CA bundle you have, you can skip the + * verification of the server's certificate. This makes the connection + * A LOT LESS SECURE. + * + * If you have a CA cert for the server stored someplace else than in the + * default bundle, then the CURLOPT_CAPATH option might come handy for + * you. + */ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); #endif #ifdef SKIP_HOSTNAME_VERIFICATION /* - * If the site you're connecting to uses a different host name that what - * they have mentioned in their server certificate's commonName (or - * subjectAltName) fields, libcurl will refuse to connect. You can skip - * this check, but this will make the connection less secure. - */ + * If the site you are connecting to uses a different host name that what + * they have mentioned in their server certificate's commonName (or + * subjectAltName) fields, libcurl will refuse to connect. You can skip + * this check, but this will make the connection less secure. + */ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); #endif