Gentoo Archives: gentoo-dev

From: Luis Ressel <aranea@×××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM
Date: Mon, 08 Feb 2016 22:59:31
Message-Id: 20160208235919.5e1cb56f@gentp.lnet
In Reply to: Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM by Kent Fredric
1 On Tue, 9 Feb 2016 11:34:12 +1300
2 Kent Fredric <kentfredric@×××××.com> wrote:
3
4 > nginx_modules_http_geoip? ( dev-libs/geoip )
5 > nginx_modules_http_gunzip? ( sys-libs/zlib )
6 > nginx_modules_http_gzip? ( sys-libs/zlib )
7 > nginx_modules_http_gzip_static? ( sys-libs/zlib )
8 > nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] )
9 > nginx_modules_http_perl? ( >=dev-lang/perl-5.8 )
10 > nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 )
11 > nginx_modules_http_secure_link? (
12 > userland_GNU? (
13 > !libressl? ( dev-libs/openssl:0= )
14 > libressl? ( dev-libs/libressl:= )
15 > )
16 > )
17 > nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
18 > nginx_modules_http_lua? ( !luajit? ( dev-lang/lua:0= ) luajit?
19 > ( dev-lang/luajit:2= ) )
20 > nginx_modules_http_auth_pam? ( virtual/pam )
21 > nginx_modules_http_metrics? ( dev-libs/yajl )
22 > nginx_modules_http_dav_ext? ( dev-libs/expat )
23 > nginx_modules_http_security? ( >=dev-libs/libxml2-2.7.8
24 > dev-libs/apr-util www-servers/apache )
25 > nginx_modules_http_auth_ldap? ( net-nds/openldap[ssl?] )
26 >
27
28 Thanks for citing this, I think it demonstrates mgorny's point rather
29 nicely; we have global USE flags for many of those modules:
30
31 * nginx_modules_http_perl -> perl
32 * nginx_modules_http_auth_pam -> pam
33 * nginx_modules_http_auth_ldap -> ldap
34 * nginx_modules_http_geoip -> geoip
35 * nginx_modules_http_g(un)zip -> zlib
36 * nginx_modules_http_secure_link -> ssl
37
38 The following two ones aren't quite as obvious, but could also be
39 changed:
40 * nginx_modules_http_rewrite -> pcre
41 * nginx_modules_http_image_filter -> gd
42
43 Introduce new USE flags for the remaining few modules -- voilà, there
44 you go, no need for a new USE_EXPAND and the users will even get a
45 useful set of default modules enabled based on their global USE flags.
46
47 --
48 Luis Ressel

Replies

Subject Author
Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM Kent Fredric <kentfredric@×××××.com>
Re: [gentoo-dev] New USE_EXPAND NGINX_MODULES_STREAM Patrick Lauer <patrick@g.o>