summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
commitc9f20d9fb93c6c316518483fd103f3afab5cf1af (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /loginutils
parentdeca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff)
downloadbusybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.gz
busybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.bz2
busybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.zip
Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/Config.in97
-rw-r--r--loginutils/config.in32
2 files changed, 97 insertions, 32 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in
new file mode 100644
index 000000000..15727d290
--- /dev/null
+++ b/loginutils/Config.in
@@ -0,0 +1,97 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Login/Password Management Utilities"
7
8config CONFIG_USE_BB_PWD_GRP
9 bool "Use internal password and group functions rather than system functions"
10 default n
11 help
12 Please submit a patch to add help text for this item.
13
14config CONFIG_ADDGROUP
15 bool "addgroup"
16 default n
17 help
18 Please submit a patch to add help text for this item.
19
20config CONFIG_DELGROUP
21 bool "delgroup"
22 default n
23 help
24 Please submit a patch to add help text for this item.
25
26config CONFIG_ADDUSER
27 bool "adduser"
28 default n
29 help
30 Please submit a patch to add help text for this item.
31
32config CONFIG_DELUSER
33 bool "deluser"
34 default n
35 help
36 Please submit a patch to add help text for this item.
37
38config CONFIG_GETTY
39 bool "getty"
40 default n
41 help
42 Please submit a patch to add help text for this item.
43
44config CONFIG_LOGIN
45 bool "login"
46 default n
47 help
48 Please submit a patch to add help text for this item.
49
50config CONFIG_FEATURE_SECURETTY
51 bool " Support for /etc/securetty"
52 default y
53 depends on CONFIG_LOGIN
54 help
55 Please submit a patch to add help text for this item.
56
57
58config CONFIG_PASSWD
59 bool "passwd"
60 default n
61 help
62 Please submit a patch to add help text for this item.
63
64config CONFIG_SU
65 bool "su"
66 default n
67 help
68 Please submit a patch to add help text for this item.
69
70config CONFIG_FEATURE_SHADOWPASSWDS
71 bool "Support for shadow passwords"
72 default y
73 depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU
74 help
75 Please submit a patch to add help text for this item.
76
77config CONFIG_USE_BB_SHADOW
78 bool " Use busybox shadow password functions"
79 default n
80 depends on CONFIG_USE_BB_PWD_GRP && CONFIG_FEATURE_SHADOWPASSWDS
81 help
82 Please submit a patch to add help text for this item.
83
84config CONFIG_SULOGIN
85 bool "sulogin"
86 default n
87 help
88 Please submit a patch to add help text for this item.
89
90config CONFIG_VLOCK
91 bool "vlock"
92 default n
93 help
94 Please submit a patch to add help text for this item.
95
96endmenu
97
diff --git a/loginutils/config.in b/loginutils/config.in
deleted file mode 100644
index 6280ff2a6..000000000
--- a/loginutils/config.in
+++ /dev/null
@@ -1,32 +0,0 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'Login/Password Management Utilities'
8
9
10bool 'Use internal password and group functions instead of the system functions' CONFIG_USE_BB_PWD_GRP
11bool 'addgroup' CONFIG_ADDGROUP
12bool 'delgroup' CONFIG_DELGROUP
13bool 'adduser' CONFIG_ADDUSER
14bool 'deluser' CONFIG_DELUSER
15bool 'getty' CONFIG_GETTY
16bool 'login' CONFIG_LOGIN
17if [ "$CONFIG_LOGIN" = "y" ]; then
18 bool ' Support for /etc/securetty' CONFIG_FEATURE_SECURETTY
19fi
20bool 'passwd' CONFIG_PASSWD
21bool 'su' CONFIG_SU
22if [ "$CONFIG_ADDUSER" = "y" -o "$CONFIG_DELUSER" = "y" -o "$CONFIG_LOGIN" = "y" -o "$CONFIG_SU" = "y" ]; then
23 bool ' Support for shadow passwords' CONFIG_FEATURE_SHADOWPASSWDS
24 if [ "$CONFIG_USE_BB_PWD_GRP" = "y" -a "$CONFIG_FEATURE_SHADOWPASSWDS" = "y" ]; then
25 bool ' Use busybox shadow password functions' CONFIG_USE_BB_SHADOW
26 fi
27fi
28bool 'sulogin' CONFIG_SULOGIN
29bool 'vlock' CONFIG_VLOCK
30
31endmenu
32