Commit graph

745 commits

Author SHA1 Message Date
cheusov
c11e216de0 take maintainership 2012-04-26 16:04:38 +00:00
ryoon
71a545c95e Remove PKGREVISION 2012-04-14 16:03:41 +00:00
ryoon
964a76d4aa Update to 4.3.17
Changelog:
* Fix some completion bugs
* Add command completions
* Bug fixes
2012-04-14 16:02:45 +00:00
gls
895176b8af Update shells/lshell to 0.15.1.
Security fix.

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2.  New Features in Readline

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

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

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

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

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