adding llvm-core/lld - dependency

This commit is contained in:
Micha Glave
2026-01-22 16:54:10 +01:00
parent 677c321709
commit 53df3a9038

View File

@@ -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