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.60) (envelope-from ) id 1GTTUW-00057k-FS for garchives@archives.gentoo.org; Sat, 30 Sep 2006 01:18:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8U1Gxv7010403; Sat, 30 Sep 2006 01:16:59 GMT Received: from shuttle.zlin.dk (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8U1CgTx000956 for ; Sat, 30 Sep 2006 01:12:42 GMT Received: from BA.zlin.dk (unknown [10.0.0.3]) by shuttle.zlin.dk (Postfix) with ESMTP id 3555230051 for ; Sat, 30 Sep 2006 03:12:41 +0200 (CEST) From: Bo =?iso-8859-1?q?=D8rsted_Andresen?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Hooks for Portage 2.1? Date: Sat, 30 Sep 2006 03:12:35 +0200 User-Agent: KMail/1.9.4 References: <200609241705.34595.mcbrides9@comcast.net> <200609250116.20321.bo.andresen@zlin.dk> <20060929210356.GA31908@atrey.karlin.mff.cuni.cz> In-Reply-To: <20060929210356.GA31908@atrey.karlin.mff.cuni.cz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1258479.uaDi6ZdQ50"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609300312.40128.bo.andresen@zlin.dk> X-Archives-Salt: 2135e378-4b34-47bc-941a-e57021074972 X-Archives-Hash: da02b0539ecb63b0630d2608d1574716 --nextPart1258479.uaDi6ZdQ50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 29 September 2006 23:03, ps@twin.jikos.cz wrote: > i would like to have a script (usage e.g. "emerge_patch package > path/patch_file") which would emerge a given package and apply given patch > after source unpack phase. as i understood some time ago the hooks could = be > used for it, but i havent found any hint how to use them. I don't think the hooks are useful for that. Why not just copy the ebuild t= o=20 an overlay and apply the patch in the ebuild in the overlay? I think [1]=20 tells you everything you need to know to do that? [1] http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild =2D-=20 Bo Andresen --nextPart1258479.uaDi6ZdQ50 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFHcSI8/kKEzmwNNoRAiEjAKCANYsgTeeYeYQ7zfmKQ9bqESZ5kwCgyvU2 r41s2blOAblKRmYzniY/kK4= =9Xbu -----END PGP SIGNATURE----- --nextPart1258479.uaDi6ZdQ50-- -- gentoo-user@gentoo.org mailing list