View | Details | Raw Unified | Return to bug 117516
Collapse All | Expand All

(-)fusefs-kmod/Makefile (-4 / +8 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	fusefs
8
PORTNAME=	fusefs
9
DISTVERSION=	0.3.9-pre1
9
DISTVERSION=	0.3.9-pre1
10
PORTREVISION=	1
10
CATEGORIES=	sysutils kld
11
CATEGORIES=	sysutils kld
11
MASTER_SITES=	http://fuse4bsd.creo.hu/downloads/ \
12
MASTER_SITES=	http://fuse4bsd.creo.hu/downloads/ \
12
		http://am-productions.biz/docs/
13
		http://am-productions.biz/docs/
Lines 65-70 Link Here
65
IGNORE=		requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src
66
IGNORE=		requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src
66
.endif
67
.endif
67
68
69
.if !defined(WITH_AUTOSETUP)
70
SUB_FILES=	pkg-message
71
.endif
72
68
post-patch:
73
post-patch:
69
	@${REINPLACE_CMD} -e 's/deplate.rb/deplate/g' \
74
	@${REINPLACE_CMD} -e 's/deplate.rb/deplate/g' \
70
		${WRKSRC}/doc/Makefile
75
		${WRKSRC}/doc/Makefile
Lines 81-95 Link Here
81
	@${MKDIR} ${KMODDIR}
86
	@${MKDIR} ${KMODDIR}
82
87
83
post-install:
88
post-install:
84
.if (defined(WITH_AUTOSETUP) && !defined(BATCH) && !defined(PACKAGE_BUILDING)) \
89
	@${LN} -s ${PREFIX}/sbin/mount_fusefs /usr/sbin
85
	|| (defined(WITH_AUTOSETUP) && defined(BATCH) && !defined(PACKAGE_BUILDING))
90
.if defined(WITH_AUTOSETUP) && !defined(PACKAGE_BUILDING)
86
	@${SED} -e 's|@@PREFIX@@|${PREFIX}|g' \
91
	@${SED} -e 's|@@PREFIX@@|${PREFIX}|g' \
87
		${FILESDIR}/${SETUP} > ${WRKDIR}/${SETUP}
92
		${FILESDIR}/${SETUP} > ${WRKDIR}/${SETUP}
88
	@${ECHO} "Modifying global startup config files and loading module...";
93
	@${ECHO} "Modifying global startup config files and loading module...";
89
	${SH} ${WRKDIR}/${SETUP}
94
	${SH} ${WRKDIR}/${SETUP}
90
.else
95
.else
91
	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
96
	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
92
		-e "s|%%MODULE_PATH%%|${MODULE_PATH}|g" ${PKGMESSAGE}
93
.endif
97
.endif
94
98
95
.if !defined(NOPORTDOCS)
99
.if !defined(NOPORTDOCS)
(-)fusefs-kmod/pkg-message (-8 lines)
Removed Link Here
1
In order to automatically load the fuse module on startup, you need to
2
set the following settings:
3
4
 - Add fusefs_enable="YES" to your /etc/rc.conf
5
6
%%PREFIX%%/etc/rc.d/fusefs start will load the module for the first time
7
after the installation.  Set "sysctl vfs.usermount=1" if you want to be able
8
to mount fuse devices as an ordinary user.
(-)fusefs-kmod/pkg-plist (+2 lines)
Lines 21-23 Link Here
21
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod/html
21
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod/html
22
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod
22
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod
23
@dirrmtry %%DOCSDIR%%
23
@dirrmtry %%DOCSDIR%%
24
@cwd /usr
25
sbin/mount_fusefs
(-)fusefs-kmod/files/fusefs.in (+1 lines)
Lines 4-9 Link Here
4
#
4
#
5
# PROVIDE: fusefs
5
# PROVIDE: fusefs
6
# REQUIRE: sysctl
6
# REQUIRE: sysctl
7
# BEFORE: mountlate
7
# KEYWORD: shutdown
8
# KEYWORD: shutdown
8
#
9
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
(-)fusefs-kmod/files/pkg-message.in (+15 lines)
Added Link Here
1
==============================================================================
2
3
In order to automatically load the fuse module on startup, you need to:
4
5
 - Add fusefs_enable="YES" to your /etc/rc.conf.
6
 - Run "%%PREFIX%%/etc/rc.d/fusefs start" (for the first time).
7
8
Set "sysctl vfs.usermount=1" if you want to be able to mount fuse devices as
9
an ordinary user.
10
11
Now fuse filesystems (sysutils/fusefs-*) can be mounted at startup from
12
/etc/fstab with the "late" parameter. This requires a symlink in /usr/sbin
13
named "mount_<fstype>", which is not created by all the fusefs ports.
14
15
==============================================================================

Return to bug 117516