Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2006 08:47:17 GMT
From:      Daichi GOTO <daichi@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        amistry@am-productions.biz
Subject:   ports/99576: sysutils/fusefs-kmod: fixes wrong message of pkg-message
Message-ID:  <200606280847.k5S8lH1s060751@freefall.freebsd.org>
Resent-Message-ID: <200606280910.k5S9APbT061601@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99576
>Category:       ports
>Synopsis:       sysutils/fusefs-kmod: fixes wrong message of pkg-message
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 28 09:10:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Daichi GOTO
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
ONGS Inc.
>Environment:
FreeBSD parancell.ongs.co.jp 6.1-STABLE FreeBSD 6.1-STABLE #2: Fri Jun  2 16:09:49 JST 2006     root@parancell.ongs.co.jp:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
After install, port of sysutils/fusefs-kmod prints out
message as follow:

 - Set the module path in /etc/sysctl.conf:
   kern.module_path="/boot/kernel;/boot/modules;/usr/local/modules"

It is wrong. It should be as follow:

 - Set the module path in /etc/sysctl.conf:
   kern.module_path=/boot/kernel\;/boot/modules\;/usr/local/modules


>How-To-Repeat:
cd /usr/ports/sysutils/fusefs-kmod/
make install

>Fix:

------------------------------------------------------------
diff -ur fusefs-kmod.orig/Makefile fusefs-kmod/Makefile
--- fusefs-kmod.orig/Makefile   Wed Jun 28 17:06:26 2006
+++ fusefs-kmod/Makefile        Wed Jun 28 17:25:23 2006
@@ -73,7 +73,8 @@
        ${SH} ${WRKDIR}/${SETUP}
 .else
        @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
-               -e "s|%%MODULE_PATH%%|${MODULE_PATH}|g" ${PKGMESSAGE}
+               -e "s|%%MODULE_PATH%%|${MODULE_PATH}|g" \
+               -e "s|;|\\\\;|g" ${PKGMESSAGE}
 .endif

 .if !defined(NOPORTDOCS)
diff -ur fusefs-kmod.orig/pkg-message fusefs-kmod/pkg-message
--- fusefs-kmod.orig/pkg-message        Wed Jun 28 17:06:26 2006
+++ fusefs-kmod/pkg-message     Wed Jun 28 17:09:44 2006
@@ -2,7 +2,7 @@
 set the following settings:

  - Set the module path in /etc/sysctl.conf:
-   kern.module_path="%%MODULE_PATH%%"
+   kern.module_path=%%MODULE_PATH%%

  - Add fusefs_enable="YES" to your /etc/rc.conf
------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606280847.k5S8lH1s060751>