The NetBSD Project

CVS log for pkgsrc/shells/ksh93/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / shells / ksh93

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Nov 3 21:47:14 2025 UTC (12 months, 1 week ago) by vins
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
shells/ksh93: include system-wide configuration file

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 24 13:37:40 2024 UTC (2 years, 2 months ago) by vins
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +0 -7 lines
shells/ksh93: fix broken build (PLIST issue)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jul 30 15:17:08 2024 UTC (2 years, 3 months ago) by vins
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +171 -0 lines
shells/ksh93: update to v1.0.9

Many PLIST changes since the main binary is now linked dinamically.

# upstream changes

* Android/Termux is now a supported platform. Build dependencies:
  binutils, clang, getconf. Runtime dependencies (optional):
  ncurses-utils, getconf.

* Reintroduced support for building a dynamically linked
  ksh(1)/shcomp(1), with libast, libdll, libcmd, and libshell available
  to other programs as dynamic libraries. bin/package install
  /your/basepath will install development headers. The dynamically
  linked version is built in a dyn subdirectory; there are no changes to
  the statically linked version. Dynamic linking is currently tested and
  supported on Linux, Android, macOS, all the BSDs, illumos, Solaris,
  QNX, and Haiku.

* On systems where the external printf(1) utility supports deprecated
  pre-POSIX syntax for formatters starting with -, ksh now adapts its
  built-in printf to match, for compatibility with system scripts.
  However, ksh's built-in printf options such as -v or --man are not
  affected.

* Fixed a regression in the printf built-in, introduced in 93u+m/1.0.5,
  where each instance of \0 or %Z in the format operand caused a string
  argument to be incorrectly skipped.

* Fixed a regression, introduced in 93u+m/1.0.5, in ordinal specifiers
  in printf %T date specifications. For example, printf '%(%F)T\n' '4th
  tuesday in march 2016' wrongly printed '2016-04-09' and now again
  correctly prints '2016-03-22'.

* Fixed a regression of return within traps, reintroduced in 93u+m/1.0.8
  after being fixed in 93u+m/1.0.0. The regression caused a return or
  exit with no arguments to assume the before-trap exit status instead
  of that of the last-run command. This broke the shipped autocd
  function.

* Fixed a longstanding bug in shell arithmetic: the representation of
  negative integers with a base other than 10 was incorrectly treated as
  unsigned long. For example, typeset -i16 n=-12; echo $n now correctly
  outputs -16#c and no longer ouputs 16#fffffffffffffff4.  Fixed a bug,
  introduced in ksh93q+ 2005-05-22, that stopped an append assignment
  from working together with a declaration command. For example,typeset
  var+=value or export var+=value now again work as expected.  Fixed a
  longstanding bug where the default terminal width for typeset -L, -R,
  or -Z, if not given, was miscalculated for multibyte or control
  characters.  Fixed: expansions of name references in loops were
  incorrectly treated as invariant so they yielded the wrong values.

* If a .get or .getn discipline function is set for a variable, it is no
  longer incorrectly triggered when performing an arithmetic assignment
  on that variable; only the .set discipline is now triggered (as
  documented).

* Many other bug fixes (see the NEWS file).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 18 14:11:41 2023 UTC (3 years, 1 month ago) by vins
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -0 lines
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.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jul 3 20:57:38 2022 UTC (4 years, 4 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
shells/ksh93: import package

Packaged in wip by Paolo Vincenzo Olivo.

Between 2017 and 2020 there was an ultimately unsuccessful attempt to breathe
new life into the KornShell by extensively refactoring the last unstable AST
beta version (93v-). While that ksh2020 effort is now abandoned and still has
many critical bugs, it also had a lot of bugs fixed. More importantly, the AST
issue tracker now contains a lot of documentation on how to fix those bugs,
which made it possible to backport many of them to the last stable release
instead. This ksh 93u+m reboot now incorporates many of these bugfixes, plus
patches from OpenSUSE, Red Hat, and Solaris, as well as many new fixes from the
community (1, 2). Though there are many bugs left to fix, we are confident at
this point that 93u+m is already the least buggy version of ksh93 ever
released. As of late 2021, distributions such as Debian and Slackware have
begun to package it as their default version of ksh93.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>