Commit graph

1010 commits

Author SHA1 Message Date
wiz
da199a88f8 shells/Makefile: + bosh, pbosh 2018-11-10 20:00:04 +00:00
wiz
35745fde65 shells/pbosh: import pbosh-20181030
Packaged for wip by Michael Bäuerle.

The Schily Bourne Shell

The Schily Bourne Shell was derived from the Bourne Shell sources from
OpenSolaris.

The Schily Bourne Shell is actively maintained and enhanced on a regular base.
It can be compiled into three variants:
- The non-POSIX SVr4/OpenSolaris variant (obosh)
- The minimal POSIX compliant variant (pbosh)
- The POSIX compliant extended variant (bosh)
This package contains the second variant.
2018-11-10 19:59:54 +00:00
wiz
e19b1b3819 shells/bosh: import bosh-20181030
Packaged for wip by Michael Bäuerle.

The Schily Bourne Shell

The Schily Bourne Shell was derived from the Bourne Shell sources from
OpenSolaris.

The Schily Bourne Shell is actively maintained and enhanced on a regular base.
It can be compiled into three variants:
- The non-POSIX SVr4/OpenSolaris variant (obosh)
- The minimal POSIX compliant variant (pbosh)
- The POSIX compliant extended variant (bosh)
This package contains the third variant.
2018-11-10 19:58:16 +00:00
maya
4625cb7d7b shells: +oksh 2018-11-09 22:16:49 +00:00
maya
369ddbbf5a Add oksh, portable version of OpenBSD ksh. 2018-11-09 22:15:12 +00:00
leot
c8de627bb1 bash-completion: Update shells/bash-completion to 2.8
Patch provided by Attila Fülöp via netbsd/pkgsrc#36, thanks!

pkgsrc changes:
 - Update MASTER_SITES and HOMEPAGE

Changes:
Unfortunately the changelog is very long. Only new/removed completions/helpers
are documented here (since 2.1):

The following completions were added:
 - 2to3, 7z, 7za, _cal, _chfn, _chsh, _dmesg, _eject, _hexdump,
   _hwclock, _ionice, _look, _mock, _modules, _newgrp, _nmcli, _renice,
   _repomanage, _reptyr, _rfkill, _rtcwake, _runuser, _su, _svn,
   _svnadmin, _svnlook, _udevadm, _write, _yum, aclocal-1.10,
   aclocal-1.12, aclocal-1.13, aclocal-1.14, aclocal-1.15, adb,
   appdata-validate, aptitude-curses, automake-1.10, automake-1.12,
   automake-1.13, automake-1.14, automake-1.15, bind, bts, ccze,
   checksec, createuser, deja-dup, dropuser, ebtables, f77, f95,
   flake8, freebsd-update, g95, geoiplookup, geoiplookup6, getconf,
   gfortran, gm, gnokii, hostname, jpegoptim, jshint, lsscsi, lsusb,
   lz4, lz4c, micropython, mr, nproc, oggdec, optipng, pdftotext,
   perltidy, pngfix, portsnap, pv, py.test, py.test-2, py.test-3,
   pycodestyle, pyflakes, pylint-2, pylint-3, pypy, pypy3, pyvenv,
   pyvenv-3.4, pyvenv-3.5, qemu-kvm, qemu-system-i386, qemu-system-x86_64,
   radvdump, sidedoor, ssh-keygen, synclient, timeout, tipc, tox,
   xdg-mime, xdg-settings, zopfli, zopflipng, python,

The following completions were removed:
 - cal, chsh, dmesg, eject, hexdump, hwclock, ionice, look, newgrp,
   nmcli, renice, reptyr, rfkill, rtcwake, su,

The following helpers were added:
 - python
2018-10-19 20:28:25 +00:00
minskim
16375d10ef shells/zsh: Fix PLIST on Darwin with no /usr/include 2018-10-10 17:21:55 +00:00
tnn
32cd35b32c posh: update to 0.12.6.
Fixes build. Other changes from 0.12.5 unknown.
2018-09-29 12:34:07 +00:00
jperkin
9e646551d2 zsh: Restore SunOS patch lost in previous update. 2018-09-25 13:24:39 +00:00
wen
a22132f637 Update to 5.6.2
Upstream changes:
Changes from 5.6.1 to 5.6.2
---------------------------

Fix another SIGTTOU case.

Fix SIGWINCH being ignored when zsh is not in the foreground.

The release tarballs are now compressed using xz(1), whereas previously
both xz(1) and gzip(1) versions were available.  If this gets in your way,
give us a shout.
2018-09-15 13:40:34 +00:00
ryoon
0ccecb2ebf Update to 5.6.1
Changelog:
Changes from 5.6 to 5.6.1
-------------------------

Fix packaging issue that broke runhelp.

Fix a regression with pipelines getting backgrounded and emitting SIGTTOU.
2018-09-14 03:36:51 +00:00
wen
a4d5289bd2 Update to 5.6
Upstream changes:
Changes from 5.5.1-test-2 to 5.6
--------------------------------

CVE-2018-0502: Data from the second line of a #! script file might be passed to
execve().  For example, in the following situation -
.
    printf '#!foo\nbar' > baz
    ./baz
.
the shell might take "bar" rather than "foo" for the argv[0] to be passed to
execve().  [ Reported by Anthony Sottile and Buck Evan. ]

CVE-2018-13259: A shebang line longer than 64 characters would be truncated.
For example, in the following situation:
.
    ( printf '#!'; repeat 64 printf 'x'; printf 'y' ) > foo
    ./foo
.
the shell might execute x...x (64 repetitions) rather than x...xy (64 x's,
one y).  [ Reported by Daniel Shahaf. ]

Changes from 5.5.1 to 5.5.1-test-2
----------------------------------

Non-stop IEEE 754 arithmetic support - Inf and NaN are now returned
from floating point operations where errors were printed before.
Inf and NaN are also recognised in arithmetic expressions.

In shell patterns, [[:blank:]] now honours the locale instead of
matching exclusively on space and tab, like for the other POSIX
character classes or for extended regular expressions.

