From owner-freebsd-ports@FreeBSD.ORG Sat Jan 29 01:34:31 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61A2D16A4CE for ; Sat, 29 Jan 2005 01:34:31 +0000 (GMT) Received: from 212.106.239.101.adsl.jazztel.es (212.106.237.87.adsl.jazztel.es [212.106.237.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id A263743D1F for ; Sat, 29 Jan 2005 01:34:28 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from orion.redesjm.local (orion.redesjm.local [192.168.254.16]) j0T1YNM8041835; Sat, 29 Jan 2005 02:34:24 +0100 (CET) (envelope-from josemi@freebsd.jazztel.es) From: Jose M Rodriguez Organization: Redes JM To: Craig Boston Date: Sat, 29 Jan 2005 02:34:40 +0100 User-Agent: KMail/1.7.1 References: <20050126025125.GA44297@nowhere> <200501260932.57528.josemi@freebsd.jazztel.es> <200501281904.33810.craig@yekse.gank.org> In-Reply-To: <200501281904.33810.craig@yekse.gank.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200501290234.40925.josemi@freebsd.jazztel.es> X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.29.0.8; VDF: 6.29.0.75; host: antares.redesjm.local) cc: freebsd-ports@freebsd.org Subject: Re: Kernel module path for ports? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 01:34:31 -0000 El S=E1bado, 29 de Enero de 2005 02:04, Craig Boston escribi=F3: > On Wednesday 26 January 2005 2:32 am, Jose M Rodriguez wrote: > > > $PREFIX/lib/$PORTNAME > > > > better ${PREFIX}/libexec/... > > libexec seems like the logical choice, but so far I've not found any ports > that put kernel modules there. (to make things easier I'm only looking at > ones that have static pkg-plist files) > > > > $PREFIX/modules > > > > Not an option > > By far the majority of ports use this location. I don't particularly like > it because it's not there in a fresh install, nor is it mentioned in > BSD.local.dist or hier(7). > > > > $PREFIX/share/$PORTNAME > > > > modules are arch-specific. Can't go under ${PREFIX}/share/ > > ltmdm uses this, which is the port I initially used as a skeleton. There > are a couple others as well: comms/mwavem and sysutils/pmap. > > I'll go with lib/$PORTNAME for now as it seems to be a decent compromise. > It's easy enough to change should a clear standard emerge. > > NOTE: I previously said I was using an rcNG script to load the module.=20 > Upon further thought, that's unworkable for this particular port. It's a > USB device driver -- if the device is plugged in at boot, ugen will grab = it > before the script ever gets a chance to load the driver. So the install > script must copy it to /boot/modules and print a note on how to set up > loader.conf. > Yes. BTW, It's ueagle? I'm working on a port of this now. =2D- josemi > Thanks for your input! > Craig