main/curl: backport fix for regression with long token in netrc

fixes: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16599
upstream: https://github.com/curl/curl/issues/15513
This commit is contained in:
Atsushi Watanabe 2024-11-08 10:52:22 +09:00 committed by Natanael Copa
parent cb1927f32a
commit 5606debfa5

View File

@ -9,7 +9,7 @@
pkgname=curl
pkgver=8.11.0
pkgrel=1
pkgrel=2
pkgdesc="URL retrival utility and library"
url="https://curl.se/"
arch="all"
@ -33,6 +33,7 @@ subpackages="$pkgname-dbg $pkgname-static $pkgname-doc $pkgname-dev libcurl"
source="https://curl.se/download/curl-$pkgver.tar.xz"
source="https://curl.se/download/curl-$pkgver.tar.xz
curl-$pkgver-regression-fix.patch::https://github.com/curl/curl/commit/d8010d956f09069d1d6b474abdee5864569e6920.patch
curl-$pkgver-regression-fix-long-token.patch::https://github.com/curl/curl/commit/0cdde0fdfbeb8c35420f6d03fa4b77ed73497694.patch
"
options="net" # Required for running tests
[ -n "$BOOTSTRAP" ] && options="$options !check" # remove python3 dependency
@ -251,4 +252,5 @@ libcurl() {
sha512sums="
3a642d421e0a5c09ecb681bea18498f2c6124e9af4d8afdc074dfb85a9b0211d8972ade9cf00ab44b5dfed9303262cd83551dd3b5e0976d11fc19da3c4a0987e curl-8.11.0.tar.xz
ec35e712d10d5dc2210d22aadd5d5bde21e2c8f323bec6d87e246a2c3e7a557015ae3e8045be3257ef020622999f45daf43efc31440611d31052c7d076a78263 curl-8.11.0-regression-fix.patch
9d311b90c168d605fd1e1a35cd8ead48f61d3274a45043efc30fcaef003f0f34464b2e533dcb6b291d1b698fe70a1ec4d672f428587b9b872b12298d2524f318 curl-8.11.0-regression-fix-long-token.patch
"