summaryrefslogtreecommitdiff
path: root/system/curl/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-12-08 04:07:16 +0000
committerZach van Rijn <me@zv.io>2023-12-08 04:07:23 +0000
commit34bd072dbef9f246959a74237f85c486c0f74fe5 (patch)
treeb3eea6a7c1e18480dd266c2e132601af78ef4ad7 /system/curl/APKBUILD
parent0f1e27f9dd51d8dceffb2f1ac4b8370e8f915e0a (diff)
downloadpackages-34bd072dbef9f246959a74237f85c486c0f74fe5.tar.gz
packages-34bd072dbef9f246959a74237f85c486c0f74fe5.tar.bz2
packages-34bd072dbef9f246959a74237f85c486c0f74fe5.tar.xz
packages-34bd072dbef9f246959a74237f85c486c0f74fe5.zip
system/curl: add missing test dependency.
See: https://github.com/curl/curl/issues/12462 This was an oversight with the 8.5.0 release and should be included in subsequent releases.
Diffstat (limited to 'system/curl/APKBUILD')
-rw-r--r--system/curl/APKBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/system/curl/APKBUILD b/system/curl/APKBUILD
index 848cd084f..f66ade976 100644
--- a/system/curl/APKBUILD
+++ b/system/curl/APKBUILD
@@ -13,7 +13,9 @@ depends="ca-certificates"
makedepends_build="perl"
makedepends_host="libssh2-dev nghttp2-dev openssl-dev zlib-dev zstd-dev"
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
+ errorcodes.pl
+ "
subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev libcurl"
# secfixes:
@@ -100,6 +102,12 @@ subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev libcurl"
# - CVE-2014-0138
# - CVE-2014-0139
+prepare() {
+ default_prepare
+
+ cp "$srcdir"/errorcodes.pl "$builddir"/tests/errorcodes.pl
+}
+
build() {
./configure \
--build=$CBUILD \
@@ -132,4 +140,5 @@ libcurl() {
mv "$pkgdir"/usr/lib "$subpkgdir"/usr
}
-sha512sums="acffa2cf61d9b8e4188575a1b40227da8d722df2e5fe8bb82a222b4eb2fd64bf8aebd90852ce050c79fb5e517d5cee2546bf7de92ede1dd394263e231cb741a3 curl-8.5.0.tar.xz"
+sha512sums="acffa2cf61d9b8e4188575a1b40227da8d722df2e5fe8bb82a222b4eb2fd64bf8aebd90852ce050c79fb5e517d5cee2546bf7de92ede1dd394263e231cb741a3 curl-8.5.0.tar.xz
+7848b1271e0bfe3be40221fb0582712d4af3ce1e1bdf16b5f0cac731d81bda145efc039f945a311af70caff279a44435a8ead6bb6e1db7570a4bd22df0a77fdb errorcodes.pl"