Gentoo Archives: gentoo-dev

From: Corvus Corax <corvus-ml@×××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Unmerging dependent packages
Date: Wed, 14 Apr 2004 08:25:11
Message-Id: 20040414111943.55fa0d02@CorvusMC.home
In Reply to: [gentoo-dev] Re: Unmerging dependent packages by "Michael Sterrett -Mr. Bones.-"
1 If i got right what has been requested, i can only say I'd like to have such a tool, too :-)
2
3 Imagine some small but widely used library that usually gets linked statically and so is used only at build time.
4
5 lets say we call it "zlib" ;)
6
7 lets further assume, some geek finds a security leak in it, which allows execution of arbitrary code, which leads to any
8 software using the library beng exploitable, also theres a new version out there soon, which is fixed, as always ;-)
9
10 if i had a server running, and an exploit already "in the wild" i'd rather like to upgrade not only this library itself, but also each and every package that
11 used it for building.
12
13 so a emerge option that searches for packages that depend on package XY would be cool, especially with optional turnable recursiveness.
14 for example "--flush" and "--deepflush"
15
16 so i could do "emerge --deepflush zlib"
17
18 or if i have a system which is going to be stripped of its graphic card and i dont need x-applications anymore i could do
19 emerge X --deepflush unmerge
20
21 it could also be usefull, when turning on a useflag that was turned of until that time, for example:
22 USE="alsa" emerge --flush alsa
23 to re-merge all packages that would have optional alsa support and such depend on alsa in case of alsa useflag being set :-)
24
25 I think that would be usefull, whadda you think?
26
27
28 Corvus
29
30 --
31 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: Unmerging dependent packages Luke-Jr <luke7jr@×××××.com>