English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/mksh/Config.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3582 - (show annotations) (download)
Wed Sep 26 18:25:40 2007 UTC (6 years, 4 months ago) by tg
File size: 1804 byte(s)
MFC: mksh R28 → R31c+20070926

Reason:	the busy-loop problem, which was fixed in R31b, was discovered
	by spaetzle@ even doing some simpler pattern matching; also cf.
	http://bugs.debian.org/296446 and http://mirbsd.de/mksh#clog

Side effects:
• you can now select to build a full-featured mksh in menuconfig
  (still defaults to ‘n’, as does mksh itself)
• the new dot.mkshrc file offers pushd/popd/dirs (csh-like) as
  well as the precmd() and chpwd() hooks (zsh-like)
• added dependency on busybox: “readlink -f”
• UI still the same, except no $? in $PS1 any more (req. by yofuh)
• /etc/mkshrc is now an ipkg conffile and handled appropriately
• building with pcc should be possible (if you turn optimisation off)

Tested:
• FreeWRT 1.0-stable, ASUS WL-500g, mksh as /bin/sh+/bin/ash full-featured
• FreeWRT-current (by spaetzle@) before the MFC

1 config FWRT_PACKAGE_MKSH
2 prompt "mksh.............................. The MirBSD enhanced Korn Shell"
3 tristate
4 default n
5 select BUSYBOX_CONFIG_READLINK
6 select BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
7 help
8 mksh is the MirBSD enhanced version of the Public Domain Korn
9 shell (pdksh), a bourne-compatible shell which is largely si-
10 milar to the original AT&T Korn shell. It includes bug fixes
11 and feature improvements in order to produce a modern, robust
12 shell good for interactive and especially script use. It has
13 UTF-8 support in the emacs command line editing mode; corres-
14 ponds to OpenBSD 4.2-current ksh sans GNU bash-like $PS1; the
15 build environment requirements are autoconfigured; throughout
16 code simplification/bugfix/enhancement has been done, and the
17 shell has extended compatibility to other modern shells.
18
19 This package also adds /bin/mksh to /etc/shells and a $PS1 command
20 to /etc/profile in order to create a consistent working environment.
21
22 http://mirbsd.de/mksh
23
24 config FWRT_PACKAGE_MKSH_FULL
25 bool " Include all features"
26 depends FWRT_PACKAGE_MKSH
27 default n
28 help
29 Disable this to remove a few functions from mksh to make it smaller.
30 Ideal for embedded systems. However, be aware you will lose some
31 functionality you'd otherwise expect, among these is the vi command
32 line editing mode.
33
34 config FWRT_PACKAGE_MKSH_AS_BINASH
35 bool " Install mksh as /bin/ash"
36 depends FWRT_PACKAGE_MKSH
37 depends !BUSYBOX_CONFIG_ASH
38 default y
39 help
40 Enable this, because some scripts use #!/bin/ash so FreeWRT needs a
41 working /bin/sh and /bin/ash all the time, which can be either of
42 mksh or busybox ash.
43
44 comment " Disable ash above to be able to install mksh as /bin/ash if desired"
45 depends FWRT_PACKAGE_MKSH
46 depends BUSYBOX_CONFIG_ASH

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20