Commit graph

661 commits

Author SHA1 Message Date
obache
19ef338c5b Import eltclsh version 1.6.
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-21 15:27:42 +00:00
seb
c0e51e6dc7 Bump PKGREVISION to 5. There is no need to depend anymore
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-11-05 14:08:20 +00:00
wiz
f0dfa5854f pkglint fixes. 2006-10-22 11:19:24 +00:00
wiz
7ed4f23584 Add patch for bash-3.2 update (broken ru.po file). 2006-10-22 11:18:39 +00:00
wiz
d59e5c8ced Update to 3.2:
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-22 11:18:10 +00:00
rillig
b8c6a5e566 Fixed PKGMANDIR. 2006-10-21 11:39:16 +00:00
obache
72be67100e Update osh to 060124.
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-17 12:31:22 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +00:00
taca
3ef21cd6b9 This package needs texinfo 4.1 or lator. (I found on NetBSD 1.6.2 which
has texinfo 4.0 on base system.)
2006-10-07 08:21:42 +00:00
rillig
380d1a0655 Prevent this package from scanning the whole filesystem during the
install phase.
2006-10-05 01:11:41 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +00:00
obache
668a4007e5 Update {static-,}ast-ksh to 2006-02-14 version,
patch provided by Martin Wilke in PR 34575.

Changes: too many to list,
See PR 34575.
2006-10-03 14:32:37 +00:00
joerg
0eac970e5d + mksh 2006-09-15 13:02:09 +00:00
joerg
f260bb8026 Import mksh. From Thorsten Glaser in private mail.
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-15 13:00:37 +00:00
kristerw
8a0d514cc3 Update shells/scsh to 0.6.7.
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-03 11:39:08 +00:00
wiz
bf4d0ad23c Update to 3.1pl17, provided by Martin Wilke in PR 34301:
Bugfixes.
2006-09-03 08:30:42 +00:00
wiz
9da8d97238 Remove static-bash2: Superseded by bash's "static" option. 2006-07-17 16:58:04 +00:00
minskim
c3e75b8acf USE_TOOLS+=yacc 2006-06-20 22:19:38 +00:00
wiz
18cedddf4b Take maintainership. 2006-06-15 13:34:27 +00:00
wiz
9e63cacff4 Drop maintainership, I don't use this old version any longer. 2006-06-15 13:24:50 +00:00
joerg
a08d2c6115 Ignore unknown resource types instead of bailing out. 2006-06-01 21:16:40 +00:00
joerg
841df30c9e Export dynamic symbols for plugins. Fixes PR 33220. 2006-05-26 14:12:01 +00:00
hubertf
d6fa9a8358 Update {static-,}ast-ksh to 2005-02-02 version.
Changes: too many (500) to list,
mostly platform-dependent, and many added regression tests.
2006-04-27 15:32:14 +00:00
schwarz
f9f07203e1 use GNU bison instead of the native yacc on IRIX 5 since the code has
problems with the latter
2006-04-18 18:17:47 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
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-17 07:07:11 +00:00
jlam
2515667d5d List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR. 2006-04-07 15:28:49 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
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-04-06 06:21:32 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
uebayasi
5962c9fcd0 A missing file in PLIST; bump revision to 4.3.2p1. 2006-03-18 01:02:21 +00:00
uebayasi
1e1a5e850c (Re)add zsh-current. 2006-03-11 13:21:24 +00:00
uebayasi
7722d125ef Re-add development release of Zsh, 4.3.2, first public release of 4.3.x
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-11 13:20:15 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
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-05 16:27:22 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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-03-04 21:28:51 +00:00
wiz
76f5f16f6c Add missing man pages to PLIST. Bump PKGREVISION. 2006-02-20 23:08:20 +00:00
rillig
9357beaacf Fixed pkglint warnings. 2006-02-15 20:08:41 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
efadf75cd4 Fixed all but one pkglint -Wall warnings. 2006-01-29 01:59:35 +00:00
rillig
39c238e10e Fixed pkglint warnings, including a bugfix where ${IFS} had been used
instead of $${IFS}.
2006-01-24 20:42:49 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
jlam
758d912e33 Update package Makefile now that bsd.pkg.extract.mk is using the
"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-21 18:57:40 +00:00
jmmv
d971a332da Drop maintainership. I can't seriously be the maintainer of so many
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-20 16:15:52 +00:00
seb
23d0a8852c Update to version 2.3.2.
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-14 00:52:33 +00:00
joerg
d5d3886f1c short gets promoted to int according to ISO C rules, so use int for
va_arg instead of short.
2006-01-08 20:55:46 +00:00
wiz
76f0865976 Remove BROKEN_IN, fixed by commit to ast-ksh. 2006-01-07 16:29:15 +00:00
wiz
8c7becbc8f Fix build on NetBSD with statvfs. Remove BROKEN_IN. 2006-01-07 16:15:46 +00:00
schmonz
4db269b01e Correct BROKEN_IN definition. 2006-01-04 05:27:20 +00:00
schmonz
42428df5a0 Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
2006-01-04 04:29:05 +00:00
wiz
6e3c39e34d Update to 3.1pl1:
This is a terse description of the new features added to bash-3.1 since
the release of bash-3.0.  As always, the manual page (doc/bash.1) is
the place to look for complete descriptions.

1.  New Features in Bash

a.  Bash now understands LC_TIME as a special variable so that time display
    tracks the current locale.

b.  BASH_ARGC, BASH_ARGV, BASH_SOURCE, and BASH_LINENO are no longer created
    as `invisible' variables and may not be unset.

c.  In POSIX mode, if `xpg_echo' option is enabled, the `echo' builtin doesn't
    try to interpret any options at all, as POSIX requires.

d.  The `bg' builtin now accepts multiple arguments, as POSIX seems to specify.

e.  Fixed vi-mode word completion and glob expansion to perform tilde
    expansion.

f.  The `**' mathematic exponentiation operator is now right-associative.

g.  The `ulimit' builtin has new options: -i (max number of pending signals),
    -q (max size of POSIX message queues), and -x (max number of file locks).

h.  A bare `%' once again expands to the current job when used as a job
    specifier.

i.  The `+=' assignment operator (append to the value of a string or array) is
    now supported for assignment statements and arguments to builtin commands
    that accept assignment statements.

j.  BASH_COMMAND now preserves its value when a DEBUG trap is executed.

k.  The `gnu_errfmt' option is enabled automatically if the shell is running
    in an emacs terminal window.

l.  New configuration option:  --single-help-strings.  Causes long help text
    to be written as a single string; intended to ease translation.

m.  The COMP_WORDBREAKS variable now causes the list of word break characters
    to be emptied when the variable is unset.

n.  An unquoted expansion of $* when $IFS is empty now causes the positional
    parameters to be concatenated if the expansion doesn't undergo word
    splitting.

o.  Bash now inherits $_ from the environment if it appears there at startup.

