libpam: update to 1.7.1
authorJohn Audia <[email protected]>
Sun, 13 Jul 2025 11:44:31 +0000 (07:44 -0400)
committerJosef Schlehofer <[email protected]>
Sun, 13 Jul 2025 21:36:50 +0000 (23:36 +0200)
Release notes:
 https://github.com/linux-pam/linux-pam/releases/tag/v1.5.3
 https://github.com/linux-pam/linux-pam/releases/tag/v1.6.0
 https://github.com/linux-pam/linux-pam/releases/tag/v1.6.1
 https://github.com/linux-pam/linux-pam/releases/tag/v1.7.0
 https://github.com/linux-pam/linux-pam/releases/tag/v1.7.1

Adapt Makefile to use meson and removed patch relating to configure.

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <[email protected]>
libs/libpam/Makefile
libs/libpam/patches/0001-build-always-use-lib-instead-of-lib64.patch [deleted file]

index abe79042f187ceaecbd22eb0feb16f42fb0f8427..7561fc20940214eabd81430a4913e4f95b6acfcc 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libpam
-PKG_VERSION:=1.5.2
+PKG_VERSION:=1.7.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=Linux-PAM-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/linux-pam/linux-pam/releases/download/v$(PKG_VERSION)
-PKG_HASH:=e4ec7131a91da44512574268f493c6d8ca105c87091691b8e9b56ca685d4f94d
+PKG_HASH:=21dbcec6e01dd578f14789eac9024a18941e6f2702a05cf91b28c232eeb26ab0
 PKG_BUILD_DIR:=$(BUILD_DIR)/Linux-PAM-$(PKG_VERSION)
 
 PKG_MAINTAINER:=Nikos Mavrogiannopoulos <[email protected]>
@@ -26,6 +26,7 @@ PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/meson.mk
 
 define Package/libpam
   SECTION:=libs
@@ -38,26 +39,17 @@ define Package/libpam/description
        The Linux-PAM Pluggable Authentication Modules.
 endef
 
-CONFIGURE_ARGS += \
-       --enable-pamlocking \
-       --enable-shared \
-       --enable-static \
-       --disable-audit \
-       --disable-cracklib \
-       --disable-db \
-       --disable-debug \
-       --disable-doc \
-       --disable-econf \
-       --disable-lckpwdf \
-       --disable-nis \
-       --disable-prelude \
-       --disable-regenerate-docu \
-       --disable-rpath \
-       --disable-selinux \
-       --disable-Werror \
-       --with-gnu-ld \
-       --without-mailspool \
-       --without-xauth
+MESON_ARGS += \
+       -Dpamlocking=true \
+       -Daudit=disabled \
+       -Ddocs=disabled \
+       -Deconf=disabled \
+       -Dlckpwdf=false \
+       -Dnis=disabled \
+       -Dselinux=disabled \
+       -Dmailspool=disabled \
+       -Ddb=db \
+       -Dxauth=disabled
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
diff --git a/libs/libpam/patches/0001-build-always-use-lib-instead-of-lib64.patch b/libs/libpam/patches/0001-build-always-use-lib-instead-of-lib64.patch
deleted file mode 100644 (file)
index a40274f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -25,7 +25,7 @@ dnl If we use /usr as prefix, use /etc f
-         then
-                 sysconfdir="/etc"
-         fi
--      if test ${libdir} = '${exec_prefix}/lib'
-+      if false
-       then
-               case "$host_cpu" in
-                   x86_64|ppc64|s390x|sparc64)