ld-audit-search-mod: init at 0-unstable-2025-06-19 (#418244)

This commit is contained in:
Yang, Bo 2025-08-07 07:48:25 -07:00 committed by GitHub
parent 7e27f1d147
commit ddbe450f40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 50 additions and 0 deletions

View File

@ -5966,6 +5966,12 @@
githubId = 58050402;
name = "Jost Alemann";
};
DDoSolitary = {
email = "DDoSolitary@gmail.com";
github = "DDoSolitary";
githubId = 25856103;
name = "DDoSolitary";
};
dduan = {
email = "daniel@duan.ca";
github = "dduan";

View File

@ -0,0 +1,44 @@
{
cmake,
fetchFromGitHub,
lib,
stdenv,
storeDir ? builtins.storeDir,
spdlog,
yaml-cpp,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ld-audit-search-mod";
version = "0-unstable-2025-06-19";
src = fetchFromGitHub {
repo = "ld-audit-search-mod";
owner = "DDoSolitary";
rev = "261f475f154d0f1f0766d6756af9c714eeeb14ea";
hash = "sha256-c6ub+m4ihIE3gh6yHtLfJIVqm12C46wThrBCqp8SOLE=";
sparseCheckout = [ "src" ];
};
sourceRoot = "${finalAttrs.src.name}/src";
buildInputs = [
spdlog
yaml-cpp
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
(lib.cmakeFeature "NIX_RTLD_NAME" (builtins.baseNameOf stdenv.cc.bintools.dynamicLinker))
(lib.cmakeFeature "NIX_STORE_DIR" storeDir)
];
meta = {
inherit (finalAttrs.src.meta) homepage;
description = "Audit module that modifies ld.so library search behavior";
license = lib.licenses.mit;
maintainers = [
lib.maintainers.atry
lib.maintainers.DDoSolitary
];
platforms = lib.platforms.linux;
};
})