aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/nss.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/nss.go')
-rw-r--r--internal/rosa/nss.go22
1 files changed, 14 insertions, 8 deletions
diff --git a/internal/rosa/nss.go b/internal/rosa/nss.go
index cbb2bd5d..a9aed1c4 100644
--- a/internal/rosa/nss.go
+++ b/internal/rosa/nss.go
@@ -6,6 +6,12 @@ import (
"hakurei.app/internal/pkg"
)
+var (
+ unzip = H("unzip")
+ nss = H("nss")
+ nssCACert = H("nss-cacert")
+)
+
func (t Toolchain) newNSS() (pkg.Artifact, string) {
const (
version = "3.123.1"
@@ -58,12 +64,12 @@ cp -r \
},
Perl,
Python,
- Unzip,
- Gawk,
- Coreutils,
+ unzip,
+ gawk,
+ coreutils,
- Zlib,
- KernelHeaders,
+ zlib,
+ kernelHeaders,
), version
}
func init() {
@@ -73,7 +79,7 @@ func init() {
Website: "https://firefox-source-docs.mozilla.org/security/nss/index.html",
Dependencies: P{
- Zlib,
+ zlib,
},
ID: 2503,
@@ -82,9 +88,9 @@ func init() {
func (t Toolchain) newNSSCACert() (pkg.Artifact, string) {
return t.New("nss-cacert", 0, t.Append(nil,
- Bash,
+ bash,
- NSS,
+ nss,
H("buildcatrust"),
), nil, nil, `
mkdir -p /work/system/etc/ssl/{certs/unbundled,certs/hashed,trust-source}