Nanosecond precision on file times is supported in the module
zsh/stat.
2018-09-09 00:46:52 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
joerg
a19083df44 Mark packages that require C++03 (or the GNU variants) if they fail with
C++14 default language.
2018-07-18 00:06:10 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
adam
a31bce9748 extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
adam
d489a58b0f dash: updated to 0.5.10.2
0.5.10.2:
Bug fixes.
2018-06-01 07:19:01 +00:00
wiz
53345bee7c zsh-autosuggestions: update to 0.4.3.
## v0.4.3
- Avoid bell when accepting suggestions with `autosuggest-accept` (#228)
- Don't fetch suggestions after [up,down]-line-or-beginning-search (#227, #241)
- We are now running CI against new 5.5.1 version
- Fix partial-accept in vi mode (#188)
- Fix suggestion disappearing on fast movement after switching to `vicmd` mode (#290)
- Fix issue rotating through kill ring with `yank-pop` (#301)
- Fix issue creating new pty for async mode when previous pty is not properly cleaned up (#249)
2018-05-27 12:21:47 +00:00
adam
fb6913fba5 dash: updated to 0.5.10.1
0.5.10.1:
jobs - Do not block when waiting on SIGCHLD

0.5.10:
eval: Variable assignments on functions are no longer persistent
parser: Fix parameter expansion inside inner double quotes
parser: Fix parsing of ${}
man: correct typos, iff -> if
expand: Do not quote backslashes in unquoted parameter expansion
shell: Add subdir-objects to AM_INIT_AUTOMAKE
eval: Restore input files in evalcommand
eval: Reap zombies after built-in commands and functions
redir: Fix typo in noclobber code
expand: Fix glibc glob(3) support
expand: Fix buffer overflow in expandmeta
builtin: Move echo space/nl handling into print_escape_str
builtin: Fix echo performance regression
expand: Fix ghost fields with unquoted $@/$*
parser: Allow newlines within parameter substitution
expand: Fix bugs with words connected to the right of $@
Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"
parser: Fix backquote support in here-document EOF mark
shell: provide .gitignore
parser: Fix single-quoted patterns in here-documents
parser: Add syntax stack for recursive parsing
parser: use pgetc_eatbnl() in more places
builtin: Greater resolution in test -nt / test -ot
2018-05-17 09:52:43 +00:00
ryoon
c0c10b7044 Update to 5.5.1
Changelog:
Changes from %.5 to 5.5.1
-------------------------

Apart from a fix for a configuration problem finding singal names from
(some) recent versions of glibc, there are only minor changes.

Changes from 5.4.2 to 5.5
-------------------------

The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...) and
`...` command substitutions when used on the command line.  Previously,
comments were always recognized within command substitutions unless the
comment character "#" was disabled via reset of $histchars.

An alternative assignment syntax for indicating indices for arrays
and keys for associative arrays:

typeset -a array=([1]=first [2]=second)
typeset -A assoc=([key1]=val1 [key2]=val2)

is allowed for compatibility with other shells.  In the case of normal
arrays the new syntax can be mixed with the old.
2018-04-29 20:41:04 +00:00
wiz
f367007762 *: gd.tuwien.ac.at/ftp.tuwien.ac.at is gone, remove it from various mastersites 2018-04-21 13:38:04 +00:00
he
bde2079a63 Add a patch to main.c.in (and in the process rename the diff):
Make a copy of the basename() result, so as to avoid a fortify
abort due to overlapping memcpy() when the result from basename()
is subsequently passed to basename().
Bump PKGREVISION.
2018-04-13 16:59:13 +00:00
ryoon
081390727b Update to 4.4.019
Changelog:
Bug-Description:

With certain values for PS1, especially those that wrap onto three or more
lines, readline will miscalculate the number of invisible characters,
leading to crashes and core dumps.
2018-04-09 14:57:19 +00:00
spz
c554e430f4 add security patches for CVE-2018-1071, CVE-2018-1083, CVE-2018-7548
and CVE-2018-7549 from the zsh repo. one pullup less, w00t. :-P
2018-03-30 20:56:42 +00:00
wiz
c57215a7b2 Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
sborrill
2148239b1e Take maintainership.
Enable scp support.
Bump PKGREVISION.
2018-03-02 09:02:52 +00:00
wiz
e83598b6c4 bash: update to 4.4.18.
Bugfixes.
2018-02-11 17:00:45 +00:00
jperkin
0721dd54dd bash: Spell -fPIC correctly on SunOS. 2018-01-25 10:40:05 +00:00
bsiegert
a1869944de Update mksh to 56c.
R56c is a bugfix-only release everyone must upgrade to:

- [komh] Remove redundant OS/2-specific code, clean up others
- [komh, tg] Fix drive-qualified (absolute and relative) DOS-style path support
  in realpath functionality, partially other places
- [tg] Don't substitute ${ENV:-~/.mkshrc} result again
- [tg] Improve OS/2 $PATH (et al.) handling, drive-relative paths
- [tg] Add MKSH_ENVDIR compile-time option for Jehanne and Plan 9
- [tg] Limit nesting when parsing malformed code (Debian #878947)
- [tg] Update wcwidth data with bugfixed script (still Unicode 10; resulting
  values are identical to glibc git master for extant chars)
- [Dr. Werner Fink] Raise some time limits in the testsuite
- [Shamar] Add support for the Jehanne operating system
- [komh] Set stdin to text mode before executing child processes on OS/2
- [komh] Pass arguments via a resonse file if executing a child fails
- [Dr. Werner Fink] Early locale tracking as a compile-time option
- [tg] Fix regressions introduced with new fast character classes
2018-01-21 13:04:05 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
maya
af5bed1475 fish: update to 2.7.1
pkgsrc changes: add doxygen dependency for building docs.
this is unusual as doxygen is heavy, but fish is meant to
be beginner-friendly shell, so documentation is important.

remove now unneeded patch, that getcwd is called with a size
argument now.

# fish 2.7.1 (released December 23, 2017)

This release of fish fixes an issue where iTerm 2 on macOS would display a warning about paste bracketing being left on when starting a new fish session (#4521).

If you are upgrading from version 2.6.0 or before, please also review the release notes for 2.7.0 and 2.7b1 (included below).

--

# fish 2.7.0 (released November 23, 2017)

There are no major changes between 2.7b1 and 2.7.0. If you are upgrading from version 2.6.0 or before, please also review the release notes for 2.7b1 (included below).

Xcode builds and macOS packages could not be produced with 2.7b1, but this is fixed in 2.7.0.

--

# fish 2.7b1 (released October 31, 2017)

## Notable improvements
- A new `cdh` (change directory using recent history) command provides a more friendly alternative to prevd/nextd and pushd/popd (#2847).
- A new `argparse` command is available to allow fish script to parse arguments with the same behavior as builtin commands. This also includes the `fish_opt` helper command. (#4190).
- Invalid array indexes are now silently ignored (#826, #4127).
- Improvements to the debugging facility, including a prompt specific to the debugger (`fish_breakpoint_prompt`) and a `status is-breakpoint` subcommand (#1310).
- `string` supports new `lower` and `upper` subcommands, for altering the case of strings (#4080). The case changing is not locale-aware yet.
- `string escape` has a new `--style=xxx` flag where `xxx` can be `script`, `var`, or `url` (#4150), and can be reversed with `string unescape` (#3543).
- History can now be split into sessions with the `fish_history` variable, or not saved to disk at all (#102).
- Read history is now controlled by the `fish_history` variable rather than the `--mode-name` flag (#1504).
- `command` now supports an `--all` flag to report all directories with the command. `which` is no longer a runtime dependency (#2778).
- fish can run commands before starting an interactive session using the new `--init-command`/`-C` options (#4164).
- `set` has a new `--show` option to show lots of information about variables (#4265).

## Other significant changes
- The `COLUMNS` and `LINES` environment variables are now correctly set the first time `fish_prompt` is run (#4141).
- `complete`'s `--no-files` option works as intended (#112).
- `echo -h` now correctly echoes `-h` in line with other shells (#4120).
- The `export` compatibility function now returns zero on success, rather than always returning 1 (#4435).
- Stop converting empty elements in MANPATH to "." (#4158). The behavior being changed was introduced in fish 2.6.0.
- `count -h` and `count --help` now return 1 rather than produce command help output (#4189).
- An attempt to `read` which stops because too much data is available still defines the variables given as parameters (#4180).
- A regression in fish 2.4.0 which prevented `pushd +1` from working has been fixed (#4091).
- A regression in fish 2.6.0 where multiple `read` commands in non-interactive scripts were broken has been fixed (#4206).
- A regression in fish 2.6.0 involving universal variables with side-effects at startup such as `set -U fish_escape_delay_ms 10` has been fixed (#4196).
- Added completions for:
  - `as` (#4130)
  - `cdh` (#2847)
  - `dhcpd` (#4115)
  - `ezjail-admin` (#4324)
  - Fabric's `fab` (#4153)
  - `grub-file` (#4119)
  - `grub-install` (#4119)
  - `jest` (#4142)
  - `kdeconnect-cli`
  - `magneto` (#4043, #4108)
  - `mdadm` (#4198)
  - `passwd` (#4209)
  - `pip` and `pipenv` (#4448)
  - `s3cmd` (#4332)
  - `sbt` (#4347)
  - `snap` (#4215)
  - Sublime Text 3's `subl` (#4277)
- Lots of improvements to completions.
- Updated Chinese and French translations.
2017-12-30 05:35:54 +00:00
minskim
9e30420bcd shells/Makefile: Add zsh-syntax-highlighting 2017-12-15 17:37:21 +00:00
minskim
86f5f72e11 shells/zsh-syntax-highlighting: Import version 0.6.0
Fish shell-like syntax highlighting for Zsh. This package provides
syntax highlighing for the shell zsh. It enables highlighing of
commands whilst they are typed at a zsh prompt into an interactive
terminal. This helps in reviewing commands before running them,
particularly in catching syntax errors.
2017-12-15 17:36:38 +00:00
minskim
31e26d74cd shells/zsh: Add a directory to search for xattr.h
This change makes shells/zsh build on Ubuntu Linux.
2017-12-12 23:57:29 +00:00
minskim
2cb3057a6b shells/Makefile: Add zsh-autosuggestions 2017-12-07 23:16:07 +00:00
minskim
01ef2f24b4 shells/zsh-autosuggestions: Import version 0.4.2
Fish-like fast/unobtrusive autosuggestions for zsh. It suggests
commands as you type, based on command history.
2017-12-07 23:14:32 +00:00
minskim
ed92b7f2d9 shells/Makefile: Add zsh-pure 2017-12-01 01:11:18 +00:00
minskim
6e7bd25e86 shells/zsh-pure: Import version 1.6.0
Pure is a pretty, minimal, and fast Zsh prompt.
2017-12-01 01:10:40 +00:00
minskim
890ac884ea shells/Makefile: Add zsh-completions 2017-11-28 19:32:25 +00:00
minskim
6f369349b5 shells/zsh-completions: Import version 0.27.0
zsh-completions aims at gathering/developing new completion scripts
that are not available in Zsh yet. The scripts may be contributed to
the Zsh project when stable enough.
2017-11-28 19:31:44 +00:00
maya
de3f650878 bash: comment broken option, remove dead master sites,
remove conflict with non-existent package.

PR pkg/51519
2017-11-20 08:29:42 +00:00
jperkin
068b1116e2 fish: Unbreak build on non-NetBSD. 2017-10-30 11:45:13 +00:00
jperkin
442a924cdc fish: Requires libtool. 2017-10-30 10:48:22 +00:00
maya
5a5d357503 fish: don't install own version of pcre2, delete hopefully
unneeded file (from pcre2 configure)

bump pkgrevision
2017-10-25 14:47:40 +00:00
maya
719664a431 fish: use variadic tparm on netbsd curses.
don't mess with the declaration of tparm_solaris_kludge unnecessarily.

uwe thinks the non-variadic tparm is wrong (so might be broken for
solaris curses), but I'm not sure how to correct it.

PR pkg/52649

bump PKGREVISION
2017-10-25 09:32:38 +00:00
maya
bde464afac fish: add patches from pkgsrc-wip reported to fix build with clang
force ncurses because auto-completion is broken with netbsd curses.

bump pkgrevision
2017-10-24 03:51:41 +00:00
jperkin
1e1a6f7fb8 zsh: Upgrade to 5.4.2
pkgsrc changes:
 - Use PRINT_PLIST_AWK to aid future upgrades.
 - Support the "static" option on Darwin and SunOS.

Upstream changes from 5.3.1 to 5.4:

The 'exec' and 'command' precommand modifiers, and options to them, are
now parsed after parameter expansion.  Previously, both the modifier and
any options to it were parsed between alias expansion and parameter
expansion (see zshexpn(1)), so they could neither be quoted nor be the
result of parameter expansion.  Examples: 's=command; $s -V ls' and
'\command -V ls' now work as expected.

Functions executed by ZLE widgets no longer have their standard input
closed, but redirected from /dev/null instead. That still guards
against user defined widgets inadvertently reading from the tty device.

There is an option WARN_NESTED_VAR, a companion to the existing
WARN_CREATE_GLOBAL that causes a warning if a function updates a
variable from an enclosing scope without using typeset -g.  It can be
turned on for an individual function with "functions -W".

zmodload now has an option -s to be silent on a failure to find a module
but still print other errors.
2017-10-13 09:35:19 +00:00
wiz
1770bcacd4 Comment out dead sites. 2017-09-04 18:00:49 +00:00
bsiegert
eba00046bc Update mksh to R56b.
R56b is a bugfix-only release everyone should upgrade to:

- [tg] Reference the FAQ webpage
- [panpo, Riviera] Fix documentation bug wrt. Esc+Ctrl-L
- [tg, Larry Hynes] Fix '0' movement in vi mode
- [tg] Replace broken libcs' offsetof macro with MirBSD's

R56 is a bugfix release with some experimental fixes:

- [tg, Seb] Do not apply alias name restrictions to hash/tilde tracking
- [tg] Restore '.', ':' and '[' in alias names ('[[' is still forbidden)
- [tg] Fix accidentally defanged $PATHSEP test
- [tg] On ^C (INTR and QUIT edchars), shove edit line into history
- [iSKUNK, tg] Begin porting to z/OS using EBCDIC encoding, incomplete
- [tg] Redo fast character classes code, adding POSIX and other helpers
- [tg] bind parses backslash-escaped '^' (and '\') as escaped
- [tg] Building with -DMKSH_ASSUME_UTF8=0 no longer causes a known failure in
  the testsuite
- [tg] New test.sh option -U to pass a UTF-8 locale to use in the tests
- [tg] re_format(7) BSD: [[ $x = *[[:\<:]]foo[[:\>:]]* ]]
- [tg, iSKUNK] Use Config in check.pl only if it exists
- [tg] New matching code for bracket expressions, full POSIX (8bit)
- [komh] Exclude FAT/HPFS/NTFS-unsafe tests on OS/2 (and Cygwin/MSYS)
- [tg] Update to Unicode 10.0.0
- [tg, selk] Make readonly idempotent
- [tg, multiplexd] When truncating the persistent history, do not change the
  underlying file, do all operations on the locked one; do not stop using the
  history at all if it has been truncated
- [tg, J?rg] Turn off UTF-8 mode upon turning on POSIX mode
- [Martijn Dekker, Geoff Clare, many on the Austin list, tg] In POSIX mode,
  make the exec builtin force a $PATH search plus execve
- [tg] Fix GCC 7, Coverity Scan warnings
- [tg, Michal Hlavinka] Track background process PIDs even interactive
- [tg] Always expose mksh's hexdump shell function; speed it up by working on
  the input in chunks; use character classes to make it EBCDIC safe
- [tg] Revamp dot.mkshrc default editor selection mechanism
2017-09-02 18:38:54 +00:00
jlam
eb9f54ca73 shells/static-tcsh: Can't build static binaries on SunOS>=5.10.
SunOS>=5.10 stopped shipping static libraries, so it's not possible
to link a static tcsh binary.
2017-08-23 17:52:59 +00:00