From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LRUxL-0004Sc-5u for garchives@archives.gentoo.org; Mon, 26 Jan 2009 17:09:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 184F6E04A5; Mon, 26 Jan 2009 17:09:01 +0000 (UTC) Received: from IMPaqm1.telefonica.net (impaqm1.telefonica.net [213.4.149.61]) by pigeon.gentoo.org (Postfix) with ESMTP id 92F08E04A5 for ; Mon, 26 Jan 2009 17:09:00 +0000 (UTC) Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm1.telefonica.net with bizsmtp id 8FnN1b0080piX6q01H8zqo; Mon, 26 Jan 2009 18:08:59 +0100 Received: from jesgue.homelinux.org ([78.136.66.163]) by IMPmailhost1.adm.correo with BIZ IMP id 8H8y1b0063XLmEe1hH8y7Y; Mon, 26 Jan 2009 18:08:59 +0100 X-TE-authinfo: authemail="i92guboj.terra.es" |auth_email="i92guboj@terra.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitera01" Received: from 192.168.0.10 (SquirrelMail authenticated user i92guboj) by jesgue.homelinux.org with HTTP; Mon, 26 Jan 2009 18:08:56 +0100 (CET) Message-ID: <911f39eed2b64a7999ed45a93464d134.squirrel@jesgue.homelinux.org> In-Reply-To: <20090126214856.577a7fc6@coercion> References: <49bf44f10901260841w61b08bb5q6d7519dee4cc758e@mail.gmail.com> <20090126214856.577a7fc6@coercion> Date: Mon, 26 Jan 2009 18:08:56 +0100 (CET) Subject: Re: [gentoo-user] Installing outside of Portage & cruft removal From: =?iso-8859-1?Q?Jes=FAs_Guerrero?= To: gentoo-user@lists.gentoo.org User-Agent: SquirrelMail/1.4.16 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4b7276b2-5e02-4bc3-94c7-483f1614d19d X-Archives-Hash: a5d7c2c905a21b3abe3a5292d82a9820 On Mon, January 26, 2009 17:48, Mike Kazantsev wrote: > On Mon, 26 Jan 2009 08:41:52 -0800 > Grant wrote: > >> What do you guys think of this? Do you know of a good cruft removal >> script? > > Yep, there's quite good one in gentoo itself. > > Basically, you'll need to write a short config for it, consisting of > lines like "cruft name", "cruft src uri" and a few more lines if you'll > need to pass some extra parameters to configure/make/install. > It'll build the package in a sandbox, then transfer it to destination, > memorizing every change it did and preventing collisions and config > overwrites. > > Just put that config script into an ebuild file and use portage to > build it - as simple as it gets ;) If you have to learn to write anything, I suggest learning to write ebuil= ds instead which will probably be a better long term solution. That way you can reuse that knowledge in your Gentoo experience and you don't need a cruft remover either because you can just emerge -C your program. --=20 Jes=FAs Guerrero