* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2021-11-29 22:49 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2021-11-29 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 5a7797a630803685cbe24849806351b69fb4ecf2
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 29 22:29:26 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Nov 29 22:49:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a7797a6
net-fs/ksmbd-tools: initial import
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-fs/ksmbd-tools/Manifest | 1 +
.../ksmbd-tools-3.4.3_pre20212111.ebuild | 57 ++++++++++++++++++++++
net-fs/ksmbd-tools/metadata.xml | 8 +++
3 files changed, 66 insertions(+)
diff --git a/net-fs/ksmbd-tools/Manifest b/net-fs/ksmbd-tools/Manifest
new file mode 100644
index 000000000000..bf472fa5bab3
--- /dev/null
+++ b/net-fs/ksmbd-tools/Manifest
@@ -0,0 +1 @@
+DIST ksmbd-tools-7232230911c02f81cb50b38f47ccf7100dd066f9.tar.gz 75310 BLAKE2B c6b8809fd2c0edebb2f05661009f6eb65137af322ccb16aee3dfc58a21af21ebbbd2a13864d1225734dac51989e567792ea970c11957fd660dc5f3d0c15e6b81 SHA512 b36fd7b1a2c339e9f0b170608b4e9ad05ec1bef2c0c8cd45ea9be6b2b34470965bbb239bfaf12b6d969557bf59064ac7bc3f8c15ce147c89d5013be15dfce3f9
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111.ebuild
new file mode 100644
index 000000000000..db27ead43cd4
--- /dev/null
+++ b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EGIT_COMMIT="7232230911c02f81cb50b38f47ccf7100dd066f9"
+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/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+# no keywords for now, for testing.
+KEYWORDS=""
+
+DEPEND="
+ dev-libs/glib:2
+ dev-libs/libnl:3
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+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"
+ # 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
+ econf --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
+
+ # TODO: openrc service
+ systemd_dounit ksmbd.service
+}
diff --git a/net-fs/ksmbd-tools/metadata.xml b/net-fs/ksmbd-tools/metadata.xml
new file mode 100644
index 000000000000..2f82d0bb8eb7
--- /dev/null
+++ b/net-fs/ksmbd-tools/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2021-12-13 22:38 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2021-12-13 22:38 UTC (permalink / raw
To: gentoo-commits
commit: 2be591af38151603e81fc03ea1d3188b1242bb79
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 13 22:38:00 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 13 22:38:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be591af
net-fs/ksmbd-tools: revbump, actually install openrc files
Bug: https://bugs.gentoo.org/828515
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
...4.3_pre20212111.ebuild => ksmbd-tools-3.4.3_pre20212111-r1.ebuild} | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r1.ebuild
similarity index 94%
rename from net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111.ebuild
rename to net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r1.ebuild
index fc4deb510fbd..f2b872530486 100644
--- a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111.ebuild
+++ b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r1.ebuild
@@ -52,6 +52,8 @@ src_install() {
insinto /etc/ksmbd
doins smb.conf.example
- # TODO: openrc service
+ newinitd "${FILESDIR}/initd" ksmbd
+ newconfd "${FILESDIR}/confd" ksmbd
+
systemd_dounit ksmbd.service
}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2021-12-15 5:52 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2021-12-15 5:52 UTC (permalink / raw
To: gentoo-commits
commit: f1791b00f956a2dab9b5b24fc1fa1bc0d38da0d5
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 15 05:52:28 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 05:52:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1791b00
net-fs/ksmbd-tools: add github upstream metadata
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-fs/ksmbd-tools/metadata.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/net-fs/ksmbd-tools/metadata.xml b/net-fs/ksmbd-tools/metadata.xml
index 2f82d0bb8eb7..191c21a4e986 100644
--- a/net-fs/ksmbd-tools/metadata.xml
+++ b/net-fs/ksmbd-tools/metadata.xml
@@ -5,4 +5,12 @@
<email>gyakovlev@gentoo.org</email>
<name>Georgy Yakovlev</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">cifsd-team/ksmbd-tools</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ KSMBD is a linux kernel server which implements SMB3 protocol in kernel space for sharing files over network.
+ ksmbd.mountd is userspace process to transfer user account and password that are registered using ksmbd.adduser (part of this package).
+ Further it allows sharing information parameters that parsed from smb.conf to ksmbd in kernel.
+ </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2021-12-15 5:53 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2021-12-15 5:53 UTC (permalink / raw
To: gentoo-commits
commit: ba75ccb238d2a131f7a98d6e2402bd2bdb7283b4
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 15 05:53:27 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 05:53:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba75ccb2
net-fs/ksmbd-tools: fix trailing whitespace
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild
index 2f29eedec6ea..27a380dc82ad 100644
--- a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild
+++ b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild
@@ -53,7 +53,7 @@ src_install() {
insinto /etc/ksmbd
doins smb.conf.example
- newinitd "${FILESDIR}/initd" ksmbd
+ newinitd "${FILESDIR}/initd" ksmbd
newconfd "${FILESDIR}/confd" ksmbd
dosym ksmbd.addshare /sbin/smbshareadd
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2021-12-20 12:17 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2021-12-20 12:17 UTC (permalink / raw
To: gentoo-commits
commit: 729d38dd1c7ac3f5435cd264cc251c5f25c4c382
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 12:12:33 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 12:17:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=729d38dd
net-fs/ksmbd-tools: add 3.4.3, drop 3.4.3_pre20212111-r3
Closes: https://bugs.gentoo.org/828515
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-fs/ksmbd-tools/Manifest | 2 +-
...s-3.4.3_pre20212111-r3.ebuild => ksmbd-tools-3.4.3.ebuild} | 11 ++++-------
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/net-fs/ksmbd-tools/Manifest b/net-fs/ksmbd-tools/Manifest
index bf472fa5bab3..2ae4c985be1d 100644
--- a/net-fs/ksmbd-tools/Manifest
+++ b/net-fs/ksmbd-tools/Manifest
@@ -1 +1 @@
-DIST ksmbd-tools-7232230911c02f81cb50b38f47ccf7100dd066f9.tar.gz 75310 BLAKE2B c6b8809fd2c0edebb2f05661009f6eb65137af322ccb16aee3dfc58a21af21ebbbd2a13864d1225734dac51989e567792ea970c11957fd660dc5f3d0c15e6b81 SHA512 b36fd7b1a2c339e9f0b170608b4e9ad05ec1bef2c0c8cd45ea9be6b2b34470965bbb239bfaf12b6d969557bf59064ac7bc3f8c15ce147c89d5013be15dfce3f9
+DIST ksmbd-tools-3.4.3.tar.gz 75315 BLAKE2B 9b09abb1f7fdf529c1627b783083e21bf4de22c8f34bdcb22632c67400b55e747f3a464d87612eba961a44c66e3335178b11f9a30a2feb655899deeabef09a3b SHA512 bfc8d26ba471381c7281a3b926083194b74a85d6e4c3ad734ba77f4d5b2a7b462a2b7f3a80efceb5d4cce577d1e40b8600a1f9700e9a9b91fea5e229b15a545c
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3.ebuild
similarity index 78%
rename from net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild
rename to net-fs/ksmbd-tools/ksmbd-tools-3.4.3.ebuild
index 27a380dc82ad..51892ca19003 100644
--- a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111-r3.ebuild
+++ b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3.ebuild
@@ -3,17 +3,15 @@
EAPI=8
-EGIT_COMMIT="7232230911c02f81cb50b38f47ccf7100dd066f9"
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/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz"
+SRC_URI="https://github.com/cifsd-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
-# no keywords for now, for testing.
-#KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
DEPEND="
dev-libs/glib:2
@@ -23,12 +21,11 @@ DEPEND="
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
-
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}"
+ 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
}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2022-01-21 9:20 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2022-01-21 9:20 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2022-01-21 9:20 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2022-01-21 9:20 UTC (permalink / raw
To: gentoo-commits
commit: c9968fa37fa2892a048834b170f67e9f0fb24611
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 21 09:20:26 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan 21 09:20:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9968fa3
net-fs/ksmbd-tools: drop 3.4.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-fs/ksmbd-tools/Manifest | 1 -
net-fs/ksmbd-tools/ksmbd-tools-3.4.3.ebuild | 60 -----------------------------
2 files changed, 61 deletions(-)
diff --git a/net-fs/ksmbd-tools/Manifest b/net-fs/ksmbd-tools/Manifest
index b0931c87d617..9a76c1362099 100644
--- a/net-fs/ksmbd-tools/Manifest
+++ b/net-fs/ksmbd-tools/Manifest
@@ -1,2 +1 @@
-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.3.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.3.ebuild
deleted file mode 100644
index 51892ca19003..000000000000
--- a/net-fs/ksmbd-tools/ksmbd-tools-3.4.3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2021 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
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2023-06-27 0:16 Georgy Yakovlev
0 siblings, 0 replies; 9+ messages in thread
From: Georgy Yakovlev @ 2023-06-27 0:16 UTC (permalink / raw
To: gentoo-commits
commit: 51349f9e47d982ee9f2f0dacb8a7b4c1c660218c
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 00:09:49 2023 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 00:15:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51349f9e
net-fs/ksmbd-tools: add 3.4.8
Closes: https://bugs.gentoo.org/908834
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-fs/ksmbd-tools/Manifest | 1 +
net-fs/ksmbd-tools/ksmbd-tools-3.4.8.ebuild | 75 +++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/net-fs/ksmbd-tools/Manifest b/net-fs/ksmbd-tools/Manifest
index 659ef5c1c708..86efb4106a01 100644
--- a/net-fs/ksmbd-tools/Manifest
+++ b/net-fs/ksmbd-tools/Manifest
@@ -1,2 +1,3 @@
DIST ksmbd-tools-3.4.4.tar.gz 75481 BLAKE2B 84c215b0ccad01956185d42b858eb0de6a3407fc32c59628964ab38a2946fe5123fc73cc06cb04e8864199751f26e509ae5f6ebf6f5e7eb5f1fb8f21a4452a48 SHA512 b7be00e38eb126a0d5b8b3d9dde7c997b4012b29604d899a5f2fe3a77a3c30ac5d4bf00b7fc88d57150fd574af38bd2823c736d272a2cd596d40ccbe14a15320
DIST ksmbd-tools-3.4.6.tar.gz 86976 BLAKE2B 2f18d41a5ef84d1d5293cab2dc51147649d723117f31b4a0360ff314d98544624c6c0280b11ec2df260514981995bdbac598347063fb6576447c511e88134c4e SHA512 396423a43ccb02fafb721717a36ea1efdc8449414cf9f7737cf44bafd991cde0a5d31689b5f43f96924357df058c1b5fbf90369b9aec2b293ae1a7b68c256d27
+DIST ksmbd-tools-3.4.8.tar.gz 88898 BLAKE2B 4bd4fa77e7d89de4f48427e6867807b27a9be91e4f27079d4a5b231c4925aef73489bced1e4569361105fe7e04671fa8d6f3394154b36072f9d4ec77fded7466 SHA512 f5372ea7fd4b754482374cdeefa011bebe32c37a26acc180c34c61f37cf08125b5b4626128cae413cd517a74af326188f3f9e7cf459308e4305d86e7c6702436
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.8.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.8.ebuild
new file mode 100644
index 000000000000..b0ac39996c58
--- /dev/null
+++ b/net-fs/ksmbd-tools/ksmbd-tools-3.4.8.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2022-2023 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 reside in /sbin, not /usr/sbin
+ econf \
+ --prefix="${EPREFIX:-}" \
+ --enable-krb5=no \
+ --libexecdir="${EPREFIX}/usr/libexec" \
+ --with-rundir="${EPREFIX}/run" \
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+}
+
+src_install() {
+ default
+
+ local DOCS=( README.md ksmbd.conf.example )
+ einstalldocs
+
+ insinto /etc/ksmbd
+ doins ksmbd.conf.example
+
+ newinitd "${FILESDIR}/ksmbd.initd" ksmbd
+ newconfd "${FILESDIR}/ksmbd.confd" ksmbd
+
+ dosym ksmbd.addshare /sbin/smbshareadd
+ dosym ksmbd.adduser /sbin/smbuseradd
+}
+
+pkg_postinst() {
+ local ver
+ for ver in ${REPLACING_VERSIONS}; do
+ if ver_test ${ver} -lt 3.4.6; then
+ ewarn "Upgrade from version <${CATEGORY}/${PN}-3.4.6 detected"
+ ewarn "${PN} config file moved to ${EPREFIX}/etc/ksmbd/ksmbd.conf"
+ ewarn "Please migrate from old ${EPREFIX}/etc/ksmbd/smb.conf"
+ fi
+ done
+ unset ver
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/
@ 2024-04-08 6:15 Sam James
0 siblings, 0 replies; 9+ messages in thread
From: Sam James @ 2024-04-08 6:15 UTC (permalink / raw
To: gentoo-commits
commit: da2e04e6b2f08ce2d7f875303cfe8c4722b42146
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 8 05:58:02 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 8 05:58:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2e04e6
net-fs/ksmbd-tools: drop 3.4.4, 3.4.6-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-fs/ksmbd-tools/Manifest | 2 -
net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild | 60 ---------------------
net-fs/ksmbd-tools/ksmbd-tools-3.4.6-r1.ebuild | 74 --------------------------
3 files changed, 136 deletions(-)
diff --git a/net-fs/ksmbd-tools/Manifest b/net-fs/ksmbd-tools/Manifest
index 86efb4106a01..a2c2cf2cd767 100644
--- a/net-fs/ksmbd-tools/Manifest
+++ b/net-fs/ksmbd-tools/Manifest
@@ -1,3 +1 @@
-DIST ksmbd-tools-3.4.4.tar.gz 75481 BLAKE2B 84c215b0ccad01956185d42b858eb0de6a3407fc32c59628964ab38a2946fe5123fc73cc06cb04e8864199751f26e509ae5f6ebf6f5e7eb5f1fb8f21a4452a48 SHA512 b7be00e38eb126a0d5b8b3d9dde7c997b4012b29604d899a5f2fe3a77a3c30ac5d4bf00b7fc88d57150fd574af38bd2823c736d272a2cd596d40ccbe14a15320
-DIST ksmbd-tools-3.4.6.tar.gz 86976 BLAKE2B 2f18d41a5ef84d1d5293cab2dc51147649d723117f31b4a0360ff314d98544624c6c0280b11ec2df260514981995bdbac598347063fb6576447c511e88134c4e SHA512 396423a43ccb02fafb721717a36ea1efdc8449414cf9f7737cf44bafd991cde0a5d31689b5f43f96924357df058c1b5fbf90369b9aec2b293ae1a7b68c256d27
DIST ksmbd-tools-3.4.8.tar.gz 88898 BLAKE2B 4bd4fa77e7d89de4f48427e6867807b27a9be91e4f27079d4a5b231c4925aef73489bced1e4569361105fe7e04671fa8d6f3394154b36072f9d4ec77fded7466 SHA512 f5372ea7fd4b754482374cdeefa011bebe32c37a26acc180c34c61f37cf08125b5b4626128cae413cd517a74af326188f3f9e7cf459308e4305d86e7c6702436
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild
deleted file mode 100644
index 727d4cd275f0..000000000000
--- a/net-fs/ksmbd-tools/ksmbd-tools-3.4.4.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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
-}
diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.4.6-r1.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.4.6-r1.ebuild
deleted file mode 100644
index 3cc23c1bbc48..000000000000
--- a/net-fs/ksmbd-tools/ksmbd-tools-3.4.6-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 2022-2023 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 reside in /sbin, not /usr/sbin
- econf \
- --prefix="${EPREFIX:-}" \
- --enable-krb5=no \
- --with-rundir="${EPREFIX}/run" \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-}
-
-src_install() {
- default
-
- local DOCS=( README.md ksmbd.conf.example )
- einstalldocs
-
- insinto /etc/ksmbd
- doins ksmbd.conf.example
-
- newinitd "${FILESDIR}/ksmbd.initd" ksmbd
- newconfd "${FILESDIR}/ksmbd.confd" ksmbd
-
- dosym ksmbd.addshare /sbin/smbshareadd
- dosym ksmbd.adduser /sbin/smbuseradd
-}
-
-pkg_postinst() {
- local ver
- for ver in ${REPLACING_VERSIONS}; do
- if ver_test ${ver} -lt 3.4.6; then
- ewarn "Upgrade from version <${CATEGORY}/${PN}-3.4.6 detected"
- ewarn "${PN} config file moved to ${EPREFIX}/etc/ksmbd/ksmbd.conf"
- ewarn "Please migrate from old ${EPREFIX}/etc/ksmbd/smb.conf"
- fi
- done
- unset ver
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-04-08 6:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-21 9:20 [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/ Georgy Yakovlev
-- strict thread matches above, loose matches on Subject: below --
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox