Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 847972 Details for
Bug 890240
pam.eclass: cleanpamd using full path
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for pam.eclass
0001-pam.eclass-cleanpamd-use-basename.patch (text/plain), 872 bytes, created by
Jan Kobler
on 2023-01-08 15:59:11 UTC
(
hide
)
Description:
patch for pam.eclass
Filename:
MIME Type:
Creator:
Jan Kobler
Created:
2023-01-08 15:59:11 UTC
Size:
872 bytes
patch
obsolete
>From aff9d82d89f7c73446bb1ed34f316f9876c43e78 Mon Sep 17 00:00:00 2001 >From: Jan Kobler <eng1@koblersystems.de> >Date: Sun, 8 Jan 2023 16:24:51 +0100 >Subject: [PATCH] pam.eclass: cleanpamd use basename > >Function cleanpamd is called with a list of full path names. > >Use only the basename of each path. > >Signed-off-by: Jan Kobler <eng1@koblersystems.de> >--- > eclass/pam.eclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/eclass/pam.eclass b/eclass/pam.eclass >index 9928e746e41e..31d84e93f1c1 100644 >--- a/eclass/pam.eclass >+++ b/eclass/pam.eclass >@@ -204,7 +204,7 @@ pamd_mimic() { > cleanpamd() { > while [[ -n $1 ]]; do > if ! has_version sys-libs/pam; then >- sed -i -e '/pam_shells\|pam_console/s:^:#:' "${D}/etc/pam.d/$1" || die >+ sed -i -e '/pam_shells\|pam_console/s:^:#:' "${D}/etc/pam.d/$(basename $1)" || die > fi > > shift >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 890240
: 847972