adding llvm-core/lld - dependency
This commit is contained in:
@@ -786,13 +786,16 @@ RUST_MIN_VER="1.90"
|
|||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
acct? (
|
acct? (
|
||||||
|
server? (
|
||||||
acct-group/kanidm
|
acct-group/kanidm
|
||||||
acct-user/kanidm )
|
acct-user/kanidm )
|
||||||
|
)
|
||||||
pam? ( sys-libs/pam )
|
pam? ( sys-libs/pam )
|
||||||
tpm? ( app-crypt/tpm2-tss )
|
tpm? ( app-crypt/tpm2-tss )
|
||||||
"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
llvm-core/clang
|
llvm-core/clang
|
||||||
|
llvm-core/lld
|
||||||
sys-devel/binutils
|
sys-devel/binutils
|
||||||
>=dev-lang/rust-bin-1.90.0
|
>=dev-lang/rust-bin-1.90.0
|
||||||
tpm? ( dev-util/pkgconf )
|
tpm? ( dev-util/pkgconf )
|
||||||
@@ -837,7 +840,8 @@ src_install() {
|
|||||||
insinto /etc/kanidm
|
insinto /etc/kanidm
|
||||||
newins examples/kanidm config
|
newins examples/kanidm config
|
||||||
newins examples/radius_full.toml radius.toml
|
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
|
for d in "kanidm" "kanidm_ssh_authorizedkeys" "kanidm_ssh_authorizedkeys_direct" "kanidm-unix" ; do
|
||||||
dobin target/release/${d}
|
dobin target/release/${d}
|
||||||
@@ -874,9 +878,8 @@ src_install() {
|
|||||||
dozshcomp target/release/build/completions/_kanidmd
|
dozshcomp target/release/build/completions/_kanidmd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if use acct; then
|
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
|
if use server; then
|
||||||
fowners root:kanidm /etc/kanidm/server.toml
|
fowners root:kanidm /etc/kanidm/server.toml
|
||||||
fperms 0640 /etc/kanidm/server.toml
|
fperms 0640 /etc/kanidm/server.toml
|
||||||
|
|||||||
Reference in New Issue
Block a user