diff options
Diffstat (limited to 'security/kanidm/files')
| -rw-r--r-- | security/kanidm/files/kanidmd.in | 8 | ||||
| -rw-r--r-- | security/kanidm/files/patch-rust-1.89.0 | 10 |
2 files changed, 5 insertions, 13 deletions
diff --git a/security/kanidm/files/kanidmd.in b/security/kanidm/files/kanidmd.in index db80a5028cfb..e9f06fb44f94 100644 --- a/security/kanidm/files/kanidmd.in +++ b/security/kanidm/files/kanidmd.in @@ -7,8 +7,9 @@ # Add these lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # -# kanidmd_enable (bool): Set to NO by default. -# Set it to YES to enable kanidm_unixd. +# kanidmd_enable (bool): Enable kanidmd. (default=NO) +# kanidmd_config (str): Configuration file. +# (default=%%ETCDIR%%/config.toml) . /etc/rc.subr @@ -18,10 +19,11 @@ rcvar=kanidmd_enable load_rc_config $name : ${kanidmd_enable:="NO"} +: ${kanidmd_config:="%%ETCDIR%%/config.toml"} pidfile="/var/run/kanidmd.pid" command=/usr/sbin/daemon -command_args="-u %%USER%% -p /var/run/kanidmd.pid -T kanidmd %%PREFIX%%/libexec/${name}" +command_args="-u %%USER%% -p /var/run/kanidmd.pid -T kanidmd %%PREFIX%%/libexec/${name} server --config-path ${kanidmd_config}" procname=%%PREFIX%%/libexec/${name} run_rc_command "$1" diff --git a/security/kanidm/files/patch-rust-1.89.0 b/security/kanidm/files/patch-rust-1.89.0 deleted file mode 100644 index 3775ee9a29d2..000000000000 --- a/security/kanidm/files/patch-rust-1.89.0 +++ /dev/null @@ -1,10 +0,0 @@ ---- ../rust-sshkeys-d736693769b9c4abebad8050fba92271f3c50226/src/reader.rs.orig 2025-09-17 10:09:23 UTC -+++ ../rust-sshkeys-d736693769b9c4abebad8050fba92271f3c50226/src/reader.rs -@@ -21,6 +21,7 @@ impl<'a> Reader<'a> { - /// let num = reader.read_u32().unwrap(); - /// assert_eq!(num, 42); - /// ``` -+ #[allow(mismatched_lifetime_syntaxes)] - pub fn new<T: ?Sized + AsRef<[u8]>>(inner: &T) -> Reader { - Reader { - inner: inner.as_ref(), |
