diff mbox series

libpam: upgrade 1.7.1 -> 1.7.2

Message ID 20260126081409.4554-1-liuyd.fnst@fujitsu.com
State Under Review
Headers show
Series libpam: upgrade 1.7.1 -> 1.7.2 | expand

Commit Message

Liu Yiding Jan. 26, 2026, 8:14 a.m. UTC
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

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
 .../pam/{libpam_1.7.1.bb => libpam_1.7.2.bb}                | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/pam/{libpam_1.7.1.bb => libpam_1.7.2.bb} (97%)

Comments

Yi Zhao Feb. 5, 2026, 11:20 a.m. UTC | #1
On 1/26/26 16:14, Yiding Liu (Fujitsu) via lists.openembedded.org wrote:
> 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

Can we override vendordir so that these files are still installed to the 
/etc/security for backward compatibility?
Also, installing these files to the /usr/share/pam/security is a bit 
strange, as users might need to modify these PAM configurations.


//Yi

>
> Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
> ---
>   .../pam/{libpam_1.7.1.bb => libpam_1.7.2.bb}                | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>   rename meta/recipes-extended/pam/{libpam_1.7.1.bb => libpam_1.7.2.bb} (97%)
>
> diff --git a/meta/recipes-extended/pam/libpam_1.7.1.bb b/meta/recipes-extended/pam/libpam_1.7.2.bb
> similarity index 97%
> rename from meta/recipes-extended/pam/libpam_1.7.1.bb
> rename to meta/recipes-extended/pam/libpam_1.7.2.bb
> index 8fb67983ee..0bd9f5d844 100644
> --- a/meta/recipes-extended/pam/libpam_1.7.1.bb
> +++ b/meta/recipes-extended/pam/libpam_1.7.2.bb
> @@ -24,7 +24,7 @@ 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"
>   
> @@ -47,7 +47,7 @@ FILES:${PN} = " \
>       ${nonarch_libdir}/tmpfiles.d/*.conf \
>   "
>   FILES:${PN}-dev += "${base_libdir}/security/*.la ${libdir}/*.la ${libdir}/lib*${SOLIBSDEV}"
> -FILES:${PN}-runtime = "${sysconfdir} ${sbindir} ${nonarch_libdir}/systemd/system"
> +FILES:${PN}-runtime = "${sysconfdir} ${sbindir} ${nonarch_libdir}/systemd/system  ${datadir}/pam"
>   FILES:${PN}-xtests = "${datadir}/Linux-PAM/xtests"
>   
>   # libpam installs /etc/environment for use with the pam_env plugin. Make sure it is
> @@ -165,7 +165,7 @@ CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-auth"
>   CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-password"
>   CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-session-noninteractive"
>   CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-account"
> -CONFFILES:${PN}-runtime += "${sysconfdir}/security/limits.conf"
> +CONFFILES:${PN}-runtime += "${datadir}/pam/security/limits.conf"
>   
>   GITHUB_BASE_URI = "https://github.com/linux-pam/linux-pam/releases"
>   
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#229971): https://lists.openembedded.org/g/openembedded-core/message/229971
> Mute This Topic: https://lists.openembedded.org/mt/117465167/7283133
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [yi.zhao@eng.windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-extended/pam/libpam_1.7.1.bb b/meta/recipes-extended/pam/libpam_1.7.2.bb
similarity index 97%
rename from meta/recipes-extended/pam/libpam_1.7.1.bb
rename to meta/recipes-extended/pam/libpam_1.7.2.bb
index 8fb67983ee..0bd9f5d844 100644
--- a/meta/recipes-extended/pam/libpam_1.7.1.bb
+++ b/meta/recipes-extended/pam/libpam_1.7.2.bb
@@ -24,7 +24,7 @@  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"
 
@@ -47,7 +47,7 @@  FILES:${PN} = " \
     ${nonarch_libdir}/tmpfiles.d/*.conf \
 "
 FILES:${PN}-dev += "${base_libdir}/security/*.la ${libdir}/*.la ${libdir}/lib*${SOLIBSDEV}"
-FILES:${PN}-runtime = "${sysconfdir} ${sbindir} ${nonarch_libdir}/systemd/system"
+FILES:${PN}-runtime = "${sysconfdir} ${sbindir} ${nonarch_libdir}/systemd/system  ${datadir}/pam" 
 FILES:${PN}-xtests = "${datadir}/Linux-PAM/xtests"
 
 # libpam installs /etc/environment for use with the pam_env plugin. Make sure it is
@@ -165,7 +165,7 @@  CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-auth"
 CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-password"
 CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-session-noninteractive"
 CONFFILES:${PN}-runtime += "${sysconfdir}/pam.d/common-account"
-CONFFILES:${PN}-runtime += "${sysconfdir}/security/limits.conf"
+CONFFILES:${PN}-runtime += "${datadir}/pam/security/limits.conf"
 
 GITHUB_BASE_URI = "https://github.com/linux-pam/linux-pam/releases"