Commit graph

981 commits

Author SHA1 Message Date
ryoon
c5a1de5dac Update to 5.0.2
Changelog:
Changes since 5.0.0
-------------------

Numeric constants encountered in mathematical expressions (but not other
contexts) can contain underscores as separators that will be ignored on
evaluation, as allowed in other scripting languages.  For example,
0xFFFF_FFFF, or 3.141_592_654.

"functions -T" turns on tracing for the specified function(s) only,
similar to "functions -t" except that tracing is turned off for any
functions called from the specified one(s) that don't also have the -t
or -T flag.

In file completion, the recursive-files style can be set to an array of
patterns to match against "$PWD/".  In any matched location, it is
possibly to complete files in arbitrarily deep subdirectories without
needing to type the directory prefix.  See example in the zshcompsys
manual.

The _user_expand completer now allows expansion functions in the
user-expand files to return a string in REPLY that will be used to name
the set of expansions returned.
2013-01-03 15:37:23 +00:00
wiz
3e91ee5db7 + fish. 2012-12-12 13:22:04 +00:00
wiz
b1bbf73307 Import fish-1.23.1 as shells/fish, packaged for wip by Moritz Wilhelmy,
Adam Hoka and hugor.

fish is a user friendly command line shell for UNIX-like operating
systems, written mainly with interactive use in mind.  It differs
from other shells in that it only provides as few commands as
built-ins as possible and has a daemon which allows it to have
shared variables and command-line history between shell instances.
It also features feature-rich tab-completion and has command-line
syntax highlighting.
2012-12-12 13:21:42 +00:00
wiz
5df990a50c Update to 2.3.4; add comment to modified patch:
2.3.4
 - Fixed several problems with argument validation
 - Added -Wall and cleaned up compiler output
 - Installing rssh.conf as rssh.conf.default
2012-11-28 13:54:53 +00:00
joerg
bbfa9de4e1 Rename log to my_log to avoid conflict with libm. 2012-11-01 19:30:58 +00:00
dholland
a23fe82a73 Bump PKGREVISION again now that the patch is really there. 2012-10-10 19:26:16 +00:00
dholland
bda26b534c oops, actually add the patch. 2012-10-10 19:19:58 +00:00
dholland
9e7027bf1e Add patch from Christos to silence libc diagnostic asserion in -current.
PKGREVISION -> 3.
2012-10-10 06:07:44 +00:00
ryoon
622b1f92da Update to 20120801
Changelog:
# ksh93
12-08-01  A bug that ignored interrupts for some builtins (e.g. cmdtst::grep)
	  that read from stdin has been fixed.
12-08-01  A bug that interpreted "cd .foo" as "cd foo" has been fixed.
12-07-30  Added automatic restart for EINTR for ioctl, tcgetattr, and tcsetattr.
12-07-23  A scoping error with namrefs to compound associative arrays has
	  been fixed.
12-07-20  A bug where builtin -d /path/foo deleted foo has been fixed.
12-07-18  A bug in which /dev/stdout did not work in command substitution on
	  some systems has been fixed.
12-07-17  A bug in which the restricted option set in a subshell prevented
	  some variables from getting restored when the subshell completed
	  has been fixed.
12-07-09  A bug in which the directory is not restored after a subshell changes
	  the name of the directory for subshells executed in the same process
	  has been fixed.
12-07-09  A bug in which file descriptors created with {n}< file were not being
	  closed has been fixed.
12-07-09  The 12-04-04 fix for cd .. was not correct causing cd /etc;cd .. to
	  remain in /etc.  This has been fixed.
12-07-02  A bug in which builtin name did now work for builtins found in a
	  library added by builtin -f lib has been fixed.
12-07-02  A bug in the edit modes which <tab> after a directory did not refresh
          the input line has been fixed.
12-07-02  A bug in which an exit status > 256 corresponding to a signal was
          not returned by a function to indicate a signal exit has been fixed.
12-06-28  Fix ulimit -a to list (Kibytes) instead of (kbytes).
12-06-27  Fix unitialized data reference for <CR> as first char in --vi mode.
12-06-26  The formatting of printf "%q" for multibyte locales has changed to
	  output using \u[xxx] format for valid wide characters.
12-06-25  The size limit for read -N and read -n has been raised to INT_MAX.
12-06-22  A bug in which an exit trap set in a subshell might not be triggered
	  when the last command was a simple executable has been fixed.
12-06-22  A bug which could cause the shell to hang when a coprocess exits
	  while a command inside a command substitution is reading from it has
	  been fixed.
12-06-21 +ksh new accepts for commands of the form for i; <nl> do;...;done
12-06-19  Tab completion after a / when there is only one match not completes
	  with that match rather than generating a menu of matches.
12-06-19  A bug in which patterns containing {...} where not processed
	  correctly inside ${var/pattern/string} has been fixed.
12-06-15  Change the .paths plugin/builtin library variable name from
	  BUILTIN_LIB to PLUGIN_LIB to prevent new plugin_version() aware
	  -lcmd from causing older non-plugin_version() aware ksh to dump core.
12-06-14  builtin without argument no longer lists .sh.tilde as a built-in.
12-06-12  For assignments if the form x=(foo bar), foo is only check for an
	  alias if it is float, integer, compound, or nameref.
12-06-12 +The shell supports 64 bit i-nodes even for 32 bit binaries.
12-06-11  A bug wth >; redirection systems for which vfork() was the same a
	  fork() has been fixed.
12-06-11  A bug in path lookup that ignored buffer boundaries has been fixed.
12-06-08  typeset -a var and typeset -A var, first unset var when var is
	  a compound variable.
12-06-08  A bug in which running shcomp on a program containg namespace
	  could core dump has been fixed.
12-06-06  A bug in which unset of an associative array of compound variables
	  did not completely unset the variable has been fixed.
12-06-06  A bug in which exporting left or right justfied fields could loose
	  the field width has been fixed.
12-06-06  A bug on Solaris11 in which >; did not work for /dev/null was fixed.
12-06-05  A race condition which occured when stopping a builtin command
	  invoked from a subshell has been fixed.
12-06-05  A bug with appending elements to an empty indexed array has been
	  fixed.
12-06-04  A bug in which continuing a stopped builtin could cause it to
	  terminate has been fixed.
12-06-04  By default, builtins added at runtime will restore the current
	  directory if they are killed or stopped.
12-06-04  A bug in handling \ in read has been fixed.
12-05-31  Use getrlimit64/setrlimit64 on systems that support it.
12-05-31  Fix 64 bit big-endian arithmentic bug that mishandled nan and inf.
12-05-31  Handle ECONNRESET like EPIPE.
12-05-31  Change .paths parse to use only the last BUILTIN_LIB from the top
	  and treat BUILTIN_LIB value as a ':' separated list of lib names.
12-05-29  Fix BUILTIN_LIB binding bug that ignored subsequent lookups.
12-05-29  shtests: --nocompile omits the compile test and --compile does only
	  the compile test.
12-05-25  A command subsitution containing a here-document that itself contains
	  a here-document no longer hangs.
12-05-24  When the redirection operatory >; is directed to a symlink, it now
	  overwrites the file named by the link rather than the link.
12-05-21 +Added printf formats %(type)q where type can be html, url, pattern,
	  ere, or csv.
12-05-18  A bug with appending elements to an indexed array has been fixed.
12-05-18  The exit status from getopts --man interactively was 0 instead of 2
	  and has been fixed.
12-05-18  Another bug with SHOPT_EDPREDICT which could cause a core dump has
	  been fixed.
12-05-17  A bug with fixed size arrays which could cause a core dump has been
	  fixed.
12-05-17  A bug in which the here-document <<< $(<file) was not processed
	  correctly has been fixed.
12-05-15  The default value for -L, -R, and -Z when the size was not set was
	  incorrectly defaulting to 1 and has been fixed.
12-05-15  A bug in which a subshell of the form (name=value exec ...) could
	  coredump when name is an environment variable and xtrace is on has
	  been fixed.
12-05-15  Fixed a .paths bug in which only the first BUILTIN_LIB assignment worked.
12-05-14  Arithmetic expressions and subexpressions that are not floating point
	  now treat -0 as 0, so that $((-0)) is 0 and $((-0.0)) is -0.
12-05-11  'unset .sh' now fails with readonly message instead of coredump.
12-05-11  A bug which left an associative array arr containing one element in
	  the wrong state after expanding with ${arr[@]} has been fixed.
12-05-10  A bug in which typeset -f did not display options that called getopts
	  has been fixed.
12-05-08  Fixed a number of potential bugs uncovered by valgrind.
12-05-08  A bug in which typeset -b -Z10 var did not initialize var to the
	  empty string has been fixed.
12-05-07  A bug in which the exit value of an interactive shell could be
	  affected by the evaluation of the PS1 prompt has been fixed.
12-05-04  A bug in which x=() was not unsetting the old value of x before
	  creating an empty compound variable has been fixed.
12-05-01  A bug in vi edit mode in which after <ESC>^V, the terminal was not
	  restored to insert mode after a character is entered has been fixed.
12-04-27  A bug in which old attributes were not cleared when assigning a
	  value using typeset has been fixed.
12-04-26 +Enabled multiline editing by default.  set +o multiline can disable.
12-04-25  The 12-04-17 PATH fix created a new bug which was fixed.
12-04-25  Fixed a big memory leak problem in which unsetting compound variables
	  did not free all the space.
12-04-25  A bug in which test ! ! ! was treated as an error has been fixed.
12-04-24  A bug with print -v for a compound variable that contained fixed
	  arrays which prevented the output from being used again as input
	  has been fixed.
12-04-23 +kill provides the STKFLT signal on systems that support it.
12-04-23 +The -L option was added to kill.  The -L option is the same as -l
	  except that without arguments the output format is in the form of
	  a select menu.
12-04-23  A bug in which the exit status for an interactive shell was always
	  0 has been fixed.
12-04-20  Entering blank lines interactively no longer resets the exit status.
12-04-18  A bug in file completion in which the second tab completion on a file
	  would list the completion rather than inserting the completion has
	  been fixed.
12-04-18  A bug in which "${arr[@]:i:j}" and "${@:i:j}" generated the empty
	  string when i was a valid subscript and j was <=0 rather than
	  generating nothing has been fixed.
12-04-17  A bug in which read -d delim from a terminal did not respond to
	  interrupt and did not termrinate when the delimiter was entered
	  has been fixed.
12-04-17  A bug in which a directory in PATH containing a .paths file that
	  contains a line with FPATH=dir, where dir does not exist could
	  cause the path search to fail has been fixed.
12-04-16  A bug in which $(trap -p) did not display traps such as ERR and
	  DEBUG that are not associated with signals has been fixed.
12-04-11  A bug in which unsetting a variable did not unset attributes when
	  the variable did not have a value has been fixed.
12-04-11  A bug in which read -A for an array whose index is an enumeration
	  type, lost the enumeration type has been fixed.
12-04-10  Shared libraries loaded from a library named by a BUILTIN_LIB= found
	  in a .paths file found in a directory on PATH now add builtins that
	  are associated with the directory in PATH containing the .paths file.
12-04-09  Increased I/O buffer sizes for better performance.
12-04-09  A bug in which the leading 0 was stripped from $x, when $x contained
	  a heximadecimal constant inside an arithmetic expression inside
	  a for or while loop.
12-04-06  Modified namespaces to hand variabes FPATH, PATH, and OPTIND that
	  are defined in name spaces appropriately.  This also fixed OPTIND
	  and OPTARG processing for functions.
12-04-04  A bug in which cd .. fails when the current directory has been
	  renamed has been fixed.
12-04-02  Made some namespace changes and added a regression test.
12-03-30  A bug with namespaces in which PATH and FPATH set in a namespace was
	  not restored when leaving the namespace has been fixed.
12-03-29  --- Release ksh93u++ ---
12-03-29  A bug in which appending an index array onto an array without elements
	  caused the first element to be 1 rather than 0 has been fixed.
12-03-29  A bug which could cause a core dump when copying a large index array
	  has been fixed.
12-03-28  The shell now generates an error message when the sizes with L, Z, and
	  R are > 32767 on 32 bit binaries instead of generating a core dump.
12-03-28  A bug in left and right justification in which the width of invalid
	  characters was not taken as zero has been fixed.
12-03-26  A bug in which typeset -p ref, when ref is a reference to an index
	  array element did not display the subscript has been fixed.
12-03-23  A bug in lowercase and uppercase fields when expanding ${name:=val}
	  when name is the empty string has been fixed.
12-03-22  A namespace bug in which a type t defined in namespace foo could not
	  be referenced outside the namespace as .foo.t has been fixed.
12-03-22  A bug in name reference scoping in which a name function called from
	  another function is pass a name reference to a compound variable
	  instance to be created and the compound variable is in the global
	  scope.
12-03-22  A bug in which ${ref[@}} did not behave like ${arr[i][@]} when
	  ref is a name reference to arr[i] has been fixed.
12-03-21  A bug in which assigning a compound variable into arr[i], where
	  arr[i] is an array variable did not work correctly has been fixed.
12-03-21  A bug with multi-dimenstional index arrays in which ${arr[i][j]}
	  could generate a bogus error message when i was > 9 has been fixed.
12-03-21  A bug in which typeset v=foo, typeset -p v[0] generated a core dump
	  has been fixed.
12-03-20  A bug in vi edit mode in which the sequence bar<ESC>0i<ESC>l left the
	  cursor on the b rather than the a has been fixed.
12-03-20  A bug which caused a core dump when defining a type with a field
	  as ' integer -a data=([0]=0)' has been fixed.
12-03-19  Using typeset -a array when array is an associative arry not
	  generated an error message.
12-03-19  typeset +a, typeset +A, and typeset +C not displays the variables
	  with the attributes a, A, and C respectively instead of an error.
12-03-19  A bug in which typeset -pC, typeset -pa, and typeset -pA output all
	  variables rather than those of type C, a, or A only has been fixed.
12-03-18  A bug in which unset foo where foo is a name reference to a compound
	  variable defined inside a function is not unset has been fixed.
12-03-18  A bug with SHOPT_EDPREDICT which could cause a core dump when the
	  list of matches became empty has been fixed.
12-03-15  The assignment, typeset -C foo=(a b c) now generates a syntax
	  error since a is not an assignment command.
12-03-16  A bug in which an unset discipline from a variable defined in a
	  subshell is not invoked in the subshell has been fixed.
12-03-08  The assignment typeset -a (x=1 y=2) now creates an index array
	  of two elements rathern than an array of one element which is
	  a compound variable.
12-03-02 +The vi and emacs edit modes now list all the entries in a directory
	  when entering a <tab> for completion after a /.
12-03-02  A bug in which a program that exits with value 12 when called
	  from a command substitution in which standard output has been
	  redirected caused the shell to hang has been fixed.
12-03-01  A bug in which the shell could not parse [[ ']' == ~(E)[]] ]]
	  has been fixed.


# INIT
12-07-17 iffe.sh: add C code NOTE("...") to ammend --verbose output
12-06-26 iffe.sh: fix "npt foo" to handle function-like macro foo()
12-06-20 package.sh: use $KSH for rt in "results test"
12-06-15 Makefile: add PLUGIN_LIB to $INSTALLROOT/bin/.paths and BUILTIN_LIB => PLUGIN_LIB
12-06-15 package.sh: add PLUGIN_LIB to $INSTALLROOT/bin/.paths and BUILTIN_LIB => PLUGIN_LIB
12-06-13 package.sh: handle admin.db column output
12-06-08 iffe.sh: fix 12-06-06 typo
12-06-06 iffe.sh: check for -l* in reverse and accumulative order (e.g., for -last & -lm)
12-06-04 package.sh: always check $INSTALLROOT/lib/package/profile
12-05-31 Makefile: ID=ast; $(INSTALLROOT)/prototyped.h => $(INSTALLROOT)/$(ID)/prototyped.h
12-05-28 iffe.sh: api foo YYYYMMDD => FOOAPI(rel) test macro
12-05-24 package.sh: change admin.db comment => owner attributes
12-04-25 ratz.c: add sear -k option to keep installation tmp dir on exit
12-04-17 package.sh: skip sh version logic for ``use''
12-04-17 cc.ibm.risc*: _LARGEFILE64_SOURCE => _LARGE_FILE_API moved to libast/features
12-04-09 cc.ibm.risc*: speak aixese for _LARGEFILE64_SOURCE
12-02-29 cc.darwin.i386*: handle default cc vs kernel bittedness
12-02-29 C+probe: add __TIMESTAMP__ to the nopredefined list
12-02-29 package.sh: don't assume grep -q or /usr/local/lib in LD_LIBRARY_PATH
12-02-29 package.sh: fix ksh vs -lcmd compatibility checks
2012-10-06 12:23:36 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
marino
f162cdcb03 Recursive PKGREVISION bump for tcl and tk upgrade to 8.5.12 2012-08-21 23:49:18 +00:00
wiz
d330fd0b72 Drop maintainership. 2012-08-20 06:41:48 +00:00
wiz
3849fc51b4 Remove MESSAGE that was NEWS in 2001. 2012-08-17 12:23:58 +00:00
wiz
b2e489ed9e Fix path to zsh in two more files, which are not installed.
Ride PKGREVISION bump.
2012-08-17 12:22:51 +00:00
wiz
9d6f18e4b3 Better support for socket buffer size limits.
Clean up env usage (not needed any longer).
Bump PKGREVISION.
2012-08-17 12:15:37 +00:00
wiz
ea2bf705f0 Add support for thread limits.
From Peter Stephenson <Peter.Stephenson@csr.com> on zsh-workers.

Bump PKGREVISION.
2012-08-17 10:53:09 +00:00
wiz
9251f1f910 Mention that these patches have been integrated upstream. 2012-08-17 07:53:38 +00:00
ryoon
7c40b3e4b3 Remove unnecessary patches. These patches do not work anything.
Pointed out by wiz@. Thank you.
2012-08-16 16:26:46 +00:00
wiz
e19729f059 Add comments to patches. 2012-08-16 14:19:34 +00:00
wiz
d51d049dd4 Fix build on NetBSD-5.99.40.
Patch from Peter Stephenson <Peter.Stephenson@csr.com> on zsh-workers.
2012-08-16 13:31:20 +00:00
wiz
432ff03cef pkglint cleanup. 2012-08-16 13:30:27 +00:00
ryoon
e8c092c7f6 * Fix PLIST with ZSH_STATIC=yes
Pointed out by tron@ in private e-mail.
2012-07-23 10:48:23 +00:00
ryoon
e87f8272ac PLIST.xattr is moved to zsh/Makefile.common. 2012-07-22 10:04:32 +00:00
ryoon
cf1f772ec3 Update to 5.0.0
* PLIST.xattr is moved to Makefile.common
* Patches are introduced from zsh-current

Tested on NetBSD 6.99.8 and 5.1.

Changelog:
* Many improvements.
  In detail, see NEWS
