summaryrefslogtreecommitdiff
path: root/net/nfs-ganesha-kmod/Makefile
blob: e69c3b538cd5551d32510838b51682208d70ec8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

PORTNAME=	nfs-ganesha-kmod
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2
CATEGORIES=	net

MAINTAINER=	freebsd@gandi.net
COMMENT=	Modules to implement required syscalls for userspace fileservers

LICENSE=	BSD3CLAUSE

BROKEN=		fails to compile: fhlink.c:57: error: redefinition of 'struct fhlink_args'

USES=		kmod

USE_GITHUB=	yes
GH_ACCOUNT=	Gandi

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>