summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/ksmbd-tools/files/initd4
-rw-r--r--net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r2.ebuild (renamed from net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r1.ebuild)6
2 files changed, 7 insertions, 3 deletions
diff --git a/net-fs/ksmbd-tools/files/initd b/net-fs/ksmbd-tools/files/initd
index 1492c15444e9..c60577a17499 100644
--- a/net-fs/ksmbd-tools/files/initd
+++ b/net-fs/ksmbd-tools/files/initd
@@ -11,8 +11,8 @@ depend() {
description="ksmbd userspace daemon"
-command="/usr/sbin/ksmbd.mountd"
-command_control="/usr/sbin/ksmbd.control"
+command="/sbin/ksmbd.mountd"
+command_control="/sbin/ksmbd.control"
command_args="-s"
required_files="${KSMBD_CONF}"
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r1.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r2.ebuild
index f2b872530486..2f29eedec6ea 100644
--- a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r1.ebuild
+++ b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r2.ebuild
@@ -40,7 +40,8 @@ src_prepare() {
src_configure() {
# TODO: add kerberos support, explicitly disable for now
- econf --enable-krb5=no
+ # tools are expected to recide in /sbin, not /usr/sbin
+ econf --prefix="${EPREFIX}/" --enable-krb5=no
}
src_install() {
@@ -55,5 +56,8 @@ src_install() {
newinitd "${FILESDIR}/initd" ksmbd
newconfd "${FILESDIR}/confd" ksmbd
+ dosym ksmbd.addshare /sbin/smbshareadd
+ dosym ksmbd.adduser /sbin/smbuseradd
+
systemd_dounit ksmbd.service
}