Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258110 - mail-filter/anubis abusing ${ROOT}
Summary: mail-filter/anubis abusing ${ROOT}
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
Depends on:
Blocks: 258096
  Show dependency tree
Reported: 2009-02-08 12:34 UTC by Thilo Bangert (RETIRED) (RETIRED)
Modified: 2011-06-13 18:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-02-08 12:34:19 UTC
Some notes on ROOT:

* The idea behind ROOT is that one can build a system with ROOT=/somewhere and
then chroot into it or tar up /somewhere as a system image. It is not designed
to allow the user to run /somewhere/usr/bin/foo.

* ROOT can't be used correctly in src_*, since ROOT might be different when
merging a binary package. For example, a binary package might be built with
ROOT=/ and then installed onto a system using ROOT=/somewhere.

* ROOT isn't used for library dependencies. When building, libraries, headers
etc. on / have to be used. Cross-compiling etc is done by configuring the
toolchain correctly, not by hacking ebuilds in a way that breaks binary

See also the discussion on bug #167285 for more info.
Comment 1 Eray Aslan gentoo-dev 2011-06-13 18:09:17 UTC
+*anubis-4.1.1 (13 Jun 2011)
+  13 Jun 2011; Eray Aslan <> +files/4.1.1-gnutls.patch,
+  +files/4.1.1-gpgme.patch, +files/4.1.1-testsuite.patch, +anubis-4.1.1.ebuild:
+  Version bump - bug #253193. Correct pam.d file - bug #210818. Do not abuse
+  ROOT - bug #258110.