diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-12-05 08:41:41 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-12-05 08:41:41 +0000 |
commit | c9f20d9fb93c6c316518483fd103f3afab5cf1af (patch) | |
tree | 72904548bb54dcaf78017d3b35296765437e0bd5 /loginutils | |
parent | deca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff) | |
download | busybox-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.in | 97 | ||||
-rw-r--r-- | loginutils/config.in | 32 |
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 | |||
6 | menu "Login/Password Management Utilities" | ||
7 | |||
8 | config 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 | |||
14 | config CONFIG_ADDGROUP | ||
15 | bool "addgroup" | ||
16 | default n | ||
17 | help | ||
18 | Please submit a patch to add help text for this item. | ||
19 | |||
20 | config CONFIG_DELGROUP | ||
21 | bool "delgroup" | ||
22 | default n | ||
23 | help | ||
24 | Please submit a patch to add help text for this item. | ||
25 | |||
26 | config CONFIG_ADDUSER | ||
27 | bool "adduser" | ||
28 | default n | ||
29 | help | ||
30 | Please submit a patch to add help text for this item. | ||
31 | |||
32 | config CONFIG_DELUSER | ||
33 | bool "deluser" | ||
34 | default n | ||
35 | help | ||
36 | Please submit a patch to add help text for this item. | ||
37 | |||
38 | config CONFIG_GETTY | ||
39 | bool "getty" | ||
40 | default n | ||
41 | help | ||
42 | Please submit a patch to add help text for this item. | ||
43 | |||
44 | config CONFIG_LOGIN | ||
45 | bool "login" | ||
46 | default n | ||
47 | help | ||
48 | Please submit a patch to add help text for this item. | ||
49 | |||
50 | config 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 | |||
58 | config CONFIG_PASSWD | ||
59 | bool "passwd" | ||
60 | default n | ||
61 | help | ||
62 | Please submit a patch to add help text for this item. | ||
63 | |||
64 | config CONFIG_SU | ||
65 | bool "su" | ||
66 | default n | ||
67 | help | ||
68 | Please submit a patch to add help text for this item. | ||
69 | |||
70 | config 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 | |||
77 | config 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 | |||
84 | config CONFIG_SULOGIN | ||
85 | bool "sulogin" | ||
86 | default n | ||
87 | help | ||
88 | Please submit a patch to add help text for this item. | ||
89 | |||
90 | config CONFIG_VLOCK | ||
91 | bool "vlock" | ||
92 | default n | ||
93 | help | ||
94 | Please submit a patch to add help text for this item. | ||
95 | |||
96 | endmenu | ||
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 | |||
6 | mainmenu_option next_comment | ||
7 | comment 'Login/Password Management Utilities' | ||
8 | |||
9 | |||
10 | bool 'Use internal password and group functions instead of the system functions' CONFIG_USE_BB_PWD_GRP | ||
11 | bool 'addgroup' CONFIG_ADDGROUP | ||
12 | bool 'delgroup' CONFIG_DELGROUP | ||
13 | bool 'adduser' CONFIG_ADDUSER | ||
14 | bool 'deluser' CONFIG_DELUSER | ||
15 | bool 'getty' CONFIG_GETTY | ||
16 | bool 'login' CONFIG_LOGIN | ||
17 | if [ "$CONFIG_LOGIN" = "y" ]; then | ||
18 | bool ' Support for /etc/securetty' CONFIG_FEATURE_SECURETTY | ||
19 | fi | ||
20 | bool 'passwd' CONFIG_PASSWD | ||
21 | bool 'su' CONFIG_SU | ||
22 | if [ "$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 | ||
27 | fi | ||
28 | bool 'sulogin' CONFIG_SULOGIN | ||
29 | bool 'vlock' CONFIG_VLOCK | ||
30 | |||
31 | endmenu | ||
32 | |||