Bug 230777

Summary: [NEW PORT] net/nfs-ganesha-kmod: Modules to implement required syscalls for userspace fileservers
Product: Ports & Packages Reporter: fatih
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
port files
none
port patch none

Description fatih 2018-08-20 15:18:08 UTC
Created attachment 196389 [details]
port files

Modules to implement required syscalls for userspace fileservers
Comment 1 fatih 2018-08-20 15:32:20 UTC
Comment on attachment 196389 [details]
port files

>Index: net/nfs-ganesha-kmod/Makefile
>===================================================================
>--- net/nfs-ganesha-kmod/Makefile	(nonexistent)
>+++ net/nfs-ganesha-kmod/Makefile	(working copy)
>@@ -0,0 +1,35 @@
>+# $FreeBSD$
>+
>+PORTNAME=	nfs-ganesha-kmod
>+DISTVERSION=	0.1
>+CATEGORIES=	net
>+
>+MAINTAINER=	fatih@gandi.net
>+COMMENT=	Modules to implement required syscalls for userspace fileservers
>+
>+LICENSE=	BSD3CLAUSE
>+
>+USES=		kmod uidfix
>+
>+USE_GITHUB=	yes
>+GH_ACCOUNT=	Gandi
>+GH_PROJECT=	nfs-ganesha-kmod
>+GH_TAGNAME=	v0.1
>+
>+GANESHA_MODULE=	getfhat \
>+		fhreadlink \
>+		fhlink \
>+		setthreaduid \
>+		setthreadgid \
>+		setthreadgroups
>+
>+.for f in ${GANESHA_MODULE}
>+PLIST_FILES+=	${KMODDIR}/${f}.ko
>+.endfor
>+
>+do-install:
>+.for f in ${GANESHA_MODULE}
>+	${INSTALL_DATA} ${WRKSRC}/${f}/${f}.ko ${STAGEDIR}/${KMODDIR}/
>+.endfor
>+
>+.include <bsd.port.mk>
>
>Property changes on: net/nfs-ganesha-kmod/Makefile
>___________________________________________________________________
>Added: svn:eol-style
>## -0,0 +1 ##
>+native
>\ No newline at end of property
>Added: svn:keywords
>## -0,0 +1 ##
>+FreeBSD=%H
>\ No newline at end of property
>Added: svn:mime-type
>## -0,0 +1 ##
>+text/plain
>\ No newline at end of property
>Index: net/nfs-ganesha-kmod/distinfo
>===================================================================
>--- net/nfs-ganesha-kmod/distinfo	(nonexistent)
>+++ net/nfs-ganesha-kmod/distinfo	(working copy)
>@@ -0,0 +1,3 @@
>+TIMESTAMP = 1534775578
>+SHA256 (Gandi-nfs-ganesha-kmod-0.1-v0.1_GH0.tar.gz) = e55aa64c159abde27670b5d517ce18cb2d4ede7deb15c88f92b2e15b61bfeb5e
>+SIZE (Gandi-nfs-ganesha-kmod-0.1-v0.1_GH0.tar.gz) = 5920
>
>Property changes on: net/nfs-ganesha-kmod/distinfo
>___________________________________________________________________
>Added: fbsd:nokeywords
>## -0,0 +1 ##
>+yes
>\ No newline at end of property
>Added: svn:eol-style
>## -0,0 +1 ##
>+native
>\ No newline at end of property
>Added: svn:mime-type
>## -0,0 +1 ##
>+text/plain
>\ No newline at end of property
>Index: net/nfs-ganesha-kmod/pkg-descr
>===================================================================
>--- net/nfs-ganesha-kmod/pkg-descr	(nonexistent)
>+++ net/nfs-ganesha-kmod/pkg-descr	(working copy)
>@@ -0,0 +1,4 @@
>+NFS-Ganesha is an NFSv3,v4,v4.1 fileserver that runs in user mode.
>+It also supports the 9p.2000L protocol.
>+
>+This port contains the kernel modules which implement required syscalls.
>
>Property changes on: net/nfs-ganesha-kmod/pkg-descr
>___________________________________________________________________
>Added: fbsd:nokeywords
>## -0,0 +1 ##
>+yes
>\ No newline at end of property
>Added: svn:eol-style
>## -0,0 +1 ##
>+native
>\ No newline at end of property
>Added: svn:mime-type
>## -0,0 +1 ##
>+text/plain
>\ No newline at end of property
Comment 2 fatih 2018-08-20 15:34:36 UTC
Created attachment 196390 [details]
port patch
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-08-28 11:37:37 UTC
A commit references this bug:

Author: bapt
Date: Tue Aug 28 11:37:25 UTC 2018
New revision: 478301
URL: https://svnweb.freebsd.org/changeset/ports/478301

Log:
  NFS-Ganesha is an NFSv3,v4,v4.1 fileserver that runs in user mode.
  It also supports the 9p.2000L protocol.

  This port contains the kernel modules which implement required syscalls.

  WWW: https://github.com/gandi/nfs-ganesha-kmod

  PR:		230777
  Submitted by:	fatih@gandi.net
  Sponsored by:	Gandi.net

Changes:
  head/net/Makefile
  head/net/nfs-ganesha-kmod/
  head/net/nfs-ganesha-kmod/Makefile
  head/net/nfs-ganesha-kmod/distinfo
  head/net/nfs-ganesha-kmod/pkg-descr