On Tue, 9 Feb 2016 11:34:12 +1300 Kent Fredric <kentfred...@gmail.com> wrote:
> nginx_modules_http_geoip? ( dev-libs/geoip ) > nginx_modules_http_gunzip? ( sys-libs/zlib ) > nginx_modules_http_gzip? ( sys-libs/zlib ) > nginx_modules_http_gzip_static? ( sys-libs/zlib ) > nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) > nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) > nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) > nginx_modules_http_secure_link? ( > userland_GNU? ( > !libressl? ( dev-libs/openssl:0= ) > libressl? ( dev-libs/libressl:= ) > ) > ) > nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) > nginx_modules_http_lua? ( !luajit? ( dev-lang/lua:0= ) luajit? > ( dev-lang/luajit:2= ) ) > nginx_modules_http_auth_pam? ( virtual/pam ) > nginx_modules_http_metrics? ( dev-libs/yajl ) > nginx_modules_http_dav_ext? ( dev-libs/expat ) > nginx_modules_http_security? ( >=dev-libs/libxml2-2.7.8 > dev-libs/apr-util www-servers/apache ) > nginx_modules_http_auth_ldap? ( net-nds/openldap[ssl?] ) > Thanks for citing this, I think it demonstrates mgorny's point rather nicely; we have global USE flags for many of those modules: * nginx_modules_http_perl -> perl * nginx_modules_http_auth_pam -> pam * nginx_modules_http_auth_ldap -> ldap * nginx_modules_http_geoip -> geoip * nginx_modules_http_g(un)zip -> zlib * nginx_modules_http_secure_link -> ssl The following two ones aren't quite as obvious, but could also be changed: * nginx_modules_http_rewrite -> pcre * nginx_modules_http_image_filter -> gd Introduce new USE flags for the remaining few modules -- voilà, there you go, no need for a new USE_EXPAND and the users will even get a useful set of default modules enabled based on their global USE flags. -- Luis Ressel