Kbuild: move CONFIG_PAM to general configuration
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 11 Feb 2014 20:31:42 +0000 (21:31 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 19 Feb 2014 17:53:25 +0000 (18:53 +0100)
Currently CONFIG_PAM depends on CONFIG_LOGIN, but is used by the httpd applet too.

This patch moves said option to general configuration, thus allowing to
compile httpd with PAM support independently from login.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Config.in
loginutils/Config.src

index 2c4be2e9f4d49f4a4c90e7acb0180a48c96dc686..38d4ebc2606dc488a7d1feff01169a42b219b625 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -257,6 +257,13 @@ config UNICODE_PRESERVE_BROKEN
          at shell prompt will list file named 0xff (single char name
          with char value 255), not file named '?'.
 
+config PAM
+       bool "Support for PAM (Pluggable Authentication Modules)"
+       default n
+       help
+         Use PAM in some busybox applets (currently login and httpd) instead
+         of direct access to password database.
+
 config LONG_OPTS
        bool "Support for --long-options"
        default y
index b78d7c38ef88fd1d115a5b0230ddfeef894d1474..fa2b4f8c01f97d0dae1bb4d86d4af0d550b46667 100644 (file)
@@ -223,13 +223,6 @@ config LOGIN_SESSION_AS_CHILD
          almost always would want this to be set to Y, else PAM session
          will not be cleaned up.
 
-config PAM
-       bool "Support for PAM (Pluggable Authentication Modules)"
-       default n
-       depends on LOGIN
-       help
-         Use PAM in login(1) instead of direct access to password database.
-
 config LOGIN_SCRIPTS
        bool "Support for login scripts"
        depends on LOGIN