Skip to contentSkip to conversation

libpam: upgrade 1.7.1 -> 1.7.2

PATCH Yiding Liu (Fujitsu) 2 participants 2 messages Feb 24 – Mar 18 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

ping
________________________________
发件人: [email protected] <[email protected]> 代表 Yiding Liu (Fujitsu) via lists.openembedded.org <[email protected]> 发送时间: 2026年2月9日 09:57
收件人: [email protected] <[email protected]>
主题: [OE-core][PATCH v2] libpam: upgrade 1.7.1 -> 1.7.2

1.Changelog:
https://github.com/linux-pam/linux-pam/releases/tag/v1.7.2

2.Fix do_package QA Issue as default vendordir has been changed
Refer to this commit https://github.com/linux-pam/linux-pam/commit/aea30822e2fa6f87faf2541da140f69dfdfee728

ERROR: libpam-1.7.2-r0 do_package: QA Issue: libpam: Files/directories were installed but not shipped in any package:
/usr/share/pam
/usr/share/pam/environment
/usr/share/pam/security
/usr/share/pam/security/namespace.conf
/usr/share/pam/security/group.conf
/usr/share/pam/security/namespace.init
/usr/share/pam/security/faillock.conf
/usr/share/pam/security/access.conf
/usr/share/pam/security/pam_env.conf
/usr/share/pam/security/pwhistory.conf
/usr/share/pam/security/time.conf
/usr/share/pam/security/limits.conf

Change vendordir to /etc/security to fix this issue for backward compatibility.

---
 .../recipes-extended/pam/{libpam_1.7.1.bb => libpam_1.7.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/pam/{libpam_1.7.1.bb => libpam_1.7.2.bb} (98%)
meta/recipes-extended/pam/libpam_1.7.2.bb renamed from meta/recipes-extended/pam/libpam_1.7.1.bb +2 -2
similarity index 98%
rename from meta/recipes-extended/pam/libpam_1.7.1.bb
rename to meta/recipes-extended/pam/libpam_1.7.2.bb
index 8fb67983ee..54c1054ba0 100644
@@ -24,11 +24,11 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/Linux-PAM-${PV}.tar.xz \
            file://pam-volatiles.conf \
            "
 
-SRC_URI[sha256sum] = "21dbcec6e01dd578f14789eac9024a18941e6f2702a05cf91b28c232eeb26ab0"
+SRC_URI[sha256sum] = "3d86b6383fb5fd9eb9578d2cd47d92801191f4bf3f9bc61419bfefc8aa1e531a"
 
 DEPENDS = "bison-native flex-native libxml2-native virtual/crypt"
 
-EXTRA_OEMESON = "-Ddocs=disabled -Dsecuredir=${base_libdir}/security"
+EXTRA_OEMESON = "-Ddocs=disabled -Dsecuredir=${base_libdir}/security -Dvendordir=${sysconfdir}/security"
 
 LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"
 

--
2.43.0

#2 lore raw

buildhistory-diff shows lots of files moving:

packages/cortexa57-poky-linux/libpam/libpam-runtime: FILELIST: removed "/etc/security/pam_env.conf /etc/security/access.conf /etc/security/group.conf /etc/security/namespace.conf /etc/security/pwhistory.conf /etc/security/time.conf /etc/security/namespace.init /etc/security/faillock.conf /etc/security/limits.conf", added "/etc/security/security/limits.conf /etc/security/security/namespace.init /etc/security/security/group.conf /etc/security/security/faillock.conf /etc/security/security/access.conf /etc/security/environment /etc/security/security/pam_env.conf /etc/security/security/pwhistory.conf /etc/security/security/time.conf /etc/security/security/namespace.conf”

I think you meant -Dvendordir=${sysconfdir}.

Ross

Quoted 66 lines · Yiding Liu (Fujitsu) via lists.openembedded.org

ping发件人: [email protected] <[email protected]> 代表 Yiding Liu (Fujitsu) via lists.openembedded.org<[email protected]> 发送时间: 2026年2月9日 09:57
收件人: [email protected] <[email protected]>
主题: [OE-core][PATCH v2] libpam: upgrade 1.7.1 -> 1.7.2
1.Changelog:
https://github.com/linux-pam/linux-pam/releases/tag/v1.7.2

2.Fix do_package QA Issue as default vendordir has been changed
Refer to this commit https://github.com/linux-pam/linux-pam/commit/aea30822e2fa6f87faf2541da140f69dfdfee728

ERROR: libpam-1.7.2-r0 do_package: QA Issue: libpam: Files/directories were installed but not shipped in any package:
/usr/share/pam
/usr/share/pam/environment
/usr/share/pam/security
/usr/share/pam/security/namespace.conf
/usr/share/pam/security/group.conf
/usr/share/pam/security/namespace.init
/usr/share/pam/security/faillock.conf
/usr/share/pam/security/access.conf
/usr/share/pam/security/pam_env.conf
/usr/share/pam/security/pwhistory.conf
/usr/share/pam/security/time.conf
/usr/share/pam/security/limits.conf

Change vendordir to /etc/security to fix this issue for backward compatibility.

---
 .../recipes-extended/pam/{libpam_1.7.1.bb => libpam_1.7.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/pam/{libpam_1.7.1.bb => libpam_1.7.2.bb} (98%)
meta/recipes-extended/pam/libpam_1.7.2.bb renamed from meta/recipes-extended/pam/libpam_1.7.1.bb +2 -2
similarity index 98%
rename from meta/recipes-extended/pam/libpam_1.7.1.bb
rename to meta/recipes-extended/pam/libpam_1.7.2.bb
index 8fb67983ee..54c1054ba0 100644
@@ -24,11 +24,11 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/Linux-PAM-${PV}.tar.xz \
            file://pam-volatiles.conf \
            "
 
-SRC_URI[sha256sum] = "21dbcec6e01dd578f14789eac9024a18941e6f2702a05cf91b28c232eeb26ab0"
+SRC_URI[sha256sum] = "3d86b6383fb5fd9eb9578d2cd47d92801191f4bf3f9bc61419bfefc8aa1e531a"
 
 DEPENDS = "bison-native flex-native libxml2-native virtual/crypt"
 
-EXTRA_OEMESON = "-Ddocs=disabled -Dsecuredir=${base_libdir}/security"
+EXTRA_OEMESON = "-Ddocs=disabled -Dsecuredir=${base_libdir}/security -Dvendordir=${sysconfdir}/security"
 
 LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"
 
Signature · 10 lines
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#231740): https://lists.openembedded.org/g/openembedded-core/message/231740
Mute This Topic: https://lists.openembedded.org/mt/117971225/6875888
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-