summaryrefslogtreecommitdiff
path: root/shells/zsh
AgeCommit message (Collapse)AuthorFilesLines
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-2/+2
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-20Set "BUILDLINK_PASSTHRU_RPATHDIRS" to stop buildlink3 from removing "/lib"tron1-5/+8
from the run time shared library path instead of trying to defeat its option parser.
2004-08-20Improve handling of "ZSH_STATIC" again:tron1-2/+15
1.) Only create a dynamically linked "zsh" binary if "MKDYNAMICROOT" is defined and set to "yes". This way people who still use statically linked binaries on their root filesystem will get a static binary. 2.) Link the "zsh" binary so that it use "/libexec/ld.elf_so" and shared libraries from "/lib". It now works without the "/usr" filesystem being mounted.
2004-08-20Don't create a statically linked "zsh" binary on NetBSD system which havetron1-1/+4
dynamic library support on the root partition (e.g. 2.0 and newer). It is enough that the "zsh" binary does *not* depend on its own shared libraries which won't be on the root partition and we get a shell with proper I18N support this way. Approved by Masao Uebayashi.
2004-08-16update to zsh-4.2.1recht7-25/+32
Changes since zsh version 4.2.0 ------------------------------- - The autoload and related builtins take options -k and -z to indicate ksh or zsh autoloading style for given functions, making it possible to mix and match. - Assignments to associative arrays can use the i and r index flags. For example, assoc[(i)alpha*]=bravo sets the value for the element whose key matches the pattern `alpha*'; assoc[(r)activ*]=passive sets the value for the element whose current value matches the pattern `activ*'. - The glob qualifier F indicates a non-empty directory. Hence *(F) indicates all subdirectories with entries, *(/^F) means all subdirectories with no entries. - fc -p and fc -P provide push/pop for the status of the shell's history (both internal and using the history file). With automatic scoping (fc -ap) it becomes easy to use a temporary history in a function. This has been added to the calculator function zcalc to make its internal history work more seamlessly. - A new `try block' and `always block' syntax has been introduced to make it easier to ensure the shell runs important tidy-up code in the event of an error. It also runs after a break, continue, or return, including a return forced by the ERR_RETURN option (but not an exit, which is immediate). The syntax is: `{' try-block-list `}' `always' `{' always-block-list `}' where no newline or semicolon may appear between `}' and `always'. This is compatible with all previous valid zsh syntax as an `always' at that point used to be a syntax error. For example, { echo Code run in current shell } always { echo Tidy-up code } - A new zle widget reset-prompt has been added to re-expand the current prompt. Changes to the variable in use as well as changes in its expanions are both taken into account. The same effect is now forced by a job change notification, making the %j prompt escape and %(j..) ternary expression more useful. - The zftp module supports ports following the hostname in the normal suffix notation, `host:port'. This requires IPv6 colon-style addresses to be specified in suitably quoted square brackets, for example: zftp open '[f000::baaa]' zftp open '[f000::baaa]:ftp' (the two are equivalent). - Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG and EXIT are no longer executed inside other traps. This caused unnecessary confusion if, for example, both DEBUG and EXIT traps were set. The new behaviour is more compatible with other shells. - New option TRAPS_ASYNC which if set allows traps to run while the shell is waiting for a child process. This is the traditional zsh behaviour; POSIX requires the option to be unset. In sh/ksh compatibility mode the option is turned off by default and the option letter -T turns it on, for compatibility with FreeBSD sh.
2004-08-04Make this package build on Interix. Patches provided by Hiramatsu Yoshifumiminskim3-1/+47
in PR pkg/25946.
2004-07-11Add {BA,Z}SH_STATIC to BUILD_DEFS.salo1-2/+4
Addresses request on tech-pkg@ by Georg Schwarz.
2004-05-06Enable pkgviews installation.cube1-1/+3
2004-04-18Convert to buildlink3.snj1-2/+2
2004-03-30Add a missing file to PLIST. Noted by Kouichirou Hiratsuka in PR pkg/24976.minskim2-2/+4
Bump PKGREVISION.
2004-03-28Add missing patch-ae.recht1-0/+14
Note by Geoff Wing
2004-03-28Update to 4.2.0recht7-54/+93
Patch provided by Geoff C. Wing in PR 24918 ok'd by uebayasi@ New features between zsh versions 4.0 and 4.2 Configuration: * upgraded to use autoconf post-2.50 * improved compatibility with other shells through shell options, builtin arguments and improved builtin option parsing Syntax and builtins: * new printf builtin * `+=' to append to parameters which works for scalars, arrays and (with pairs) associative arrays. * enhanced multiple parameter `for' loops: for key value in key1 value1 key2 value2 ... maintaining full compatibility with POSIX syntax. * Suffix aliases allow the shell to run a command on a file by suffix, e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function zsh-mime-setup uses existing mailcap and mime.types files to set up suitable aliases. Supplied function pick-web-browser is suitable for finding a browser to show .html etc. files by suffix alias. * new option `no_case_glob' for case-insensitive globbing. Add-on modules and functions: * zsh/datetime modules makes date formatting and seconds since EPOCH available inside the shell. * zsh/net/tcp module provides builtin interface to TCP through ztcp builtin. Function suite for interactive and script use with expect-style pattern matching. * zsh/net/socket module provides zsocket builtin. * zcalc calculator function with full line editing. * builtin interface to pcre library * zsh/zselect module provides zselect builtin as interface to select system call Completion system: * general improvements to command and context support, low-level functions, display code. * in verbose mode, matches with the same description are grouped * highly configurable completions for values of specific parameters, specific redirections for specific commands * support for bash completion functions (typically zsh native functions are more powerful where available) * New completions provided for (some of these may be in later 4.0 releases): valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email addresses, file system types, Perforce, xsltproc. Plus many others. Line editor: * special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets to configure uneditable text (for narrowing) * recursive editing * supplied widgets read-from-minibuffer, replace-string use these features (more intuitive prompting and argument reading than 4.0) * access to killed text via $CUTBUFFER and $killring * supplied highly configurable word widgets forward-word-match etc., can set what constitutes a word interactively or in startup script (implement bash-style behaviour, replacing previous bash-* word widgets) * interface to incremental search via $LASTSEARCH * better handling of keymaps in zle and widgets * better support for output from user-defined widgets while zle is active * tetris game which runs entirely in zle * several other contributed widgets Local internal improvements: * disowned jobs are automatically restarted * \u and \U print escapes for Unicode * read -d allows a custom line ending. * read -t . * line numbers in error messages and $PS4 output are more consistent * `=prog' expands only paths, no longer aliases for consistency * job display in prompts; `jobs' command output can be piped * prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_. * rand48() function in zsh/mathfunc for better randomness in arithmetic (if the corresponding math library function is present) * $SECONDS parameter can be made floating point via `typeset -F SECONDS' for better timing accuracy * improvements to command line history mechanism * job table is dynamically sized, preventing overflow (typically seen previously in complex completions). * many bugfixes
2004-03-10Remove info files entries from PLIST.seb1-2/+1
2004-02-19The zsh build process inspects the generated config.status file for thejlam1-1/+8
presence of some strings to decide how to build zsh. This is, of course, a stupid thing to do, but we must not override config.status to "fix" this build. This fixes PR 24483.
2004-02-16We no longer need to set CONFIG_STATUS_OVERRIDE to an empty value asjlam1-2/+1
bsd.pkg.mk no longer overrides the ability of config.status to generate new files.
2004-02-16The build process for zsh runs a shell script "Src/mkmakemod.sh" thatjlam1-1/+2
explicitly calls config.status to generate some Makefiles in certain directories. This particular package has a need for executing the real config.status, so we need to avoid overriding it automatically.
2004-02-02patch-ab is no longer needed.uebayasi1-0/+0
2004-02-02Update zsh to 4.0.9. From Min Sik Kim <minskim at bawi dot org> in PRuebayasi7-50/+55
pkg/24297. Changes since 4.0.7: - Many bug fixes. - Local improvements to various completion functions.
2003-12-21AFAICT from logs, uebayasi@ is the maintainer, so set ZSH_MAINTAINERjmmv1-1/+2
accordingly.
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1
2003-08-05Convert to USE_NEW_TEXINFO.seb3-8/+7
Use INSTALL_TARGET to install info files: this gives a proper environment for USE_NEW_TEXINFO framework to work. Fix makeinfo invocation for zsh-current via patch file so that only _one_ info file is generated as PLIST seems to want it.
2003-06-30style nitsgrant1-8/+9
2003-06-29Share Makefile, update patch sum.uebayasi2-51/+69
2003-06-20Update to 4.0.7.uebayasi3-11/+39
Bug fix release for stable version as well as a few completion improvements. Also includes more current MASTER_SITES. PR21938 by Geoff Wing <gcw at primenet dot com dot au>.
2003-03-14(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;jlam1-2/+2
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
2003-02-06Update my email address.uebayasi1-2/+2
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-2/+2
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
2002-11-17Convert packages to PKG_REGISTER_SHELLS framework.salo2-8/+5
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam3-3/+3
have been converted to USE_BUILDLINK2.
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam1-1/+1
have been converted to USE_BUILDLINK2.
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam1-4/+5
have been converted to USE_BUILDLINK2.
2002-08-15Zsh 4.0.6.uebayasi3-7/+39
Bugfix release. Some added completion functions: e.g. rsync, mozilla, some bash builtin functions. From Geoff C. Wing, gcw at primenet dot com dot au in pkg/17946.
2002-07-18Do not use _mktemp(). There is no prototype for it, so it is not safe to usemycroft4-2/+31
on 64-bit systems.
2002-07-15Add mkdir for empty directory.mycroft1-1/+2
2002-06-03Don't disable utmpx support under NetBSD any more. It works fine now.tron2-18/+1
2002-03-04Work arround build problem on NetBSD system with utmpx support.tron2-1/+18
2002-02-18Introduce new framework for handling info files generation and installation.seb2-4/+6
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2002-01-02Add patch-ab (recognize mipseb in config.sub).rafal1-1/+2
2002-01-02Make config.sub recognize mipseb.rafal1-0/+22
2001-12-02Don't hardcode /usr/pkg, use ${PREFIX}. (Ouch!)wiz1-2/+2
2001-11-29Updated to 4.0.4, provided by Eric Gillespie Jr. in pkg/14376martti4-10/+18
This is a minor bug-fix release, though some new functions have been added: _bts Completion for Debian BTS _chflags Completion for chflags(1) _links Completion for links web browser _samba _sysctl _user_admin bash-backward-kill-word
2001-10-31Move pkg/ files into package's toplevel directoryzuntum6-5/+5
2001-10-05Don't compress the manual pages of this package because "zshall.1" triestron1-1/+3
to include all the other manual pages with ".so" macros which doesn't work with compress manual pages even if the filenames are correct.
2001-09-24"PKGVERSION" is now in "PLIST_SUBST" by default.tron1-2/+1
2001-09-23Don't include "lib/zsh/libzsh-4.0.2.so" into package list under SunOS.tron3-3/+8
This fixes PR pkg/14032 by Stoned Elipot.
2001-09-23Don't hardcode package version number into package lists.tron3-403/+402
2001-09-23Remove redundant "@dirrm" commands from "PLIST.dynamic" and reordertron2-6/+3
multiple package list so that deinstallation works smoothly.
2001-09-23Fix oversights in last commit.tron1-2/+2
2001-09-23Make modifications of "/etc/shells" robust so that they don't fail if thetron1-2/+2
last entry is removed.
2001-09-23Make modifications of "/etc/shells" robust so that they don't fail iftron1-2/+3
"/etc/shells" doesn't exist or is empty after removing entries for cerntain shell. These problems show up e.g. under SunOS.