Re: [gentoo-portage-dev] Making pax-utils a depend
On Sunday 20 November 2005 12:46, Brian Harring wrote: On Sat, Nov 19, 2005 at 10:39:29PM -0500, Ned Ludd wrote: On Fri, 2005-11-18 at 10:16 -0600, Brian Harring wrote: [snip] Still have issues with it- revdep-rebuild for example can't rely on NEEDED until a repository regen script is written. # How about something like this then? cd ${ROOT}/var/db/pkg || exit 1 for f in *-*/*/CONTENTS ; do NEEDED=${f%/*}/NEEDED if [[ ! -e $NEEDED ]]; then grep ^obj $f | awk '{print $2}' | scanelf -BF%F %n -f - $NEEDED fi done Aside from my inherint dislike of awk, algo is there. Should be schlopped into emaint though imo; you game, or want someone to do the python bits? emaint needs the plugin stuff for that to happen, but yeah... -- Jason Stubbs -- gentoo-portage-dev@gentoo.org mailing list
Re: [gentoo-portage-dev] Making pax-utils a depend
On Wednesday 16 November 2005 04:41, solar wrote: For those of you that do not know we Mike Frysinger and myself have written a general purpose ELF Q/A tool called pax-utils The tool itself can be used to preform a number of tasks. What ferringb would like todo is take advantage of this tool for the an updated verify-rdepend code. snip Before he does that does anybody have any objections? If so please let us know what and why. The last I heard, Brian was the only one *against* having pax-utils added to portage's RDEPEND list. ;) -- Jason Stubbs -- gentoo-portage-dev@gentoo.org mailing list
Re: [gentoo-portage-dev] Making pax-utils a depend
On Sat, Nov 19, 2005 at 12:46:04AM +0900, Jason Stubbs wrote: On Wednesday 16 November 2005 04:41, solar wrote: For those of you that do not know we Mike Frysinger and myself have written a general purpose ELF Q/A tool called pax-utils The tool itself can be used to preform a number of tasks. What ferringb would like todo is take advantage of this tool for the an updated verify-rdepend code. snip Before he does that does anybody have any objections? If so please let us know what and why. The last I heard, Brian was the only one *against* having pax-utils added to portage's RDEPEND list. ;) My issues were with NEEDED being auto-created when it's unused by portage, not specifically pax-utils. Still have issues with it- revdep-rebuild for example can't rely on NEEDED until a repository regen script is written. verify-rdepend doesn't need the repo to have all NEEDED keys filled though, so that facet of this problem isn't an issue for it. ~harring pgp5gJ6eUjRZK.pgp Description: PGP signature