Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550812 - app-portage/gentoolkit: euse doesn't show correct information about USE=ssl flag
Summary: app-portage/gentoolkit: euse doesn't show correct information about USE=ssl flag
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-30 11:41 UTC by Hodur
Modified: 2015-06-02 20:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hodur 2015-05-30 11:41:33 UTC
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
Comment 1 Paul Varner (RETIRED) gentoo-dev 2015-06-01 21:12:18 UTC
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
Comment 2 Hodur 2015-06-02 10:02:58 UTC
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) \
Comment 3 Paul Varner (RETIRED) gentoo-dev 2015-06-02 20:18:30 UTC
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.