Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Make 'audit' a global useflag?
Date: Tue, 06 Oct 2015 17:59:20
Message-Id: 20151006205848.7754fe3da382c64d65b62585@gentoo.org
In Reply to: [gentoo-dev] Make 'audit' a global useflag? by Markos Chandras
1 Hi,
2
3 On Tue, 6 Oct 2015 17:32:07 +0100 Markos Chandras wrote:
4 > Hi,
5 >
6 > The following packages currently use the 'audit' local useflag
7 >
8 > ~$ qgrep -N -s -l -e "^IUSE.*audit" | sed "s@-[0-9].*@@" | sort -n | uniq
9 >
10 > app-emulation/libvirt
11 > app-forensics/aide
12 > dev-util/perf
13 > gnome-base/gdm
14 > net-dns/opendnssec
15 > sys-apps/openrc
16 > sys-apps/policycoreutils
17 > sys-apps/shadow
18 > sys-apps/systemd
19 > sys-freebsd/freebsd-ubin
20 > sys-freebsd/freebsd-usbin
21 > sys-libs/pam
22 >
23 > (+ lightdm which I just committed)
24 >
25 > How about making it global with the following description?
26
27 Audit support != sys-process/audit support.
28
29 1) sys-freebsd/us?bin packages does not depend on the audit
30 package. This flag controls their own auditing tools.
31
32 2) net-dns/opendnssec uses this flag to build auditing tools (and
33 doesn't depend on the audit package).
34
35 3) sys-apps/policycoreutils implies more than dependency on the
36 audit package:
37 Enable support for <pkg>sys-process/audit</pkg> and use the audit_*
38 functions (like audit_getuid instead of getuid())
39
40 > "Enable support for <pkg>sys-process/audit</pkg>"
41 >
42 > which is similar to what most packages use?
43
44 Best regards,
45 Andrew Savchenko

Replies

Subject Author
Re: [gentoo-dev] Make 'audit' a global useflag? Markos Chandras <hwoarang@g.o>
Re: [gentoo-dev] Make 'audit' a global useflag? Jason Zaman <perfinion@g.o>