FS#60365 - [pam] Please re-compile to enable libaudit support.

Attached to Project: Arch Linux
Opened by Luke Shumaker (lukeshu) - Wednesday, 10 October 2018, 01:01 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 21 July 2020, 13:16 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



With Arch enabling CONFIG_AUDIT=y since kernel 4.18, and enabling audit support in systemd since 239.2 (dropping -Daudit=false from meson_options), it would be nice if libpam.so and friends also had libaudit support.

pam's ./configure (in absence of --<enable|disable>-audit) enables or disables audit support based on the presence of libaudit; the only change that needs to be made is adding 'audit' to the depends=() array.

Note that because 'audit' is now pulled in to 'base-devel' by systemd anyway, at pam's next recompilation it would link against libaudit, regardless of if it is listed in depends=() (unless --disable-audit is passed to ./configure). And linking against it without depending on it would certainly be bad.

Additional info:
* package version(s): core/pam-1.3.1-1
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 21 July 2020, 13:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.4.0-2