Date: Thu, 7 Aug 2008 01:58:02 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/126322: [patch] sysutils/fusefs-kmod: Make install location configurable Message-ID: <200808070158.m771w2Lc082610@www.freebsd.org> Resent-Message-ID: <200808070200.m77209Ba001940@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126322 >Category: ports >Synopsis: [patch] sysutils/fusefs-kmod: Make install location configurable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 07 02:00:09 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: FreeBSD 6.3 >Organization: private >Environment: >Description: This is successor of ports/108788. Allow to choose fusefs-kmod install location by setting KMODDIR. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: sysutils/fusefs-kmod/Makefile @@ -24,6 +24,8 @@ .endif USE_RC_SUBR= fusefs +KMODDIR?= ${PREFIX}/modules +PLIST_SUB= KMODDIR=${KMODDIR} MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man" \ KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" \ MOUNT="${SRC_BASE}/sbin/mount" @@ -31,7 +33,6 @@ DISABLE_SIZE= yes SRC_BASE?= /usr/src -KMODDIR= ${PREFIX}/modules SETUP= setup.sh HG_SHORTREV= 498acaef33b0 Index: sysutils/fusefs-kmod/pkg-plist @@ -1,9 +1,6 @@ -modules/fuse.ko sbin/mount_fusefs @exec ln -fs %D/%F /usr/sbin @unexec rm -f /usr/sbin/mount_fusefs 2>&1 >/dev/null || true -@unexec kldxref %D/modules -@dirrmtry modules %%PORTDOCS%%%%DOCSDIR%%/kmod/doc.text %%PORTDOCS%%%%DOCSDIR%%/kmod/html/Faq.html %%PORTDOCS%%%%DOCSDIR%%/kmod/html/Implementation.html @@ -23,3 +20,7 @@ %%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod/html %%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod @dirrmtry %%DOCSDIR%% +@cwd %%KMODDIR%% +fuse.ko +@unexec kldxref %%KMODDIR%% +@unexec rmdir %%KMODDIR%% 2>/dev/null || true >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808070158.m771w2Lc082610>