commit:     be76567556717ebbabdb98dd606ec007594a9678
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  4 20:40:57 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Jan  4 21:21:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be765675

app-emulation/qemu: disable pam for user targets

Bug: https://bugs.gentoo.org/830391
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 app-emulation/qemu/qemu-6.2.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/qemu/qemu-6.2.0-r2.ebuild 
b/app-emulation/qemu/qemu-6.2.0-r2.ebuild
index df60b01b2615..cb24a7a6096f 100644
--- a/app-emulation/qemu/qemu-6.2.0-r2.ebuild
+++ b/app-emulation/qemu/qemu-6.2.0-r2.ebuild
@@ -108,7 +108,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
        qemu_softmmu_targets_x86_64? ( fdt )
        sdl-image? ( sdl )
        static? ( static-user !alsa !gtk !jack !opengl !pam !pulseaudio 
!plugins !rbd !snappy !udev )
-       static-user? ( !pam !plugins )
+       static-user? ( !plugins )
        vhost-user-fs? ( caps seccomp )
        virgl? ( opengl )
        virtfs? ( caps xattr )
@@ -476,7 +476,6 @@ qemu_src_configure() {
                $(use_enable jack)
                $(use_enable nls gettext)
                $(use_enable oss)
-               $(use_enable pam auth-pam)
                $(use_enable plugins)
                $(use_enable pulseaudio pa)
                $(use_enable selinux)
@@ -541,6 +540,7 @@ qemu_src_configure() {
                $(conf_notuser nfs libnfs)
                $(conf_notuser numa)
                $(conf_notuser opengl)
+               $(conf_notuser pam auth-pam)
                $(conf_notuser png vnc-png)
                $(conf_notuser rbd)
                $(conf_notuser sasl vnc-sasl)

Reply via email to