internal/rosa: p11-kit artifact
All checks were successful
Test / Create distribution (push) Successful in 1m2s
Test / Sandbox (push) Successful in 2m42s
Test / ShareFS (push) Successful in 3m45s
Test / Hakurei (push) Successful in 3m49s
Test / Sandbox (race detector) (push) Successful in 5m10s
Test / Hakurei (race detector) (push) Successful in 6m16s
Test / Flake checks (push) Successful in 1m22s
All checks were successful
Test / Create distribution (push) Successful in 1m2s
Test / Sandbox (push) Successful in 2m42s
Test / ShareFS (push) Successful in 3m45s
Test / Hakurei (push) Successful in 3m49s
Test / Sandbox (race detector) (push) Successful in 5m10s
Test / Hakurei (race detector) (push) Successful in 6m16s
Test / Flake checks (push) Successful in 1m22s
Another package distributed in xz only. This is fetched from the git remote directly to avoid XZ Utils. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -101,6 +101,7 @@ const (
|
|||||||
Nettle
|
Nettle
|
||||||
Ninja
|
Ninja
|
||||||
OpenSSL
|
OpenSSL
|
||||||
|
P11Kit
|
||||||
PCRE2
|
PCRE2
|
||||||
Parallel
|
Parallel
|
||||||
Patch
|
Patch
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
package rosa
|
package rosa
|
||||||
|
|
||||||
import "hakurei.app/internal/pkg"
|
import (
|
||||||
|
"path"
|
||||||
|
|
||||||
|
"hakurei.app/internal/pkg"
|
||||||
|
)
|
||||||
|
|
||||||
func (t Toolchain) newGit() (pkg.Artifact, string) {
|
func (t Toolchain) newGit() (pkg.Artifact, string) {
|
||||||
const (
|
const (
|
||||||
@@ -90,7 +94,7 @@ func (t Toolchain) NewViaGit(
|
|||||||
name, url, rev string,
|
name, url, rev string,
|
||||||
checksum pkg.Checksum,
|
checksum pkg.Checksum,
|
||||||
) pkg.Artifact {
|
) pkg.Artifact {
|
||||||
return t.New(name+"-"+rev, 0, t.AppendPresets(nil,
|
return t.New(name+"-"+path.Base(rev), 0, t.AppendPresets(nil,
|
||||||
NSSCACert,
|
NSSCACert,
|
||||||
Git,
|
Git,
|
||||||
), &checksum, nil, `
|
), &checksum, nil, `
|
||||||
|
|||||||
32
internal/rosa/p11.go
Normal file
32
internal/rosa/p11.go
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
package rosa
|
||||||
|
|
||||||
|
import "hakurei.app/internal/pkg"
|
||||||
|
|
||||||
|
func (t Toolchain) newP11Kit() (pkg.Artifact, string) {
|
||||||
|
const (
|
||||||
|
version = "0.26.2"
|
||||||
|
checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N"
|
||||||
|
)
|
||||||
|
return t.NewPackage("p11-kit", version, t.NewViaGit(
|
||||||
|
"p11-kit-src", "https://github.com/p11-glue/p11-kit.git",
|
||||||
|
"refs/tags/"+version, mustDecode(checksum),
|
||||||
|
), nil, &MesonHelper{
|
||||||
|
Setup: []KV{
|
||||||
|
{"Dsystemd", "disabled"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Coreutils,
|
||||||
|
Diffutils,
|
||||||
|
), version
|
||||||
|
}
|
||||||
|
func init() {
|
||||||
|
artifactsM[P11Kit] = Metadata{
|
||||||
|
f: Toolchain.newP11Kit,
|
||||||
|
|
||||||
|
Name: "p11-kit",
|
||||||
|
Description: "provides a way to load and enumerate PKCS#11 modules",
|
||||||
|
Website: "https://p11-glue.freedesktop.org/p11-kit.html",
|
||||||
|
|
||||||
|
ID: 2582,
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user