2012-07-22 10:03:40 +00:00
dholland
7ef03521b4 Add a DESCR here; noted missing by martin@, ok agc@.
The DESCR here is appended to the one from shells/tcsh.
2012-07-21 15:56:42 +00:00
spz
cda5763792 add patch from the Bash project fixing CVE-2012-3410 2012-07-18 15:43:09 +00:00
obache
0a1ab1ed27 LICENSE=epl-v1.0 (Eclipse Public License, Version 1.0).
i.e. no restriction.
2012-06-10 08:50:03 +00:00
cheusov
263e634c77 Update to 0.5.7. Changes since 0.5.5.1:
* Optimize dash -c "command" to avoid a fork.
        * Eliminate unnecessary promotion in echocmd.

        * Avoid using undefined handler.

        * Avoid gcc warning: variable 'oldstackp' set but not used.
        * Avoid clang warning about dead store to "size".

        * Make outc an inline function.

        * Remove spurious space in descriptions of PS1, PS2, PS4.

        * Remove unused EV_BACKCMD flag.

        * Fix clobbering of checkkwd.

        * Free IFS state after here document expansion.
        * Use va_copy when reusing a va_list.

        * Let funcnode refer to a function definition, not its first
        * command.
        * Improve LINENO support.

        * Port to Solaris.

        * Fix backslash handling in read(1).

        * Dotcmd should exit with zero when doing nothing.

        * Fix CTLESC clobbering by read(1).

        * Port to AIX.

        * Replace GPL noclobberopen code with the FreeBSD version.
        * Do not split the result of tilde expansion.

        * Mark status as volatile in exitshell.

        * Use EXEXIT in place of EXEXEC.
        * Stop documenting EXSHELLPROC.

        * Use exit status 127 when the script to run does not exist.

        * Document optional open parenthesis for case patterns.

        * Fixed trap/return regression due to SKIPEVAL removal.
        * Allow the originator of EXERROR to set the exit status.
        * Free IFS state in evalbackcmd.

        * Fix ifsfirst/ifslastp leak in casematch.

        * Fix EXEXEC status clobbering.

        * Fix ifsfirst/ifslastp leak.
        * Fix trailing field bug in read(1).

        * Debug compile fix.

        * Fix varinit ordering that broke fc.

        * Check exit for eval NSUBSHELL.

        * Fix loss of variables when hash collides.
        * Removed dead code for eval NPIPE.

        * Don't clear eflag in evalbackcmd.

        * Continue after EINTR in read(1) with no pending signals.

        * Force fork if any trap is set, not just on EXIT.
        * Fix corruption of redirections with byte 0x81.

        * Fix poplocalvar on abnormal exit from function.
        * Do not poplocalvars prematurely on regular utilities.
        * Move null redirect checks into caller.
        * Fix popredir on abnormal exit from built-in.
        * Fix wait regression where it does not wait for all jobs.

        * Replace cmdenviron with localvars.

        * Fix poplocalvar leak.
        * Move unsetvar functionality into setvareq.

        * Add localvars nesting, local now fails outside functions.

        * Fix command -- crash.

        * Fix for job control off warning.

        * Use faccessat if available.

        * Make trap signal name/number errors non-fatal.
        * Release 0.5.6.

        * Use TMPDIR in mkbuiltins.

        * Fix logical or result value.

        * Fix binary operator parsing.

        * Fix off-by-one recordregion in readcmd.

        don't read-uninitialized for \177 in a here-doc
        A DEL (0177, dec 127) byte in a here-document would cause dash to
        access uninitialized memory at the end of one of the syntax.c
        tables,
        since those tables are sized to accommodate a maximum index of
        BASESYNTAX + 126.  Make the generated tables one byte larger.
        printf ':<<\\E\n\200y\nE'|./dash
        * src/mksyntax.c (filltable): Use 258, not 257 as the size,
        so that BASESYNTAX(=130) + 127 is a valid index.
        (print): Likewise.
        Don't emit explicit array dimension in declaration.

        * Avoid compiler warnings on isdigit.

        * Add another missing LC_COLLATE to mkbuiltins.

        * Fix NUL termination in readcmd.
        * Lookup PWD after going through CDPATH.

        * Pass EV_TESTED into evalcmd.
        * Revert SKIPEVAL into EXEXIT.

        * Add preliminary LINENO support.

        * Honor tab as IFS whitespace when splitting fields in readcmd.

        * Do not truncate file for FROMTO redirection.

        * Fix quoted pattern patch breakage.

        * Fix incorrect savefd conversions.

        * Fix dowait signal race.
        * Remove EXSIG.
        * Do not close stderr when /dev/tty fails to open.
        * Allow newlines after var name in for statements.
        * Use CHKNL to parse case statements.

        * Update manual page to differentiate dash from ash.
2012-05-30 20:33:26 +00:00
he
5da836d7dc wiz@ points out I need to bump PKGREVISION again due to me leaving
a window when the new patch file wasn't committed, and there's no check
for "extra" lines in distinfo, so this clearly identifies the version
with the new patch file included.
2012-05-26 15:15:21 +00:00
he
77b8b7f4f2 Add a patch to fix issue with Meta-<key> no longer being recognized.
Patch from christos@.  (Sorry for overlooking "cvs add" earlier...)
2012-05-26 08:34:14 +00:00
he
f19e93583b Add a patch to fix issue with Meta-<key> no longer being recognized.
Patch from christos@.
Add comments to some of the other patch files to appease pkglint.
Bump PKGREVISION.
2012-05-25 20:01:31 +00:00
asau
1fa380b095 Update to AST/ksh to version 2012-02-29.
This unbreaks at least one of AST/ksh packages.


Changes since 2006-02-14:

2012-02-29

    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2012-02-29.2011-02-08.html

2011-02-08

    This source release contains the first official ksh93u.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2011-02-08.2010-08-26.html

2010-08-26

    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2010-08-26.2010-06-21.html

2010-06-21

    This source release contains the last official ksh93t+.
    The only updates for ksh93t+ will be hotfixes for serious bugs.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2010-06-21.2010-06-18.html

2010-03-09

    This source and binary release contains a fix for the
    2010-03-01 ksh memory leak plus a few minor fixes to clean
    up the bit rot that accumulated since 2009-07-04.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2010-03-09.2010-03-01.html

2010-03-01

    This source and binary release contains minor fixes to the
    unannounced 2010-02-02 release. It is the first official
    non-beta release in almost 8 months (we really do try to
    decrease the time between official releases, but the
    abundance of moving targets sometimes makes that
    interesting). See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2010-03-01.2010-02-02.html

2010-02-02

    This source and binary release includes:
      # fixes for problems reported by the OpenSolaris community
        as part of the ksh93 integration project
      # a UWIN update with initial support for Windows 7,
        improved handle and process resource management, and
        improved /var/log/uwin logging
      # an expanded man page index that includes the UWIN man
        pages in the U subsections and nmake(1) rule and operator
        man pages in the 1M subsection
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2010-02-02.2009-07-04.html

2009-07-04

    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2009-07-04.2009-05-05.html

2009-05-05

    This source and binary release cleans up a few reported
    build problems in the 2009-05-01 release (which has been
    removed). The release procedures have been adjusted to avoid
    similar problems in the future. (The main problem is
    synthesizing external non-ast environments to fully exercise
    portions of the build system seen by outside users -- since
    we use our stuff for everything, including packaging and
    building, setting up an environment that has no ast
    components leaking in can be non-trivial).
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2009-05-05.2009-05-01.html

2009-05-01

    This source release contains the official (and hopefully
    final) ksh93t+ 2009-05-01, along with updates for the ast
    commands and libraries. A lot of work went into cleaning up
    the regression tests -- most regressions directly correspond
    to unsupported native system features or buggy native system
    interfaces that we felt should be fixed rather than worked around.
    Of course we could be persuaded otherwise.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2009-05-01.2008-11-04.html

2008-11-04

    This source release contains the official ksh93t 2008-11-04,
    along with updates for a few ast-open commands, libraries and plugins.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2008-11-04.2008-07-25.html

2008-07-25

    This source release corrects the build problems in the 2008-06-24 source release.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2008-07-25.2008-06-24.html

2008-06-24

    This source release contains first release of ksh93t and support libraries.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2008-06-24.2008-02-02.html

2008-02-02

    This release addresses standalone build problems and issues
    raised on the lists. It also contains the final ksh93s+ release.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2008-02-02.2007-11-05.html

2007-11-05

    This release adresses issues raised on the lists.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2007-11-05.2007-03-28.html

2007-03-28

    Yes -- a new release in only 3 months. This release contains
    fixes and features that address the issues raised on the lists.
    A summary of recent ksh93 changes:
     1. Double precision floating point arithmetic with full C99
        arithmetic support on systems that provide the C99
        arithmetic functions. The numbers Inf and NaN can be
        used in arithmetic expressions.
     2. TAB-TAB completion generates a numbered list of
        completions which the user can select.
     3. Support for processing/handling multibyte locales (e.g.,
        en_US.UTF-8, hi_IN.UTF-8, ja_JP.eucJP, zh_CN.GB18030,
        zh_TW.BIG5 etc.) has been extensively revised, tested,
        and is now supported even on the language level (e.g.
        variable and function identifiers may contain locale
        specific codeset characters).
     4. /dev/(tcp|udp|sctp)/host/sevrice now handles IPv6
        addresses on systems that provide getaddrinfo(3).
     5. The ability to seek on a file by offset or content with
        new redirection operators.
     6. A new --showme option which allows portions of a script
        to behave as if -x were specified while other parts
        execute as usual. This simplifies the coding of make -n
        style semantics at the script level by eliminating code
        replication. In particular, io redirections are handled
        by --showme.
     7. The [[...]] operator =~ has been added which compares
        the string to an extended regular expression rather than
        == which compares against a shell pattern.
     8. The printf(1) builtin has been extended to support the =
        flag for centering a field. The # flag when used with
        %d and %i provides values in units of thousands or 1024
        respectively with an appropriate suffix added.
     9. Example screenshots from joint work with the Solaris
        ksh93 integration project are available here.
    See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2007-03-28.2007-01-11.html

2007-01-11

    This release, almost a year from the last big release,
    contains changes based on feedback from the { ast-users
    ast-developers uwin-users uwin-developers } lists and the
    ongoing ksh93-solaris integration project. Thanks to all
    who helped. Our resolution this year is to increase release
    frequency to keep internal and external source/binaries
    more in sync. See the release change log for details:

    http://www2.research.att.com/~gsf/download/release.2007-01-11.2006-02-14.html

2006-05-01

    Change log at

    http://www2.research.att.com/~gsf/download/release.2006-05-01.2006-02-14.html

    is empty.
2012-05-25 17:08:46 +00:00
marino
c35392241d shells/standalone-tcsh: Mark NOT-FOR-DRAGONFLY
This package will install tcsh in the /bin directory (not ${LOCALBASE}/bin).
DragonFly already has tcsh in the base system, so this package will replace
it with no ability to restore the system version.  This is not desired.

