Changelog
mksh (33.4-1) unstable; urgency=low
* New upstream release; changelog:
- Move a portability define from sh.h to the setmode.c helper, as it’s
only needed there, and we want to use the latter from MirMake as well
- SECURITY: when spawning mksh on a new terminal, for example with
“sudo mksh -lT/dev/ttyC7”, flush all of that tty’s I/O first
- dot.mkshrc: ensure “ls” is no alias, don’t hardcode its path
* As dash won’t be the default /bin/sh without the current alternative
handling / debconf mechanism in lenny (as per the mail from Martin
Zobel-Helas), there is no need to act regarding our debconf scripts
and /bin/sh ability, so I think this Closes: #469675
mksh (33.3-1) unstable; urgency=low
* New upstream release; changelog:
- Handle Ultrix mmap(2) having a different prototype (returning a caddr_t
instead of a void * and not defining MAP_FAILED; making Ultrix 4.5 a
fully supported platform
- Decrease code size and optimise (using puts-style functions instead of
printf-style functions for fixed strings; bool instead of int)
- Correct behaviour of “export”, “export -p”, “readonly”, “readonly -p”,
“typeset”, “typeset -p”, “typeset” and their respective descriptions in
the manual page; problem reported by Danijel Tasov
- Work around dup2(2) problem (preserving the close-on-exec flag) on
Ultrix using code from mirbsdksh-1.11, lost in oksh
- Clean up Build.sh a little more
- Correct quotes and some other stuff in the regression tests; fix for
running with old Perl (5.002 or so, Linux 2.0, BSD/OS)
- Export the new “__progname” and “__perlname” environment variables to
the suite run from check.t in check.pl
- Do not mistake IBM xlC and VisualAge for different things, thanks to
Pascal “loki” Bleser from OpenSuSE for information on them
mksh (33.2-1) unstable; urgency=low
* New upstream release; changelog:
- Fix some minor code issues remarked by MIPSpro
- Port to SGI IRIX 6.5 (uname: IRIX64) using gcc and MIPSpro
- Scan for a lot more compilers; add support for MIPSpro
- Ignore if the OS doesn’t define MAP_FILE for mmap(2)
- Use sys/types.h as sys/mkdev.h dependency
- Enable OSF/1 V2.0 /bin/sh to run Build.sh
- Add strcasecmp(3) proto for Ultrix 4.5 only (imake style)
- Add S_ISLNK if the OS doesn’t define it
- Use tempnam(3) if mkstemp(3) not found – not recommended
- Reduce dependency on certain OE facilities: printf(1), fgrep(1) being
able to scan for two patterns at the same time, perl5 being named perl
- New -T- option for dæmonisation, cf. man page
- Port to BSDi BSD/OS 3.1 (gcc 1.42 and gcc 2.7.2.1 supported)
- Simplify the dot.mkshrc file and make it more robust
- Report OE and $CC version in Build.sh, for logs
- Fix look’n’feel of the mksh(1) manual page, so that it still looks best
in AT&T nroff(1), looks much better in GNU groff (the PDF version we
place on the website), and looks some better and gains the ability to
copy’n’paste from it for GNU gnroff -Tutf8, originally prompted by
Patrick “aptituz” Schoenfeld and “lintian -viI mksh*.changes”, but then
improved (and nroff hacked) by tg@ a lot
- Shut up some gcc warnings (explicit braces; cast MAP_FAILED)
- Try to get rid of the test “if the compiler fails correctly” by using
the errorlevel of the $CC process (except with Microsoft Visual C++
which returns non-zero even on success sometimes), thus supporting
DEC C on OSF/1 (and, quite possibly, gcc3 on Mac OSX Leopard)
- If revoke(2) and flock(2) are found, check if they’re declared
- Promote Tru64 to a fully supported operating environment, even though
it needs a plethora of _*_SOURCE defines and has SIGMAX instead of NSIG;
OSF/1 V4.0 and Tru64 (OSF/1 V5.1) are supported with both gcc and
HP/Compaq/DEC C in various versions
- Generalise the workaround for incompatible sig_t across the platforms
that need it (currently, OSF/1 and PW32)
- Shut up annoying warning about gcc 2.7.2.3, 2.8.1, 2.95.x not knowing
the “-std=gnu99” and “-std=c99” options without setting proper errorlevel
* Remove debdiffs for things included in upstream:
- manpage diff
- displaying of OS and compiler versions before build
* Update arc4random.c file from MirBSD contrib repository for now, until we
have libbsd in Debian !kfreebsd sid (coming soon I hope)
- fixes “warning: ignoring return value of ‘read’, declared with attribute
warn_unused_result” occuring on e.g. Fedora GNU/Linux
* Integrate translation updates; Closes: #471009
mksh (33.1-2) unstable; urgency=low
* Help backporters by specifying explicitly versioned debconf/cdebconf
dependencies, thanks Patrick “aptituz” Schoenfeld for mentioning
* Integrate manpage diffs from mksh-current to fix “lintian -viI”, also
from aptituz, and a couple of other issues (' vs ’ vs ´, ' vs ‘ vs `,
- vs ‐ vs − vs – vs —, ^ and ~ in the Postscript version)
* Add a debian/watch file, idea from aptituz too, hints from uscan(1)
mksh (33.1-1) unstable; urgency=low
* New upstream release; summary of changes:
- Sync with OpenBSD ksh (no real functional changes)
- Enhance the print builtin with two new escape sequences: \xAB
parses the next up to two hexadecimal digits AB and outputs a
raw octet (byte) whose ordinary value is AB; \uABCD parses up
to four hexadecimal digits and outputs the UTF-8 (CESU-8) re-
presentation of the unicode codepoint U+ABCD from the BMP
(Basic Multilingual Plane), not depending on the locale
- The . (“dot”) command (and its counterpart source) needs an
argument (the script to source); from Debian pdksh package
- In the lexer, do not expand aliases if there is an opening
parenthesis just after the token (from Debian pdksh). This
fixes the namespace issue that caused a POSIX function de-
finition stop() { … } to fail due to “stop” being a built-
in Korn shell alias. Now, aliases are removed when a POSIX
function with the same name is defined; Korn functions are
still different: their definition does not fail, but the
alias retains its precendence (unchanged behaviour)
- Accordingly, do not disable built-in aliases in POSIX mode any more
- Since POSIX mode now only turns off braceexpand mode (which
can then be turned back on), do not handle being called as -sh
or sh specially any longer
- Clean up the source code: make some constants private to the
only file using it; optimise; comment some code; improve
portability with regards to stupid tools in /usr/bin (or
/usr/xpg4/bin) and foreign compilers
- Implement “here strings” (like ksh93 or zsh; GNU bash col-
lapses white space if the string is not double-quoted): you
can now replace “print -r -- "$foo" | command” with
“command <<<"$foo"” with the very same semantics as
“command <<EOF
$foo
EOF” (stripping initial tabs is not possible)
- Implement string replacement ${var/pattern/string} (where
pattern is an extended glob pattern), like GNU bash; like
with the substring accessor (${var: x: y}) mksh implements
almost all corner cases (and double slash), but do not
handle trimming arrays yet
- Side note: You can now, as a consequence of the two items
above, write, for instance, x=${x//foo*bar/baz} instead of
the more complicated x=$(sed -e 's/foo.*bar/baz/g' <<<"$x")
or the mksh R32 and before idiom x=$(print -r -- "$x" | sed
-e 's/foo.*bar/baz/g') – be sure to check $KSH_VERSION first
though
- Use the new $Mdocdate$ RCS keyword in the manual page mksh(1)
as well; since this is not portable in tmac.doc especially to
GNU groff, prepend a seven-liner implementing it to the .Dd macro
- Fix a mistake in using the .Nm macro in the manual page
- Make Build.sh and the generated test.sh more chatty about what
they’re doing and what versions (aids debugging build logs)
- Update the dot.mkshrc sample and make it more portable; it requi-
res mksh R33 or above now though due to use of special functions
- Enhance the website, especially the section about official
testing: now, the tests are split into tests done by us via
Makefile (MirOS only), Build.sh (portably), porting frameworks,
with arc4random.c added, tests by others via Build.sh, via
packaging frameworks, failed tests; more links
- Note: the “vi” editing mode is code of historical value and, at
the moment, unmaintained. It does not benefit from the fixes to
the “emacs” editing mode (horizontal scrolling) or new features
(bind keys that end their sequence with a tilde; UTF-8 support).
Neither is it supported in either editing mode to bind keys that
generate a sequence consisting of more than just a prefix (ESC,
^X, or ESC [), another octet and (“emacs” only) an optional tilde
(but this might come in the future). This is explicitly mentioned
here due to a user inquiry.
‣ This means that pdksh bugs #190566, #246530, #297234 specifically
do not apply to mksh and users might want to switch
* Have the OS and compiler version appear in the build logs (debugging)
* Bump Standards-Version and double-check that the menu category is OK
* Integrate translation updates; Closes: #467182
-- Ubuntu Archive Auto-Sync <email address hidden> Fri, 02 May 2008 02:19:13 +0100