commit:     313ec7f2df4e9ee5560f9bedd739223633e405b2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 01:08:15 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 01:08:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=313ec7f2

sys-libs/pam: [QA] restore split-usr

While split-usr support remains tenuous, dropping it from
PAM is tantamount to removing it from Gentoo entirely and
requires something more like a news item and a lot of
planning.

Also, really, the resultant ebuild cleanup from
dropping it doesn't justify the gratuitous breakage:
cost & reward.

That said, I would strongly recommend at this
point that split-usr users use an initramfs
or actively participate in helping to solve
split-usr bugs (see e.g. bug 443590) as at
some point, the dam is going to break and
maintainers may get fed up. It's already
a barely-supported situation.

Obligatory: none of this has anything
to do with "merged /usr".

Bug: https://bugs.gentoo.org/443590
Closes: https://bugs.gentoo.org/868306
See: 2ff9dcc3275e4f37a44eaf707fce9f53c13c2e82
See: aeb526aa3b0875745fa0af6c754ded21af68658b
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/pam/{pam-1.5.2-r1.ebuild => pam-1.5.2-r2.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-libs/pam/pam-1.5.2-r1.ebuild b/sys-libs/pam/pam-1.5.2-r2.ebuild
similarity index 96%
rename from sys-libs/pam/pam-1.5.2-r1.ebuild
rename to sys-libs/pam/pam-1.5.2-r2.ebuild
index b4315b4073db..428087494c40 100644
--- a/sys-libs/pam/pam-1.5.2-r1.ebuild
+++ b/sys-libs/pam/pam-1.5.2-r2.ebuild
@@ -9,7 +9,7 @@ MY_P="Linux-${PN^^}-${PV}"
 # Can reconsider w/ EAPI 8 and IDEPEND, bug #810979
 TMPFILES_OPTIONAL=1
 
-inherit autotools db-use fcaps toolchain-funcs multilib-minimal
+inherit autotools db-use fcaps toolchain-funcs usr-ldscript multilib-minimal
 
 DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)"
 HOMEPAGE="https://github.com/linux-pam/linux-pam";
@@ -90,6 +90,8 @@ multilib_src_compile() {
 multilib_src_install() {
        emake DESTDIR="${D}" install \
                sepermitlockdir="/run/sepermit"
+
+       gen_usr_ldscript -a pam pam_misc pamc
 }
 
 multilib_src_install_all() {

Reply via email to