* [gentoo-dev] [PATCH v2 0/1] profiles: unset USE=modules by default
@ 2018-09-30 22:51 Michael Orlitzky
2018-09-30 22:51 ` [gentoo-dev] [PATCH v2 1/1] " Michael Orlitzky
2018-10-07 21:56 ` [gentoo-dev] [PATCH v2 0/1] " Michael Orlitzky
0 siblings, 2 replies; 4+ messages in thread
From: Michael Orlitzky @ 2018-09-30 22:51 UTC (permalink / raw
To: gentoo-dev
I originally submitted this in January 2018, but some work was needed
back then to make sure that no important packages broke. There are
still three packages (mentioned by Robin on the bug) that I'd like to
get a (N)ACK for,
* net-firewall/xtables-addons
* sys-cluster/knem
* sys-cluster/open-mx
but their maintainers haven't responsed to the bug, email, or IRC. So
for lack of a better option, I'd like to offer this up as-is again.
v2 is simply a rebase onto ::gentoo master, and adds my signoff.
Michael Orlitzky (1):
profiles: unset USE=modules by default.
profiles/base/make.defaults | 5 -----
profiles/default/linux/make.defaults | 5 -----
profiles/features/hardened/make.defaults | 1 -
3 files changed, 11 deletions(-)
--
2.16.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-dev] [PATCH v2 1/1] profiles: unset USE=modules by default.
2018-09-30 22:51 [gentoo-dev] [PATCH v2 0/1] profiles: unset USE=modules by default Michael Orlitzky
@ 2018-09-30 22:51 ` Michael Orlitzky
2018-09-30 23:23 ` Mike Gilbert
2018-10-07 21:56 ` [gentoo-dev] [PATCH v2 0/1] " Michael Orlitzky
1 sibling, 1 reply; 4+ messages in thread
From: Michael Orlitzky @ 2018-09-30 22:51 UTC (permalink / raw
To: gentoo-dev
The "modules" USE flag was originally enabled by default in the base
profile so that any ebuild inheriting linux-mod.eclass would have its
kernel modules built by default. However, the name of that USE flag is
now controlled by the MODULES_OPTIONAL_USE variable, set in the ebuild
itself. The best place for the USE flag default is therefore in IUSE
(in the ebuild), because only the ebuild knows the correct flag name.
There are at least two packages, media-gfx/graphicsmagick and
net-im/mcabber, that assign a different meaning to the "modules" flag,
further suggesting that a global default is too blunt an approach.
This commit drops the flag from base/make.defaults, and also from
default/linux/make.defaults where a redundant entry was present.
Thereafter, the override in features/hardened/make.defaults is
unnecessary, so it has been dropped as well.
Closes: https://bugs.gentoo.org/635720
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
---
profiles/base/make.defaults | 5 -----
profiles/default/linux/make.defaults | 5 -----
profiles/features/hardened/make.defaults | 1 -
3 files changed, 11 deletions(-)
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index a0a1d4f977b..6e1ada342cf 100644
--- a/profiles/base/make.defaults
+++ b/profiles/base/make.defaults
@@ -92,11 +92,6 @@ LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses te
# Netbeans modules/clusters
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
-# 2009/09/21 Robin H. Johnson <robbat2@gentoo.org>
-# https://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
-# Build kernel modules from linux-mod by default:
-USE="${USE} modules"
-
# Manuel Rüger <mrueg@gentoo.org> (09 Sep 2015)
# Default Ruby build target
# Updated to include ruby23 on 21 Jan 2018
diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults
index 4d580b1ba06..0716de8a14c 100644
--- a/profiles/default/linux/make.defaults
+++ b/profiles/default/linux/make.defaults
@@ -53,8 +53,3 @@ VIDEO_CARDS="dummy fbdev v4l"
# Note that adding LDFLAGS="-Wl,-O1 ${LDFLAGS}" breaks dev-util/boost-build
# because of whitespace.
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
-
-# 2009/09/21 Robin H. Johnson <robbat2@gentoo.org>
-# https://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
-# Build kernel modules from linux-mod by default:
-USE="${USE} modules"
diff --git a/profiles/features/hardened/make.defaults b/profiles/features/hardened/make.defaults
index 1502b08728f..88e165c4611 100644
--- a/profiles/features/hardened/make.defaults
+++ b/profiles/features/hardened/make.defaults
@@ -24,4 +24,3 @@ USE="${USE} -berkdb -gdbm -tcpd"
USE="${USE} -fortran"
USE="${USE} -cli"
USE="${USE} -dri"
-USE="${USE} -modules"
--
2.16.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] [PATCH v2 1/1] profiles: unset USE=modules by default.
2018-09-30 22:51 ` [gentoo-dev] [PATCH v2 1/1] " Michael Orlitzky
@ 2018-09-30 23:23 ` Mike Gilbert
0 siblings, 0 replies; 4+ messages in thread
From: Mike Gilbert @ 2018-09-30 23:23 UTC (permalink / raw
To: Gentoo Dev
On Sun, Sep 30, 2018 at 6:51 PM Michael Orlitzky <mjo@gentoo.org> wrote:
>
> The "modules" USE flag was originally enabled by default in the base
> profile so that any ebuild inheriting linux-mod.eclass would have its
> kernel modules built by default. However, the name of that USE flag is
> now controlled by the MODULES_OPTIONAL_USE variable, set in the ebuild
> itself. The best place for the USE flag default is therefore in IUSE
> (in the ebuild), because only the ebuild knows the correct flag name.
>
> There are at least two packages, media-gfx/graphicsmagick and
> net-im/mcabber, that assign a different meaning to the "modules" flag,
> further suggesting that a global default is too blunt an approach.
>
> This commit drops the flag from base/make.defaults, and also from
> default/linux/make.defaults where a redundant entry was present.
> Thereafter, the override in features/hardened/make.defaults is
> unnecessary, so it has been dropped as well.
>
> Closes: https://bugs.gentoo.org/635720
> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Looks good to me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] [PATCH v2 0/1] profiles: unset USE=modules by default
2018-09-30 22:51 [gentoo-dev] [PATCH v2 0/1] profiles: unset USE=modules by default Michael Orlitzky
2018-09-30 22:51 ` [gentoo-dev] [PATCH v2 1/1] " Michael Orlitzky
@ 2018-10-07 21:56 ` Michael Orlitzky
1 sibling, 0 replies; 4+ messages in thread
From: Michael Orlitzky @ 2018-10-07 21:56 UTC (permalink / raw
To: gentoo-dev
Pushed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-07 21:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-30 22:51 [gentoo-dev] [PATCH v2 0/1] profiles: unset USE=modules by default Michael Orlitzky
2018-09-30 22:51 ` [gentoo-dev] [PATCH v2 1/1] " Michael Orlitzky
2018-09-30 23:23 ` Mike Gilbert
2018-10-07 21:56 ` [gentoo-dev] [PATCH v2 0/1] " Michael Orlitzky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox