1 |
On 28-02-2008 22:39:12 +0100, Michael Weiser wrote: |
2 |
> On Thu, Feb 28, 2008 at 08:48:39PM +0100, Fabian Groffen wrote: |
3 |
> |
4 |
> > > Is there an easy (or hard ;) way to switch Prefix back into privileged |
5 |
> > > mode? |
6 |
> > Unfortunately not easy. This has been admittedly a short sighted |
7 |
> > decision to assume Prefix == unprivileged. There are conditionals that |
8 |
> > just say "use prefix || chmod whatever"... |
9 |
> |
10 |
> It doesn't seem too bad. There's only a couple of ebuild using this |
11 |
> particular construct. This should be easily changeable to something like |
12 |
> "use prefix_unpriv || chmod". |
13 |
> |
14 |
> michael@esgaroth:~/bin/gentoo/usr/portage # grep -lr |
15 |
> "use[[:space:]][[:space:]]*prefix" * | grep -v "/\.svn/" |
16 |
> app-arch/tar/tar-1.17-r1.ebuild |
17 |
> app-arch/tar/tar-1.18-r1.ebuild |
18 |
> app-arch/tar/tar-1.18-r2.ebuild |
19 |
> app-arch/tar/tar-1.19-r1.ebuild |
20 |
> app-arch/tar/tar-1.19.ebuild |
21 |
> app-misc/screen/screen-4.0.3.ebuild |
22 |
> app-misc/screen/screen-4.0.3_p20070403.ebuild |
23 |
> app-text/xmlto/files/xmlto-0.0.18-prefix.patch |
24 |
> dev-java/diablo-jdk/diablo-jdk-1.5.0.07.01.ebuild |
25 |
> dev-lang/python/files/python-updater-r1-prefix.patch |
26 |
> dev-lang/python/python-2.5.1-r3.ebuild |
27 |
> dev-lang/python/python-2.5.1-r4.ebuild |
28 |
> dev-lang/python/python-2.5.1-r5.ebuild |
29 |
> dev-util/aegis/aegis-4.19.ebuild |
30 |
> eclass/games.eclass |
31 |
> eclass/toolchain.eclass |
32 |
> eclass/vim.eclass |
33 |
> media-sound/gnump3d/gnump3d-3.0.ebuild |
34 |
> net-misc/keychain/keychain-2.6.8.ebuild |
35 |
> net-nds/openldap/openldap-2.3.40-r1.ebuild |
36 |
> net-nds/openldap/openldap-2.4.7.ebuild |
37 |
> sys-apps/man/man-1.6e-r3.ebuild |
38 |
> sys-apps/man/man-1.6f-r1.ebuild |
39 |
> sys-apps/man/man-1.6f.ebuild |
40 |
> sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild |
41 |
> sys-devel/gcc-apple/gcc-apple-4.0.1_p5363-r1.ebuild |
42 |
> sys-devel/gcc-apple/gcc-apple-4.0.1_p5465-r1.ebuild |
43 |
> sys-devel/gcc-apple/gcc-apple-4.2.1_p5531.ebuild |
44 |
> sys-libs/libutempter/libutempter-1.1.5.ebuild |
45 |
> |
46 |
> Are there any more prefix-specific constructs you can recall? |
47 |
|
48 |
Yes, the predecessor of "use prefix" |
49 |
[[ ${EPREFIX%/} == "" ]] && chmod ... |
50 |
or a variant of it. |
51 |
|
52 |
-- |
53 |
Fabian Groffen |
54 |
Gentoo on a different level |
55 |
-- |
56 |
gentoo-alt@l.g.o mailing list |