Subject: CVS commit: pkgsrc/shells/ksh93
From: Paolo Vincenzo Olivo
Date: 2023-09-18 16:11:42
Message id: 20230918141142.2BD59FBDB@cvs.NetBSD.org

Log Message:
shells/ksh93: update to 1.0.7

Here is the seventh ksh 93u+m/1.0 bugfix release. It fixes a hang in
command substitutions when combined with 'exec' and certain
redirections.

# pkgsrc changes

* Use USE_CC_FEATURES instead of CFLAGS.
* Use MAKE_ENV instead of appending flags to the build script command
  line.
* Use package's own install script (patched) instead of a dedicated target.
* Install shcomp(1) + corresponding man page.
* Install ksh autoload companion functions.
* Use TEST_TARGET instead of a dedicated make target.
* Simplify DESCR.

# upstream changes (since ksh93u+m/1.0.6):

* Fixed a hang in command substitutions (introduced in 93u+m/1.0.0) that
  was triggered when redirecting standard output within a command
  substitution, in combination with other factors. E.g., the following no
  longer hangs:
  { v=$(redirect 2>&1 1>&9); } 9>&1

* Fixed a crash on trying to append an indexed array value to an unset
  name reference, e.g.: nameref unsetref; unsetref+=(foo bar). This now
  produces a "removing nameref attribute" warning before performing the
  assignment.

* Fixed: assignments like name=(...) to arrays did not preserve the array
  and variable types; similarly, assigning an empty set () to a compound
  indexed array caused the -C attribute to be lost.

* Fixed incorrect rejection of the tab key while reading input using the
  read built-in command.

* Fixed a bug in printf %T: when using dates and times in the past, time
  zones for the present were incorrectly used, ignoring historical
  changes.

Files:
RevisionActionfile
1.2modifypkgsrc/shells/ksh93/DESCR
1.9modifypkgsrc/shells/ksh93/Makefile
1.2modifypkgsrc/shells/ksh93/PLIST
1.8modifypkgsrc/shells/ksh93/distinfo
1.1addpkgsrc/shells/ksh93/patches/patch-src_cmd_INIT_package.sh