Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 398331

Summary: kde-base/kdm-4.7.4[-pam]: pam support is automatically detected + enabled
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
kdm build.log
ebuild patch
the files/no-pam.patch
revised ebuild patch

Description SpanKY gentoo-dev 2012-01-10 06:09:49 UTC
Created attachment 298459 [details]
emerge --info

i have pam stuff installed (for testing), but my system is USE=-pam.  current kdm ebuild doesn't properly respect this.

# emerge -pv kdm
[ebuild   R    ] kde-base/kdm-4.7.4  USE="handbook (-aqua) -consolekit -debug (-kdeenablefinal) -kerberos -pam" 0 kB
# emerge kdm
# scanelf -qN libpam.so.0 `qlist -e kdm`
libpam.so.0  /usr/bin/kdm
Comment 1 SpanKY gentoo-dev 2012-01-10 06:10:09 UTC
Created attachment 298461 [details]
kdm build.log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-01-12 12:31:07 UTC
gentoo64 kmail # USE=-pam emerge =kde-base/kdm-4.7.3-r1

>>> Emerging (1 of 1) kde-base/kdm-4.7.3-r1
>>> Installing (1 of 1) kde-base/kdm-4.7.3-r1

gentoo64 kmail # eix kdm
[U] kde-base/kdm
     Available versions:  (4) 4.6.3-r1 4.7.3-r1 (~)4.7.4

     Installed versions:  4.7.3-r1(4)(19:33:34 12/01/12)(consolekit handbook -aqua -debug -kdeenablefinal -kerberos -pam)

gentoo64 kmail # scanelf -qN libpam.so.0 `qlist -e kdm`
libpam.so.0  /usr/bin/kdm
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-01-12 16:24:01 UTC
Created attachment 298763 [details, diff]
ebuild patch
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-01-12 16:26:18 UTC
Created attachment 298765 [details, diff]
the files/no-pam.patch
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2012-01-12 16:43:19 UTC
gentoo64 kde-base # eix kdm
[U] kde-base/kdm
     Available versions:  (4) 4.6.3-r1 4.7.3-r1 (~)4.7.4
        {aqua +consolekit debug +handbook kdeenablefinal kdeprefix kerberos pam}
     Installed versions:  4.7.3-r1(4)(00:05:48 13/01/12)(consolekit handbook -aqua -debug -kdeenablefinal -kerberos -pam)

gentoo64 kde-base # scanelf -qN libpam.so.0 `qlist -e kdm`
gentoo64 kde-base 

a blank; perfect
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2012-01-15 10:28:26 UTC
Created attachment 298991 [details, diff]
revised ebuild patch

I gather this invokes advice received.
Comment 7 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2012-01-29 14:12:23 UTC
The problem is in FindPAM.cmake, bug 398333 provides a patch for it

*** This bug has been marked as a duplicate of bug 398333 ***