summaryrefslogtreecommitdiff
path: root/shells
AgeCommit message (Collapse)AuthorFilesLines
2007-01-08Fix bash's default path to not have hard-coded /usr/pkg/bin but usereed1-2/+3
LOCALBASE. I think I did this last December 2005, but did bash2 package correctly. Reported by Georg Schwarz via tech-pkg.
2007-01-07Mechanically replaced man/* with ${PKGMANDIR}/* in the definition ofrillig2-5/+5
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
2006-12-06CHECK_WRKREF_SKIP is relative.joerg1-3/+3
2006-11-30Consistently only install man pages and bump revision. Easier thanjoerg4-5/+19
having to deal with different names on all platforms.
2006-11-21Added eltclsh.obache1-1/+2
2006-11-21Import eltclsh version 1.6.obache5-0/+59
Based on PR 22994 by Anthony Mallet. I modify to adapt to recent pkgsrc tree and update from 1.4 to 1.6. eltclsh (editline tcl shell) is an interactive shell for the TCL programming language. It provides command line editing, history browsing as well as variables and command completion thanks to editline features. The completion engine is programmable in a way similar to tcsh, and comes with an programmed completion for the whole TCL language by default. The package also provides elwish, an interactive interpreter for the Tk toolkit.
2006-11-05Bump PKGREVISION to 5. There is no need to depend anymoreseb1-3/+2
on p5-XML-LibXML-XPathContext package which is about to be deleted: the p5-XML-LibXML package now provides the perl XML::LibXML::XPathContext module.
2006-10-22pkglint fixes.wiz1-3/+3
2006-10-22Add patch for bash-3.2 update (broken ru.po file).wiz1-0/+8
2006-10-22Update to 3.2:wiz8-223/+19
This document details the changes between this version, bash-3.2-release, and the previous version, bash-3.2-beta. 1. Changes to Bash a. Fixed a bug that caused the temporary environment passed to a command to affect the shell's environment under certain circumstances. b. Fixed a bug in the printf builtin that caused the %q format specifier to ignore empty string arguments. c. Improved multibyte character environment detection at configuration time. d. Fixed a bug in the read builtin that left spurious escape characters in the input after processing backslashes when assigning to an array variable. 2. Changes to Readline a. Fixed a redisplay bug that occurred in multibyte-capable locales when the prompt was one character longer than the screen width. ------------------------------------------------------------------------------ This document details the changes between this version, bash-3.2-beta, and the previous version, bash-3.2-alpha. 1. Changes to Bash a. Changed the lexical analyzer to treat locale-specific blank characters as white space. b. Fixed a bug in command printing to avoid confusion between redirections and process substitution. c. Fixed problems with cross-compiling originating from inherited environment variables. d. Added write error reporting to printf builtin. e. Fixed a bug in the variable expansion code that could cause a core dump in a multi-byte locale. f. Fixed a bug that caused substring expansion of a null string to return incorrect results. g. BASH_COMMAND now retains its previous value while executing commands as the result of a trap, as the documentation states. 2. Changes to Readline a. Fixed a bug with prompt redisplay in a multi-byte locale to avoid redrawing the prompt and input line multiple times. b. Fixed history expansion to not be confused by here-string redirection. c. Readline no longer treats read errors by converting them to newlines, as it does with EOF. This caused partial lines to be returned from readline(). ------------------------------------------------------------------------------ This document details the changes between this version, bash-3.2-alpha, and the previous version, bash-3.1-release. 1. Changes to Bash a. Fixed a source bug that caused the minimal configuration to not compile. b. Fixed memory leaks in error handling for the `read' builtin. c. Changed the [[ and (( compound commands to set PIPESTATUS with their exit status. d. Fixed some parsing problems with compound array assignments. e. Added additional configuration changes for: NetBSD (incomplete multibyte character support) f. Fixed two bugs with local array variable creation when shadowing a variable of the same name from a previous context. g. Fixed the `read' builtin to restore the correct set of completion functions if a timeout occurs. h. Added code to defer the initialization of HISTSIZE (and its stifling of the history list) until the history file is loaded, allowing a startup file to override the default value. i. Tightened up the arithmetic expression parsing to produce better error messages when presented with invalid operators. j. Fixed the cross-compilation support to build the signal list at shell invocation rather than compile time if cross-compiling. k. Fixed multibyte support for non-gcc compilers (or compilers that do not allow automatic array variable sizing based on a non-constant value). l. Several fixes to the code that manages the list of terminated jobs and their exit statuses, and the list of active and recently-terminated jobs to avoid pid aliasing/wraparound and allocation errors. m. Fixed a problem that allowed scripts to die due to SIGINT while waiting for children, even when started in the background or otherwise ignoring SIGINT. n. Fixed a bug that caused shells invoked as -/bin/bash from not being recognized as login shells. o. Fixed a problem that caused shells in the background to give the terminal to a process group other than the foreground shell process group. p. Fixed a problem with extracting the `varname' in ${#varname}. q. Fixed the code that handles SIGQUIT to not exit immediately -- thereby calling functions that may not be called in a signal handler context -- but set a flag and exit afterward (like SIGINT). r. Changed the brace expansion code to skip over braces that don't begin a valid matched brace expansion construct. s. Fixed `typeset' and `declare' to not require that their shell function operands to be valid shell identifiers. t. Changed `test' to use access(2) with a temporary uid/euid swap when testing file attributes and running setuid, and access(2) in most other cases. u. Changed completion code to not attempt command name completion on a line consisting solely of whitespace when no_empty_command_completion is set. v. The `hash' builtin now prints nothing in posix mode when the hash table is empty, and prints a message to that effect to stdout instead of stderr when not in posix mode. w. Fixed a bug in the extended pattern matching code that caused it to fail to match periods with certain patterns. x. Fixed a bug that caused the shell to dump core when performing filename generation in directories with thousands of files. y. Returned to the original Bourne shell rules for parsing ``: no recursive parsing of embedded quoted strings or ${...} constructs. z. The inheritence of the DEBUG, RETURN, and ERR traps is now dependent only on the settings of the `functrace' and `errtrace' shell options, rather than whether or not the shell is in debugging mode. aa. Fixed a problem with $HOME being converted to ~ in the expansion of members of the DIRSTACK array. bb. Fixed a problem with quoted arguments to arithmetic expansions in certain constructs. cc. The command word completion code now no longer returns matching directories while searching $PATH. dd. Fixed a bug with zero-padding and precision handling in snprintf() replacement. ee. Fixed a bug that caused the command substitution code not to take embedded shell comments into account. ff. Fixed a bug that caused $((...);(...)) to be misinterpreted as an arithmetic substitution. gg. Fixed a bug in the prompt expansion code that inappropriately added a \001 before a \002 under certain circumstances. hh. Fixed a bug that caused `unset LANG' to not properly reset the locale (previous versions would set the locale back to what it was when bash was started rather than the system's "native" locale). ii. Fixed a bug that could cause file descriptors > 10 to not be closed even when closed explicitly by a script. jj. Fixed a bug that caused single quotes to be stripped from ANSI-C quoting inside double-quoted command substitutions. kk. Fixed a bug that could cause core dumps when `return' was executed as the last element of a pipeline inside a shell function. ll. Fixed a bug that caused DEBUG trap strings to overwrite commands stored in the jobs list. 2. Changes to Readline a. Fixed a problem that caused segmentation faults when using readline in callback mode and typing consecutive DEL characters on an empty line. b. Fixed several redisplay problems with multibyte characters, all having to do with the different code paths and variable meanings between single-byte and multibyte character redisplay. c. Fixed a problem with key sequence translation when presented with the sequence \M-\C-x. d. Fixed a problem that prevented the `a' command in vi mode from being undone and redone properly. e. Fixed a problem that prevented empty inserts in vi mode from being undone properly. f. Fixed a problem that caused readline to initialize with an incorrect idea of whether or not the terminal can autowrap. g. Fixed output of key bindings (like bash `bind -p') to honor the setting of convert-meta and use \e where appropriate. h. Changed the default filename completion function to call the filename dequoting function if the directory completion hook isn't set. This means that any directory completion hooks need to dequote the directory name, since application-specific hooks need to know how the word was quoted, even if no other changes are made. i. Fixed a bug with creating the prompt for a non-interactive search string when there are non-printing characters in the primary prompt. j. Fixed a bug that caused prompts with invisible characters to be redrawn multiple times in a multibyte locale. k. Fixed a bug that could cause the key sequence scanning code to return the wrong function. l. Fixed a problem with the callback interface that caused it to fail when using multi-character keyboard macros. m. Fixed a bug that could cause a core dump when an edited history entry was re-executed under certain conditions. n. Fixed a bug that caused readline to reference freed memory when attmpting to display a portion of the prompt. 3. New Features in Bash a. Changed the parameter pattern replacement functions to not anchor the pattern at the beginning of the string if doing global replacement - that combination doesn't make any sense. b. When running in `word expansion only' mode (--wordexp option), inhibit process substitution. c. Loadable builtins now work on MacOS X 10.[34]. d. Shells running in posix mode no longer set $HOME, as POSIX requires. e. The code that checks for binary files being executed as shell scripts now checks only for NUL rather than any non-printing character. f. Quoting the string argument to the [[ command's =~ operator now forces string matching, as with the other pattern-matching operators. 4. New Features in Readline a. Calling applications can now set the keyboard timeout to 0, allowing poll-like behavior. b. The value of SYS_INPUTRC (configurable at compilation time) is now used as the default last-ditch startup file. c. The history file reading functions now allow windows-like \r\n line terminators.
2006-10-21Fixed PKGMANDIR.rillig1-3/+4
2006-10-17Update osh to 060124.obache3-8/+9
Patch provided by Martin Wilke via PR 34313. [osh-060124]: Makefile: * Added targets for building/installing sh6(1) and glob6(1). Refer to the README file for further details. * Removed the `check-sh6' target since the tests were originally written for osh(1) and sh6(1) as Thompson-shell reimplementations, not ports. sh6: * Changed sh6(1) from being a reimplementation which is compiled from the same sources as osh(1) to being a port of the original Thompson shell from Sixth Edition Unix. Refer to the CHANGES_sh-to-sh6 file for further details. osh: C: Treat both `( ; )' and `( & )' as syntax errors. C: Print the process ID for each command of an asynchronous pipeline, not just the last command. C: Added the `newgrp' special command. It is similar to `login' except that the newgrp(1) utility replaces the current interactive shell rather than the login(1) utility. * When opening `/dev/null' is needed for an asynchronous command, call open(2) w/ the O_RDONLY flag instead of O_RDWR.
2006-10-09Flag a number of packages I use as supporting (user-)destdir.joerg1-6/+8
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
2006-10-07This package needs texinfo 4.1 or lator. (I found on NetBSD 1.6.2 whichtaca1-1/+2
has texinfo 4.0 on base system.)
2006-10-05Prevent this package from scanning the whole filesystem during therillig1-1/+6
install phase.
2006-10-04Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.wiz2-4/+4
2006-10-03Update {static-,}ast-ksh to 2006-02-14 version,obache2-9/+9
patch provided by Martin Wilke in PR 34575. Changes: too many to list, See PR 34575.
2006-09-15+ mkshjoerg1-1/+2
2006-09-15Import mksh. From Thorsten Glaser in private mail.joerg4-0/+67
From DESCR: mksh is the MirBSD enhanced version of the Public Domain Korn shell (pdksh), a bourne-compatible shell which is largely si- milar to the original AT&T Korn shell. It includes bug fixes and feature improvements in order to produce a modern, robust shell good for interactive and especially script use.
2006-09-03Update shells/scsh to 0.6.7.kristerw5-48/+37
New in this release ===================== ** Support for interix ** Ignoring of synchronous signals The procedures IGNORE-SIGNAL and HANDLE-SIGNAL-DEFAULT have been added. ** Support for gcc 4.0 ** 0.6 for module path The standard module path now contains ${prefix}/lib/scsh/modules/0.6 in addition to $prefix/lib/scsh/modules for compatibility with install-lib ** New implementation of open-pty Instead of search for /dev/pty??, scsh now tries a wide variety of ways to aquire a new pty and the corresponding tty. ** Bug fixes argv[0] is now the first element of command-line Fixes found by new test suite Regexp for empty string Argument checking for COPY-BYTES! GC_PROTECTs for send_substring format_date support for #f timezone Added predicates for user-info and group-info Reaping of stopped processes: Do not mark stopped processes as dead md5-digest-for-port | regexps return char-sets standard-let in srfi-5 (%)read-delimited! checks for mutable buffer leap second for srfi-19 The default image for the scshvm is now the installed scsh.image.
2006-09-03Update to 3.1pl17, provided by Martin Wilke in PR 34301:wiz2-5/+56
Bugfixes.
2006-07-17Remove static-bash2: Superseded by bash's "static" option.wiz2-19/+1
2006-06-20USE_TOOLS+=yaccminskim1-2/+2
2006-06-15Take maintainership.wiz1-2/+2
2006-06-15Drop maintainership, I don't use this old version any longer.wiz2-4/+4
2006-06-01Ignore unknown resource types instead of bailing out.joerg2-1/+14
2006-05-26Export dynamic symbols for plugins. Fixes PR 33220.joerg1-2/+3
2006-04-27Update {static-,}ast-ksh to 2005-02-02 version.hubertf4-17/+15
Changes: too many (500) to list, mostly platform-dependent, and many added regression tests.
2006-04-18use GNU bison instead of the native yacc on IRIX 5 since the code hasschwarz1-1/+6
problems with the latter
2006-04-17Strip ${PKGLOCALEDIR} from PLISTs of packages that already obeyjlam1-3/+3
PKGLOCALEDIR and which install their locale files directly under ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now on, pkgsrc/mk/plist/plist-locale.awk will automatically handle transforming the PLIST to refer to the correct locale directory.
2006-04-07List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR.jlam13-68/+22
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-4/+4
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30* Honor PKGINFODIR.jlam2-4/+4
* List the info files directly in the PLIST.
2006-03-18A missing file in PLIST; bump revision to 4.3.2p1.uebayasi2-2/+5
2006-03-11(Re)add zsh-current.uebayasi1-1/+2
2006-03-11Re-add development release of Zsh, 4.3.2, first public release of 4.3.xuebayasi13-0/+809
branch. Major changes between versions 4.2 and 4.3 ------------------------------------------ - There is support for multibyte character sets in the line editor, though not the main shell. See Multibyte Character Support in INSTALL. - The shell can now run an installation function for a new user (one with no .zshrc, .zshenv, .zprofile or .zlogin file) without any additional setting up by the administrator. - The manual now has a Roadmap section (manual page zshroadmap) to give new users an indication of the most interesting parts of the manual. - New option PROMPT_SP, on by default, to work around the problem that the line editor can overwrite output with no newline at the end. - New option HIST_SAVE_BY_COPY (on by default): history is saved by copying and renaming instead of directly overwriting. - New redirection syntax e.g. {myfd}>file opens a new file descriptor and stores the number in $myfd, so that >&$myfd will work. Chosen not to break existing code (and to be compatible with proposals for the Korn shell). - Substitutions of the form ${var:-"$@"}, ${var:+"$@"} and similar where word-splitting is applied to the text after the :- or :+ (in particular, where the SH_WORD_SPLIT option is in effect for compatibility) now behave as in other Bourne- and POSIX-compatible shells when in the appropriate emulation mode. - New Posix-style zsh-specific tests [[:IDENT:]], [[:IFS:]], [[:IFSSPACE:]], [[:WORD:]] test if character can appear in identifier, is an IFS character, is an IFS whitespace character, or is considered as part of a word (is alphanumeric or appears in $WORDCHARS). Note the pattern code doesn't yet handle multibyte characters. - The idiom =(<<<...) is optimised so that the shell internally turns the ... into the contents of a file whose name is then substituted. - Supplied functions catch and throw provide limited support for exception handling using the `{ ... } always { ... }' syntax. - Signals now accept the SIG as part of the name for compatibility with other shells. - Editor function argument-base allows non-decimal arguments for editor widgets. - As always, there are many enhancements to completion functions.
2006-03-05* Teach the tools framework how to supply the pkgsrc version ofjlam3-7/+6
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam12-24/+24
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-20Add missing man pages to PLIST. Bump PKGREVISION.wiz2-2/+5
2006-02-15Fixed pkglint warnings.rillig1-10/+9
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg4-6/+8
2006-01-29Fixed all but one pkglint -Wall warnings.rillig1-13/+14
2006-01-24Fixed pkglint warnings, including a bugfix where ${IFS} had been usedrillig1-12/+13
instead of $${IFS}.
2006-01-24Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 becausewiz1-2/+2
of the shlib major bump. PKGREVISION++ for the dependencies.
2006-01-21Update package Makefile now that bsd.pkg.extract.mk is using thejlam1-2/+1
"extract" script for extraction. Many cases where a custom EXTRACT_CMD simply copied the distfile into the work directory are no longer needed. The extract script also hides differences between pax and tar behind a common command-line interface, so we no longer need code that's conditional on whether EXTRACT_USING is tar or pax.
2006-01-20Drop maintainership. I can't seriously be the maintainer of so manyjmmv1-2/+2
packages - specially of packages that I haven't touched for a long while or those that other people can handle better than me.
2006-01-14Update to version 2.3.2.seb3-6/+33
Changes since last packaged version (2.3.0): 2.3.2 - fixed segfault due to checking the length of variables that I forgot to remove from build_arg_vector() since the chroot root exploit fix in 2.3.0 2.3.1 - fixed stupid bug that caused rssh not to allow rsync and rdist
2006-01-08short gets promoted to int according to ISO C rules, so use int forjoerg4-2/+30
va_arg instead of short.
2006-01-07Remove BROKEN_IN, fixed by commit to ast-ksh.wiz1-3/+1
2006-01-07Fix build on NetBSD with statvfs. Remove BROKEN_IN.wiz3-4/+19