mirror of
https://github.com/cavv-dev/nds-curl.git
synced 2025-06-19 01:15:46 -04:00
Update curl to 7.83.0
This commit is contained in:
parent
81c82c5c09
commit
00cfab45e5
@ -1,5 +1,5 @@
|
|||||||
pkgname=nds-curl
|
pkgname=nds-curl
|
||||||
pkgver=7.72.0
|
pkgver=7.83.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Library for transferring data with URLs"
|
pkgdesc="Library for transferring data with URLs"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
@ -11,8 +11,8 @@ makedepends=(nds-pkg-config dkp-toolchain-vars)
|
|||||||
options=(!strip libtool staticlibs)
|
options=(!strip libtool staticlibs)
|
||||||
source=("https://curl.se/download/curl-${pkgver}.tar.xz"
|
source=("https://curl.se/download/curl-${pkgver}.tar.xz"
|
||||||
"${pkgname}.patch")
|
"${pkgname}.patch")
|
||||||
sha256sums=("0ded0808c4d85f2ee0db86980ae610cc9d165e9ca9da466196cc73c346513713"
|
sha256sums=("bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a"
|
||||||
"d939bd2d5a8ce045358235ff75b60b3d1cf9819dd42ea598d69bd8586a537407")
|
"15f5f3684cce0664e58cb87a20255058b41c4140133b1586ffbc30c46c31983d")
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd curl-$pkgver
|
cd curl-$pkgver
|
||||||
@ -29,7 +29,8 @@ build() {
|
|||||||
--disable-shared --enable-static \
|
--disable-shared --enable-static \
|
||||||
--disable-ipv6 --disable-unix-sockets \
|
--disable-ipv6 --disable-unix-sockets \
|
||||||
--disable-manual --disable-ntlm-wb \
|
--disable-manual --disable-ntlm-wb \
|
||||||
--disable-threaded-resolver --with-wolfssl=$PORTLIBS_PREFIX
|
--disable-threaded-resolver --disable-socketpair \
|
||||||
|
--with-wolfssl=$PORTLIBS_PREFIX
|
||||||
|
|
||||||
make -C lib
|
make -C lib
|
||||||
}
|
}
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* 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
|
* 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
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
@ -20,9 +20,9 @@
|
|||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* <DESC>
|
/* <DESC>
|
||||||
* Simple HTTPS GET
|
* Simple HTTPS GET
|
||||||
* </DESC>
|
* </DESC>
|
||||||
*/
|
*/
|
||||||
#include <nds.h>
|
#include <nds.h>
|
||||||
#include <dswifi9.h>
|
#include <dswifi9.h>
|
||||||
|
|
||||||
@ -52,25 +52,25 @@ int main(void)
|
|||||||
|
|
||||||
#ifdef SKIP_PEER_VERIFICATION
|
#ifdef SKIP_PEER_VERIFICATION
|
||||||
/*
|
/*
|
||||||
* If you want to connect to a site who isn't using a certificate that is
|
* 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
|
* 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
|
* verification of the server's certificate. This makes the connection
|
||||||
* A LOT LESS SECURE.
|
* A LOT LESS SECURE.
|
||||||
*
|
*
|
||||||
* If you have a CA cert for the server stored someplace else than in the
|
* 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
|
* default bundle, then the CURLOPT_CAPATH option might come handy for
|
||||||
* you.
|
* you.
|
||||||
*/
|
*/
|
||||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
|
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SKIP_HOSTNAME_VERIFICATION
|
#ifdef SKIP_HOSTNAME_VERIFICATION
|
||||||
/*
|
/*
|
||||||
* If the site you're connecting to uses a different host name that what
|
* If the site you are connecting to uses a different host name that what
|
||||||
* they have mentioned in their server certificate's commonName (or
|
* they have mentioned in their server certificate's commonName (or
|
||||||
* subjectAltName) fields, libcurl will refuse to connect. You can skip
|
* subjectAltName) fields, libcurl will refuse to connect. You can skip
|
||||||
* this check, but this will make the connection less secure.
|
* this check, but this will make the connection less secure.
|
||||||
*/
|
*/
|
||||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user