1 |
While trying to learn about protage I read this; |
2 |
|
3 |
Taken from the ebuild 5 man page. |
4 |
<snip> |
5 |
PROVIDE = "virtual/TARGET" |
6 |
This variable should only be used when a package |
7 |
provides a virtual target. For example, black- |
8 |
down-jdk and sun-jdk provide virtual/jdk. This |
9 |
allows for packages to depend on virtual/jdk |
10 |
rather than on blackdown or sun specifically. |
11 |
<snip> |
12 |
|
13 |
But a quick search reveals this; |
14 |
|
15 |
root@littlebox portage # cd /usr/portage/ |
16 |
root@littlebox portage # grep -r "PROVIDE=" * | grep -v "virtual" |
17 |
|
18 |
app-sci/gperiodic/gperiodic-1.3.2.ebuild:PROVIDE="app-misc/gperiodic" |
19 |
app-sci/babel/babel-1.6.ebuild:PROVIDE="app-misc/babel" |
20 |
app-sci/euler/euler-1.59.1.ebuild:PROVIDE="app-misc/euler" |
21 |
app-sci/euler/ChangeLog: also removed PROVIDE="app-misc/euler" statment |
22 |
as it was moved over 6 month ago. |
23 |
app-sci/octave/octave-2.0.17-r1.ebuild:PROVIDE="dev-lang/octave" |
24 |
app-sci/octave/octave-2.0.17.ebuild:PROVIDE="dev-lang/octave" |
25 |
app-sci/octave/octave-2.1.36-r1.ebuild:PROVIDE="dev-lang/octave" |
26 |
app-sci/octave/octave-2.1.40.ebuild:PROVIDE="dev-lang/octave" |
27 |
app-sci/octave/octave-2.1.36.ebuild:PROVIDE="dev-lang/octave" |
28 |
app-sci/vis5d+/vis5d+-1.2.1.ebuild:PROVIDE="app-sci/vis5d+" |
29 |
app-sci/iverilog/iverilog-0.6.1.ebuild:PROVIDE="dev-lang/iverilog" |
30 |
dev-java/maven/maven-1.0_beta8.ebuild:PROVIDE="dev-java/maven" |
31 |
dev-java/maven/maven-1.0_beta9.ebuild:PROVIDE="dev-java/maven" |
32 |
dev-lang/ruby-cvs/ruby-cvs-1.8.0-r1.ebuild:PROVIDE="dev-lang/ruby-${PV}" |
33 |
net-mail/ezmlm-idx-mysql/ezmlm-idx-mysql-0.40.ebuild:PROVIDE="net-mail/ezmlm" |
34 |
net-mail/ezmlm-idx-mysql/ezmlm-idx-mysql-0.40-r2.ebuild:PROVIDE="net-mail/ezmlm" |
35 |
net-mail/ezmlm-idx-pgsql/ezmlm-idx-pgsql-0.40.ebuild:PROVIDE="net-mail/ezmlm" |
36 |
net-mail/ezmlm-idx-pgsql/ezmlm-idx-pgsql-0.40-r2.ebuild:PROVIDE="net-mail/ezmlm" |
37 |
net-mail/ezmlm-idx/ezmlm-idx-0.40-r2.ebuild:PROVIDE="net-mail/ezmlm" |
38 |
sys-apps/kbd/kbd-1.06-r1.ebuild:PROVIDE="sys-apps/console-tools" |
39 |
sys-apps/coreutils/coreutils-4.5.11-r1.ebuild:PROVIDE="sys-apps/sh-utils |
40 |
sys-apps/coreutils/coreutils-5.0.ebuild:PROVIDE="sys-apps/sh-utils |
41 |
sys-devel/gcc/gcc-2.95.3-r7.ebuild:#PROVIDE="sys-apps/texinfo" |
42 |
|
43 |
|
44 |
Can anyone explain why this is and what is going on with these packages? |
45 |
|
46 |
(specifically I was interested in kbd which provides another package |
47 |
which also exists. I have both kbd and console-tools installed and was |
48 |
trying to determine if I needed both installed or could remove kbd.) |
49 |
|
50 |
But why the other packages listed above provide non-virtual packages I'm |
51 |
also interested in. Most seem to provide themselves, but others (kbd, |
52 |
coreutils, gcc, ruby-cvs) seem to provide others. |
53 |
|
54 |
Any explanations welcome. |
55 |
|
56 |
thanks, |
57 |
Nick |
58 |
-- |
59 |
Nicholas Brown <nicbrown@×××××.com> |
60 |
|
61 |
-- |
62 |
gentoo-dev@g.o mailing list |