From owner-cvs-all@FreeBSD.ORG Mon Dec 24 04:46:09 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46A2116A417; Mon, 24 Dec 2007 04:46:09 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id EE59713C457; Mon, 24 Dec 2007 04:46:08 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id lBO4k779060037; Sun, 23 Dec 2007 20:46:07 -0800 (PST) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.1/8.14.1/Submit) id lBO4k6iV060036; Sun, 23 Dec 2007 20:46:06 -0800 (PST) (envelope-from obrien) Date: Sun, 23 Dec 2007 20:46:06 -0800 From: "David O'Brien" To: Alexander Leidinger Message-ID: <20071224044606.GB65261@dragon.NUXI.org> References: <200712192019.lBJKJtvv016644@repoman.freebsd.org> <20071220092355.rpm2kstwu88c4k88@webmail.leidinger.net> <20071220163402.GB46470@dragon.NUXI.org> <20071222133627.46o3d8fxc0sko0w0@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071222133627.46o3d8fxc0sko0w0@webmail.leidinger.net> X-Operating-System: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/emulators/linux_base-fc4 Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 04:46:09 -0000 On Sat, Dec 22, 2007 at 01:36:27PM +0100, Alexander Leidinger wrote: > Quoting David O'Brien (from Thu, 20 Dec 2007 08:34:02 > -0800): >> On Thu, Dec 20, 2007 at 09:23:55AM +0100, Alexander Leidinger wrote: >> This change does make it so one can add the right linux_base. Without >> it, one must go churning thru /usr/ports/Mk/bsd.port.mk to figure out >> what specific distro is the right app. > > This is only true if you want to add it by hand, instead of letting the > pkg tools tell you which one to download. What I would like to know is, > if you are adding it by hand and then using a linux program which is > not available as a port, or if you install a linux program from > ports/pkg by installing all the prerequisite by hand. Both. The last time I 'pkg_add -r'ed linux_base it was to run company internal applications that aren't a FreeBSD package. At times I also like to pre-install some dependencies - to make it easier to monitor the install of the application I'm ultimately interested in. > I'm asking this, because normally it doesn't make sense to install > linux programs as packages. The ports download binary files anyway, and > there's no compiling or some other time consuming operation happening. Sure it does - it is faster to 'pkg_add -r linux_base' than "build" it from /usr/ports - where one has to download 36 files. Especially if the first MASTER_SITE listed isn't having a good day. > In most of the cases installing a linux base by hand is the wrong thing > to do. That is a very personal POV. I see nothing wrong with it. Expecially if one is scripting the installation of several FreeBSD boxes. And if we do a proper job of keeping "linux_base" pointing to the right package, this line in Sysinstall doesn't have to keep changing to chase our advancements: config.c: i = package_add("linux_base-fc"); -- -- David (obrien@FreeBSD.org)