1 |
On Mon, 2001-12-03 at 12:32, Vitaly Kushneriuk wrote: |
2 |
> 1)Actualy used features should be stored ,so that if |
3 |
> I install a package which can use FEATURE1 and FEATURE2, but |
4 |
> only FEATURE1 is available(and used) at the build time, I'd like to be |
5 |
> notified when I install another package that provides FEATURE2, that |
6 |
> I can remerge the first package for additional functionality. |
7 |
> As all USES available during build are already stored in /var/db |
8 |
> We only need to add list of possible USES in .ebuild. |
9 |
|
10 |
I like the idea of feature provision notification. |
11 |
|
12 |
> 2)Long descriptions should be added. |
13 |
|
14 |
The problem with long descriptions is that they should be updated |
15 |
consistantly. Also, package authors tend to neglect them. It's a useful |
16 |
addition, but I can only see it usefulness if some sort of graphical |
17 |
package manager were available. |
18 |
|
19 |
> 3)emerge should search for package in category dirs. So that |
20 |
> "emerge gcc" as "emerge sys-devel/gcc" |
21 |
> |
22 |
> 4)ebuilds must be simplified! Most packages can be build by rpm macros |
23 |
> |
24 |
> %setup |
25 |
> %configure |
26 |
> %make |
27 |
> %makeinstall |
28 |
> |
29 |
> We should provide such macros for our builds and use them in the |
30 |
> default implementation for unpack/compile/install functions. |
31 |
> So that most ebuilds will contain only URL/DESCRIPTION etc. |
32 |
> |
33 |
> 5)Compile and install logs should be stored for future inspection. |
34 |
> Should be realy simple to implement. Just redirect sub shell to |
35 |
> "| tee <logfilename>. Or even "> logfilename" if emerge called with |
36 |
> --silent flag. |
37 |
> |
38 |
> 6)Why bother with the sendbox and not just compile and install nonroot? |
39 |
> Some packages will even refuse to be built by root. Take a look at |
40 |
> rpm build system. Any reasonably good srpm will compile as non root. |
41 |
|
42 |
Because non-root and sandbox work together. There are also a number of |
43 |
ebuilds that need to be root before being able to install. Working in |
44 |
non root fixes the access right to paths statically. A sandbox does this |
45 |
dynamically, offering a much more flexible environment. Some ebuilds |
46 |
need also to be able to switch to other users and perform initialization |
47 |
as the other user. A nice feature of the sandbox is that additionally to |
48 |
portage, the ebuild package system can be used to create much more |
49 |
complex personal packages. For example, we have ebuilds for each of our |
50 |
clients and projects, automating installing and configuration. I |
51 |
certainly don't want any files of one client installation to 'leak' |
52 |
accidentally into common ground or even worse, into another's |
53 |
installation. Using the sandbox its possible to change the allowed path |
54 |
for each package (and even during the ebuild) and offer that kind of |
55 |
protection. |
56 |
-- |
57 |
Geert Bevin |
58 |
the Leaf sprl/bvba |
59 |
"Use what you need" Pierre Theunisstraat 1/47 |
60 |
http://www.theleaf.be 1030 Brussels |
61 |
gbevin@×××××××.be Tel & Fax +32 2 241 19 98 |