From 15490cb0fbb3a29dc024aa30b06fdcf06c23cf50 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 26 Dec 2017 19:04:22 -0500 Subject: [PATCH] profiles: unset USE=session in default/linux/make.defaults. 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 | 2 +- profiles/features/hardened/make.defaults | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults index 899637eb7f42..4d580b1ba06f 100644 --- a/profiles/default/linux/make.defaults +++ b/profiles/default/linux/make.defaults @@ -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 # Modular X: Support direct rendering by default diff --git a/profiles/features/hardened/make.defaults b/profiles/features/hardened/make.defaults index f63895853347..1502b08728fc 100644 --- a/profiles/features/hardened/make.defaults +++ b/profiles/features/hardened/make.defaults @@ -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" -- 2.26.2