head 1.5; access; symbols pkgsrc-2026Q3:1.5.0.8 pkgsrc-2026Q3-base:1.5 pkgsrc-2026Q2:1.5.0.6 pkgsrc-2026Q2-base:1.5 pkgsrc-2026Q1:1.5.0.4 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.2 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.4.0.10 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.8 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.6 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.4 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.2 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.2.0.8 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.6 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.4 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.2 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.1.0.8 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.6 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.4 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.2 pkgsrc-2022Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2025.11.03.21.47.14; author vins; state Exp; branches; next 1.4; commitid HpeiKRGOlSu8F9hG; 1.4 date 2024.08.24.13.37.40; author vins; state Exp; branches; next 1.3; commitid xqXZP1WRyscDX4nF; 1.3 date 2024.07.30.15.17.08; author vins; state Exp; branches; next 1.2; commitid QdGOha8iM7iUjSjF; 1.2 date 2023.09.18.14.11.41; author vins; state Exp; branches; next 1.1; commitid jnix3RuFSVok7gFE; 1.1 date 2022.07.03.20.57.38; author pin; state Exp; branches; next ; commitid wu1QSIMitTFnzuKD; desc @@ 1.5 log @shells/ksh93: include system-wide configuration file @ text @@@comment $NetBSD: PLIST,v 1.4 2024/08/24 13:37:40 vins Exp $ bin/ksh93 bin/shcomp include/ast/align.h include/ast/aso.h include/ast/ast.h include/ast/ast_api.h include/ast/ast_ccode.h include/ast/ast_common.h include/ast/ast_dir.h include/ast/ast_dirent.h include/ast/ast_fcntl.h include/ast/ast_float.h include/ast/ast_fs.h include/ast/ast_iconv.h include/ast/ast_lib.h include/ast/ast_limits.h include/ast/ast_map.h include/ast/ast_mmap.h include/ast/ast_mode.h include/ast/ast_ndbm.h include/ast/ast_nl_types.h include/ast/ast_param.h include/ast/ast_sizeof.h include/ast/ast_standards.h include/ast/ast_std.h include/ast/ast_stdio.h include/ast/ast_sys.h include/ast/ast_time.h include/ast/ast_tty.h include/ast/ast_wait.h include/ast/ast_wchar.h include/ast/ast_wctype.h include/ast/ast_windows.h include/ast/bytesex.h include/ast/ccode.h include/ast/cdt.h include/ast/cmd.h include/ast/cmdarg.h include/ast/cmdext.h include/ast/cmdlist.h include/ast/debug.h include/ast/dirent.h include/ast/dlldefs.h include/ast/endian.h include/ast/error.h include/ast/find.h include/ast/fnmatch.h include/ast/fnv.h include/ast/fts.h include/ast/ftw.h include/ast/ftwalk.h include/ast/glob.h include/ast/hash.h include/ast/hashkey.h include/ast/hashpart.h include/ast/history.h include/ast/iconv.h include/ast/ip6.h include/ast/lc.h include/ast/ls.h include/ast/magic.h include/ast/magicid.h include/ast/mc.h include/ast/mime.h include/ast/mnt.h include/ast/modecanon.h include/ast/modex.h include/ast/namval.h include/ast/nl_types.h include/ast/nval.h include/ast/option.h include/ast/proc.h include/ast/re_comp.h include/ast/recfmt.h include/ast/regex.h include/ast/regexp.h include/ast/releaseflags.h include/ast/sfdisc.h include/ast/sfio.h include/ast/sfio_s.h include/ast/sfio_t.h include/ast/shcmd.h include/ast/shell.h include/ast/sig.h include/ast/stak.h include/ast/stdio.h include/ast/stk.h include/ast/sum.h include/ast/swap.h include/ast/tar.h include/ast/times.h include/ast/tm.h include/ast/tmx.h include/ast/tok.h include/ast/tv.h include/ast/vdb.h include/ast/wait.h include/ast/wchar.h include/ast/wctype.h include/ast/wordexp.h lib/libast.so lib/libast.so.6 lib/libast.so.6.0 lib/libcmd.so lib/libcmd.so.2 lib/libcmd.so.2.0 lib/libdll.so lib/libdll.so.2 lib/libdll.so.2.0 lib/libshell.so lib/libshell.so.2 lib/libshell.so.2.0 libexec/ksh93/autocd libexec/ksh93/cd libexec/ksh93/dirs libexec/ksh93/man libexec/ksh93/mcd libexec/ksh93/popd libexec/ksh93/pushd man/man1/ksh93.1 man/man1/shcomp.1 man/man3/LIBAST.3ast man/man3/aso.3ast man/man3/ast.3ast man/man3/cdt.3ast man/man3/chr.3ast man/man3/compat.3ast man/man3/error.3ast man/man3/find.3ast man/man3/fmt.3ast man/man3/fmtls.3ast man/man3/ftwalk.3ast man/man3/getcwd.3ast man/man3/hash.3ast man/man3/iblocks.3ast man/man3/int.3ast man/man3/ip6.3ast man/man3/magic.3ast man/man3/mem.3ast man/man3/mime.3ast man/man3/modecanon.3ast man/man3/nval.3ast man/man3/optget.3ast man/man3/path.3ast man/man3/proc.3ast man/man3/re.3ast man/man3/regex.3ast man/man3/setenviron.3ast man/man3/sfio.3ast man/man3/shell.3ast man/man3/sig.3ast man/man3/spawnveg.3ast man/man3/stk.3ast man/man3/strcopy.3ast man/man3/strdup.3ast man/man3/strelapsed.3ast man/man3/strerror.3ast man/man3/stresc.3ast man/man3/streval.3ast man/man3/strgid.3ast man/man3/strmatch.3ast man/man3/stropt.3ast man/man3/strperm.3ast man/man3/strsignal.3ast man/man3/strsort.3ast man/man3/strtape.3ast man/man3/strton.3ast man/man3/struid.3ast man/man3/swap.3ast man/man3/tab.3ast man/man3/tm.3ast man/man3/tmx.3ast man/man3/tok.3ast man/man3/touch.3ast man/man3/tv.3ast share/examples/ksh93/kshrc @ 1.4 log @shells/ksh93: fix broken build (PLIST issue) @ text @d1 1 a1 1 @@comment $NetBSD$ d177 1 @ 1.3 log @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). @ text @a7 1 include/ast/ast_botch.h a14 1 include/ast/ast_getopt.h a44 1 include/ast/dt.h a52 1 include/ast/getopt.h a96 1 include/ast/usage.h a97 1 include/ast/vmalloc.h a176 1 man/man3/vmalloc.3ast @ 1.2 log @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. @ text @d4 116 d129 55 @ 1.1 log @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. @ text @d3 8 d12 1 @