-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 25 Mar 2016 22:18:49 +0100 Source: mksh Binary: mksh Architecture: source amd64 Version: 52c-1~bpo8+1 Distribution: jessie-backports Urgency: high Maintainer: Thorsten Glaser <tg@mirbsd.de> Changed-By: Thorsten Glaser <tg@mirbsd.de> Description: mksh - MirBSD Korn Shell Closes: 764401 783978 803726 807185 Changes: mksh (52c-1~bpo8+1) jessie-backports; urgency=medium . * Rebuild for jessie-backports. - revert klibc dependency to what we used in jessie - drop Built-Using for backports - revert handling of the ksh alternative to what jessie used . mksh (52c-1) unstable; urgency=low . * New upstream bugfix-only release: - [tg] Shave 200 bytes off .text by revisiting string pooling - [tg, J�rg] Fix manpage for ditroff on Schillix - [tg, wbx] Use sed 1q instead of unportable head(1) - [tg] Implement underrun debugging tool for area-based memory allocator - [tg] Fix history underrun when first interactive command is entered - [tg, bef0rd] Do not misinterpret “${0/}” as “${0//”, fixes segfault - [tg, Stéphane Chazelas] Fix display problems with special parameters - [tg, Stéphane Chazelas] Catch attempt to trim $* and $@ with ?, fixes segfault (millert@ did this in 2004 for ${x[*]} already, so just sync) - [Martijn Dekker] Fix “command -p” with -Vv to behave as POSIX requires - [tg, jilles, Oleg Bulatov] Fix recusive parser with active heredocs - [tg] Flush even syntax-failing or interrupted commands to history - [tg, fmunozs] Fix invalid memory access for “'\0'” in arithmetics - [tg] Explicitly reserve SIGEXIT and SIGERR for ksh - [tg, izabera] Catch missing here documents at EOF even under “set -n” - [kre, tg] Document Austin#1015 handling (not considered a violation) - [tg, fmunozs] Fix buffer overread for empty nameref targets - [tg] Fix warnings pointed out by latest Debian gcc-snapshot - [tg, Martijn Dekker] Document upcoming set +o changes - [Martijn Dekker] Expand testsuite for command/whence * Remove now-irrelevant comment from debian/control * Update manpage from CVS incorporating lintian spelling fixes * Bump S-V (no changes needed); use SSL URIs for VCS (lintian) . mksh (52b-1) unstable; urgency=high . * New upstream bugfix-only release: - [tg] Recognise ksh93 compiled scripts and LZIP compressed files as binary (i.e. to not run as mksh plaintext script) - [tg] Document that we will implement locale tracking later - [tg] Add EEXIST to failback strerror(3) - [jilles] Make set -C; :>foo race-free - [tg] Don’t use unset in portable build script - [tg] Plug warning on GNU/kFreeBSD, GNU/Hurd - [tg] Document read -a resets the integer base - [J�rg] Fix manpage: time is not a builtin but a reserved word - [J�rg, tg] Make exit (and return) eat -1 - [tg] parse “$( (( … ) … ) … )” correctly (LP#1532621), Jan Palus - [tg] reduce memory footprint by free(3)ing more aggressively - [tg] fix buffer overrun (LP#1533394), bugreport by izabera - [tg] correctly handle nested ADELIM parsing (LP#1453827), Teckids - [tg] permit “read -A/-a arr[idx]” as long as only one element is read; fix corruption of array indicēs with this construct (LP#1533396), discovered by izabera - [tg] Sanitise OS-provided signal number in even more places - [tg] As requested by J�rg, be clear manpage advice is for mksh - [tg] Revert (as it was a regression) POSIX bugfix from R52/2005 related to accent gravis-style command substitution until POSIX decides either way (Austin#1015) and upload with high urgency - [tg] Handle export et al. after command (Austin#351) - [tg] Catch EPIPE in built-in cat and return as SIGPIPE (LP#1532621) - [tg] Fix errno in print/echo builtin; optimise that and unbksl - [tg] Update documentation, point out POSIX violation (Austin#1015) * Only create /usr/bin/ksh compat symlink if needed (Closes: #807185) * Add missed changelog entries for upstream to 52-1 entry * Update debian/copyright and README.Debian . mksh (52-1) unstable; urgency=medium . * Remove parallel=* from DEB_BUILD_OPTIONS for the reproducible people * Add myself as Maintainer (Closes: #764401) * Make ed a Recommends (Closes: #803726) * Update text in README.Debian * Make .mkshrc alias-safe * New bugfix upstream release - [_0bitcount] Move moving external link from mksh(1) to the #ksh channel homepage linked therein - [tg] Make setenv “set -u”-safe and fix when invoked with no args - [tg] Make “typeset -f” output reentrant if name is a reserved word - [oksh] Zero-pad seconds in “time” output to align columns - [tg] Check signals and errorlevels from OS to be within bounds - [komh, tg] Quote and document ‘;’ as PATH separator in some places - [oksh, tg] Simplify code to call afree() even if arg is NULL - [tg] Fix tree-printing and reentrancy of multiple here documents - [tg] Work around LP#1030581 by permitting exactly one space after - [tg, oksh] Code quality work, cleanups - [tg] New code for here documents/strings with several bugfixes - [tg] Stop using issetugid(2) for ±p checks, wrong tool for the job - [tg] Reintroduce some -o posix changes lost in 2005, plus fixes - [tg] Make “source” into a built-in command - [tg] Drop “stop” alias, lksh(1) functionality to auto-unalias - [tg] Fix \u0000 ignored in $'…' and print - [tg] Improve portability of Build.sh - [Jilles Tjoelker] Improve portability of testsuite - [tg] Fix tilde expansion for some substitutions (izabera, Chet, Geoff) - [tg] Improve reparsing of ((…) |…) as ( (…) |…) - [Martijn Dekker] Fix test(1) not returning evaluation errors - [tg] Fix ${*:+x} constructs (carstenh) - [tg] Make (( … )) into a compound command (ormaaj) - [tg] Repair a few parameter substitution expansion mistakes - [tg] OpenBSD sync: handle integer base out of band like ksh93 does - [tg] Protect standard code (predefined aliases, internal code, aliases and functions in dot.mkshrc) from being overridden by aliases and, in some cases, shell functions (i.e. permit overriding but ignore it) - [tg] Implement GNU bash’s enable for dot.mkshrc using magic aliases to redirect the builtins to external utilities; this differs from GNU bash in that enable takes precedence over functions - [tg] Move unaliasing an identifier when defining a POSIX-style function with the same name into lksh, as compatibility kludge - [tg] Korn shell style functions now have locally scoped shell options - [tg, iSKUNK] Change some ASCII-isms to be EBCDIC-aware or pluggable - [tg, Ypnose] Mention lksh build instructions on manpage and website - [tg] Overhaul signal handling; support new POSIX NSIG_MAX, add sysconf(_SC_NSIG) as a later TODO item - [tg] Fix signal bounds (1 ≤ signum < NSIG) - [tg] Improve manual pages, especially wrt. standards compliance - [tg, iSKUNK] Initial EBCDIC work for dot.mkshrc - [tg, iSKUNK] Add list of z/OS signals to Build.sh - [tg] Work around the sh(1) backslash-newline problem by moving the code triggering it out of *.opt and into the consumers - [colona] Bind another well-known ANSI Del key in the Emacs mode - [tg] Fix ${foo/*/x} pattern checks, spotted by izabera - [carstenh] Fix error output of cd function in dot.mkshrc - [tg] read partial returns in -N and timeout cases - [tg] Fix $LINENO inside PS1; spotted by carstenh - [tg] Ensure correct padding of at least 2 spaces in print_columns - [tg] Note issues with nested complex parameter expansions and follow-up bugfixes to expect - [OpenBSD] Some language fixes in documentation; comments - [tg] Reimplement multi-line command history (Closes: #783978) + fixes - [Martijn Dekker] Fix command -v for “shell reserved words” - [tg] In dot.mkshrc make use of latest feature: local options - [tg] Fix ""$@ to emit a word - [tg] Change cat(1) hack to look first and not ignore builtin - [KO Myung-Hun] Begin porting mksh to OS/2 - [komh, tg] Some generic minor bugfixes from OS/2 porting - [tg] Document mknod(8) isn’t normally part of mksh(1) - [tg] Quote arguments to : in build/test scripts as well - [tg] Add cat(1) hack for printf(1)-as-builtin: always prefer external - [tg] Explicitly use binary mode for any and all file I/O in stock mksh - [Ilya Zakharevich] Use termio, not termios(4), on OS/2 - [tg] Set edchars to sane BSD defaults if any are NUL - [tg] Implement support for PC scancodes in Vi and Emacs editing mode - [komh] OS/2 uses ‘;’ as PATH separator plus support drive letters - [tg] Correct some mistakes in the manual page - [tg] Fix a bug in the testsuite driver, spotted on EBCDIC systems * Update “uhr” example * Bump debhelper as lintian demands * Update copyright file against code * Allow build without script(1), despite being Essential, due to #807071 . mksh (50f-2) unstable; urgency=medium . * QA upload. * Build-depends on libklibc-dev [linux-any] instead of explicitly listing all linux architectures. . mksh (50f-1) unstable; urgency=low . * QA upload. * The “adieu not au revoir” upload * Update to the next release of the R50-stable branch: - [tg] Add a patch marker for vendor patch versioning to mksh.1 - [tg] Document some more issues with the current history code - [tg] Remove some unused code - [tg] RCSID-only sync with OpenBSD, for bogus and irrelevant changes - [tg] Also disable field splitting for alias 'local=\typeset' - [tg] Fix read -n-1 to not be identical to read -N-1 - [tg] Several fixes and improvements to lksh(1) and mksh(1) manpages - [tg] More code (int → size_t), comment and testsuite fixes - [tg] Make dot.mkshrc more robust (LP#1441853) - [tg] Fix issues with IFS='\' read, found by edualbus - [enh, tg] Fix integer overflows related to file descriptor parsing, found by Pawel Wylecial (LP#1440685); reduce memory usage for I/O redirs - [tg] Document in the manpage how to set ±U according to the current locale settings via LANG/LC_* parameters (cf. Debian #782225) - [igli, tg] Some code cleanup and restructuring - [tg, oksh] Handle number parsing and storing more carefully * Merge changelogs for forgotten actual uploads: - mksh (28.0-3) oldstable (etch) - mksh (40.2-2exp1) experimental * Merge changelogs for potential uploads: - mksh (40.9.20120630-8) wheezy - mksh (50d-6) jessie * Improve /etc/skel/.mkshrc structure and make it “set -u”-safer * Remove the pdksh transitional package; document as NEWS entry * Tell users that only lksh (and mksh-static, for rescue systems, initramfs, etc.) should be used as sh; document as NEWS entry * Cosmetic improvements to README, control, build scripts, etc. * Use -DMKSH_SMALL_BUT_FAST when using -DMKSH_SMALL, as this benefits almost, if not all, Debian architectures * Upload to unstable . mksh (50e-2) experimental; urgency=medium . * QA upload. * Backport upstream fix: - [tg] SECURITY: make unset HISTFILE actually work * Adjust shell version accordingly . mksh (50e-1) experimental; urgency=high . * QA upload. * Remove timestamps from README.Debian; should make builds reproducible * Filter out some more junk from README.Debian * Update to the next release of the R50-stable branch: - [tg] Fix LP#1381965 and LP#1381993 (more field splitting) - [jilles] Update location of FreeBSD testsuite for test(1) - [Martin Natano] Remove dead NULL elements from Emacs keybindings - [tg, Stéphane Chazelas, Geoff Clare] Change several testcases for $*/$@ expansion with/without quotes to expected-fail, with even more to come ☹ - [tg] Fix miscalculating required memory for encoding the double-quoted parts of a here document or here string delimiter, leading to a buffer overflow; discovered by zacts from IRC - [RT] Rename a function conflicting with a MacRelix system header - [tg] Use size_t (and ssize_t) consistently, stop using ptrdiff_t; fixes some arithmetics and S/390 bugs - [tg] Remove old workarounds for Clang 3.2 scan-build - [tg] Remove all Clang/Coverity assertions, making room for new checks - [tg] Fix NSIG generation on Debian sid gcc-snapshot - [tg] Make a testcase not fail in a corner case - [tg] Fix issues detected by GCC’s new sanitisers: data type of a value to be shifted constantly must be unsigned (what not, in C…); shebang check array accesses are always unsigned char - [tg] Be even more explicit wrt. POSIX in the manpage - [tg] Fix shebang / file magic decoding - [tg] More int → bool conversion - [tg] Let Build.sh be run by GNU bash 1.12.1 (Slackware 1.01) - [Stéphane Chazelas, tg] Fix here string parsing issue - [tg] Point out more future changes in the manpage - [tg] Call setgid(2), setegid(2), setuid(2) before seteuid(2) - [tg] Fix spurious empty line after ENOENT “whence -v”, found by Ypnose - [tg] Optimise dot.mkshrc and modernise it a bit - [tg] Use MAXPATHLEN from <sys/param.h> for PATH_MAX fallback - [tg] Some code cleanup and warnings fixes - [tg] Add options -a argv0 and -c to exec - [jsg] Prevent use-after-free when hitting multiple errors unwinding - [tg] Fix use of $* and $@ in scalar context: within [[ … ]] and after case (spotted by Stéphane Chazelas) and in here documents (spotted by tg@); fix here document expansion - [tg] Unbreak when $@ shares double quotes with others - [tg] Fix set -x in PS4 expansion infinite loop * Update README, Description, copyright and build scripts * Upload to experimental due to the jessie pre-release freeze . mksh (50d-6) jessie; urgency=medium . * QA upload. * Backport upstream fix: - [enh, tg] Fix integer overflows related to file descriptor parsing, found by Pawel Wylecial (LP#1440685) * Adjust shell version accordingly Checksums-Sha1: 7d200053b937eafab22ca9a3b6eee27615ff5fd3 2251 mksh_52c-1~bpo8+1.dsc 04175c9564c6585644ff560d05751229ae3c3c4d 77856 mksh_52c-1~bpo8+1.debian.tar.xz 77515bd4eab08663deb4de96bf02b63bfff8a217 450080 mksh_52c-1~bpo8+1_amd64.deb Checksums-Sha256: 9aa6fc5873b8fc71d46c14f4d241ad2887f62437f29e1821ed5437122e6bd1fe 2251 mksh_52c-1~bpo8+1.dsc 434fa526a2b3c9a0624c6fdeae9b208cba5fb949cd2a615c73e80e26d6b0810e 77856 mksh_52c-1~bpo8+1.debian.tar.xz 307577eb778b1d4c9d15545df3d572a5db75d955fbdfda6fafc83ca34347e9b8 450080 mksh_52c-1~bpo8+1_amd64.deb Files: 2d745810f900af9ad76a7c0d8e87c1e0 2251 shells optional mksh_52c-1~bpo8+1.dsc 9cc7ea3c509018a09f495008b9487022 77856 shells optional mksh_52c-1~bpo8+1.debian.tar.xz 10acd6c10634bb0eb6f80f622b4d019c 450080 shells optional mksh_52c-1~bpo8+1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJW9sIhAAoJEIDTAvWIbYOcaeQP/juvihgFnyjixKEtPhVoZ9GV SvOg/fsemRGfzUB88YzJu9iegmBMS027Arh1ZW2x2km1bZ+HYZdvpWngMvX4og1U w7+s6wQwx69xnr1Wci0zXRhajQ6R+YN8Gisy7/6yx373/sAoY9f+RyIqPLExT354 3HtVN3OY9tH4qx/Ach1I1SUeiYM/xBLl6gNCG/geL4s8K70MPyZgx+hnQ4Ik4pcX oZCPe3qPbZEpk5RMt9nprt/K+al7hdDuNQx0wIrXZhXeWD96Y4sQHTwoCCc5bWQI +ZXeBp0fGCc3/Zc2oaSaKMHRB5z+tbol2MuJBkvEtvfBFVVFDkpNTfjKpVfE/6RR O9fvb/Zl942blRrNLugp9TResM58sKdcfmo4b0QeGkwCn3sgm4qwlgysTbIQt8Id LAp21G2hrMPp3aJJi7ZxZ4Bkf8dQ5cyCzbSZKhGJCsNg59Lz+AJejjW4UFhIp/YV 7zIS5E1B02iF70b1x3AuZZosBOfa2D8rfNBBBY+kXQKQi97LpStAydvJZW8Vh6z8 FlGAFAWs6fRvcJRx5HMgTT0puDD/linGHhJLgNkSEUOUqrTCe0vKemVCio/xumQH 2iCp8dFL/RR8FP2ifejV3cL61XtrRTVBLprJ3/pAbqrNP/EchNQKbbZ36NWLKtUH o2DMKHP/9SDlMsixfD6t =PxNT -----END PGP SIGNATURE-----