Commit graph

790 commits

Author SHA1 Message Date
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
reed
d6c5898466 Revert PLIST.
Use different install target.

Bump PKGREVISION.

This is also for PR 36080.

(TODO: look at SYSCONFDIR which is /etc.)
2007-03-26 17:01:59 +00:00
reed
480487fae3 Add glob6 and sh6 and respective manpages to PLIST.
Not bumping PKGREVISION as my update was a few minutes ago.

This is for PR 36080.
2007-03-26 16:58:25 +00:00
reed
2a6757e603 Update osh to version 20070324. This is for PR 36080 from upstream
developer.

pkgsrc changes include:

Use BUILD_TARGET=oshall as request in PR.
And make it work with PKGMANDIR.

CHANGES file includes:

Changes that improve compatibility w/ the Sixth Edition Unix shell
are marked w/ a `C:' in the details below.

-------------------------------------------------------------------------------
[osh-20070324]:
osh.c:
	* In main(), changed when fdfree() is called so that it is in a more
	  ideal sequence with other operations according to how the shell is
	  invoked (e.g., interactive shell vs. non-interactive shell).

-------------------------------------------------------------------------------
[osh-20070321]:
	* Imported the project into a local subversion repository.

	* Changed the all of the code to "#include <stdbool.h>" and to use
	  the "bool" data-type macro where appropriate.

Makefile:
	* Added SYSCONFDIR and a new `man' target.

osh.c:
	* Defined _PATH_SYSTEM_LOGIN as `SYSCONFDIR/**/"/osh.login"' instead
	  of "/etc/osh.login" so that the user can use SYSCONFDIR (/etc by
	  default) at build-time to specify the directory where the shell
	  shall search for its system-wide initialization file.

	* Added a new special parameter, $v, which makes the version of the
	  osh package available as a read-only string.  The format is
	  `osh-YYYYMMDD' for official releases and `osh-current (YYYYMMDD)'
	  (interpreted as one word) for development snapshots.

	* Fixed a bug where interactive shells were no longer ignoring SIGTERM
	  when invoked, as they are supposed to.  Now, SIGTERM is being ignored
	  again upon invocation of all interactive shells.

	* Fixed the output from doing a `sigign' so that it matches its
	  documentation in osh.1: "..., a list is printed of those signals
	  which are ignored by sigign in the current shell."

	  Previously, the output from a `sigign' could be a little confusing.
	  Now, its output only indicates those cases where a given signal is
	  being ignored w/ the possibility that it can then be unignored
	  (reset) in the current shell context.

if.c:
	* Added 3 new primaries: -ef (equal files - same device, same inode),
	  -nt (newer than), -ot (older than).  See the if(1) manual page for
	  full details.

-------------------------------------------------------------------------------
[osh-20070131]:
osh.1:
	* Made a few minimal changes to synchronize the manual w/ the code.

osh.c	1.2 (jneitzel) 2007/01/14:
	* Changed the `chdir: No old directory' diagnostic to
	  `chdir: No previous directory' to match the manual.

