From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.105.134.102] (helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DinQ5-000321-Eo for garchives@archives.gentoo.org; Thu, 16 Jun 2005 06:00:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j5G5w6kI000370; Thu, 16 Jun 2005 05:58:06 GMT Received: from relay7.poste.it (relay7.poste.it [62.241.4.179]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j5G5uNRT016537 for ; Thu, 16 Jun 2005 05:56:24 GMT Received: from flameeyes.is-a-geek.org (151.44.26.77) by relay7.poste.it (7.2.052.3) (authenticated as emanuela.zanon@poste.it) id 4210C3E30015D259 for gentoo-dev@lists.gentoo.org; Thu, 16 Jun 2005 07:57:20 +0200 From: "Diego 'Flameeyes' =?iso-8859-1?q?Petten=F2?=" To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Discussion: alternative compatible utilities Date: Thu, 16 Jun 2005 07:57:14 +0200 User-Agent: KMail/1.8.1 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 Content-Type: multipart/signed; boundary="nextPart1186960.WzAgyWhl7m"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506160757.19214@enterprise.flameeyes.is-a-geek.org> X-Archives-Salt: cf8cb2bb-c3a7-41da-aa13-5201834ade63 X-Archives-Hash: 42bd88c14997630173f634644da15469 --nextPart1186960.WzAgyWhl7m Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline As Gentoo/FreeBSD proceeds, I'm trying to abstract as much as I can the=20 underlying userland. Thinking of Gentoo/FreeBSD just as a starting point for other porting of=20 Gentoo's framework on different operating systems (for example the=20 already-work-in-progress Gentoo/Darwin, the I-don't-know-how's-doing=20 Gentoo/OpenBSD, and the maybe-someone-will-work-on Gentoo/NetBSD), there's= =20 something I'd really like to see: alternatives for system utilities. Let me explain: on Gentoo/Linux systems, all the base utilities (make, tar,= =20 sed, etc etc) are GNUish; on Gentoo/FreeBSD they are BSDish; on Gentoo/Darw= in=20 I don't really know :P This limits a bit the user because to use other kind of utilities it must u= se=20 aliases and he can't change, for example, the tar used by portage or by oth= er=20 scripts. As eselect's work is proceeding it can be interesting having a way to have = the=20 base utils install with a prefix (g for GNU stuff, bsd for BSD stuff,=20 eventually fbsd/obsd/nbsd if they are different) and then having a link to= =20 the basename which acn be changed with eselect. Most of the scripts which needs a specific syntax (usually GNU syntax) alre= ady=20 checks for prefixed executables like gmake, gsed and so on, but the main=20 problem is with portage (think of all the make DESTDIR=3D"${D} install stuf= f),=20 also if emake is fixed and sed stuff is as compatible as possible. Having to provide compatibility with such a framework is quite difficult at= =20 this point because many ebuilds does depend on GNU syntax also if not clear= ly=20 stated, but I hope this can be fixed step-by-step using g-prefixed commands= =20 (after making sure that all systems will have g-prefixed commands). It's not like something is going to happen soon, but maybe in the future th= is=20 can be a good way to make sure we expand the abiliy of users to select what= =20 they really want. Comments, ideas, and everythign else is welcome, it's a discussion after al= l. =2D-=20 Diego "Flameeyes" Petten=F2 Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64) http://dev.gentoo.org/~flameeyes/ --nextPart1186960.WzAgyWhl7m Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCsRS/e2h1+2mHVWMRApzZAKC4radmGMfZPsc1NFzTrK+avmDIwwCeOpQD M1CrqJd/AzqyS6K+x8Wry7I= =uBsW -----END PGP SIGNATURE----- --nextPart1186960.WzAgyWhl7m-- -- gentoo-dev@gentoo.org mailing list