Changeset 3233
- Timestamp:
- 07/16/07 16:05:08 (1 year ago)
- Files:
-
- trunk/freewrt/package/Config.in (modified) (3 diffs)
- trunk/freewrt/package/Config.in.runtime (modified) (1 diff)
- trunk/freewrt/package/Config.in.shell (deleted)
- trunk/freewrt/package/base-files/Makefile (modified) (3 diffs)
- trunk/freewrt/package/busybox/Config.ash (deleted)
- trunk/freewrt/package/busybox/Makefile (modified) (1 diff)
- trunk/freewrt/package/mksh/Config.in (modified) (2 diffs)
- trunk/freewrt/package/mksh/Makefile (modified) (1 diff)
- trunk/freewrt/package/mksh/Makefile.inc (modified) (1 diff)
- trunk/freewrt/package/zsh/Config.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/package/Config.in
r3209 r3233 21 21 source "package/base-files/Config.in" 22 22 source "package/busybox/Config.in" 23 source "package/mksh/Config.in" 23 24 source "package/uclibc/Config.in" 24 25 menu "Broadcom-specific packages" … … 42 43 endmenu 43 44 44 menu "Shells"45 source "package/Config.in.shell"46 endmenu47 48 45 menu "Applications" 49 46 source "package/autossh/Config.in" 47 source "package/bash/Config.in" 50 48 source "package/binutils/Config.in" 51 49 source "package/bitchx/Config.in" … … 82 80 source "package/tar/Config.in" 83 81 source "package/vim/Config.in" 82 source "package/zsh/Config.in" 84 83 endmenu 85 84 trunk/freewrt/package/Config.in.runtime
r2795 r3233 1 1 comment "Runtime Configuration" 2 3 choice 4 prompt "Choose the login shell for the admin user" 5 default FWRT_BASEFILES_ADMIN_MKSH 6 help 7 Choose a shell which is to be used as the default login 8 shell for the "admin" user. Only shells selected above 9 can be chosen. 10 11 config FWRT_BASEFILES_ADMIN_MKSH 12 depends FWRT_PACKAGE_MKSH 13 bool "mksh" 14 help 15 mksh is the MirBSD enhanced version of the Public Domain Korn 16 shell (pdksh), a bourne-compatible shell which is largely similar 17 to the original AT&T Korn shell. It includes bug fixes and 18 feature improvements in order to produce a modern, robust shell 19 good for interactive and especially script use. Some sh/ksh/pdksh 20 compatibility kludges have been removed. 21 22 config FWRT_BASEFILES_ADMIN_BASH 23 depends FWRT_PACKAGE_BASH 24 bool "GNU bash" 25 help 26 bash is the GNU "bourne-again" shell, a pretty bloated bourne 27 compatible shell with some basic korn shell extensions and a 28 few home-grown ones. Because it's very big and slow, it can't 29 be selected as /bin/sh. 30 31 config FWRT_BASEFILES_ADMIN_ZSH 32 depends FWRT_PACKAGE_ZSH 33 bool "zsh" 34 help 35 zsh is a powerful, bloated not-quite bourne (and even less 36 korn) compatible shell with rich features for interactive 37 uses. It cannot be selected as /bin/sh but as login shell. 38 39 config FWRT_BASEFILES_ADMIN_SH 40 bool "/bin/sh" 41 help 42 Fall-back: use /bin/sh, whatever it is. 43 44 endchoice 2 45 3 46 config FWRT_RUNTIME_PACKAGES_URL trunk/freewrt/package/base-files/Makefile
r3211 r3233 10 10 PKG_NAME:= base-files 11 11 PKG_VERSION:= 1.1 12 PKG_RELEASE:= 1 512 PKG_RELEASE:= 16 13 13 WRKDIST= ${WRKDIR}/base-files 14 14 NO_DISTFILES:= 1 … … 22 22 23 23 ADMIN_SHELL:= /bin/sh 24 ifeq (${FWRT_BASEFILES_ADMIN_ ASH},y)25 ADMIN_SHELL:= /bin/ ash24 ifeq (${FWRT_BASEFILES_ADMIN_BASH},y) 25 ADMIN_SHELL:= /bin/bash 26 26 endif 27 27 ifeq (${FWRT_BASEFILES_ADMIN_MKSH},y) 28 28 ADMIN_SHELL:= /bin/mksh 29 endif30 ifeq (${FWRT_BASEFILES_ADMIN_HUSH},y)31 ADMIN_SHELL:= /bin/hush32 endif33 ifeq (${FWRT_BASEFILES_ADMIN_LASH},y)34 ADMIN_SHELL:= /bin/lash35 endif36 ifeq (${FWRT_BASEFILES_ADMIN_MSH},y)37 ADMIN_SHELL:= /bin/msh38 endif39 ifeq (${FWRT_BASEFILES_ADMIN_BASH},y)40 ADMIN_SHELL:= /bin/bash41 29 endif 42 30 ifeq (${FWRT_BASEFILES_ADMIN_ZSH},y) … … 70 58 chmod 600 $(IDIR_BASE_FILES)/etc/.rnd 71 59 echo /bin/sh >${IDIR_BASE_FILES}/etc/shells 72 ifneq (${BUSYBOX_CONFIG_ASH},)73 echo /bin/ash >>${IDIR_BASE_FILES}/etc/shells74 endif75 ifneq (${BUSYBOX_CONFIG_HUSH},)76 echo /bin/hush >>${IDIR_BASE_FILES}/etc/shells77 endif78 ifneq (${BUSYBOX_CONFIG_LASH},)79 echo /bin/lash >>${IDIR_BASE_FILES}/etc/shells80 endif81 ifneq (${BUSYBOX_CONFIG_MSH},)82 echo /bin/msh >>${IDIR_BASE_FILES}/etc/shells83 endif84 ifneq (${FWRT_PACKAGE_MKSH},)85 echo /bin/mksh >>${IDIR_BASE_FILES}/etc/shells86 endif87 60 ifneq (${FWRT_PACKAGE_BASH},) 88 61 echo /bin/bash >>${IDIR_BASE_FILES}/etc/shells 89 62 endif 63 ifneq (${FWRT_PACKAGE_MKSH},) 64 echo /bin/ash >>${IDIR_BASE_FILES}/etc/shells 65 echo /bin/mksh >>${IDIR_BASE_FILES}/etc/shells 66 endif 90 67 ifneq (${FWRT_PACKAGE_ZSH},) 91 68 echo /bin/zsh >>${IDIR_BASE_FILES}/etc/shells 92 endif93 ifneq (${FWRT_PACKAGE_MKSH_AS_BINASH},)94 echo /bin/ash >>${IDIR_BASE_FILES}/etc/shells95 69 endif 96 70 mkdir -p $(IDIR_BASE_FILES)/dev trunk/freewrt/package/busybox/Makefile
r3215 r3233 9 9 PKG_NAME:= busybox 10 10 PKG_VERSION:= 1.4.2 11 PKG_RELEASE:= 2 111 PKG_RELEASE:= 22 12 12 PKG_MD5SUM:= b4c61fb15642be9dde20e8493788c585 13 13 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 trunk/freewrt/package/mksh/Config.in
r2873 r3233 1 1 config FWRT_PACKAGE_MKSH 2 prompt "mksh.............................. The MirBSD enhanced Korn Shell"2 prompt "mksh................................. The MirBSD enhanced Korn Shell" 3 3 tristate 4 default n4 default y 5 5 help 6 6 mksh is the MirBSD enhanced version of the Public Domain Korn … … 25 25 Ideal for embedded systems. However, be aware you will lose some 26 26 functionality you'd otherwise expect. 27 28 config FWRT_PACKAGE_MKSH_AS_BINASH29 bool " Install mksh as /bin/ash"30 depends FWRT_PACKAGE_MKSH31 depends !BUSYBOX_CONFIG_ASH32 default y33 help34 Enable this, because some scripts use #!/bin/ash so FreeWRT needs a35 working /bin/sh and /bin/ash all the time, which can be either of36 mksh or busybox ash (or GNU bash, which is untested).37 38 comment " Disable ash above to be able to install mksh as /bin/ash if desired"39 depends FWRT_PACKAGE_MKSH40 depends BUSYBOX_CONFIG_ASHtrunk/freewrt/package/mksh/Makefile
r2873 r3233 26 26 install -c -m 755 ${WRKBUILD}/mksh ${IDIR_MKSH}/bin/ 27 27 install -c -m 444 ${WRKSRC}/dot.mkshrc ${IDIR_MKSH}/etc/mkshrc 28 ifeq (${FWRT_PACKAGE_MKSH_AS_BINSH},y) 29 cd ${IDIR_MKSH}/bin; ln -sf mksh sh 30 endif 31 ifeq (${FWRT_PACKAGE_MKSH_AS_BINASH},y) 32 cd ${IDIR_MKSH}/bin; ln -sf mksh ash 33 endif 28 cd ${IDIR_MKSH}/bin; ln -sf mksh sh; ln -sf mksh ash 34 29 35 30 include ${TOPDIR}/mk/pkg-bottom.mk trunk/freewrt/package/mksh/Makefile.inc
r3185 r3233 7 7 PKG_NAME= mksh 8 8 PKG_VERSION= 29.7 9 PKG_RELEASE= 19 PKG_RELEASE= 2 10 10 DISTFILES= ${PKG_NAME}-R29g.cpio.gz 11 11 #DISTFILES= mksh_${PKG_VERSION}.tar.gz trunk/freewrt/package/zsh/Config.in
r2910 r3233 1 1 config FWRT_PACKAGE_ZSH 2 prompt "zsh.............................. Z shell"2 prompt "zsh............................... Z shell" 3 3 tristate 4 4 default n


