Gentoo Archives: gentoo-dev

From: purslow@×××××××××.ca
To: Gentoo Devt <gentoo-dev@l.g.o>
Subject: [gentoo-dev] improving world & pkg
Date: Wed, 07 Apr 2004 03:43:28
Message-Id: 20040407034325.GC7548@sympatico.ca
1 i've been using Gentoo for 6 mth (Linux & UNIX much longer)
2 & am steadily learning how things are set up & work in practice.
3 i'ld like to make a couple of suggestions based on that experience.
4
5 (1) instead of Portage adding emerged pkgs to 'world' automatically,
6 it sb upto the user to ask for that to be done by an explicit flag.
7 i suspect present behaviour goes back to the beginnings of Gentoo
8 & has never been re-examined: it doesn't work out well in practice.
9 often, i find myself wanting to update a pgm wh is needed for something else,
10 but wh i don't want to add to my 'world', wh is the end-products i do want.
11 yes, you can explicitly exclude things w '--oneshot',
12 but that has to be done each time & has no short equivalent.
13
14 my suggestion is to replace '--oneshot' w its opposite '-w',
15 wh wd explicitly tell Portage to add the pkg to 'world';
16 otherwise, the pkg wd not be added to 'world'.
17
18 (2) 'qpkg -I' will list all emerged pkgs,
19 wh seem to be recorded in /var/db/pkg/... (a set of dirs).
20 however, it wb really useful to have a simple file listing them,
21 wh wb updated at each emerge by Portage & cb annotated by the user.
22
23 i have created such a file for my own system. the 1st few lines are:
24
25 app-admin/addpatches-0.2 # for gentoo-sources
26 W 031121 app-admin/chkrootkit-0.41-r1
27 040212 app-admin/fam-2.7.0 # for kdelibs
28 W 031128 app-admin/gkrellm-1.2.13
29 W 040307 app-admin/gkrellm-2.1.25 # invoke 'gkrellm2'
30 040322 app-admin/sudo-1.6.7_p5 # for postgresql
31 S 040314 app-admin/sysklogd-1.4.1-r10
32 S app-arch/bzip2-1.0.2-r2
33 031005 app-arch/cabextract-0.6 # CD1 for xfree
34 S app-arch/cpio-2.5
35 S app-arch/gzip-1.3.3-r2
36
37 the 1st col identifies it as world/system/other, the 2nd is the date,
38 then there is the full version name & lastly comments preceded by '#'.
39
40 my suggestion is that Portage shd create such a file at installation
41 -- eg /etc/pkglist -- , then update it whenever a pkg is emerged,
42 respecting the user's comments (anything on a line after '#').
43 wd this require more work than writing a simple script ?
44
45 the most important advantage of Gentoo over other distros
46 -- as shown by users' comments when asked why they prefer Gentoo --
47 is that it gives users real control over the shape of their systems.
48 both suggestions shd add something to that feeling of control.
49
50 --
51 ========================,,============================================
52 SUPPORT ___________//___, Philip Webb : purslow@××××××××××××××.ca
53 ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
54 TRANSIT `-O----------O---' University of Toronto
55
56 --
57 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] improving world & pkg Seemant Kulleen <seemant@g.o>
Re: [gentoo-dev] improving world & pkg Erik Swanson <gentoo-dev@××××××××××××.name>