diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /net-fs/ksmbd-tools | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'net-fs/ksmbd-tools')
-rw-r--r-- | net-fs/ksmbd-tools/Manifest | 3 | ||||
-rw-r--r-- | net-fs/ksmbd-tools/ksmbd-tools-3.4.3_pre20212111.ebuild | 57 | ||||
-rw-r--r-- | net-fs/ksmbd-tools/metadata.xml | 8 |
3 files changed, 68 insertions, 0 deletions
diff --git a/net-fs/ksmbd-tools/Manifest b/net-fs/ksmbd-tools/Manifest new file mode 100644 index 000000000000..5ff56ee59b3c --- /dev/null +++ b/net-fs/ksmbd-tools/Manifest @@ -0,0 +1,3 @@ +DIST ksmbd-tools-7232230911c02f81cb50b38f47ccf7100dd066f9.tar.gz 75310 BLAKE2B c6b8809fd2c0edebb2f05661009f6eb65137af322ccb16aee3dfc58a21af21ebbbd2a13864d1225734dac51989e567792ea970c11957fd660dc5f3d0c15e6b81 SHA512 b36fd7b1a2c339e9f0b170608b4e9ad05ec1bef2c0c8cd45ea9be6b2b34470965bbb239bfaf12b6d969557bf59064ac7bc3f8c15ce147c89d5013be15dfce3f9 +EBUILD ksmbd-tools-3.4.3_pre20212111.ebuild 1243 BLAKE2B 2739910ef60197dc4815cb9bc2a458aea1a59b7ca8077a4b6f15e0e66f140d923b3034722ee302ad705d81ff297a6a1d508dbd8ee0eb21d388b8af5d25b2d79d SHA512 3d5832727245df3d9ab72e896466a6bb6c86cfd22d7efb7392a24bcbbbbf21c5e3df3799c523f070f67eda310c0d85486d5fe1a702e48af5986a03394a0c75d7 +MISC metadata.xml 252 BLAKE2B ed5f11ce8c4de4fde4020b83dc772d6b47192ea5617cacf05adf13ab5a29923858b2969ed9dc26e75194cb972d41ffceee40856e6f955f42039693af96ebb2e4 SHA512 7f9b5cf205b6500eb65742c67963c3c6c375fa05c7eb094037fb9950d9d2840930e8b4d3ef76c948ddf7f37005012be51c8217c758a615dd7e128c80b6b1db28 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> |