From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EQBgU-0006C8-PY for garchives@archives.gentoo.org; Thu, 13 Oct 2005 22:36:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9DMQ6x0020288; Thu, 13 Oct 2005 22:26:06 GMT Received: from qproxy.gmail.com (qproxy.gmail.com [72.14.204.204]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9DMOLST025047 for ; Thu, 13 Oct 2005 22:24:22 GMT Received: by qproxy.gmail.com with SMTP id p36so257607qba for ; Thu, 13 Oct 2005 15:34:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:x-face:mime-version:content-type:content-transfer-encoding:message-id:sender; b=S6rSNYLWKe3hOZES6tRYr1e9++0A02FngsxXEmlhZ4hkAadCp89XvLKS919oUJwrab9gK50aMTMZXm0e11D7y9xpZ1iU7JCaRYHJsZSi77R+0Ys+XEIiPDIcKcTTYDlcTr94Lhxw+dZsQGfJsmojR+1bGXVk7U21YXvbhRjjhkY= Received: by 10.65.145.8 with SMTP id x8mr1400972qbn; Thu, 13 Oct 2005 15:34:16 -0700 (PDT) Received: from ?192.168.0.2? ( [151.56.63.142]) by mx.gmail.com with ESMTP id f16sm5800870qba.2005.10.13.15.34.15; Thu, 13 Oct 2005 15:34:16 -0700 (PDT) From: "Diego 'Flameeyes' =?iso-8859-1?q?Petten=F2?=" To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Handling compatible multi tools Date: Fri, 14 Oct 2005 00:33:59 +0200 User-Agent: KMail/1.8.91 X-Face: +=-v@W}H`=.Bn2t&97Un7{[.c0aP0"8)JI?7Z?E>l>ZNY|,=?utf-8?q?mL=5C3bs=0A=09xW=23jRz=7CVa=5C?=@NIS3-'W[F.^YLqK=rS:D*Ke`Y5giI@$(xIBQ<0i740;wuI{lYd>>=?utf-8?q?eFVDuAr=0A=09=3Br=5B*=7E/zd=604dEI?= 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="nextPart3887189.RXQ0p1OArE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200510140034.18238@enterprise.flameeyes.is-a-geek.org> Sender: "=?UTF-8?Q?Diego=20\"Flameeyes\"=20Petten=C3=B2?=" X-Archives-Salt: 2384eed1-1385-4327-a85a-39f6669b32f5 X-Archives-Hash: ffa05cbb7068a9d57a283c2ea7683c74 --nextPart3887189.RXQ0p1OArE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi everybody, Please don't start flaming me for this proposal, it's a discussion. Now, we have in tree app-arch/bsdtar and app-arch/tar (gnu tar) that are=20 syntax compatible and can actually work fine on Gentoo/Linux or=20 Gentoo/FreeBSD or anything Gentoo/*.. Now they are probably the only two of a series of tools that might be choos= en=20 from a list. I already tried preparing a list, but right now, they are probably limited = to=20 tar and mpg123/mpg321 ... sort of. What I was thinking of is to standardize a way they can be handled. A part = an=20 eselect module, what I was thinking of was a way to have (in this=20 case) /bin/tar remain what it is if it's a symlink. Basically, I thought of this: * don't install the symlink in src_install * in pkg_postinst, look at ${ROOT}/bin/tar.. if it does exists, and it poin= ts=20 on something existing, don't touch it, otherwise, make it a link to the=20 current tar * in pkg_postrm, if ${ROOT}/bin/tar points to something non existant, remov= e=20 it at this point, gnu tar and bsdtar might share a virtual, and one can choose= =20 the tar to use (obviously, the default remains on the os default tar, so=20 bsdtar for freebsd, and gnu tar for everything else). It's probably incomplete, so I like proposals about this... =2D-=20 Diego "Flameeyes" Petten=F2 - http://dev.gentoo.org/~flameeyes/ Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE --nextPart3887189.RXQ0p1OArE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDTuDqe2h1+2mHVWMRAiW9AKDGxYqwYuzIbcbxMELnjQajYEQFrACfedMV fsJz/V2p4K7Jn51VyGUvejU= =YpYE -----END PGP SIGNATURE----- --nextPart3887189.RXQ0p1OArE-- -- gentoo-dev@gentoo.org mailing list