Commit graph

849 commits

Author SHA1 Message Date
bsiegert
b9b15ad635 Update mksh to R50b, prodded by tg.
Changelog:
R50b is a recommended bugfix release:

* [Ypnose] Fix operator description in the manpage
* [tg] Change all mention of “eglibc” to “glibc”, it is merged back
* [Colona] Fix rare infinite loop with invalid UTF-8 in the edit buffer
* [tg] Make more clear when a shell is interactive in the manpage
* [tg] Document that % is a symmetric remainder operation, and how to
  get a mathematical modulus from it, in the manpage
* [tg, Christopher Ferris, Elliott Hughes] Make the cat(1) builtin also
  interruptible in the write loop, not just in the read loop, and avoid
  it getting SIGPIPE in the smores function in dot.mkshrc by terminating
  cat upon user quit
* [tg] Make some comments match the code, after jaredy from obsd changed
  IFS split handling
* [tg] Fix some IFS-related mistakes in the manual page
* [tg] Document another issue as known-to-fail test IFS-subst-3
* [tg] Improve check.pl output in some cases
* [tg, Jb_boin] Relax overzealous nameref RHS checks

R50 is a recommended bugfix release:

* [tg] Fix initial IFS whitespace not being ignored when expanding
* [tg] MKSH_BINSHREDUCED no longer mistakenly enables brace expansion
* [tg] Explain more clearly Vi input mode limitations in the manpage
* [tg] Improve error reporting of the check.pl script (which needs a
  maintainer since I don’t speak any perl(1), really), for lewellyn
* [tg] Use $TMPDIR in test.sh for scratch space
* [tg, Polynomial-C] Check that the scratch space is not mounted noexec
* [pekster, jilles, tg] Use termcap(5) names, not terminfo(5) names, in
  tput(1) examples, for improved portability (e.g. to MidnightBSD)
