From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
Date: Fri, 21 Jan 2022 09:20:12 +0000 (UTC) [thread overview]
Message-ID: <1642756798.372b44602d13fbbe1f00ae5544ac2f546b80aad2.gyakovlev@gentoo> (raw)
commit: 372b44602d13fbbe1f00ae5544ac2f546b80aad2
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 21 02:37:55 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan 21 09:19:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=372b4460
net-fs/ksmbd-tools: add 3.4.4
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-fs/ksmbd-tools/Manifest | 1 +
net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild | 60 +++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/net-fs/ksmbd-tools/Manifest b/net-fs/ksmbd-tools/Manifest
index 2ae4c985be1d..b0931c87d617 100644
--- a/net-fs/ksmbd-tools/Manifest
+++ b/net-fs/ksmbd-tools/Manifest
@@ -1 +1,2 @@
DIST ksmbd-tools-3.4.3.tar.gz 75315 BLAKE2B 9b09abb1f7fdf529c1627b783083e21bf4de22c8f34bdcb22632c67400b55e747f3a464d87612eba961a44c66e3335178b11f9a30a2feb655899deeabef09a3b SHA512 bfc8d26ba471381c7281a3b926083194b74a85d6e4c3ad734ba77f4d5b2a7b462a2b7f3a80efceb5d4cce577d1e40b8600a1f9700e9a9b91fea5e229b15a545c
+DIST ksmbd-tools-3.4.4.tar.gz 75481 BLAKE2B 84c215b0ccad01956185d42b858eb0de6a3407fc32c59628964ab38a2946fe5123fc73cc06cb04e8864199751f26e509ae5f6ebf6f5e7eb5f1fb8f21a4452a48 SHA512 b7be00e38eb126a0d5b8b3d9dde7c997b4012b29604d899a5f2fe3a77a3c30ac5d4bf00b7fc88d57150fd574af38bd2823c736d272a2cd596d40ccbe14a15320
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild
new file mode 100644
index 000000000000..727d4cd275f0
--- /dev/null
+++ b/net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="cifsd/ksmbd kernel server userspace utilities"
+HOMEPAGE="https://github.com/cifsd-team/ksmbd-tools"
+SRC_URI="https://github.com/cifsd-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+DEPEND="
+ dev-libs/glib:2
+ dev-libs/libnl:3
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_setup() {
+ # we don't want to die() here to be able to build binpkgs
+ kernel_is -lt 5 15 && eerror "kernel >= 5.15 required for ${PN}"
+ CONFIG_CHECK="~SMB_SERVER"
+ ERROR_SMB_SERVER="CONFIG_SMB_SERVER is not set: ksmbd is not enabled in kernel, ${PN} will not work"
+ # use krb5 && CONFIG_CHECK+=" ~SMB_SERVER_KERBEROS5"
+ linux-info_pkg_setup
+}
+
+src_prepare() {
+ eautoreconf
+ default
+}
+
+src_configure() {
+ # TODO: add kerberos support, explicitly disable for now
+ # tools are expected to recide in /sbin, not /usr/sbin
+ econf --prefix="${EPREFIX}/" --enable-krb5=no
+}
+
+src_install() {
+ default
+
+ local DOCS=( README README.md Documentation/configuration.txt smb.conf.example )
+ einstalldocs
+
+ insinto /etc/ksmbd
+ doins smb.conf.example
+
+ newinitd "${FILESDIR}/initd" ksmbd
+ newconfd "${FILESDIR}/confd" ksmbd
+
+ dosym ksmbd.addshare /sbin/smbshareadd
+ dosym ksmbd.adduser /sbin/smbuseradd
+
+ systemd_dounit ksmbd.service
+}
next reply other threads:[~2022-01-21 9:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-21 9:20 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 23:21 [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/ Conrad Kostecki
2025-02-15 9:29 Ulrich Müller
2024-04-08 6:15 Sam James
2023-06-27 0:16 Georgy Yakovlev
2022-01-21 9:20 Georgy Yakovlev
2021-12-20 12:17 Georgy Yakovlev
2021-12-15 5:53 Georgy Yakovlev
2021-12-15 5:52 Georgy Yakovlev
2021-12-13 22:38 Georgy Yakovlev
2021-11-29 22:49 Georgy Yakovlev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1642756798.372b44602d13fbbe1f00ae5544ac2f546b80aad2.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox