From mwisnicki@gmail.com  Thu Aug 16 19:58:27 2007
Return-Path: <mwisnicki@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 42F5716A417
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Aug 2007 19:58:27 +0000 (UTC)
	(envelope-from mwisnicki@gmail.com)
Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.239])
	by mx1.freebsd.org (Postfix) with ESMTP id AC86313C442
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Aug 2007 19:58:26 +0000 (UTC)
	(envelope-from mwisnicki@gmail.com)
Received: by hu-out-0506.google.com with SMTP id 28so199601hub
        for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Aug 2007 12:58:25 -0700 (PDT)
Received: by 10.86.65.11 with SMTP id n11mr1497379fga.1187294304900;
        Thu, 16 Aug 2007 12:58:24 -0700 (PDT)
Received: from ghost.pnet.one.pl ( [84.40.242.20])
        by mx.google.com with ESMTPS id 31sm2277183fkt.2007.08.16.12.58.23
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 16 Aug 2007 12:58:24 -0700 (PDT)
Received: by ghost.pnet.one.pl (sSMTP sendmail emulation); Thu, 16 Aug 2007 21:58:21 +0200
Message-Id: <46c4ac60.1f145e0a.21ac.71a3@mx.google.com>
Date: Thu, 16 Aug 2007 21:58:21 +0200
From: Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Sender: =?UTF-8?B?TWFyY2luIFdpxZtuaWNraQ==?= <mwisnicki@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: amistry@am-productions.biz
Subject: [PATCH] sysutils/fusefs-kmod: improper use of KERNCONF
X-Send-Pr-Version: 3.113
X-GNATS-Notify: amistry@am-productions.biz

>Number:         115585
>Category:       ports
>Synopsis:       [PATCH] sysutils/fusefs-kmod: improper use of KERNCONF
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 16 20:00:04 GMT 2007
>Closed-Date:    Wed Aug 22 11:41:05 GMT 2007
>Last-Modified:  Wed Aug 22 11:41:05 GMT 2007
>Originator:     Marcin Wisnicki
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD ghost.pnet.one.pl 6.2-STABLE FreeBSD 6.2-STABLE #8: Tue Aug  7 15:03:32 CEST
>Description:
Kmod makefile assumes that KERNCONF contains only one configuration name.
This is incorrect, since one can list any number of kernels.
Attached patch extracts first element (maybe there is a better way to do that?)
from the list to prevent build breakage. Of course one have to be careful not
to mix modules with incompatible kernels.

Added file(s):
- files/patch-fuse_module_Makefile

Port maintainer (amistry@am-productions.biz) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- fusefs-kmod-0.3.9.p1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-kmod.orig/files/patch-fuse_module_Makefile /usr/ports/sysutils/fusefs-kmod/files/patch-fuse_module_Makefile
--- /usr/ports/sysutils/fusefs-kmod.orig/files/patch-fuse_module_Makefile	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/sysutils/fusefs-kmod/files/patch-fuse_module_Makefile	2007-08-16 20:52:33.000000000 +0200
@@ -0,0 +1,12 @@
+--- fuse_module/Makefile.orig	2007-06-19 14:35:22.000000000 +0200
++++ fuse_module/Makefile	2007-08-16 18:31:50.000000000 +0200
+@@ -21,7 +21,8 @@
+ .endif
+ 
+ .if defined(KERNCONF)
+-KERNCONFDIR= /usr/obj/usr/src/sys/${KERNCONF}
++KERNCONF1!= echo ${KERNCONF} | sed -e 's/ .*//g'
++KERNCONFDIR= /usr/obj/usr/src/sys/${KERNCONF1}
+ .endif
+ 
+ .if defined(KERNCONFDIR)
--- fusefs-kmod-0.3.9.p1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Aug 16 20:00:12 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115585 
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: mm 
Responsible-Changed-When: Fri Aug 17 08:47:15 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115585 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Tue Aug 21 16:19:48 UTC 2007 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115585 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/115585: commit references a PR
Date: Wed, 22 Aug 2007 11:38:10 +0000 (UTC)

 mm          2007-08-22 11:38:06 UTC
 
   FreeBSD ports repository
 
   Added files:
     sysutils/fusefs-kmod/files patch-fuse_module_Makefile 
   Log:
   - Add patch for better processing of KERNCONF variable on build time
   
   PR:             ports/115585
   Submitted by:   Marcin Wisnicki <mwisnicki+freebsd at gmail.com>
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.3       +12 -0     ports/sysutils/fusefs-kmod/files/patch-fuse_module_Makefile (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: mm 
State-Changed-When: Wed Aug 22 11:41:03 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115585 
>Unformatted:
