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

Bug 815880

Summary: sys-libs/pam: remove use of gen_usr_ldscript
Product: Gentoo Linux Reporter: William Hubbs <williamh>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED WONTFIX    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=868306
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0001-sys-libs-pam-drop-the-use-of-gen_usr_ldscript.patch

Description William Hubbs gentoo-dev 2021-10-03 04:29:23 UTC
Since pam does not install static libraries anywhere, you do not need to
worry about using gen_usr_ldscript.

This patch removes the usr-ldscript eclass from inherit and installs the
pam libraries in /$(get_libdir) instead of /usr/$(get_libdir).
Comment 1 William Hubbs gentoo-dev 2021-10-03 04:31:26 UTC
Created attachment 742578 [details, diff]
0001-sys-libs-pam-drop-the-use-of-gen_usr_ldscript.patch


u don't need a revbump for this since it affects a use flag.
Please apply it or let me know if I can.

Thanks,

William
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-10-05 18:19:54 UTC
Why would you want to change the libdir directory?
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2021-11-20 00:31:20 UTC
Fun fact, sys-libs/pam-1.5.2-r1 inheriting usr-ldscript.eclass causes it to effectively switch to USE=-split-usr mode.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-20 03:16:26 UTC
(In reply to Marek Szuba from comment #3)
> Fun fact, sys-libs/pam-1.5.2-r1 inheriting usr-ldscript.eclass causes it to
> effectively switch to USE=-split-usr mode.

It doesn’t inherit it?

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/pam/pam-1.5.2-r1.ebuild#n12
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-04 01:12:10 UTC
See https://bugs.gentoo.org/868306#c8.