From owner-cvs-all@FreeBSD.ORG Mon Dec 24 10:32:03 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 D912816A417; Mon, 24 Dec 2007 10:32:02 +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 7355A13C478; Mon, 24 Dec 2007 10:32:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55C98.dip.t-dialin.net [84.165.92.152]) by redbull.bpaserver.net (Postfix) with ESMTP id 183572E33E; Mon, 24 Dec 2007 11:31:24 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id EE46C784ED; Mon, 24 Dec 2007 11:31:19 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lBOAVJoo000673; Mon, 24 Dec 2007 11:31:19 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from router1.Leidinger.net (router1.Leidinger.net [192.168.1.42]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 24 Dec 2007 11:31:18 +0100 Message-ID: <20071224113118.85kxkqtnrc4gsksc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 24 Dec 2007 11:31:18 +0100 From: Alexander Leidinger To: obrien@FreeBSD.org References: <200712192019.lBJKJtvv016644@repoman.freebsd.org> <20071220092355.rpm2kstwu88c4k88@webmail.leidinger.net> <20071220163402.GB46470@dragon.NUXI.org> <20071222133627.46o3d8fxc0sko0w0@webmail.leidinger.net> <20071224044606.GB65261@dragon.NUXI.org> In-Reply-To: <20071224044606.GB65261@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 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=-13.504, required 6, BAYES_00 -15.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No 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 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 10:32:03 -0000 Quoting David O'Brien (from Sun, 23 Dec 2007 =20 20:46:06 -0800): > On Sat, Dec 22, 2007 at 01:36:27PM +0100, Alexander Leidinger wrote: >> Quoting David O'Brien (from Thu, 20 Dec 2007 08:34:0= 2 >> -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. Set a FreeBSD mirror as the master site override in make.conf and you =20 only have to bother about this if FreeBSD doesn't carry the distfile. >> 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 Scripting is not really a problem, specially when you install a port =20 which depends upon the default linux base port. But this does not =20 matter here. As said, I don't object to the change, I just want to =20 know the reason behind it. Thanks for sharing it with me. And I stand to the POV that in most cases installing a linux base port =20 by hand is the wrong thing. If you know what you are doing, you can do =20 what you want, but in most cases the people don't have a clue about =20 linux base and as such it is better to let the automatic dependency =20 resolution take care about the installation of the linux base port. =20 This results in less support mails to freebsd-emulation@. As long as =20 nobody advocates to install the linux base port by hand, feel free to =20 come up with suggestions/patches how to make the work you are doing =20 more easy (a pre-commit review request on freebsd-emulation@ would be =20 very nice). > 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 =3D package_add("linux_base-fc"); You don't have to justify the addition of LATEST_LINK. As already said =20 in a previous mail, I don't object, I just want to understand why you =20 need it (I don't think the sysinstall part was your main reason for =20 your commit, just a side-effect... and that is ok for me). Bye, Alexander. --=20 Don't abandon hope. Your Captain Midnight decoder ring arrives tomorrow. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137