./shells/mksh, MirBSD Korn Shell

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 59bnb4, Package name: mksh-59bnb4, Maintainer: jperkin

mksh is the MirBSD enhanced version of the Public Domain Korn shell (pdksh),
a Bourne-compatible shell which is largely similar to the original AT&T
Korn shell; mksh is the only pdksh derivate currently being actively developed.
It includes bug fixes and feature improvements, in order to produce a modern,
robust shell good for interactive and especially script use.

The code has been thoroughly cleaned up and simplified, bugs fixed, standards
compliance added, and several enhancements (for extended compatibility to other
modern shells, as well as a couple of its own) have been placed. mksh has UTF-8
support (e.g. in the emacs editing mode).


Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2023-05-04 12:15:53 by Jonathan Perkin | Files touched by this commit (2)
Log message:
mksh: Remove defer-always flag from printf.

Previously this deferred to a printf binary if one was found in $PATH, which
completely defeats the point of using the builtin for performance reasons.  We
always create a printf wrapper so one was always found.  A nasty side-effect of
this was that with TOOLS_PLATFORM.printf=printf we would end up in a recursive
loop.

Now printf will always use the builtin.  Bump PKGREVISION.
   2022-12-19 14:42:35 by Jonathan Perkin | Files touched by this commit (2)
Log message:
mksh: Pull in the printf(1) builtin from MirBSD.

Note that we are specifically using -r1.21 as newer versions do not build.

This improves performance on systems that use mksh as the bootstrap shell, due
to widespread use of printf in the pkgsrc infrastructure that previously had
to fork /usr/bin/printf.

Tested on macOS and SmartOS.  Bump PKGREVISION.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-08-03 17:33:45 by Tobias Nygren | Files touched by this commit (1)
Log message:
mksh: add a CHECK_PORTABILITY_SKIP with a comment
   2020-08-03 17:16:04 by Tobias Nygren | Files touched by this commit (1)
Log message:
undo previous. Apparently one doesn't patch this in the normal way.
   2020-08-03 17:13:55 by Tobias Nygren | Files touched by this commit (1)
Log message:
mksh: remove double brackets
   2020-07-10 13:24:24 by Jonathan Perkin | Files touched by this commit (1)
Log message:
mksh: Don't set PKG_SHELL when used for bootstrap.

This can cause circular problems where the +INSTALL script requires the shell
itself, but also avoids issues trying to add to /etc/shells during bootstrap
where it may not be appropriate, or done outside of the context of where the
bootstrap tarball will finally be installed.

Users who use mksh as a bootstrap shell can simply add to /etc/shells manually
after installing or extracting the bootstrap as required.

While here remove unnecessary extra indents.