1 |
On Thursday 20 May 2004 00:15, Lars Strojny wrote: |
2 |
> Hi all, |
3 |
> today I`m setting up a Server in Gentoo and I want to do a lot |
4 |
> of security stuff there. Within that, I`ve want to compile "su" |
5 |
> as a static binary. But there isn`t an option which automatically |
6 |
> handles such stuff in portage. So I want to know if it is possible |
7 |
> to add something like an portage.env, where users can adjust the |
8 |
> env-vars for each package. Maybe it could be in a format like this |
9 |
> |
10 |
> =sys-apps/shadow CFLAGS="${CFLAGS} -static";FOO="bar" |
11 |
> |
12 |
> Nice Greetings |
13 |
> Lars Strojny |
14 |
|
15 |
According to /usr/portage/profiles/use.desc, there is a 'static' USE flag |
16 |
available to handle this sort of need. I don't know whether sudo supports it |
17 |
or not at this time. Might be worth taking a look. |
18 |
|
19 |
Best regards, |
20 |
Stu |
21 |
-- |
22 |
Stuart Herbert stuart@g.o |
23 |
Gentoo Developer http://www.gentoo.org/ |
24 |
http://stu.gnqs.org/diary/ |
25 |
|
26 |
GnuPG key id# F9AFC57C available from http://pgp.mit.edu |
27 |
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C |
28 |
-- |