From f14ab8025324be1889e41c9642965faf9000ba1b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 5 Mar 2026 21:32:15 +0900 Subject: [PATCH] internal/rosa: populate Anitya project ids This enables release monitoring for all applicable projects. Signed-off-by: Ophestra --- internal/rosa/acl.go | 4 +++ internal/rosa/bzip2.go | 2 ++ internal/rosa/cmake.go | 2 ++ internal/rosa/curl.go | 2 ++ internal/rosa/dtc.go | 2 ++ internal/rosa/elfutils.go | 2 ++ internal/rosa/fakeroot.go | 2 ++ internal/rosa/flex.go | 2 ++ internal/rosa/fuse.go | 2 ++ internal/rosa/git.go | 2 ++ internal/rosa/gnu.go | 50 +++++++++++++++++++++++++++++++++++ internal/rosa/go.go | 2 ++ internal/rosa/gtk.go | 4 ++- internal/rosa/hakurei.go | 2 ++ internal/rosa/kernel.go | 2 ++ internal/rosa/kmod.go | 2 ++ internal/rosa/libcap.go | 2 ++ internal/rosa/libexpat.go | 2 ++ internal/rosa/libffi.go | 2 ++ internal/rosa/libgd.go | 2 ++ internal/rosa/libpsl.go | 2 ++ internal/rosa/libseccomp.go | 2 ++ internal/rosa/libucontext.go | 2 ++ internal/rosa/libxml2.go | 2 ++ internal/rosa/libxslt.go | 2 ++ internal/rosa/llvm.go | 2 ++ internal/rosa/make.go | 2 ++ internal/rosa/meson.go | 2 ++ internal/rosa/mksh.go | 2 ++ internal/rosa/musl-fts.go | 2 ++ internal/rosa/musl-obstack.go | 2 ++ internal/rosa/musl.go | 2 ++ internal/rosa/ncurses.go | 2 ++ internal/rosa/ninja.go | 2 ++ internal/rosa/openssl.go | 2 ++ internal/rosa/pcre2.go | 2 ++ internal/rosa/perl.go | 2 ++ internal/rosa/pkg-config.go | 2 ++ internal/rosa/procps.go | 2 ++ internal/rosa/python.go | 4 +++ internal/rosa/qemu.go | 2 ++ internal/rosa/rsync.go | 2 ++ internal/rosa/squashfs.go | 2 ++ internal/rosa/ssl.go | 8 ++++-- internal/rosa/toybox.go | 2 ++ internal/rosa/unzip.go | 2 ++ internal/rosa/util-linux.go | 2 ++ internal/rosa/wayland.go | 4 +++ internal/rosa/x.go | 6 +++++ internal/rosa/xcb.go | 4 +++ internal/rosa/xz.go | 2 ++ internal/rosa/zlib.go | 2 ++ internal/rosa/zstd.go | 2 ++ 53 files changed, 171 insertions(+), 3 deletions(-) diff --git a/internal/rosa/acl.go b/internal/rosa/acl.go index a924a0e..4f90f02 100644 --- a/internal/rosa/acl.go +++ b/internal/rosa/acl.go @@ -71,6 +71,8 @@ func init() { Name: "attr", Description: "Commands for Manipulating Filesystem Extended Attributes", Website: "https://savannah.nongnu.org/projects/attr/", + + ID: 137, } } @@ -98,5 +100,7 @@ func init() { Name: "acl", Description: "Commands for Manipulating POSIX Access Control Lists", Website: "https://savannah.nongnu.org/projects/acl/", + + ID: 16, } } diff --git a/internal/rosa/bzip2.go b/internal/rosa/bzip2.go index 87c56b9..776e90a 100644 --- a/internal/rosa/bzip2.go +++ b/internal/rosa/bzip2.go @@ -32,5 +32,7 @@ func init() { Name: "bzip2", Description: "a freely available, patent free, high-quality data compressor", Website: "https://sourceware.org/bzip2/", + + ID: 237, } } diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index 27956b0..1efbc1a 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -111,6 +111,8 @@ func init() { Name: "cmake", Description: "cross-platform, open-source build system", Website: "https://cmake.org/", + + ID: 306, } } diff --git a/internal/rosa/curl.go b/internal/rosa/curl.go index ac1050a..14dcb59 100644 --- a/internal/rosa/curl.go +++ b/internal/rosa/curl.go @@ -34,5 +34,7 @@ func init() { Name: "curl", Description: "command line tool and library for transferring data with URLs", Website: "https://curl.se/", + + ID: 381, } } diff --git a/internal/rosa/dtc.go b/internal/rosa/dtc.go index 17d4040..dc34177 100644 --- a/internal/rosa/dtc.go +++ b/internal/rosa/dtc.go @@ -37,5 +37,7 @@ func init() { Name: "dtc", Description: "The Device Tree Compiler", Website: "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/", + + ID: 16911, } } diff --git a/internal/rosa/elfutils.go b/internal/rosa/elfutils.go index ab8395e..bb9a451 100644 --- a/internal/rosa/elfutils.go +++ b/internal/rosa/elfutils.go @@ -45,5 +45,7 @@ func init() { Name: "elfutils", Description: "utilities and libraries to handle ELF files and DWARF data", Website: "https://sourceware.org/elfutils/", + + ID: 5679, } } diff --git a/internal/rosa/fakeroot.go b/internal/rosa/fakeroot.go index 173e3f5..4bb8f97 100644 --- a/internal/rosa/fakeroot.go +++ b/internal/rosa/fakeroot.go @@ -55,5 +55,7 @@ func init() { Name: "fakeroot", Description: "tool for simulating superuser privileges", Website: "https://salsa.debian.org/clint/fakeroot", + + ID: 12048, } } diff --git a/internal/rosa/flex.go b/internal/rosa/flex.go index fae7768..b318646 100644 --- a/internal/rosa/flex.go +++ b/internal/rosa/flex.go @@ -25,5 +25,7 @@ func init() { Name: "flex", Description: "scanner generator for lexing in C and C++", Website: "https://github.com/westes/flex/", + + ID: 819, } } diff --git a/internal/rosa/fuse.go b/internal/rosa/fuse.go index 9d2aaad..22c7cab 100644 --- a/internal/rosa/fuse.go +++ b/internal/rosa/fuse.go @@ -40,5 +40,7 @@ func init() { Name: "fuse", Description: "the reference implementation of the Linux FUSE interface", Website: "https://github.com/libfuse/libfuse/", + + ID: 861, } } diff --git a/internal/rosa/git.go b/internal/rosa/git.go index d1cbf1e..b1ca1e1 100644 --- a/internal/rosa/git.go +++ b/internal/rosa/git.go @@ -72,6 +72,8 @@ func init() { Name: "git", Description: "distributed version control system", Website: "https://www.git-scm.com/", + + ID: 5350, } } diff --git a/internal/rosa/gnu.go b/internal/rosa/gnu.go index f3f35ec..68155b7 100644 --- a/internal/rosa/gnu.go +++ b/internal/rosa/gnu.go @@ -27,6 +27,8 @@ func init() { Name: "m4", Description: "a macro processor with GNU extensions", Website: "https://www.gnu.org/software/m4/", + + ID: 1871, } } @@ -52,6 +54,8 @@ func init() { Name: "bison", Description: "a general-purpose parser generator", Website: "https://www.gnu.org/software/bison/", + + ID: 193, } } @@ -75,6 +79,8 @@ func init() { Name: "sed", Description: "a non-interactive command-line text editor", Website: "https://www.gnu.org/software/sed/", + + ID: 4789, } } @@ -108,6 +114,8 @@ func init() { Name: "autoconf", Description: "M4 macros to produce self-contained configure script", Website: "https://www.gnu.org/software/autoconf/", + + ID: 141, } } @@ -148,6 +156,8 @@ func init() { Name: "automake", Description: "a tool for automatically generating Makefile.in files", Website: "https://www.gnu.org/software/automake/", + + ID: 144, } } @@ -177,6 +187,8 @@ func init() { Name: "libtool", Description: "a generic library support script", Website: "https://www.gnu.org/software/libtool/", + + ID: 1741, } } @@ -201,6 +213,8 @@ func init() { Name: "gzip", Description: "a popular data compression program", Website: "https://www.gnu.org/software/gzip/", + + ID: 1290, } } @@ -245,6 +259,8 @@ func init() { Name: "gettext", Description: "tools for producing multi-lingual messages", Website: "https://www.gnu.org/software/gettext/", + + ID: 898, } } @@ -276,6 +292,8 @@ func init() { Name: "diffutils", Description: "several programs related to finding differences between files", Website: "https://www.gnu.org/software/diffutils/", + + ID: 436, } } @@ -306,6 +324,8 @@ func init() { Name: "patch", Description: "a program to apply diff output to files", Website: "https://savannah.gnu.org/projects/patch/", + + ID: 2597, } } @@ -334,6 +354,8 @@ func init() { Name: "bash", Description: "the Bourne Again SHell", Website: "https://www.gnu.org/software/bash/", + + ID: 166, } } @@ -378,6 +400,8 @@ func init() { Name: "coreutils", Description: "the basic file, shell and text manipulation utilities", Website: "https://www.gnu.org/software/coreutils/", + + ID: 343, } } @@ -404,6 +428,8 @@ func init() { Name: "texinfo", Description: "the GNU square-wheel-reinvension of man pages", Website: "https://www.gnu.org/software/texinfo/", + + ID: 4958, } } @@ -427,6 +453,8 @@ func init() { Name: "gperf", Description: "a perfect hash function generator", Website: "https://www.gnu.org/software/gperf/", + + ID: 1237, } } @@ -453,6 +481,8 @@ func init() { Name: "gawk", Description: "an implementation of awk with GNU extensions", Website: "https://www.gnu.org/software/gawk/", + + ID: 868, } } @@ -484,6 +514,8 @@ func init() { Name: "grep", Description: "searches input for lines containing a match to a pattern", Website: "https://www.gnu.org/software/grep/", + + ID: 1251, } } @@ -514,6 +546,8 @@ func init() { Name: "findutils", Description: "the basic directory searching utilities", Website: "https://www.gnu.org/software/findutils/", + + ID: 812, } } @@ -542,6 +576,8 @@ func init() { Name: "bc", Description: "an arbitrary precision numeric processing language", Website: "https://www.gnu.org/software/bc/", + + ID: 170, } } @@ -563,6 +599,8 @@ func init() { Name: "libiconv", Description: "iconv implementation independent of glibc", Website: "https://www.gnu.org/software/libiconv/", + + ID: 10656, } } @@ -603,6 +641,8 @@ func init() { Name: "tar", Description: "provides the ability to create tar archives", Website: "https://www.gnu.org/software/tar/", + + ID: 4939, } } @@ -626,6 +666,8 @@ func init() { Name: "binutils", Description: "a collection of binary tools", Website: "https://www.gnu.org/software/binutils/", + + ID: 7981, } } @@ -650,6 +692,8 @@ func init() { Name: "gmp", Description: "a free library for arbitrary precision arithmetic", Website: "https://gmplib.org/", + + ID: 1186, } } @@ -674,6 +718,8 @@ func init() { Name: "mpfr", Description: "a C library for multiple-precision floating-point computations", Website: "https://www.mpfr.org/", + + ID: 2019, } } @@ -699,6 +745,8 @@ func init() { Name: "mpc", Description: "a C library for the arithmetic of complex numbers", Website: "https://www.multiprecision.org/", + + ID: 1667, } } @@ -911,5 +959,7 @@ func init() { Name: "gcc", Description: "The GNU Compiler Collection", Website: "https://www.gnu.org/software/gcc/", + + ID: 6502, } } diff --git a/internal/rosa/go.go b/internal/rosa/go.go index 6278dfb..0c3198b 100644 --- a/internal/rosa/go.go +++ b/internal/rosa/go.go @@ -177,5 +177,7 @@ func init() { Name: "go", Description: "the Go programming language toolchain", Website: "https://go.dev/", + + ID: 1227, } } diff --git a/internal/rosa/gtk.go b/internal/rosa/gtk.go index eaa31eb..221a390 100644 --- a/internal/rosa/gtk.go +++ b/internal/rosa/gtk.go @@ -54,6 +54,8 @@ func init() { Name: "glib", Description: "the GNU library of miscellaneous stuff", - Website: "https://gitlab.gnome.org/GNOME/glib/", + Website: "https://developer.gnome.org/glib/", + + ID: 10024, } } diff --git a/internal/rosa/hakurei.go b/internal/rosa/hakurei.go index 06b7e15..947ed1d 100644 --- a/internal/rosa/hakurei.go +++ b/internal/rosa/hakurei.go @@ -90,6 +90,8 @@ mkdir -p /work/system/bin/ Name: "hakurei", Description: "low-level userspace tooling for Rosa OS", Website: "https://hakurei.app/", + + ID: 388834, } artifactsM[HakureiDist] = Metadata{ f: func(t Toolchain) (pkg.Artifact, string) { diff --git a/internal/rosa/kernel.go b/internal/rosa/kernel.go index 826aa16..0dd630b 100644 --- a/internal/rosa/kernel.go +++ b/internal/rosa/kernel.go @@ -148,6 +148,8 @@ func init() { Name: "kernel", Description: "the generic Rosa OS linux kernel", Website: "https://kernel.org/", + + ID: 375621, } } diff --git a/internal/rosa/kmod.go b/internal/rosa/kmod.go index 1b899e3..22ff399 100644 --- a/internal/rosa/kmod.go +++ b/internal/rosa/kmod.go @@ -37,5 +37,7 @@ func init() { Name: "kmod", Description: "a set of tools to handle common tasks with Linux kernel modules", Website: "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git", + + ID: 1517, } } diff --git a/internal/rosa/libcap.go b/internal/rosa/libcap.go index 0806415..cd19124 100644 --- a/internal/rosa/libcap.go +++ b/internal/rosa/libcap.go @@ -48,5 +48,7 @@ func init() { Name: "libcap", Description: "a library for getting and setting POSIX.1e draft 15 capabilities", Website: "https://sites.google.com/site/fullycapable/", + + ID: 1569, } } diff --git a/internal/rosa/libexpat.go b/internal/rosa/libexpat.go index 616b486..47036bf 100644 --- a/internal/rosa/libexpat.go +++ b/internal/rosa/libexpat.go @@ -28,5 +28,7 @@ func init() { Name: "libexpat", Description: "a stream-oriented XML parser library", Website: "https://libexpat.github.io/", + + ID: 770, } } diff --git a/internal/rosa/libffi.go b/internal/rosa/libffi.go index b5994ce..84869dc 100644 --- a/internal/rosa/libffi.go +++ b/internal/rosa/libffi.go @@ -23,5 +23,7 @@ func init() { Name: "libffi", Description: "a portable, high level programming interface to various calling conventions", Website: "https://sourceware.org/libffi/", + + ID: 1611, } } diff --git a/internal/rosa/libgd.go b/internal/rosa/libgd.go index d06b8e3..c6b9204 100644 --- a/internal/rosa/libgd.go +++ b/internal/rosa/libgd.go @@ -30,5 +30,7 @@ func init() { Name: "libgd", Description: "an open source code library for the dynamic creation of images", Website: "https://libgd.github.io/", + + ID: 880, } } diff --git a/internal/rosa/libpsl.go b/internal/rosa/libpsl.go index 6dd54f0..4f1cd40 100644 --- a/internal/rosa/libpsl.go +++ b/internal/rosa/libpsl.go @@ -30,5 +30,7 @@ func init() { Name: "libpsl", Description: "provides functions to work with the Mozilla Public Suffix List", Website: "https://rockdaboot.github.io/libpsl/", + + ID: 7305, } } diff --git a/internal/rosa/libseccomp.go b/internal/rosa/libseccomp.go index fba718f..814c839 100644 --- a/internal/rosa/libseccomp.go +++ b/internal/rosa/libseccomp.go @@ -31,5 +31,7 @@ func init() { Name: "libseccomp", Description: "an interface to the Linux Kernel's syscall filtering mechanism", Website: "https://github.com/seccomp/libseccomp/", + + ID: 13823, } } diff --git a/internal/rosa/libucontext.go b/internal/rosa/libucontext.go index 7bbba7e..5b267dc 100644 --- a/internal/rosa/libucontext.go +++ b/internal/rosa/libucontext.go @@ -34,5 +34,7 @@ func init() { Name: "libucontext", Description: "ucontext implementation featuring glibc-compatible ABI", Website: "https://github.com/kaniini/libucontext/", + + ID: 17085, } } diff --git a/internal/rosa/libxml2.go b/internal/rosa/libxml2.go index 4e1a10b..a471d0a 100644 --- a/internal/rosa/libxml2.go +++ b/internal/rosa/libxml2.go @@ -30,5 +30,7 @@ func init() { Name: "libxml2", Description: "an XML toolkit implemented in C", Website: "https://gitlab.gnome.org/GNOME/libxml2/", + + ID: 1783, } } diff --git a/internal/rosa/libxslt.go b/internal/rosa/libxslt.go index 87018ad..40f65ff 100644 --- a/internal/rosa/libxslt.go +++ b/internal/rosa/libxslt.go @@ -36,5 +36,7 @@ func init() { Name: "libxslt", Description: "an XSLT processor based on libxml2", Website: "https://gitlab.gnome.org/GNOME/libxslt/", + + ID: 13301, } } diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index 105d77c..ef68776 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -521,6 +521,8 @@ func init() { Name: "clang", Description: `an "LLVM native" C/C++/Objective-C compiler`, Website: "https://llvm.org/", + + ID: 1830, } } diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 9af0127..92fa102 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -33,6 +33,8 @@ func init() { Name: "make", Description: "a tool which controls the generation of executables and other non-source files", Website: "https://www.gnu.org/software/make/", + + ID: 1877, } } diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go index 0bd1d71..9754ae9 100644 --- a/internal/rosa/meson.go +++ b/internal/rosa/meson.go @@ -36,6 +36,8 @@ func init() { Name: "meson", Description: "an open source build system", Website: "https://mesonbuild.com/", + + ID: 6472, } } diff --git a/internal/rosa/mksh.go b/internal/rosa/mksh.go index 8c2ac50..1fc1015 100644 --- a/internal/rosa/mksh.go +++ b/internal/rosa/mksh.go @@ -40,5 +40,7 @@ func init() { Name: "mksh", Description: "MirBSD Korn Shell", Website: "https://www.mirbsd.org/mksh", + + ID: 5590, } } diff --git a/internal/rosa/musl-fts.go b/internal/rosa/musl-fts.go index 1ce5077..5e0e016 100644 --- a/internal/rosa/musl-fts.go +++ b/internal/rosa/musl-fts.go @@ -34,5 +34,7 @@ func init() { Name: "musl-fts", Description: "implementation of fts(3) functions which are missing in musl libc", Website: "https://github.com/void-linux/musl-fts", + + ID: 26980, } } diff --git a/internal/rosa/musl-obstack.go b/internal/rosa/musl-obstack.go index 613e287..84d5045 100644 --- a/internal/rosa/musl-obstack.go +++ b/internal/rosa/musl-obstack.go @@ -34,5 +34,7 @@ func init() { Name: "musl-obstack", Description: "obstack functions and macros separated from glibc", Website: "https://github.com/void-linux/musl-obstack", + + ID: 146206, } } diff --git a/internal/rosa/musl.go b/internal/rosa/musl.go index 1b2c509..cecdb5b 100644 --- a/internal/rosa/musl.go +++ b/internal/rosa/musl.go @@ -61,5 +61,7 @@ func init() { Name: "musl", Description: "an implementation of the C standard library", Website: "https://musl.libc.org/", + + ID: 11688, } } diff --git a/internal/rosa/ncurses.go b/internal/rosa/ncurses.go index 45a8609..ef52bf5 100644 --- a/internal/rosa/ncurses.go +++ b/internal/rosa/ncurses.go @@ -30,5 +30,7 @@ func init() { Name: "ncurses", Description: "a free software emulation of curses in System V Release 4.0 (SVr4)", Website: "https://invisible-island.net/ncurses/", + + ID: 2057, } } diff --git a/internal/rosa/ninja.go b/internal/rosa/ninja.go index 7cc5cca..bcb7f85 100644 --- a/internal/rosa/ninja.go +++ b/internal/rosa/ninja.go @@ -42,5 +42,7 @@ func init() { Name: "ninja", Description: "a small build system with a focus on speed", Website: "https://ninja-build.org/", + + ID: 2089, } } diff --git a/internal/rosa/openssl.go b/internal/rosa/openssl.go index e798b3e..2b0f5e3 100644 --- a/internal/rosa/openssl.go +++ b/internal/rosa/openssl.go @@ -44,5 +44,7 @@ func init() { Name: "openssl", Description: "TLS/SSL and crypto library", Website: "https://www.openssl.org/", + + ID: 2566, } } diff --git a/internal/rosa/pcre2.go b/internal/rosa/pcre2.go index 53ab3e5..433c7de 100644 --- a/internal/rosa/pcre2.go +++ b/internal/rosa/pcre2.go @@ -37,5 +37,7 @@ func init() { Name: "pcre2", Description: "a set of C functions that implement regular expression pattern matching", Website: "https://pcre2project.github.io/pcre2/", + + ID: 5832, } } diff --git a/internal/rosa/perl.go b/internal/rosa/perl.go index e98cddc..2d3fea5 100644 --- a/internal/rosa/perl.go +++ b/internal/rosa/perl.go @@ -54,6 +54,8 @@ func init() { Name: "perl", Description: "The Perl Programming language", Website: "https://www.perl.org/", + + ID: 13599, } } diff --git a/internal/rosa/pkg-config.go b/internal/rosa/pkg-config.go index e868249..594e770 100644 --- a/internal/rosa/pkg-config.go +++ b/internal/rosa/pkg-config.go @@ -26,5 +26,7 @@ func init() { Name: "pkg-config", Description: "a helper tool used when compiling applications and libraries", Website: "https://pkgconfig.freedesktop.org/", + + ID: 3649, } } diff --git a/internal/rosa/procps.go b/internal/rosa/procps.go index a7397fb..f078c43 100644 --- a/internal/rosa/procps.go +++ b/internal/rosa/procps.go @@ -36,5 +36,7 @@ func init() { Name: "procps", Description: "command line and full screen utilities for browsing procfs", Website: "https://gitlab.com/procps-ng/procps", + + ID: 3708, } } diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 2adee57..683f37e 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -68,6 +68,8 @@ func init() { Name: "python", Description: "the Python programming language interpreter", Website: "https://www.python.org/", + + ID: 13254, } } @@ -131,6 +133,8 @@ func init() { Name: "setuptools", Description: "the autotools of the Python ecosystem", Website: "https://pypi.org/project/setuptools/", + + ID: 4021, } } diff --git a/internal/rosa/qemu.go b/internal/rosa/qemu.go index e609ec6..96be87c 100644 --- a/internal/rosa/qemu.go +++ b/internal/rosa/qemu.go @@ -102,5 +102,7 @@ func init() { Name: "qemu", Description: "a generic and open source machine emulator and virtualizer", Website: "https://www.qemu.org/", + + ID: 13607, } } diff --git a/internal/rosa/rsync.go b/internal/rosa/rsync.go index 7816465..041264b 100644 --- a/internal/rosa/rsync.go +++ b/internal/rosa/rsync.go @@ -33,5 +33,7 @@ func init() { Name: "rsync", Description: "an open source utility that provides fast incremental file transfer", Website: "https://rsync.samba.org/", + + ID: 4217, } } diff --git a/internal/rosa/squashfs.go b/internal/rosa/squashfs.go index 79d97f1..555549d 100644 --- a/internal/rosa/squashfs.go +++ b/internal/rosa/squashfs.go @@ -47,5 +47,7 @@ func init() { Name: "squashfs-tools", Description: "tools to create and extract Squashfs filesystems", Website: "https://github.com/plougher/squashfs-tools", + + ID: 4879, } } diff --git a/internal/rosa/ssl.go b/internal/rosa/ssl.go index 59e2667..56fdc40 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, } } diff --git a/internal/rosa/toybox.go b/internal/rosa/toybox.go index 23fffd5..86a6624 100644 --- a/internal/rosa/toybox.go +++ b/internal/rosa/toybox.go @@ -67,6 +67,8 @@ func init() { Name: "toybox", Description: "many common Linux command line utilities", Website: "https://landley.net/toybox/", + + ID: 13818, } artifactsM[toyboxEarly] = Metadata{ diff --git a/internal/rosa/unzip.go b/internal/rosa/unzip.go index cc82142..f6a65b8 100644 --- a/internal/rosa/unzip.go +++ b/internal/rosa/unzip.go @@ -38,5 +38,7 @@ func init() { Name: "unzip", Description: "portable compression/archiver utilities", Website: "https://infozip.sourceforge.net/", + + ID: 8684, } } diff --git a/internal/rosa/util-linux.go b/internal/rosa/util-linux.go index a1c7247..0848cc0 100644 --- a/internal/rosa/util-linux.go +++ b/internal/rosa/util-linux.go @@ -53,5 +53,7 @@ func init() { Name: "util-linux", Description: "a random collection of Linux utilities", Website: "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git", + + ID: 8179, } } diff --git a/internal/rosa/wayland.go b/internal/rosa/wayland.go index 1e50f93..1e6ba7c 100644 --- a/internal/rosa/wayland.go +++ b/internal/rosa/wayland.go @@ -41,6 +41,8 @@ func init() { Name: "wayland", Description: "core Wayland window system code and protocol", Website: "https://wayland.freedesktop.org/", + + ID: 10061, } } @@ -122,5 +124,7 @@ func init() { Name: "wayland-protocols", Description: "Additional standard Wayland protocols", Website: "https://wayland.freedesktop.org/", + + ID: 13997, } } diff --git a/internal/rosa/x.go b/internal/rosa/x.go index 0d8ff95..feefa18 100644 --- a/internal/rosa/x.go +++ b/internal/rosa/x.go @@ -21,6 +21,8 @@ func init() { Name: "util-macros", Description: "X.Org Autotools macros", Website: "https://xorg.freedesktop.org/", + + ID: 5252, } } @@ -54,6 +56,8 @@ func init() { Name: "xproto", Description: "X Window System unified protocol definitions", Website: "https://gitlab.freedesktop.org/xorg/proto/xorgproto", + + ID: 13650, } } @@ -89,5 +93,7 @@ func init() { Name: "libXau", Description: "functions for handling Xauthority files and entries", Website: "https://gitlab.freedesktop.org/xorg/lib/libxau", + + ID: 1765, } } diff --git a/internal/rosa/xcb.go b/internal/rosa/xcb.go index b27a4b9..d3fac5e 100644 --- a/internal/rosa/xcb.go +++ b/internal/rosa/xcb.go @@ -22,6 +22,8 @@ func init() { Name: "xcb-proto", Description: "XML-XCB protocol descriptions used by libxcb for the X11 protocol & extensions", Website: "https://gitlab.freedesktop.org/xorg/proto/xcbproto", + + ID: 13646, } } @@ -50,5 +52,7 @@ func init() { Name: "xcb", Description: "The X protocol C-language Binding", Website: "https://xcb.freedesktop.org/", + + ID: 1767, } } diff --git a/internal/rosa/xz.go b/internal/rosa/xz.go index 806c9b4..2365cf8 100644 --- a/internal/rosa/xz.go +++ b/internal/rosa/xz.go @@ -23,5 +23,7 @@ func init() { Name: "xz", Description: "XZ Utils", Website: "https://tukaani.org/xz/", + + ID: 5277, } } diff --git a/internal/rosa/zlib.go b/internal/rosa/zlib.go index 3bd5f46..072971c 100644 --- a/internal/rosa/zlib.go +++ b/internal/rosa/zlib.go @@ -29,5 +29,7 @@ func init() { Name: "zlib", Description: "lossless data-compression library", Website: "https://zlib.net/", + + ID: 5303, } } diff --git a/internal/rosa/zstd.go b/internal/rosa/zstd.go index 96d9b07..ad288ef 100644 --- a/internal/rosa/zstd.go +++ b/internal/rosa/zstd.go @@ -27,5 +27,7 @@ func init() { Name: "zstd", Description: "a fast compression algorithm", Website: "https://facebook.github.io/zstd/", + + ID: 12083, } }