From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3OF64AZ019407 for ; Sun, 24 Apr 2005 15:06:04 GMT Received: from ns2.rednecks.net ([64.192.52.5] helo=skinny.southernlinux.net) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DPig0-0003BR-J7 for gentoo-dev@lists.gentoo.org; Sun, 24 Apr 2005 15:05:41 +0000 Received: (qmail 11261 invoked by uid 210); 24 Apr 2005 11:05:43 -0400 Received: from 10.10.10.188 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/849. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(10.10.10.188):. Processed in 0.103415 secs); 24 Apr 2005 15:05:43 -0000 Received: from unknown (HELO ?10.10.10.188?) (10.10.10.188) by 0 with RC4-MD5 encrypted SMTP; 24 Apr 2005 11:05:43 -0400 Subject: [gentoo-dev] framework for local auto patching From: Ned Ludd To: gentoo-dev@lists.gentoo.org Content-Type: text/plain Date: Sun, 24 Apr 2005 11:02:19 -0400 Message-Id: <1114354939.27596.47.camel@localhost> 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.0.4 Content-Transfer-Encoding: 7bit X-Archives-Salt: a29953d0-1668-40f1-9ca4-ddb563682172 X-Archives-Hash: e80dd2941819dadab240483ea3a6f510 The dev-portage@ guys will probably hate me for telling the rest of you this kinda framework is even remotely possible but I'm sure they will get over it.. (hi ferringb) If your like me and have a rather large customized overlay to apply misc patches to misc packages that really don't change much at the source level and your getting sick of the repetitive task of having to hawk your overlay and make sure that it's ebuilds are kept up to date by being >= than what $PORTDIR provides this might be just thing you always needed. http://dev.gentoo.org/~solar/portage_misc/bashrc.autopatch Then simply do something like this. cvs diff > /var/cvsroot/gentoo-x86/local/patches/sys-apps/sandbox/sandbox-1.2.1-sfperms.patch emerge sandbox # where /var/cvs/gentoo-x86/local/patches is equiv to your desired auto PATCH_OVERLAY have fun. -- Ned Ludd -- gentoo-dev@gentoo.org mailing list