1 |
commit: 15490cb0fbb3a29dc024aa30b06fdcf06c23cf50 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 27 00:04:22 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 6 16:56:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15490cb0 |
7 |
|
8 |
profiles: unset USE=session in default/linux/make.defaults. |
9 |
|
10 |
The "session" USE flag has been enabled by default for all linux |
11 |
profiles in default/linux/make.defaults since 2010. According to the |
12 |
comment in that file, the flag was added for dev-lang/php where |
13 |
session support is near-critical. But, now that we have an IUSE |
14 |
default, the global setting is redundant. |
15 |
|
16 |
This commit drops USE=session from the default/linux profile's |
17 |
make.defaults, and also drops the (now unnecessary) override of that |
18 |
flag in the features/hardened profile's make.defaults. |
19 |
|
20 |
A few other packages with "session" in IUSE will be affected by this |
21 |
change; however, the meaning of "session" varies wildly between the |
22 |
packages that use it. Since the meaning of "session" is dependent on |
23 |
the package in question, within the package itself (that is, with IUSE |
24 |
defaults) is a better place to enable this flag by default. |
25 |
|
26 |
Closes: https://bugs.gentoo.org/635742 |
27 |
|
28 |
profiles/default/linux/make.defaults | 2 +- |
29 |
profiles/features/hardened/make.defaults | 2 +- |
30 |
2 files changed, 2 insertions(+), 2 deletions(-) |
31 |
|
32 |
diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults |
33 |
index 899637eb7f4..4d580b1ba06 100644 |
34 |
--- a/profiles/default/linux/make.defaults |
35 |
+++ b/profiles/default/linux/make.defaults |
36 |
@@ -23,7 +23,7 @@ USE="${USE} seccomp" |
37 |
# These USE flags were originally inserted here because of PHP |
38 |
# and were later removed by me. Reinserting the USE flags again because they are |
39 |
# global USE flags that may be expected to be set by other packages. |
40 |
-USE="${USE} cli pcre session" |
41 |
+USE="${USE} cli pcre" |
42 |
|
43 |
# 2006/03/07 - Donnie Berkholz <dberkholz@g.o> |
44 |
# Modular X: Support direct rendering by default |
45 |
|
46 |
diff --git a/profiles/features/hardened/make.defaults b/profiles/features/hardened/make.defaults |
47 |
index f6389585334..1502b08728f 100644 |
48 |
--- a/profiles/features/hardened/make.defaults |
49 |
+++ b/profiles/features/hardened/make.defaults |
50 |
@@ -22,6 +22,6 @@ USE="${USE} -ptpax" |
51 |
# We unset them so we get a clean use flag profile. |
52 |
USE="${USE} -berkdb -gdbm -tcpd" |
53 |
USE="${USE} -fortran" |
54 |
-USE="${USE} -cli -session" |
55 |
+USE="${USE} -cli" |
56 |
USE="${USE} -dri" |
57 |
USE="${USE} -modules" |