summaryrefslogtreecommitdiff
path: root/shells/mksh
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2013-04-30 17:58:44 +0000
committerbsiegert <bsiegert>2013-04-30 17:58:44 +0000
commitecc56994f77376fc0bbd2703e2ae42521ce029db (patch)
tree6336642d2351a49d321904422e311d033b58bdf9 /shells/mksh
parentd2fabbfb344a0d41ebd470458ef0668f5ee7dfff (diff)
downloadpkgsrc-ecc56994f77376fc0bbd2703e2ae42521ce029db.tar.gz
Update to mksh-45.
* [tg] Make “set -x” print the commands run in escaped form * [tg] PS4 in dot.mkshrc is now timestamped * [tg] The &> GNU bash I/O redir is no longer parsed in -o posix, -o sh modes, lksh (breaks valid scripts) * [tg] Implement ${ …;} more efficiently (deleted-open files) * [tg] For shf, %#s (if you can get it past GCC’s printf format attribute) calls print_value_quoted, ignoring field width and precision * [tg] Catch “typeset =” (regression) with better error message * [tg, Tonnerre Lombard] add “doch” alias to dot.mkshrc which just repeats the last input line with sudo(8) * [tg] Use unsigned integers for all calculations, to avoid ISO C “Undefined Behaviour” (and implementation-defined behaviour) throughout (most of) the code; emulate signed integer arithmetics using unsigned; not-lksh only * [tg] Emulate signed modulo naïvely, for correct sign of the result * [tg] Add <<< and >>> for ROL and ROR (rotate left and right, respectively) operations, <<<= and >>> assignments; bitwise AND the RHS of a shift/rotate op with 31 (not for lksh) * [tg] Remove a warning by working around a workaround found in dietlibc which works around a bug in broken software such as GNU tar (really!) * [tg] Correct and simplify list and categorisation of built-in commands as POSIX special and “everything else” plus a flag to keep assignments * [tg] Handle ((foo)) as “let]” internally to avoid a conflict with user-defined functions called let (LP#1156707) * [tg] Clean up the code
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.124
3 files changed, 20 insertions, 18 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index f577e7a270f..335a9e1a237 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2013/03/23 12:18:19 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2013/04/30 17:58:44 bsiegert Exp $
-DISTNAME= mksh-R44
+DISTNAME= mksh-R45
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 ebe7468eca5..755bc342541 100644
--- a/shells/mksh/distinfo
+++ b/shells/mksh/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2013/03/27 16:36:42 hiramatsu Exp $
+$NetBSD: distinfo,v 1.22 2013/04/30 17:58:44 bsiegert Exp $
-SHA1 (mksh-R44.tgz) = 2e575f8de79305e42fc1c7fdda2c8051482a4758
-RMD160 (mksh-R44.tgz) = 4cf1525c477c4bece519c024cc73ee6ca064d34a
-Size (mksh-R44.tgz) = 346239 bytes
-SHA1 (patch-mksh.1) = dc76beab0bf95ab3f65841b5308a40126c128615
+SHA1 (mksh-R45.tgz) = 1a870bfb9278be3eb40b39b69829fe905f0ca812
+RMD160 (mksh-R45.tgz) = b376357d4aacade3fa888f78b6257ec76affb608
+Size (mksh-R45.tgz) = 346164 bytes
+SHA1 (patch-mksh.1) = c6b3e16c0c4d32377f52f508f0b6632dc201173d
diff --git a/shells/mksh/patches/patch-mksh.1 b/shells/mksh/patches/patch-mksh.1
index 00d4f5f9a5a..cad2f74ac1b 100644
--- a/shells/mksh/patches/patch-mksh.1
+++ b/shells/mksh/patches/patch-mksh.1
@@ -1,12 +1,14 @@
-$NetBSD: patch-mksh.1,v 1.2 2013/03/27 16:36:43 hiramatsu Exp $
+$NetBSD: patch-mksh.1,v 1.3 2013/04/30 17:58:44 bsiegert Exp $
Kill the .Dt override and restore installation a normal man page.
---- mksh.1.orig 2013-03-23 12:06:12.000000000 +0000
+--- mksh.1.orig 2013-04-26 21:23:12.000000000 +0000
+++ mksh.1
-@@ -62,29 +62,15 @@
- .\"
- .\" Implement .Dd with the Mdocdate RCS keyword
+@@ -60,31 +60,11 @@
+ . ds en \(em
+ .\}
.\"
+-.\" Implement .Dd with the Mdocdate RCS keyword
+-.\"
-.rn Dd xD
-.de Dd
-.ie \\$1$Mdocdate: \{\
@@ -14,16 +16,15 @@ Kill the .Dt override and restore installation a normal man page.
-.\}
-.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: February 19 2013 $
-+.Dd February 19, 2013
- .\"
- .\" Check which macro package we use, and do other -mdoc setup.
- .\"
+-.Dd $Mdocdate: April 26 2013 $
+-.\"
+-.\" Check which macro package we use, and do other -mdoc setup.
+-.\"
-.ie \n(.g \{\
-. if \*[.T]utf8 .tr \[la]\*(Lt
-. if \*[.T]utf8 .tr \[ra]\*(Gt
@@ -31,6 +32,7 @@ Kill the .Dt override and restore installation a normal man page.
-. el .ds tT bsd
-.\}
-.el .ds tT ucb
++.Dd April 26, 2013
.\"
.\" Implement .Mx (MirBSD)
.\"