[Bug 1560008] Re: Please merge mksh 52c-1 (main) from Debian testing (main)

Ubuntu Foundations Team Bug Bot 1560008 at bugs.launchpad.net
Mon Mar 21 12:30:29 UTC 2016


The attachment "debdiff against last Ubuntu version" seems to be a
debdiff.  The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff.  If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1560008

Title:
  Please merge mksh 52c-1 (main) from Debian testing (main)

Status in mksh package in Ubuntu:
  New

Bug description:
  Binary package hint: mksh, pdksh

  Please merge the latest version of src:mksh from Debian (it already
  migrated to testing). This also finally removes the “pdksh”
  transitional package, the transition having been done for *buntu in
  trusty.

  I’ve attached debdiffs against last Ubuntu upload (hard to read,
  considering it’s a new upstream version), latest Debian (trivial to
  read), and the complete source package.

  New changelog entries:

  mksh (52c-1ubuntu1) xenial; urgency=high

    * Merge from Debian (LP: #1560008), remaining changes:
      - Omit dietlibc builds on Ubuntu, where it is not in main
      - Maintainer change for Ubuntu

   -- Thorsten Glaser <tg at mirbsd.de>  Mon, 21 Mar 2016 12:56:45 +0100

  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)

   -- Thorsten Glaser <tg at mirbsd.de>  Sun, 06 Mar 2016 22:03:50 +0100

  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

   -- Thorsten Glaser <tg at mirbsd.de>  Wed, 20 Jan 2016 23:03:23 +0000

  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

   -- Thorsten Glaser <tg at mirbsd.de>  Sat, 12 Dec 2015 23:42:09 +0000

  mksh (50f-2) unstable; urgency=medium

    * QA upload.
    * Build-depends on libklibc-dev [linux-any] instead of explicitly
      listing all linux architectures.

   -- Aurelien Jarno <aurel32 at debian.org>  Thu, 03 Dec 2015 22:58:50
  +0100

  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

   -- Thorsten Glaser <tg at mirbsd.de>  Wed, 08 Jul 2015 21:27:51 +0200

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mksh/+bug/1560008/+subscriptions



More information about the Ubuntu-sponsors mailing list