All checks were successful
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 2m34s
Test / Hakurei (push) Successful in 3m42s
Test / ShareFS (push) Successful in 3m50s
Test / Sandbox (race detector) (push) Successful in 5m1s
Test / Hakurei (race detector) (push) Successful in 6m5s
Test / Flake checks (push) Successful in 1m27s
This has a bunch of strange malformed tags. Signed-off-by: Ophestra <cat@gensokyo.uk>
54 lines
1.1 KiB
Go
54 lines
1.1 KiB
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newOpenSSL() (pkg.Artifact, string) {
|
|
const (
|
|
version = "3.5.5"
|
|
checksum = "I2Hp1LxcTR8j4G6LFEQMVy6EJH-Na1byI9Ti-ThBot6EMLNRnjGXGq-WXrim3Fkz"
|
|
)
|
|
return t.NewPackage("openssl", version, pkg.NewHTTPGetTar(
|
|
nil, "https://github.com/openssl/openssl/releases/download/"+
|
|
"openssl-"+version+"/openssl-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), &PackageAttr{
|
|
Env: []string{
|
|
"CC=cc",
|
|
},
|
|
}, &MakeHelper{
|
|
OmitDefaults: true,
|
|
|
|
ConfigureName: "/usr/src/openssl/Configure",
|
|
Configure: [][2]string{
|
|
{"prefix", "/system"},
|
|
{"libdir", "lib"},
|
|
{"openssldir", "etc/ssl"},
|
|
},
|
|
Check: []string{
|
|
`HARNESS_JOBS="$(expr "$(nproc)" '*' 2)"`,
|
|
"test",
|
|
},
|
|
},
|
|
Perl,
|
|
Coreutils,
|
|
|
|
Zlib,
|
|
KernelHeaders,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[OpenSSL] = Metadata{
|
|
f: Toolchain.newOpenSSL,
|
|
|
|
Name: "openssl",
|
|
Description: "TLS/SSL and crypto library",
|
|
Website: "https://www.openssl.org/",
|
|
|
|
ID: 2566,
|
|
|
|
// strange malformed tags treated as pre-releases in Anitya
|
|
latest: (*Versions).getStable,
|
|
}
|
|
}
|