* [tg] Avoid C99 Undefined Behaviour in mirtoconf LFS test (inspired by
  Debian #742780)
* [tg] Fix ${!foo} for when foo is unset
* [tg] Improve nameref error checking (LP#1277691)
* [tg] Fix readonly bypass found by Bert Münnich
* [Ryan Schmidt] Improved system reporting for Mac OS X
* [nDuff] Explain better [[ extglob handling in the manpage
* [tg] Remove arr=([index]=value) syntax due to regressions
* [tg] IFS-split arithmetic expansions as per POSIX 201x
* [OpenBSD] Add more detailed Authors section to manpage
* [tg] Fix set ±p issue for good: drop privs unless requested
* [tg] Improve signal handling and use a more canonical probing order
* [tg] Fix return values $? and ${PIPESTATUS[*]} interaction with set -o
  pipefail and COMSUBs
* [enh] Detect ENOEXEC ELF files and use a less confusing error message
* [tg] Update to Unicode 7.0.0
* [tg] Shut up valgrind in the $RANDOM code
* [tg] Use -fstack-protector-strong in favour of -fstack-protector-all
* [tg] Fix access-after-free crash spotted by Enjolras via IRC
2014-09-07 12:46:31 +00:00
ryoon
36ea1d3058 Remove CFLAGS+=-g. Accidentally added. 2014-07-18 20:08:24 +00:00
ryoon
6ae017543c Fix SCO OpenServer 5.0.7/3.2 build.
It has no S_ISSOCK.
2014-07-17 12:49:15 +00:00
wiz
b92b2df03c Add used-by lines. pkglint fixes. 2014-07-03 15:00:41 +00:00
wiz
337b84e2e5 Update to upgraded patch from upstream. Ride bump. 2014-06-25 12:19:09 +00:00
wiz
6fbab09982 Fix ulimit(1) for thread limits; patch from upstream.
Bump PKGREVISION.
2014-06-25 08:39:11 +00:00
wiz
3a19913200 Update comments, remove outdated chunks. 2014-06-25 08:38:37 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
rodent
544e810c9a Fix build for OpenBSD. 2014-05-25 03:59:17 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +00:00
kim
76c0b335fb Fix NLS catalogue installation. Both building and installing
the catalogue files is handled by the upstream Makefile.

Fixes PR pkg/48704 as well.
2014-04-04 12:00:37 +00:00
wiz
4103332619 Update to 4.3:
This is a terse description of the new features added to bash-4.3 since
the release of bash-4.2.  As always, the manual page (doc/bash.1) is
the place to look for complete descriptions.

1.  New Features in Bash

a.  The `helptopic' completion action now maps to all the help topics, not just
    the shell builtins.

b.  The `help' builtin no longer does prefix substring matching first, so
    `help read' does not match `readonly', but will do it if exact string
    matching fails.

c.  The shell can be compiled to not display a message about processes that
    terminate due to SIGTERM.

d.  Non-interactive shells now react to the setting of checkwinsize and set
    LINES and COLUMNS after a foreground job exits.

e.  There is a new shell option, `globasciiranges', which, when set to on,
    forces globbing range comparisons to use character ordering as if they
    were run in the C locale.

f.  There is a new shell option, `direxpand', which makes filename completion
    expand variables in directory names in the way bash-4.1 did.

g.  In Posix mode, the `command' builtin does not change whether or not a
    builtin it shadows is treated as an assignment builtin.

h.  The `return' and `exit' builtins accept negative exit status arguments.

i.  The word completion code checks whether or not a filename containing a
    shell variable expands to a directory name and appends `/' to the word
    as appropriate.  The same code expands shell variables in command names
    when performing command completion.

j.  In Posix mode, it is now an error to attempt to define a shell function
    with the same name as a Posix special builtin.

k.  When compiled for strict Posix conformance, history expansion is disabled
    by default.

l.  The history expansion character (!) does not cause history expansion when
    followed by the closing quote in a double-quoted string.

m.  `complete' and its siblings compgen/compopt now takes a new `-o noquote'
    option to inhibit quoting of the completions.

n.  Setting HISTSIZE to a value less than zero causes the history list to be
    unlimited (setting it 0 zero disables the history list).

o.  Setting HISTFILESIZE to a value less than zero causes the history file size
    to be unlimited (setting it to 0 causes the history file to be truncated
    to zero size).

p.  The `read' builtin now skips NUL bytes in the input.

q.  There is a new `bind -X' option to print all key sequences bound to Unix
    commands.

r.  When in Posix mode, `read' is interruptible by a trapped signal.  After
    running the trap handler, read returns 128+signal and throws away any
    partially-read input.

s.  The command completion code skips whitespace and assignment statements
    before looking for the command name word to be completed.

t.  The build process has a new mechanism for constructing separate help files
    that better reflects the current set of compilation options.

u.  The -nt and -ot options to test now work with files with nanosecond
    timestamp resolution.

v.  The shell saves the command history in any shell for which history is
    enabled and HISTFILE is set, not just interactive shells.

w.  The shell has `nameref' variables and new -n(/+n) options to declare and
    unset to use them, and a `test -R' option to test for them.

x.  The shell now allows assigning, referencing, and unsetting elements of
    indexed arrays using negative subscripts (a[-1]=2, echo ${a[-1]}) which
    count back from the last element of the array.

y.  The {x}<word redirection feature now allows words like {array[ind]} and
    can use variables with special meanings to the shell (e.g., BASH_XTRACEFD).

z.  There is a new CHILD_MAX special shell variable; its value controls the
    number of exited child statues the shell remembers.

aa. There is a new configuration option (--enable-direxpand-default) that
    causes the `direxpand' shell option to be enabled by default.

bb. Bash does not do anything special to ensure that the file descriptor
    assigned to X in {x}<foo remains open after the block containing it
    completes.

cc. The `wait' builtin has a new `-n' option to wait for the next child to
    change status.

dd. The `printf' %(...)T format specifier now uses the current time if no
    argument is supplied.

ee. There is a new variable, BASH_COMPAT, that controls the current shell
    compatibility level.

ff. The `popd' builtin now treats additional arguments as errors.

gg. The brace expansion code now treats a failed sequence expansion as a
    simple string and will continue to expand brace terms in the remainder
    of the word.

hh. Shells started to run process substitutions now run any trap set on EXIT.

ii. The fc builtin now interprets -0 as the current command line.

jj. Completing directory names containing shell variables now adds a trailing
    slash if the expanded result is a directory.

kk. `cd' has a new `-@' option to browse a file's extended attributes on
    systems that support O_XATTR.

ll. The test/[/[[ `-v variable' binary operator now understands array
    references.

2.  New Features in Readline

a.  Readline is now more responsive to SIGHUP and other fatal signals when
    reading input from the terminal or performing word completion but no
    longer attempts to run any not-allowable functions from a signal handler
    context.

b.  There are new bindable commands to search the history for the string of
    characters between the beginning of the line and the point
    (history-substring-search-forward, history-substring-search-backward)

c.  Readline allows quoted strings as the values of variables when setting
    them with `set'.  As a side effect, trailing spaces and tabs are ignored
    when setting a string variable's value.

d.  The history library creates a backup of the history file when writing it
    and restores the backup on a write error.

e.  New application-settable variable: rl_filename_stat_hook: a function called
    with a filename before using it in a call to stat(2).  Bash uses it to
    expand shell variables so things like $HOME/Downloads have a slash
    appended.

f.  New bindable function `print-last-kbd-macro', prints the most-recently-
    defined keyboard macro in a reusable format.

g.  New user-settable variable `colored-stats', enables use of colored text
    to denote file types when displaying possible completions (colored analog
    of visible-stats).

h.  New user-settable variable `keyseq-timout', acts as an inter-character
    timeout when reading input or incremental search strings.

i.  New application-callable function: rl_clear_history. Clears the history list
    and frees all readline-associated private data.

j.  New user-settable variable, show-mode-in-prompt, adds a characters to the
    beginning of the prompt indicating the current editing mode.

k.  New application-settable variable: rl_input_available_hook; function to be
    called when readline detects there is data available on its input file
    descriptor.

l.  Readline calls an application-set event hook (rl_event_hook) after it gets
    a signal while reading input (read returns -1/EINTR but readline does not
    handle the signal immediately) to allow the application to handle or
    otherwise note it.

m.  If the user-settable variable `history-size' is set to a value less than
    0, the history list size is unlimited.

n.  New application-settable variable: rl_signal_event_hook; function that is
    called when readline is reading terminal input and read(2) is interrupted
    by a signal.  Currently not called for SIGHUP or SIGTERM.

o.  rl_change_environment: new application-settable variable that controls
    whether or not Readline modifies the environment (currently readline
    modifies only LINES and COLUMNS).
2014-03-12 10:08:46 +00:00
dholland
771653d307 whitespace 2014-03-01 03:26:12 +00:00
dholland
64b7145612 Use the HOMEPAGE for this version of rc, not the plan9 one.
(but keep the plan9 url for reference)
2014-03-01 03:24:43 +00:00
wiz
9dd5a94517 Remove doxygen build dependency. I don't see it used anywhere in a build,
and removing it doesn't change the list of installed files.
Bump PKGREVISION.

Requested by Zbigniew Baniewski <zb@islandsoft.pl>.
2014-02-07 21:29:09 +00:00
bsiegert
c12b74a0dc Update mksh to R49.
R49 is a recommended bugfix release:

- [tg] dot.mkshrc: fix two issues with the cd wrapper
- [tg] Unbreak set +p (wider issue still to be addressed)
- [Steffen Daode Nurpmeso] Use WCONTINUED with waitpid(2)
- [millert] Add proper suspend builtin handling tty(4) and setpgrp(2)
- [tg] Sanitise and slightly optimise control character handling
- [tg] Add O_BINARY to all open(2) calls for OS/2 kLIBC support
- [tg] Generate option strings for shell, set, ulimit at compile time
- [Steffen Daode Nurpmeso] Drop ISTRIP termios(4) mode
- [tg] Mention negative history numbers, octals in the manpage
- [tg] Make check.pl work with Perl < 5.6.1 again
- [tg] Detect getsid(2) and skip the oksh suspend builtin otherwise
- [tg] Document that set -o noclobber is unsafe for tempfiles
- [tg] Update to Unicode 6.3.0
- [RT] Restore some portability
- [tg] Fix parsing positional argument variable names
- [tg] Sprinkle a few __attribute__((__pure__)); fix warnings
- [tg] Fix build on OSX: always use our wcwidth code; only use our strlcpy(3)
  code if the OE doesn’t provide one (prompted by jonthn on IRC)
- [tg] Optimise sh -c to exec even in MKSH_SMALL
- [tg] Use new BAFH for hashing
2014-01-26 08:57:32 +00:00
wiz
430e13e39a Remove REPLACE_* section for non-existing file.
Mark as not for python-3.x.
2014-01-23 17:34:26 +00:00
chopps
a8aa4d1b81 increment the pkgrevision as we've fixed a bug 2014-01-11 18:18:46 +00:00
chopps
2768736399 Patch in fix from readline git repo for upcoming readline 6.3. This fixes
the vi-mode cc, dd, yy commands so that they actually cut/yank the text
from the input text.
2014-01-11 18:07:06 +00:00
adam
41e677f366 Revbump after updating tcl/tk. 2014-01-11 14:42:00 +00:00
jperkin
8cd101b9ed Mark NOT_FOR_PLATFORM for SunOS 5.10 and newer, no OS static libraries. 2014-01-09 12:24:41 +00:00
jperkin
f7e4b28189 Avoid linking statically on SunOS. 2014-01-09 11:46:46 +00:00
ryoon
5ddc6b149e Update to 5.0.5
* Fix build on Debian GNU/kFreeBSD 7.3
* Update MASTER_SITES

Changelog:
This is version 5.0.5 of the shell.  This is a stable release.
There are minor new features as well as bug fixes since 5.0.2.
5.0.3 and 5.0.4 were short-lived releases with most of the features of
5.0.5 that were replaced owing to significant bugs.

Incompatibilities between 5.0.2 and 5.0.5
-----------------------------------------

The "zshaddhistory" hook mechanism documented in the zshmisc manual page
has been upgraded so that a hook returning status 2 causes a history
line to be saved on the internal history list but not written to the
history file.  Previously any non-zero status return would cause
the line not to be saved on the history at all.  It is recommended
to use status 1 for this (indeed most shell users would naturally do
so).
2014-01-08 16:30:01 +00:00
obache
9b57b4605a Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes.
Bump PKGREVISION for runtime dependency pattern changed packages.
2013-12-09 14:17:41 +00:00
jperkin
bd44a1c59e Fix build with texinfo 5.x 2013-10-31 13:08:37 +00:00
gls
a290002f0e Update shells/lshell to 0.19.6
Upstream changes:
-----------------

=== v0.9.16   14/08/2013 ===
    * Added support to login script. Thank you Laurent Debacker for the patch.
    * Fixed auto-complete failing with "-"
    * Fixed bug where forbidden commands still execute if strict=1
    * Fixed auto-completion complete of forbidden paths
    * Fixed wrong parsing &, | or ; characters
    * Added urandom function definition for python 2.3 compat
    * Corrected env variable expansion
    * Add support for cd command in aliases
    * Split lshellmodule in multiple files under the lshell directory
    * Fixed check_secure function to ignore quoted text
    * Fixed multiple spaces escaping forbidden filtering
    * Fixed log file permissions 644 -> 600
    * Added possibility to override config file option via command-line
    * Enabled job control when executing command
    * Code cleanup

=== v0.9.15.2 08/05/2012 ===
    * Corrected mismatch in aliaskey variable.
2013-10-21 19:38:15 +00:00
joerg
f994f84483 Pass rpath option with -Wl prefix. 2013-10-20 17:53:26 +00:00
mef
3927979d80 Bump 0.12.1 to 0.12.2
(From: debian/changelog):
posh (0.12.2) unstable; urgency=low

  * Add posh-dbg package.  closes: #703343.
  * Disallow simple commands as function bodies.  closes: #552730.

 -- Clint Adams <clint@debian.org>  Sun, 28 Jul 2013 09:34:06 -0400
2013-09-13 06:41:33 +00:00
bsiegert
d14aaec565 Update mksh to R48b.
Changes:

R48b is a minor bugfix update:

[tg] Fix display issue with multi-line prompts and SIGWINCH

R48 is a small but important bugfix update:

[tg] dot.mkshrc: unbreak hd(1) function in UTF-8 mode
[Jens Staal, tg] Improve buildability on Plan 9 and support kencc
[tg] Clean up and improve build process and testsuite
[Michael Langguth] Add multi-layer ICO file from mksh/Win32
[tg, Steffen Daode Nurpmeso] Fix interactive shell exiting on ^C or
syntax error when the EXIT pseudo-signal trap was set (to anything)
[tg, Daode] Display longer command excerpts in job control
[tg] Rewrite Emacs mode display window sliding calculation code
[tg] dot.mkshrc: “doch” now keeps standard input
[tg] Reduce memory usage and improve comments and documentation

R47 is a bugfix everyone must upgrade to:

[tg] Do not accidentally remove lksh.1 for in-srcdir builds
[tg] Fix post-build non-‘-Q’ output for lksh
[tg] Silence some configure-time warnings for clang-3.2 and GCC
[tg] Prevent recursion loops for namerefs; found by ormaaj
[tg] Replace wcwidth code by mine based on Unicode 6.2.0
[tg, Alexander Polakov] Fix quoting in word part of ${var+word} etc.
when the expression is in a quoted brace or a here document
[tg] Fix some compiler warnings; improve sig{,handler}_t detection
[tg] Keep SIGCHLD blocked in some more semi-critical code paths
[tg] Fix uninitialised variable causing random nōn-numerical input to be
accepted and acted upon in the select built-in command
[tg] No longer chown(2)/chmod(2) the -T tty(4) argument
[tg] Don’t fork(2) if the -T tty(4) argument begins with ‘!’; eliminates
the need for things like oneit_line/cttyhack/etc. on Linux
[jca] Fix “for var in; do” to not be interpreted as “for var; do”
[tg] Use %zu for printing size_t (ipv %lu with casting around)
[tg] use ${SIZE-size} for lewellyn’s cross
[fgsch, espie, millert, tg] Write more testcases
[millert] POSIX specifies that for && and || lists, only the exit status
of the last command matters for “set -e”; fix and document
[millert] check.pl: Add -T flag to set the tmpdir; use mkstemp(3) and
mkdtemp(3) instead of $$ in /tmp for tempfiles
[jca] Make $(<nonexistent) behave like $(cat nonexistent)
[tg] Let shf_open return an errno; display why file wasn’t read
[tg] Finally decide on regression-39 desired outcome (sync with AT&T
ksh93 and GNU bash --posix as well as mksh behaviour)
[tg] Fix post{in,de}crement in not evaluated side of e.g. ternary operator (LP#1187729)
[tg] Fix “set -x” problems; add “set +o inherit-xtrace” (LP#1179287)
[tg] Simplify some code
[tg] Fix segfault related to mixing funsub/valsub and comsub

R46 delivers these changes:

[tg] dot.mkshrc: prevent lksh from running it
[tg] Add the lksh manual page to the mksh distribution
[tg] Make both lksh and mksh interpret numbers with a leading digit zero
(‘0’) as octal precisely iff “set -o posix” is active
[tg] Point out the octal digit and the integer arithmetic differences
from POSuX verbosely in the manual pages (point people who need octals
to “set -o posix” and who need longs to lksh) and elaborate on the
horrors of ISO C Undefined Behaviour which is allowed to delete all your
data
[tg] Unbreak “set -o” (list flags) in lksh on LP64 machines
[tg] Implement Emacs mode PgUp as Vi insert mode Cur↑ for Yofuh
[tg] Allow setting both “set -o sh” and “set -o posix”, if done in the
same command; shuffle around compatibility levels (mksh/lksh, with -o
sh, with -o posix) again; permit a /bin/sh to set either or both
[tg] Sync lksh manual page with the exact code ifdefs
[tg] Change more use of signed integer to use unsigned instead
[tg] Implement “set -o pipefail” like AT&T ksh93 and GNU bash do
[tg] dot.mkshrc: provide hd(1) in Pure mksh™ for fallback
[tg] Implement VALSUBs (value substitutions): ${|REPLY=foo;}
2013-08-18 10:00:12 +00:00
wiz
22f0cfb098 Add .ts files to completion list for mplayer. Bump PKGREVISION. 2013-08-01 06:08:33 +00:00
ryoon
f8e628f818 * .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-15 02:02:17 +00:00
wiz
8f8f6f6ae6 Install emacs mode into examples directory since it
a) doesn't work with current emacses and
b) breaks the eshell mode coming with emaces.

Bump PKGREVISION.

Addresses PR 48050 by Memnon Anon.
2013-07-12 17:25:09 +00:00
mef
236d043318 Bump 0.12 to 0.12.1
patches/patch-main.c is deleted, upstream took fix.
---------
posh (0.12.1) unstable; urgency=low
  * Add missing compat header include, thanks to Makoto Fujiwara.
    closes: #712009.
2013-06-12 12:05:35 +00:00
mef
a2838c4353 Makefile
- Bump version 0.3.14 to 0.12.
  - Add LICENSE= as gnu-gpl-v2.
patches/patch-a[ab]
  - comment added from old cvs log

Following lines are recent changes from ChangeLog. For full
ChangeLog, see:
https://launchpad.net/debian/+source/posh/+changelog
--------
posh (0.12)
 * Fix shell flag handling, broken since 0.9.1.  closes: #707778.

posh (0.10.2)

  * Fix "nostrip" build.  closes: #674703.
  * Fix Italian Language-Team email address.  closes: #660020.
  * Don't segfault when bi_errorf(NULL) is called.  closes: #674701.
  * Bump to Standards-Version 3.9.3.

posh (0.10) unstable; urgency=low
  * Do not treat a bad signal passed to the trap builtin as a    fatal/syntax error.

posh (0.8.5) unstable; urgency=low

  * Apply bugfix from mksh overhauling the code for substitutions
    such as ${foo:-bar} and "${foo+bar}" for standards compliance
    and pull the test cases that go with it.

  * Bump to Standards-Version 3.8.4.
  * Switch to 3.0 (native) source format.
---------
2013-06-11 22:21:38 +00:00
mef
c4a101329f Add patches/patch-main.c
to fix segmentation fault just after invocation, at least on
NetBSD/amd64 6.1, which is reported as PR pkg/47917.
The problem was also reported by gcc (4.5.3) as:
 main.c: In function 'main':
 main.c:206:15: warning: assignment makes pointer from integer without a cast
At following location:
   203                          char *simplified;
   ....
   206                          simplified = canonicalize_file_name(current_wd);
2013-06-11 21:43:13 +00:00
bsiegert
c6308be0bc Add support for RLIMIT_NTHR (number of threads) that appears in NetBSD
6.99.x. This uses "ulimit -T" as in Linux, not "-r" as in the other shells
on NetBSD. Bump pkgrevision.
2013-06-09 18:12:14 +00:00
wiz
e0b49a2fed Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
2013-06-06 12:53:40 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
58dea6b617 Replace py-readline/buildlink3.mk with DEPENDS.
There are no buildlink3-relevant files here, just a loadable module.
2013-06-04 07:35:14 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:05:17 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
joerg
46f521feb5 Simpler and more correct check for libexecinfo. 2013-05-23 15:07:29 +00:00
riastradh
8bd9fde5c2 Fix shells/fish NetBSD version detection for libexecinfo. 2013-05-11 19:37:14 +00:00
riastradh
674856663c Oops -- use the proper conditional for USE_CROSS_COMPILE.
Had been flailing when the CONFIGURE_ENV setting didn't take, but
this turned out to be a red herring, and I forgot to back it out
before commit.
2013-05-11 16:43:50 +00:00
riastradh
efa8259c0e Kludgily fix tcsh cross-build by passing NATIVE_CC.
Should patch the configure script to respect the environment setting
of CC_FOR_GETHOST (or CC_FOR_BUILD or something), but this is less
work and will do for now.
2013-05-11 16:39:09 +00:00
imil
5c34de8194 Removed unnecessary comments 2013-05-10 12:04:00 +00:00
imil
965068b049 Updated bash-completion to 2.1
An extensive changelog is readable here:

http://bash-completion.alioth.debian.org/files/CHANGES-1.1
http://bash-completion.alioth.debian.org/files/CHANGES-1.2
http://bash-completion.alioth.debian.org/files/CHANGES-1.3
http://bash-completion.alioth.debian.org/files/CHANGES-2.0
http://bash-completion.alioth.debian.org/files/CHANGES-2.1
2013-05-10 12:01:50 +00:00
riastradh
7677b8d567 Fix zsh cross-build on NetBSD.
Patch it up to use compile-tests rather than run-tests in autoconf
for many of its tests (OS-independently).  Teach it about the few
remaining properties for NetBSD in particular.

ok agc
2013-05-10 01:17:32 +00:00
riastradh
b32b8a54a1 Fix bash cross-build on NetBSD by pre-answering autoconf run-tests.
ok agc
2013-05-10 00:42:41 +00:00
bsiegert
c1f91161ba Update to mksh-45.
* [tg] Make “set -x” print the commands run in escaped form
* [tg] PS4 in dot.mkshrc is now timestamped
* [tg] The &> GNU bash I/O redir is no longer parsed in -o posix, -o sh modes,
  lksh (breaks valid scripts)
* [tg] Implement ${ …;} more efficiently (deleted-open files)
* [tg] For shf, %#s (if you can get it past GCC’s printf format attribute)
  calls print_value_quoted, ignoring field width and precision
* [tg] Catch “typeset =” (regression) with better error message
* [tg, Tonnerre Lombard] add “doch” alias to dot.mkshrc which just repeats the
  last input line with sudo(8)
* [tg] Use unsigned integers for all calculations, to avoid ISO C “Undefined
  Behaviour” (and implementation-defined behaviour) throughout (most of) the
  code; emulate signed integer arithmetics using unsigned; not-lksh only
* [tg] Emulate signed modulo naïvely, for correct sign of the result
* [tg] Add <<< and >>> for ROL and ROR (rotate left and right, respectively)
  operations, <<<= and >>> assignments; bitwise AND the RHS of a shift/rotate
  op with 31 (not for lksh)
* [tg] Remove a warning by working around a workaround found in dietlibc which
  works around a bug in broken software such as GNU tar (really!)
* [tg] Correct and simplify list and categorisation of built-in commands as
  POSIX special and “everything else” plus a flag to keep assignments
* [tg] Handle ((foo)) as “let]” internally to avoid a conflict with
  user-defined functions called let (LP#1156707)
* [tg] Clean up the code
2013-04-30 17:58:44 +00:00