summaryrefslogtreecommitdiff
path: root/shells
AgeCommit message (Collapse)AuthorFilesLines
2014-11-27Correctly sanitize environment.joerg1-3/+2
2014-11-23Use -Wl,-R instead of just -R to avoid breaking the build on FreeBSD.dholland2-1/+18
From Dennis Lindroos in PR 49375.
2014-11-11Fix up patches, applying each change once is enough.joerg7-203/+13
2014-11-11Regenjoerg1-13/+7
2014-11-10Improve handling of memalign / posix_memalign to allow static linking onjoerg7-7/+203
NetBSD.
2014-11-06Rename memalign and posix_memalign similar to malloc/free to fix staticjoerg9-4/+204
linkage. Reduce hackery in static-ast-ksh/Makefile.
2014-10-25Update to 2.05.2.13ryoon2-5/+14
CHangelog: Fix CVE-2014-6277 and CVE-2014-6278
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz7-20/+7
2014-10-07Security: Update mksh to 50d.bsiegert3-11/+11
R50d is a required bugfix release: - [Goodbox] Fix NULL pointer dereference on “unset x; nameref x” - [tg] Fix severe regression in field splitting (LP#1378208) - [tg] Add a warning about not using tainted user input (including from the environ(7)ment) in arithmetics, until Stéphane writes it up nicely R50c is a security fix release: - [tg] Know more rare signals when generating sys_signame[] replacement - [tg] OpenBSD sync (mostly RCSID only) - [tg] Document HISTSIZE limit; found by luigi_345 on IRC - [zacts] Fix link to Debian .mkshrc - [tg] Cease exporting $RANDOM (Debian #760857) - [tg] Fix C99 compatibility - [tg] Work around klibc bug causing a coredump (Debian #763842) - [tg] Use issetugid(2) as additional check if we are FPRIVILEGED - [tg] SECURITY: do not permit += from environment - [tg] Fix more field splitting bugs reported by Stephane Chazelas and mikeserv; document current status wrt. ambiguous ones as testcases too
2014-10-07Update posh 0.12.2 to 0.12.3mef2-6/+7
(from debian/changelog) posh (0.12.3) unstable; urgency=medium * Ten patches from Jonathan Nieder to adjust test suite. closes: #603659. -- Clint Adams <clint@debian.org> Sun, 09 Feb 2014 19:42:00 -0500 posh (0.12.2.1) unstable; urgency=medium * Bump to Standards-Version 3.9.5. * Add libperl4-corelibs-perl build-dep for getopts.pl. closes: #738412. -- Clint Adams <clint@debian.org> Sun, 09 Feb 2014 12:49:30 -0500
2014-10-07Another day, another bash patch. Welcome to 4.3.030.wiz2-4/+7
Fixes CVE-2014-6278: A combination of nested command substitutions and function importing from the environment can cause bash to execute code appearing in the environment variable value following the function definition.
2014-10-03Add another patch, welcome to 4.3.29. Not sure if this is hardening orwiz2-4/+7
a vulnerability.
2014-10-01Another day, another security fix: bash-4.3.028.wiz2-4/+7
2014-09-30update to the latest upstream patchchristos3-14/+17
2014-09-29Add another upstream security fix patch. Welcome to 4.3.027.wiz3-16/+18
2014-09-27bring bash2 up to speed since people don't seem to think it can be removed.christos4-5/+59
2014-09-27use the official version of the parse.y patch.christos3-22/+8
2014-09-25bump pkgrevision for previousjmcneill1-3/+2
2014-09-25Disable function import by default, enabled only with -import-functions.christos4-2/+50
2014-09-25Requires editline.jperkin1-1/+2
2014-09-25Add fix for CVE-2014-7169.tron3-2/+24
2014-09-24Add all current upstream bash patches including 025, which fixeswiz2-5/+85
a security issue. Version number bumped in the usual way.
2014-09-07Update mksh to R50b, prodded by tg.bsiegert3-18/+17
Changelog: R50b is a recommended bugfix release: * [Ypnose] Fix operator description in the manpage * [tg] Change all mention of “eglibc” to “glibc”, it is merged back * [Colona] Fix rare infinite loop with invalid UTF-8 in the edit buffer * [tg] Make more clear when a shell is interactive in the manpage * [tg] Document that % is a symmetric remainder operation, and how to get a mathematical modulus from it, in the manpage * [tg, Christopher Ferris, Elliott Hughes] Make the cat(1) builtin also interruptible in the write loop, not just in the read loop, and avoid it getting SIGPIPE in the smores function in dot.mkshrc by terminating cat upon user quit * [tg] Make some comments match the code, after jaredy from obsd changed IFS split handling * [tg] Fix some IFS-related mistakes in the manual page * [tg] Document another issue as known-to-fail test IFS-subst-3 * [tg] Improve check.pl output in some cases * [tg, Jb_boin] Relax overzealous nameref RHS checks R50 is a recommended bugfix release: * [tg] Fix initial IFS whitespace not being ignored when expanding * [tg] MKSH_BINSHREDUCED no longer mistakenly enables brace expansion * [tg] Explain more clearly Vi input mode limitations in the manpage * [tg] Improve error reporting of the check.pl script (which needs a maintainer since I don’t speak any perl(1), really), for lewellyn * [tg] Use $TMPDIR in test.sh for scratch space * [tg, Polynomial-C] Check that the scratch space is not mounted noexec * [pekster, jilles, tg] Use termcap(5) names, not terminfo(5) names, in tput(1) examples, for improved portability (e.g. to MidnightBSD) * [tg] Avoid C99 Undefined Behaviour in mirtoconf LFS test (inspired by Debian #742780) * [tg] Fix ${!foo} for when foo is unset * [tg] Improve nameref error checking (LP#1277691) * [tg] Fix readonly bypass found by Bert Münnich * [Ryan Schmidt] Improved system reporting for Mac OS X * [nDuff] Explain better [[ extglob handling in the manpage * [tg] Remove arr=([index]=value) syntax due to regressions * [tg] IFS-split arithmetic expansions as per POSIX 201x * [OpenBSD] Add more detailed Authors section to manpage * [tg] Fix set ±p issue for good: drop privs unless requested * [tg] Improve signal handling and use a more canonical probing order * [tg] Fix return values $? and ${PIPESTATUS[*]} interaction with set -o pipefail and COMSUBs * [enh] Detect ENOEXEC ELF files and use a less confusing error message * [tg] Update to Unicode 7.0.0 * [tg] Shut up valgrind in the $RANDOM code * [tg] Use -fstack-protector-strong in favour of -fstack-protector-all * [tg] Fix access-after-free crash spotted by Enjolras via IRC
2014-07-18Remove CFLAGS+=-g. Accidentally added.ryoon1-3/+1
2014-07-17Fix SCO OpenServer 5.0.7/3.2 build.ryoon3-2/+22
It has no S_ISSOCK.
2014-07-03Add used-by lines. pkglint fixes.wiz2-5/+7
2014-06-25Update to upgraded patch from upstream. Ride bump.wiz2-5/+31
2014-06-25Fix ulimit(1) for thread limits; patch from upstream.wiz3-3/+41
Bump PKGREVISION.
2014-06-25Update comments, remove outdated chunks.wiz1-57/+7
2014-05-29Bump for perl-5.20.0.wiz3-6/+6
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-05-25Fix build for OpenBSD.rodent2-1/+17
2014-05-09Mark packages that are not ready for python-3.3 also not ready for 3.4,wiz1-2/+2
until proven otherwise.
2014-04-04Fix NLS catalogue installation. Both building and installingkim4-64/+134
the catalogue files is handled by the upstream Makefile. Fixes PR pkg/48704 as well.
2014-03-12Update to 4.3:wiz8-189/+24
This is a terse description of the new features added to bash-4.3 since the release of bash-4.2. As always, the manual page (doc/bash.1) is the place to look for complete descriptions. 1. New Features in Bash a. The `helptopic' completion action now maps to all the help topics, not just the shell builtins. b. The `help' builtin no longer does prefix substring matching first, so `help read' does not match `readonly', but will do it if exact string matching fails. c. The shell can be compiled to not display a message about processes that terminate due to SIGTERM. d. Non-interactive shells now react to the setting of checkwinsize and set LINES and COLUMNS after a foreground job exits. e. There is a new shell option, `globasciiranges', which, when set to on, forces globbing range comparisons to use character ordering as if they were run in the C locale. f. There is a new shell option, `direxpand', which makes filename completion expand variables in directory names in the way bash-4.1 did. g. In Posix mode, the `command' builtin does not change whether or not a builtin it shadows is treated as an assignment builtin. h. The `return' and `exit' builtins accept negative exit status arguments. i. The word completion code checks whether or not a filename containing a shell variable expands to a directory name and appends `/' to the word as appropriate. The same code expands shell variables in command names when performing command completion. j. In Posix mode, it is now an error to attempt to define a shell function with the same name as a Posix special builtin. k. When compiled for strict Posix conformance, history expansion is disabled by default. l. The history expansion character (!) does not cause history expansion when followed by the closing quote in a double-quoted string. m. `complete' and its siblings compgen/compopt now takes a new `-o noquote' option to inhibit quoting of the completions. n. Setting HISTSIZE to a value less than zero causes the history list to be unlimited (setting it 0 zero disables the history list). o. Setting HISTFILESIZE to a value less than zero causes the history file size to be unlimited (setting it to 0 causes the history file to be truncated to zero size). p. The `read' builtin now skips NUL bytes in the input. q. There is a new `bind -X' option to print all key sequences bound to Unix commands. r. When in Posix mode, `read' is interruptible by a trapped signal. After running the trap handler, read returns 128+signal and throws away any partially-read input. s. The command completion code skips whitespace and assignment statements before looking for the command name word to be completed. t. The build process has a new mechanism for constructing separate help files that better reflects the current set of compilation options. u. The -nt and -ot options to test now work with files with nanosecond timestamp resolution. v. The shell saves the command history in any shell for which history is enabled and HISTFILE is set, not just interactive shells. w. The shell has `nameref' variables and new -n(/+n) options to declare and unset to use them, and a `test -R' option to test for them. x. The shell now allows assigning, referencing, and unsetting elements of indexed arrays using negative subscripts (a[-1]=2, echo ${a[-1]}) which count back from the last element of the array. y. The {x}<word redirection feature now allows words like {array[ind]} and can use variables with special meanings to the shell (e.g., BASH_XTRACEFD). z. There is a new CHILD_MAX special shell variable; its value controls the number of exited child statues the shell remembers. aa. There is a new configuration option (--enable-direxpand-default) that causes the `direxpand' shell option to be enabled by default. bb. Bash does not do anything special to ensure that the file descriptor assigned to X in {x}<foo remains open after the block containing it completes. cc. The `wait' builtin has a new `-n' option to wait for the next child to change status. dd. The `printf' %(...)T format specifier now uses the current time if no argument is supplied. ee. There is a new variable, BASH_COMPAT, that controls the current shell compatibility level. ff. The `popd' builtin now treats additional arguments as errors. gg. The brace expansion code now treats a failed sequence expansion as a simple string and will continue to expand brace terms in the remainder of the word. hh. Shells started to run process substitutions now run any trap set on EXIT. ii. The fc builtin now interprets -0 as the current command line. jj. Completing directory names containing shell variables now adds a trailing slash if the expanded result is a directory. kk. `cd' has a new `-@' option to browse a file's extended attributes on systems that support O_XATTR. ll. The test/[/[[ `-v variable' binary operator now understands array references. 2. New Features in Readline a. Readline is now more responsive to SIGHUP and other fatal signals when reading input from the terminal or performing word completion but no longer attempts to run any not-allowable functions from a signal handler context. b. There are new bindable commands to search the history for the string of characters between the beginning of the line and the point (history-substring-search-forward, history-substring-search-backward) c. Readline allows quoted strings as the values of variables when setting them with `set'. As a side effect, trailing spaces and tabs are ignored when setting a string variable's value. d. The history library creates a backup of the history file when writing it and restores the backup on a write error. e. New application-settable variable: rl_filename_stat_hook: a function called with a filename before using it in a call to stat(2). Bash uses it to expand shell variables so things like $HOME/Downloads have a slash appended. f. New bindable function `print-last-kbd-macro', prints the most-recently- defined keyboard macro in a reusable format. g. New user-settable variable `colored-stats', enables use of colored text to denote file types when displaying possible completions (colored analog of visible-stats). h. New user-settable variable `keyseq-timout', acts as an inter-character timeout when reading input or incremental search strings. i. New application-callable function: rl_clear_history. Clears the history list and frees all readline-associated private data. j. New user-settable variable, show-mode-in-prompt, adds a characters to the beginning of the prompt indicating the current editing mode. k. New application-settable variable: rl_input_available_hook; function to be called when readline detects there is data available on its input file descriptor. l. Readline calls an application-set event hook (rl_event_hook) after it gets a signal while reading input (read returns -1/EINTR but readline does not handle the signal immediately) to allow the application to handle or otherwise note it. m. If the user-settable variable `history-size' is set to a value less than 0, the history list size is unlimited. n. New application-settable variable: rl_signal_event_hook; function that is called when readline is reading terminal input and read(2) is interrupted by a signal. Currently not called for SIGHUP or SIGTERM. o. rl_change_environment: new application-settable variable that controls whether or not Readline modifies the environment (currently readline modifies only LINES and COLUMNS).
2014-03-01whitespacedholland1-4/+4
2014-03-01Use the HOMEPAGE for this version of rc, not the plan9 one.dholland1-2/+3
(but keep the plan9 url for reference)
2014-02-07Remove doxygen build dependency. I don't see it used anywhere in a build,wiz1-4/+2
and removing it doesn't change the list of installed files. Bump PKGREVISION. Requested by Zbigniew Baniewski <zb@islandsoft.pl>.
2014-01-26Update mksh to R49.bsiegert3-11/+11
R49 is a recommended bugfix release: - [tg] dot.mkshrc: fix two issues with the cd wrapper - [tg] Unbreak set +p (wider issue still to be addressed) - [Steffen Daode Nurpmeso] Use WCONTINUED with waitpid(2) - [millert] Add proper suspend builtin handling tty(4) and setpgrp(2) - [tg] Sanitise and slightly optimise control character handling - [tg] Add O_BINARY to all open(2) calls for OS/2 kLIBC support - [tg] Generate option strings for shell, set, ulimit at compile time - [Steffen Daode Nurpmeso] Drop ISTRIP termios(4) mode - [tg] Mention negative history numbers, octals in the manpage - [tg] Make check.pl work with Perl < 5.6.1 again - [tg] Detect getsid(2) and skip the oksh suspend builtin otherwise - [tg] Document that set -o noclobber is unsafe for tempfiles - [tg] Update to Unicode 6.3.0 - [RT] Restore some portability - [tg] Fix parsing positional argument variable names - [tg] Sprinkle a few __attribute__((__pure__)); fix warnings - [tg] Fix build on OSX: always use our wcwidth code; only use our strlcpy(3) code if the OE doesn’t provide one (prompted by jonthn on IRC) - [tg] Optimise sh -c to exec even in MKSH_SMALL - [tg] Use new BAFH for hashing
2014-01-23Remove REPLACE_* section for non-existing file.wiz1-6/+2
Mark as not for python-3.x.
2014-01-11increment the pkgrevision as we've fixed a bugchopps1-2/+2
2014-01-11Patch in fix from readline git repo for upcoming readline 6.3. This fixeschopps2-1/+81
the vi-mode cc, dd, yy commands so that they actually cut/yank the text from the input text.
2014-01-11Revbump after updating tcl/tk.adam1-2/+2
2014-01-09Mark NOT_FOR_PLATFORM for SunOS 5.10 and newer, no OS static libraries.jperkin1-1/+4
2014-01-09Avoid linking statically on SunOS.jperkin1-1/+7
2014-01-08Update to 5.0.5ryoon7-53/+135
* Fix build on Debian GNU/kFreeBSD 7.3 * Update MASTER_SITES Changelog: This is version 5.0.5 of the shell. This is a stable release. There are minor new features as well as bug fixes since 5.0.2. 5.0.3 and 5.0.4 were short-lived releases with most of the features of 5.0.5 that were replaced owing to significant bugs. Incompatibilities between 5.0.2 and 5.0.5 ----------------------------------------- The "zshaddhistory" hook mechanism documented in the zshmisc manual page has been upgraded so that a hook returning status 2 causes a history line to be saved on the internal history list but not written to the history file. Previously any non-zero status return would cause the line not to be saved on the history at all. It is recommended to use status 1 for this (indeed most shell users would naturally do so).
2013-12-09Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes.obache2-6/+6
Bump PKGREVISION for runtime dependency pattern changed packages.
2013-10-31Fix build with texinfo 5.xjperkin2-1/+18
2013-10-21Update shells/lshell to 0.19.6gls3-10/+19
Upstream changes: ----------------- === v0.9.16 14/08/2013 === * Added support to login script. Thank you Laurent Debacker for the patch. * Fixed auto-complete failing with "-" * Fixed bug where forbidden commands still execute if strict=1 * Fixed auto-completion complete of forbidden paths * Fixed wrong parsing &, | or ; characters * Added urandom function definition for python 2.3 compat * Corrected env variable expansion * Add support for cd command in aliases * Split lshellmodule in multiple files under the lshell directory * Fixed check_secure function to ignore quoted text * Fixed multiple spaces escaping forbidden filtering * Fixed log file permissions 644 -> 600 * Added possibility to override config file option via command-line * Enabled job control when executing command * Code cleanup === v0.9.15.2 08/05/2012 === * Corrected mismatch in aliaskey variable.
2013-10-20Pass rpath option with -Wl prefix.joerg2-3/+12
2013-09-13Bump 0.12.1 to 0.12.2mef2-6/+6
(From: debian/changelog): posh (0.12.2) unstable; urgency=low * Add posh-dbg package. closes: #703343. * Disallow simple commands as function bodies. closes: #552730. -- Clint Adams <clint@debian.org> Sun, 28 Jul 2013 09:34:06 -0400