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