#lib/security/pam_wheel.so
#lib/security/pam_xauth.la
#lib/security/pam_xauth.so
-#lib/security/pwhistory_helper
lib/security/unix_chkpwd
-lib/security/unix_update
#usr/include/security
#usr/include/security/_pam_compat.h
#usr/include/security/_pam_macros.h
#usr/share/man/man8/pam_warn.8
#usr/share/man/man8/pam_wheel.8
#usr/share/man/man8/pam_xauth.8
-#usr/share/man/man8/pwhistory_helper.8
#usr/share/man/man8/unix_chkpwd.8
-#usr/share/man/man8/unix_update.8
include Config
-VER = 1.6.0
+VER = 1.6.1
THISAPP = Linux-PAM-$(VER)
DL_FILE = $(THISAPP).tar.xz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 8ad3ed2d58b48cf43d065f15669788c113eee2aa3fc86cf38565a0e4835b142564ff1af5bcd3377db08af77141d25b4e93752a387ff7eabc00b4a826aa9ea39d
+$(DL_FILE)_BLAKE2 = 649b4ff892fbd3eb90adcbd9ccc5b3f5df51bf1c79b9084c7a1613c432587b13b81761d1eb4f31ef12d58843d16af24a3c441d0b6f5d2f2a1db9c8da15a61e2f
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/Linux-PAM-1.6.0-libpam:_fix_build_with_--enable-read-both-confs.patch
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && ./configure --libdir=/usr/lib \
--sbindir=/lib/security \
+++ /dev/null
---- Linux-PAM-1.6.0/libpam/pam_handlers.c.orig 2024-01-17 11:29:36.000000000 +0100
-+++ Linux-PAM-1.6.0/libpam/pam_handlers.c 2024-01-22 16:02:45.546376172 +0100
-@@ -500,7 +500,7 @@
-
- if (pamh->confdir == NULL
- && (f = fopen(PAM_CONFIG,"r")) != NULL) {
-- retval = _pam_parse_conf_file(pamh, f, NULL, PAM_T_ANY, 0, 1);
-+ retval = _pam_parse_conf_file(pamh, f, NULL, PAM_T_ANY, 0, 0, 1);
- fclose(f);
- } else
- #endif /* PAM_READ_BOTH_CONFS */