501-mconfig.patch 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. # If HAVE_PAM is set to "yes", then login, chfn, chsh, and newgrp
  12. # will use PAM for authentication. Additionally, passwd will not be
  13. @@ -64,12 +64,12 @@
  14. # If HAVE_WRITE is set to "yes", then write will not be built or
  15. # installed from the misc-utils subdirectory.
  16. # (There is a network aware write in netwrite from NetKit 0.16 or later.)
  17. -HAVE_WRITE=no
  18. +HAVE_WRITE=yes
  19. # If HAVE_GETTY is set to "yes", then agetty will not be built or
  20. # installed from the login-utils subdirectory. Note that agetty can
  21. # co-exist with other gettys, so this option should never be used.
  22. -HAVE_GETTY=no
  23. +HAVE_GETTY=yes
  24. # If USE_TTY_GROUP is set to "yes", then wall and write will be installed
  25. # setgid to the "tty" group, and mesg will only set the group write bit.
  26. @@ -82,13 +82,13 @@
  27. # If HAVE_KILL is set to "yes", then kill will not be built or
  28. # installed from the misc-utils subdirectory.
  29. # (There is also a kill in the procps package.)
  30. -HAVE_KILL=no
  31. +HAVE_KILL=yes
  32. # If ALLOW_VCS_USE is set to "yes", then login will chown /dev/vcsN
  33. # to the current user, allowing her to make a screendump and do other
  34. # nifty things on the console, but also allowing him to keep an open
  35. # file descriptor after logging out to trick the next user.
  36. -ALLOW_VCS_USE=yes
  37. +ALLOW_VCS_USE=no
  38. # If DO_STAT_MAIL is set to "yes", then login will stat() the mailbox
  39. # and tell the user that she has new mail. This can hang the login if
  40. @@ -102,19 +102,19 @@
  41. # If HAVE_SLN is set to "yes", then sln won't be installed
  42. # (but the man page sln.8 will be installed anyway).
  43. # sln also comes with libc and glibc.
  44. -HAVE_SLN=no
  45. +HAVE_SLN=yes
  46. # If HAVE_FDUTILS is set to "yes", then setfdprm won't be installed.
  47. -HAVE_FDUTILS=no
  48. +HAVE_FDUTILS=yes
  49. # If SILENT_PG is set to "yes", then pg will not ring the bell
  50. # when an invalid key is pressed
  51. -SILENT_PG=no
  52. +SILENT_PG=yes
  53. # If configure decides that Native Language Support (NLS) is available,
  54. # it sets MAY_ENABLE_NLS in defines.h. If you don't want NLS, set
  55. # DISABLE_NLS to "yes".
  56. -DISABLE_NLS=no
  57. +DISABLE_NLS=yes
  58. # Different optimizations for different cpus.
  59. # Before gcc 2.8.0 only -m486