From owner-freebsd-ports@FreeBSD.ORG Sun Jan 28 18:38:13 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91E1D16A400; Sun, 28 Jan 2007 18:38:13 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 4D55113C494; Sun, 28 Jan 2007 18:38:13 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5EFA9.dip.t-dialin.net [84.165.239.169]) by redbull.bpaserver.net (Postfix) with ESMTP id 523672E149; Sun, 28 Jan 2007 19:48:43 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id D84C35B489C; Sun, 28 Jan 2007 19:38:04 +0100 (CET) Date: Sun, 28 Jan 2007 19:38:04 +0100 From: Alexander Leidinger To: "Andrew Pantyukhin" Message-ID: <20070128193804.5b2e09ba@Magellan.Leidinger.net> In-Reply-To: References: X-Mailer: Claws Mail 2.7.2 (GTK+ 2.10.8; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: FreeBSD Ports Subject: Re: Non-daemon programs requiring kernel modules X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 18:38:13 -0000 Quoting "Andrew Pantyukhin" (Sun, 28 Jan 2007 18:35:30 +0300): > I'm porting a simple util requiring aio(4). My plan is > to install a wrapper script which includes rc.subr(8) > and uses its required_modules mechanism. > > If anyone has a better idea, please tell me. Just tell at port/package install time the requirement. Every linux program needs the linux module or the corresponding kernel option. If the code is not available at runtime, the user will get an error. Unix is not for dump people, so I don't think we need this low-level hand-holding. Bye, Alexander. -- Professor: No fair! You changed the outcome by measuring it. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137