mksh 59c-14 source package in Ubuntu
Changelog
mksh (59c-14) unstable; urgency=low * Use klibc’s optimisation flags as intended despite -g * Rely on fixed SSP detection (see below) * Fix some build issues: - musl and glibc mksh-static weren’t MKSH_SMALL(_BUT_FAST) - better escaping - fix ordering when appending/prepending to CFLAGS - refactor CFLAGS/LDFLAGS mangling for static builds of lksh - improve comments in d/meat * Updates from CVS HEAD: - [tg] Improve autodetection of whether SSP/ProPolice is supported - [tg] Work around broken _POSIX_VDISABLE definition in glibc/kFreeBSD - [tg] "C" is the implementation-defined default locale, unless the new MKSH_DEFAULT_UTFLOC macro is defined, for setlocale-less operation - [tg] Add debug-buffer editing command #ifdef DF (for developing mksh) - [tg] Correct off-by-one, unroll loop in escaping code * Check glibc’s default locale matches the one in mksh-static/lksh-static * Test argv[0] can be changed (cf. #970460) -- Thorsten Glaser <email address hidden> Sat, 16 Oct 2021 04:53:47 +0200
Upload details
- Uploaded by:
- Thorsten Glaser
- Uploaded to:
- Sid
- Original maintainer:
- Thorsten Glaser
- Architectures:
- any
- Section:
- shells
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
mksh_59c-14.dsc | 2.2 KiB | c5d43e8ee05ce80a9078a7da840f90db7a66e4ee9e4e1d2bb544b6be48f4d7a3 |
mksh_59c.orig.tar.gz | 432.4 KiB | 77ae1665a337f1c48c61d6b961db3e52119b38e58884d1c89684af31f87bc506 |
mksh_59c-14.debian.tar.xz | 193.3 KiB | 462480b15ca8a51eb108c7ec817ce362d9425408ffe178f25c87f6072c40b9e5 |
Available diffs
- diff from 59c-9 to 59c-14 (117.9 KiB)
No changes file available.
Binary packages built by this source
- mksh: MirBSD Korn Shell
mksh is the successor of the Public Domain Korn shell (pdksh),
a Bourne/POSIX compatible shell which is largely similar to the
original AT&T Korn Shell (ksh88/ksh93).
It includes bug fixes and feature improvements, in order to produce a
modern, robust shell good for interactive and especially script use.
mksh has UTF-8 support (in string operations and the Emacs editing
mode). The code has been 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) are available.
This shell is Debian Policy 10.4 compliant and works as /bin/sh on
Debian systems (use the /bin/lksh executable) and is a good rescue
and initrd shell (consider the /bin/mksh-static executable).
.
The mksh binary is a complete, full-featured shell. It provides a
“consistent across all platforms” guarantee, using 32-bit integers
for arithmetics, possibly deviating from POSIX.
.
The mksh-static binary is a version of mksh, linked against klibc,
musl, or dietlibc (if they exist for that Debian architecture and
are usable) and optimised for small code size, for example for use
on initrd or initramfs images, installation or rescue systems.
Except for omitting some features to be smaller, it is similar to
the mksh binary otherwise. Note the exact feature set may differ
depending on which C library was used to compile it.
.
The lksh binary is a script shell based on mksh intended to run old
ksh88 and pdksh scripts, but not for interactive use. When used as
/bin/sh it follows POSIX most closely, including use of the host’s
“long” C data type for arithmetics. It also contains kludges so it
can run as /bin/sh on Debian beyond what Policy dictates, to work
around bugs in maintainer scripts and LSB init scripts shipped by
many packages, such as including a rudimentary printf(1) builtin,
permitting a shell function to be named stop overriding the default
alias, more loose interpretation of shell extglobs, etc.
.
A sample ~/.mkshrc is included in /usr/share/doc/mksh/ examples and
provided as /etc/mkshrc conffile, which is sourced by another file
/etc/skel/.mkshrc users are recommended to copy into their home.
- mksh-dbgsym: debug symbols for mksh