internal/rosa/package: migrate many libraries

This also adds more string helpers.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 03:14:11 +09:00
parent 96abf266dd
commit ef414ab01a
36 changed files with 479 additions and 595 deletions

View File

@@ -0,0 +1,27 @@
package libseccomp {
description = "an interface to the Linux Kernel's syscall filtering mechanism";
website = "https://github.com/seccomp/libseccomp";
anitya = 13823;
version* = "2.6.0";
source = remoteGitHubRelease {
suffix = "seccomp/libseccomp";
tag = "v"+version;
name = "libseccomp-"+version+".tar.gz";
checksum = "mMu-iR71guPjFbb31u-YexBaanKE_nYPjPux-vuBiPfS_0kbwJdfCGlkofaUm-EY";
compress = gzip;
};
patches = [ "fix-export-oob-read.patch" ];
early = "\nln -s ../system/bin/bash /bin/\n";
exec = make {};
inputs = [
bash,
diffutils,
gperf,
kernel-headers,
];
}