forked from rosa/hakurei
internal/rosa: remove global handles
These no longer serve any purpose. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user