Mon Apr 13 19:48:34 2009 UTC ()
mksh R37c provides these follow-up fixes:
.[tg] Improve pr誄rocessor detection/work in Build.sh
.[tg] Decouple MKSH_CONSERVATIVE_FDS from MKSH_SMALL
.[tg] Enable MKSH_CONSERVATIVE_FDS by default on Minix 3
.[tg] Work around the (in-)famous ACK "const" bug
.[tg] Optimise structure alignment and padding; Closes: #522778
.[tg] Retain LOCPATH (for glibc locale) in check.pl
.[tg] Document, simplify and clean up the code better
.[tg] Use mirbsd.org eMail addresses consistently
mksh R37b comes with the following fixes on top:
.[tg] Clean up build system and dot.mkshrc some more
.[tg] Add getrusage(2) implementation using times(3) if none found
.[tg] Add jobless mode (for Minix 3, Plan 9, .)
.[tg] Detect the Amsterdam Compiler Kit in the build system
.[tg] If no RLIM_INFINITY don.t try to do ulimit
.[tg] Work around gcc4 strict warnings vs. broken system headers
.[tg] Work around systems with mmap(2) but no munmap(2)
.[tg] Fix (disallow) bind key macro recursion (instead of beeping and going into an endless loop), allow multi-line bind key macros (mostly from Alexander Hall), remove dead code (the beeping) and optimise
.[tg] Add (commented out, undesired, standards compliance breaking) compatibility code to MidnightBSD 0.1 /bin/sh for ctriv
.[tg] Clarify the mksh(1) manual page even more
.[tg] Port to Minix 3 + GCC
mksh R37 has major standards compliance improvements:
.[tg] Rename -o utf8-hack to -o utf8-mode
.[tg] Fix spacing mode error (pasto) in the mdoc(7) format manpage
.[tg] Implement $((#.)) unsigned arithmetic calculation, needed for arc4random_uniform(3)-in-korn-shell implementation
.[tg] Really preserve LD_LIBRARY_PATH in check.pl
.[tg] New Build.sh option .-combine. for building mksh(1) at once with .-fwhole-program --combine. (gcc4, llvm-gcc4) if available
.[tg] Always set COLUMNS and LINES trying as hard as we can, using TIOCGWINSZ even if used without FTALKING, and with the sane 80x24 default if the ioctl(2) fails
.[tg] Handle _POSIX_VDISABLE being undefined (e.g. Linux/klibc)
.[tg] <sys/file.h> is only required for flock(2)
.[tg] Fix multi-column output routine for the corner case if the screen is less wide than one output column; 10x G畸or Gergely
.[tg] Fix ${foo/@(%)/\\x} in UTF-8 mode (utf_widthadj for control characters U+0080.U+009F is slightly broken; this fix shifts the brokenness into the command line editing mode only)
.[tg] Introduce mksh_ari_t and mksh_uari_t internal types to limit arithmetics to 32 bit on all systems; currently depending on the already-used standard int32_t and uint32_t types. Future expansion to 64 bit possible. Document that shell integer variables use this type.
.[tg] The variables PGRP, PPID, RANDOM and USER_ID are now unsigned
.[tg] Fix two off-by-ones breaking PS1 ending with a newline; bug reported by Matthias Diener
.[tg] Just pass through C1 control characters for now
.[tg] Code and internal interfaces cleanup
.[tg] Regression test fixes for Cygwin env(1) being unsorted
.[tg] Replace the memory allocator by something equally simple and homegrown but optimised for use with mksh and free checking
.[tg] Import a couple of minor fixes (e.g. spelling) from oksh
.[tg] Fix problems with "set -e" for real; from oksh, Closes: #518359
.[tg] In "set -o posix" mode, have limited echo(1) to improve standards compliance; the exact feature set is open for discussion, e.g. with pkgsrcョ people; for now, only -n as first arg
.[tg] Make test builtin operator precedence consistent; from oksh
.[tg] Revamp and fold and enhance the regression tests
.[tg] Document somewhat surprising behaviour in mksh(1) better; here: [ x -eq y ]; for gps23 from #ksh
.[tg] Reduce memory consumption by allocator simplification
.[tg] Fix bugs spotted by DEC ucode cc (ULTRIX) and gcc 1.42 (BSD/OS)
.[laffer1] Make mksh the default /bin/sh in MidnightBSD
(ahoka)
diff -r1.3 -r1.4 pkgsrc/shells/mksh/DESCR
diff -r1.9 -r1.10 pkgsrc/shells/mksh/Makefile
diff -r1.9 -r1.10 pkgsrc/shells/mksh/distinfo
--- pkgsrc/shells/mksh/DESCR 2007/08/07 19:38:11 1.3
+++ pkgsrc/shells/mksh/DESCR 2009/04/13 19:48:34 1.4
| @@ -1,5 +1,10 @@ | | | @@ -1,5 +1,10 @@ |
1 | mksh is the MirBSD enhanced version of the Public Domain Korn shell | | 1 | mksh is the MirBSD enhanced version of the Public Domain Korn shell (pdksh), |
2 | (pdksh), a Bourne-compatible shell which is largely similar to the | | 2 | a Bourne-compatible shell which is largely si. milar to the original AT&T |
3 | original AT&T Korn shell. It includes bug fixes and feature improvements | | 3 | Korn shell; mksh is the only pdksh derivate currently being actively developed. |
4 | in order to produce a modern, robust shell good for interactive and | | 4 | It includes bug fixes and feature improvements, in order to produce a modern, |
5 | especially script use. | | 5 | robust shell good for interactive and especially script use. |
| | | 6 | |
| | | 7 | The code has throughoutly been cleaned up and simplified, bugs fixed, standards |
| | | 8 | compliance added, and several enhancements (for extended compatibility to other |
| | | 9 | modern shells, as well as a couple of its own) have been placed. mksh has UTF-8 |
| | | 10 | support (e.g. in the emacs editing mode). |
--- pkgsrc/shells/mksh/Makefile 2008/10/25 18:58:13 1.9
+++ pkgsrc/shells/mksh/Makefile 2009/04/13 19:48:34 1.10
| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.9 2008/10/25 18:58:13 ahoka Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2009/04/13 19:48:34 ahoka Exp $ |
2 | | | 2 | |
3 | DISTNAME= mksh-R36 | | 3 | DISTNAME= mksh-R37c |
4 | PKGNAME= ${DISTNAME:S/-R/-/} | | 4 | PKGNAME= ${DISTNAME:S/-R/-/} |
5 | CATEGORIES= shells | | 5 | CATEGORIES= shells |
6 | MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ \ | | 6 | MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ \ |
7 | http://pub.allbsd.org/MirOS/dist/mir/mksh/ | | 7 | http://pub.allbsd.org/MirOS/dist/mir/mksh/ |
8 | EXTRACT_SUFX= .cpio.gz | | 8 | EXTRACT_SUFX= .cpio.gz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://mirbsd.de/mksh | | 11 | HOMEPAGE= http://mirbsd.de/mksh |
12 | COMMENT= MirBSD Korn Shell | | 12 | COMMENT= MirBSD Korn Shell |
13 | | | 13 | |
14 | WRKSRC= ${WRKDIR}/mksh | | 14 | WRKSRC= ${WRKDIR}/mksh |
15 | WRKBUILD?= ${WRKSRC} | | 15 | WRKBUILD?= ${WRKSRC} |
16 | | | 16 | |
--- pkgsrc/shells/mksh/Attic/distinfo 2008/10/25 18:58:14 1.9
+++ pkgsrc/shells/mksh/Attic/distinfo 2009/04/13 19:48:34 1.10
| @@ -1,5 +1,5 @@ | | | @@ -1,5 +1,5 @@ |
1 | $NetBSD: distinfo,v 1.9 2008/10/25 18:58:14 ahoka Exp $ | | 1 | $NetBSD: distinfo,v 1.10 2009/04/13 19:48:34 ahoka Exp $ |
2 | | | 2 | |
3 | SHA1 (mksh-R36.cpio.gz) = b34eb3b00ff628202fca3f1e7a9841e0a7c8a27b | | 3 | SHA1 (mksh-R37c.cpio.gz) = 7c231b7add0317a427aa0829e9d13f28333d1549 |
4 | RMD160 (mksh-R36.cpio.gz) = 052a2d445909bd91f43274e7d1af4e0d4d3ec59d | | 4 | RMD160 (mksh-R37c.cpio.gz) = 3403ae2195a1f369df2ee64fbb3ec2a4c62d2212 |
5 | Size (mksh-R36.cpio.gz) = 264858 bytes | | 5 | Size (mksh-R37c.cpio.gz) = 268074 bytes |