euse command doesn't show correct information about ssl flag. Reproducible: Always Steps to Reproduce: 1. emerge -pv proftpd [ebuild U ] net-ftp/proftpd-1.3.5-r2::x-overlay [1.3.5::gentoo] USE="acl caps clamav dso ncurses nls openssl pam pcre ratio sftp ssl -authfile -ban -case -copy -ctrls -deflate -diskuse -doc -dynmasq -exec -ident -ifsession -ifversion -ipv6 -kerberos -ldap* -log_forensic -memcache -msg -mysql -postgres -qos -radius -readme -rewrite (-selinux) -shaper -sitemisc -snmp -softquota -sqlite -tcpd* {-test} -trace -unique_id -vroot -xinetd" LINGUAS="-bg_BG -en_US -fr_FR -it_IT -ja_JP -ko_KR -ru_RU -zh_CN -zh_TW" 0 KiB 1. euse -i ssl | grep proftpd Actual Results: WARNING: 'portageq envvar PORTDIR' is deprecated. Use 'portageq repositories_configuration' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use 'portageq repositories_configuration' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use 'portageq repositories_configuration' instead. grep: Unmatched ( or \( grep: Unmatched ( or \( grep: Unmatched ( or \( grep: Unmatched ( or \( grep: Unmatched ( or \( grep: Unmatched ( or \( grep: Unmatched ( or \( grep: Unmatched ( or \( grep: Unmatched ( or \( Expected Results: for example: net-ftp/proftpd: Enable dev-libs/openssl support app-portage/gentoolkit-0.3.0.9-r2 sys-apps/portage-2.2.18
net-ftp/proftpd does not have a local ssl flag use description. It does have an openssl use flag which works correctly. $ grep ssl /usr/portage/profiles/use.local.desc | grep proftpd net-ftp/proftpd:openssl - Enable dev-libs/openssl support $ euse -i openssl | grep proftpd WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. net-ftp/proftpd: Enable dev-libs/openssl support
I'm sorry but grep ssl /usr/portage/net-ftp/proftpd/proftpd-1.3.5a.ebuild linguas_ru_RU linguas_zh_CN linguas_zh_TW log_forensic memcache msg mysql ncurses nls openssl pam +pcre postgres qos radius ratio readme rewrite selinux sftp shaper sitemisc snmp softquota sqlite --> ssl <-- tcpd test trace unique_id vroot xinetd" sftp? ( openssl ) --> ssl? ( openssl )" <--- openssl? ( dev-libs/openssl:0= ) if use ssl ; then $(use_enable openssl) \
Again, there is no local description for the ssl flag for proftpd. Since there is not a local description, euse is working correctly and as designed and shows the global description. The fact that the flag is in the ebuild does not mean that someone has defined a local description for that flag. The only flag that is related to ssl that has a local description is the openssl use flag. If you look at /usr/portage/net-ftp/proftpd/metadata.xml, you can see all of the local flag descriptions that are defined. You will see that the ssl flag is not there. If you think there needs to be a better description, then file a bug for proftpd and ask them to add it. At that point euse -i will display whatever they add as a local description.