1 |
On Tue, 2003-11-04 at 10:20, Marius Mauch wrote: |
2 |
> Hi, |
3 |
> |
4 |
> currently we have a lot of packages in the portage tree that provide |
5 |
> both server and client implementations of a package, big things like |
6 |
> mysql and samba but also small stuff like telnet-bsd. Often people don't |
7 |
> need the server part of these packages, but currently there is no way to |
8 |
> disable them. Some packages have splitted the package, but this is IMO |
9 |
> not a good idea in general, as often the ebuilds are the same except for |
10 |
> one or two commands. |
11 |
> So my idea (as well as others) is to add a new "server" USE flag that |
12 |
> controls wether the server part of a package is build. This idea is |
13 |
> outlined in more details on bug 12499, which also had the idea of a |
14 |
> "client" USE flag, so that it's possible to only build the libs or only |
15 |
> the server, however I think that such a flag will create more problems |
16 |
> than benefits (see the bug for explanations). |
17 |
> So, I'd like to get some opinions/comments from people on this idea, as |
18 |
> this is coming up about every month and there wasn't really any action |
19 |
> to solve this issue. |
20 |
> |
21 |
> Marius |
22 |
|
23 |
I like this idea, it makes sense and seems more logical than a client |
24 |
USE flag. |
25 |
|
26 |
I think that a *big fat notice* in /etc/make.conf should be included |
27 |
just above the USE=... line though, something like: |
28 |
|
29 |
# If you intend to use this machine as a server and require both |
30 |
# client/server portions of packages like mysql or samba installed then |
31 |
# ensure that you include "server" in your USE flags below. |
32 |
|
33 |
Hopefully this will go some way to reducing all the "I emerged samba but |
34 |
didn't get smbd/nmbd" bugs that are likely to come about. |
35 |
|
36 |
A GWN or simply a News item as well as a post to gentoo-announce should |
37 |
be made when this is implemented in the ebuilds. |
38 |
|
39 |
-- |
40 |
Troy Dack http://linux.tkdack.com |
41 |
<troy@××××××.com> http://webportage.sf.net |
42 |
|
43 |
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D90BE3C |
44 |
Key fingerprint = 1F3D 6C15 16AA 09D5 0C96 92E5 FD89 16F9 4D90 BE3C |
45 |
|
46 |
|
47 |
-- |
48 |
gentoo-dev@g.o mailing list |