All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m32s
Test / Hakurei (push) Successful in 3m39s
Test / ShareFS (push) Successful in 3m44s
Test / Sandbox (race detector) (push) Successful in 5m0s
Test / Hakurei (race detector) (push) Successful in 5m56s
Test / Flake checks (push) Successful in 1m29s
This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
39 lines
825 B
Go
39 lines
825 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newCurl() (pkg.Artifact, string) {
|
|
const (
|
|
version = "8.18.0"
|
|
checksum = "YpOolP_sx1DIrCEJ3elgVAu0wTLDS-EZMZFvOP0eha7FaLueZUlEpuMwDzJNyi7i"
|
|
)
|
|
return t.NewPackage("curl", version, pkg.NewHTTPGetTar(
|
|
nil, "https://curl.se/download/curl-"+version+".tar.bz2",
|
|
mustDecode(checksum),
|
|
pkg.TarBzip2,
|
|
), nil, &MakeHelper{
|
|
Configure: [][2]string{
|
|
{"with-openssl"},
|
|
{"with-ca-bundle", "/system/etc/ssl/certs/ca-bundle.crt"},
|
|
},
|
|
Check: []string{
|
|
"TFLAGS=-j256",
|
|
"check",
|
|
},
|
|
},
|
|
Perl,
|
|
|
|
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/",
|
|
}
|
|
}
|