Commit graph

280 commits

Author SHA1 Message Date
dillo
b0a3a4277f no longer needed after last update 2003-07-03 14:29:50 +00:00
grant
bdd165f13d don't apply s/5/2/ to OS_VERSION since this breaks later use of it,
e.g. creating a binary pkg with ${OS_VERSION} in the PACKAGES path.
2003-07-02 05:56:03 +00:00
grant
57c9956e09 style nits 2003-06-30 13:46:04 +00:00
wiz
fbfbf9d3ea Take maintainership. 2003-06-30 08:59:03 +00:00
uebayasi
943f8baec1 Update to 2.05b.2.7. Pull in 3 official patches.
[bash205b-005]
When in a locale with multibyte characters, the readline display updater
will occasionally cause a segmentation fault when attempting to compute
the length of the first multibyte character on the line.

[bash205b-006]
When running in a locale with multibyte characters, the readline display
updater will use carriage returns when drawing the line, overwriting any
partial output already on the screen and not terminated by a newline.

[bash205b-007]
Using the vi editing mode's case-changing commands in a locale with
multibyte characters will cause garbage characters to be inserted into
the editing buffer.

Besides, export Bash's "test" target to Pkgsrc.  Type "make test" to try
this.

XXX The MAINTAINER should be taken by someone really using this.
2003-06-30 08:35:57 +00:00
uebayasi
5ec07d749e (Re)add and enable zsh-current. 2003-06-29 08:04:18 +00:00
uebayasi
e5c8678258 Share Makefile, update patch sum. 2003-06-29 04:24:56 +00:00
uebayasi
26824eb59d Um, re-do previous. 2003-06-29 03:05:28 +00:00
uebayasi
4d36842719 Add missings, nuke garbage... 2003-06-29 03:04:37 +00:00
uebayasi
5a304f815a Initial import of Zsh 4.1.1 into the NetBSD Packages Collection.
This is a development version of Zsh having more features than 4.0.x releases.

New features between zsh versions 4.0 and 4.1.1
-----------------------------------------------

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

Add-on modules and functions:
- 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.

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

Local internal improvements:
- disowned jobs are automatically restarted
- \u and \U print escapes for Unicode
- 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 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
- many bugfixes
2003-06-29 03:00:47 +00:00
dillo
1de2505de5 update to 0.6.4, no changelog provided 2003-06-26 14:51:00 +00:00
jschauma
874df2b597 s/packages@/tech-pkg@/g
(Forgot the last time we did this.  Pointed out by Sergey
Svishchev (svs at ropnet dot ru))
2003-06-23 14:23:13 +00:00
uebayasi
cac7dd28bc Update to 4.0.7.
Bug fix release for stable version as well as a few completion
improvements.  Also includes more current MASTER_SITES.

PR21938 by Geoff Wing <gcw at primenet dot com dot au>.
2003-06-20 05:59:02 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
uebayasi
b8adf442de Add static version of ast-ksh.
Requested by Steven M. Bellovin <smb at netbsd dot org> on
netbsd-users@netbsd.org.
2003-05-31 16:14:47 +00:00
uebayasi
705ac1032c Update to 2003-04-22.
Tested on 1.6R (i386).

Changes:

03-03-18  --- Release ksh93o  ---
03-03-18  A -N unary operator was added to test and [[...]] which returns
	  true if the file exists and the file has been modified since it
	  was last read.
03-03-18  The TIMEFORMAT variable was added to control the format for
	  the time compound command.  The formatting description is
	  described in the man page.
03-03-06  A -N n option was added to read which causes exactly n bytes
	  to be read unlike -n n which causes at most n bytes to be read.
03-03-03  Three new shell variables were added.  The variable .sh.file
	  stores the full pathname of the file that the current command
	  was found in.  The variable .sh.fun names the current function
	  that is running.  The variable .sh.subshell contains the depth
	  of the current subshell or command substitution.
03-03-03  When the DEBUG trap is executed, the current command line after
	  expansions is placed in the variable .sh.command.  The trap
	  is also now triggered before each iteration of a for, select,
	  and case command and before each assignment and redirection.
03-02-28  Function definitions are no longer stored in the history file so
	  that set -o nolog no longer has any meaning.
03-02-28  All function definitions can be displayed with typeset -f not
	  just those stored in the history file.  In addition, typeset +f
	  displays the function name followed by a comment containg the
	  line number and the path name for the file that defined this function.
03-02-28  A bug in which the value of $LINENO was not correct when executing
	  command contained inside mult-line command substitutions has been
	  fixed.
03-02-19  Since some existing ksh88 scripts use the undocumented and
	  unintended ability to insert a : in front of the % and # parameter
	  expansion operators, ksh93 was modified to accept :% as equivalent
	  to % and :# as equivalent to # with ${name op word}.
