Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832230 - feature request: equery --show-masked-flags, because equery u =net-fs/samba-5.14.3-r1 omits the "system-heimdal" useflag
Summary: feature request: equery --show-masked-flags, because equery u =net-fs/samba-5...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-28 22:23 UTC by Michael Jones
Modified: 2022-07-20 02:21 UTC (History)
3 users (show)

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 Michael Jones 2022-01-28 22:23:47 UTC
fenrir ~ # equery u =net-fs/samba-4.15.3-r1
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-fs/samba-4.15.3-r1:
 U I
 - - abi_x86_32                      : 32-bit (x86) libraries
 + + acl                             : Add support for Access Control Lists
 + + addc                            : Enable Active Directory Domain Controller support
 + + ads                             : Enable Active Directory support
 - - ceph                            : Enable support for Ceph distributed filesystem via sys-cluster/ceph
 + + client                          : Enables the client part
 - - cluster                         : Enable support for clustering
 - - cpu_flags_x86_aes               : Enable support for Intel's AES instruction set (AES-NI)
 - - cups                            : Add support for CUPS (Common Unix Printing System)
 - - debug                           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - glusterfs                       : Enable support for Glusterfs filesystem via sys-cluster/glusterfs
 - - gpg                             : Use app-crypt/gpgme for AD DC
 - - iprint                          : Enabling iPrint technology by Novell
 + + json                            : Enable json audit support through dev-libs/jansson
 + + ldap                            : Add LDAP support (Lightweight Directory Access Protocol)
 + + pam                             : Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 - - profiling-data                  : Enables support for collecting profiling data
 + + python                          : Add optional support/bindings for the Python language
 - - python_single_target_python3_10 : Build for Python 3.10 only
 - - python_single_target_python3_8  : Build for Python 3.8 only
 + + python_single_target_python3_9  : Build for Python 3.9 only
 - - quota                           : Enables support for user quotas
 + + regedit                         : Enable support for regedit command-line tool
 + + snapper                         : Enable vfs_snapper module (requires sys-apps/dbus)
 - - spotlight                       : Enable support for spotlight backend
 - - syslog                          : Enable support for syslog
 - - system-mitkrb5                  : Use app-crypt/mit-krb5 instead of app-crypt/heimdal.
 + + systemd                         : Enable use of systemd-specific libraries and features like socket activation or session tracking
 + + winbind                         : Enables support for the winbind auth daemon
 - - zeroconf                        : Support for DNS Service Discovery (DNS-SD)


However, both the ebuild itself
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-fs/samba/samba-4.15.3-r1.ebuild?id=ee0502af8aa4dc0fd2f9092c17d2393213866c69

and the Metadata.xml file

https://gitweb.gentoo.org/repo/gentoo.git/tree/net-fs/samba/metadata.xml?id=ee0502af8aa4dc0fd2f9092c17d2393213866c69

List "system-heimdal" as a supported use flag.
Comment 1 Ben Kohler gentoo-dev 2022-01-30 16:50:28 UTC
This flag is masked, as you can see in "emerge -pv samba" output:

[ebuild   R    ] net-fs/samba-4.15.4::gentoo  USE="acl client pam regedit system-mitkrb5 systemd -addc -ads -ceph -cluster -cups -debug (-dmapi) (-fam) -glusterfs -gpg -iprint -json -ldap -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) (-test) -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB

I think this is hidden in equery-u by design, but I suppose you could request a feature to allow un-hiding these (--show-masked-flags or something)
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2022-07-09 04:15:28 UTC
-f option now in master branch. Will make a release soon.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-20 02:20:21 UTC
This is in 0.6.0+.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-20 02:21:07 UTC
fwiw


commit 9c677b5b889d15653b20cb0c67af96dbb732b621
Author: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Date:   Thu Jun 9 23:48:16 2022 -0500

    Add -f/--forced-masked to equery(1)

    Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
    Signed-off-by: Brian Dolbec <dolsen@gentoo.org>

commit c33468ba1d8ddd5a69516e8a39796db8de08ff63
Author: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Date:   Wed Jun 8 00:51:35 2022 -0500

    Add -f/--forced-masked to equery uses

    Option to include forced and masked USE flags in `equery uses` output.

    - Marked with F / M in verbose/normal output
    - Marked with (+flag) / (-flag) in non-verbose/piped output

    Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
    Signed-off-by: Brian Dolbec <dolsen@gentoo.org>