Gentoo Archives: gentoo-portage-dev

From: Toha <tonich@××××××.ru>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] files in ${FILESDIR}
Date: Tue, 05 May 2009 06:26:29
Message-Id: 20090505102621.55ffa379@tonich.warlock.ru
In Reply to: Re: [gentoo-portage-dev] Portage and SIGHUP by Zac Medico
1 What about this idea: list all files in ${FILESDIR} (patches, init scripts), related to ebuild in this ebuild like:
2
3 FLS=( "some-init-script" "${PN}-patch1.patch" "${PN}-${PV}-patch2.patch" ... "${PN}-patchN.patch" )
4
5 then using this files by addressing his index in ${FLS} array
6
7 applying patches with command: epatch 1 ( or in batch mode: epatch 1 2 3 )
8 and init scripts like: doinitd 0
9 etc.
10
11 reason: easy automated way to moving ebuilds with all required files betwen repositories/overlays

Replies

Subject Author
Re: [gentoo-portage-dev] files in ${FILESDIR} Mike Frysinger <vapier@g.o>