ports/99576: sysutils/fusefs-kmod: fixes wrong message of pkg-message

Daichi GOTO daichi at FreeBSD.org
Wed Jun 28 09:10:27 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list