diff options
Diffstat (limited to 'system/curl/APKBUILD')
-rw-r--r-- | system/curl/APKBUILD | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/system/curl/APKBUILD b/system/curl/APKBUILD index 700699522..aedaa6e7b 100644 --- a/system/curl/APKBUILD +++ b/system/curl/APKBUILD @@ -4,16 +4,19 @@ # Maintainer: Zach van Rijn <me@zv.io> pkgname=curl pkgver=8.3.0 -pkgrel=0 +pkgrel=1 pkgdesc="A URL retrival utility and library" url="https://curl.haxx.se" arch="all" license="MIT" depends="ca-certificates" makedepends_build="perl" -makedepends_host="libssh2-dev nghttp2-dev openssl-dev zlib-dev zstd-dev" +makedepends_host="libssh2-dev nghttp2-dev openssl-dev zlib-dev zstd-dev + autoconf automake libtool" makedepends="$makedepends_build $makedepends_host" -source="https://curl.haxx.se/download/$pkgname-$pkgver.tar.xz" +source="https://curl.haxx.se/download/$pkgname-$pkgver.tar.xz + fix-fseek-type-mismatch.patch + " subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev libcurl" # secfixes: @@ -100,6 +103,14 @@ subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev libcurl" # - CVE-2014-0138 # - CVE-2014-0139 +# remove after the upstream release includes +# https://github.com/curl/curl/pull/11918 +prepare() { + default_prepare + + autoreconf -vif +} + build() { ./configure \ --build=$CBUILD \ @@ -132,4 +143,5 @@ libcurl() { mv "$pkgdir"/usr/lib "$subpkgdir"/usr } -sha512sums="6404b4c74fe1185cb482631ca3a143996cb7298d0d8a76bfafd7696e7729c00559999a069bdba782dee3f3eb273fb678a4438cb27d3deca54022878cdff83a51 curl-8.3.0.tar.xz" +sha512sums="6404b4c74fe1185cb482631ca3a143996cb7298d0d8a76bfafd7696e7729c00559999a069bdba782dee3f3eb273fb678a4438cb27d3deca54022878cdff83a51 curl-8.3.0.tar.xz +c89178b8be2f48ba0a25072087d5430ec25293f3b5d5a7eef916656b356609624f679a143f90d28459cc6e669ad028526663934a22ea4c777e86ce154d6c5516 fix-fseek-type-mismatch.patch" |