Gentoo Archives: gentoo-dev

From: Jason Zaman <perfinion@g.o>
To: gentoo-dev@l.g.o
Cc: "Manuel Rüger" <mrueg@g.o>, "Johan Bergström" <bugs@××××××××××.nu>
Subject: Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM
Date: Thu, 04 Feb 2016 10:28:04
Message-Id: 20160204102740.GA26130@meriadoc
In Reply to: Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM by Dirkjan Ochtman
1 On Thu, Feb 04, 2016 at 11:03:27AM +0100, Dirkjan Ochtman wrote:
2 > On Wed, Feb 3, 2016 at 11:48 PM, Michał Górny <mgorny@g.o> wrote:
3 > > Could we please finally stop introducing global USE flags that are
4 > > going to only be used by a single package? make.conf already looks like
5 > > random mix of randoms these days, with some extra random cruft being
6 > > added every second Tuesday.
7 >
8 > This is an interesting point, which I hadn't thought much about.
9 >
10 > It seems USE_EXPAND is really popular. What does it bring that has all
11 > these advantages over normal USE flags? It seems like APACHE2_MPMS,
12 > APACHE2_MODULES and CURL_SSL could just be normal USE flags with some
13 > REQUIRED_USE stuff.
14 >
15 > Actually, I'm not really sure I understand why we can't use normal USE
16 > flags for CPU_FLAGS_X86 or PYTHON_TARGETS, either.
17
18 Which looks easier and nicer to you?
19
20 NGINX_MODULES_HTTP="access auth_basic autoindex browser charset
21 fancyindex fastcgi geo gzip limit_req limit_zone map memcached proxy
22 realip referer rewrite scgi spdy split_clients ssi upstream_check
23 upstream_ip_hash userid uwsgi"
24
25 or:
26
27 www-servers/nginx nginx_modules_http_access nginx_modules_http_auth_basic nginx_modules_http_autoindex nginx_modules_http_browser nginx_modules_http_charset nginx_modules_http_fancyindex nginx_modules_http_fastcgi nginx_modules_http_geo nginx_modules_http_gzip nginx_modules_http_limit_req nginx_modules_http_limit_zone nginx_modules_http_map nginx_modules_http_memcached nginx_modules_http_proxy nginx_modules_http_realip nginx_modules_http_referer nginx_modules_http_rewrite nginx_modules_http_scgi nginx_modules_http_spdy nginx_modules_http_split_clients nginx_modules_http_ssi nginx_modules_http_upstream_check nginx_modules_http_upstream_ip_hash nginx_modules_http_userid nginx_modules_http_uwsgi
28
29 What is the problem with global flags? Its namespaced and never going to
30 interfere with other packages. The only difference is the descriptions
31 are in use.desc instead of use.local.desc, why does that matter?
32
33 -- Jason

Replies

Subject Author
Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM Dirkjan Ochtman <djc@g.o>
Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM Kent Fredric <kentfredric@×××××.com>