03-02-14  A bug which could cause a core dump when reading from standard
	  error when standard error was a pty has been fixed.
03-02-14  The shell arithmetic was modified to use long double on systems
	  that provide this data type.
03-02-09  A bug in which a function located in the first directory in FPATH
	  would not be found when the last component of PATH was . and the
	  current directory was one of the directories in PATH has been fixed.
03-02-07  The trap and kill builtin commands now accept a leading SIG prefix
	  on the signal names as documented.
03-02-05  A bug in the expansion of ${var/$pattern}, when pattern contained
	  \[ has been fixed.
03-02-05  A bug in which .sh.match[n], n>0, was not being set for substring
	  matches with % and %% has been fixed.
03-01-15  A bug in which getopts did not work for numerical arguments specified
	  as n#var in the getopts string has been fixed.
03-01-09  A bug in which using ${.sh.match} multiple times could lead to
	  a memory exception has been fixed.
03-01-06  A bug in the expansion of ${var/pattern/$string} in the case that
	  $string contains \digit has been fixed.
03-01-02  A -P option was added for systems such as Solaris 8 that support
	  profile shell.
03-01-02  For backward compatibility with ksh88, arithmetic expansion
	  with ((...)) and let has been modified so that if x is a zero-filled
	  variable, $x will not be treated as an octal constant.
2003-05-28 01:22:43 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
agc
f84a58a91c Only attempt to install the individual message catalogs if they have been
generated. Some versions of Solaris do not automatically generate the
catalogs.
2003-05-05 16:40:28 +00:00
agc
cd52523c8a Nail down the definitions of ${PKG_INFO} and ${PKG_CREATE} before resetting
${LOCALBASE} - makes this package install successfully on systems where the
package tools may reside under ${LOCALBASE}.

On Solaris, don't set "-static" into LDFLAGS, so that the package builds
properly.
2003-05-05 10:54:13 +00:00
agc
329df47559 Nail down the value of ${PATCH} before changing ${LOCALBASE}, so that
systems which can define ${PATCH} in terms of ${LOCALBASE} (like
Solaris) can build this package.
2003-05-01 21:45:46 +00:00
cjep
3cb4221d61 Use BSD::Resource and Term::ReadKey to get full functionality. 2003-04-20 16:57:38 +00:00
cjep
89d111eeaf Add and enable perlsh 2003-04-20 16:28:24 +00:00
cjep
c22003a051 Initial import of the Perl Shell 1.8 into the NetBSD packages collection
as devel/perlsh.

The Perl Shell is a shell that combines the interactive nature of a Unix
shell with the power of Perl. The goal is to eventually have a fully
featured shell that behaves as expected for normal shell activity.

The Perl Shell will use Perl syntax and functionality for control-flow
statements and other things.
2003-04-20 16:27:04 +00:00
abs
09a901a902 Shorten COMMENT 2003-04-04 17:32:51 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
wiz
4a6d1b2168 Bump PKGREVISION for addition of official patches. 2003-03-14 15:21:09 +00:00
toshii
622ab741cd Add four official patches found in the master site. Fixes pkg/20673. 2003-03-14 14:40:36 +00:00
wiz
3fc687738b Note conflict with static version. Closes PR 20010 by Ryo HAYASAKA. 2003-02-14 18:59:19 +00:00
wiz
246e1b5e85 s/${ENV}/${SETENV}/, noted by Kevin P. Neal in connection with PR 19586. 2003-02-09 14:38:51 +00:00
uebayasi
ca5aa6ba12 Update my email address. 2003-02-06 04:24:11 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
salo
5924f65d6f s/INSTALL_SCRIPT/BSD_INSTALL_SCRIPT/ in patch-aa, remove unnecessary MAKE_ENV. 2003-01-19 09:12:06 +00:00
uebayasi
2bcdefbecb Update ast-ksh to 20021221.
Changes from 20020922 (other than bug fixes) are:

	* The code to display compound objects was rewritten to make it easier
	  for runtime extensions to reuse this code.
	* A change was made to allow runtime builtins to be notified when a
	  signal is received so that cleanup can be performed.
	* User applications can now trap the ALRM signal.  Previously, the ALRM
	  signal was used internally and could not be used by applications.
2003-01-08 07:04:13 +00:00
seb
42603d27ce Trivially use buildlink2. 2002-12-23 13:03:39 +00:00
jlam
c3eb9a3255 These packages are no longer needed to bootstrap buildlink2. Simplify the
building of these packages by using buildlink2.
2002-12-22 19:04:07 +00:00
drochner
45b8efe0b5 fix a fix: "#define HANDLE_MULTIBYTE 0" doesn't work as expected if
it is tested for by "#if defined"...
2002-12-17 14:45:12 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00
uebayasi
0f0c3011f4 Build script needs to be run with Pdksh. Reconverted to Buildlink2.
Fix provided in PR19190 by Greg A. Woods.
2002-11-29 04:16:45 +00:00
jlam
ff94e8aa1d Bump PKGREVISION of shells/pdksh to 1: rename installed shell to "pdksh",
as this isn't really the real Korn shell, and "pdksh" is a more accurate
name for it.  Also don't use buildlink2 so that this shell may be used to
bootstrap buildlink2.
2002-11-28 07:42:05 +00:00
schmonz
e69ead4ea5 Add and enable pdksh. 2002-11-28 07:14:48 +00:00
schmonz
36d5ea5304 Import pdksh-5.2.14 into the NetBSD Packages Collection.
PD-ksh is a mostly complete AT&T ksh look-alike.  Work is mostly
finished to make it fully compatible with both POSIX and AT&T ksh
(when the two don't conflict). Since pdksh is free and compiles
and runs on most common unix systems, it is very useful in creating
a consistent user interface across multiple machines.
2002-11-28 07:12:09 +00:00
jlam
a2586d1f9a Whitespace. 2002-11-26 10:00:35 +00:00
jlam
2bab70be16 Only add "-lintl" to LIBS if libintl.* is found in the library path. This
addresses PR 18885 by Jeremy Reed <reed@reedmedia.net>.
2002-11-26 09:39:10 +00:00
schmonz
01fd684ef5 Disable multibyte support on NetBSD to fix compile error. 2002-11-25 05:39:33 +00:00
schmonz
8ce29d34d5 Update to 2.05b, and fix MASTER_SITES. 2002-11-25 04:19:56 +00:00
schmonz
41ed48c435 Update to 2.05b, and fix MASTER_SITES. Lots of changes since 2.05.
Here are some of them, excerpted from NEWS:

- New code to handle multibyte characters.
- `select' was changed to be more ksh-compatible
- There is now a bindable edit-and-execute-command readline command,
    like the vi-mode `v' command, bound to C-xC-e in emacs mode.
- The shell now performs arithmetic in the largest integer size the
    machine supports (intmax_t), instead of long.
- There is a new configuration option `--enable-mem-scramble', controls
    bash malloc behavior of writing garbage characters into memory at
    allocation and free time.
- The `complete' and `compgen' builtins now have a new `-s/-A service'
    option to complete on names from /etc/services.
- `read' has a new `-u fd' option to read from a specified file descriptor.
- The expansion of $LINENO inside a shell function is only relative to the
    function start if the shell is interactive -- if the shell is running a
    script, $LINENO expands to the line number in the script.  This is as
    POSIX-2001 requires.
- The bash debugger in examples/bashdb has been modified to work with the
    new DEBUG trap semantics, the command set has been made more gdb-like,
    and the changes to $LINENO make debugging functions work better.  Code
    from Gary Vaughan.
- New [n]<&word- and [n]>&word- redirections from ksh93 -- move fds (dup
    and close).
- The `echo' builtin now accepts \0xxx (zero to three octal digits following
    the `0') in addition to \xxx (one to three octal digits) for SUSv3/XPG6/
    POSIX.1-2001 compliance.
- Added support for DESTDIR installation root prefix, so you can do a
    `make install DESTDIR=bash-root' and do easier binary packaging.
- New `-A group/-g' option to complete and compgen; does group name
    completion.
- The ksh-like `ERR' trap has been added.  The `ERR' trap will be run
    whenever the shell would have exited if the -e option were enabled.
    It is not inherited by shell functions.
- configure has a new `--enable-largefile' option, like other GNU utilities.
- `for' loops now allow empty word lists after `in', like the latest POSIX
    drafts require.
- The builtin `ulimit' now takes two new non-numeric arguments:  `hard',
    meaning the current hard limit, and `soft', meaning the current soft
    limit, in addition to `unlimited'

Also, there is a "New unwind-protect implementation from Paul
Eggert", which I believe obviates the need for two sparc64-related
patches.
2002-11-25 04:18:47 +00:00
jlam
81a8137163 Check that the gettext headers and libraries exist before symlinking them. 2002-11-20 08:38:16 +00:00
cjep
61f294c7e0 Add and enable mudsh 2002-11-18 17:10:53 +00:00
cjep
dc392c4b9f Initial import of the MUD-Shell into the NetBSD packages collection as
shells/mudsh.

Is there any reason why a shell (or command line) cannot be as
tolerant or as intelligent as a text adventure game like Zork, or a
MUD (Multi User Dungeon)? Is there any reason why a shell cannot work
like such a game? ("Go North", etc.)

Actually, the answer is no and this is a perl implementation to prove it.
Have fun, and don't get eaten by a Grue!
2002-11-18 17:10:17 +00:00