Changeset 31186 for packages


Ignore:
Timestamp:
2012-04-04T16:13:46+02:00 (5 years ago)
Author:
florian
Message:

[package] mksh: update to 40d

Signed-off-by: Thorsten Glaser <tg@…>

Location:
packages/utils/mksh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/mksh/Makefile

    r29199 r31186  
    1010 
    1111PKG_NAME:=mksh 
    12 PKG_VERSION:=39 
    13 PKG_RELEASE:=2 
     12PKG_VERSION:=40d 
     13PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-R$(PKG_VERSION).cpio.gz 
    1616PKG_SOURCE_URL:=http://www.mirbsd.org/MirOS/dist/mir/mksh 
    17 PKG_MD5SUM:=b2eeb4fe4ccac2704e1440e53cd2672c 
     17PKG_MD5SUM:=c6428401103367730a95b99284bf47dc 
    1818 
    1919PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) 
     
    3636fixes and feature improvements, in order to produce a modern, 
    3737robust shell good for interactive and especially script use. 
    38 mksh has UTF-8 support (e.g. in the emacs editing mode); R38c 
    39 corresponds to OpenBSD 4.5-current ksh (without GNU bash-like 
    40 $PS1 and fancy character classes).  The code has throughoutly 
     38mksh has UTF-8 support (in substring operations and the Emacs 
     39editing mode) and, while R40d corresponds to OpenBSD 5.0-cur- 
     40rent ksh (without GNU bash-like PS1 and fancy character clas- 
     41ses), adheres to SUSv4 and is much more robust.  The code has 
    4142been cleaned up and simplified, bugs fixed, standards compli- 
    4243ance added, and several enhancements (for extended compatibi- 
    4344lity to other modern shells - as well as a couple of its own) 
    44 have been placed. 
     45are available. It has sensible defaults as usual with BSD. 
    4546endef 
    4647 
     
    5152        #       nor look at $LC_* and $LANG (not recommended) 
    5253        # HAVE_CAN_FSTACKPROTECTORALL=0 ⇒ nuke libssp dependency 
    53         # HAVE_REALPATH=x ⇒ add the realpath builtin, which was 
    54         #       disabled by MKSH_SMALL, back if realpath() exists 
    5554        cd $(PKG_BUILD_DIR); \ 
    5655                CC="$(TARGET_CC)" \ 
     
    5958                CPPFLAGS="-DMKSH_SMALL=1 -DMKSH_ASSUME_UTF8=0" \ 
    6059                HAVE_CAN_FSTACKPROTECTORALL=0 \ 
    61                 HAVE_REALPATH=x \ 
    6260                LDFLAGS="$(TARGET_LDFLAGS)" \ 
    63                         $(BASH) Build.sh -Q -r 
     61                        $(BASH) Build.sh -Q -r -c lto 
    6462endef 
    6563 
  • packages/utils/mksh/patches/100-dot_mkshrc

    r17620 r31186  
    33        • Part of the FreeWRT patches: 
    44          – no hostname(1) 
    5           – ls has no -o 
    6         • OpenWrt fix: 
     5          – ls(1) has no -o option 
     6        • OpenWrt and FreeWRT-1.0 fix: 
    77          – since this is not ~/.mkshrc make sure subshells find it 
    88 
    9 --- a/dot.mkshrc 
    10 +++ b/dot.mkshrc 
    11 @@ -20,7 +20,7 @@ 
     9--- a/dot.mkshrc        Sat Nov 26 18:15:38 2011 
     10+++ b/dot.mkshrc        Sun Dec 11 21:31:27 2011 
     11@@ -21,7 +21,7 @@ 
    1212 #- 
    13  # ~/.mkshrc: mksh initialisation file for interactive shells 
     13 # ${ENV:-~/.mkshrc}: mksh initialisation file for interactive shells 
    1414  
    1515-: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)} 
     
    1818 : ${HOSTNAME:=nil}; if (( USER_ID )); then PS1='$'; else PS1='#'; fi 
    1919 function precmd { 
    20 @@ -38,7 +38,7 @@ unalias ls 
     20@@ -40,7 +40,7 @@ unalias ls 
    2121 alias l='ls -F' 
    2222 alias la='l -a' 
     
    2424-alias lo='l -alo' 
    2525+alias lo='l -al' 
    26  alias which='whence -p' 
    2726 whence -p rot13 >&- || alias rot13='tr \ 
    2827     abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ \ 
    29 @@ -304,4 +304,8 @@ function Lstripcom { 
    30         done; } 
    31  } 
     28     nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM' 
     29@@ -365,5 +365,9 @@ alias cls='print -n \\033c' 
     30 #export LANG=C LC_CTYPE=$p LC_MEASUREMENT=$p LC_MESSAGES=$p LC_PAPER=$p 
    3231  
     32 unset p 
     33+ 
    3334+# we need this in OpenWrt for subshells that are not login shells 
    3435+: ${ENV=/etc/mkshrc} 
    3536+[[ -z $ENV ]] || export ENV 
    36 + 
    37  : place customsations above this line 
     37  
     38 : place customisations above this line 
Note: See TracChangeset for help on using the changeset viewer.