Fix linux-pam trying to include disabled pam_lastlog.so on login (#3815)

Build of pam_lastlog.so was disabled by updating to v1.5.3 [1] yet the line
wasn't removed from the login modules. In upstream this was resolved by adding
a config option for turning the lastlog module and dynamic disabling of the
line including it. These changes neither a fix removing the config line were
not applied to 2024.02, so cherry-pick them here to fix the issue.

* buildroot ff563b383d...3784884466 (2):
  > package/linux-pam: adjust login pam file for lastlog
  > package/linux-pam: add menuconfig option to build pam_lastlog.so

Fixes #3789

[1] https://github.com/linux-pam/linux-pam/releases/tag/v1.5.3

(cherry picked from commit af7b36e1007981ccd04c75d60ee24e487d836a04)
This commit is contained in:
Jan Čermák 2025-01-21 18:39:58 +01:00 committed by Jan Čermák
parent 8db3b9f848
commit 478f652e8c
No known key found for this signature in database
GPG Key ID: A78C897AA3AF012B

@ -1 +1 @@
Subproject commit ff563b383dfe222af5721363fc8414db1bd2c480
Subproject commit 3784884466ddce383c02a467fed4a4334cba2c11