Github messages for voidlinux
 help / color / mirror / Atom feed
From: CMB <CMB@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Add cifsd, a new alternative SMB server.
Date: Fri, 16 Oct 2020 18:18:02 +0200
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25659@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

There is a new pull request by CMB against master on the void-packages repository

https://github.com/CMB/void-packages cifsd
https://github.com/void-linux/void-packages/pull/25659

Add cifsd, a new alternative SMB server.
None

A patch file from https://github.com/void-linux/void-packages/pull/25659.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cifsd-25659.patch --]
[-- Type: text/x-diff, Size: 3620 bytes --]

From 802c36bceea89e4cab7e3b5d5ba0ef49927fe6bc Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Fri, 16 Oct 2020 01:16:34 -0700
Subject: [PATCH 1/2] New package: cifsd-dkms-3.2.5

---
 srcpkgs/cifsd-dkms/files/dkms.conf |  6 ++++++
 srcpkgs/cifsd-dkms/template        | 24 ++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 srcpkgs/cifsd-dkms/files/dkms.conf
 create mode 100644 srcpkgs/cifsd-dkms/template

diff --git a/srcpkgs/cifsd-dkms/files/dkms.conf b/srcpkgs/cifsd-dkms/files/dkms.conf
new file mode 100644
index 00000000000..d299b7a605f
--- /dev/null
+++ b/srcpkgs/cifsd-dkms/files/dkms.conf
@@ -0,0 +1,6 @@
+PACKAGE_VERSION=@VERSION@
+PACKAGE_NAME="cifsd"
+AUTOINSTALL="yes"
+MAKE[0]="'make' @MAKEJOBS@ KDIR=/lib/modules/${kernelver}/build"
+BUILT_MODULE_NAME[0]="ksmbd"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/fs/cifsd"
diff --git a/srcpkgs/cifsd-dkms/template b/srcpkgs/cifsd-dkms/template
new file mode 100644
index 00000000000..daef8c5f782
--- /dev/null
+++ b/srcpkgs/cifsd-dkms/template
@@ -0,0 +1,24 @@
+# Template file for 'cifsd-dkms'
+pkgname=cifsd-dkms
+_pkgname="${pkgname/-dkms}"
+version=3.2.5
+revision=1
+wrksrc="${_pkgname}-${version}"
+short_desc="Opensource In-kernel CIFS/SMB3 server"
+maintainer="Christopher Brannon <chris@the-brannons.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cifsd-team/cifsd"
+distfiles="https://github.com/cifsd-team/${_pkgname}/archive/${version}.tar.gz"
+checksum=b93a068f6dc2b2040c8cebcb67f6d8c3a1c5c7c5032269a48579ccba996e6be7
+
+dkms_modules="cifsd ${version}"
+depends="dkms"
+
+do_install() {
+	vmkdir "usr/src/${_pkgname}-${version}"
+	cp -r * "$DESTDIR/usr/src/${_pkgname}-${version}"
+	vcopy "${FILESDIR}/dkms.conf" "usr/src/${_pkgname}-${version}"
+	vsed -e "s;@MAKEJOBS@;${makejobs};" \
+		-e "s;@VERSION@;${version}-${revision};" \
+		-i "${DESTDIR}/usr/src/${_pkgname}-${version}/dkms.conf"
+}

From 515e3fc2345084b9a65ca0440228162b7366c395 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Fri, 16 Oct 2020 01:39:44 -0700
Subject: [PATCH 2/2] New package: ksmbd-tools-3.2.5

---
 srcpkgs/ksmbd-tools/files/ksmbd/run |  2 ++
 srcpkgs/ksmbd-tools/template        | 26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100755 srcpkgs/ksmbd-tools/files/ksmbd/run
 create mode 100644 srcpkgs/ksmbd-tools/template

diff --git a/srcpkgs/ksmbd-tools/files/ksmbd/run b/srcpkgs/ksmbd-tools/files/ksmbd/run
new file mode 100755
index 00000000000..949bbb25e4f
--- /dev/null
+++ b/srcpkgs/ksmbd-tools/files/ksmbd/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ksmbd.mountd --nodetach
diff --git a/srcpkgs/ksmbd-tools/template b/srcpkgs/ksmbd-tools/template
new file mode 100644
index 00000000000..d2f7319b239
--- /dev/null
+++ b/srcpkgs/ksmbd-tools/template
@@ -0,0 +1,26 @@
+# Template file for 'ksmbd-tools'
+pkgname=ksmbd-tools
+version=3.2.5
+revision=1
+build_style=gnu-configure
+hostmakedepends="autoconf automake libtool pkg-config"
+makedepends="glib-devel libnl3-devel"
+depends="cifsd-dkms>=${version}_1"
+short_desc="User-space tools for cifsd"
+maintainer="Christopher Brannon <chris@the-brannons.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cifsd-team/ksmbd-tools"
+distfiles="https://github.com/cifsd-team/${pkgname}/archive/${version}.tar.gz"
+checksum=b9948f12a317863b128008de2d12169825171d3b9fceca06caa4f1d15a795bb9
+
+pre_configure() {
+	./autogen.sh
+}
+
+do_install() {
+	for i in AUTHORS Documentation/configuration.txt PFIF.txt README ; do
+		vdoc "$i"
+	done
+	vsconf smb.conf.example
+	vsv ksmbd
+}

             reply	other threads:[~2020-10-16 16:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 16:18 CMB [this message]
2020-10-16 17:39 ` Anachron
2020-10-16 18:21 ` CMB
2020-10-16 20:06 ` Anachron
2020-10-30 22:57 ` [PR PATCH] [Updated] " CMB
2020-11-22  3:23 ` the-maldridge

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25659@inbox.vuxu.org \
    --to=cmb@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git