1 |
On 02/08/2016 11:59 PM, Luis Ressel wrote: |
2 |
> On Tue, 9 Feb 2016 11:34:12 +1300 |
3 |
> Kent Fredric <kentfredric@×××××.com> wrote: |
4 |
> |
5 |
>> nginx_modules_http_geoip? ( dev-libs/geoip ) |
6 |
>> nginx_modules_http_gunzip? ( sys-libs/zlib ) |
7 |
>> nginx_modules_http_gzip? ( sys-libs/zlib ) |
8 |
>> nginx_modules_http_gzip_static? ( sys-libs/zlib ) |
9 |
>> nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) |
10 |
>> nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) |
11 |
>> nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) |
12 |
>> nginx_modules_http_secure_link? ( |
13 |
>> userland_GNU? ( |
14 |
>> !libressl? ( dev-libs/openssl:0= ) |
15 |
>> libressl? ( dev-libs/libressl:= ) |
16 |
>> ) |
17 |
>> ) |
18 |
>> nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) |
19 |
>> nginx_modules_http_lua? ( !luajit? ( dev-lang/lua:0= ) luajit? |
20 |
>> ( dev-lang/luajit:2= ) ) |
21 |
>> nginx_modules_http_auth_pam? ( virtual/pam ) |
22 |
>> nginx_modules_http_metrics? ( dev-libs/yajl ) |
23 |
>> nginx_modules_http_dav_ext? ( dev-libs/expat ) |
24 |
>> nginx_modules_http_security? ( >=dev-libs/libxml2-2.7.8 |
25 |
>> dev-libs/apr-util www-servers/apache ) |
26 |
>> nginx_modules_http_auth_ldap? ( net-nds/openldap[ssl?] ) |
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 |
And now I can't figure out what I need to enable to have "rewrite" work. |
48 |
Good job! |
49 |
|
50 |
The names match the internal module names, which is what I care about. |
51 |
Figuring out if I need USE="zlib" or USE="compress" or even a combo is a |
52 |
lot more effort and frustrating than having to enable the useflag that |
53 |
has the name of the module. |
54 |
|
55 |
It might not be 'pure' or very aesthetical, but we try to get stuff done |
56 |
here. |