Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Paul de Vrieze <pauldv@g.o>
Cc: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] installing portage in another directory structure
Date: Tue, 20 May 2003 20:28:46
Message-Id: 1053462604.10390.14.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] installing portage in another directory structure by Paul de Vrieze
1 On Tue, 2003-05-20 at 21:24, Paul de Vrieze wrote:
2 > On Tuesday 20 May 2003 16:54, Stephan Hermann wrote:
3 > >
4 > > But I don't have a gentoo distribution as base linux.
5 > > Company standard is debian and we have a split between OS administration
6 > > and "application" administration.
7 > > (application in the meaning of: software to run self coded products for
8 > > customers)
9 > >
10 > > so I can't install the portage tree in /etc /usr/portage etc. I need to
11 > > install it at /opt/apps/portage for example.
12 >
13 > Unfortunately most ebuilds presume that they are build on a gentoo system, as
14 > such they have hardcoded directories. In general portage is not really that
15 > suitable as a secondary package manager.
16 >
17
18 Actually no. Most stuff use variables set by portage, with only two or
19 three packages using hardcoded:
20
21 ---------------------------------------------------------------
22 $ find . -type f -name '*.ebuild' -exec awk '
23 $0 !~ /^[[:space:]]*#/ {
24 foo = $0
25
26 if (sub(/usr\/portage/, "", foo)) {
27
28 bar = FILENAME
29 sub(/^\.\//, "", bar)
30
31 print bar ": " $0
32 }
33 }' {} \;
34 app-sci/tbass/tbass-20030204.ebuild: einfo "/usr/portage/distfiles
35 before emerging."
36 app-sci/tbass/tbass-20030318.ebuild: einfo "/usr/portage/distfiles
37 before emerging."
38 dev-java/blackdown-jre/blackdown-jre-1.3.1-r9.ebuild: .
39 /usr/portage/eclass/inherit.eclass
40 net-ftp/jftpgw/jftpgw-0.13.1.ebuild:
41 FILEDIR="/usr/portage/net-ftp/jftpgw/files"
42 net-ftp/jftpgw/jftpgw-0.13.4.ebuild:
43 FILEDIR="/usr/portage/net-ftp/jftpgw/files"
44 sys-apps/baselayout/baselayout-1.8.5.9.ebuild: keepdir /usr/include
45 /usr/src /usr/portage
46 sys-apps/baselayout/baselayout-1.8.6.5.ebuild: if [ ! -d
47 "${ROOT}/usr/portage" ]
48 sys-apps/baselayout/baselayout-1.8.6.5.ebuild: keepdir /usr/portage
49 sys-apps/baselayout/baselayout-1.8.6.6.ebuild: if [ ! -d
50 "${ROOT}/usr/portage" ]
51 sys-apps/baselayout/baselayout-1.8.6.6.ebuild: keepdir /usr/portage
52 sys-apps/baselayout/baselayout-1.8.5.8.ebuild: keepdir /usr/include
53 /usr/src /usr/portage
54 sys-apps/baselayout/baselayout-1.8.6.7.ebuild: keepdir_mount
55 /usr/portage
56 sys-apps/baselayout/baselayout-1.8.6.8.ebuild: keepdir_mount
57 /usr/portage
58 sys-apps/busybox/busybox-0.60.5-r1.ebuild: einfo "Edit
59 /usr/portage/sys-apps/busybox/files/Config.h and"
60
61 ---------------------------------------------------------
62
63 It will thus not be too much issue to fix these, as the only broken ones
64 seem to be:
65
66 app-sci/tbass/tbass-20030204.ebuild
67 app-sci/tbass/tbass-20030318.ebuild
68 dev-java/blackdown-jre/blackdown-jre-1.3.1-r9.ebuild
69 net-ftp/jftpgw/jftpgw-0.13.1.ebuild
70 net-ftp/jftpgw/jftpgw-0.13.4.ebuild
71 sys-apps/busybox/busybox-0.60.5-r1.ebuild
72
73 with baselayout prob also falling under what should be fixed,
74 but could be given to discussion, as I guess you would not install
75 it if you use portage as second package system.
76
77
78 Regards,
79
80 --
81
82 Martin Schlemmer
83 Gentoo Linux Developer, Desktop/System Team Developer
84 Cape Town, South Africa

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] installing portage in another directory structure Paul de Vrieze <pauldv@g.o>