pdksh (5.2.14-26+dyson1) unstable; urgency=low

  * Built for Dyson

 -- Igor Pashev <pashev.igor@gmail.com>  Thu, 31 May 2012 18:23:52 +0000

pdksh (5.2.14-26) unstable; urgency=low

  * Orphaning package (see bug#646382), maintainer set to Debian QA Group.
  * Add a NEWS entry to recommend switching to other available implementations
    of the Korn shell.
  * Add `Suggests: mksh | ksh' line in debian/control.
  * Standards-Version: 3.9.2 (no changes).
  * Switch to source format to `3.0 (quilt)', drop build dependency on quilt
    together with README.source file.
  * Fix lintian warnings.
  * Build with debhelper v8.

 -- Robert Luberda <robert@debian.org>  Sun, 23 Oct 2011 20:02:17 +0200

pdksh (5.2.14-25) unstable; urgency=low

  * Applied changes from mksh:
    + 109_mksh-delete_key.patch: make delete key work (closes: #190566);
    + 111_mksh-set-e.patch: fix set -e handling (closes: #387755, cf. #546332);
      remove 002_upstream-set-e.patch, it's no longer needed.

  * Patches from OpenBSD:
    + 112_OpenBSD-test.patch:  make test(1) operator precedence consistent
      with POSIX;
    + 113_OpenBSD-memory.patch: fix a few memory leaks;
    + 114_OpenBSD-let-crash.patch: fix `let --' crash;
    + 115_OpenBSD-echo-posix.patch: allow only `-n' option to `echo' in POSIX
      mode;
    + 116_OpenBSD-history.patch: infinite loop in history.

  * Debian patches:
    + 110_Debian-exit-negative-number.patch: fix `exit -1' handling
      (cf. #502934).
    + 117-Debian-test.patch: fix 4-argument test (closes: #465250).

  * Refresh other patches when needed.
  * Add a few regression tests, call make test during build.

 -- Robert Luberda <robert@debian.org>  Sun, 20 Sep 2009 21:32:53 +0200

pdksh (5.2.14-24) unstable; urgency=low

  * Fix debian/watch file (closes: #460010).
  * 045_Debian-job-control.patch: modified to fix problem with 'stop ()'
    Thanks to Thorsten Glaser <tg@mirbsd.de> for the patch.
  * Standards-Version: 3.8.3.
  * Use debhelper v7.
  * Remove outdated preinst and some part from postinst (closes: #537778).
  * Add the debian/README.source file.

 -- Robert Luberda <robert@debian.org>  Sun, 30 Aug 2009 13:01:34 +0200

pdksh (5.2.14-23) unstable; urgency=low

  * 108_Debian-sysconf_retval_check.patch: Fix problem with `sudo pdksh -c
    "sleep 10 &"'.
  * Fix debian/watch file.

 -- Robert Luberda <robert@debian.org>  Mon, 26 May 2008 22:07:00 +0200

pdksh (5.2.14-22) unstable; urgency=low

  * Fix invalid CFLAGS line that caused FTBFS with current dpkg-buildpackage
    (closes: #476002).
  * Reorganise patches applied to the upstream version:
    + switch from dpatch to quilt;
    + split changes applied up to 5.2.14-20 into several patches as
      {001,002,010,011,020,030,040,041,042,043,044,045,050}_*.patch;
    + rename previous dpatch patches to {101,102,103,104,105}_*.patch.
  * New patches:
    + 106_Debian-man-hyphens.patch: fix hyphens in man page (lintian);
    + 107_Debian-gcc-warnings2.patch: fix a few gcc warnings.
  * Standards-Version: 3.7.3 (no changes).
  * Update debhelper build-dependency for v6.
  * Add source lintian overrides for `configure-generated-file-in-source'.

 -- Robert Luberda <robert@debian.org>  Tue, 15 Apr 2008 21:30:41 +0200

pdksh (5.2.14-21) unstable; urgency=low

  * Use dpatch for maintaining new patches.
  * 104_PLD-pdksh-EDITMODE.dpatch: Add support for EDITMODE variable.
  * 109_PLD-pdksh-ulimit-vmem.dpatch: Add support for `ulimit -v'.
  * 110_PLD-pdksh-unset.dpatch: Don't fail on unsetting undefined variables.
  * 111_BUG415167-lack-of-dot-arguments.dpatch: Don't ignore missing argument
    of the `.' command (closes: #415167).
  * 112_OpenBSD-heredoc-quote.dpatch: Fix " in here documents (closes: #219343).

  * Set debhelper compatibility mode to 6.
  * Standards-Version: 3.7.2 (no changes).
  * debian/menu: Change section name to "Applications" (lintian).
  * Add Homepage field to debian/control.

 -- Robert Luberda <robert@debian.org>  Sat, 20 Oct 2007 00:25:06 +0200

pdksh (5.2.14-20) unstable; urgency=low

  * Depends on debianutils (>= 2.15) instead of passwd (closes: #334082).
  * Standards-Version: 3.6.2 (no changes)

 -- Robert Luberda <robert@debian.org>  Wed, 19 Oct 2005 20:34:06 +0200

pdksh (5.2.14-19) unstable; urgency=low

  * postinst,postrm: use add-shell and remove-shell commands to maintain /bin/pdksh
    in /etc/shells.
  * Declare dependency on passwd (>= 1:4.0.3-10) as described in README.shells
    from the passwd package.
  * c_ulimit.c: enclose all uses of RLIMIT_LOCKS with appropriate #ifdefs
    (closes: #307323).

 -- Robert Luberda <robert@debian.org>  Sat,  7 May 2005 10:53:52 +0200

pdksh (5.2.14-18) unstable; urgency=low

  * Rename /bin/ksh to /bin/pdksh and use the Debian alternatives mechanism
    for manage /bin/ksh (closes: #294592).
  * debian/{preinst,postinst}: update /bin/sh link if it pointed to /bin/ksh.
  * Update debian/menu.
  * Added NEWS.Debian.

 -- Robert Luberda <robert@debian.org>  Sun, 10 Apr 2005 17:11:04 +0200

pdksh (5.2.14-17) unstable; urgency=low

  * Fix job control bug in non-interactive scripts (closes: #296446)
    Many thanks to Paul Stroud <pstroud@gmail.com> for the patch.
  * lex.c: Don't expand aliases if there's an opening bracket just after
    the token. Fixes unreported problem with pdksh reporting syntax error
    on the init scripts that define function named `stop' (clashing
    with an built-in alias.)

 -- Robert Luberda <robert@debian.org>  Sun, 27 Feb 2005 18:36:55 +0100

pdksh (5.2.14-16) unstable; urgency=medium

  * emacs.c: Fix segmentation fault bug when ksh used bash history file
    (closes: #284358).

 -- Robert Luberda <robert@debian.org>  Wed, 29 Dec 2004 00:43:04 +0100

pdksh (5.2.14-15) unstable; urgency=low

  * Fix typo in the ksh man page (closes: #281845).
    Thanks to A Costa <agcosta@gis.net> for the patch.

 -- Robert Luberda <robert@debian.org>  Fri, 19 Nov 2004 21:43:25 +0100

pdksh (5.2.14-14) unstable; urgency=low

  * siglist.sh: pass `-' to trap call, fixes FTBFS on sparc.

 -- Robert Luberda <robert@debian.org>  Sun, 24 Oct 2004 12:41:25 +0200

pdksh (5.2.14-13) unstable; urgency=low

  * c_sh.c: Apply patch from the posh package to make `eval false || true'
    not exit with -e (closes: #269067).
  * Add debian/watch file.

 -- Robert Luberda <robert@debian.org>  Sun, 17 Oct 2004 14:48:20 +0200

pdksh (5.2.14-12) unstable; urgency=low

  * Wrote function eaccess (used to be a macro defined as `access'),
    which swaps real uid and gid with the effective ones, calls access,
    and reverts the uid/gid. This fixes the test builtin command not
    working properly when shell is privileged (closes: #245213).

 -- Robert Luberda <robert@debian.org>  Fri, 30 Apr 2004 00:22:42 +0200

pdksh (5.2.14-11) unstable; urgency=low

  * Compile with _FILE_OFFSET_BITS=64 to support files larger than 2GB
    (closes: #237038).

 -- Robert Luberda <robert@debian.org>  Thu, 25 Mar 2004 01:11:05 +0100

pdksh (5.2.14-10) unstable; urgency=low

  * More patches from OpenBSD:
    + vi.c: Buffers are not strings so use memcpy(), not strlcpy() to copy
      them. Also add some further bounds checks in the name of paranoia.
    + exec.c: Unbreak parameter assignment when calling bourne style
      functions.
    + exec.c: For the >& and <& operators, add a check for "dup from" ==
      "dup to" and just return success if they are the same.  Fixes the
      "ls 2>&2" problem.
    + eval.c, exec.c, io.c, jobs.c: If "from fd" == "to fd" don't call
      dup2() or close "from fd".

 -- Robert Luberda <robert@debian.org>  Mon, 19 Jan 2004 21:35:40 +0100

pdksh (5.2.14-9) unstable; urgency=low

  * More patches from OpenBSD:
    + c_test.c: The special case code for "test -x" over NFS was
      incorrect.  The right thing to do is to try access(2) first
      (since that occurs on the NFS server side) and only check for the
      absence of an execute bit when access(2) succeeds.
    + edit.c: in word location, fix forward scanning so it correctly
      account for any escaped char and not only spaces.  for "foo
      (bar.a)" and "foo (bar a)", cd foo\ \(bar.<tab> will correctly
      expand to foo\ \(bar.a\).
    + alloc.c: Don't allow alloc() and aresize() to fail.  Their return
      value was only checked in two place (both in conjunction with
      str_save).  Upon malloc/realloc failure we call internal_errorf()
      which pops throws and error and pops back to the last good state.
  * Standards-Version: 3.6.1 (no changes).

 -- Robert Luberda <robert@debian.org>  Tue, 14 Oct 2003 21:10:23 +0200

pdksh (5.2.14-8) unstable; urgency=low

  * Don't do tilde expansion after `=' sign in non-assignments.
    Patch stolen from the posh package (closes: #187839).
  * Fix typo in man page (closes: #188335).
  * Handle DEB_BUILD_OPTIONS=noopt instead of debug.
  * Standards-Version: 3.5.9.
  * Refer to common-licenses/GPL in the copyright file (lintian).
  * Fix typo in package description.

 -- Robert Luberda <robert@debian.org>  Wed, 23 Apr 2003 22:20:52 +0200

pdksh (5.2.14-7) unstable; urgency=low

  * Merge many patches from OpenBSD:
    + Introduce FSH flag, which is set when the shell is called as `sh'.
    + alloc.c: Kill hand-made memory allocation code, that is definitely
      buggy. Replace with simple wrapper around malloc, at least this works,
      and it's easier to debug anyways.
    + tree.c: Fix three off-by-one errors.
    + c_sh.c: don't set close-on-exec flag on file descriptors in FSH mode
      (closes: #154540). Documented the change in ksh(1).
    + history.c: Compare the return from mmap with MAP_FAILED, do not cast it
      to int and compare with -1.
    + main.c: set edit mode to emacs by default, may be overridden by the
      environment or the user.  Also, we want tab completion in vi by default.
    + misc.c: use strtol() in getn().
    + emacs.c:
       - bind TAB (^I) to complete-list by default
       - complete-list first completes; if that does not work, it lists
       - fix a memleak in do_complete()
    + edit.c:
       - completion now works after '=' (dd), and ':' (ssh) and ` (backtick)
       - add '#' to the list of escaped characters during vi/emacs filename
         completion

  * exec.c: Found and fixed yet another problem with `set -e' scripts
    (see a changelog entry for 5.2.14-3), which caused `dpkg-buildpackage -B'
    to fail on systems where /bin/sh is ksh.

  * c_sh.c: Make `set' command return 0 always, not only in the POSIX mode.
    According to Jeff Sheinberg <jeffsh@localnet.com>, this new behaviour
    is more compatible with SUSv2 standard and other shells (esp. ksh93)
    (closes: #118476). Documented the change in ksh(1) man page.

  * Fixed -Wall warnings.
  * ksh.Man: fixed some typos in the manpage, patch based on NetBSD.
  * tests/th: corrected path to perl.
  * debian/copyright: include copyright for alloc.c.
  * debian/rules: Switch to debhelper v4.
  * Removed emacs settings from the bottom of this file.

 -- Robert Luberda <robert@debian.org>  Wed, 28 Aug 2002 23:40:00 +0200

pdksh (5.2.14-6) unstable; urgency=low

  * Corrected spelling in package description (closes: #125223).

 -- Robert Luberda <robert@debian.org>  Sat, 22 Dec 2001 21:53:51 +0100

pdksh (5.2.14-5) unstable; urgency=low

  * Apply three patches from PLD distribution (pdksh-5.2.14-23.src.rpm)
     + pdksh-awful-free-bug.patch, fixes segfault bug (closes: #95229)
     + pdksh-eval-segv.patch, fixes one more segfault bug
     + pdksh-rlimit_locks.patch, adds flocks support to ulimit.

  * Standards-Version: 3.5.6 (no changes).
  * Change pdksh package priority to "optional".
  * Minor fixes in ksh(1) manpage.

 -- Robert Luberda <robert@debian.org>  Wed,  3 Oct 2001 23:10:46 +0200

pdksh (5.2.14-4) unstable; urgency=low

  * Do not install /usr/bin/ksh -> /bin/ksh symlink on Hurd.
  * debian/rules: update to the newset debhelper.
  * Compiled with -Wall, fixed some gcc warnings.
  * Standards-Version: 3.5.5.

 -- Robert Luberda <robert@debian.org>  Thu, 14 Jun 2001 22:49:51 +0200

pdksh (5.2.14-3) unstable; urgency=low

  * Applied patch from upstream author which fixed problem with 'set -e'
    (closes: #71256).
  * Applied some patches from OpenBSD:
     - use mkstemp to create temporary files
     - kill -s now works
     - escapes special characters in tab completitions
  * Standards-Version: 3.5.0 (no changes).
  * Included BUG-REPORTS and PROJECTS files in binary package.

 -- Robert Luberda <robert@debian.org>  Mon, 12 Feb 2001 07:06:08 +0100

pdksh (5.2.14-2) unstable; urgency=low

  * New maintainer (closes: #82488).
  * Applied patch from upstream ftp site to fix problem with readonly
    variables (closes: #57727).
  * Repackaged with debhelper v3.
  * Updated standards version to 3.2.1 (FHS, Build-Depends).
  * Corrected & updated the copyright file (closes: #64195).
  * Moved ksh to /bin and made symlink from /usr/bin (closes: #70531, #74600).
  * Added examples directory with ksh.kshrc and profile.

 -- Robert Luberda <robert@debian.org>  Wed, 17 Jan 2001 22:38:04 +0100

pdksh (5.2.14-1) unstable; urgency=low

  * New upstream version (#44790)

 -- Mark Baker <mbaker@iee.org>  Fri, 24 Sep 1999 22:25:17 +0100

pdksh (5.2.13-5) unstable; urgency=low

  * trap.c: Applied patch from ashcroft@mround.bt.co.uk to fix SEGV when
    starting on sparc, alpha and powerpc (#30536,#33988,#35473,#40740)

 -- Mark Baker <mbaker@iee.org>  Sun,  4 Jul 1999 23:14:19 +0100

pdksh (5.2.13-4) unstable; urgency=low

  * Use simple history instead of complex history. One person requested this
  change, and no-one spoke out against it, so I'm doing it. Basically, complex
  history is newer and will be better, but is not fully implemented yet.
  (#23929)

 -- Mark Baker <mbaker@iee.org>  Thu,  3 Dec 1998 21:45:03 +0000

pdksh (5.2.13-3) unstable; urgency=low

  * Rewritten copyright file

 -- Mark Baker <mbaker@iee.org>  Sat, 07 Mar 1997 22:25:37 +0000

pdksh (5.2.13-2) unstable; urgency=low

  * Updated standards-version to 2.4.0.0 (no changes)

 -- Mark Baker <mbaker@iee.org>  Sun, 16 Nov 1997 17:37:57 +0000

pdksh (5.2.13-1) unstable; urgency=low

  * New upstream version (fixes #5510)

 -- Mark Baker <mbaker@iee.org>  Sun, 16 Nov 1997 17:37:57 +0000

pdksh (5.2.12-4) unstable; urgency=low

  * Er, this time it should really be a new maintainer. I forgot to change
  the control file last time :)

 -- Mark Baker <mbaker@iee.org>  Sun, 13 Jul 1997 20:21:41 +0100

pdksh (5.2.12-3) unstable; urgency=low

  * New maintainer
  * Compiled for libc6

 -- Mark Baker <mbaker@iee.org>  Wed, 18 Jun 1997 13:22:34 +0100

pdksh (5.2.12-2) unstable; urgency=low

  * Rebuilt package to fix shlibs problem (no changes to source package)
    (Fixes Bugs #5240, #5241, #5242)
 -- Larry Daffner <vizzie@airmail.net>  Sun, 3 Nov 1996 19:26:14 -0600

pdksh (5.2.12-1) unstable; urgency=low

  * New upstream version
  * Fixes bug#4881

 -- Larry Daffner <vizzie@airmail.net>  Tue, 29 Oct 1996 23:44:02 -0600

pdksh (5.2.11-1) unstable; urgency=low

  * New upstream version (5.2.10 was not packaged for Debian)

 -- Larry Daffner <vizzie@airmail.net>  Sun, 20 Oct 1996 23:31:13 -0500

pdksh (5.2.9-1) unstable; urgency=low

  * New maintainer
  * New upstream version
  * Changed to new source format

 -- Larry Daffner <vizzie@airmail.net>  Wed, 2 Oct 1996 23:52:34 -0500