summaryrefslogtreecommitdiff
path: root/shells/mksh
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2015-04-30 13:32:59 +0000
committerwen <wen@pkgsrc.org>2015-04-30 13:32:59 +0000
commit9f275db94438220b185986a6fd38c42d6a6fe93d (patch)
tree269e36c4be70da804b890615da1a2e61f6042dda /shells/mksh
parentfb2c4017057b203c7c7b1d175ebf8f30d90701cd (diff)
downloadpkgsrc-9f275db94438220b185986a6fd38c42d6a6fe93d.tar.gz
Update to R50f
Upstream changes: 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 ☹ [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 → 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
Diffstat (limited to 'shells/mksh')
-rw-r--r--shells/mksh/Makefile4
-rw-r--r--shells/mksh/distinfo10
-rw-r--r--shells/mksh/patches/patch-mksh.18
3 files changed, 11 insertions, 11 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index 14e083ef61d..693ad0b8efb 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 $
+# $NetBSD: Makefile,v 1.31 2015/04/30 13:32:59 wen 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 6db587ef829..1f18318a79e 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 $
+$NetBSD: distinfo,v 1.27 2015/04/30 13:32:59 wen 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) = 6bf9ab1c8d6c5202f4ae906798eb3ffcfb915b90
diff --git a/shells/mksh/patches/patch-mksh.1 b/shells/mksh/patches/patch-mksh.1
index 3905ce69353..10b78104ccd 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 $
+$NetBSD: patch-mksh.1,v 1.8 2015/04/30 13:32:59 wen 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-30 21:14:33.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.
.\"