Gentoo Archives: gentoo-embedded

From: "Peter S. Mazinger" <ps.m@×××.net>
To: gentoo-embedded@l.g.o
Cc: base-system@g.o
Subject: [gentoo-embedded] portage profiles for alternatives (uclibc)
Date: Thu, 10 Jun 2004 09:08:00
Message-Id: Pine.LNX.4.44.0406100954110.2928-100000@lnx.bridge.intra
1 Hello!
2
3 Sorry cross-posting, I do not really know who is in charge.
4
5 Working on a uclibc based gentoo-system, I came across following problem:
6
7 All the profiles use direct names for the packages[.build] or in the
8 base|embedded|hardened new stackable structure (is stackable working?)
9 like app-arch/tar (the ebuilds refer also to this). For embedded/uclibc,
10 this could be replaced by busybox, or yacc could be replaced by using
11 bison's yacc.bison shell script.
12
13 The current approach does not allow replacement of some/all of the
14 packages for other platforms, my proposal would be to use only virtual
15 names for build/system and define these differently for glibc/uclibc (and
16 maybe others). This would also require, that the all of the ebuilds
17 requirement for a base system refer only to the virtual name in
18 [R]DEPEND. I know that this requires many changes, but would facilitate
19 the support of other system not fully gnu-based.
20 Ex. virtual/baselayout for glibc points to sys-apps/baselayout, for
21 uclibc/embedded would point to sys-apps/baselayout (when finished)
22 The ebuilds should refer to the direct names only if it is really a
23 requirement to have that version.
24
25 Other issues encountered:
26 1. the gettext package is always required for emerge system (but this in
27 most cases only an nls requirement), building w/o nls does not/should not
28 need gettext (some packages need patches for this)
29 2. groff requires c++ (and is used by man), if an embedded system does not
30 need c++ and does not use man[-pages] (installing w/ noman) then groff
31 does not have to be installed either, (and c++/libstdc++)
32 3. uclibc does not support pam, so the package pam/pam-login/pwdb should
33 also be optional (based on pam use flag)
34 4. is bc/bin86 required for a base system?
35 5. sys-libs/db is requirement, how about virtual/db (that could be berkdb
36 or gdbm, based on the use flag)
37 6. busybox currently could replace partially
38 gawk/sed/tar/cpio/findutils/coreutils/grep,
39 debianutils/kbd/procps/psmisc/gzip/bzip2/which/patch/nano(vi)/modutils/
40 diffutils/sharutils/sash/iputils/wget/util-linux/net-tools/fbset
41 instead of less it could use more, w/ some shell script to support the
42 less flags, so all these are candidates for virtual
43 (it does not have all of the utilities, only a minimal set of it in most
44 cases)
45 7. cracklib (checked only the base system) is only required if shadow or
46 pam are needed, embedded does not need to have either of them, so this
47 should be only gotten by a use flag, not required for the base system
48 8. gawk provides libfuncs.so, if this could be a separate package (it
49 builds currently only against gawk headers), it could be used on systems
50 where only mawk or busybox awk are installed
51 9. maybe ncurses->libtermcap?
52 10. to simplify all ebuilds, the disable-nls/enable-nls
53 (--without-included-gettext?) stuff could be auto-added to econf, based on
54 nls)
55
56 Any thoughts?
57
58 --
59 Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
60 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
61
62
63 ____________________________________________________________________
64 Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
65 Probald ki most! http://www.freestart.hu
66
67 --
68 gentoo-embedded@g.o mailing list

Replies

Subject Author
[gentoo-embedded] Re: portage profiles for alternatives (uclibc) Mike Frysinger <vapier@g.o>