From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IcfhP-0001vL-QW for garchives@archives.gentoo.org; Tue, 02 Oct 2007 11:14:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l92B2lDG016540; Tue, 2 Oct 2007 11:02:47 GMT Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l92B0ZV3013889 for ; Tue, 2 Oct 2007 11:00:35 GMT Received: from [10.73.1.31] (uberlaptop.marples.name [10.73.1.31]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTP id 80F0F190038 for ; Tue, 2 Oct 2007 12:00:34 +0100 (BST) Subject: Re: [gentoo-dev] RFC: sh versionator.eclass From: Roy Marples To: gentoo-dev@lists.gentoo.org In-Reply-To: <20071002104121.GM24867@gentoo.org> References: <200710012259.40589.uberlord@gentoo.org> <20071002072922.GC24867@gentoo.org> <1191314887.6284.11.camel@uberlaptop.marples.name> <20071002092246.GK24867@gentoo.org> <1191317845.6284.21.camel@uberlaptop.marples.name> <20071002094920.GL24867@gentoo.org> <1191319761.6284.35.camel@uberlaptop.marples.name> <20071002104121.GM24867@gentoo.org> Content-Type: text/plain Organization: Gentoo Date: Tue, 02 Oct 2007 12:00:12 +0100 Message-Id: <1191322812.6284.82.camel@uberlaptop.marples.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 49f1514c-140a-464c-92f2-0ea97f23ae43 X-Archives-Hash: ef1ad6107cc968f7fa79b24a4e8bf33b On Tue, 2007-10-02 at 12:41 +0200, Fabian Groffen wrote: > On 02-10-2007 11:09:21 +0100, Roy Marples wrote: > > It also means that their code stands a better chance of working where > > bash is not available, but /bin/sh is a POSIX shell still. > > I prefer to define that ebuilds (and eclasses) are dealt by GNU bash, > which is installed as part of the installation ritual for a Gentoo/X > system. I also prefer to define that all common tools ebuilds and > eclasses use such as cp, rm, awk, sed, find, xargs are GNU variants, > installed as part of the same installation ritual for a Gentoo/X system. > With such "definition", a Gentoo/X system without bash cannot exist. > > What you use outside of the Gentoo build/package manager environment is > completely up to you. In other words, regardless of shell being used, you have to know that in an ebuild sed, awk, rm, cp, find et all are really GNU sed. Lets not beat around the bush here! Why not just use gsed in an ebuild and be clear about it? > > > Rationale: > All tools (bash, coreutils, findutils, sed, gawk) can be compiled and > installed on any system I know of. Their use is widespread and > accepted. Our primary group of people working on ebuilds and eclasses > (Gentoo developers) work on a Gentoo system having said tools (and only > those) installed, making it a logical choice. > > > I personally fail to see the advantage of using "portable" or "standards > compliant" code here over what we have currently. We don't force it > down on anyone, we only use it to install a package for you. Using that rationale, scrap the kernel and system libs too and just install GNU/Linux with GNU/glibc Infact, if we're not interested in portable code why bother with Gentoo/ALT in the first place? Thanks Roy -- gentoo-dev@gentoo.org mailing list