package rosa import "hakurei.app/internal/pkg" func (t Toolchain) newCurl() (pkg.Artifact, string) { const ( version = "8.19.0" checksum = "YHuVLVVp8q_Y7-JWpID5ReNjq2Zk6t7ArHB6ngQXilp_R5l3cubdxu3UKo-xDByv" ) return t.NewPackage("curl", version, pkg.NewHTTPGetTar( nil, "https://curl.se/download/curl-"+version+".tar.bz2", mustDecode(checksum), pkg.TarBzip2, ), &PackageAttr{ Patches: [][2]string{ {"test459-misplaced-line-break", `diff --git a/tests/data/test459 b/tests/data/test459 index 7a2e1db7b3..cc716aa65a 100644 --- a/tests/data/test459 +++ b/tests/data/test459 @@ -54,8 +54,8 @@ Content-Type: application/x-www-form-urlencoded arg -Warning: %LOGDIR/config:1 Option 'data' uses argument with unquoted whitespace.%SP -Warning: This may cause side-effects. Consider double quotes. +Warning: %LOGDIR/config:1 Option 'data' uses argument with unquoted%SP +Warning: whitespace. This may cause side-effects. Consider double quotes. `}, }, }, &MakeHelper{ Configure: [][2]string{ {"with-openssl"}, {"with-ca-bundle", "/system/etc/ssl/certs/ca-bundle.crt"}, {"disable-smb"}, }, Check: []string{ `TFLAGS="-j$(expr "$(nproc)" '*' 2)"`, "test-nonflaky", }, }, Perl, Python, PkgConfig, Diffutils, Libpsl, OpenSSL, ), version } func init() { artifactsM[Curl] = Metadata{ f: Toolchain.newCurl, Name: "curl", Description: "command line tool and library for transferring data with URLs", Website: "https://curl.se/", Dependencies: P{ Libpsl, OpenSSL, }, ID: 381, } }