1 |
On 16/08/2003 at 08:33:06(+0200), Philippe Lafoucrière used 0.4K just to say: |
2 |
> > Sure you can - that's what local USE flags are for. |
3 |
> |
4 |
> Yes, but it would simpler to have an interface than to looking in use.local.desc file every |
5 |
> time you emerge a package. |
6 |
|
7 |
What about ufed? It is already done and has the required capability (checkboxes |
8 |
and stuff). The only thing ufed needs before becoming what you want is the |
9 |
capability to let you choose what flags you want to configure. |
10 |
|
11 |
For example if ufed has the capability to be run as: |
12 |
|
13 |
# ufed ssl pam ipv6 |
14 |
|
15 |
and then only let you configure the three flags "ssl", "pam" and "ipv6", then, |
16 |
you could configure your packages before emerging them with this. |
17 |
|
18 |
Example. You want to configure the following command: |
19 |
|
20 |
# emerge -pvU samba proftpd |
21 |
|
22 |
You configure it with this: |
23 |
|
24 |
# emerge -pvU samba proftpd | |
25 |
grep '^\[ebuild' | |
26 |
cut -f2- -d] | |
27 |
cut -f3- -d\ | |
28 |
sed -e 's/[-+]//g' | |
29 |
xargs ufed |
30 |
|
31 |
I actually even coded the changes I had in mind. You may want to use the shell |
32 |
script I attach for configuring though since the code above is a little too |
33 |
long to type every time by hand. |
34 |
|
35 |
Please test and if the devs like it -- apply. |
36 |
|
37 |
-- |
38 |
( Georgi Georgiev ( BOFH Excuse #88: Boss' kid fucked up the ( |
39 |
) chutz@×××.net ) machine ) |
40 |
( +81(90)6266-1163 ( ( |