From owner-freebsd-ports@FreeBSD.ORG Wed Jan 26 08:32:56 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 BFA7816A4CE; Wed, 26 Jan 2005 08:32:56 +0000 (GMT) Received: from 212.106.239.101.adsl.jazztel.es (212.106.239.101.adsl.jazztel.es [212.106.239.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F54643D5A; Wed, 26 Jan 2005 08:32:55 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from orion.redesjm.local (orion.redesjm.local [192.168.254.16]) j0Q8Wr5N087563; Wed, 26 Jan 2005 09:32:54 +0100 (CET) (envelope-from josemi@freebsd.jazztel.es) From: Jose M Rodriguez Organization: Redes JM To: freebsd-ports@freebsd.org Date: Wed, 26 Jan 2005 09:32:57 +0100 User-Agent: KMail/1.7.1 References: <20050126025125.GA44297@nowhere> In-Reply-To: <20050126025125.GA44297@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200501260932.57528.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: Craig Boston cc: 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: Wed, 26 Jan 2005 08:32:56 -0000 El Mi=E9rcoles, 26 de Enero de 2005 03:51, Craig Boston escribi=F3: > I'm working on a port that needs to install a kernel module (loaded by > an rcNG script). Is there a preferred location for kernel modules > installed by a port? > > A quick search of Google, the Porter's Handbook, and hier(7) came up > empty. The following locations seem to be popular: > > $PREFIX/lib/$PORTNAME better ${PREFIX}/libexec/... > $PREFIX/modules Not an option > $PREFIX/share/$PORTNAME modules are arch-specific. Can't go under ${PREFIX}/share/ > > There's also /boot/modules, but that's outside of PREFIX... Would I think this is the correct place, but you must place it first under=20 ${PREFIX}/libexec/ and then use a pkg-install script to safe install it=20 under /boot/modules > anyone care to set a standard? > > Thanks, > Craig =2D- josemi