From owner-freebsd-ports@FreeBSD.ORG Thu Feb 7 20:17:22 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73B5D16A418; Thu, 7 Feb 2008 20:17:22 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id 066AD13C455; Thu, 7 Feb 2008 20:17:22 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1JNDBP-00041T-RA; Thu, 07 Feb 2008 21:17:20 +0100 Received: from ra299.r.pppool.de ([89.54.162.153]:62146 helo=peedub.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.68 #9) id 1JNDBO-0000X5-NM; Thu, 07 Feb 2008 21:17:19 +0100 Date: Thu, 7 Feb 2008 21:17:17 +0100 From: Gary Jennejohn To: freebsd-ports@freebsd.org Message-ID: <20080207211717.246e263a@peedub.jennejohn.org> In-Reply-To: <20080207174107.GA94398@dragon.NUXI.org> References: <20080207174107.GA94398@dragon.NUXI.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Ports .ko installation directory X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 20:17:22 -0000 On Thu, 7 Feb 2008 09:41:07 -0800 "David O'Brien" wrote: > Do we have a standard for where .ko modules should be installed? > > I've found the sysutils/pmap port to be pretty cool - I almost think we > should bring it into the base system. > Anyway, it installs into /boot/kernel (unless MODULES_WITH_WORLD is > defined), which to me is just wrong. What if I've named mine /boot/foo? > Its perfectly reasonable. /boot/ is for a kernel build. > > Looking around it seems most (all other?) ports install into > /boot/modules. I really don't like the inconsistency - if I have to > reinstall all my Ports .ko's after installing a new kernel than so be it. > But it should be the case for all - not making it so I have to remember > to do it for only one or two. > > Not being sure what the vast majority of Ports maintainers/developers use, > I wanted to check if /boot/modules was our de-facto standard or something > else. > It seems that three ports use %D/modules and ten explicitly use /boot/modules in pkg-plist. I didn't look at Makefiles or shell scripts. I personally think that only ports (like nvidia-driver) which need to be loaded from loader.conf should be in /boot/modules. --- Gary Jennejohn