aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/p11.go
blob: 4e7630cd912ba0254761ff8670f5150009a977c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.newTagRemote(
		"https://github.com/p11-glue/p11-kit.git",
		version, checksum,
	), nil, &MesonHelper{
		Setup: []KV{
			{"Dsystemd", "disabled"},
			{"Dlibffi", "enabled"},
		},
	},
		Coreutils,
		Diffutils,

		Libtasn1,
	), 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",

		Dependencies: P{
			Libffi,
			Libtasn1,
		},

		ID: 2582,
	}
}