aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/ssl.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/ssl.go')
-rw-r--r--internal/rosa/ssl.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/internal/rosa/ssl.go b/internal/rosa/ssl.go
index 59e2667e..56fdc407 100644
--- a/internal/rosa/ssl.go
+++ b/internal/rosa/ssl.go
@@ -1,12 +1,14 @@
package rosa
import (
+ "strings"
+
"hakurei.app/internal/pkg"
)
func (t Toolchain) newNSS() (pkg.Artifact, string) {
const (
- version = "3_120"
+ version = "3.120"
checksum = "9M0SNMrj9BJp6RH2rQnMm6bZWtP0Kgj64D5JNPHF7Cxr2_8kfy3msubIcvEPwC35"
version0 = "4_38_2"
@@ -14,7 +16,7 @@ func (t Toolchain) newNSS() (pkg.Artifact, string) {
)
return t.NewPackage("nss", version, pkg.NewHTTPGetTar(
nil, "https://github.com/nss-dev/nss/archive/refs/tags/"+
- "NSS_"+version+"_RTM.tar.gz",
+ "NSS_"+strings.Join(strings.SplitN(version, ".", 2), "_")+"_RTM.tar.gz",
mustDecode(checksum),
pkg.TarGzip,
), &PackageAttr{
@@ -72,6 +74,8 @@ func init() {
Name: "nss",
Description: "Network Security Services",
Website: "https://firefox-source-docs.mozilla.org/security/nss/index.html",
+
+ ID: 2503,
}
}