diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-05 21:32:15 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-05 21:32:15 +0900 |
| commit | f14ab8025324be1889e41c9642965faf9000ba1b (patch) | |
| tree | b9d7eb7bd58fc9fe70344a5500913c1b7c62c930 /internal/rosa/ssl.go | |
| parent | 9989881dd9bc153140d9da13bf12f09c5d5a7d5c (diff) | |
internal/rosa: populate Anitya project ids
This enables release monitoring for all applicable projects.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/ssl.go')
| -rw-r--r-- | internal/rosa/ssl.go | 8 |
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, } } |