-------------------------------------------------------------------------------
[osh-20061230]:
	The following files have been removed in this release:
		examples/*: These files are now available at:
			    http://jneitzel.sdf1.org/osh/initialization_files/
		   tests/*: ... until I have a chance to rewrite them ...

*.1:
	* Changed all instances of `UNIX' to `Unix' since the name
	  of the Unix operating system is not an acronym.

pexec.c:
	* Fixed a possible, but very unlikely, memory leak.

osh.c:
	C: Rewrote the shell!  It is now a combination of the ports of the
	   original source code from sh6.c and glob6.c (see CHANGES_sh-to-sh6)
	   w/ the prior enhancements which were found in osh-060124/osh*.[ch] .

fd2.c:
	* Removed the call to lseek(2) to end-of-file for errors.
	  The shell determines when this is necessary.

	* Changed the `: no shell' diagnostic to `: No shell!'
	  in the spirit of sh6(1).

goto.c:
	* Fixed a bug which interfered w/ finding a requested label when
	  its first character had the high-order bit set.  The value of the
	  first character is now passed to getlabel() as an unsigned char
	  converted to an int to allow correct comparison in such a case.

if.c:
	* Removed the call to lseek(2) to end-of-file for errors.
	  The shell determines when this is necessary.

	* Changed the method used to build the argument list for all commands
	  executed by this utility, and removed the `Too many args' diagnostic.
	  The maximum length of the argument list for a command is now limited
	  only by the maximum length that the invoker can pass and by any
	  system-imposed limit for execve(2) (see E2BIG in errno(2)).

	* Changed the `: no shell' diagnostic to `: No shell!'
	  in the spirit of sh6(1).

	* Changed the diagnostic used for `!', `-a', `-o', and `(' operator
	  errors from `: argument expected' to `: expression expected'.
2007-03-26 16:43:34 +00:00
joerg
161c920c15 Prepare for switching to NO_MTREE=yes. 2007-03-24 19:21:18 +00:00
hubertf
4130fbdd78 Remove version, de-indent 2007-03-19 20:30:26 +00:00
joerg
1f3e8234a5 Don't require mtree. 2007-03-16 23:18:42 +00:00
yyamano
b3452709e5 Make this build on Darwin. 2007-02-25 00:57:54 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
cf154597d5 Update HOMEPAGE. From Sergey Svishchev. 2007-02-22 19:22:25 +00:00
wiz
6e2c35c083 pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.
2007-02-22 19:01:13 +00:00
wiz
17d4eb5978 share/emacs/site-lisp now exists by default -- don't try to remove it.
Bump PKGREVISION for the PLIST change.
2007-02-20 19:04:10 +00:00
wiz
baac352610 Update to 3.2.9, including the latest released patches:
Various bugfixes.
2007-02-18 12:21:59 +00:00
rillig
6e16f6a972 This package is not MAKE_JOBS_SAFE. 2007-02-06 07:18:28 +00:00
wiz
29abbd1c1b Mark as BROKEN_IN pkgsrc-2006Q4, based on
ftp://asim.lip6.fr/outgoing/packages/i386/3.1/20070114.1132/broken.html
(latest 3.1/i386 bulk build of 2006Q4).

Feel free to fix them...
2007-01-31 00:04:11 +00:00
rillig
4e9fb66f51 Cannot be built in parallel. 2007-01-18 09:42:14 +00:00
reed
0624df5987 Fix bash's default path to not have hard-coded /usr/pkg/bin but use
LOCALBASE.

I think I did this last December 2005, but did bash2 package correctly.

Reported by Georg Schwarz via tech-pkg.
2007-01-08 19:26:31 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
joerg
829d41b210 CHECK_WRKREF_SKIP is relative. 2006-12-06 18:59:28 +00:00
joerg
11b9d6da3b Consistently only install man pages and bump revision. Easier than
having to deal with different names on all platforms.
2006-11-30 18:02:28 +00:00
obache
047c2dfeb9 Added eltclsh. 2006-11-21 15:29:01 +00:00
obache
19ef338c5b Import eltclsh version 1.6.
Based on PR 22994 by Anthony Mallet.
I modify to adapt to recent pkgsrc tree and update from 1.4 to 1.6.

eltclsh (editline tcl shell) is an interactive shell for the TCL
programming language. It provides command line editing, history browsing
as well as variables and command completion thanks to editline
features. The completion engine is programmable in a way similar to tcsh,
and comes with an programmed completion for the whole TCL language by
default.

The package also provides elwish, an interactive interpreter for the Tk
toolkit.
2006-11-21 15:27:42 +00:00
seb
c0e51e6dc7 Bump PKGREVISION to 5. There is no need to depend anymore
on p5-XML-LibXML-XPathContext package which is about to be deleted:
the p5-XML-LibXML package now provides the perl
XML::LibXML::XPathContext module.
2006-11-05 14:08:20 +00:00
wiz
f0dfa5854f pkglint fixes. 2006-10-22 11:19:24 +00:00
wiz
7ed4f23584 Add patch for bash-3.2 update (broken ru.po file). 2006-10-22 11:18:39 +00:00
wiz
d59e5c8ced Update to 3.2:
This document details the changes between this version, bash-3.2-release,
and the previous version, bash-3.2-beta.

1.  Changes to Bash

a.  Fixed a bug that caused the temporary environment passed to a command to
    affect the shell's environment under certain circumstances.

b.  Fixed a bug in the printf builtin that caused the %q format specifier to
    ignore empty string arguments.

c.  Improved multibyte character environment detection at configuration time.

d.  Fixed a bug in the read builtin that left spurious escape characters in the
    input after processing backslashes when assigning to an array variable.

2.  Changes to Readline

a.  Fixed a redisplay bug that occurred in multibyte-capable locales when the
    prompt was one character longer than the screen width.
------------------------------------------------------------------------------
This document details the changes between this version, bash-3.2-beta,
and the previous version, bash-3.2-alpha.

1.  Changes to Bash

a.  Changed the lexical analyzer to treat locale-specific blank characters as
    white space.

b.  Fixed a bug in command printing to avoid confusion between redirections and
    process substitution.

c.  Fixed problems with cross-compiling originating from inherited environment
    variables.

d.  Added write error reporting to printf builtin.

e.  Fixed a bug in the variable expansion code that could cause a core dump in
    a multi-byte locale.

f.  Fixed a bug that caused substring expansion of a null string to return
    incorrect results.

g.  BASH_COMMAND now retains its previous value while executing commands as the
    result of a trap, as the documentation states.

2.  Changes to Readline

a.  Fixed a bug with prompt redisplay in a multi-byte locale to avoid redrawing
    the prompt and input line multiple times.

b.  Fixed history expansion to not be confused by here-string redirection.

c.  Readline no longer treats read errors by converting them to newlines, as
    it does with EOF.  This caused partial lines to be returned from readline().

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

1.  Changes to Bash

a.  Fixed a source bug that caused the minimal configuration to not compile.

b.  Fixed memory leaks in error handling for the `read' builtin.

c.  Changed the [[ and (( compound commands to set PIPESTATUS with their exit
    status.

d.  Fixed some parsing problems with compound array assignments.

e.  Added additional configuration changes for: NetBSD (incomplete multibyte
    character support)

f.  Fixed two bugs with local array variable creation when shadowing a variable
    of the same name from a previous context.

g.  Fixed the `read' builtin to restore the correct set of completion functions
    if a timeout occurs.

h.  Added code to defer the initialization of HISTSIZE (and its stifling of the
    history list) until the history file is loaded, allowing a startup file to
    override the default value.

i.  Tightened up the arithmetic expression parsing to produce better error
    messages when presented with invalid operators.

j.  Fixed the cross-compilation support to build the signal list at shell
    invocation rather than compile time if cross-compiling.

k.  Fixed multibyte support for non-gcc compilers (or compilers that do not
    allow automatic array variable sizing based on a non-constant value).

l.  Several fixes to the code that manages the list of terminated jobs and
    their exit statuses, and the list of active and recently-terminated jobs
    to avoid pid aliasing/wraparound and allocation errors.

m.  Fixed a problem that allowed scripts to die due to SIGINT while waiting
    for children, even when started in the background or otherwise ignoring
    SIGINT.

n.  Fixed a bug that caused shells invoked as -/bin/bash from not being
    recognized as login shells.

o.  Fixed a problem that caused shells in the background to give the terminal
    to a process group other than the foreground shell process group.

p.  Fixed a problem with extracting the `varname' in ${#varname}.

q.  Fixed the code that handles SIGQUIT to not exit immediately -- thereby
    calling functions that may not be called in a signal handler context --
    but set a flag and exit afterward (like SIGINT).

r.  Changed the brace expansion code to skip over braces that don't begin a
    valid matched brace expansion construct.

s.  Fixed `typeset' and `declare' to not require that their shell function
    operands to be valid shell identifiers.

t.  Changed `test' to use access(2) with a temporary uid/euid swap when testing
    file attributes and running setuid, and access(2) in most other cases.

u.  Changed completion code to not attempt command name completion on a line
    consisting solely of whitespace when no_empty_command_completion is set.

v.  The `hash' builtin now prints nothing in posix mode when the hash table is
    empty, and prints a message to that effect to stdout instead of stderr
    when not in posix mode.

w.  Fixed a bug in the extended pattern matching code that caused it to fail to
    match periods with certain patterns.

x.  Fixed a bug that caused the shell to dump core when performing filename
    generation in directories with thousands of files.

y.  Returned to the original Bourne shell rules for parsing ``:  no recursive
    parsing of embedded quoted strings or ${...} constructs.

z.  The inheritence of the DEBUG, RETURN, and ERR traps is now dependent only
    on the settings of the `functrace' and `errtrace' shell options, rather
    than whether or not the shell is in debugging mode.

aa. Fixed a problem with $HOME being converted to ~ in the expansion of
    members of the DIRSTACK array.

bb. Fixed a problem with quoted arguments to arithmetic expansions in certain
    constructs.

cc. The command word completion code now no longer returns matching directories
    while searching $PATH.

dd. Fixed a bug with zero-padding and precision handling in snprintf()
    replacement.

ee. Fixed a bug that caused the command substitution code not to take embedded
    shell comments into account.

ff. Fixed a bug that caused $((...);(...)) to be misinterpreted as an
    arithmetic substitution.

gg. Fixed a bug in the prompt expansion code that inappropriately added a
    \001 before a \002 under certain circumstances.

hh. Fixed a bug that caused `unset LANG' to not properly reset the locale
    (previous versions would set the locale back to what it was when bash
    was started rather than the system's "native" locale).

ii. Fixed a bug that could cause file descriptors > 10 to not be closed even
    when closed explicitly by a script.

jj. Fixed a bug that caused single quotes to be stripped from ANSI-C quoting
    inside double-quoted command substitutions.

kk. Fixed a bug that could cause core dumps when `return' was executed as the
    last element of a pipeline inside a shell function.

ll. Fixed a bug that caused DEBUG trap strings to overwrite commands stored in
    the jobs list.

2.  Changes to Readline

a.  Fixed a problem that caused segmentation faults when using readline in
    callback mode and typing consecutive DEL characters on an empty line.

b.  Fixed several redisplay problems with multibyte characters, all having to
    do with the different code paths and variable meanings between single-byte
    and multibyte character redisplay.

c.  Fixed a problem with key sequence translation when presented with the
    sequence \M-\C-x.

d.  Fixed a problem that prevented the `a' command in vi mode from being
    undone and redone properly.

e.  Fixed a problem that prevented empty inserts in vi mode from being undone
    properly.

f.  Fixed a problem that caused readline to initialize with an incorrect idea
    of whether or not the terminal can autowrap.

g.  Fixed output of key bindings (like bash `bind -p') to honor the setting of
    convert-meta and use \e where appropriate.

h.  Changed the default filename completion function to call the filename
    dequoting function if the directory completion hook isn't set.  This means
    that any directory completion hooks need to dequote the directory name,
    since application-specific hooks need to know how the word was quoted,
    even if no other changes are made.

i.  Fixed a bug with creating the prompt for a non-interactive search string
    when there are non-printing characters in the primary prompt.

j.  Fixed a bug that caused prompts with invisible characters to be redrawn
    multiple times in a multibyte locale.

k.  Fixed a bug that could cause the key sequence scanning code to return the
    wrong function.

l.  Fixed a problem with the callback interface that caused it to fail when
    using multi-character keyboard macros.

m.  Fixed a bug that could cause a core dump when an edited history entry was
    re-executed under certain conditions.

n.  Fixed a bug that caused readline to reference freed memory when attmpting
    to display a portion of the prompt.

3.  New Features in Bash

a.  Changed the parameter pattern replacement functions to not anchor the
    pattern at the beginning of the string if doing global replacement - that
    combination doesn't make any sense.

b.  When running in `word expansion only' mode (--wordexp option), inhibit
    process substitution.

c.  Loadable builtins now work on MacOS X 10.[34].

d.  Shells running in posix mode no longer set $HOME, as POSIX requires.

e.  The code that checks for binary files being executed as shell scripts now
    checks only for NUL rather than any non-printing character.

f.  Quoting the string argument to the [[ command's  =~ operator now forces
    string matching, as with the other pattern-matching operators.

4.  New Features in Readline

a.  Calling applications can now set the keyboard timeout to 0, allowing
    poll-like behavior.

b.  The value of SYS_INPUTRC (configurable at compilation time) is now used as
    the default last-ditch startup file.

c.  The history file reading functions now allow windows-like \r\n line
    terminators.
2006-10-22 11:18:10 +00:00
rillig
b8c6a5e566 Fixed PKGMANDIR. 2006-10-21 11:39:16 +00:00
obache
72be67100e Update osh to 060124.
Patch provided by Martin Wilke via PR 34313.

[osh-060124]:
Makefile:
	* Added targets for building/installing sh6(1) and glob6(1).
	  Refer to the README file for further details.

	* Removed the `check-sh6' target since the tests were originally
	  written for osh(1) and sh6(1) as Thompson-shell reimplementations,
	  not ports.

sh6:
	* Changed sh6(1) from being a reimplementation which is compiled from
	  the same sources as osh(1) to being a port of the original Thompson
	  shell from Sixth Edition Unix.  Refer to the CHANGES_sh-to-sh6 file
	  for further details.

osh:
	C: Treat both `( ; )' and `( & )' as syntax errors.

	C: Print the process ID for each command of an asynchronous pipeline,
	   not just the last command.

	C: Added the `newgrp' special command.  It is similar to `login'
	   except that the newgrp(1) utility replaces the current interactive
	   shell rather than the login(1) utility.

	* When opening `/dev/null' is needed for an asynchronous command,
	  call open(2) w/ the O_RDONLY flag instead of O_RDWR.
2006-10-17 12:31:22 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +00:00
taca
3ef21cd6b9 This package needs texinfo 4.1 or lator. (I found on NetBSD 1.6.2 which
has texinfo 4.0 on base system.)
2006-10-07 08:21:42 +00:00
rillig
380d1a0655 Prevent this package from scanning the whole filesystem during the
install phase.
2006-10-05 01:11:41 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +00:00
obache
668a4007e5 Update {static-,}ast-ksh to 2006-02-14 version,
patch provided by Martin Wilke in PR 34575.

Changes: too many to list,
See PR 34575.
2006-10-03 14:32:37 +00:00
joerg
0eac970e5d + mksh 2006-09-15 13:02:09 +00:00
joerg
f260bb8026 Import mksh. From Thorsten Glaser in private mail.
From DESCR:
mksh is the MirBSD enhanced version of the Public Domain Korn
shell (pdksh), a bourne-compatible shell which is largely si-
milar to the original AT&T Korn shell.  It includes bug fixes
and feature improvements in order to produce a modern, robust
shell good for interactive and especially script use.
2006-09-15 13:00:37 +00:00
kristerw
8a0d514cc3 Update shells/scsh to 0.6.7.
New in this release
=====================
** Support for interix
** Ignoring of synchronous signals
   The procedures IGNORE-SIGNAL and HANDLE-SIGNAL-DEFAULT have been
   added.
** Support for gcc 4.0
** 0.6 for module path
   The standard module path now contains
   ${prefix}/lib/scsh/modules/0.6 in addition to
   $prefix/lib/scsh/modules for compatibility with install-lib
** New implementation of open-pty
   Instead of search for /dev/pty??, scsh now tries a wide variety of
   ways to aquire a new pty and the corresponding tty.
** Bug fixes
   argv[0] is now the first element of command-line
   Fixes found by new test suite
   Regexp for empty string
   Argument checking for COPY-BYTES!
   GC_PROTECTs for send_substring
   format_date support for #f timezone
   Added predicates for user-info and group-info
   Reaping of stopped processes: Do not mark stopped processes as dead
   md5-digest-for-port
   | regexps return char-sets
   standard-let in srfi-5
   (%)read-delimited! checks for mutable buffer
   leap second for srfi-19
   The default image for the scshvm is now the installed scsh.image.
2006-09-03 11:39:08 +00:00
wiz
bf4d0ad23c Update to 3.1pl17, provided by Martin Wilke in PR 34301:
Bugfixes.
2006-09-03 08:30:42 +00:00
wiz
9da8d97238 Remove static-bash2: Superseded by bash's "static" option. 2006-07-17 16:58:04 +00:00
minskim
c3e75b8acf USE_TOOLS+=yacc 2006-06-20 22:19:38 +00:00
wiz
18cedddf4b Take maintainership. 2006-06-15 13:34:27 +00:00
wiz
9e63cacff4 Drop maintainership, I don't use this old version any longer. 2006-06-15 13:24:50 +00:00
joerg
a08d2c6115 Ignore unknown resource types instead of bailing out. 2006-06-01 21:16:40 +00:00
joerg
841df30c9e Export dynamic symbols for plugins. Fixes PR 33220. 2006-05-26 14:12:01 +00:00
hubertf
d6fa9a8358 Update {static-,}ast-ksh to 2005-02-02 version.
Changes: too many (500) to list,
mostly platform-dependent, and many added regression tests.
2006-04-27 15:32:14 +00:00
schwarz
f9f07203e1 use GNU bison instead of the native yacc on IRIX 5 since the code has
problems with the latter
2006-04-18 18:17:47 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
2515667d5d List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR. 2006-04-07 15:28:49 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
uebayasi
5962c9fcd0 A missing file in PLIST; bump revision to 4.3.2p1. 2006-03-18 01:02:21 +00:00
uebayasi
1e1a5e850c (Re)add zsh-current. 2006-03-11 13:21:24 +00:00
uebayasi
7722d125ef Re-add development release of Zsh, 4.3.2, first public release of 4.3.x
branch.

Major changes between versions 4.2 and 4.3
------------------------------------------

- There is support for multibyte character sets in the line editor,
  though not the main shell.  See Multibyte Character Support in INSTALL.

- The shell can now run an installation function for a new user
  (one with no .zshrc, .zshenv, .zprofile or .zlogin file) without any
  additional setting up by the administrator.

- The manual now has a Roadmap section (manual page zshroadmap) to
  give new users an indication of the most interesting parts of the manual.

- New option PROMPT_SP, on by default, to work around the problem that the
  line editor can overwrite output with no newline at the end.

- New option HIST_SAVE_BY_COPY (on by default): history is saved by
  copying and renaming instead of directly overwriting.

- New redirection syntax e.g. {myfd}>file opens a new file descriptor
  and stores the number in $myfd, so that >&$myfd will work.  Chosen not to
  break existing code (and to be compatible with proposals for the Korn
  shell).

- Substitutions of the form ${var:-"$@"}, ${var:+"$@"} and similar where
  word-splitting is applied to the text after the :- or :+ (in particular,
  where the SH_WORD_SPLIT option is in effect for compatibility) now behave
  as in other Bourne- and POSIX-compatible shells when in the appropriate
  emulation mode.

- New Posix-style zsh-specific tests [[:IDENT:]], [[:IFS:]],
  [[:IFSSPACE:]], [[:WORD:]] test if character can appear in identifier, is
  an IFS character, is an IFS whitespace character, or is considered as part
  of a word (is alphanumeric or appears in $WORDCHARS).  Note the pattern
  code doesn't yet handle multibyte characters.

- The idiom =(<<<...) is optimised so that the shell internally turns
  the ... into the contents of a file whose name is then substituted.

- Supplied functions catch and throw provide limited support for
  exception handling using the `{ ... } always { ... }' syntax.

- Signals now accept the SIG as part of the name for compatibility with
  other shells.

- Editor function argument-base allows non-decimal arguments for
  editor widgets.

- As always, there are many enhancements to completion functions.
2006-03-11 13:20:15 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
76f5f16f6c Add missing man pages to PLIST. Bump PKGREVISION. 2006-02-20 23:08:20 +00:00
rillig
9357beaacf Fixed pkglint warnings. 2006-02-15 20:08:41 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
efadf75cd4 Fixed all but one pkglint -Wall warnings. 2006-01-29 01:59:35 +00:00
rillig
39c238e10e Fixed pkglint warnings, including a bugfix where ${IFS} had been used
instead of $${IFS}.
2006-01-24 20:42:49 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
jlam
758d912e33 Update package Makefile now that bsd.pkg.extract.mk is using the
"extract" script for extraction.  Many cases where a custom EXTRACT_CMD
simply copied the distfile into the work directory are no longer
needed.  The extract script also hides differences between pax and
tar behind a common command-line interface, so we no longer need code
that's conditional on whether EXTRACT_USING is tar or pax.
2006-01-21 18:57:40 +00:00
jmmv
d971a332da Drop maintainership. I can't seriously be the maintainer of so many
packages - specially of packages that I haven't touched for a long
while or those that other people can handle better than me.
2006-01-20 16:15:52 +00:00
seb
23d0a8852c Update to version 2.3.2.
Changes since last packaged version (2.3.0):
2.3.2
 - fixed segfault due to checking the length of variables that I forgot to
   remove from build_arg_vector() since the chroot root exploit fix in 2.3.0
2.3.1
 - fixed stupid bug that caused rssh not to allow rsync and rdist
2006-01-14 00:52:33 +00:00
joerg
d5d3886f1c short gets promoted to int according to ISO C rules, so use int for
va_arg instead of short.
2006-01-08 20:55:46 +00:00
wiz
76f0865976 Remove BROKEN_IN, fixed by commit to ast-ksh. 2006-01-07 16:29:15 +00:00
wiz
8c7becbc8f Fix build on NetBSD with statvfs. Remove BROKEN_IN. 2006-01-07 16:15:46 +00:00
schmonz
4db269b01e Correct BROKEN_IN definition. 2006-01-04 05:27:20 +00:00
schmonz
42428df5a0 Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
2006-01-04 04:29:05 +00:00
wiz
6e3c39e34d Update to 3.1pl1:
This is a terse description of the new features added to bash-3.1 since
the release of bash-3.0.  As always, the manual page (doc/bash.1) is
the place to look for complete descriptions.

1.  New Features in Bash

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2.  New Features in Readline

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

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

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

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

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

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

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

Bump PKGREVISION.

This is for PR 25044.

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

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