From owner-freebsd-ports@FreeBSD.ORG Sun Jan 28 18:58:31 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 C9E6916A401 for ; Sun, 28 Jan 2007 18:58:31 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6212813C4A3 for ; Sun, 28 Jan 2007 18:58:31 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so984717uge for ; Sun, 28 Jan 2007 10:58:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=gnTOT1feiMTlYoH/TVOfPeg0tI27eF7DMei0X1e6twhHKFAh32D2cfglUNPE+XaundVVn2LdlvkegTWyqsDrtcGikNV7YF7nCzZMD1wVfa2JeeprgLCwpJ1pGzfzFuf3YdzmuaB/+9ut8vRejeZBYgmROC8WPeUzDhxPVNkoiaQ= Received: by 10.78.149.13 with SMTP id w13mr1729227hud.1170010708912; Sun, 28 Jan 2007 10:58:28 -0800 (PST) Received: by 10.78.170.11 with HTTP; Sun, 28 Jan 2007 10:58:28 -0800 (PST) Message-ID: Date: Sun, 28 Jan 2007 21:58:28 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Alexander Leidinger" In-Reply-To: <20070128193804.5b2e09ba@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070128193804.5b2e09ba@Magellan.Leidinger.net> X-Google-Sender-Auth: f910c471c6b62f33 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:58:31 -0000 On 1/28/07, Alexander Leidinger wrote: > 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 dumb people, so I don't think we need this low-level > hand-holding. That's one opinion. But Unix is also not about dumb developers. As a ports developer, my job is to make it easier for users to run third-party software and that's just what I'm trying to do to the extent of my skills and motivation...