profiles: unset USE=session in default/linux/make.defaults.
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 27 Dec 2017 00:04:22 +0000 (19:04 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Sat, 6 Jan 2018 16:56:12 +0000 (11:56 -0500)
The "session" USE flag has been enabled by default for all linux
profiles in default/linux/make.defaults since 2010. According to the
comment in that file, the flag was added for dev-lang/php where
session support is near-critical. But, now that we have an IUSE
default, the global setting is redundant.

This commit drops USE=session from the default/linux profile's
make.defaults, and also drops the (now unnecessary) override of that
flag in the features/hardened profile's make.defaults.

A few other packages with "session" in IUSE will be affected by this
change; however, the meaning of "session" varies wildly between the
packages that use it. Since the meaning of "session" is dependent on
the package in question, within the package itself (that is, with IUSE
defaults) is a better place to enable this flag by default.

Closes: https://bugs.gentoo.org/635742

profiles/default/linux/make.defaults
profiles/features/hardened/make.defaults

index 899637eb7f424553fae33956aee79dfcd224501b..4d580b1ba06f3e0383f069cad8bb6416322aab77 100644 (file)
@@ -23,7 +23,7 @@ USE="${USE} seccomp"
 # These USE flags were originally inserted here because of PHP
 # and were later removed by me. Reinserting the USE flags again because they are
 # global USE flags that may be expected to be set by other packages.
-USE="${USE} cli pcre session"
+USE="${USE} cli pcre"
 
 # 2006/03/07 - Donnie Berkholz <dberkholz@gentoo.org>
 # Modular X: Support direct rendering by default
index f63895853347c3c54927feaf637aee88f1b92fd3..1502b08728fca6a849dbff29fb92af7a39a86fb8 100644 (file)
@@ -22,6 +22,6 @@ USE="${USE} -ptpax"
 # We unset them so we get a clean use flag profile.
 USE="${USE} -berkdb -gdbm -tcpd"
 USE="${USE} -fortran"
-USE="${USE} -cli -session"
+USE="${USE} -cli"
 USE="${USE} -dri"
 USE="${USE} -modules"