summaryrefslogtreecommitdiff
path: root/shells
AgeCommit message (Collapse)AuthorFilesLines
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
2013-08-18Update mksh to R48b.bsiegert3-28/+18
Changes: R48b is a minor bugfix update: [tg] Fix display issue with multi-line prompts and SIGWINCH R48 is a small but important bugfix update: [tg] dot.mkshrc: unbreak hd(1) function in UTF-8 mode [Jens Staal, tg] Improve buildability on Plan 9 and support kencc [tg] Clean up and improve build process and testsuite [Michael Langguth] Add multi-layer ICO file from mksh/Win32 [tg, Steffen Daode Nurpmeso] Fix interactive shell exiting on ^C or syntax error when the EXIT pseudo-signal trap was set (to anything) [tg, Daode] Display longer command excerpts in job control [tg] Rewrite Emacs mode display window sliding calculation code [tg] dot.mkshrc: “doch” now keeps standard input [tg] Reduce memory usage and improve comments and documentation R47 is a bugfix everyone must upgrade to: [tg] Do not accidentally remove lksh.1 for in-srcdir builds [tg] Fix post-build non-‘-Q’ output for lksh [tg] Silence some configure-time warnings for clang-3.2 and GCC [tg] Prevent recursion loops for namerefs; found by ormaaj [tg] Replace wcwidth code by mine based on Unicode 6.2.0 [tg, Alexander Polakov] Fix quoting in word part of ${var+word} etc. when the expression is in a quoted brace or a here document [tg] Fix some compiler warnings; improve sig{,handler}_t detection [tg] Keep SIGCHLD blocked in some more semi-critical code paths [tg] Fix uninitialised variable causing random nōn-numerical input to be accepted and acted upon in the select built-in command [tg] No longer chown(2)/chmod(2) the -T tty(4) argument [tg] Don’t fork(2) if the -T tty(4) argument begins with ‘!’; eliminates the need for things like oneit_line/cttyhack/etc. on Linux [jca] Fix “for var in; do” to not be interpreted as “for var; do” [tg] Use %zu for printing size_t (ipv %lu with casting around) [tg] use ${SIZE-size} for lewellyn’s cross [fgsch, espie, millert, tg] Write more testcases [millert] POSIX specifies that for && and || lists, only the exit status of the last command matters for “set -e”; fix and document [millert] check.pl: Add -T flag to set the tmpdir; use mkstemp(3) and mkdtemp(3) instead of $$ in /tmp for tempfiles [jca] Make $(<nonexistent) behave like $(cat nonexistent) [tg] Let shf_open return an errno; display why file wasn’t read [tg] Finally decide on regression-39 desired outcome (sync with AT&T ksh93 and GNU bash --posix as well as mksh behaviour) [tg] Fix post{in,de}crement in not evaluated side of e.g. ternary operator (LP#1187729) [tg] Fix “set -x” problems; add “set +o inherit-xtrace” (LP#1179287) [tg] Simplify some code [tg] Fix segfault related to mixing funsub/valsub and comsub R46 delivers these changes: [tg] dot.mkshrc: prevent lksh from running it [tg] Add the lksh manual page to the mksh distribution [tg] Make both lksh and mksh interpret numbers with a leading digit zero (‘0’) as octal precisely iff “set -o posix” is active [tg] Point out the octal digit and the integer arithmetic differences from POSuX verbosely in the manual pages (point people who need octals to “set -o posix” and who need longs to lksh) and elaborate on the horrors of ISO C Undefined Behaviour which is allowed to delete all your data [tg] Unbreak “set -o” (list flags) in lksh on LP64 machines [tg] Implement Emacs mode PgUp as Vi insert mode Cur↑ for Yofuh [tg] Allow setting both “set -o sh” and “set -o posix”, if done in the same command; shuffle around compatibility levels (mksh/lksh, with -o sh, with -o posix) again; permit a /bin/sh to set either or both [tg] Sync lksh manual page with the exact code ifdefs [tg] Change more use of signed integer to use unsigned instead [tg] Implement “set -o pipefail” like AT&T ksh93 and GNU bash do [tg] dot.mkshrc: provide hd(1) in Pure mksh™ for fallback [tg] Implement VALSUBs (value substitutions): ${|REPLY=foo;}
2013-08-01Add .ts files to completion list for mplayer. Bump PKGREVISION.wiz3-3/+17
2013-07-15* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yesryoon3-7/+3
are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-12Install emacs mode into examples directory since itwiz2-7/+6
a) doesn't work with current emacses and b) breaks the eshell mode coming with emaces. Bump PKGREVISION. Addresses PR 48050 by Memnon Anon.
2013-06-12Bump 0.12 to 0.12.1mef3-24/+6
patches/patch-main.c is deleted, upstream took fix. --------- posh (0.12.1) unstable; urgency=low * Add missing compat header include, thanks to Makoto Fujiwara. closes: #712009.
2013-06-11Makefilemef4-11/+17
- Bump version 0.3.14 to 0.12. - Add LICENSE= as gnu-gpl-v2. patches/patch-a[ab] - comment added from old cvs log Following lines are recent changes from ChangeLog. For full ChangeLog, see: https://launchpad.net/debian/+source/posh/+changelog -------- posh (0.12) * Fix shell flag handling, broken since 0.9.1. closes: #707778. posh (0.10.2) * Fix "nostrip" build. closes: #674703. * Fix Italian Language-Team email address. closes: #660020. * Don't segfault when bi_errorf(NULL) is called. closes: #674701. * Bump to Standards-Version 3.9.3. posh (0.10) unstable; urgency=low * Do not treat a bad signal passed to the trap builtin as a fatal/syntax error. posh (0.8.5) unstable; urgency=low * Apply bugfix from mksh overhauling the code for substitutions such as ${foo:-bar} and "${foo+bar}" for standards compliance and pull the test cases that go with it. * Bump to Standards-Version 3.8.4. * Switch to 3.0 (native) source format. ---------
2013-06-11Add patches/patch-main.cmef2-1/+19
to fix segmentation fault just after invocation, at least on NetBSD/amd64 6.1, which is reported as PR pkg/47917. The problem was also reported by gcc (4.5.3) as: main.c: In function 'main': main.c:206:15: warning: assignment makes pointer from integer without a cast At following location: 203 char *simplified; .... 206 simplified = canonicalize_file_name(current_wd);
2013-06-09Add support for RLIMIT_NTHR (number of threads) that appears in NetBSDbsiegert3-3/+21
6.99.x. This uses "ulimit -T" as in Linux, not "-r" as in the other shells on NetBSD. Bump pkgrevision.
2013-06-06Bump PKGREVISION for libXft changes for NetBSD native X support onwiz1-2/+2
NetBSD 6, requested by tron.
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:tron1-2/+2
Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
2013-06-04Replace py-readline/buildlink3.mk with DEPENDS.wiz1-3/+3
There are no buildlink3-relevant files here, just a loadable module.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz1-2/+2
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2013-05-31Bump all packages for perl-5.18, thatwiz4-7/+8
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-05-23Simpler and more correct check for libexecinfo.joerg1-3/+2
2013-05-11Fix shells/fish NetBSD version detection for libexecinfo.riastradh1-2/+2
2013-05-11Oops -- use the proper conditional for USE_CROSS_COMPILE.riastradh1-2/+2
Had been flailing when the CONFIGURE_ENV setting didn't take, but this turned out to be a red herring, and I forgot to back it out before commit.
2013-05-11Kludgily fix tcsh cross-build by passing NATIVE_CC.riastradh1-1/+7
Should patch the configure script to respect the environment setting of CC_FOR_GETHOST (or CC_FOR_BUILD or something), but this is less work and will do for now.
2013-05-10Removed unnecessary commentsimil1-13/+1
2013-05-10Updated bash-completion to 2.1imil6-135/+648
An extensive changelog is readable here: http://bash-completion.alioth.debian.org/files/CHANGES-1.1 http://bash-completion.alioth.debian.org/files/CHANGES-1.2 http://bash-completion.alioth.debian.org/files/CHANGES-1.3 http://bash-completion.alioth.debian.org/files/CHANGES-2.0 http://bash-completion.alioth.debian.org/files/CHANGES-2.1
2013-05-10Fix zsh cross-build on NetBSD.riastradh6-9/+302
Patch it up to use compile-tests rather than run-tests in autoconf for many of its tests (OS-independently). Teach it about the few remaining properties for NetBSD in particular. ok agc
2013-05-10Fix bash cross-build on NetBSD by pre-answering autoconf run-tests.riastradh1-1/+16
ok agc
2013-04-30Update to mksh-45.bsiegert3-18/+20
* [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
2013-04-08Remove "Trailing empty lines." and/or "Trailing white-space."rodent1-3/+3
2013-04-06"Each sed command should appear in an assignment of its own."rodent1-6/+5
2013-04-06Resolves:rodent1-2/+2
"INFO_FILES should be set to YES or yes." "Packages that install info files should set INFO_FILES." Makefile and PLIST warning, respectively.
2013-04-06'The "+=" operator should only be used with lists.'rodent1-2/+2
2013-04-02Fix build under MirBSD.bsiegert2-1/+19
2013-03-28Fix default SunOS packaging.jperkin1-2/+2
2013-03-27Add checksum for patches/patch-mksh.1.hiramatsu2-2/+4
2013-03-23Kill the .Dt override and restore installation a normal man page.joerg4-11/+40