pkgsrc-Bugs archive

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

pkg/49865: Update 'shells/mksh' to 50.f



>Number:         49865
>Category:       pkg
>Synopsis:       Update 'shells/mksh' to 50.f
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 27 21:35:00 +0000 2015
>Originator:     Jonathan Buschmann
>Release:        
>Organization:
>Environment:
>Description:
Update 'mksh' to 50.f (see patch below)

Changelog :
----------

R50f is a required security and bugfix release:

    [tg] Add a patch marker for vendor patch versioning to mksh.1
    [tg] SECURITY: make unset HISTFILE actually work
    [tg] Document some more issues with the current history code
    [tg] Remove some unused code
    [tg] RCSID-only sync with OpenBSD, for bogus and irrelevant changes
    [tg] Also disable field splitting for alias 'local=\typeset'
    [tg] Fix read -n-1 to not be identical to read -N-1
    [tg] Several fixes and improvements to lksh(1) and mksh(1) manpages
    [tg] More code (int → size_t), comment and testsuite fixes
    [tg] Make dot.mkshrc more robust (LP#1441853)
    [tg] Fix issues with IFS='\' read, found by edualbus
    [enh, tg] Fix integer overflows related to file descriptor parsing, found by Pawel Wylecial (LP#1440685); reduce memory usage for I/O redirs
    [tg] Document in the manpage how to set ±U according to the current locale settings via LANG/LC_* parameters (cf. Debian #782225)
    [igli, tg] Some code cleanup and restructuring
    [tg, oksh] Handle number parsing and storing more carefully

R50e is a required bugfix release:

    [tg] Add more tests detailing behaviour difference from GNU bash
    [tg] Introduce a memory leak for x=<< fixing use of freed memory instead, bug tracked as LP#1380389 still live
    [tg] Add x+=<< parallel to x=<<
    [tg, ormaaj, jilles] POSIX ?command? loses builtin special-ness
    [tg] Fix LP#1381965 and LP#1381993 (more field splitting)
    [jilles] Update location of FreeBSD testsuite for test(1)
    [Martin Natano] Remove dead NULL elements from Emacs keybindings
    [tg, Stéphane Chazelas, Geoff Clare] Change several testcases for $*/$@ expansion with/without quotes to expected-fail, with even more to come &#9785;
    [tg] Fix miscalculating required memory for encoding the double-quoted parts of a here document or here string delimiter, leading to a buffer overflow; discovered by zacts from IRC
    [RT] Rename a function conflicting with a MacRelix system header
    [tg] Use size_t (and ssize_t) consistently, stop using ptrdiff_t; fixes some arithmetics and S/390 bugs
    [tg] Remove old workarounds for Clang 3.2 scan-build
    [tg] Remove all Clang/Coverity assertions, making room for new checks
    [tg] Fix NSIG generation on Debian sid gcc-snapshot
    [tg] Make a testcase not fail in a corner case
    [tg] Fix issues detected by GCC?s new sanitisers: data type of a value to be shifted constantly must be unsigned (what not, in C?); shebang check array accesses are always unsigned char
    [tg] Be even more explicit wrt. POSIX in the manpage
    [tg] Fix shebang / file magic decoding
    [tg] More int &#8594; bool conversion
    [tg] Let Build.sh be run by GNU bash 1.12.1 (Slackware 1.01)
    [Stéphane Chazelas, tg] Fix here string parsing issue
    [tg] Point out more future changes in the manpage
    [tg] Call setgid(2), setegid(2), setuid(2) before seteuid(2)
    [tg] Fix spurious empty line after ENOENT ?whence -v?, found by Ypnose
    [tg] Optimise dot.mkshrc and modernise it a bit
    [tg] Use MAXPATHLEN from <sys/param.h> for PATH_MAX fallback
    [tg] Some code cleanup and warnings fixes
    [tg] Add options -a argv0 and -c to exec
    [jsg] Prevent use-after-free when hitting multiple errors unwinding
    [tg] Fix use of $* and $@ in scalar context: within [[ ? ]] and after case (spotted by Stéphane Chazelas) and in here documents (spotted by tg@); fix here document expansion
    [tg] Unbreak when $@ shares double quotes with others
    [tg] Fix set -x in PS4 expansion infinite loop
>How-To-Repeat:

>Fix:
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index 14e083e..b41463b 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.30 2014/11/27 13:38:15 joerg Exp $

-DISTNAME=                      mksh-R50d
+DISTNAME=                      mksh-R50f
 PKGNAME=                       ${DISTNAME:S/-R/-/}
 CATEGORIES=                    shells
 MASTER_SITES=                  http://www.mirbsd.org/MirOS/dist/mir/mksh/ \
diff --git a/shells/mksh/distinfo b/shells/mksh/distinfo
index 6db587e..adec7f7 100644
--- a/shells/mksh/distinfo
+++ b/shells/mksh/distinfo
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.26 2014/10/07 18:51:02 bsiegert Exp $

-SHA1 (mksh-R50d.tgz) = 0066c260e0ae6736c56189f481607d8306449c53
-RMD160 (mksh-R50d.tgz) = 473417750fe50ed0f947076752677432aa9fbd82
-Size (mksh-R50d.tgz) = 374014 bytes
-SHA1 (patch-mksh.1) = 0b3ad407b3963cc92944724658d63c898728e335
+SHA1 (mksh-R50f.tgz) = 0dca39e7c9cc25cf400a5f7e6d6fc629e4f5e7ce
+RMD160 (mksh-R50f.tgz) = e0de1dd07e6ca02830407b9db43de8f5c98d800f
+Size (mksh-R50f.tgz) = 377797 bytes
+SHA1 (patch-mksh.1) = 86d231be897427a37971b00011583bfe833eefb2
diff --git a/shells/mksh/patches/patch-mksh.1 b/shells/mksh/patches/patch-mksh.1
index 3905ce6..1488b40 100644
--- a/shells/mksh/patches/patch-mksh.1
+++ b/shells/mksh/patches/patch-mksh.1
@@ -1,7 +1,7 @@
 $NetBSD: patch-mksh.1,v 1.7 2014/10/07 18:51:02 bsiegert Exp $
 Kill the .Dt override and restore installation a normal man page.
---- mksh.1.orig        2014-10-03 12:36:28.000000000 +0000
+--- mksh.1.orig        2015-04-27 21:23:36.000000000 +0000
 +++ mksh.1
 @@ -60,21 +60,11 @@
  .     ds en \(em
@@ -21,8 +21,8 @@ Kill the .Dt override and restore installation a normal man page.
  .\" with -mandoc, it might implement .Mx itself, but we want to
  .\" use our own definition. And .Dd must come *first*, always.
  .\"
--.Dd $Mdocdate: October 7 2014 $
-+.Dd October 7, 2014
+-.Dd $Mdocdate: April 12 2015 $
++.Dd April 12, 2015
  .\"
  .\" Check which macro package we use, and do other -mdoc setup.
  .\"


Home | Main Index | Thread Index | Old Index