wds-wpa support
[openwrt/svn-archive/archive.git] / package / util-linux / patches / 501-mconfig.patch
1 Index: util-linux-2.12r/MCONFIG
2 ===================================================================
3 --- util-linux-2.12r.orig/MCONFIG 2007-06-04 13:22:28.239562216 +0200
4 +++ util-linux-2.12r/MCONFIG 2007-06-04 13:22:28.549515096 +0200
5 @@ -16,8 +16,8 @@
6 # Select for ARCH one of intel, alpha, sparc, arm, m68k, mips
7 # Select for CPU i386 if the binaries must be able to run on an intel 386
8 # (by default i486 code is generated, see below)
9 -CPU=$(shell uname -m)
10 -ARCH=$(shell echo $(CPU) | sed 's/i.86/intel/;s/arm.*/arm/')
11 +CPU=
12 +ARCH=mips
13
14 # If HAVE_PAM is set to "yes", then login, chfn, chsh, and newgrp
15 # will use PAM for authentication. Additionally, passwd will not be
16 @@ -64,12 +64,12 @@
17 # If HAVE_WRITE is set to "yes", then write will not be built or
18 # installed from the misc-utils subdirectory.
19 # (There is a network aware write in netwrite from NetKit 0.16 or later.)
20 -HAVE_WRITE=no
21 +HAVE_WRITE=yes
22
23 # If HAVE_GETTY is set to "yes", then agetty will not be built or
24 # installed from the login-utils subdirectory. Note that agetty can
25 # co-exist with other gettys, so this option should never be used.
26 -HAVE_GETTY=no
27 +HAVE_GETTY=yes
28
29 # If USE_TTY_GROUP is set to "yes", then wall and write will be installed
30 # setgid to the "tty" group, and mesg will only set the group write bit.
31 @@ -82,13 +82,13 @@
32 # If HAVE_KILL is set to "yes", then kill will not be built or
33 # installed from the misc-utils subdirectory.
34 # (There is also a kill in the procps package.)
35 -HAVE_KILL=no
36 +HAVE_KILL=yes
37
38 # If ALLOW_VCS_USE is set to "yes", then login will chown /dev/vcsN
39 # to the current user, allowing her to make a screendump and do other
40 # nifty things on the console, but also allowing him to keep an open
41 # file descriptor after logging out to trick the next user.
42 -ALLOW_VCS_USE=yes
43 +ALLOW_VCS_USE=no
44
45 # If DO_STAT_MAIL is set to "yes", then login will stat() the mailbox
46 # and tell the user that she has new mail. This can hang the login if
47 @@ -102,19 +102,19 @@
48 # If HAVE_SLN is set to "yes", then sln won't be installed
49 # (but the man page sln.8 will be installed anyway).
50 # sln also comes with libc and glibc.
51 -HAVE_SLN=no
52 +HAVE_SLN=yes
53
54 # If HAVE_FDUTILS is set to "yes", then setfdprm won't be installed.
55 -HAVE_FDUTILS=no
56 +HAVE_FDUTILS=yes
57
58 # If SILENT_PG is set to "yes", then pg will not ring the bell
59 # when an invalid key is pressed
60 -SILENT_PG=no
61 +SILENT_PG=yes
62
63 # If configure decides that Native Language Support (NLS) is available,
64 # it sets MAY_ENABLE_NLS in defines.h. If you don't want NLS, set
65 # DISABLE_NLS to "yes".
66 -DISABLE_NLS=no
67 +DISABLE_NLS=yes
68
69 # Different optimizations for different cpus.
70 # Before gcc 2.8.0 only -m486