shells/tcsh still works should there be any need for a pkgsrc version installed
at ${LOCALBASE}/bin.
2012-05-22 08:46:53 +00:00
bsiegert
3911e59334 Update mksh to R40f.
mksh R40f fixes a critical bug as well as this:
 [tg, RT] Implement fcntl(2)-based advisory locking as an alternative
  iff flock(2) is not found (LP: #912691); keep trying in the face of EINTR
 [tg] Fix severe regression wrt. initialising tty(4) states
 [tg] Improve testsuite, build-time checks and debugging output
 [tg, RT, winstonw] Improve portability to BeOS (works), Cygwin (good),
  Dell UNIX (works somewhat, but not with gcc), LynxOS (works somewhat),
  NeXTstep (works but not OpenStep 4.2), USL C compiler, SCO OpenServer (good),
  SCO UnixWare (good), Plan 9 (still broken), Syllable Desktop (broken?)
 [tg] rlim_t is supposed to be unsigned
 [tg] Some code, warning and spelling cleanup
 [tg] New Build.sh environment configurable: AWK (= awk)
 [tg, DONG-DONG YANG] Add safety net in the Emacs line editing code
 [tg] No longer rely on env(1), id(1), printf(1) in the testsuite, and
  strcasecmp(3), strcasestr(3), strncasecmp(3) in the code
 [tg, stsc, RT] Reduce system requirements of check.pl further

mksh R40e is another must-have bugfix update:
 [tg, Jilles Tjoelker] skip readonly check in unevaluated ternary twig
 [tg, anonymous] fix all remaining ifs.sh testcases
 [tg] No longer try to build with GCC and C99 extensions
 [tg, Jilles Tjoelker] Do not expand aliases in COMSUB twice
 [tg] Honour UTF-8 multi-byte character boundaries when doing partial
  tab-completion insertions (LP: #909025) to fix RedHat BZ#745702
 [tg] Fix R40 (BZ#496791) regression with IOACT in TIF (LP: #907224)
 [tg, ft] Darn persistent history code worst offenders (LP: #906914)
 [tg] Fix some gc-sections, GCC and Clang/scan-build warnings/issues
 [tg, 28C3] dot.mkshrc hash functions: partially address LP: #909818
 [tg] Only compile divmod(0x80000000, -1) code in when not unneeded
 [tg, RT] Move mirtoconf checks and INCLUDES_ONLY parts of
  sh.h around to ensure prerequisites are always available
 [tg, RT, ir0nh34d] Pass mksh.exe to testsuite, if such thing is generated,
  and deal with Cygwin passing just "mksh" in argv[0] in such cases
 [tg] Imply -DMKSH_ASSUME_UTF8=0 on MSYS; optimise checks
 [tg, Jb_boin] Fix regression introduced in R35b by jaredy's security
  patch where TTIME trashed a non-TCOM string argument (e.g. in TFOR)
 [tg] Better support for tcc; fix GCCism that accidentally crept in
 [tg] Deal with UTF-8 when reporting jobs' commands
 [RT] Add SkyOS to known OS list
 [tg, RT] Support Minix in its variants Minix 3 and Ninix 3 better
 [tg] Drop some Android-specific unused code (lsmod builtin)
 [tg, RT, lewellyn] Support QNX and various versions of BSD/OS better
 [tg] More code cleanup and new developer-only debugging functions
 [tg, Andrew Kudryashov] Fix some tab completion related escaping bugs
 [tg, draenog] Honour COLUMNS and LINES from the environment in scripts
 [tg, winstonw] The sleep built-in utility now blocks more signals
 [tg] Warn when using another deprecated function that will be removed
2012-05-13 18:46:35 +00:00
joerg
a87765cff7 Mark as broken, it just hangs around. 2012-05-04 16:51:18 +00:00
cheusov
c11e216de0 take maintainership 2012-04-26 16:04:38 +00:00
ryoon
71a545c95e Remove PKGREVISION 2012-04-14 16:03:41 +00:00
ryoon
964a76d4aa Update to 4.3.17
Changelog:
* Fix some completion bugs
* Add command completions
* Bug fixes
2012-04-14 16:02:45 +00:00
gls
895176b8af Update shells/lshell to 0.15.1.
Security fix.

=== v0.9.15.1 15/03/2012 ===
    * Corrected security bug allowing user to get out of the restricted
    shell. Thank you bui from NBS System for reporting this grave issue!

=== v0.9.15 13/03/2012 ===
    * Set the hostname to the "short hostname" in the prompt.
    * Corrected traceback when "sudo" command was entered alone. Thank you
      Kiran Reddy for reporting this.
    * Added support for python2.3 as subprocess is not included by default.
    * Corrected the 'strict' behavior when entering a forbidden path.
    * Added short path promp support using the 'prompt_short' variable.
    * Corrected stacktrace when group did not exist.
    * Add support for empty prompt.
    * Fixed bugs when using $() and ``.
    * Corrected strict behavior to apply to forbidden path.
    * Added support for wildcard '*' when using 'cd'.
    * Added support for "cd -" to return to previous directory.
    * Updated security issue with non printable characters permitting user
      to get out of the limited shell.
    * Now lshell automatically reload its configuration if the configuration
      file is modified.
    * Added possibility to have no "intro" when user logs in. (by setting
      the intro configuration field to "")
    * Corrected multiple commands over ssh, and aliases interpretation.
    * Added possibility to use wildcards in path definitions.
    * Finally corrected the alias replacement loop.
2012-04-12 19:44:21 +00:00
adam
86bdc156cf Changes 6.18.01:
* new autorehash builtin to control how the internal command hash
  table is maintained.
* globstar globbing to allow ** and *** expansions
* euid, euser, egid variables.
* wait built-in is now interruptible
* new anyerror variable to control error handling in pipelines
2012-03-22 16:54:25 +00:00
wiz
8b5589a2ea Bump PKGREVISION for python default version change to 2.7.
py-* not affected, since it built different versions depending on the
setting already.
2012-03-09 12:33:57 +00:00
wiz
e0808f0de0 More pcre PKGREVISION bumps. 2012-03-03 12:54:15 +00:00
gls
13b2a19d2a Update shells/lshell to 0.9.14
Upstream changes:


=== v0.9.14 27/10/2010 ===
    * Corrected get_aliases function, as it was looping when aliases were
      "recursive" (e.g. 'ls':'ls --color=auto')
    * Added lsudo built-in command to list allowed sudo commands.
    * Corrected completion function when 2 strings collided (e.g. ls and lsudo)
    * Corrected the README's installation part (adding --prefix).
    * Added possibility to log via syslog.
    * Corrected warning counter (was counting minus 1).
    * Added the possibility to disable the counter, and just warn the user
      (withouht kicking him).
    * Added possibility to configure prompt. Thank you bapt for the patch.
    * Added possibility to set environment variables to users. Thank you bapt
      for the patch.
    * Added the 'history' built-in function.

=== v0.9.13 02/09/2010 ===
* Switched from deprecated popen2 to subprocess to be python2.6 compatible.
Thank you Greg Orlowski for the patch.
* Added missing builin commands when 'allowed' list was set to 'all'. For
example, the "cd" command was then missing.
* Added the "export" builtin function to export shell variables. Thank you
Chris for reporting this issue.
2012-02-19 13:03:11 +00:00
hans
a933dd6417 Make sure the correct install tool is used. 2012-02-16 19:43:14 +00:00
bsiegert
d18c97fb44 Update mksh to R40d.
Changes: essentially bugfixes.

  # [tg] New test.sh `-f' option (same as `-C fastbox')
  # [tg] Drop using set -o noglob inside pushd/popd/dirs
  # [tg] Use += more in dot.mkshrc and keep strings shorter
  # [tg] Correct interworking between local and set -A
  # [tg] Fix out-of-bounds memory access on strings of 32 KiB length
  # [tg] MKSH_DISABLE_DEPRECATED (for integrators)
  # [tg, Jilles Tjoelker] test(1) built-in behaves exactly as POSIX says
  # [tg] Move compile-time assertions to Build.sh from misc.c#ifdef DEBUG
  # [tg] Invocation documentation is at the bottom of Build.sh
  # [tg] test.sh: verbosely look for perl(1) interpreter to use
  # [tg] New tests for integers (base 1#36, base unspecified, base OOB)
  # [tg] Correct error paths for typeset -n global state
  # [tg] Deprecate interpreting "010" as octal number, will go
  # [tg] Improvements re. integer handling; more explicit manpage text
  # [tg] Do not use caddr_t on Linux, so dietlibc stops bitching
  # [tg, Jilles Tjoelker] Catch division/modulo overflow 0x80000000/-1
  # [tg] Emacs mode ^O regression fix when the fetched lines are edited
2012-02-06 20:23:15 +00:00
joerg
6bae857d04 Fix mdoc syntax. Bump revision. 2012-01-24 22:21:43 +00:00
taca
34ad1ed937 Remove unused and no need patch file to fix build problem. 2012-01-16 07:05:39 +00:00
ryoon
593ac9af99 Update to 4.3.15
Changelog:
* Bugfixes.
* Many improvements especially functions and completion.

Tested on NetBSD/i386 5.99.59 and 5.1.
2012-01-14 14:39:18 +00:00
dholland
0567fbfe3b Set NOT_FOR_PLATFORM=${LP64PLATFORMS} as scsh is known to not be 64-bit
clean.
2011-12-22 04:37:51 +00:00
wiz
e24301fe02 Let mplayer autocomplete .webm files.
Bump PKGREVISION.
2011-12-14 11:09:33 +00:00
dholland
5b67ddd5a0 fix some low-hanging fruit 2011-12-13 07:11:13 +00:00
marino
415b143cb1 shells/ast-ksh: Fix DragonFly
Add libm to CFLAGS when building on DragonFly to allow build to complete.
Contributed-by: Chris Turner
2011-12-11 12:00:34 +00:00
joerg
a2bbd54f52 #elif needs an expression, so just use #else. 2011-12-05 22:56:22 +00:00
bsiegert
83bfffeb63 Update mksh to 40c.
* [tg, Wouter Verhelst] Fix ${foo%\?} in -o sh
* [jonthn, Snader_LB] Fix spelling mistakes
* [cnuke] Fix bugs spotted during porting to OPENSTEP
* [tg, jg71] Unbreak building stristr with MKSH_ASSUME_UTF8 defined
* [tg] Fix most of the issues Jerker Bäck encountered on Interix
* [tg] Wrap access(2) as it may return false positive for X_OK on root
* [OpenBSD] Upper bound Emacs mode command repeat by input line length
* [tg] Improve CPPFLAGS mangling in Build.sh
* [Snader_LB] Several comment, documentation and website fixes/updates
* [tg] Avoid identifiers and cpp(1) macros with two underscores in a row,
  and those with a trailing underscore; they are reserved for the OS
* [tg] Fix accidental behavioural change wrt some built-in parameters
* [RT, Chris “ir0nh34d” Sutcliffe] Port to MSYS
* [tg, Markus Duft, Bruno Haible] Interix select(2) bug workaround
* [tg] Manpage fixes
* [tg] Deprecate the “command line begins with ‘!’ for fc -e -” wbx hack
* [tg] Promote x=(a b); x+=(c d) to a core mksh(1) feature
* [tg] Testsuite fixes for Hurd, MSYS; warning fixes for dietlibc
* [tg] Fix R40 regression misparsing $(case x in (x) :; esac)
2011-11-22 19:37:34 +00:00
joerg
6580615de9 Don't force -Wl,--whole-archive for NetBSD, it breaks the build with
clang, which doesn't have a reason to disable it again.
2011-11-11 18:45:46 +00:00
cheusov
98589abbad Update my email 2011-10-09 10:02:44 +00:00
ryoon
2d18701381 Add working MASTER_SITES. 2011-09-24 12:03:19 +00:00
ryoon
f8e142ac53 INSTALL_UNSTRIPPED=yes for Darwin.
It is better workaround, I think.
2011-09-22 09:37:06 +00:00
ryoon
c55cfcb0c5 Should be INSTALL_LIB instead of INSTALL_DATA.
It is mistake.
2011-09-20 13:58:01 +00:00
ryoon
c94407d9f2 Add workaround to fix broken "make package" on Darwin 11.0.1. 2011-09-20 13:19:36 +00:00
obache
9b0c7b655d Revision bump after updating perl5 to 5.14.1. 2011-08-14 14:42:45 +00:00
ryoon
1b11edad81 Update to 4.3.12
Changes:
Improved error handling in POSIX emulation, ${NAME:OFFSET:LENGTH}
syntax supports negative LENGTHs, new parameter expansion flag
(g:opts:) which escapes sequences like the echo and print builtins,
the region_highlight array is now updated dynamically as the command
line is edited and the zsh/parameter module has a new array $usergroups
which contains the names of system groups.
2011-07-30 11:53:52 +00:00
ryoon
b78e4dd366 Add "used by" lines. 2011-07-30 11:42:42 +00:00
ryoon
2f7afc0c42 Fix PR pkg/45109
* Include obache@'s patches.
2011-07-22 12:28:26 +00:00
bsiegert
acf44f339d Update mksh to R40.
Many changes and improvements. For a full list, see
http://www.mirbsd.org/mksh.htm#clog .
2011-07-09 15:42:27 +00:00
wiz
43f1976754 Fix typo. 2011-06-17 14:02:21 +00:00
obache
d0a2da62e5 Update HOMEPAGE url. 2011-05-31 11:08:09 +00:00
cheusov
2e4ffdf7fb add heirloom-sh, oked by sponsors 2011-05-28 08:54:03 +00:00
cheusov
eeab9777e9 heirloom-sh 2011-05-28 08:53:11 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
ryoon
48e8b2ac15 * Add workaround for curses detection. 2011-04-06 11:27:59 +00:00
ryoon
4d18af723d * Remove PLIST.DragonFly, now CHECK_BUILTIN.curses is used.
* Disable gdbm support explicitly.
2011-04-05 15:03:44 +00:00
ryoon
d85620aa59 Update to 4.3.11.
Changelog is too long.
Please read NEWS and Changelog file.
2011-04-05 13:54:24 +00:00
obache
d35ec52fd1 remove patch-aa for DragonFly.
Upstream take care it whth different way in 4.2 and this patch broke it.
2011-03-22 04:45:31 +00:00
obache
5b1dd839b9 * add user-destdir installation support.
* fixes a linterpreter line.
* remove post-configure subst, no information in commit log and
  the file will not created there.
2011-03-19 03:58:20 +00:00
wiz
145bfb7ace Add two new entries. 2011-03-12 15:55:22 +00:00
wiz
8095f4d9e4 Update to 4.2.
1.  New Features in Bash

a.  `exec -a foo' now sets $0 to `foo' in an executable shell script without a
    leading #!.

b.  Subshells begun to execute command substitutions or run shell functions or
    builtins in subshells do not reset trap strings until a new trap is
    specified.  This allows $(trap) to display the caller's traps and the
    trap strings to persist until a new trap is set.

c.  `trap -p' will now show signals ignored at shell startup, though their
    disposition still cannot be modified.

d.  $'...', echo, and printf understand \uXXXX and \UXXXXXXXX escape sequences.

e.  declare/typeset has a new `-g' option, which creates variables in the
    global scope even when run in a shell function.

f.  test/[/[[ have a new -v variable unary operator, which returns success if
    `variable' has been set.

g.  Posix parsing changes to allow `! time command' and multiple consecutive
    instances of `!' (which toggle) and `time' (which have no cumulative
    effect).

h.  Posix change to allow `time' as a command by itself to print the elapsed
    user, system, and real times for the shell and its children.

j.  $((...)) is always parsed as an arithmetic expansion first, instead of as
    a potential nested command substitution, as Posix requires.

k.  A new FUNCNEST variable to allow the user to control the maximum shell
    function nesting (recursive execution) level.

l.  The mapfile builtin now supplies a third argument to the callback command:
    the line about to be assigned to the supplied array index.

m.  The printf builtin has a new %(fmt)T specifier, which allows time values
    to use strftime-like formatting.

n.  There is a new `compat41' shell option.

o.  The cd builtin has a new Posix-mandated `-e' option.

p.  Negative subscripts to indexed arrays, previously errors, now are treated
    as offsets from the maximum assigned index + 1.

q.  Negative length specifications in the ${var:offset:length} expansion,
    previously errors, are now treated as offsets from the end of the variable.

r.  Parsing change to allow `time -p --'.

s.  Posix-mode parsing change to not recognize `time' as a keyword if the
    following token begins with a `-'.  This means no more Posix-mode
    `time -p'.  Posix interpretation 267.

t.  There is a new `lastpipe' shell option that runs the last command of a
    pipeline in the current shell context.  The lastpipe option has no
    effect if job control is enabled.

u.  History expansion no longer expands the `$!' variable expansion.

v.  Posix mode shells no longer exit if a variable assignment error occurs
    with an assignment preceding a command that is not a special builtin.

w.  Non-interactive mode shells exit if -u is enabled and an attempt is made
    to use an unset variable with the % or # expansions, the `//', `^', or
    `,' expansions, or the parameter length expansion.

x.  Posix-mode shells use the argument passed to `.' as-is if a $PATH search
    fails, effectively searching the current directory.  Posix-2008 change.

2.  New Features in Readline

a.  The history library does not try to write the history filename in the
    current directory if $HOME is unset.  This closes a potential security
    problem if the application does not specify a history filename.

b.  New bindable variable `completion-display-width' to set the number of
    columns used when displaying completions.

c.  New bindable variable `completion-case-map' to cause case-insensitive
    completion to treat `-' and `_' as identical.

d.  There are new bindable vi-mode command names to avoid readline's case-
    insensitive matching not allowing them to be bound separately.

e.  New bindable variable `menu-complete-display-prefix' causes the menu
    completion code to display the common prefix of the possible completions
    before cycling through the list, instead of after.
2011-03-12 15:26:45 +00:00
wiz
6503b4c11a MirBSD support from Benny Siegert in PR 44606. 2011-02-20 14:22:15 +00:00
shattered
a01f007099 Remove patch hunks that disable --recheck in GNU configure scripts.
These were generated, apparently, by mk/configure/gnu-configure.mk
(configure-scripts-override target).
2011-01-25 22:22:13 +00:00
hauke
2c4c3da644 Merge the following revisions from NetBSD src:
siglist.sh 1.9: Solaris 7 sort(1) issue with missing whitespace between
option and parameter
lex.c 1.14: C99ish inlined variable declaration
2011-01-23 17:29:30 +00:00
wiz
bb8acf5e55 Revert previous, which deleted the whole contents (hi roy!). 2010-11-30 09:04:58 +00:00
roy
ced9d999b0 Build on Mac OS X again, thans to Ryo ONODERA <ryo_on@yk.rim.or.jp>.
Fixes PR pkg/43083.
2010-11-27 12:46:53 +00:00
obache
7f009a96d3 Add RCS Id to patch-b?. 2010-11-27 07:25:25 +00:00
obache
f9b2e22ad2 Modify patches to buildable on NetBSD-5.1, NetBSD-5.99.40 and DragonFly-2.8.2. 2010-11-27 07:21:27 +00:00
adam
dbb4c8bad1 Changes 2.3.3:
This release solves two small bugs, with minor security implications.
2010-10-16 09:57:38 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
jmmv
3b922a2b77 Transfer ownership to pkgsrc-users. pancake's address is not valid any
more and he has agreed in private mail to drop maintainership.
2010-07-06 10:17:11 +00:00
joerg
af458af349 DESTDIR support 2010-06-25 23:16:27 +00:00
gls
47856594ad Update lshell to 0.9.12.
pkgsrc changes:
- Add license

Upstream changes:
=== v0.9.12 04/05/2010 ===
* A minor bug was inserted in version 0.9.11 with the sudo command.
It has been corrected in this version.

=== v0.9.11 27/04/2010 ===
* Corrects traceback when executing a command that had a python homonym
(e.g. "print foo" or "set"). (Closes: SF#2969631)
* Corrected completion error when using "~/". Thanks to Piotr Minkina for
reporting this.
* Corrected the get_aliases function.
* Corrected interpretation of ~user. Thank you Adrien Urban for reporting
this.
* The 'home_path' variable is being deprecated from this version and on.
Please use your system's tools to set a user's home directory.
It will be completely removed in the next version of lshell.
* Corrected shell variable and wildcards expansions when checking a command.
Thank you Adrien Urban for reporting this.
* Added possibility to allow/forbid scp upload/download using scp_upload
and scp_download variables.
* Corrected bug when using the "command=" in openSSH's authorized_keys.
lshell now takes into account the SSH_ORIGINAL_COMMAND environment
variable. Thank you Jason Heiss for reporting this.
* Corrected traceback when aliases is not defined in configuration, and
command is sent over SSH. Thank you Jason Heiss for reporting this.
2010-06-01 21:12:17 +00:00
is
9c5e6fdd19 Update to mksh-39c on suggestion from Thorsten Glaser. 2010-05-28 12:26:49 +00:00
jmmv
9a786011ff Bump PKGREVISION to reflect the recent change in pkginstall/shells to use
etcutils to update /etc/shells.
2010-05-07 12:02:43 +00:00
agc
18d4c8387b Add a patch (already sent upstream) to fix the behavior (slippery slope,
sorry) of 'b', 'e' and 'w' commands in vi editing, when confronted with
a '_' character - this patch makes tcsh consider '_' characters to be part
of the word.
2010-05-04 00:14:00 +00:00
wiz
13e9d53c9b Update to 20100430, from J.A. Neitzel in PR 43235:
1) osh globbing is now handled by the main osh process, allowing
(for example) `mkdir some_really_long_directory_name...  ; cd
some*...' and globbing for other special built-in commands as well.

2) A new, osh history-file-support feature has been added to save
the user's command-line history to the user $h/.osh.history file
if/when this file exists upon shell invocation.
2010-05-02 10:31:12 +00:00
wiz
7f244ac661 Replace /bin/zsh in one more file. Bump PKGREVISION. 2010-04-29 22:23:37 +00:00
joerg
b18a6f1700 Allow building on systems without vsnprintf. 2010-04-15 12:49:41 +00:00
imil
31080c8540 Updated from 0.9.4 to 0.9.10
0.9.10

        . Corrected minor bug in the aliases function that appeared in the
          previous version. Thank you Piotr Minkina for reporting this.

0.9.9

        . Added the possibility to configure introduction prompt.
        . Replaced "joker" by "warnings" (more elegant)
        . Possibility of limiting the history file size.
        . Added lpath built-in command to list allowed and denied path.
          Thanks to Adrien Urban.
        . Corrected bug when using "~" was not parsed as "home directory" when
          used in a command other than "cd". Thank you Adrien Urban finding
          this.
        . Corrected minor typo when warning for a forbidden path.
        . If $(foo) is present in the line, check if foo is allowed before
          executing the line. Thank you Adrien Urban for pointing this out!
        . Added the possibility to list commands allowed to be executed using
          sudo.
          The new configuration field is sudo_commands.
        . Added the clear(1) command as a built-in command.
        . Added '$(' and '${' in the forbidden list by default in the
          configuration
          file.
        . Now check the content of curly braces withariables '${}'. Thank you
          Adrien Urban for reporting this.
        . Added possibility to set history file name using history_file in the
          configuration file.
        . Corrected the bug when using '|', '&' or ';' over ssh. Over ssh
          forbidden
          characters refers now to the list provided in the "forbidden" field.
          Thank you Jools Wills for reporting this!
        . It now possible to use "&&" and "||" even if "&" and/or "|" are in the
          forbidden list. In order to forbid them too, you must add them
          explicitely in the forbidden list. Thank you Adrien Urban for this
          suggestion.
        . Fixed aliases bug that replaced part of commands rendering them
          unusable.

          e.g. aliasei:vim replaced the view command by vimew.
        . Added a logrotate file for lshell log files.
        . Corrected parsing of commands overssh to be checked by the same
          function
          used by the lshell CLI.

        Thank you Adrien Urban for you security audit and excellent ideas!

0.9.8

        . Major bug fix. lshell did not launch on python 2.4 and 2.5
          (https://sourceforge.net/projects/lshell/forums/forum/778301/topic/347
4668)
        . Added aliases for commands over SSH.

0.9.7

        . Cleaned up the Python code
        . Corrected crash when directory permission denied
          (Closes: https://sourceforge.net/tracker/?func=detail&aid=2875374&grou
p_id=215792&atid=1035093)
        . Added possibility to set the home_path option using the '%u' flag.
          (e.g. '/var/chroot/%u' where '%u' will be replaced by the user's
          username)
        . Now replaces "~" by user's home directory.

0.9.6

        . Major security fix. User had access to all files located in forbidden
          directories
          (Closes: https://sourceforge.net/tracker/?func=detail&aid=2838542&grou
p_id=215792&atid=1035093)
        . Corrects RPM generation bug
          (Closes: https://sourceforge.net/tracker/index.php?func=detail&aid=283
8283&group_id=215792&atid=1035093)
        . lshell exits gracefully when user home directory doesn't exist

0.9.5

        . Minor release
        . Changed lshell's group from lshellg to lshell (this should not have
          an impact on older installations)
        . Minor typo correction in the lshell.py code
2010-04-11 14:37:25 +00:00
hauke
c048e7b1af Apply the patch from pkg/40683, which did not make it into the 6.17
update of the package.
2010-03-26 14:09:50 +00:00
adam
70995abe5e Changes 6.17.00:
I am pleased to announce that tcsh-6.17 is now available; this is a mainly a
bug fix release with the exception of these three feature additions:
 10. always save the whole command, not just the first 80 chars of it.
  4. Add autoexpand=onlyhistory (Don Estabrook, m66)
  3. Add history in loops (Laurence Darby, m48)
Please consult the Fixes files for a complete list of changes.
2010-03-14 14:06:09 +00:00
roy
cde662efb6 Fix patches to pull in curses.h when needed.
Fixes PR pkg/42877.
2010-03-10 08:19:57 +00:00
snj
c5e4b0b1d3 Update to 4.3.10.
Some highlighted changes (for full details, see the ChangeLog):

The command "emulate <mode> -c ..." evaluates an expression in a given
emulation.  The emulation is sticky for functions defined within the
expression.

The variable CORRECT_IGNORE gives a pattern that can be ignored
in spelling correction.  CORRECT_IGNORE='_*' ignores completion functions.

The option POSIX_ALIASES improves compatibility of aliases with other
shells.

The variable ZSH_PATCHLEVEL can be used to test for unreleased versions of
the shell; it is present but less useful in released versions.

The variables ZLE_REMOVE_SUFFIX_CHARS and ZLE_SPACE_SUFFIX_CHARS allow more
control over the way automatically removed suffixes are treated in
completion.
2010-02-27 18:19:02 +00:00
wiz
aeaceb273d Reset maintainer for developers who gave back their commit bit. 2010-02-26 10:28:30 +00:00
roy
065408793f Add $NetBSD$ 2010-02-23 17:11:01 +00:00
wiz
d84929bb7a Remove bash3, use bash4 instead.
bash2 stays for a little while longer, for A/UX and AIX 4 (requested by
Tim Larson).
2010-02-15 12:58:14 +00:00
joerg
43d61d5817 DESTDIR support 2010-02-12 00:21:17 +00:00
joerg
3a06eb96bf Bump revision for PYTHON_VERSION_DEFAULT change. 2010-02-10 19:17:31 +00:00
wiz
cff22932dd Add patch fixing build on DragonFly provided by Steve O'Hara-Smith
in PR 42666.
2010-02-09 12:31:19 +00:00
zafer
4e2ea81be8 update master_sites 2010-02-09 00:05:48 +00:00
roy
f44c7dac11 USE > IS for builtins. 2010-02-08 22:12:40 +00:00
roy
f24d88b832 Remove curses.so from PLIST, fixes pkg/42761. 2010-02-08 14:34:31 +00:00
roy
85e335bd32 Add patches to fix building on NetBSD with terminfo, fixes PR pkg/42761. 2010-02-07 10:07:10 +00:00
roy
a011d9fb12 Fix compile on NetBSD with terminfo, pkg/42762. 2010-02-07 09:53:20 +00:00
obache
0a6007dad6 Change HOMEPAGE to sourceforge's one (old one had been retired). 2010-02-07 07:22:08 +00:00
dholland
0575276017 destdir support 2010-02-04 05:23:27 +00:00
joerg
40bd5eec71 DESTDIR support 2010-01-27 14:53:31 +00:00
wiz
dda6139839 Update to 4.1:
This document details the changes between this version, bash-4.1-rc,
and the previous version, bash-4.1-beta.

1.  Changes to Bash

a.  Fixed a bug that caused printf to not return a partial value when it
    encountered an error while converting an integer argument.

b.  Fixed a bug that caused setting one of the compatNN options to not
    turn off the others.

c.  The (undocumented) --wordexp option is no longer included by default.

d.  Fixed a bug in conditional command execution that caused it to not
    correctly ignore the exit status under certain circumstances.

e.  Added a configure-time check for correctly-working asprintf/snprintf.

f.  Fixed some problems with line number calculation and display when sourcing
    a file in an interactive shell.

g.  Fixed a bug that caused the shell to crash when using `declare -A foo=bar'.

h.  Fixed a bug that caused an off-by-one error when calculating the directories
    to display with the PROMPT_DIRTRIM option.

2.  Changes to Readline

a.  Fixed a bug that caused applications using the callback interface to not
    react to SIGINT (or other signals) until another character arrived.

------------------------------------------------------------------------------
This document details the changes between this version, bash-4.1-beta,
and the previous version, bash-4.1-alpha.

1.  Changes to Bash

a.  Fixed a bug in mapfile that caused the shell to crash if it was passed the
    name of an associative array.

b.  Fixed a bug that caused the shell to incorrectly split case patterns if
    they contained characters in $IFS.

c.  Fixed a bug that caused the shell to set $? to the wrong value when using
    a construct ending with a variable assignment with set -x enabled and PS4
    containing a command substitution.

d.  Fixed a bug that caused the shell to read commands incorrectly if an
    expansion error occurred under certain conditions in a user-specified
    subshell.

e.  Fixed a bug that caused the shell to set $? incorrectly if a parse error
    occurred in an evaluation context ("eval", trap command, dot script, etc.)

f.  Fixed a bug that caused the shell to attempt command substitution
    completion within a single-quoted string.

g.  Fixed a bug that caused the shell to insert an extra single quote during
    word completion.

h.  Fixed a bug that caused the shell to crash if invoked with the environment
    variable EMACS having a null value.

i.  Fixed a bug that caused bash to incorrectly report the presence of new
    mail in a `maildir' environment.

j.  Fixed a bug that caused the shell to not recognize a here-document ending
    delimiter inside a command substitution.

k.  Fixed a bug that caused the shell to crash when a a dynamic array variable
    was assigned a scalar value.

2.  Changes to Readline

3.  New Features in Bash

a.  The mapfile/readarray builtin no longer stores the commands it invokes via
    callbacks in the history list.

b.  There is a new `compat40' shopt option.

c.  The < and > operators to [[ do string comparisons using the current locale
    only if the compatibility level is greater than 40 (set to 41 by default).

4.  New Features in Readline

------------------------------------------------------------------------------
This document details the changes between this version, bash-4.1-alpha,
and the previous version, bash-4.0-release.

1.  Changes to Bash

a.  Fixed bugs in the parser involving new parsing of the commands contained
    in command substitution when the substitution is read.

b.  Fixed a bug that caused the shell to dump core when performing programmable
    completion using a shell function.

c.  Fixed a bug in `mapfile' that caused it to invoke callbacks at the wrong
    time.

d.  Fixed a bug that caused the shell to dump core when listing jobs in the
    `exit' builtin.

e.  Fixed several bugs encountered when reading subscripts in associative
    array assignments and expansions.

f.  Fixed a bug that under some circumstances caused an associative array to
    be converted to an indexed array.

g.  Fixed a bug that caused syntax errors and SIGINT interrupts to not set
    $? to a value > 128.

h.  Fixed a bug that caused the shell to remove FIFOs associated with process
    substitution inside shell functions.

i.  Fixed a bug that caused terminal attributes to not be reset when the
    `read' builtin timed out.

j.  Fixed a bug in brace expansion that caused unwanted zero padding of the
    expanded terms.

k.  Fixed a bug that prevented the |& construct from working as intended when
    used with a simple command with additional redirections.

l.  Fixed a bug with the case statment ;& terminator that caused the shell to
    dereference a NULL pointer.

m.  Fixed a bug that caused assignment statements or redirections preceding
    a simple command name to inhibit alias expansion.

n.  Fixed the behavior of `set -u' to conform to the latest Posix interpretation:
    every expansion of an unset variable except $@ and $* will cause the
    shell to exit.

o.  Fixed a bug that caused double-quoted expansions of $* inside word
    expansions like ${x#$*} to not expand properly when $IFS is empty.

p.  Fixed a bug that caused traps to set $LINENO to the wrong value when they
    execute.

q.  Fixed a bug that caused off-by-one errors when computing history lines in
    the `fc' builtin.

r.  Fixed a bug that caused some terminating signals to not exit the shell
    quickly enough, forcing the kernel to send the signal (e.g., SIGSEGV)
    multiple times.

s.  Fixed a bug that caused the shell to attempt to add empty lines to the
    history list when reading here documents.

t.  Made some internal changes that dramatically speeds up sequential indexed
    array access.

u.  Fixed a bug that caused the shell to write past the end of a string when
    completing a double-quoted string ending in a backslash.

v.  Fixed a bug that caused the shell to replace too many characters when a
    pattern match was null in a ${foo//bar} expansion.

w.  Fixed bugs in the expansion of ** that caused duplicate directory names
    and the contents of the current directory to be omitted.

x.  Fixed a bug that caused $? to not be set correctly when referencing an
    unset variable with set -u and set -e enabled.

y.  Fixed a bug caused by executing an external program from the DEBUG trap
    while a pipeline was running.  The effect was to disturb the pipeline
    state, occasionally causing it to hang.

z.  Fixed a bug that caused the ** glob expansion to dump core if it
    encountered an unsearchable directory.

aa. Fixed a bug that caused `command -v' and `command -V' to not honor the
    path set by the -p option.

bb. Fixed a bug that caused brace expansion to take place too soon in some
    compound array assignments.

cc. Fixed a bug that caused programmable completion functions' changes to
    READLINE_POINT to not be reflected back to readline.

dd. Fixed a bug that caused the shell to dump core if a trap was executed
    during a shell assignment statement.

ee. Fixed an off-by-one error when computing the number of positional
    parameters for the ${@:0:n} expansion.

ff. Fixed a problem with setting COMP_CWORD for programmable completion
    functions that could leave it set to -1.

gg. Fixed a bug that caused the ERR trap to be triggered in some cases where
    `set -e' would not have caused the shell to exit.

hh. Fixed a bug that caused changes made by `compopt' to not persist past the
    completion function in which compopt was executed.

ii. Fixed a bug that caused the list of hostname completions to not be cleared
    when HOSTNAME was unset.

jj. Fixed a bug that caused variable expansion in here documents to look in
    any temporary environment.

kk. Bash and readline can now convert file names between precomposed and
    decomposed Unicode on Mac OS X ("keyboard" and file system forms,
    respectively).  This affects filename completion (using new
    rl_filename_rewrite_hook), globbing, and readline redisplay.

ll. The ERR and EXIT traps now see a non-zero value for $? when a parser
    error after set -e has been enabled causes the shell to exit.

mm. Fixed a bug that in brace expansion that caused zero-prefixed terms to
    not contain the correct number of digits.

nn. Fixed a bug that caused the shell to free non-allocated memory when
    unsetting an associative array which had had a value implicitly assigned
    to index "0".

oo. Fixed a memory leak in the ${!prefix@} expansion.

pp. Fixed a bug that caused printf to not correctly report all write errors.

qq. Fixed a bug that caused single and double quotes to act as delimiters
    when splitting a command line into words for programmable completion.

rr. Fixed a bug that caused ** globbing that caused **/path/* to match every
    directory, not just those matching `path'.

ss. Fixed a bug that caused the shell to dump core when running `help' without
    arguments if the terminal width was fewer than 7 characters.

2.  Changes to Readline

a.  The SIGWINCH signal handler now avoids calling the redisplay code if
    one arrives while in the middle of redisplay.

b.  Changes to the timeout code to make sure that timeout values greater
    than one second are handled better.

c.  Fixed a bug in the redisplay code that was triggered by a prompt
    containing invisible characters exactly the width of the screen.

d.  Fixed a bug in the redisplay code encountered when running in horizontal
    scroll mode.

e.  Fixed a bug that prevented menu completion from properly completing
    filenames.

f.  Fixed a redisplay bug caused by a multibyte character causing a line to
    wrap.

g.  Fixed a bug that caused key sequences of two characters to not be
    recognized when a longer sequence identical in the first two characters
    was bound.

h.  Fixed a bug that caused history expansion to be attempted on $'...'
    single-quoted strings.

i.  Fixed a bug that caused incorrect redisplay when the prompt contained
    multibyte characters in an `invisible' sequence bracketed by \[ and
    \].

j.  Fixed a bug that caused history expansion to short-circuit after
    encountering a multibyte character.

3.  New Features in Bash

a.  Here-documents within $(...) command substitutions may once more be
    delimited by the closing right paren, instead of requiring a newline.

b.  Bash's file status checks (executable, readable, etc.) now take file
    system ACLs into account on file systems that support them.

c.  Bash now passes environment variables with names that are not valid
    shell variable names through into the environment passed to child
    processes.

d.  The `execute-unix-command' readline function now attempts to clear and
    reuse the current line rather than move to a new one after the command
    executes.

e.  `printf -v' can now assign values to array indices.

f.  New `complete -E' and `compopt -E' options that work on the "empty"
    completion: completion attempted on an empty command line.

g.  New complete/compgen/compopt -D option to define a `default' completion:
    a completion to be invoked on command for which no completion has been
    defined.  If this function returns 124, programmable completion is
    attempted again, allowing a user to dynamically build a set of completions
    as completion is attempted by having the default completion function
    install individual completion functions each time it is invoked.

h.  When displaying associative arrays, subscripts are now quoted.

i.  Changes to dabbrev-expand to make it more `emacs-like': no space appended
    after matches, completions are not sorted, and most recent history entries
    are presented first.

j.  The [[ and (( commands are now subject to the setting of `set -e' and the
    ERR trap.

k.  The source/. builtin now removes NUL bytes from the file before attempting
    to parse commands.

l.  There is a new configuration option (in config-top.h) that forces bash to
    forward all history entries to syslog.

m.  A new variable $BASHOPTS to export shell options settable using `shopt' to
    child processes.

n.  There is a new confgure option that forces the extglob option to be
    enabled by default.

o.  New variable $BASH_XTRACEFD; when set to an integer bash will write xtrace
    output to that file descriptor.

p.  If the optional left-hand-side of a redirection is of the form {var}, the
    shell assigns the file descriptor used to $var or uses $var as the file
    descriptor to move or close, depending on the redirection operator.

q.  The < and > operators to the [[ conditional command now do string
    comparison according to the current locale.

r.  Programmable completion now uses the completion for `b' instead of `a'
    when completion is attempted on a line like: a $(b c.

s.  Force extglob on temporarily when parsing the pattern argument to
    the == and != operators to the [[ command, for compatibility.

t.  Changed the behavior of interrupting the wait builtin when a SIGCHLD is
    received and a trap on SIGCHLD is set to be Posix-mode only.

u.  The read builtin has a new `-N nchars' option, which reads exactly NCHARS
    characters, ignoring delimiters like newline.

4.  New Features in Readline

a.  New bindable function: menu-complete-backward.

b.  In the vi insertion keymap, C-n is now bound to menu-complete by default,
    and C-p to menu-complete-backward.

c.  When in vi command mode, repeatedly hitting ESC now does nothing, even
    when ESC introduces a bound key sequence.  This is closer to how
    historical vi behaves.

d.  New bindable function: skip-csi-sequence.  Can be used as a default to
    consume key sequences generated by keys like Home and End without having
    to bind all keys.

e.  New application-settable function: rl_filename_rewrite_hook.  Can be used
    to rewite or modify filenames read from the file system before they are
    compared to the word to be completed.

f.  New bindable variable: skip-completed-text, active when completing in the
    middle of a word.  If enabled, it means that characters in the completion
    that match characters in the remainder of the word are "skipped" rather
    than inserted into the line.

g.  The pre-readline-6.0 version of menu completion is available as
    "old-menu-complete" for users who do not like the readline-6.0 version.

h.  New bindable variable: echo-control-characters.  If enabled, and the
    tty ECHOCTL bit is set, controls the echoing of characters corresponding
    to keyboard-generated signals.

i.  New bindable variable: enable-meta-key.  Controls whether or not readline
    sends the smm/rmm sequences if the terminal indicates it has a meta key
    that enables eight-bit characters.
2010-01-16 17:17:04 +00:00
wiz
4159fec634 Fix typo in previous.
Update was ok'd by dillo@
2010-01-05 11:21:42 +00:00
wiz
f30631d1c9 Update to 20091218, provided by J.A.Neitzel in PR 42536. Set LICENSE.
Changes:
1) This update fixes a compilation problem on AIX caused by not
wrapping WCOREDUMP(s) with #ifdef WCOREDUMP ... #endif.

2) General code cleanup and rechecking w/ splint(1) reduces
unnecessary code duplication and eases future maintenance.

3) This update adds the program name to osh diagnostics (e.g.,
"osh: syntax error") for the sake of user friendliness.
2010-01-05 11:21:20 +00:00
ahoka
2aaae24f73 mksh R39 evolved into these through various means:
[tg] Shut up a bogus gcc warning during configuration process
[tg] Spell AT&T consistently in the source code
[tg] Tweak mksh(1) manual page, from wbx@ and «lewellyn:#ksh»
[tg] dot.mkshrc: fix $@ vs. $* mix-up
[tg] dot.mkshrc: add DJB cdb hash function
[tg] Sync with oksh: fix Vi editing mode word erase handling, again
[tg] Skip whitespace between POSIX style shell function name and its definition parenthesēs during detection if an alias of the same name already exists to be more robust (Debian Closes: #535970)
[tg] Build system improvements for ACK and nwcc, both on Debian sid
[tg] Fix spelling error in changelog discovered by Lintian
[tg] Aligh “set -o nounset” / “set -u” behaviour with future POSIX standard, as discussed with GNU bash maintainers, David Korn from AT&T ksh93, and The Open Group; prompted by use in Debian; Closes: #539538
[tg] add an unsupported way to make printf(1) a builtin
[tg] Build system and regression test code and comment improvements: better and more comments matching reality better; more reliability w.r.t. passed CPPFLAGS; more of the MKSH_SMALL changes may be overridden, all of them are now enumerated on the webpage; fixed some breakage; portability
[tg] MKSH_NOPWNAM and MKSH_SMALL will now both disable the ~fac/ (homedir) expansion code wholly if defined, not just getpwnam(3) calls
[tg] shells without job control no longer define the standard “stop” and “suspend” aliases (they are pointless anyway); regression tests know
[tg] use system RCS ID macros on MirBSD if decent enough
[tg] shut up bogus gcc 4.5/trunk warnings caused by over-optimisation
[tg] restore ANSI C compilability broken in R38 (speed up, even)
[tg] use memcpy(3) ipv strlcpy(3) if possible and safe and secure
2009-12-05 13:31:18 +00:00
snj
63a509cd2b Add a readline option (disabled by default), as requested in PR pkg/30559.
While here, fix a spelling error in DESCR.
2009-12-02 09:30:49 +00:00
asau
9cdc0ff7e5 Reset MAINTAINER per request in PR pkg/42272 2009-11-05 21:56:59 +00:00
wiz
1e3f2ea96d Fix a bug reported by Mark Norman Francis on pkgsrc-users:
BASH_COMPLETION_DIR was set incorrectly.

Bump PKGREVISION.
2009-09-29 17:19:11 +00:00
wiz
1221eb8187 Update to 1.0. Fix paths so that inclusion works without setting
additional environment variables.

Note to packagers:
packages installing additional completion files should drop
them into ${DESTDIR}${PREFIX}/share/bash-completion.d
with the name of the package as file name.

bash-completion (1.0)

  [ Guillaume Rousse ]
  * Make bibtex complete on .aux files
  * Add .xvid and .XVID to player completion
  * Added cowsay/cowthink completion
  * Added brctl completion
  * Added cpan2dist completion
  * Added qemu completion
  * Added net-tools (mii-tool and mii-diag) completions
  * Added minicom completion
  * Added quota-tools completion
  * Added rdesktop completion
  * Added tightvncviewer completion
  * Cleanup screen completion, and make it completes on options

  [ David Paleino ]
  * Added .kar to Timidity completion.
  * Fix killall completion, remove trailing ":" on certain process
    names
  * Fix man -l completing filenames (Debian: #497074)
  * (Partly) fixed java classes completion (Debian: #496828). Look for
    FIXME in source.
  * Dump to /dev/null error message from look(1) with no arguments
    (Debian: #495142)
  * Set ssh as default for rsync (was rsh) (Debian: #492328)
  * Added .oga, .ogv, .ogx to mplayer completion (Debian: #496162)
  * Added .epub to unzip|zipinfo completion (Debian: #492476)
  * Added ssh-copy-id completion (Debian: #491856)
  * Moved ssh completion to separate file (Debian: #360628)
  * Bogus completion when mounting subdirs fixed (Debian: #322238)
  * Fix `apt-cache showsrc` completing only on source package names
    (Debian: #361535)
  * Fixed bugs with gdb completion:
    - when an empty directory is in $PATH (thanks to Morita Sho)
      (Debian: #497597)
    - when a non-existing directory is in $PATH (Debian: #499780)
  * Fix missing completion for "-n" and "-e" (we were using echo, now
    using printf) (thanks to Morita Sho) (Debian: #498105)
  * Fixed gpg completion:
    - --@(export|@(?(l|nr|nrl)sign|edit)-key)) (Debian: #500316)
    - -@(r|-recipient))
  * Fixed .cb[rz] completion for evince (Debian: #502885)
  * Added gksudo, gksu, kdesudo completion
  * Added apache2ctl completion
  * Added gpg2 completion (Debian: #489927)
  * Fixed mplayer -skin completion (Debian: #501473)
  * Fixed errors with POSIX enabled (Debian: #502804)
  * Fixed dpkg-source wrong exit() with return() (Debian: #)
  * Added --schedule-only to aptitude's completion (Debian: #502664)
  * Added build-dep to aptitude's completion (Debian: #495883)
  * Added support for `-F configfile' to _known_hosts(), ssh, scp and
    sftp, thanks to Freddy Vulto (Debian: #504141)
  * Fixed sed quoting bug in _known_hosts(), thanks to Freddy Vulto
    (Debian: #504650)
  * Allow `Host(Name)' in ssh config file to be indented
  * Allow `Host(Name)' in ssh config file to have trailing comment.
  * Allow for comments in known_hosts files (Debian: #511789)
  * Fixed perl -I/-x completion, thanks to Freddy Vulto
    (Debian: #504547)
  * README updated: explain how to use bash-completion correctly.
    (Debian: #506560)
  * TODO updated: the Alioth team is now upstream.
  * Added qdbus completion, thanks to Terence Simpson (Ubuntu: #257903)
  * Added monodevelop and mdtool completions.
  * Split subversion-related completions to contrib/_subversion
    (prefixed with _ to avoid file conflicts with upstream's one)
  * Fixed completion of environment variables, thanks to Morita Sho
    (Debian: #272660)
  * Fix dpkg completion bug: it listed only non-Essential packages
    (Debian: #511790)
  * Fixed _dpkg_source completion (Debian: #503317)
  * Added _parse_help() to try to parse options listed in $command
    --help
  * Fixed gzip completion to use _parse_help(), since the available
    options vary with distributions
  * Added to_review/ directory, where completions needing a review would
    go. After it gets accepted, the completion would go into contrib/.
  * Remove unused UNAME local variable in _info() (Debian: #501843)
  * AUTHORS added
  * Make _alias() use _get_cword
  * Added .zip to jar completions (Debian: #521041)
  * Merge from Gentoo:
    - fix 'find' completion so that it properly completes on -?(i)whilename.
      Patch by Ciaran McCreesh.
    - use make -qp to parse the Makefile for us, so we get proper completion
      on things like pattern rules. Patch by Mike Kelly <pioto@exherbo.org>.
    - complete on gkrellm2 as well. Patch by Aaron Walker.
    - fix CVS completion
  * Merge from Ubuntu:
    - consume error messages in configure completion (Ubuntu: #223882)
      (Mika Fischer)
    - quote $xspec in _filedir_xspec in case it is empty, which would
      cause errors if there was no match under failglob. (Ubuntu: #194419)
      (Mika Fischer)
  * debian/links fixed (Debian: #494292)
  * debian/control:
    - fixed typo in the long description
    - added Vcs-* fields
  * debian/install:
    - correctly install contrib/* under /etc/bash_completion.d/
  * debian/copyright updated
  * extra/dh_bash-completion:
    - updated to support a list of files in debian/<package>.bash-completion
      (Debian: #512917)

  [ Ville Skyttä ]
  * Added JPEG 2000 files to display completion, thanks to Bastien Nocera
    (RedHat: #304771)
  * Improved rpm macro completion.
  * Added -E to rpm completion.
  * Improved rpm backup file avoidance.
  * Improved /var/log/rpmpkgs based rpm installed package completion.
  * Improved performance of rpm -qa based rpm installed package completion.
  * Improved features and performance of yum completion.
  * Added support for p (POSIX) and x (x.org) man sections.
  * Improved filename based man page completion.
  * Added minimal sqlite3 completion.
  * Improved getent completion (Ville Skyttä, Guillaume Rousse).
  * (Re)fix gzip and bzip2 options completion.
  * Improved svn filename completion (RedHat: #430059).
  * Add lzma completion (Per Øyvind Karlsen, Ville Skyttä).
  * Add .mp2 and .vdr to mplayer completion (RedHat: #444467).
  * Add .mkv, .mp2 and .vdr to *xine completion (RedHat: #444467).
  * Added lzop completion.
  * Fix scp metacharacter escaping.
  * Remove duplicate cpio completion, thanks to Freddy Vulto (Debian: #512823)
  * Fix awk error in "modprobe -r /" completion (Debian: #512556).
  * Expand ~foo to dir name more eagerly to avoid quoting issues.
  * Fix -sourcepath handling in javadoc packages completion.
  * Extract process name completion from _killall to _pnames, make it work
    for others than Linux and FreeBSD.
  * Fix process name completion with relative paths (RedHat: #484578).
  * Use improved process name completion in pgrep in addition to killall.
  * Enable pgrep and pkill completion if the commands are available, not just
    on Linux and FreeBSD.
  * Drop hg completion, an improved version is shipped with Mercurial
    (contrib/bash_completion in the tarball).
  * Make okular complete on same files as evince, thanks to Mary Ellen Foster
    (RedHat: #486998).
  * Apply ps2pdf completion to ps2pdf{12,13,14,wr} too.
  * Simplify bash_completion.sh, return earlier in non-applicable environments.
  * Remove obsolete --buildarch and --buildos rpm(build) completions.
  * Add rpmbuild --target completion.
  * Use "-profile help" to get mplayer and friends -profile completions.
  * Fix local array initialization under bash 3.0, prevents "()" occurring in
    file and dir name completions.

  [ Freddy Vulto ]
  * Restored `_display()' completion for `display' by removing
    completion-by-extension for `display' (Alioth#311429)
  * Removed duplicate completion option `-borderwidth' for `display'
  * Prevent completion dir from being sourced twice if
    BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433)
  * Make `_mii-tool()' and `_mii-diag()' POSIX-compliant
  * Fix _isql completion waiting for grep input if $ODBCINI not set; handle
    whitespace in $ODBCINI.
  * Split vncviewer completion in _tightvncviewer() and _xvnc4viewer()
    Added _realcommand() global function.

  [ Jakob Unterwurzacher ]
  * ps2pdf can run on .pdf files as well. (Debian: #516614, Ubuntu: #316943)

  [ Santiago M. Mola ]
  * Add .ape to mplayer supported extensions (Alioth#311510).

 -- David Paleino <d.paleino@gmail.com>  Wed, 25 Mar 2009 23:18:24 +0100

bash-completion (20080705) unstable; urgency=low

  [ David Paleino ]
  * Added more completions to imagemagick (thanks to Nelson A. de
    Oliveira) (Debian: #487786)
  * Added xrandr completion (thanks to Anton Khirnov) (Debian: #487825)
  * Improving _gdb completion:
    - $filenames to $default (Debian: #463969)
    - also show directory names (i.e. compgen -d) in COMPREPLY.
    - added . to $PATH, to allow debugging "local" executables.
    - do not complete Bash's builtins (thanks to Morita Sho)

  [ Luk Claes ]
  * Remove use of ucf for /etc/bash-completion (Debian: #488171).

 -- Luk Claes <luk@debian.org>  Sat, 05 Jul 2008 16:14:15 +0200

bash-completion (20080617.5) unstable; urgency=medium

  * Revert way of setting environment variables (Debian: #487774).
  * Add equals sign to _get_cword for mutt_aliases (Debian: #482635).
  * Enhance mlayer completion (Debian: #487826, #487838).

 -- Luk Claes <luk@debian.org>  Tue, 24 Jun 2008 19:50:57 +0200

bash-completion (20080617.4) experimental; urgency=low

  [ David Paleino ]
  * Merged Ubuntu changes:
    - added quote(), quote_readline(), dequote() helper functions.
    - added _remove_word()
    - fixed _get_cword()
    - refactored _filedir using quote_readline()
    - refactored _filedir_xspec using quote_readline()
    - fixed COMPREPLY's in _iwconfig
    - fixed _cvs()
    - _known_hosts(): use files from UserKnownHostsFile options in
                      addition to standard ones.
    - fixed _command() to correctly prune the command line
    - disabled completion of PostgreSQL users and databases
    - fixed _java_packages()
    - fixed _muttquery()
    - added flv/FLV completion to mplayer
    - added --installed to apt-cache
    - only complete on filenames for aspell
    - fixed code for exclusions compspecs
    - added code to gracefully handle debug options (set +/-v)

 -- Luk Claes <luk@debian.org>  Mon, 23 Jun 2008 19:25:25 +0200

bash-completion (20080617.3) unstable; urgency=low

  [ David Paleino ]
  * Fixed IFS for filedir_xspec - Thanks to Stefan Lippers-Hollmann
    (Debian: #487571)

  [ Luk Claes ]
  * Install dh-bash-completion to ease installation of completions.

 -- Luk Claes <luk@debian.org>  Mon, 23 Jun 2008 07:24:21 +0200

bash-completion (20080617.2) unstable; urgency=low

  [ David Paleino ]
  * New upstream release
    - provide a manpage for extra/dh_bash-completion
    - fix semi-serious problem with _filedir() (Debian: #487449)
  * debian/rules:
    - added rule to generate dh_bash-completion's manpage
  * debian/install, debian/dirs:
    - installing dh_bash-completion into /usr/bin
  * debian/control:
    - new package dh-bash-completion

  [ Luk Claes ]
  * Comment new package to make sure current fix gets in the archive first.
  * Add compression completion for vi(m).

 -- Luk Claes <luk@debian.org>  Sun, 22 Jun 2008 19:47:23 +0200

bash-completion (20080617.1) unstable; urgency=medium

  [ David Paleino ]
  * Urgency set to medium because the package is currently unusable.
  * New upstream sub-release
    - fixed some typos here and there which prevented bash completions
      at all (Debian: #487441).
    - really closing Debian bug #455510.

 -- Luk Claes <luk@debian.org>  Sun, 22 Jun 2008 00:22:53 +0200

bash-completion (20080617) unstable; urgency=low

  [ David Paleino ]
  * New upstream release
    - add more completions to aptitude (Debian: #432289)
    - fixed UTF-8 problem with _get_cword(), thanks to
      Andrei Paskevich (Debian: #472132)
    - fixed autoremove completion, thanks to Flavio Visentin
      (Debian: #474974)
    - cmf and CMF added to playmidi completion (Debian: #365658)
    - added rrdtool completion, thanks to Justin Pryzby (Debian: #428641)
    - added OpenDocument completion for unzip/zipinfo (.od{f,g,p,s,t})
      (Debian: #472940)
    - fixed escaping problems with job control (i.e. disown, jobs, bg,
      fg): the argument is now surrounded by "" (Debian: #347316)
    - make mkdir complete also on filenames (Debian: #376433)
    - {bz,z}{cat,cmp,diff,egrep,fgrep,grep,less,more} now should complete
      on all filenames, not just compressed archives (just commented out)
      (Debian: #455510)
    - fixes Perl completion (Debian: #470742)
    - fixes get_cword -> _get_cword typo (Debian: #478596)
    - fixes _get_cword() function to properly handle filenames with
      whitespaces (Debian: #394636, #468254, #474094)
    - added .pdf.bz2 completion to evince (Debian: #424736)
    - added .svg completion to display (Debian: #441017)
    - added .m2ts completion to mplayer (Debian: #480879)
    - added extra/dh_bash-completion to ease future rewrite of bc.
  * debian/copyright - now in a fancier machine-parsable format.
  * debian/control:
    - added myself to Uploaders
    - debhelper Build-Depends updated to >= 6.
  * debian/watch:
    - improved current watch line regex
    - added (commented out) probable future watch line
  * debian/compat bumped to 6
  * debian/dirs, debian/install and debian/links added
  * debian/rules:
    - refactored to make use of debian/{dirs,install,links}

  [ Steve Kemp ]
  * Applied patch to fix completion of umount command.
    (Debian: #470539)
  * Fixed the completion of Perl manpages.
    (Debian: #404976)
  * Added 'aif' to the filenames offed for completion for mplayer.
    (Debian: #474517)
  * Allow tsocks completion.
    (Debian: #409423)
  * Update mutt completion to handle local usernames.
    (Debian: #416655)
  * Update apt-get completion to include the flag "--no-install-recommends"
    (Debian: #475242)

 -- Luk Claes <luk@debian.org>  Sat, 21 Jun 2008 21:59:43 +0200

bash-completion (20060301-4) unstable; urgency=low

  * Add some fixes from Ubuntu:
  * Fix completion of filenames with spaces (Debian: #468254).
  * Fix parsing of SSH config files (Debian: #435117).
  * Change priority to standard (Debian: #471666).
  * Add some more completions for xine (Debian: #452083, #471249).
  * Fix completion of gzip (Debian: #351913).
  * Also use $HOSTFILE in hostname completion (Debian: #400380).

 -- Luk Claes <luk@debian.org>  Sat, 22 Mar 2008 23:10:30 +0000

bash-completion (20060301-3) unstable; urgency=low

  * Fix kpdf completion (Debian: #468163, #413374).
  * Fix completion of - or -- with _command (Debian: #415276).
  * Add sux to the complete -u list (Debian: #466089).
  * Add dvipdfm to the list of dvi programs (Debian: #396644).
  * Add --purge-unused option completion for aptitude (Debian: #438471).
  * Add divx extension completion for mplayer (Debian: #444294).
  * Add pdf.gz completion for evince (Debian: #456887).
  * Add --remove-all completion for update-alternatives (Debian: #269173).

 -- Luk Claes <luk@debian.org>  Wed, 05 Mar 2008 22:57:27 +0100

bash-completion (20060301-2) unstable; urgency=low

  * Take over the package.

 -- Luk Claes <luk@debian.org>  Wed, 27 Feb 2008 19:22:03 +0100

bash-completion (20060301-1) unstable; urgency=low

  * Upload to unstable.

 -- Matthias Klose <doko@debian.org>  Sat, 09 Feb 2008 23:18:20 +0100

bash-completion (20060301-0ubuntu2) hardy; urgency=low

  * Replace bash (<< 3.1dfsg-9), handle upgrade in preinst.
  * Exclude hashed hostnames from ssh host completion results. Debian: #428085.
  * Fix: ifup/down don't really complete. Debian: #463756.
  * Allow perl completion to complete filenames, complete -I and -x arguments.
    Debian: #443394.
  * Add find -wholename completion. Debian: #431220.
  * Handle whitespaces in $HOME for _known_hosts() completion. Debian: #414821.
  * dpkg -L: complete for removed-but-not-purged packages. Debian: #372156.
  * Complete for apt-get autoremove. Debian: #433542, #443816, #445332.
  * Update completion for mplayer (mka/flac). Debian: #340452.
  * Add ping6/fping6 completion. Debian: #413170.
  * Handle whitespace in paths for mount/umount completion. Debian: #367957.
  * apt-get: Support --auto-remove. Ubuntu: #60666.

 -- Matthias Klose <doko@ubuntu.com>  Sat, 09 Feb 2008 23:11:32 +0100

bash-completion (20060301-0ubuntu1) hardy; urgency=low

  * Initial release, split out from the bash package.
    The software currently is unsupported upstream.
  * Don't try to set a readonly variable. Ubuntu: #149527.
  * Support purge in apt-get auto completion (Mathias Gug). Ubuntu: #151677.
  * evince: Autocomplete on cbr/cbz/djvu files. Ubuntu: #156200, #175220.
    Debian: #400678.
  * kdvi: complete .*\.dvi\.(gz|bz2). Ubuntu: #128234.
  * kpdf: Complete postscript files. Ubuntu: #162319.
  * Make completion working in the middle of a word (Adam Simpkins).
    Ubuntu: #139666.

 -- Matthias Klose <doko@ubuntu.com>  Fri, 08 Feb 2008 16:46:34 +0100
2009-09-25 12:29:26 +00:00
wiz
4ebfefc567 Remove code that triggers parsing bugs in older gccs (e.g. on
NetBSD-3.1/amd64).
Reported by Michael Lambert and David A. Holland.
2009-09-04 15:36:16 +00:00
wiz
d4bff4a007 Set LICENSE. 2009-09-04 15:35:10 +00:00
wiz
2be4ec3f1f Add dash to /etc/shells. From PR 41949 by Tim Larson. 2009-08-27 17:03:58 +00:00
zafer
12759988fb remove ftp.gw.com from master_sites. service suspended. 2009-08-15 23:43:26 +00:00
hasso
9dc24446db Update to 4.0.28. Bugfixes. 2009-08-06 06:38:46 +00:00
rillig
a09fde9739 Added dash. 2009-07-26 21:30:28 +00:00
rillig
f263fbd5f9 Imported dash from pkgsrc-wip.
Debian Almquist shell.  A small POSIX-compliant shell that is faster than bash.

Packaged by christtrekker@users.sourceforge.net.
2009-07-26 21:27:49 +00:00
tnn
f33db488c6 needs termcap (uses tputs(3)) 2009-07-19 16:07:13 +00:00
hasso
f7cd5f8f38 Make it build on DragonFly. 2009-07-14 09:14:04 +00:00
ahoka
dfc17f736d Fix build on HP-UX.
pdksh is so messy.
2009-06-27 23:42:39 +00:00
joerg
ecbd391aea Use @pkgdir. 2009-06-14 21:21:54 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
ahoka
6db67b0c01 mksh R38c contains the following fixes:
*  [tg] Fix regression tests on OSes insisting on a shebang (Cygwin)
    *  [Sean Boudreau] QNX 6.4.2 ed(1) is said to have the bugs fixed
    *  [tg] Build.sh bugfixes: -DMKSH_BINSHREDUCED can also
        be given without -DMKSH_SMALL; allow HAVE_REALPATH=x and
        HAVE_REVOKE=x in the environment to re-enable these even if
        -DMKSH_SMALL disables them by default, like mknod already did
    *  [tg] -DMKSH_ASSUME_UTF8=0 skips the environment checks, like
        -DMKSH_ASSUME_UTF8=1, but disables the utf8-mode
    *  [tg] Apply some more KNF – style(9) – to the source; clean it up
        and further optimise for small size
    *  [OpenBSD] Fix segfaults caused by missing check for end of input
        in the tokeniser on “let --” and other input
    *  [OpenBSD] Make Vi editing mode ^W behave like Emacs mode’s
    *  [tg] If no killpg(3) is avaiable, use kill(2) and hope it works
    *  [tg] -DMKSH_NO_LIMITS skips trying to build the ulimit code
2009-06-14 11:51:41 +00:00
rillig
61c7cf362d Removed redundant .gz suffix for man pages. 2009-06-12 19:09:35 +00:00
imil
3eaac5798e Updated from 0.2.6 to 0.9.4.
0.9.4
	. Log file name is now configurable using 'logfilename' variable
	  inside the configuration file
	. Corrected aliases in lshell.conf to work with *BSD

0.9.3
	. corrected major bug (alias related)

0.9.2
	. added Force SCP directory feature
	. added command alias feature

0.9.1
	. loglevel can now be defined on global, group or user level
	. corrected sftp support (broken since in 0.9.0)

0.9.0
	. version jump to 0.9.0
	. corrected bug in case PATH does not exist and allowed set to 'all'
	. added support for UNIX groups in configuration file
	. corrected major security bug
	. corrected path completion
	. added escape code handling
	. added flexible +/- possibilities in configuration file
	. now supports completion after '|', ';' and '&'
	. Command test are also done after '|', ';' and '&'
	. Doesn't list hidden directories by default
	. 4 logging levels
	. added 'strict' behaviour
2009-06-10 08:34:07 +00:00
zafer
b5366f2196 update master sites. remove www.research.att.com. requires authorization. 2009-06-05 23:57:47 +00:00
hasso
f551c420e3 Update to 4.0.24. Following bugs were fixed since 4.0.10:
When using the ** globbing operator, bash will incorrectly add an extra
directory name when the preceding directory name ends with `*' or an empty
string when there is no preceding directory name.

If the prompt length exactly matches the screen width, and the prompt ends
with invisible characters, readline positions the cursor incorrectly.

When parsing case statements in command substitutions, the shell did not
note that a newline is a shell metacharacter and can legally be followed
by a reserved word (e.g., `esac').

When not in a locale supporting multibyte characters, readline will
occasionally not erase characters between the cursor position and the end
of the line when killing text backwards.

If a SIGWINCH arrives while bash is performing redisplay, multi-line prompts
are displayed incorrectly due to the display code being called recursively.

Using an external command as part of the DEBUG trap when job control is
enabled causes pipelines to misbehave.  The problem has to do with process
groups assigned to the pipeline and terminal.

A missing include file results in an empty function definition and a no-op
when checking whether or not the window size has changed.

Adding a null line to a here-document (e.g., by hitting EOF) causes the
shell to dump core attempting to dereference the NULL pointer.

There are several problems with the handling of $LINENO in an ERR trap.

Deferring handling of signals which should cause the shell to terminate until
it is "safe" to run the handler functions does not work for some terminating
signals.

When the fc builtin is run in a command substitution from a shell with history
enabled, it does not correctly calculate the command on which to operate.

Though references to $@ when there are no positional parameters will now
cause the shell to exit if the `errexit' option has been enabled, constructs
such as ${@:-foo} should not cause an exit.

A case statement using the ;& pattern terminator followed immediately by
"esac" caused a core dump due to a null pointer dereference.

When using the new |& operator following a simple command with a redirection,
the redirection of stderr through the pipe was not performed under certain
circumstances.
2009-06-05 23:32:00 +00:00
ahoka
ec83379c75 Update to mksh R38b:
mksh R38b fixes the following problems:


    *  [André Wösten] Add __NO_EXT_QNX to avoid picking up the wrong
        waitfor() from <libutil.h> in (while porting to) QNX 6.4

    *  [tg] Plug memory corruption issue introduced in R38

    *  [tg] Amend dot.mkshrc with a base64 en-/decoder in shell

    *  [tg] Import a manpage fix via OpenBSD from Alan R. S. Bueno


mksh R38 comes with these changes and fixes applied:


    *  [tg] Improve regression test output debugging

    *  [tg] Fix <libutil.h> prerequisites on MidnightBSD in mirtoconf

    *  [tg] Mention that RedHat BZ#496791 cannot currently be fixed in the
        manpage by discouraging use of apostrophes in comments in comsubs; add
        appropriate (expected-fail) regression tests

    *  [tg] Sync with OpenBSD ksh (mostly a no-op)

    *  [James Butler] Add search-history-up and search-history-down keybindings
        (tcsh-like) to the Emacs command line editing mode

    *  [tg] Bind new search-history-{up,down} to ANSI PgUp and PgDn keys

    *  [tg] Document ANSI default keybindings (↑↓←→ Home End Del PgUp PgDn)
        in the mksh(1) manual page as well

    *  [tg] Optimise internal UTF-8 handling code for size and reusability

    *  [tg] Incompatible change: ${foo:1:2} and ${#foo} now
        operate on characters, not on bytes. Characters are octets (set +U)
        or (utf8-mode) MirOS OPTU-8 multibyte characters (set -U)

    *  [tg] Improve regression tests relating to ${foo:1:2} and
        ${#foo} and let wc=1#x and utf8-mode

    *  [tg] Use per-file copyright notices, move global text to manpage

    *  [tg] Expose new MKSH_MIDNIGHTBSD01ASH_COMPAT ifdef; change it to
        only trigger if FPOSIX (or MKSH_BINSHREDUCED and /bin/sh)

    *  [tg] Remove already-dead “#if 0” style debugging code

    *  [tg] Change some code into a more portable fashion, optimise

    *  [tg] Allow [[ $foo ]] (ksh93 extension) mentioned by pgas

    *  [tg] Clean up mksh and the contributed arc4random.c for some
        conversion, enum and other warnings for gcc-snapshot trunk r147610

    *  [tg] Ensure no function uses more than 768 bytes of stack either

    *  [tg, wbx] Add extension to make “!string” lines work like in GNU bash
2009-06-03 13:46:03 +00:00
obache
851bde15b1 Update osh to 20090527, per maintainer update request by PR#41509.
Upstream changes between osh-20081213 and osh-20090527 follow:

osh bug fixes:

1) This release fixes an `echo' bug that causes `echo ""' to print an
   unnecessary diagnostic.

2) It also fixes a `sigign' bug that can cause incorrect signal ignoring
   behavior for subshells.

New osh features:

1) This release adds `cd' as a synonym for the `chdir' special command.

2) It also adds $m as a special parameter for the value of the MANPATH
   environment variable.
2009-05-30 12:49:44 +00:00
zafer
94e2411620 update master site. 2009-05-21 21:59:13 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +00:00
ahoka
13684d66b6 mksh R37c provides these follow-up fixes:
.[tg] Improve præprocessor detection/work in Build.sh
.[tg] Decouple MKSH_CONSERVATIVE_FDS from MKSH_SMALL
.[tg] Enable MKSH_CONSERVATIVE_FDS by default on Minix 3
.[tg] Work around the (in-)famous ACK "const" bug
.[tg] Optimise structure alignment and padding; Closes: #522778
.[tg] Retain LOCPATH (for glibc locale) in check.pl
.[tg] Document, simplify and clean up the code better
.[tg] Use mirbsd.org eMail addresses consistently

mksh R37b comes with the following fixes on top:

.[tg] Clean up build system and dot.mkshrc some more
.[tg] Add getrusage(2) implementation using times(3) if none found
.[tg] Add jobless mode (for Minix 3, Plan 9, .)
.[tg] Detect the Amsterdam Compiler Kit in the build system
.[tg] If no RLIM_INFINITY don.t try to do ulimit
.[tg] Work around gcc4 strict warnings vs. broken system headers
.[tg] Work around systems with mmap(2) but no munmap(2)
.[tg] Fix (disallow) bind key macro recursion (instead of beeping and going into an endless loop), allow multi-line bind key macros (mostly from Alexander Hall), remove dead code (the beeping) and optimise
.[tg] Add (commented out, undesired, standards compliance breaking) compatibility code to MidnightBSD 0.1 /bin/sh for ctriv
.[tg] Clarify the mksh(1) manual page even more
.[tg] Port to Minix 3 + GCC

mksh R37 has major standards compliance improvements:

.[tg] Rename -o utf8-hack to -o utf8-mode
.[tg] Fix spacing mode error (pasto) in the mdoc(7) format manpage
.[tg] Implement $((#.)) unsigned arithmetic calculation, needed for arc4random_uniform(3)-in-korn-shell implementation
.[tg] Really preserve LD_LIBRARY_PATH in check.pl
.[tg] New Build.sh option .-combine. for building mksh(1) at once with .-fwhole-program --combine. (gcc4, llvm-gcc4) if available
.[tg] Always set COLUMNS and LINES trying as hard as we can, using TIOCGWINSZ even if used without FTALKING, and with the sane 80x24 default if the ioctl(2) fails
.[tg] Handle _POSIX_VDISABLE being undefined (e.g. Linux/klibc)
.[tg] <sys/file.h> is only required for flock(2)
.[tg] Fix multi-column output routine for the corner case if the screen is less wide than one output column; 10x Gábor Gergely
.[tg] Fix ${foo/@(%)/\\x} in UTF-8 mode (utf_widthadj for control characters U+0080.U+009F is slightly broken; this fix shifts the brokenness into the command line editing mode only)
.[tg] Introduce mksh_ari_t and mksh_uari_t internal types to limit arithmetics to 32 bit on all systems; currently depending on the already-used standard int32_t and uint32_t types. Future expansion to 64 bit possible. Document that shell integer variables use this type.
.[tg] The variables PGRP, PPID, RANDOM and USER_ID are now unsigned
.[tg] Fix two off-by-ones breaking PS1 ending with a newline; bug reported by Matthias Diener
.[tg] Just pass through C1 control characters for now
.[tg] Code and internal interfaces cleanup
.[tg] Regression test fixes for Cygwin env(1) being unsorted
.[tg] Replace the memory allocator by something equally simple and homegrown but optimised for use with mksh and free checking
.[tg] Import a couple of minor fixes (e.g. spelling) from oksh
.[tg] Fix problems with "set -e" for real; from oksh, Closes: #518359
.[tg] In "set -o posix" mode, have limited echo(1) to improve standards compliance; the exact feature set is open for discussion, e.g. with pkgsrc® people; for now, only -n as first arg
.[tg] Make test builtin operator precedence consistent; from oksh
.[tg] Revamp and fold and enhance the regression tests
.[tg] Document somewhat surprising behaviour in mksh(1) better; here: [ x -eq y ]; for gps23 from #ksh
.[tg] Reduce memory consumption by allocator simplification
.[tg] Fix bugs spotted by DEC ucode cc (ULTRIX) and gcc 1.42 (BSD/OS)
.[laffer1] Make mksh the default /bin/sh in MidnightBSD
2009-04-13 19:48:34 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
d0076c3403 Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
2009-04-08 22:43:23 +00:00
hasso
d2b5f4abca Remove conditional to use bison in case of IRIX, it's used anyway now. 2009-03-31 11:14:42 +00:00
hasso
4f1389c961 * Update to the latest patchversion 4.0.10, it fixes several segfaults in
routine usage.
* Switch from yacc to bison. Yacc is known to cause problems:
  http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00115.html
2009-03-31 10:09:06 +00:00
snj
d4f201709a +PKG_DESTDIR_SUPPORT= user-destdir 2009-03-06 00:12:28 +00:00
imil
b1575430e7 add & enable lshell-0.2.6 2009-03-04 09:30:50 +00:00
imil
d5de5a8f95 Limited Shell (lshell) provides a configurable shell per user. This is done
quite simply using a configuration file. It becomes easy to restrict user's
access to a limited set of commands, chosing to allow any command over SSH
(e.g. SCP,SFTP,rsync,etc.).

OK'd by seb@
2009-03-04 09:25:36 +00:00
wiz
09e8b249d9 Mention that this package contains the outdated version 2 of bash. 2009-02-24 15:49:25 +00:00
wiz
48658c4a27 + bash3. 2009-02-24 15:48:17 +00:00
wiz
50759e6166 Initial import of bash3 -- latest version of bash-3 branch.
Since two people already asked for it, here's the package, but
maintainer is set to pkgsrc-users.

Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.

It offers functional improvements over sh for both programming and
interactive use; these include command line editing, unlimited size
command history, job control, shell functions and aliases, indexed
arrays of unlimited size, and integer arithmetic in any base from two
to sixty-four. In addition, most sh scripts can be run by Bash without
modification.

This package contains the outdated version 3 of bash.
2009-02-24 15:47:43 +00:00
wiz
5ff4da9f3a Update to 4.0:
1.  New Features in Bash

a.  When using substring expansion on the positional parameters, a starting
    index of 0 now causes $0 to be prefixed to the list.

b.  The `help' builtin now prints its columns with entries sorted vertically
    rather than horizontally.

c.  There is a new variable, $BASHPID, which always returns the process id of
    the current shell.

d.  There is a new `autocd' option that, when enabled, causes bash to attempt
    to `cd' to a directory name that is supplied as the first word of a
    simple command.

e.  There is a new `checkjobs' option that causes the shell to check for and
    report any running or stopped jobs at exit.

f.  The programmable completion code exports a new COMP_TYPE variable, set to
    a character describing the type of completion being attempted.

g.  The programmable completion code exports a new COMP_KEY variable, set to
    the character that caused the completion to be invoked (e.g., TAB).

h.  If creation of a child process fails due to insufficient resources, bash
    will try again several times before reporting failure.

i.  The programmable completion code now uses the same set of characters as
    readline when breaking the command line into a list of words.

j.  The block multiplier for the ulimit -c and -f options is now 512 when in
    Posix mode, as Posix specifies.

k.  Changed the behavior of the read builtin to save any partial input received
    in the specified variable when the read builtin times out.  This also
    results in variables specified as arguments to read to be set to the empty
    string when there is no input available.  When the read builtin times out,
    it returns an exit status greater than 128.

l.  The shell now has the notion of a `compatibility level', controlled by
    new variables settable by `shopt'.  Setting this variable currently
    restores the bash-3.1 behavior when processing quoted strings on the rhs
    of the `=~' operator to the `[[' command.

m.  The `ulimit' builtin now has new -b (socket buffer size) and -T (number
    of threads) options.

n.  The -p option to `declare' now displays all variable values and attributes
    (or function values and attributes if used with -f).

o.  There is a new `compopt' builtin that allows completion functions to modify
    completion options for existing completions or the completion currently
    being executed.

p.  The `read' builtin has a new -i option which inserts text into the reply
    buffer when using readline.

q.  A new `-E' option to the complete builtin allows control of the default
    behavior for completion on an empty line.

r.  There is now limited support for completing command name words containing
    globbing characters.

s.  Changed format of internal help documentation for all builtins to roughly
    follow man page format.

t.  The `help' builtin now has a new -d option, to display a short description,
    and a -m option, to print help information in a man page-like format.

u.  There is a new `mapfile' builtin to populate an array with lines from a
    given file.  The name `readarray' is a synonym.

v.  If a command is not found, the shell attempts to execute a shell function
    named `command_not_found_handle', supplying the command words as the
    function arguments.

w.  There is a new shell option: `globstar'.  When enabled, the globbing code
    treats `**' specially -- it matches all directories (and files within
    them, when appropriate) recursively.

x.  There is a new shell option: `dirspell'.  When enabled, the filename
    completion code performs spelling correction on directory names during
    completion.

y.  The `-t' option to the `read' builtin now supports fractional timeout
    values.

z.  Brace expansion now allows zero-padding of expanded numeric values and
    will add the proper number of zeroes to make sure all values contain the
    same number of digits.

aa. There is a new bash-specific bindable readline function: `dabbrev-expand'.
    It uses menu completion on a set of words taken from the history list.

bb. The command assigned to a key sequence with `bind -x' now sets two new
    variables in the environment of the executed command:  READLINE_LINE_BUFFER
    and READLINE_POINT.  The command can change the current readline line
    and cursor position by modifying READLINE_LINE_BUFFER and READLINE_POINT,
    respectively.

cc. There is a new &>> redirection operator, which appends the standard output
    and standard error to the named file.

dd. The parser now understands `|&' as a synonym for `2>&1 |', which redirects
    the standard error for a command through a pipe.

ee. The new `;&' case statement action list terminator causes execution to
    continue with the action associated with the next pattern in the
    statement rather than terminating the command.

ff. The new `;;&' case statement action list terminator causes the shell to
    test the next set of patterns after completing execution of the current
    action, rather than terminating the command.

gg. The shell understands a new variable: PROMPT_DIRTRIM.  When set to an
    integer value greater than zero, prompt expansion of \w and \W  will
    retain only that number of trailing pathname components and replace
    the intervening characters with `...'.

hh. There are new case-modifying word expansions: uppercase (^[^]) and
    lowercase (,[,]).  They can work on either the first character or
    array element, or globally.  They accept an optional shell pattern
    that determines which characters to modify.  There is an optionally-
    configured feature to include capitalization operators.

ii. The shell provides associative array variables, with the appropriate
    support to create, delete, assign values to, and expand them.

jj. The `declare' builtin now has new -l (convert value to lowercase upon
    assignment) and -u (convert value to uppercase upon assignment) options.
    There is an optionally-configurable -c option to capitalize a value at
    assignment.

kk. There is a new `coproc' reserved word that specifies a coprocess: an
    asynchronous command run with two pipes connected to the creating shell.
    Coprocs can be named.  The input and output file descriptors and the
    PID of the coprocess are available to the calling shell in variables
    with coproc-specific names.

ll. A value of 0 for the -t option to `read' now returns success if there is
    input available to be read from the specified file descriptor.

mm. CDPATH and GLOBIGNORE are ignored when the shell is running in privileged
    mode.

nn. New bindable readline functions shell-forward-word and shell-backward-word,
    which move forward and backward words delimited by shell metacharacters
    and honor shell quoting.

oo.  New bindable readline functions shell-backward-kill-word and shell-kill-word
    which kill words backward and forward, but use the same word boundaries
    as shell-forward-word and shell-backward-word.

2.  New Features in Readline

a.  A new variable, rl_sort_completion_matches; allows applications to inhibit
    match list sorting (but beware: some things don't work right if
    applications do this).

b.  A new variable, rl_completion_invoking_key; allows applications to discover
    the key that invoked rl_complete or rl_menu_complete.

c.  The functions rl_block_sigint and rl_release_sigint are now public and
    available to calling applications who want to protect critical sections
    (like redisplay).

d.  The functions rl_save_state and rl_restore_state are now public and
    available to calling applications; documented rest of readline's state
    flag values.

e.  A new user-settable variable, `history-size', allows setting the maximum
    number of entries in the history list.

f.  There is a new implementation of menu completion, with several improvements
    over the old; the most notable improvement is a better `completions
    browsing' mode.

g.  The menu completion code now uses the rl_menu_completion_entry_function
    variable, allowing applications to provide their own menu completion
    generators.

h.  There is support for replacing a prefix  of a pathname with a `...' when
    displaying possible completions.  This is controllable by setting the
    `completion-prefix-display-length' variable.  Matches with a common prefix
    longer than this value have the common prefix replaced with `...'.

i.  There is a new `revert-all-at-newline' variable.  If enabled, readline will
    undo all outstanding changes to all history lines when `accept-line' is
    executed.

j.  If the kernel supports it, readline displays special characters
    corresponding to a keyboard-generated signal when the signal is received.
2009-02-24 12:04:09 +00:00
tnn
98164b3a8b Merge the following revisions from NetBSD src:
c_ulimit.c 1.9: avoid sign extension problem
lex.c 1.13: bugfix related to nested quotes
Bump PKGREVISION.
2009-02-21 20:06:30 +00:00
uebayasi
d86d8cd50b DragonFly has ncurses too. 2008-12-30 01:55:22 +00:00
uebayasi
503a6cb563 Register extra shared objects used where ncurses exists. Hopefully fix PLIST
errors reported by Takahiro Kambe (FreeBSD) and Aleksey Cheusov (Linux).

No bump because nothing changes on NetBSD.
2008-12-28 14:52:05 +00:00
uebayasi
77edf3ff52 Fix interpreter paths. Patch provided by David Brownlee, thanks! 2008-12-23 15:59:08 +00:00
uebayasi
cfb0729add zsh-roadmap.1 was missed. 2008-12-23 02:58:44 +00:00
uebayasi
d757cd32d9 Bad uebayasi didn't know that user-destdir doesn't catch PLIST errors. 2008-12-22 17:03:21 +00:00
uebayasi
89e6cb6f96 - Avoid using lovely :?foo:bar syntax since netbsd-5's make(1) handles it
oddly.  Should fix build errors seen on netbsd-5.
- Kill unused variables.
2008-12-22 14:38:31 +00:00
uebayasi
9e663407f1 Put back s/$INSTALL_DATA + chmod +x/$INSTALL_SCRIPT/ change lost
in previous.  No user-visible changes expected.
2008-12-22 02:18:51 +00:00
uebayasi
b9a7822d28 Garbage collect unused code. No functional changes. 2008-12-22 02:15:54 +00:00
uebayasi
fd2c540904 Update zsh-current to 4.3.9.
Changes from NEWS:

--------8<--------8<--------8<--------8<--------8<--------8<--------8<

Major changes between versions 4.3.6 and 4.3.9
----------------------------------------------

The option COMBINING_CHARS has been added.  When it is set, the
line editor assumes the terminal is capable of displaying zero-width
combining characters (typically accents) correctly as modifications
to the base character, and will act accordingly.  Note it is not set
by default owing to vagaries of terminals.  The system is reported
to work on MacOS, where this is particularly important as accented
characters in file names are stored in their decomposed form (i.e.
with base and combining characters).

The option HIST_FCNTL_LOCK has been added to provide locking of history
files using the system call fcntl().  On recent NFS implementations this
may provide better reliability.

The syntax ~[...] provides a dynamic form of directory naming,
supplementing the existing static ~name syntax.  A user-defined shell
function, zsh_directory_name, is used to handle both expansion of names to
directories and contraction of directories to names.

Patterns can now be used in incremental searches with the new widgets
history-incremental-pattern-search-backward and
history-incremental-pattern-search-forward.  These are not bound to
keys by default.

Highlighting and colouring of sections of the command line is now
supported, controlled by the array parameter zle_highlight and the ZLE
special parameter region_highlight.

Colouring of prompts is now supported within the shell by prompt
escapes.  The prompt theme system has been updated.

Various changes have been added to make debugging of shell code easier:
  - As noted in README, the option DEBUG_BEFORE_CMD is now set by default.
  - In DEBUG traps, $ZSH_DEBUG_CMD gives the code for which the trap is
    called as a string.
  - "setopt ERR_EXIT" in a DEBUG trap causes the code not to be executed.
  - $ZSH_SUBSHELL indicates the subshell level at which code is being
    executed.
  - The zsh/parameter module has various additional arrays similar to
    the existing $funcstack and $functrace, namely $funcsourcetrace
    and $funcfiletrace.  The consistency and informativeness of
    the output of all these arrays has been improved.
  - Prompt escapes %x and %I show the source file and line number in
    debug prompts (compare %N and %i which show names and line numbers
    in the execution environment).
  - The option NO_MULTI_FUNCDEF can turn off multiple definition of
    functions at once, a rarely used feature that can cause problems
    with misplaced "()".
  - The "fc" builtin has been enhanced to make non-interactive use possible
    and output consistent when the history is manipulated with "print -s".

The completion style accept-exact-dirs has been added.  When true, this
suppresses attempts to complete non-final directory segments of a filename
path when the directory exists.  (For example, /home/pws/src/zsh/<TAB>
discovers that /home/pws/src/zsh exists and leaves the directory component
alone, while /h/p/s/z/<TAB> completes to /home/pws/src/zsh/... as before.)
This should improve completion behaviour noticeably in special cases, such
as remote paths under Cygwin.

Major changes between versions 4.3.5 and 4.3.6
----------------------------------------------

cd, chdir, pushd and popd now take a -q option to suppress side effects
including printing the directory stack (for pushd and popd) and executing
the chpwd hook functions (for all four).

The parameter subscript (e) flag now forces the argument to be treated
as a string where it would previously have been treated as a pattern,
for example ${array[(ie)*]} substitutes the index of the element whose
value is "*".

Major changes between versions 4.3.4 and 4.3.5
----------------------------------------------

- The new extended globbing flag (#cN,M) behaves similarly to the extended
  regular expression syntax {N,M}.

- The zsh/datetime module has been enhanced and a calendar function
  system has been added along the lines of (but much enhanced from)
  the traditional Unix "calendar" utility.  This is still under
  development.  See the zshcalsys manual.  (The calendar functions
  were in 4.3.4 but were not listed in this file.  There have been
  significant enhancements since 4.3.4.)

- A new module zsh/curses provides a builtin zcurses for access to
  to the curses screen manipulation package.  See the entry for zsh/curses
  in the zshmodules manual.

- The module system has been enhanced to support the notion of "features"
  that give more control over which builtins, parameters, conditions
  and math functions are loaded from a module.  In particular,
  "zmodload -F zsh/stat b:zstat" makes the builtin previously called
  "stat" available as "zstat" (only) to avoid clashes with a system
  command named "stat".

>8-------->8-------->8-------->8-------->8-------->8-------->8--------
2008-12-21 16:53:45 +00:00
uebayasi
695f37d78c Update zsh to 4.2.7.
Changes are unknown.
2008-12-21 16:53:31 +00:00
christos
a9507d6e4e add the remaining patches 2008-12-20 21:08:02 +00:00
obache
ab79d87bc6 Update osh to 20081213, by maintainer's update request via PR 40157.
Upstream changes between osh-20081122 and osh-20081213 follow.

osh.c:
This release changes the effect of the `-v' command-line option so that,
in addition to printing non-blank command lines to the standard error,
it also prints each blank/empty command line as an empty line.

fd2.c, util.c:
This release changes the fd2 `-e' command-line option so that it
reflects the documented behavior.  For example, this change causes
invocation of `fd2 -ef file command' to redirect both conventional
output and diagnostic output from "command" to "file".
2008-12-13 14:14:49 +00:00
obache
36753b25b8 Switch to http for ftp.scsh.net, can't connet with ftp and download page
link to distfile with http.
While here, add SourceForge to MASTER_SITES.
2008-11-28 11:45:40 +00:00
reed
21c8bbfa75 Update shells/osh
Add new maintainer. Thank you J.A.
The following is from PR #40006:

I would like to maintain this package if that is acceptable.
Thus, I added myself as MAINTAINER.

Changed files: DESCR, Makefile, PLIST, distinfo

Changes between osh-20080629 and osh-20081122 which affect the osh
package on the various pkgsrc platforms are described below.

------------------------------------------------------------------------
[osh-20081122]:
mkconfig:
        * Added a case for DragonFly BSD (uname -s == DragonFly).

osh.c:
        * Fixed a bug introduced in osh-20061230 where the shell
          incorrectly handles an unescaped terminating backslash (\)
          character at the end of string when the shell is invoked as
          `osh -c string'.  In this case, the terminating backslash
          causes the shell to incorrectly read from the standard input
          at the end of string.
          For example:

                % osh -c 'echo Hello\'
                to\
                you!
                Hello to you!

          This example should instead do nothing and exit w/ a zero
          status.  For `osh -c string', an unescaped terminating
          backslash should effectively turn string into a no-op.
          Now, it behaves as expected.

------------------------------------------------------------------------
[osh-20081026]:
Makefile:
        * Changed the "oshall" target to only build osh since the fd2,
          goto, and if utilities are now built into the shell.

        * Changed the "install-oshall" target to only install osh and
          its manual pages.  This includes the fd2.1, goto.1, and if.1
          manual pages since they are not fully documented elsewhere.

osh.c:
        * Renamed cmd_index() to cmd_lookup(), and changed the algorithm
          from a linear search to a binary search.

        * Added a base reallocation multiplier to glob() to reduce the
          number of realloc()s required for very large argument vectors
          while allowing the first malloc() to be a relatively small
          allocation for up to 126 matching file-name arguments.

util.c:
        * This is a new file for the integrated shell utilities.

        * Added a new `-e' command-line option to fd2 to simplify
          redirecting all conventional output to the standard error
          as diagnostic output.

        * Integrated the external `fd2', `goto', and `if' shell
          utilities as special built-in commands to improve shell
          performance.  Also, added `echo' as a special built-in
          command.  Osh executes each of these built-ins in a subshell.
          Consequently, the I/O for each can be redirected as before,
          and the argument list for each can be the result of a call to
          glob() as before.
2008-11-23 03:26:14 +00:00
adam
0e4b46698f Changes 6.16.0:
* Bug fixes
2008-11-10 09:45:43 +00:00
ahoka
04f2d4187d Update to version R36.
Major changes:

* Digital UNIX (DEC OSF/1) V2.0 (MIPS) is now supported using the DEC C and ucode toolchain. (We could not run the testsuite, though.)
* The ‘-Q’ option to Build.sh is gone without replacement.
* A new option can be enabled by adding -DMKSH_BINSHREDUCED to $CPPFLAGS, intended mostly for Debian. This option adds extra code to determine whether mksh(1) is called as sh or -sh and switch to “set -o posix” mode if so, disabling brace expansion and some security features, because legacy scripts, such as debconf, depend on such reduced functionality /bin/shs.
* Input lines beginning with an IFS character of IFS white space are no longer pushed into the history. Some other, less surprising, changes were also made to both Emacs and Vi command line editing modes.
* The arc4random.c contributed file is now stored with the RCS version number appended, and has been updated.
2008-10-25 18:58:13 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
ahoka
51e345d96d Update mksh to R35b.
mksh R35b comes with the following bug fixes:
IRIX also has no UTF-8 locale at all, confirmed by Elias Pipping
Fix regression test suite for MKSH_SMALL
Bring in latest changes from oksh (OpenBSD ksh, not DeliLinux crap)
Fix abuse and unsafe use of str_save() and str_nsave()
Optimise the implementations of str_save() and str_nsave()
If MKSH_AFREE_DEBUG is defined, guard against afree()ing a pointer which has not been allocated from the given pool, from Todd C. Miller
Fix attempt to free a pointer to stack (function-local) storage when redefining a function containing a call to the “time” built-in, discovered by Elias Pipping, patch by Jared Yanovich, help from Todd C. Miller
Protect a little against people not running “./test.sh -v” but calling it with, for instance, GNU bash (as homsn did…)
Honour $PERL environment variable in test.sh, improve scanning for Perl, do not use potentially undefined $^O, print Perl version
Add <sys/types.h> as <ulimit.h> requirement (dietlibc)
Work around bug in BSD/OS 3.1 /bin/ksh (PD KSH v5.2.8 96/08/19)
Add regression tests from OpenBSD’s <bsd.regress.mk> suite
Use better CPPFLAGS for AIX, Minix 3 (from pdksh)
Expose the “s ≠ NULL” str_[n]save_() API and use it where the string can never be NULL (local stack storage), from gcc-4.2 warnings
Clean up pointer-to-integer-cast warnings in the mirtoconf process

mksh R35 comes with helluva changes:
Simplify and refactor the ulimit builtin, partially from oksh
Some style cleanup; use appropriate integer types
Fix a bug in table (e.g. kill -l, tab completion) display: the width of non-ASCII characters is now honoured in the utf8-hack mode
Improve handling of invalid UTF-8 in certain areas, and multibyte (UTF-8 / CESU-8) in general
When using “typeset -Z«n»” on an integer variable with a base other than ten, zero-pad the value instead of the base – pdksh, oksh, zsh, and AT&T ksh93 are wrong here; GNU bash doesn’t even have typeset
Improve parsing of “set +o” output where done (dot.mkshrc, check.t)
Improve regression tests
Support for base-1 numbers: in non-utf8-hack mode, ‘1#x’ means the same as the ASCII code for ‘x’ (e.g. 78hex), where ‘x’ is any single octet (byte); in utf8-hack mode, ‘x’ is either a valid and minimalistically encoded UTF-8 multibyte character in the range 0000‥FFFD, or a single octet with no trailing octets (bytes), which will then be converted as if it were an ASCII value, or, if bit7 is set, be mapped into the PUA range of EF80‥EFFF assigned by CSUR for this purpose; this mapping is, in both cases, bidirectional; the planned base-0 number support is not possible with the code, so use base-1 (with utf8-hack disabled, or & 0xFF) instead (while it is recommended to parse only single octets, there is a regression test showing correct and safe multibyte parsing, which however is error-prone to implement and thusly not recommended) – “genial” replaced@TNG, “this sounds fun” ggergely, agreed bsiegert@ and others
Pull in more current versions of supplied files; use Unicode 5.0
Clean up unused definitions in build system; document MKSH_CLS_STRING
Remove advertising clause from copyright file; while we’d be pleased to be mentioned if something contains our code, tg@ will no longer enforce the requirement to advertise with that specific formula, and we’d prefer if people remember the OpenHAL vs ath5k incident and that they cannot simply change licencing of existing code; patches sent to the MirOS Project for inclusion shall be accepted if they’re agreed to match this licence
Simplify dot.mkshrc sample file: licence is merged into the main copyright file; AT&T ksh93 compatibility was improved
Fix a display problem regarding fullwidth characters (e.g. CJK)
Set the “C” locale in Build.sh for tool execution; otherwise, certain OEs behave strange; thanks to Adam “replaced” Hoka for spotting
Use en_US.utf8 as UTF-8 locale for the testsuite for now
If setlocale(LC_CTYPE, "") is not available, look at the environment variables ourselves – brings UTF-8 support to poor OSes
Remove some now-dead code; speed up configuration process; shrink
Default to no setlocale(3) due to stubbed or missing locale support on GNU/Cygwin, OpenBSD, OSF/1 in Build.sh; a few more that are quite unlikely to have a UTF-8 locale: BSD/OS, Interix, Minix, PW32, Ultrix, AT&T UWIN; default to always UTF-8 on Plan 9
Fix for testsuite unexpected failure if running as root in one case
Initialise all shell integer variables (OPTIND, PPID, RANDOM, SECONDS, TMOUT) to base 10
Reintroduce from mksh pre-R24 shell integer variable PGRP set to the PID of the process group leader via getpgrp(2)
New shell integer variable USER_ID set to the geteuid(2) and used by dot.mkshrc to speed up logins, saves a spawn of id(1), mentioned by and realisation planned with Andreas "gecko2" Gockel
Fix dot.mkshrc tilde replacement in both $PS1 and the pushd/popd/dirs implementation when the home directory is empty, the root directory, or ends with a slash (disable replacement in that case)
Support dietlibc, force it into providing a BSDish caddr_t
Do not use LDFLAGS and LIBS while compiling with -c
Add realpath(3) builtin, to further speed up logins and chdirs
Optimise the code somewhat by making use of possible assumptions
Set the “C” locale in test.sh as well to quell warnings
Split the regression tests that use locale between en_US.utf8 and en_US.UTF-8, since not all OSes support either one, and make only HP-UX and GNU use the latter
Fix kill, mknod(8) builtin usage msg, from Igor Sobrado via oksh
Use proper ptrdiff_t casts for pointer arithmetics, inspired by an oksh commit from Federico Schwindt
Remove check category “pdksh” from check.t and test script
Improve Darwin, OSF/1, HP aCC, SUNpro version reporting
Support GNU bash “&>” extension, even better than they do, suggested by Lukas “smultron” Upton from MidnightBSD
Basic support for LLVM+clang in the build system with experimental “ccc” compiler driver; llvm-gcc worked as-is before already
Better support for contributed arc4random.c file
Do not spin if unlink(2) fails on $HISTFILE, from Decklin Foster
Dump the perl(1) $^O variable in test.sh to logs
Pull in latest changes from oksh
Allow white space between a here string indicator and the string, accidentally discovered by twkm (#ksh, freenode)
Allow fd specifications outside the 0‥9 range for I/O redirections, and bounds check them to be lower than the FDBASE definition, currently still 10 if MKSH_SMALL, 24 otherwise (unportable)
Improve the regression test suite: for one test, we had a bizarre constraint telling it won’t work on UWIN, which was based upon false assumptions, but Tru64 would fail it since its cat(1) unexpectedly outputs some error messages (fix by closing stderr for cat); another test would unexpectedly print no error message on Solaris (fix by making the error message optional in the perlre(1) used)
Switch back to en_US.UTF-8 for glibc, Debian can do both, Mandriva fails on en_US.utf8 (XXX no libc5 auto-detection to disable it)
2008-10-06 21:22:31 +00:00
joerg
1aea045b09 Fix build on amd64. I'm taking the aggressive approach of using va_copy
here, the #if can be easily modified for those platforms missing it.
2008-09-19 20:02:23 +00:00
bjs
c1d59596c0 Regenerate correct distinfo for patch-ab. 2008-08-22 19:47:44 +00:00
obache
19b64f14c9 Update eltclsh to 1.9
Based on PR 37283 (update to 1.8).

eltclsh 1.9 released august 8, 2008

 30. Fix libtool usage and install target to allow cross compilation in OpenEmbedded.
 29. Honor TCL_DBGX to allow  compiling  against a  tcl library  with debugging
     symbols enabled.
 28. Honor CFLAGS from the environment during the build process
 27. Fix history command that was not working.
 26. Switch repository to git.

eltclsh 1.8 released august 20, 2007

 25. Add wrappedputs procedure that print a string wrapped to a given width.
 24. Stop scanning arguments in interactive mode when user press C-d.

eltclsh 1.7 released december 19, 2006

 23. Add new function "interactive" which starts the interactive
     interpreter (useful inside scripts).
 22. Add support for installation in $(DESTDIR)
2008-08-22 07:44:00 +00:00
obache
81b569010d Update eltclsh to 1.9.
Based on PR 37283 (updated to 1.8).

eltclsh 1.9 released august 8, 2008

 30. Fix libtool usage and install target to allow cross compilation in OpenEmbedded.
 29. Honor TCL_DBGX to allow  compiling  against a  tcl library  with debugging
     symbols enabled.
 28. Honor CFLAGS from the environment during the build process
 27. Fix history command that was not working.
 26. Switch repository to git.

eltclsh 1.8 released august 20, 2007

 25. Add wrappedputs procedure that print a string wrapped to a given width.
 24. Stop scanning arguments in interactive mode when user press C-d.

eltclsh 1.7 released december 19, 2006

 23. Add new function "interactive" which starts the interactive
     interpreter (useful inside scripts).
 22. Add support for installation in $(DESTDIR)
2008-08-22 07:42:52 +00:00
joerg
88fae4f619 More changes to give it a chance to work. 2008-08-12 14:51:45 +00:00
ghen
c0fd029c3f Don't needlessly depend on a perl module for a perl script we do not install.
Bump PKGREVISION for zsh and zsh-current.
2008-07-25 09:14:48 +00:00
obache
7cdc0a67be Update osh to 20080629, requested by PR 39067.
Significant changes include the following:

1) Support was added for 3 new command-line options: "-i", "-l", and "-v".

2) Support was added for 3 new rc files.

   *) This includes a system-wide "osh.oshrc",
      a system-wide "osh.logout", and a user ".osh.logout".

See http://v6shell.org/src/CHANGES for full details.
2008-07-18 14:58:31 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
tonnerre
5a509a438f Fix an insecure temp file creation vulnerability in zsh-current's difflog.pl
(CVE-2007-6209).
2008-07-13 18:26:24 +00:00
tonnerre
31a3e0d33e Fix an insecure temp file creation vulnerability in zsh's difflog.pl
(CVE-2007-6209).
2008-07-13 18:22:01 +00:00
uebayasi
9c4f05d91a sunsite.dk -> mirrors.dotsrc.org 2008-07-03 09:07:26 +00:00
markd
7b5b8c8bc5 patch from christos to stop tcsh seg faulting when given the line
/bin/echo "`"
or similar.
2008-06-23 21:09:43 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
joerg
da712f263e Add a marker for bootstrap packages to allow special cases them during
bulk builds.
2008-06-19 18:36:51 +00:00
joerg
2d8a6afd46 Make tcsetpgrp the default for all platforms but Interix.
Please list exceptions explicitly.
2008-06-16 12:39:48 +00:00
tnn
bba810bba3 - Drop __RCSID's
- Define __UNCONST in sh.h instead of on the command line to fix build
  issue with !latest Sun Studio.
2008-06-15 14:20:08 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
tnn
4455b34762 Bump the PKGREVISION for NetBSD-current bugfix merge. 2008-05-31 16:51:10 +00:00
tnn
07f2d7c8b3 Merge assorted bugfixes to pdksh-5.2.14, taken as diff between
PDKSH-5_2_14 and NetBSD-current HEAD as of 2008-05-31.
- Fixes rare segfault seen on Solaris.
- add strlcpy and strlcat fallback implementations from libnbcompat
- regenerate configure (using autoconf-2.12, ugh)
2008-05-31 16:47:36 +00:00
tnn
b2f2840f1f - Adapt to use local distribution.
- Add DESTDIR support.
2008-05-23 17:27:09 +00:00
tnn
6a0de4cf48 merge pkgsrc's patch-ab (remove extern int errno;) 2008-05-23 17:19:49 +00:00
tnn
6e55d25b31 Import subset of pdksh-5.2.14 distribution.
Only the files required to build it, for pkgsrc bootstrap purposes.
2008-05-23 17:15:14 +00:00
snj
8fa9a0fe46 Update scponly to 4.8.
Changes since 4.3:
    - fix support for quota and passwd when running within the
      chroot (exec pre-chroot)
    - disallow rsync and svnserve from being run as daemons that
      listen on a port
    - switch to getopt_long for command processing, use getopt for
      sftp-server, svnserve, and quota
    - abort processing on commands that require getopt when getopt
      is not available
    - switched to slightly optimized and more compact debug code
    - fix unison support within chroots
    - fix for unison command execution bug
    - allow multiple users with the same uid using USER environment
      variable
    - added missing semicolon to helper.c
    - fixes the configure.in script to not define HAVE_OPTRESET, not
      even to a value of 0
    - fixes that hopefully improve the optarg compilation situation
    - UNISON $HOME environment fix
    - fixes to setup_chroot.sh/in
2008-04-29 03:46:57 +00:00
wiz
f78bf74b51 Add latest 8 patches, bumping to 3.2.33.
Bugfixes, mostly affecting readline stuff.
2008-04-17 21:29:06 +00:00
wiz
aaf474cc3a Update to R33d:
No changes in mksh R33c except for Ultrix support. None in R33d.

In mksh R33b, much more compilers are detected, even if not all of
them are supported. The OE (OS and CC/LD) versions are now dumped
too. Instead of #error, forced link failures are now used as the
mechanism to auto-detect some things in the target environment.
Features are now much better detected, and some annoying warnings
don't show up any longer due to this.  Less tools are required to
build.

Please be reminded that you should run ./test.sh -v inside an
environment with /dev/tty available (as device node) and usable
(e.g. use script(1) or GNU screen if you're doing auto-builds
detached from controlling terminal). Use -v to see failures.

No surprises in mksh R33 either, but the build system now gives
more detailed output on the version actually built, to aid tracking
down FTBFSen (build errors) with access to only the build logs.
Regression tests now work with Intel's compiler on SLES too, which
requires a custom LD_LIBRARY_PATH formerly stripped by the script.
2008-04-17 05:55:50 +00:00
christos
10fb8d9bde upgrade to rc-1.7; rc-1.6 is gone from the original ftp site. 2008-04-06 00:14:28 +00:00
wiz
786fb816f3 + bash-completion. 2008-03-12 09:48:18 +00:00
wiz
f80633cd80 Initial import of bash-completion-20060301:
A relatively new feature in bash is programmable completion, which
has been available since the beta version of 2.04. Programmable
completion will be familiar to you if you are a zsh user. It also
exists, albeit in a much less usable form, in tcsh.

Standard completion

bash has offered many forms of completion since its inception,
including path, file, user, host and variable completion.

    * Path-name completion
    * File-name completion
    * User-name completion
    * Host-name completion
    * Variable-name completion

Programmable completion indefinitely extends the type of completion
you can perform.

This package contains a variety of completions for various programs.
2008-03-12 09:47:58 +00:00
tnn
882d3eb4fe Put back a couple of IRIX conditionals the way they used to behave,
e.g. match IRIX 5.x but not 6.x. Some of these may indeed apply to 6.x
too, but let's be conservative. PR pkg/38224.
2008-03-11 18:47:40 +00:00
obache
6a6d8bb2e2 Change hack of MACHINE_GNU_PLATFORM for Solaris to catch up framework's change?
Fixes PR 38195.
2008-03-11 11:57:46 +00:00
jlam
9b3c0a4b25 Remove unnecessary hack to force the configure script to use only our
termcap library -- revision 1.2 of termcap.buildlink3.mk already fixes
this issue.
2008-03-02 07:08:39 +00:00
jlam
a2b9ff7333 Catch up with rename of termlib.* to termcap.*. 2008-02-29 22:42:02 +00:00
jlam
8ed0c8a489 + Teach shells/tcsh to use the terminal library required by pkgsrc
instead of self-detecting what's in the base system.

Bump the PKGREVISION to 1.
2008-02-29 22:23:50 +00:00
obache
1fccd09af4 Update osh to 20080109.
Based on patch provided by Jeffrey Allen Neitzel in PR 37737.
My modification:
 * Honor PKGMANDIR
 * Update MASTER_SITES and HOMEPAGE to new location.

Changes:
[osh-20080109]:
	* New file:  mkconfig  (see Build/Install Changes)

	* Moved files:	Moved manual pages from *.1 to *.1.in to make their
			generation and installation simpler in the Makefile.

Build/Install Changes:
	* Stopped defining _XOPEN_SOURCE when compiling on Mac OS X, NetBSD,
	  and OpenBSD.  It is simply not necessary.  However, _XOPEN_SOURCE
	  and _BSD_SOURCE are necessary on GNU/Linux systems.

	* Added a simple configure script, mkconfig.  It is automatically
	  invoked from the Makefile to write out an appropriate "config.h"
	  file according to the osh package's needs on the given system.  It
	  simply sets PATH_LOGIN, PATH_NEWGRP, _XOPEN_SOURCE, and _BSD_SOURCE
	  as needed so that the user does not need to bother w/ doing it
	  manually at build time.

osh.c:
	* Patched the code to fix a "$0" parameter-substitution problem w/
	  the `source' command in the following interactive context:

		% cat >file
		echo \$0 == \"$0\"
		echo \$1 == \"$1\"
		^D
		% source file ;		: ... gives correct value for "$0".
		$0 == ""
		$1 == ""
		% source file arg ;	: ... gives incorrect value for "$0".
		$0 == "0"
		$1 == "arg"

	  getdolp() indirectly caused the problem by returning a NULL pointer
	  when the intended result was a pointer to the empty string.  This
	  problem was not fatal, as the shell handles NULL pointers from
	  getdolp() anyway.  However, NULL is supposed to indicate an
	  error where the specified parameter means nothing to the shell...
	  For example:

		% echo \$Z == \"$Z\"
		$Z == "Z"

	* Changed the source command's parameter-substitution behavior so
	  that $0 always results in the name of the sourced command file,
	  not the name inherited from the main shell context.  This makes
	  the parameter-substitution behavior of sourced command files
	  just like that of any other osh command file.  Plus, this is
	  the documented behavior.

osh.1.in, sh6.1.in:
	* Revised some wording to remove some cases of possible ambiguity.

-------------------------------------------------------------------------------
[osh-20070707]:
	* Added a new file, INSTALL, which contains build and install
	  instructions.  Made reference to INSTALL in Makefile and README.

Makefile:
	* Added 3 new variables, MOXARCH, MOXSHELLARCH, and MOXUTILSARCH, to
	  simplify building universal binaries for Mac OS X.  These are unset
	  by default.  See INSTALL for more info.

	* Changed the default value for SYSCONFDIR from /etc to $(PREFIX)/etc.

osh.c:
	* Changed the reserved file descriptors from (7 - 9) to (10 - 12) in
	  order to avoid fd conflict w/ rxvt-unicode (version 8.2).  This
	  conflict prevented `chdir -' from functioning correctly, but this
	  problem is now fixed.

	  The problem was clearly visible when running an interactive instance
	  of osh under the rxvt-unicode daemon (urxvtd) on Mac OS X.  However,
	  I never saw this type of conflict when running under any other type
	  of terminal emulator on any OS.  Thus, I do not know if this was
	  only an osh problem, a urxvtd problem, a Mac OS X problem, or some
	  combination of the 3...
2008-01-19 12:08:29 +00:00
rillig
9a9f25896f Broken gettext detection. 2008-01-13 23:08:35 +00:00
heinz
f484c25be4 Added support for installation to DESTDIR. 2008-01-03 23:18:07 +00:00
wiz
542e619325 Standardize statvfs test. From Sergey Svishchev. 2007-12-02 12:55:08 +00:00
wiz
7df37351d3 Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 12:29:02 +00:00
rillig
f338d15c24 Some more packages need lex and yacc. Patch by Aleksey Cheusov on
pkgsrc-users.
2007-12-02 08:32:23 +00:00
bjs
7ac931559a Update from version R30 to R32, with myriad changes:
R32:
     * Make checks for symbol declarations compile checks instead of link
       checks, as the binding may not succeed due to different symbol types,
       for instance on AIX, if the declaration does not match
     * Widen the range of array indices to [0..2^3ý-1], with negative values
       being mapped into the high-bit31 range for simplicity
     * Fix the pipeline-as-coprocess internal error
     * Do not require certain integer types to be defined any more
R31d:
     * Support pcc (the ragge version of the Portable C Compiler)
     * Add pushd/popd/dirs functions (csh) and precmd/chpwd hooks (zsh) to
       dot.mkshrc which now requires readlink(1) with -f; requested by many
       (e.g. some Gentoo users; XTaran of symlink.ch)
     * Enable colour escapes in dot.mkshrc since almost nobody groks how to
       do it right from the manual
     * Remove -DMKSH_NEED_MKNOD checks from Build.sh, people should use the
       HAVE_MKNOD environment variable
     * Implement parallel make in Build.sh
     * Fix another busy-loop spinning problem introduced by an icc warning,
       thanks to spaetzle@freewrt.org for keeping to bug me to look for it,
       as it affected GNU/Linux most, followed by Solaris, rarely BSD
     * Improve standard integer type detection in Build.sh
     * Cleanups in code, build script and manual page
R31b:
     * Fix typo (blsk -> bksl) in check.t test naming
     * Autoscan for uint32_t, u_int etc. presence
     * Fix some memory leaks, mostly by NetBSD(R) via OpenBSD
     * The "unset" builtin always returns zero, even if the variable was
       already unset, as per SUSv3 (reported by Arkadiusz Miskiewicz via
       pld-linux -> oksh)
     * In tab-completion, escape the question mark, reminded by
       cbiere@netbsd.org, via oksh
     * Fix a busy-loop problem, Debian #296446 via oksh
     * Fix a few display output problems in the build script
     * Shut up some gcc warnings on Fedora; beautify some code
     * Support OSF/1 with gcc2.8, thanks to Jupp Schugt
     * Fix gcc4 detection of __attribute__() on non-SSP targets
R31:
     * Support the TenDRA compiler (possibly also Ten15, not tried)
     * Begin supporting Fabrice Bellard's Tiny C Compiler (tcc on Debian
       cannot link due to duplicate symbols in GNU libc, thus unfinished)
     * Improve some mirtoconf checks (most notably, mknod(2) and macros)
     * Add new emacs editing command "clear-screen" (ESC ^L) as requested by
       D. Adam Karim <archite@midnightbsd.org>
     * Support building for MidnightBSD
     * Add new shell alias "source", semantics like the GNU bash builtin
     * Add new shell option "set ño arc4random", controlling whether rand(3)
       or arc4random(3) is used for the $RANDOM value, use
       arc4random_pushb(3)
     * Add new builtin "rename" (just calls rename(2) on its arguments)
     * Fix the inofficial OpenBSD port, from D. Adam "Archite" Karim, 10x
     * Disable the less(1) history file by default (privacy issues) in the
       sample dot.mkshrc file; mention other things in etc_profile
     * Fix a syntax error in Build.sh checking for TenDRA
2007-11-23 07:58:57 +00:00
heinz
0f470ec87d Removed ftp.rge.com from MASTER_SITES, doesn't resolve anymore
in DNS. Mentioned by Zafer Aydogan in PR pkg/37321.
2007-11-12 20:05:38 +00:00
bjs
39b78b5308 Add support for pcre to options.mk if ZSH_STATIC is undefined. Bump rev. 2007-11-07 09:59:27 +00:00
agc
29df3ccee5 Mark zsh packages as MAKE_JOBS_SAFE=no (from ASau in pkgthon). 2007-11-04 15:58:24 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
uebayasi
445e230543 Fix embedded paths to /bin/env and /usr/local/bin/zsh. Reported by joerg. 2007-10-01 04:16:07 +00:00
uebayasi
ffcc8022b6 Fix build when ZSH_STATIC=yes; from Kouichirou Hiratsuka. 2007-09-21 13:59:16 +00:00
uebayasi
f2102e51bc Oops - forgot to re-run make mps after fixing RCS Id of patches/patch-??
files.  Pointed out by Hiratsuka-san.
2007-09-21 08:04:45 +00:00
uebayasi
ce7552cec0 Update zsh-current to 4.3.4.
Several fixes of multi-byte character support.

Patch from Chris Ross, thanks.
2007-09-21 05:24:43 +00:00
wiz
cbac8e6251 Update to patchlevel 3.2.25: Various bugfixes. 2007-09-18 21:20:12 +00:00
jlam
48bbc6ce1f Conver to use the features framework and include do-build and do-install
targets so that we don't rely on BSD make for the build and install.

Bump the PKGREVISION to 2 as we no longer install the catman page.
2007-09-08 21:57:13 +00:00
jlam
df7d10dbeb Convert all libnbcompat/buildlink3.mk references to inplace.mk. 2007-09-06 21:51:52 +00:00
taca
0db0300389 Oops, I accidently typed wrong key and commited wrong one.
This is corrected one.

FreeBSD needs PLIST.shlibs as DraonFly.
2007-08-24 15:20:43 +00:00
taca
15a7776425 *** empty log message *** 2007-08-24 15:16:21 +00:00
rillig
d49c1dac9c Removed the MD5, SHA256 and TIGER checksums. How did they get in here? 2007-08-18 16:47:48 +00:00
joerg
dbede5c887 Add DESTDIR support. 2007-08-17 22:11:35 +00:00
tron
69b94468b0 Compare "MKDYNAMICROOT" with "no" to figure out the desirable static
linking behavior under NetBSD. This matches what "bsd.shlib.mk" does
and avoids "Malformed conditional" warnings under other platforms.
This fixes PR pkg/36769 by Yakovetsky Vladimir.
2007-08-13 19:43:30 +00:00
rillig
6aecf48699 Added mk/misc/category.mk, which contains the definitions that are only
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13 08:12:41 +00:00
jlam
096522cddc Update shells/mksh to version 30. Changes from version 29.6 include:
* If the basename of argv[0] starts with "sh", activate FPOSIX early,
  preventing some typical ksh aliases from being defined.

* If FPOSIX, don't pre-define aliases (except integer and local) to
  benefit operating environments that never heard of the great Korn Shell.

* Support x=(a b c) bash-like array initialisation
* Support ${foo:2:3} bash-like substring expansion

* Don't try to execute ELF, a.out, COFF, gzip or MZ binaries, e.g.
  mksh /bin/sh.

* Prefer well-known signal names to alphabetically earlier ones

* Fix a bug delivering ERR and EXIT pseudo-signals to traps combined
  with "set -e".

Update from mirabilos#pkgsrc with small fixups by me.
2007-08-07 19:38:11 +00:00
jlam
e56ad6ef02 Fix DESTDIR-handling for zsh-current by ensuring that the destdir-support
line is defined before bsd.prefs.mk is included.
2007-08-07 18:54:31 +00:00
joerg
e3040e75e0 Fix path to newly installed es in esdump. Bump revision. 2007-08-04 12:33:45 +00:00
joerg
e088637dee On FreeBSD, terminfo.so gets installed like on Linux. 2007-07-20 16:36:59 +00:00
joerg
ac24d53756 Maintainer/author update to mksh-R29f to fix a regression in the last
version. Some other small bugfixes and portability fixes are included
as well. From Thorsten Glaser.
2007-06-20 17:20:45 +00:00
joerg
d8a79343a1 Update to mksh-R29e. Fixes a number of display bugs, cursor positioning
bugs and issues shown by Coverity Prevent. From Thorsten Glaser.

Add DESTDIR support.
2007-05-23 11:02:32 +00:00
heinz
e20b55a52d The package supports installation to DESTDIR. 2007-05-12 16:18:55 +00:00
obache
b36465614d PKGNAME must be defined before include bsd.pkg.mk,
if not, in 'package' phase, PKGNAME==DISTNAME.

Remove WRKSRC definision, it equals to default value.
2007-04-25 13:26:42 +00:00
obache
1c26be520c Enable to overrite CONFLICTS by static-tcsh. 2007-04-25 13:21:43 +00:00
joerg
055d54daff Always build with tcsetpgrp support on DragonFly, makig zsh not
depend on a control terminal during build.
2007-04-16 19:01:28 +00:00
wiz
e5d830e1e7 Set maintainer to agc (original importer). 2007-04-14 11:43:13 +00:00
wiz
e9b6958d37 Fix some pkglint warnings. 2007-04-11 06:13:57 +00:00
wiz
3c939d02bc Add checksums for patches. 2007-04-11 06:12:10 +00:00
christos
47b8b067df fix the names, silly me. 2007-04-11 04:56:56 +00:00
christos
214fdf7a22 add new files 2007-04-10 00:50:24 +00:00
christos
33c150724b update to tcsh-6.15 2007-04-10 00:49:32 +00:00
wiz
4b17df0924 Remove shells/zsh3 -- old version of shells/zsh{,-current}.
No disagreement on pkgsrc-users.
2007-04-01 21:22:05 +00:00