View | Details | Raw Unified | Return to bug 91873 | Differences between
and this patch

Collapse All | Expand All

(-)fusefs-kmod/Makefile (-8 / +37 lines)
Lines 6-26 Link Here
6
#
6
#
7
7
8
PORTNAME=	fusefs
8
PORTNAME=	fusefs
9
PORTVERSION=	0.2.19.6
9
PORTVERSION=	0.2.99.1
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://fuse4bsd.creo.hu/downloads/ \
11
MASTER_SITES=	http://fuse4bsd.creo.hu/downloads/ \
12
		http://am-productions.biz/docs/
12
		http://am-productions.biz/docs/
13
PKGNAMESUFFIX=	-kmod
13
PKGNAMESUFFIX=	-kmod
14
DISTNAME=	fuse4bsd-0.2.20pre6
14
DISTNAME=	fuse4bsd-0.3.0-pre1
15
EXTRACT_SUFX=	.tar.bz2
16
15
17
MAINTAINER=	amistry@am-productions.biz
16
MAINTAINER=	amistry@am-productions.biz
18
COMMENT=	Kernel module for fuse
17
COMMENT=	Kernel module for fuse
19
18
20
BUILD_DEPENDS=	${LOCALBASE}/include/fuse/fuse_kernel.h:${PORTSDIR}/sysutils/fusefs-libs
19
BUILD_DEPENDS=	${LOCALBASE}/include/fuse/fuse_kernel.h:${PORTSDIR}/sysutils/fusefs-libs
21
20
21
CONFLICTS=	fusefs-libs-2.4*
22
22
OPTIONS=	AUTOSETUP "Automatic global config file setup" off
23
OPTIONS=	AUTOSETUP "Automatic global config file setup" off
23
MAKE_ENV+=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
24
MAKE_ENV+=	BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man"
24
MAN8=		mount_fusefs.8
25
MAN8=		mount_fusefs.8
25
KMODDIR=	${PREFIX}/modules
26
KMODDIR=	${PREFIX}/modules
26
MAKE_ARGS=	KMODDIR=${KMODDIR}
27
MAKE_ARGS=	KMODDIR=${KMODDIR}
Lines 28-40 Link Here
28
STARTUP=	fuse.sh
29
STARTUP=	fuse.sh
29
SETUP=		setup.sh
30
SETUP=		setup.sh
30
MODULE_PATH=	`sysctl -n kern.module_path`;${KMODDIR}
31
MODULE_PATH=	`sysctl -n kern.module_path`;${KMODDIR}
32
TXT_DOCS=	doc.txt
33
HTML_DOCS=	Faq.html \
34
		Implementation.html \
35
		Quickstart.html \
36
		article.css \
37
		deplate-mini.png \
38
		deplate.css \
39
		doc.html \
40
		heading-navbar.css \
41
		home-grey.png \
42
		mailto.png \
43
		next-grey.png \
44
		prev-grey.png \
45
		remote.png \
46
		serif.css \
47
		tabbar-right.css
31
48
32
.include <bsd.port.pre.mk>
49
.include <bsd.port.pre.mk>
33
50
34
.if ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600034 ) || ( ${OSVERSION} >= 700000 && ${OSVERSION} < 700002 )
35
MAKE_ARGS+=	-DUSE_OLD_CLONEHANDLER_API
36
.endif
37
38
.if ${OSVERSION} < 600000
51
.if ${OSVERSION} < 600000
39
IGNORE=		requires FreeBSD 6 or above. Please consider porting it to 5.x or even 4.x
52
IGNORE=		requires FreeBSD 6 or above. Please consider porting it to 5.x or even 4.x
40
.endif
53
.endif
Lines 43-48 Link Here
43
IGNORE=		requires the Kernel source to be installed. Set SRC_BASE if it is not in /usr/src
56
IGNORE=		requires the Kernel source to be installed. Set SRC_BASE if it is not in /usr/src
44
.endif
57
.endif
45
58
59
post-configure:
60
	${CP} ${LOCALBASE}/include/fuse/fuse_kernel.h \
61
	${WRKSRC}/fuse_module
62
46
pre-install:
63
pre-install:
47
	${MKDIR} ${KMODDIR}
64
	${MKDIR} ${KMODDIR}
48
65
Lines 57-62 Link Here
57
.else
74
.else
58
	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
75
	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
59
		-e "s|%%MODULE_PATH%%|${MODULE_PATH}|g" ${PKGMESSAGE}
76
		-e "s|%%MODULE_PATH%%|${MODULE_PATH}|g" ${PKGMESSAGE}
