From 53df3a90389ca0cc80b155e4fb6cd191357c5358 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Thu, 22 Jan 2026 16:54:10 +0100 Subject: [PATCH] adding llvm-core/lld - dependency --- net-nds/kanidm/kanidm-1.8.5-r2.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-nds/kanidm/kanidm-1.8.5-r2.ebuild b/net-nds/kanidm/kanidm-1.8.5-r2.ebuild index 1f4e9bc..0565145 100644 --- a/net-nds/kanidm/kanidm-1.8.5-r2.ebuild +++ b/net-nds/kanidm/kanidm-1.8.5-r2.ebuild @@ -786,13 +786,16 @@ RUST_MIN_VER="1.90" DEPEND=" acct? ( + server? ( acct-group/kanidm acct-user/kanidm ) + ) pam? ( sys-libs/pam ) tpm? ( app-crypt/tpm2-tss ) " BDEPEND=" llvm-core/clang + llvm-core/lld sys-devel/binutils >=dev-lang/rust-bin-1.90.0 tpm? ( dev-util/pkgconf ) @@ -837,7 +840,8 @@ src_install() { insinto /etc/kanidm newins examples/kanidm config newins examples/radius_full.toml radius.toml - newins examples/unixd unixd + doins examples/unixd + fperms 0644 /etc/kanidm/{,config,radius.toml,unixd} for d in "kanidm" "kanidm_ssh_authorizedkeys" "kanidm_ssh_authorizedkeys_direct" "kanidm-unix" ; do dobin target/release/${d} @@ -874,9 +878,8 @@ src_install() { dozshcomp target/release/build/completions/_kanidmd fi + if use acct; then - fowners root:kanidm /etc/kanidm/{,config,radius.toml,unixd} - fperms 0644 /etc/kanidm/{,config,radius.toml,unixd} if use server; then fowners root:kanidm /etc/kanidm/server.toml fperms 0640 /etc/kanidm/server.toml