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

Bug 925334

Summary: sys-libs/pam enables PIE unconditionally without a USE
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: minor CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2024-02-23 13:11:14 UTC
https://github.com/gentoo/gentoo/blob/f406a34a23d17778d383c5cab0b86d86c32911db/sys-libs/pam/pam-1.5.3-r1.ebuild#L81

Given the recent toolchain enables -pie by default, I think it is not needed and it is not possible to get binaries without pie.
Comment 1 Larry the Git Cow gentoo-dev 2025-01-08 04:56:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb07a754c3ef70e7165adb2e0800050d95dc10ee

commit eb07a754c3ef70e7165adb2e0800050d95dc10ee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-08 04:15:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-08 04:55:44 +0000

    sys-libs/pam: add 1.7.0_p20241230
    
    * Switch to Meson
    * Wire up elogind+logind support (bug #931115) as it's now available
      upstream
    * Docs are hard-disabled for now, but that's sort of fine (enough) for now
      given that we had bug #913087 for the previous ebuild
    * Using a snapshot as there's a few build system patches post-tag and
      some other generally noteworthy patches we'd have to pull in manually
      otherwise
    * Wire up verify-sig for the next release (but not used for this ebuild
      as took a snapshot)
    
    Bug: https://bugs.gentoo.org/913087
    Bug: https://bugs.gentoo.org/942075
    Closes: https://bugs.gentoo.org/929970
    Closes: https://bugs.gentoo.org/925334
    Closes: https://bugs.gentoo.org/931115
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/pam/Manifest                   |   1 +
 sys-libs/pam/pam-1.7.0_p20241230.ebuild | 165 ++++++++++++++++++++++++++++++++
 2 files changed, 166 insertions(+)