p.  New shell option: nocasematch.  If non-zero, shell pattern matching ignores
    case when used by `case' and `[[' commands.

q.  The `printf' builtin takes a new option: -v var.  That causes the output
    to be placed into var instead of on stdout.

r.  By default, the shell no longer reports processes dying from SIGPIPE.

s.  Bash now sets the extern variable `environ' to the export environment it
    creates, so C library functions that call getenv() (and can't use the
    shell-provided replacement) get current values of environment variables.

t.  A new configuration option, `--enable-strict-posix-default', which will
    build bash to be POSIX conforming by default.

u.  If compiled for strict POSIX conformance, LINES and COLUMNS may now
    override the true terminal size.

2.  New Features in Readline

a.  The key sequence sent by the keypad `delete' key is now automatically
    bound to delete-char.

b.  A negative argument to menu-complete now cycles backward through the
    completion list.

c.  A new bindable readline variable:  bind-tty-special-chars.  If non-zero,
    readline will bind the terminal special characters to their readline
    equivalents when it's called (on by default).

d.  New bindable command: vi-rubout.  Saves deleted text for possible
    reinsertion, as with any vi-mode `text modification' command; `X' is bound
    to this in vi command mode.

e.  A new external application-controllable variable that allows the LINES
    and COLUMNS environment variables to set the window size regardless of
    what the kernel returns: rl_prefer_env_winsize
2005-12-31 00:02:27 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
snj
26917a79ea Update to 4.3, which fixes two security issues.
Note that scp compatibility is now disabled and that the only
recommended way of using scponly is with sftp.
2005-12-28 18:55:07 +00:00
seb
9ca7ae95f4 Update to version 2.3.0
Note that this is (mostly) a security fix release.

Changes since last packaged version (2.2.3):
2.3.0
 - modified chroot_helper to parse the config file, to avoid arbitrary
   chroot() (and thus root compromise)
 - numerous documentation updates
 - fix for va_start()/va_end()-related segfault on 64-bit architecture
 - small bit of code cleanup
2005-12-28 17:55:39 +00:00
reed
21430ca449 For both bash packages, use CPP to define
DEFAULT_PATH_VALUE as /usr/bin:/bin:${LOCALBASE}/bin:/usr/local/bin

(Instead of having non-existent default PATH directories.)

Bump PKGREVISION.

This is for PR 25044.

Okayed by bash2 maintainer.
2005-12-27 21:32:59 +00:00
seb
37d945e229 Lower expectations, both others' and mine: relinquish stewardship 2005-12-27 13:54:57 +00:00
schmonz
463f43526a Mark packages for pkgsrc-2005Q4 that don't build on NetBSD/i386
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.
2005-12-26 23:39:30 +00:00
abs
b5311f7827 Remove the following which breaks under the current pkgsrc infrastructure:
PKG_INFO:=              ${PKG_INFO}
PKG_CREATE:=            ${PKG_CREATE}
2005-12-19 14:12:31 +00:00
joerg
c79f412c1b Fix errno. 2005-12-19 00:28:02 +00:00
uebayasi
652605de6a Update zsh to 4.2.6.
Better DragonFly support, new complete functions (arch_archives,
arch_namespace, bzr, cplay, date, dchroot, dlocate, dpkg-cross,
git, madison, module-assistant, piuparts, quilt, toolchain-source,
urxvt, and xpdf), bug fixes, etc.
2005-12-07 03:00:50 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
snj
2305d6ce72 Update to 4.1, which brings numerous bugfixes.
While here, apply a patch from Eric Schnoebelen in PR pkg/31114
to fix a bogus reference to id.
2005-12-05 03:04:28 +00:00
uebayasi
ef27f94532 Honour PKG_SYSCONFDIR. Bump revision.
PR32026 from Geert Hendrickx.
2005-11-26 15:41:16 +00:00
joerg
88debb5c74 Also patch host.defs for completeness. 2005-11-10 23:04:10 +00:00
joerg
adae134b82 Add DragonFly to the list of BSD derived systems. 2005-11-10 22:54:09 +00:00
joerg
21f664b7fa DragonFly is a BSD, even though it doesn't end in it.
Depend on errno.h for errno.
2005-11-10 22:48:07 +00:00
joerg
a3db38db7c Depend on errno.h to provide errno. 2005-11-10 22:25:13 +00:00
joerg
82795aa82a Depend on errno.h for errno. 2005-11-10 22:21:56 +00:00
joerg
9b99e4b690 Add DragonFly to patches for standard prototypes. 2005-11-10 22:18:33 +00:00
tv
a365d0dd5b Include devel/sysexits bl3. 2005-11-08 03:55:24 +00:00
minskim
2504015bdc Rename 9rc to 9base. 2005-10-29 16:09:03 +00:00
wiz
ee85d6015b Remove a master site that does not provide the distfile any longer. 2005-10-26 00:04:54 +00:00
minskim
fc44149022 Add 9rc. 2005-10-23 20:27:44 +00:00
minskim
b3b57b6858 Import 9rc from pkgsrc-wip. Packaged by Leonard Schmidt.
This is a port of various original plan9 tools for Unix based on
plan9ports [1], mk-with-libs.tgz [2] and wmii [3].

[1] http://www.swtch.com/plan9port/
[2] http://swtch.com/plan9port/unix/
[3] http://www.wmii.net
2005-10-23 20:25:50 +00:00
rillig
f53d85efdc Sorted PLIST. 2005-10-23 15:37:24 +00:00
rillig
5b0b143fb9 Fixed pkglint warnings. 2005-10-23 15:36:48 +00:00
rillig
bd9061ca03 Fixed pkglint warning. 2005-10-23 15:26:30 +00:00
joerg
e11995dcd3 Allow the one-true-shell to work on DragonFly. Patches are included
upstream already.
2005-10-11 12:43:00 +00:00
joerg
78a5121a10 Don't declare errno, errno.h does so already. 2005-10-10 19:41:26 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
seb
de35e5afa2 Adjust HOMEPAGE. 2005-09-28 21:02:27 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
wiz
6c141f6f73 Use PKGNAME_NOREV when setting WRKSRC. Fixes bulk build problem. 2005-09-21 16:10:08 +00:00
tron
44246e4462 Fix build problem under NetBSD-current. 2005-09-20 14:18:02 +00:00
jlam
5b62763c63 Teach the +SHELLS helper script to not create an /etc/shells file if
one doesn't exist.  From now on, we only add the listed PKG_SHELL to
the /etc/shells file if it already exists.  This fixes PR pkg/27162.
2005-09-20 04:23:48 +00:00
hiramatsu
d1cbf81450 Fix PLIST on OpenBSD.
- Changed IRIX, Interix, Linux and OpenBSD share PLIST.terminfo,
  instead of PLIST for each OS.

- zsh doesn't build libzsh-4.2.5.so on OpenBSD, so PLIST.shlibs
  should be excluded.
2005-08-07 20:18:07 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
9813468816 * Separate out the shell registration into a separately unpacked script
+SHELL.

* Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell
  environment so that admins can make a choice when installing from
  binary packages.

* PKG_SHELL is now a list of paths, and if the path is relative, then it
  is taken to be relative to ${PREFIX}.  Convert packages that set
  PKG_SHELL to take advantage of this new feature by changing the full
  paths to the shells into relative paths.
2005-07-29 18:32:17 +00:00
kristerw
9cfcd847ea Quieten CHECK_WRKREF. The dumped environment variables is not a problem. 2005-07-17 15:11:36 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
grant
87fa42a177 fix build on OpenBSD, from Jason Lingohr. 2005-07-14 23:58:37 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
kristerw
b22d56bd67 Eliminate conflicting function declarations on Darwin. 2005-07-08 19:25:34 +00:00
tron
8cf4db3642 Don't enforce using the "readline" package on every platform just
because Darwin needs it (which is probably not true either). Bump package
revision after the damage from the previous revision has been fixed.
2005-07-07 21:30:54 +00:00
minskim
84b0a1ca39 Use devel/readline instead of the included readline library. Bump
PKGREVISION due to the added dependency.  This should fix PR pkg/30601.

While here, set BUILDLINK_DEPMETHOD of dependent libraries to "build"
when the "static" option is enabled.
2005-07-01 16:14:39 +00:00
minskim
8f8ee8e871 Use devel/readline instead of the included readline library. Bump
PKGREVISION due to the added dependency.

While here, set BUILDLINK_DEPMETHOD of dependent libraries to "build"
when the "static" option is enabled.

Approved by the maintainer (wiz@).
2005-07-01 16:11:05 +00:00
kristerw
52922ffe87 Change the CONFIGURE_ENV where possible to use the variables users are
supposed to set, rather than the autoconf cache variables.
2005-06-24 19:52:06 +00:00
kristerw
7623ef2caf Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-23 16:43:00 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
minskim
f285dde647 Make this package build on Linux by correcting PLIST. Fixes PR pkg/29552. 2005-06-14 18:39:29 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
419428ec4a Note where gzip or gunzip is required by the package since it isn't
required by default any longer in bsd.pkg.mk under the new tools
framework.
2005-05-15 22:02:26 +00:00
jlam
b35fa31e8e Avoid using != to define OS_VER .. use :sh instead to defer evaluation
until the make targets are invoked.  This avoids needing ${ECHO} and ${SED}
in the top-level make.
2005-04-28 23:29:06 +00:00
seb
859cae902e Add & enable rssh. 2005-04-20 16:23:55 +00:00
seb
ae04c57713 Initial import of rssh version 2.2.3 into the NetBSD Packages Collection.
Based on rssh package in pkgsrc-wip by pancake at phreaker dot net,
slightly modified and updated to latest version by myself.

Claim stewardship.

Rssh is a restricted shell for use with OpenSSH, allowing only scp
and/or sftp. For example, if you have a server which you only want
to allow users to copy files off of via scp, without providing
shell access, you can use rssh to do that.
2005-04-20 16:21:15 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
3980c78f5a Turn off on Interix, as it takes almost a day to build to the point of dying.
Will investigate and fix later....
2005-04-08 12:56:33 +00:00
adam
f3f2f5a5dd Changes 4.2.5:
* Bug-fix release
* Fixes few configuration problems, notably on MacOSX
2005-04-07 14:16:41 +00:00
jmmv
cec42d64e8 Update to 0.3.14:
posh (0.3.14) unstable; urgency=medium

  * ifdef out shf_smprintf.

 -- Clint Adams <schizo@debian.org>  Fri, 19 Nov 2004 13:11:55 -0500

posh (0.3.13) unstable; urgency=medium

  * Some documentation cleanup and fixes.
  * Get the Latin-1 non-breeakable spaces out of the manpage for
    now.  closes: #280624.
    Hopefully the DocBook XSL stylesheets will be fixed some year.

 -- Clint Adams <schizo@debian.org>  Fri, 12 Nov 2004 14:20:35 -0500

posh (0.3.12) unstable; urgency=medium

  * Add regression test for unset builtin.  closes: #273346.
  * Make "eval false || true" not exit with -e.  closes: #269066.

 -- Clint Adams <schizo@debian.org>  Sat, 25 Sep 2004 22:41:59 -0400

posh (0.3.11) unstable; urgency=medium

  * Fix return value of unset builtin when parameters are not set;
    (according to POSIX, this is not an error condition).

 -- Clint Adams <schizo@debian.org>  Thu, 23 Sep 2004 22:08:57 -0400

posh (0.3.10) unstable; urgency=low

  * Remove extraneous operators from "test" builtin (-a, -G, -H, -k,
    -O, -o, <, >, -ef, -nt, -ot).
2005-03-29 17:02:31 +00:00
kim
f26468b3d9 Make it compile on 1.6.2, I think. But it seems subtly odd, still... 2005-03-29 04:38:10 +00:00
kim
670d32bd4e Upgrade to tcsh 6.14.00
New Features:
    * UTF-8 handling for both singe and double width characters
    * termname builtin for testing whether a terminal type is
      available in termcap/terminfo
2005-03-25 19:13:24 +00:00
wiz
494514760e Remove OpenBSD RCS Id, not really useful here. 2005-03-24 21:16:14 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
garbled
7fcd2cee80 Add a patch allowing compilation of bash on AIX 4.3.3. Tested not to
impact NetBSD/i386 build.  Should also not impact aix5 builds.
2005-03-15 02:05:49 +00:00
tv
332851295b nb1: Use standard build and install processes via ${BSD_INSTALL_*}. 2005-03-10 16:58:39 +00:00
tv
01f69d2a2e Add Interix-specific system call bits. 2005-03-10 15:18:31 +00:00
adam
208f6307d0 Changes 050219:
examples:
	* Updated the example initialization files.
	* Added a few command files to give users a head start
	  in scripting the shell.

osh.1 and sh6.1:
	* Made a few more minimal revisions.

osh and sh6:
	* Did a little more code cleanup.
2005-03-08 09:05:46 +00:00
jschauma
bba906c22c Make this work on IRIX.
NB: this needs an install-sh that supports "-S -f", as in rev. 1.3 of
bootstrap/files/install-sh.in.  After installing that install-sh, set
_STRIPFLAG_INSTALL?=    -S -f
in mk/platform/IRIX.mk and all should be peachy.  This will be done
correctly eventually, don't worry. :-)
2005-03-04 03:59:32 +00:00
wiz
4de5918644 Update to 3.0pl16, pulling in the first 16 official patches for bash.
Various bugfixes.
Some whitespace cleanup while here.
2005-02-27 23:06:50 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
wiz
55a28199d8 agc agreed to maintain this package. 2005-02-24 12:19:13 +00:00
adam
dbf06dff04 Changes 4.2.4:
* Bug-fix release
2005-02-21 11:07:37 +00:00
snj
59f7988c65 Kill some hardcoded UID, GID, and mode settings that were being passed to
${INSTALL}.  This should fix the problem seen in minskim's Linux bulk build.
2005-02-20 06:46:07 +00:00
snj
632d8cbb27 Add scponly. 2005-01-28 02:28:21 +00:00
snj
6c4bd72aca Initial import of scponly-4.0, a tiny shell that only permits scp and sftp. 2005-01-28 02:27:29 +00:00
tv
d3ce098fd0 Add another Interix hack -- ut_xtime is the obsolescent name for utmpx.ut_tv. 2005-01-25 18:22:24 +00:00
tv
f8de7ad95c Pull in PLIST.${OPSYS} if existant. 2005-01-25 13:13:55 +00:00
tv
4aff0ffd55 Pick up previously orphaned terminfo.so installed file. 2005-01-25 13:11:16 +00:00
tv
8b003f9cdd Extend other *BSD build fixes to Interix. 2005-01-25 04:46:29 +00:00
tv
23beb381d1 Fix GETPGRP_VOID test for Interix in configure. 2005-01-24 22:27:48 +00:00
tv
3375e2cf50 Interix has no general sync() syscall. 2005-01-24 21:24:47 +00:00
tv
629d4acd88 Partly Interix fix, but also readonly-root fix: Don't use "-w '/'" to
determine whether to install in PREFIX/share.  Just do it anyway.
2005-01-21 03:53:17 +00:00
tv
3e2532ac47 Use nbcompat-based build on Interix, too (missing <sysexits.h>). 2005-01-21 03:43:10 +00:00
uebayasi
07332d225d Teach about Interix further. From Yoshifumi Hiramatsu. 2005-01-21 02:40:41 +00:00
uebayasi
2da652a15b Fix build on Interix. PR26847, from Hiramatsu Yoshifumi. 2005-01-18 12:44:53 +00:00
kristerw
fb58692417 Set PKGNAME to static-${PKGNAME} instead of building it out of DISTNAME,
to make it consistent with the non-static package.
2005-01-16 12:01:23 +00:00
wiz
1c1f626158 Update to 041028, closing PR 27765.
Changes that improve compatibility w/ the Sixth Edition Unix shell
are marked w/ a `C:' in the details below.

-------------------------------------------------------------------------------
[osh-041028]:
*.1:
	* Fixed a few typos in osh.1 and sh6.1.

	* Did a little fine tuning of osh.1 and sh6.1 to hopefully
	  eliminate some incomplete and/or unclear explanations.

	* Did the same for both if.1 and goto.1.

osh and sh6:
	* Fixed an annoying bug introduced in the previous release...
	  The way error messages were printed in error() was not accounting
	  for the fact that the standard error stream is quite often (if not
	  always) unbuffered by default.  This could make some error messages
	  difficult to read when a pipeline was involved.  A little example:
	  Before (unfixed):
		% foo|bar|baz
		foo: not foundbar: not foundbaz: not found


	  After (fixed):
		% foo|bar|baz
		foo: not found
		bar: not found
		baz: not found

-------------------------------------------------------------------------------
[osh-041018]:
	This release includes sh6 in addition to osh, if, and goto.
	Sh6 is simply osh without the enhancements.  It is built from the
	same sources as osh, but it is not built or installed by default.

Makefile:
	* Added targets for sh6 so that it can optionally be built, tested,
	  and installed if desired.

osh and sh6:
	* Split the code into modules.
	  This is primarily for developer sanity... ;)
	  The new files are osh.h, main.c, parse.c, and exec.c.

	* If (geteuid() != getuid() || getegid() != getgid()) is true,
	  print a nice error message and exit with a status of 2.

	* Strip all NUL characters from the shell's standard input as it is
	  being read into the command line buffer.  Input to the shell is
	  expected to be text.

	* Changed the way the shell handles non-seekable files.
	  This is for both initialization files (osh only) and command files.
	  Do not block on open(2); open it and determine if it is a regular
	  file (or seekable).  If it is not a regular file or is not seekable,
	  exit with an error.  If seekable, reset the file for blocking I/O
	  and continue as normal.

	  Note that you can still read commands from FIFOs if you want.
	  Instead of doing `osh myfifo', you can either do `osh <myfifo'
	  or `osh - my list of positional parameters <myfifo'.

	* Changed the error handling to use stdarg(3).
	  This allows for more code consistency and makes it easier
	  to handle all errors with just one line of code.

osh only:
	* Added another possible initialization file for osh: $HOME/.oshrc
	  Osh only attempts to execute commands from this file if it is an
	  interactive shell.  In the case of a login shell, osh tries this
	  file only after it tries both /etc/osh.login and $HOME/.osh.login.

	* Made osh less strict about errors in initialization files.
	  Previously, common shell-detected errors in any of the files
	  were generally treated in the same way as they would have been
	  treated in a command file (i.e., the error was fatal).  Realizing
	  that this potentially caused difficulty and annoyance for the user,
	  I opted to change it so that these types of errors are handled as
	  they are when osh is interactive.

	  This should make it easier for the user to debug
	  initialization files if needed.

	* Added a `source' special command.
	  It is functionally similar to the way this command works in csh(1).
	  See osh(1) for details.

if:
	* Changed ARGMAX from 50 to 256.

	* If (geteuid() != getuid() || getegid() != getgid()) is true,
	  print a nice error message and exit with a status of 2.

	* Added a few new primaries: `-h', `-s', `-t', and `-x'
	  See if(1) for details.

goto:
	* Changed the size of the label buffer from 128 to 1024.

	* Do not require the `:' of a labelled line to appear in column 1.
	  Instead, allow the `:' to optionally be preceded by blanks so that
	  labelled lines can be indented in command files.  See goto(1) for
	  more details if needed.

	* Eliminated unnecessary calls to strcmp(3) whenever a possible label
	  cannot possibly match the label argument given on the command line.

	* Give an error if any NUL character is encountered in the input.

	* Give an error if a zero-length string is given as the label argument.

-------------------------------------------------------------------------------
[osh-040812]:
osh.c:
	* Changed the way unused pipe descriptors are handled in the child
	  process after fork().  This fixes a bug where the pipe in a pipeline
	  such as `( cat /dev/zero ) | sleep 1' would never enter an EOF state.
	  Previously, the close-on-exec flag was being set for the descriptors
	  in question.  Of course, this did not work for the above and similar
	  cases.  So, the descriptors in question are now close()d explicitly.

	* Made some final changes to globbing to allow for more sensible
	  behaviour WRT quoting.  The functions affected are: globargs(),
	  globchar(), and striparg().  Read and/or run `tests/glob_test.osh'
	  for details of the user-visible changes.  This script may cause
	  previous versions of the shell to dump core.

	  Basically, since striparg() had always been called *after* glob(3)
	  and since the path names generated by glob(3) cannot be trusted, it
	  ends up that the best course of action is to call striparg() *before*
	  glob(3).  This relatively simple change fixes a variety of *possible*
	  problems related to globbing.

-------------------------------------------------------------------------------
[osh-040731]:
osh.c:
	* Added bounds checking to striparg() to protect against a possible
	  buffer overflow.  Though this is unlikely to happen in the general
	  case, it is certainly *not* impossible.  This function had been
	  unprotected since at least osh-020214.

	* Added a new diagnostic, `Arg too long', to go with the
	  above-mentioned change.

	* Removed the `No directory' diagnostic from globargs().
	  It was simply not worth the trouble.  In compatible mode,
	  the `No match' diagnostic provides sufficient compatibility
	  in my opinion...

	* Changed the `chdir' command so that it only attempts to change to
	  the previous working directory when the `-' argument is *not* quoted.
	  This alows the shell to change to a directory by that name.
	  For example:
	  % mkdir -; chdir -; pwd; chdir \-; pwd; chdir -; pwd; rmdir -
	  chdir: no old directory
	  /home/jneitzel/osh_stuff/osh-040731
	  /home/jneitzel/osh_stuff/osh-040731/-
	  /home/jneitzel/osh_stuff/osh-040731

	  Remember that "-" or '-' has the same effect as the \- used above.
	  This is perhaps a little silly, but I figure if a directory *can*
	  exist then it should be possible to change to it.

	* Fixed the `<-' redirection argument so that it adheres to the
	  documentation.  This fixes a file descriptor leak in addition
	  to the incorrect behaviour.  It should be silently ignored in
	  the following case: `echo hello | grep h <-'; now it is.

-------------------------------------------------------------------------------
[osh-040723]:
osh.c:
	C: Fixed a small idiosyncrasy with the `No directory' and `No match'
	   diagnostics when running in compatible mode.  For example:
	   Before:
	   % if -d . -a -r . echo "`.' is a readable directory.";\
	     echo foo*; echo ?; echo []
	   `.' is a readable directory.
	   No match
	   No match
	   No directory

	   After:
	   % if -d . -a -r . echo "`.' is a readable directory.";\
	     echo foo*; echo ?; echo []
	   `.' is a readable directory.
	   No match
	   No match
	   No match

	   The shell should only print `No directory' when a directory
	   does not exist (ENOENT) or cannot be read (EACCES).  Yes, it is
	   expected that invalid patterns such as `[' and `[]' result in
	   the shell printing a `No match' diagnostic.

	* Changed the `<--' input redirection argument to `<-' instead.
	  This seems more consistent and will allow for possibly clearer
	  documentation in the future (if and when I add another feature
	  I've been thinking about).

fd2.[1c]:
	* Removed the fd2 utility and its manual page because of
	  possible licensing issues.

-------------------------------------------------------------------------------
[osh-040718]:
	This release is made primarily to synchronize with the new branch
	of the shell which is named `sh6'.

osh.1:
	* More revisions and clarifications...

-------------------------------------------------------------------------------
[osh-040714]:
Makefile:
	* Refined the description for _XOPEN_SOURCE a little.

osh.1:
	* General improvements...
	  This includes documenting some things that have never been very well
	  documented in this shell.

osh.c:
	C: Made changes to globbing which affect the shell in compatible mode.
	   This includes the addition of the `No directory' diagnostic which
	   was present in /etc/glob from Sixth Edition Unix.  Also, it looks
	   like I had previously misinterpreted exactly when the `No match'
	   diagnostic was supposed to be printed.  Now, when running in
	   compatible mode the shell really is compatible.  Yay =)

	* Added a `umask' special command.

	* Disallow SIGCHLD from being trapped.
	  When this signal is requested in a `trap' command, it is quietly
	  disallowed.  This is the same behaviour seen with both SIGKILL and
	  SIGSTOP.  Thus, doing a `trap + 9 17 20' quietly has no effect.

	* Made changes to how the shell builds a command's argument vector.
	  Previously, malloc(3) was used.  Now, each command in the command
	  line is simply split into `\0'-terminated words.  Each argument is
	  actually a pointer to the corresponding word in the command line.

	  The changes to parameter substitution in osh-040628 made this
	  a perfectly sensible course of action.  This change also gives
	  a microscopic improvement in run-time performance (as judged
	  by time(1)).

	  The only remaining use of malloc(3) in the shell's execution stage
	  can be found in globargs().

-------------------------------------------------------------------------------
[osh-040628]:
	Thanks to Stephen M. Jones for suggesting that osh should be able
	to read a global rc file.  Thanks to Stephen C. VanDahm for assisting
	with some portability issues found in osh-040421.  Thanks also to
	Josep Portella Florit for reviewing osh-040421, making several useful
	suggestions, and sending patches.

	BTW, many changes were made to the manual pages.
	I hope they are clear, but I trust that if they are not then someone
	might be kind enough to tell me so and/or make suggestions.

	Some new files are included:
		examples/*:	initialization file examples
		  fd2.[1c]:	the fd2 utility

Makefile:
	* Added some notes about _XOPEN_SOURCE.

	* Added a target to optionally build and install fd2.

	* Removed the compile-time definition of `CLONE'.
	  This is now a run-time option which can be toggled in order to
	  enable or disable enhancements to the shell.

osh.c:
	C: Changed how the shell does parameter substitution.
	   This was the last major incompatibility w/ the Thompson shell.
	   Now, substitution is done *before* any command-line parsing
	   takes place.

	* Added the ability for login shells to read the initialization files
	  /etc/osh.login and/or $HOME/.osh.login if they exist.  A shell is
	  considered to be a login shell if its first argument starts w/ a
	  `-' character (e.g., -osh).

	* Added a `set' command to allow shell compatibility to be toggled
	  at run time.  In addition, the shell now checks for `OSH_COMPAT'
	  in the environment to tell future invocations of the shell which
	  mode the user wishes to run in.

	* In addition to the `set' command mentioned above, the following
	  special built-in commands have been added and are available when
	  the shell is in "noclone" mode:
		exec, setenv, trap, unsetenv

	* In globargs(), use `gl_pathc == 0' to detect an unmatched pattern
	  instead of checking if glob(3) returned `GLOB_NOMATCH'.  This allows
	  for those cases where glob(3) may not be POSIX-compliant.

	* Made osh command files that are run asynchronously ignore interrupts.
	  For example, `osh runcom&' should ignore SIGINT and SIGQUIT, and now
	  it does.

	* Reverted a so-called compatibility fix made in osh-040421.
	  Now, ignore SIGINT and SIGQUIT for asynchronous commands invoked
	  from a command file.  From a usability perspective, it is simply
	  too annoying to not do it this way.

	* Changed the `exit' command so that it always terminates a shell when
	  reading commands from a file.  Previously, it only terminated a shell
	  when invoked as `osh file'.  Note that `exit' still has no effect for
	  interactive shells or `osh -c command'; this is intentional as it is
	  compatible w/ the behaviour of `exit' under the Thompson shell.

if.c:
	* Include stdlib.h for exit(3) so that OS X doesn't complain.

	* Rename exp() to expr() to avoid conflicts w/ exp(3) on OS X.
	  Strange, as math.h is not included there should not have been
	  any conflict.  Oh well, it is fixed now.

	* Enable this utility to return a meaningful exit status to the user.
	  In short, `if foo = foo' returns an exit status of 0; `if foo = bar'
	  returns an exit status of 1.  Previously, exit status was always 0.

	* Made the usage less ambiguous; corrected the documentation to reflect
	  the actual behaviour.  In short, usage is (and always has been) as
	  follows:
		if expr [command [arg ...]]

	* Added some useful conditional primaries for constructing expressions.
	  See the manual pages for details.

	* Use the stdio(3) functions instead of write(2) for printing
	  the error messages.

	* In addition, added some useful diagnostic messages which were
	  inspired by the test(1) utility from Seventh Edition Unix.

goto.c:
	* Give an error message when standard input is not seekable.
	  Previously, a label not found error would be produced instead.

fd2.c:
	* A new utility and manual page...  It is an adaptation of the PWB/Unix
	  (roughly PWB/1.0 ?) redirect diagnostic output command.  The original
	  source came from the file `spencer_pwb.tar.gz' which can be found at:

		http://www.tuhs.org/Archive/PDP-11/Distributions/usdl/
2004-12-27 21:13:01 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
tv
16b2341486 PKGREVISION bump for previous (since a binpkg already exists for the
afflicted platform).
2004-11-29 12:42:41 +00:00
tv
417ea3fbe2 Add glob workaround from <hiramatu@boreas.dti.ne.jp> in PR pkg/25908. 2004-11-29 12:41:54 +00:00
taca
3142579ba4 Add TEXINF_REQD to 4.0 to work on NetBSD 1.5.3.
Reported by mochida at Netside.
2004-11-25 16:12:54 +00:00
jlam
a2cb0e6a3e Wrapper scripts break when passed an argument that contains a newline
character, so remove it from the ast-ksh make.probe.
2004-11-12 18:08:54 +00:00
minskim
9c8273964a Add multibyte option to allow to disable multibyte support explicitly. 2004-10-23 08:16:26 +00:00
minskim
7580e8706e Append options to PKG_DEFAULT_OPTIONS instead of ${PKG_OPTIONS_VER},
following the semantic change of PKG_DEFAULT_OPTIONS.
2004-10-23 08:10:40 +00:00
minskim
1ea300c107 Enable multibyte support in default. It will be disabled by configure
if wctype_t is not available.  Bump PKGREVISION.
2004-10-23 07:48:03 +00:00
minskim
222d88df55 Convert to use bsd.options.mk and add a new option, multibyte, to
enable/disable multibyte support.  Ok'ed by wiz@.
2004-10-22 23:54:22 +00:00
martti
9e9d22e2b3 Make this work on NetBSD 1.6.2 (pkg/27330). Patch from Juan RP, minor
fixes by me.
2004-10-22 10:48:01 +00:00
xtraeme
4b3e0ef49b Remove readline dependency, it's not needed really... because bash
uses its own, and there isn't any test in the configure script.

Pointed out by wiz@.
2004-10-21 16:36:28 +00:00
xtraeme
dad314687f Added bash-3.0. 2004-10-21 03:13:02 +00:00
xtraeme
fd47e1bbdd Initial import of bash-3.0. It's imported as bash (not bash3) because
our existing bash package already is called bash2.

If you want to see the new features, please take a look at the NEWS file.
2004-10-21 03:11:14 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jmmv
d3ab314280 Fix build with gcc2. 2004-09-08 12:00:09 +00:00
recht
beb62e1008 update to posh-0.3.9
patch provided by pancake at phreaker.net in PR 26777

changes (from Debian changelog):
posh (0.3.9) unstable; urgency=medium
  * trap builtin now errors when no signals are specified.
    closes: #265103.
  * Move trap-related regression tests to their own file,
    and add one to check for error on "trap 0".

posh (0.3.8) unstable; urgency=high
  * Fix tilde expansion thinko introduced in 0.3.4.

posh (0.3.7) unstable; urgency=low
  * Remove some cruft left around from ksh functions.

posh (0.3.6) unstable; urgency=low
  * Add a better regression test for umask.
  * Drop support of ksh88 ":[#%]+"-type trimming.
  * Adjust regression tests to make sure ${blah:#blah} gives
    an error.

posh (0.3.5) unstable; urgency=low
  * Clean unused variables left after 0.3.4.
  * Add prebuild target to debian/rules.
  * Drop qsort altogether.

posh (0.3.4) unstable; urgency=low
  * Fix most of the signedness comparison warnings.
  * Remove homedir caching code.
  * Switch specials, keywords, aliases, builtins, vars, and funs hashes
    to use libc tsearch() and friends.
  * Remove old table hash routines.

posh (0.3.3) unstable; urgency=low
  * Rename custom table functions to prevent conflicts with
    b-tree functions when search.h is included.
  * Remove vestigial tracked alias code.

posh (0.3.2) unstable; urgency=low
  * Make getn() use strtol().
  * Mark unused function parameters to avoid gcc warnings.

posh (0.3.1) unstable; urgency=low
  * Use libc's instead of internal qsort.
  * Add -W to CFLAGS.
2004-08-29 14:47:07 +00:00
kim
16f34eea7e Look for libncurses also. 2004-08-27 15:14:04 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
jschauma
7cfdd46344 Make this build and install under Linux and IRIX, using ideas from
Roland Illig in PR pkg/26604.
2004-08-22 23:59:59 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
tron
961af3b5fd Set "BUILDLINK_PASSTHRU_RPATHDIRS" to stop buildlink3 from removing "/lib"
from the run time shared library path instead of trying to defeat its
option parser.
2004-08-20 16:59:58 +00:00
tron
d3d855a78c Improve handling of "ZSH_STATIC" again:
1.) Only create a dynamically linked "zsh" binary if "MKDYNAMICROOT"
    is defined and set to "yes". This way people who still use statically
    linked binaries on their root filesystem will get a static binary.
2.) Link the "zsh" binary so that it use "/libexec/ld.elf_so" and
    shared libraries from "/lib". It now works without the "/usr"
    filesystem being mounted.
2004-08-20 11:48:46 +00:00
tron
c358f9e4d0 Don't create a statically linked "zsh" binary on NetBSD system which have
dynamic library support on the root partition (e.g. 2.0 and newer). It is
enough that the "zsh" binary does *not* depend on its own shared libraries
which won't be on the root partition and we get a shell with proper I18N
support this way. Approved by Masao Uebayashi.
2004-08-20 10:36:12 +00:00
recht
3c61724371 update to zsh-4.2.1
Changes since zsh version 4.2.0
-------------------------------

- The autoload and related builtins take options -k and -z to indicate
  ksh or zsh autoloading style for given functions, making it possible
  to mix and match.

- Assignments to associative arrays can use the i and r index flags.
  For example,
    assoc[(i)alpha*]=bravo
  sets the value for the element whose key matches the pattern `alpha*';
    assoc[(r)activ*]=passive
  sets the value for the element whose current value matches the pattern
  `activ*'.

- The glob qualifier F indicates a non-empty directory.  Hence *(F)
  indicates all subdirectories with entries, *(/^F) means all
  subdirectories with no entries.

- fc -p and fc -P provide push/pop for the status of the shell's
  history (both internal and using the history file).  With automatic
  scoping (fc -ap) it becomes easy to use a temporary history in a
  function.  This has been added to the calculator function zcalc to make
  its internal history work more seamlessly.

- A new `try block' and `always block' syntax has been introduced
  to make it easier to ensure the shell runs important tidy-up code
  in the event of an error.  It also runs after a break, continue, or
  return, including a return forced by the ERR_RETURN option
  (but not an exit, which is immediate).  The syntax is:
    `{'  try-block-list `}' `always' `{' always-block-list `}'
  where no newline or semicolon may appear between `}' and `always'.
  This is compatible with all previous valid zsh syntax as an `always'
  at that point used to be a syntax error.  For example,
    { echo Code run in current shell } always { echo Tidy-up code }

- A new zle widget reset-prompt has been added to re-expand the current
  prompt.  Changes to the variable in use as well as changes in its
  expanions are both taken into account.  The same effect is now forced by
  a job change notification, making the %j prompt escape and %(j..) ternary
  expression more useful.

- The zftp module supports ports following the hostname in the normal suffix
  notation, `host:port'.  This requires IPv6 colon-style addresses to be
  specified in suitably quoted square brackets, for example:

  zftp open '[f000::baaa]'
  zftp open '[f000::baaa]:ftp'

  (the two are equivalent).

- Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG
  and EXIT are no longer executed inside other traps.  This caused
  unnecessary confusion if, for example, both DEBUG and EXIT traps
  were set.  The new behaviour is more compatible with other shells.

- New option TRAPS_ASYNC which if set allows traps to run while the
  shell is waiting for a child process.  This is the traditional zsh
  behaviour; POSIX requires the option to be unset.  In sh/ksh
  compatibility mode the option is turned off by default and the option
  letter -T turns it on, for compatibility with FreeBSD sh.
2004-08-16 16:17:39 +00:00
uebayasi
b68b052553 This can be built on Linux. No longer restricted only for NetBSD.
Reported by Roland Illig, PR26623.
2004-08-13 09:10:07 +00:00
minskim
2840e4feab Convert bash2 to use bsd.options.mk. 2004-08-07 21:03:59 +00:00
minskim
af505085b2 Make this package build on Interix. Patches provided by Hiramatsu Yoshifumi
in PR pkg/25946.
2004-08-04 03:33:40 +00:00
salo
0ac98a26de Add {BA,Z}SH_STATIC to BUILD_DEFS.
Addresses request on tech-pkg@ by Georg Schwarz.
2004-07-11 01:23:29 +00:00
minskim
51a394a206 Disable multibyte support only when wctype_t is not available. The
previous patches disabled it on NetBSD unconditionally.  Bump PKGREVISION.

Pointed out by Kibum Han.  Thanks to junyoung@ for testing.

OK'ed by schmonz@ and wiz@.
2004-06-22 14:05:39 +00:00
cjep
4cf2fa0735 lint 2004-06-11 10:01:35 +00:00
xtraeme
340624ba4b Added xsh-1.8.2. 2004-05-29 02:07:50 +00:00
xtraeme
f11cde6d8d Initial import of xsh-1.8.2 from pkgsrc-wip, packaged by pancake with
minor changes by me.

XSH is a fast and powerful command-line XML editor. It may be used to
query and modify XML documents. XSH may be used either interactivelly or
for off-line processing (like bash). XPath expressions are used to
select parts of XML document to be processed.

Both system shell and perl are accessible from XSH in a very natural
way. XSH itself is written in Perl and uses XML::LibXML bindings of
gnome-xml2 library in the background level.
2004-05-29 02:06:23 +00:00
kim
1b94f19132 Upgrade to tcsh-6.13.00:
36. V6.13.00 - 20040519
 35. V6.12.03 - 20040322
 34. turn on kanji and dspmbyte by default; add check for utf8 locales,
     and turn parsing of that automatically based on $LANG.
 33. Fix compilation issue under Windows/NT and charset incorrect patch
     (Yoshiyuki Sakakibara)
 32. completion additions (Tom Warzeka)
 31. compilation fix (Martin Kraemer)
 30. V6.12.02 - 20040221
 29. Glob completion listing addition (Tom Warzeka)
 28. BS2000 bs2cmd builtin. (Martin Kraemer)
 27. Fix interrupt resetting code when /etc startup scripts have syntax errors
     (Mark A. Grondona)
 26. Clarification of kill-ring commands (Per Hedeland)
 25. Debian completion additions (Martin Godisch)
 24. Japanese character set fixes (Juehiro-san) from debian
 23. NLS charset fixes; disabled since they only work with gnu gencat
     (Martin Godisch)
 22. Fix HPUX >= 11 resource (Jack Cummings)
 21. Handle breaksw that jumps out of loops.
 20. Revert #16. It causes worse problems.
 19. Avoid using execl() because the last NULL does not always promoted to
     a pointer because the function is variadic (Harti Brandt)
 18. revert ignoreeof to the 6.11.00 behavior and document it (Martin Godisch)
 17. do a case insensitive comparison for the multibyte vars (Martin Godisch)
 16. don't sigsuspend() for an already exited job
 15. glob all arguments in source (Martin Godisch)
 14. various debian fixes (Martin Godisch)
 13. setenv syntax check revert (Satoshi I. Nozawa)
 12. EAGAIN typo (dan harkless)
 11. filec compilation issue on hpux (beebe)
 10. win32 compilation fixes for O_LARGEFILE (amol)
  9. Don't go into an infinite loop when tcgetpgrp() returns an error.
  8. Cygwin fixes (Corinna Vinschen)
  7. NLS catclose() bug avoidance (KAJIMOTO Masato)
  6. V6.12.01 - 20030208
  5. Misc NT cleanup. No more GPL code (amol)
  4. use strtol() to detect errors in builtin kill (Peter Jeremy)
  3. Recognize linux systems on mips* (Maciej W. Rozycki)
  2. Enable complete=igncase on unix (Stephen Krauth)
  1. Eliminate maxitems (Todd Miller)
2004-05-19 17:42:35 +00:00
jschauma
24482317ee The Makefile for builtins is not using CFLAGS, but we do need CFLAGS
(for example under IRIX64 using gcc, where it otherwise will produce
32bit object files).  Patch that.
2004-05-17 22:29:30 +00:00
jschauma
7cb38bc887 On some systems (for example IRIX 5.3 with the IDO compilers), none of the
#ifdefs after this label leads to any code, so insert a no-op, just in case.

Based on emails from Georg Schwarz to wiz, also noted in
http://mail.gnu.org/archive/html/bug-bash/2003-04/msg00002.html.
2004-05-12 20:56:14 +00:00
jmmv
59eee8e144 Add and enable posh. 2004-05-07 10:11:46 +00:00
jmmv
6f532435cc Initial import of posh, version 0.3:
posh is a stripped-down version of pdksh that aims for compliance with
Debian's policy, and also has a few extra features.
2004-05-07 10:11:13 +00:00
cube
5ae8c7a8ea Enable pkgviews installation. 2004-05-06 22:29:36 +00:00
minskim
f5fa431514 Update osh to 040216 and enable pkgviews installation.
This closes PR pkg/25314.

Changes:
	* Made various changes to hopefully improve the clarity.
	  Added COMPATIBILITY, HISTORY, and NOTES sections.
	* Made changes to how the shell handles terminating `\' characters
	  w/ the `-c' and `-t' flags.  This is a simple extension of the
	  same behaviour exhibited when the shell is interactive or when it
	  executes a command file, the only difference being that where a
	  terminating `\' character causes the shell to read the next line
	  of input in an interactive shell or command file, w/ the `-c' and
	  `-t' flags the shell terminates w/o executing the command line.
	* Allow parameter substitution w/ the `-c' and `-t' flags.  This
	  feature is not documented.  For example, invoking the shell as
	  follows allows parameter substitution to take place:
	  % osh -t one two three
	  echo $0 $1 $2 $3
	  -t one two three
	* The shell now ignores SIGINT and SIGQUIT when the `-c' or `-t' flag
	  is used.  Thus, asynchronous commands invoked in this way ignore
	  interrupts as they should.
	* Ignore SIGINT and SIGQUIT for all commands started from asynchronous
	  subshells.  For example, `( sleep 300; some_command ) >outfile&' now
	  ignores `^C' and `^\' as it should.
	* Don't ignore SIGINT and SIGQUIT for asynchronous commands started
	  in command files.  If a command file is terminated by one of these
	  signals, the asynchronous commands should also terminate.
	* Reverted a change made to termination reporting in osh-040216 that
	  was not actually compatible w/ the V6 shell.
	* Always terminate the shell when read(2) fails.
	  This fixes a possible infinite loop.
	* Fixed a bug in the parser that caused syntactically incorrect
	  subshell commands not to be detected as such when preceded by
	  redirection arguments (e.g., `<infile >outfile ( | )').
	  This bug was introduced in osh-040216.
	* Fixed possible buffer overflows in substparm(); added a new error
	  message, "Too many characters", and made other changes necessary to
	  properly deal w/ the new error condition.  This problem had been
	  present since at least osh-020214.
	* Made some changes to how globbing is handled by the shell.
	  Specifically, glob(3) should only be called when an argument contains
	  unquoted occurrences of any of the glob characters `*', `?', or `['.
	  Previously, it was being called for every argument of an external
	  command.  This change improves run-time performance slightly as
	  judged by time(1) and information returned by getrusage(2).
	* The above-mentioned change also allows the following compatibility
	  feature.  Added globbing compatibility when the shell is compiled
	  w/ -DCLONE so that when no matches are found a diagnostic,
	  "No match", is printed.
2004-04-25 15:49:57 +00:00
dillo
2db4992ed1 update to 0.6.6 (bugfixes and improvments) 2004-04-21 12:08:09 +00:00
snj
64b64af3bb Convert to buildlink3. 2004-04-18 04:41:12 +00:00
snj
c4d0058d07 Convert to buildlink3. 2004-04-18 04:27:20 +00:00
snj
99d22ef38c This doesn't need buildlink2. 2004-04-18 04:26:01 +00:00
minskim
d00e9f9a6a Add a missing file to PLIST. Noted by Kouichirou Hiratsuka in PR pkg/24976.
Bump PKGREVISION.
2004-03-30 16:09:56 +00:00
recht
27034c090f Add missing patch-ae.
Note by Geoff Wing
2004-03-28 18:35:45 +00:00
uebayasi
0bab467629 Remove zsh-current. 2004-03-28 14:27:57 +00:00
uebayasi
b161181726 Now that the cutting-edge 4.2.0 release goes in shells/zsh. No need
to catch up with the development releases any more.
2004-03-28 14:27:29 +00:00
recht
ea1e8f68b5 Update to 4.2.0
Patch provided by Geoff C. Wing in PR 24918
ok'd by uebayasi@

New features between zsh versions 4.0 and 4.2
Configuration:

* upgraded to use autoconf post-2.50
* improved compatibility with other shells through shell options, builtin
  arguments and improved builtin option parsing

Syntax and builtins:

* new printf builtin
* `+=' to append to parameters which works for scalars, arrays and (with
  pairs) associative arrays.
* enhanced multiple parameter `for' loops: for key value in key1 value1 key2
  value2 ... maintaining full compatibility with POSIX syntax.
* Suffix aliases allow the shell to run a command on a file by suffix, e.g
  `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function
  zsh-mime-setup uses existing mailcap and mime.types files to set up suitable
  aliases. Supplied function pick-web-browser is suitable for finding a browser
  to show .html etc. files by suffix alias.
* new option `no_case_glob' for case-insensitive globbing.

Add-on modules and functions:

* zsh/datetime modules makes date formatting and seconds since EPOCH available
  inside the shell.
* zsh/net/tcp module provides builtin interface to TCP through ztcp builtin.
  Function suite for interactive and script use with expect-style pattern
  matching.
* zsh/net/socket module provides zsocket builtin.
* zcalc calculator function with full line editing.
* builtin interface to pcre library
* zsh/zselect module provides zselect builtin as interface to select system call

Completion system:

* general improvements to command and context support, low-level functions,
  display code.
* in verbose mode, matches with the same description are grouped
* highly configurable completions for values of specific parameters, specific
  redirections for specific commands
* support for bash completion functions (typically zsh native functions are more
  powerful where available)
* New completions provided for (some of these may be in later 4.0 releases):
  valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale
  parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email
  addresses, file system types, Perforce, xsltproc. Plus many others.

Line editor:

* special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets
  to configure uneditable text (for narrowing)
* recursive editing
* supplied widgets read-from-minibuffer, replace-string use these features
  (more  intuitive prompting and argument reading than 4.0)
* access to killed text via $CUTBUFFER and $killring
* supplied highly configurable word widgets forward-word-match etc., can set
  what constitutes a word interactively or in startup script (implement
  bash-style behaviour, replacing previous bash-* word widgets)
* interface to incremental search via $LASTSEARCH
* better handling of keymaps in zle and widgets
* better support for output from user-defined widgets while zle is active
* tetris game which runs entirely in zle
* several other contributed widgets

Local internal improvements:

* disowned jobs are automatically restarted
* \u and \U print escapes for Unicode
* read -d allows a custom line ending.
* read -t .
* line numbers in error messages and $PS4 output are more consistent
* `=prog' expands only paths, no longer aliases for consistency
* job display in prompts; `jobs' command output can be piped
* prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_.
* rand48() function in zsh/mathfunc for better randomness in arithmetic
  (if the corresponding math library function is present)
* $SECONDS parameter can be made floating point via `typeset -F SECONDS'
  for better timing accuracy
* improvements to command line history mechanism
* job table is dynamically sized, preventing overflow (typically seen
  previously in complex completions).
* many bugfixes
2004-03-28 10:30:13 +00:00
seb
b01e3dedd7 Remove info files entries from PLIST. 2004-03-10 01:08:35 +00:00
seb
4a35b8cc80 Remove info files entries from PLIST. 2004-03-10 01:06:02 +00:00
seb
31c3e475ec Remove info files entries from PLIST. 2004-03-10 00:58:44 +00:00
uebayasi
1afdcbf819 Fix build on Linux. From Roland Illig. 2004-02-26 09:34:43 +00:00
uebayasi
0662efce74 Split patch into pieces. Requested by Roland Illig. 2004-02-26 07:47:48 +00:00
xtraeme
445013e6e3 Upgrade shells/osh to 040216, this closes PR pkg/24501.
Too many changes to copy here, previous package was 2 years old, please
review the Changelog file.
2004-02-23 01:58:41 +00:00
jlam
0ee68ead27 The zsh build process inspects the generated config.status file for the
presence of some strings to decide how to build zsh.  This is, of course,
a stupid thing to do, but we must not override config.status to "fix"
this build.  This fixes PR 24483.
2004-02-19 06:37:27 +00:00
jlam
4547c184e2 We no longer need to set CONFIG_STATUS_OVERRIDE to an empty value as
bsd.pkg.mk no longer overrides the ability of config.status to generate
new files.
2004-02-16 20:24:25 +00:00
jlam
48bb5272c4 The build process for zsh runs a shell script "Src/mkmakemod.sh" that
explicitly calls config.status to generate some Makefiles in certain
directories.  This particular package has a need for executing the real
config.status, so we need to avoid overriding it automatically.
2004-02-16 09:07:23 +00:00
grant
52f1b46a37 remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does this
automatically now.
2004-02-14 00:54:44 +00:00
jlam
435108aef7 bl3ify 2004-02-09 18:32:02 +00:00
uebayasi
8a9abd255f patch-ab is no longer needed. 2004-02-02 09:24:52 +00:00
uebayasi
406146460c Update zsh to 4.0.9. From Min Sik Kim <minskim at bawi dot org> in PR
pkg/24297.

Changes since 4.0.7:
  - Many bug fixes.
  - Local improvements to various completion functions.
2004-02-02 08:48:40 +00:00