Signed-off-by: Ladislav Michl <[email protected]> --- rules/core-pam.in | 8 ++++++++ rules/pre/Rules.make | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 rules/core-pam.in
diff --git a/rules/core-pam.in b/rules/core-pam.in new file mode 100644 index 000000000..0e2c983a5 --- /dev/null +++ b/rules/core-pam.in @@ -0,0 +1,8 @@ +## SECTION=core + +config GLOBAL_PAM + bool + prompt "PAM support" + help + This will enable PAM for all packages with optional + PAM support. diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index 2924c8d34..64093ddc5 100644 --- a/rules/pre/Rules.make +++ b/rules/pre/Rules.make @@ -271,6 +271,12 @@ else GLOBAL_LARGE_FILE_OPTION := --disable-largefile endif +ifdef PTXCONF_GLOBAL_PAM +GLOBAL_PAM_OPTION := --enable-pam +else +GLOBAL_PAM_OPTION := --disable-pam +endif + ifdef PTXCONF_GLOBAL_SELINUX GLOBAL_SELINUX_OPTION := --enable-selinux else -- 2.24.0 _______________________________________________ ptxdist mailing list [email protected]