77
.endif
78
79
.if !defined(NOPORTDOCS)
80
	@${MKDIR} ${DOCSDIR}
81
	@${MKDIR} ${DOCSDIR}/kmod
82
	@${MKDIR} ${DOCSDIR}/kmod/html
83
.for i in ${TXT_DOCS}
84
	@${INSTALL_DATA} ${WRKSRC}/doc/plaintext_out/$i ${DOCSDIR}/kmod
85
.endfor
86
.for i in ${HTML_DOCS}
87
	@${INSTALL_DATA} ${WRKSRC}/doc/html_chunked_out/$i ${DOCSDIR}/kmod/html
88
.endfor
60
.endif
89
.endif
61
90
62
.include <bsd.port.post.mk>
91
.include <bsd.port.post.mk>
(-)fusefs-kmod/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
MD5 (fuse4bsd-0.2.20pre6.tar.bz2) = e2c48e940b1fdcb669add847e42011c0
1
MD5 (fuse4bsd-0.3.0-pre1.tar.gz) = 9ac79caade41a0c0579f8247f89bac54
2
SIZE (fuse4bsd-0.2.20pre6.tar.bz2) = 71336
2
SHA256 (fuse4bsd-0.3.0-pre1.tar.gz) = 1dbfa704787fbd60b6d880cb75af8d79c4c8d1e4cac16895da417814f1885790
3
SIZE (fuse4bsd-0.3.0-pre1.tar.gz) = 165743
(-)fusefs-kmod/files/patch-fuse_module_Makefile (-18 lines)
Lines 1-18 Link Here
1
--- fuse_module/Makefile.orig	Sun Oct 16 09:01:26 2005
2
+++ fuse_module/Makefile	Tue Oct 18 11:58:20 2005
3
@@ -35,12 +35,11 @@
4
 
5
 fuse.ko: fuse_kernel.h vnode_if.h vnode_if_typedef.h vnode_if_newproto.h
6
 
7
-fuse_kernel.h: fuse_kernel.h.orig
8
-	cp fuse_kernel.h.orig fuse_kernel.h
9
-	patch fuse_kernel.h < kernel-header.diff
10
+fuse_kernel.h:
11
+	cp ${LOCALBASE}/include/fuse/fuse_kernel.h fuse_kernel.h
12
 
13
 fuse_opnames.c:
14
-	awk -f ../tools/genopnames.awk fuse_kernel.h.orig > fuse_opnames.c
15
+	awk -f ../tools/genopnames.awk fuse_kernel.h > fuse_opnames.c
16
 
17
 vnode_if.h:
18
 	awk -f /sys/tools/vnode_if.awk /sys/kern/vnode_if.src -h
(-)fusefs-kmod/pkg-message (-1 / +2 lines)
Lines 7-10 Link Here
7
 - Add fusefs_enable="YES" to your /etc/rc.conf
7
 - Add fusefs_enable="YES" to your /etc/rc.conf
8
8
9
%%PREFIX%%/etc/rc.d/fuse.sh start will load the module for the first time
9
%%PREFIX%%/etc/rc.d/fuse.sh start will load the module for the first time
10
after the installation.
10
after the installation.  Set "sysctl vfs.usermount=1" if you want to be able
11
to mount fuse devices as an ordinary user.
(-)fusefs-kmod/pkg-plist (-1 / +19 lines)
Lines 1-6 Link Here
1
etc/rc.d/fuse.sh
1
etc/rc.d/fuse.sh
2
modules/fuse.ko
2
modules/fuse.ko
3
sbin/mount_fusefs
3
sbin/mount_fusefs
4
sbin/mount_fusefs_safe
5
@unexec kldxref %D/modules
4
@unexec kldxref %D/modules
6
@unexec rmdir %D/modules 2>/dev/null || true
5
@unexec rmdir %D/modules 2>/dev/null || true
6
%%PORTDOCS%%%%DOCSDIR%%/kmod/doc.txt
7
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/Faq.html
8
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/Implementation.html
9
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/Quickstart.html
10
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/article.css
11
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/deplate-mini.png
12
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/deplate.css
13
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/doc.html
14
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/heading-navbar.css
15
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/home-grey.png
16
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/mailto.png
17
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/next-grey.png
18
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/prev-grey.png
19
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/remote.png
20
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/serif.css
21
%%PORTDOCS%%%%DOCSDIR%%/kmod/html/tabbar-right.css
22
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod/html
23
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod
24
@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true

Return to bug 91873