From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M1E6n-0002K6-LL for garchives@archives.gentoo.org; Tue, 05 May 2009 06:26:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5992DE035D; Tue, 5 May 2009 06:26:28 +0000 (UTC) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by pigeon.gentoo.org (Postfix) with ESMTP id 0D39EE035D for ; Tue, 5 May 2009 06:26:27 +0000 (UTC) Received: by bwz23 with SMTP id 23so3966046bwz.34 for ; Mon, 04 May 2009 23:26:27 -0700 (PDT) Received: by 10.103.231.16 with SMTP id i16mr4204452mur.7.1241504787173; Mon, 04 May 2009 23:26:27 -0700 (PDT) Received: from tonich.warlock.ru ([92.255.206.15]) by mx.google.com with ESMTPS id j9sm18398214mue.51.2009.05.04.23.26.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 May 2009 23:26:26 -0700 (PDT) Date: Tue, 5 May 2009 10:26:21 +0400 From: Toha To: gentoo-portage-dev@lists.gentoo.org Subject: [gentoo-portage-dev] files in ${FILESDIR} Message-ID: <20090505102621.55ffa379@tonich.warlock.ru> In-Reply-To: <49F0AAD9.4060400@gentoo.org> References: <20090423122341.GO15099@gentoo.org> <49F0AAD9.4060400@gentoo.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 2717d872-3f37-439c-aab0-1d66102e1b24 X-Archives-Hash: 9e56652512a0a06fdd7116002c0052ce What about this idea: list all files in ${FILESDIR} (patches, init scripts), related to ebuild in this ebuild like: FLS=( "some-init-script" "${PN}-patch1.patch" "${PN}-${PV}-patch2.patch" ... "${PN}-patchN.patch" ) then using this files by addressing his index in ${FLS} array applying patches with command: epatch 1 ( or in batch mode: epatch 1 2 3 ) and init scripts like: doinitd 0 etc. reason: easy automated way to moving ebuilds with all required files betwen repositories/overlays