Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/mksh mksh: Update to 59b



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08856dd1bfe6
branches:  trunk
changeset: 432175:08856dd1bfe6
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 19 15:20:07 2020 +0000

description:
mksh: Update to 59b

R59b is a must-have bugfix upgrade for R59 (not R58):

    [tg] Handle other tmux $TERM types, pointed out by multi via IRC
    [tg] Fix typo in FAQ
    [tg] y='a\*b'; [[ $x = $y ]] regression (Martijn Dekker) fix
    [l0kod] Defuse CLIP OS O_MAYEXEC support (cf. LWN)
    [tg] Make set +o output a command to restore the currently set and (new!) cleared options, keep a reset state per session (experimental)
    [tg] Correct documentation and code regarding to argv[0] parsing: first ‘-’ for login shells, then ‘r’ case-insensitively for restricted shell, then “sh”*, again case-insensitively, for BINSH_* 
modes; add tests
    [tg] On OS/2, allow case-insensitive name for direct builtin call
    [tg] Always skip startup files if direct builtin call
    [tg] Avoid some sometimes-redundant startup codepaths

R59 has some major fixes, also introducing breaking changes:

    [tg] Repair out-of-tree builds (noticed by rsc)
    [tg] Work around a glibc on Hurd issue in testsuite
    [komh] OS/2 filesystem mtime granularity is two seconds (as in FAT)
    [tg] Replace while with goto: Coverity was confused
    [tg] Fix invocation of some builtins when external utility absent
    [komh] Improve automatic executable suffix for test builtin
    [tg] Style code, refactor, clean up, optimise
    [tg] Use cached egid in test builtin
    [tg] Make bind builtin output reentry-safe; safety fixes
    [tg] If basename(argv[0]) after leading dash removal begins with an ‘r’ enable restricted shell flag; reported by pmjdebruijn via IRC
    [tg] Fix code example in manpage for how tab completion escapes
    [tg] Match full extglob pattern RHS of [[ string comparison like ksh93
    [tg] Implement which with -a in dot.mkshrc
    [tg] Remove global builtin (use typeset -g)
    [tg] alias, command, whence: Print alias names quoted
    [tg] Implement a new quote-region (Esc+Q) editing command
    [tg] Document all built-in aliases (requested by msiism via IRC) and those aliases and functions shipped in dot.mkshrc; completely overhaul builtin and reserved word documentation, for consistency
    [tg] The manual page now features properly spaced em dashes ☻
    [tg] Document that test x = y doesn’t extglob, only [[ x = y ]] does

R58 contains a lot of fixes and improvements:

    [lintian] hyphen-used-as-minus-sign (on jessie, not later, ‽‽‽)
    [tg] Fix system info gcc dump{machine,version} shell escaping level
    [tg] Document KSH_VERSIONNAME_VENDOR_EXT in Build.sh
    [tg] Be more explicit about the LTO bug exposed by check.t
    [Todd C. Miller] Add -x (file locks) and AIX-specific -r ulimits
    [tg] Handle Midipix as test environment and fix some warnings
    [tg] Fix some Build.sh issues as Mirtoconf is now used by MirCPIO and MagicPoint
    [komh] Improve CRLF to LF conversion
    [komh] Ensure ECHO mode is enabled at startup so read has local echo
    [komh] Let check.pl retain the PERLIO env variable
    [komh] Unbreak nounset-1 test on systems with drive letters
    [komh, tg] Make ulimit-3 test work without |& (that is, incomplete ports, i.e. those with -DMKSH_NOPROSPECTOFWORK)
    [tg] Disable xxx-stat-1 test for now, fails when run as root
    [tg] Drop Build.sh flags -c combine, -c lto
    [Martijn Dekker] Exit 126 on execve(2) failure, not 1 (e.g. E2BIG)
    [tg] Behave set and export/readonly-on-read-only-variables when run with command and command dot, bugreports by Martijn Dekker
    [tg] dot.mkshrc: simplify; enhance (un)setting locale example
    [tg, selk] Catch build errors earlier
    [tg] Add -fno-lto (if GCC is detected) to CFLAGS and LDFLAGS
    [tg] Limit HISTSIZE to 65535, as long pre-announced
    [tg] Unbreak testsuite selftest-tty-absent for lksh
    [tg] Begin work on support for neatcc (needs neatcc to evolve first)
    [tg] Fix possibly not enough aligned access in struct job
    [tg] Support going full setugid by running “set -p” once interactive
    [tg] Document another (arcane, almost nowhere needed) definition
    [tg] Improve code legibility and testsuite reliability and maintenance
    [tg] Speed up trivial += cases (LP#1855167)
    [tg] Some further code and memory optimisation and test coverage
    [tg] Document that += is always string append (LP#1857702)
    [tg] Fix “set -e appears active within eval but isn’t” reported by Martijn Dekker and another bug related to using set ±e inside eval
    [tg] Handle parameter assignment in front of invocations of POSIX-style functions like ksh-style ones and external utilities; cf. Debian #935115
    [tg] Fix bad memory access for invalid syntax (LP#1857828, LP#1857826)
    [Brian Callahan] Update MALLOC_OPTIONS-using testcase for newer OpenBSD
    [tg] Support lacc as compiler (just detecting, no change), thanks Brian
    [tg] Share __IDSTRING with jupp
    [tg] Update string comparison/pattern documentation
    [tg, veedeeh] Document vi command line editing mode state better
    [tg] Add FAQ2HTML.sh to convert mksh.faq to local valid XHTML+CSS
    [tg] Correct backslash expansion documentation; caveat re. 16-bit UCS
    [tg] Fix extra empty field on IFS-NWS trim expansion (Martijn Dekker)
    [tg] Improve code performance, quality, robustness and correctness
    [tg] Allow ${x:n} where n is an identifier (veedeeh)
    [tg] Permit ‘+’ in alias names, but not leading (Aleksey Cheusov)
    [tg] Fix here strings for $@ (LP#1857195), reported by jvdh
    [multiplexd] Add vi mode PgDn, similar to PgUp doing history search
    [tg] Build.sh fixup unreliable test -n/-z
    [multiplexd] Correct documentation of vi mode @c
    [tg] Update to UCD 13.0.0
    [tg] Use nanoseconds in test -nt / -ot (LP#1855325)

diffstat:

 shells/mksh/Makefile             |   4 ++--
 shells/mksh/distinfo             |  11 +++++------
 shells/mksh/patches/patch-mksh.1 |  28 ----------------------------
 3 files changed, 7 insertions(+), 36 deletions(-)

diffs (60 lines):

diff -r 7aa365fe803d -r 08856dd1bfe6 shells/mksh/Makefile
--- a/shells/mksh/Makefile      Tue May 19 14:49:33 2020 +0000
+++ b/shells/mksh/Makefile      Tue May 19 15:20:07 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2019/03/10 14:19:59 bsiegert Exp $
+# $NetBSD: Makefile,v 1.39 2020/05/19 15:20:07 nia Exp $
 
-DISTNAME=                      mksh-R57
+DISTNAME=                      mksh-R59b
 PKGNAME=                       ${DISTNAME:S/-R/-/}
 CATEGORIES=                    shells
 MASTER_SITES=                  http://www.mirbsd.org/MirOS/dist/mir/mksh/
diff -r 7aa365fe803d -r 08856dd1bfe6 shells/mksh/distinfo
--- a/shells/mksh/distinfo      Tue May 19 14:49:33 2020 +0000
+++ b/shells/mksh/distinfo      Tue May 19 15:20:07 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.33 2019/03/10 14:19:59 bsiegert Exp $
+$NetBSD: distinfo,v 1.34 2020/05/19 15:20:07 nia Exp $
 
-SHA1 (mksh-R57.tgz) = 9df0ab24547f3f29191ae938caf271cb4842bcec
-RMD160 (mksh-R57.tgz) = 2cf5933f1d7cf8ef10db0b73ff3476ca448aba46
-SHA512 (mksh-R57.tgz) = 7d7fa557c17da4f1f62f82877a136439efb6d4f9fde52b2df39214db09868982e756df6e4fe83498f9013cbcf3252dc383b00ddfafaa4c9f143ffded7cd255b3
-Size (mksh-R57.tgz) = 419604 bytes
-SHA1 (patch-mksh.1) = dabb8f7f5b41d9200a38378b97bc0d73b6157843
+SHA1 (mksh-R59b.tgz) = b3fbbcdaf5029011e3ec42ed5426a1b0567c4654
+RMD160 (mksh-R59b.tgz) = d898ba5a55f194e2c373734e4640025ea27fe936
+SHA512 (mksh-R59b.tgz) = 4ae330a79a09d2dd989116b1a836ab7f179d920eb34c97ea5da7d1434361911a93ba77ca47c5e473e5a5ce1877f2a2e919a807bb6139ec6c89c87969054d021d
+Size (mksh-R59b.tgz) = 440055 bytes
diff -r 7aa365fe803d -r 08856dd1bfe6 shells/mksh/patches/patch-mksh.1
--- a/shells/mksh/patches/patch-mksh.1  Tue May 19 14:49:33 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-mksh.1,v 1.12 2019/03/10 14:19:59 bsiegert Exp $
-
-Kill the .Dt override and restore installation a normal man page.
---- mksh.1.orig        2019-03-01 16:17:58.000000000 +0000
-+++ mksh.1
-@@ -63,21 +63,11 @@
- .     ds en \(em
- .\}
- .\"
--.\" Implement .Dd with the Mdocdate RCS keyword
--.\"
--.rn Dd xD
--.de Dd
--.ie \\$1$Mdocdate: \{\
--.     xD \\$2 \\$3, \\$4
--.\}
--.el .xD \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8
--..
--.\"
- .\" .Dd must come before definition of .Mx, because when called
- .\" with -mandoc, it might implement .Mx itself, but we want to
- .\" use our own definition. And .Dd must come *first*, always.
- .\"
--.Dd $Mdocdate: March 1 2019 $
-+.Dd March 1 2019
- .\"
- .\" Check which macro package we use, and do other -mdoc setup.
- .\"


Home | Main Index | Thread Index | Old Index