debian/0000775000000000000000000000000013345473546007206 5ustar debian/zsh-dev.postinst0000664000000000000000000000066712176762527012405 0ustar #!/bin/sh set -e case "$1" in (configure) : ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # Replace documentation directory with symlink docdir="/usr/share/doc/zsh-dev" if [ -d $docdir -a ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf zsh-common $docdir fi fi #DEBHELPER# exit 0 debian/zsh-doc.doc-base0000664000000000000000000000101112176762527012146 0ustar Document: zsh Title: Z Shell Manual Author: Z-Shell workers Abstract: This guide documents Zsh, a freely available UNIX command interpreter (shell), which of the standard shells most closely resembles the Korn shell (ksh), although it is not completely compatible. Section: Shells Format: info Index: /usr/share/info/zsh.info.gz Files: /usr/share/info/zsh.info* Format: HTML Index: /usr/share/doc/zsh-doc/html/zsh_toc.html Files: /usr/share/doc/zsh-doc/html/*.html Format: PDF Files: /usr/share/doc/zsh-doc/zsh.pdf debian/zsh.postinst0000664000000000000000000000157112176762527011624 0ustar #!/bin/sh set -e case "$1" in (configure) # if test -z "$2"; then add-shell /bin/zsh add-shell /usr/bin/zsh # fi ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac update-alternatives --remove zsh /usr/bin/zsh update-alternatives --remove ksh /usr/bin/zsh update-alternatives --remove ksh /bin/zsh4 update-alternatives --install /bin/zsh zsh /bin/zsh5 50 \ --slave /usr/bin/zsh zsh-usrbin /bin/zsh5 update-alternatives --install /bin/rzsh rzsh /bin/zsh5 50 \ --slave /usr/share/man/man1/rzsh.1.gz rzsh.1.gz /usr/share/man/man1/zsh.1.gz # Replace documentation directory with symlink docdir="/usr/share/doc/zsh" if [ -d $docdir -a ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf zsh-common $docdir fi fi #DEBHELPER# exit 0 debian/zsh-common.menu0000664000000000000000000000013212176762527012163 0ustar ?package(zsh):needs="text" section="Applications/Shells" title="Zsh" command="/bin/zsh5" debian/zsh-static.lintian-overrides0000664000000000000000000000030212176762527014653 0ustar zsh-static: embedded-library bin/zsh5-static: libm zsh-static: embedded-library bin/zsh5-static: ncurses zsh-static: package-contains-broken-symlink usr/share/man/man1/zsh5-static.1.gz zsh.1.gz debian/zsh.lintian-overrides0000664000000000000000000000021012176762527013364 0ustar # Only one of many files affected -> likely a false positive zsh: hardening-no-fortify-functions usr/lib*/zsh/5.0.2/zsh/zleparameter.so debian/pkg-zsh-workflow.org0000664000000000000000000004343712176762527013166 0ustar * Branches This is a quick overview of the branches that are being used for debian's zsh package maintenance. This part does not go into much detail on how the workflow works. For details about that, see the `Workflow' part below. ** upstream The upstream sources from . ** debian The debian changes for the debian `zsh' package. ** others These branches are rather optional and not required for basic maintenance for of the `zsh' package. *** master This is the old repository's main branch. Kept for historical reasons. *** debian-beta This could basically do *exactly* the same thing as `debian' does, but just merge more often. Such a branch *could* then be used to keep the packaging information for `zsh-beta'. * Workflow This is a diagram, that outlines the proposed workflow. Basically, the `debian' branch walks alongside the `upstream' branch and upstream changes get merged into `debian' at defined points (for the non-beta zsh package, that should be upstream commit tags). #+BEGIN_EXAMPLE * debian/4.3.11-4 | | * debian/4.3.11-5 | | | | * debian/4.3.12-1 | | | | | | * debian/4.3.12-2 | | | | | | | | * debian/4.3.13-1 | | | | | | | | | | * debian/4.3.13-2 | | | | | | | | | | | | * debian/4.3.13-3 | | | | | | | | | | | | | | a-b-c-d---e-f-g-h-i-------j-k-l-m-n-o-p `debian' / / / A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q `upstream' | | | | | | | | * zsh-4.3.13 | * zsh-4.3.12 | * zsh-4.3.11 #+END_EXAMPLE ** Working on the package *** Changes Every change to the source (non-debian-dir) should be done by adding quilt patches. Permanent patches (patches that would be kept in 4.3.12-1) should be named specially ("deb_*" comes to mind). To keep order for cases in which a vast number of patches are required, any quilt patch needs to be numbered according to the order in which "quilt series" would list them. The format looks like this: - NNNN_.diff - deb_NNNN_.diff Where `N' is a digit from 0 to 9. Counting starts at `0000'. Debian-specific (i.e. deb_NNNN_.diff) patches should be applied after patches targeted towards upstream since the patches targeted for upstream should not be against debian-specific code. Every patch should have a short annotation above the actual unified diff content, outlining the status of the patch. It is especially important to know whether a change is already applied upstream because if so, the patch in question must be dropped before merging a new upstream release into the `debian' branch. **** Dealing with quilt's .pc directory When quilt works, it keeps track of what it does in a directory by the name `.pc'. This directory will show up in the output of "git status" etc. It should *never* *ever* by committed to the git repository at any point. We cannot add the directory to `.gitignore' because we would change the zsh source directly instead of via `debian/patches'. To deal with the directory, there is another git-facility, that we can use for fun and profit. % echo .pc/ >> .git/info/exclude Now git will ignore quilt's directory for this repository. Unfortunately, this has to be done for each checkout. Luckily, this only has an impact for people who want to work on `pkg-zsh'. Everyone else can savely ignore the directory. **** Example of adding a fix via a quilt patch Let's say, there is an issue `#12345' which can be fixed by patching `Functions/Misc/colors'. Here is how you could add that patch (assuming clean git working directory and the topmost patch is 0002-foo.diff): #+BEGIN_EXAMPLE ## First, add all existing non-debian patches, so the new one is ## added on top. % quilt push 0002-foo.diff ## Add the new patch (say, the topmost patch is 0002-foo.diff). % quilt new 0003-fix-colors.diff ## Tell quilt which files are going to be changed. % quilt add Functions/Misc/colors ## Import the fix (manually by editor or by patching). % vi Functions/Misc/colors ## Refresh the patch % quilt refresh ## Pop all patches again to clean up the upstream source. % quilt pop -a ## Commit the new patch and the changes `series' file to git. % git add debian/patches/0003-fix-colors.diff % git add debian/patches/series % git commit -a -m'Fixing foo in colors function (Closes: #12345)' #+END_EXAMPLE That's all. **** Cherry-picking patches from upstream into quilt When there is an existing patch (e.g. from upstream's git repository), the above can be largely automated if the patch applies cleanly to the current state of the debian branch. The `./debian/patch2quilt' helper script takes care of that task. It's called like this: #+BEGIN_EXAMPLE % ./debian/patch2quilt ../existing.diff 0023-new-quilt.diff #+END_EXAMPLE Here "../existing.diff" is the file containing the existing patch and "0023-new-quilt.diff" is the name of the to-be-added quilt series patch (make sure its nameing is in line with the established conventions). The exact operation of the script is described at the top of the script file. There are a few things to keep in mind: - At the end of successful operation you are dropped into an editor which gives you the opportunity to add annotations at the top of the patch file (like if the patch in question is included upstream already). - Never *ever* run the script when you got uncommitted changes in the worktree, which you don't plan on losing. The worktree will be cleaned and reset first thing in the script. - As an extension of the previous point, don't put the existing patch you're planing to import into the git working tree. It would be wiped away, too. - Patches from upstream will likely include changes to the ChangeLog file. Those changes will probably not apply cleanly, which will break the scripts execution. Just open the existing patch and delete all hunks that do changes in ChangeLog. When the script finishes (after you exit your editor), it will suggest how to commit the newly intoduced patch. Season to taste. **** Keeping the local repository clean Before making changes of any kind, it should be made sure that the local repository you are working on is in a clean state. To clean up the local repository do this: #+BEGIN_EXAMPLE % git clean -xdf % git reset --hard #+END_EXAMPLE That will make sure that any non-tracked files are removed and that any changes in tracked files are reverted. The latter will also make sure that no parts of a quilt patch-queue are still applied. *** Releases When a change justifies the release of a new package version, the debian/changelog file should be updated and the resulting commit should be tagged debian/-n+1. *** Updating debian/changelog This file should *not* be updated manually. The changes should be inserted by running the `git-dch' tool from the package `git-buildpackage' before a new release is about to be made. Changelog entries should be prefixed by a "[hashsum] " string, where `hashsum' is a string that represents the first eight characters of commit the changelog entry was generated from. Also, if multiple authors are involved in a changelog entry-set, each author should only appear once in the series with all her/his changes listed below her/him in chronological order. Given that debian/gbp.conf is up-to-date, using the git-dch(1) tool will result in the desired changelog format: #+BEGIN_EXAMPLE % git-dch #+END_EXAMPLE If you absolutely *must* make changelog entries by other means, you should make sure that you prefix any resulting commits with "[dch-ignore] ", so those commits can be weeded out easily. There is a helper script "debian/do-dch" which takes care of all formatting options as well as the "[dch-ignore] " weeding. The script should be used unless there is a good reason not to. ** Transitioning to a new upstream version When upstream releases a new version, we should follow these steps: *** Removing non deb_* quilt patches All non deb_* patches should be removed from `debian/patches' directory, unless they fix an issue that was *not* addressed upstream and is therefore missing from upstream's code base. If such a change should prove to be required to be kept with the package permanently (e.g. because upstream refuses to apply the patch), the patch should eventually be renamed to match the "deb_*" nameing convention. *** Merging `upstream' into `debian' After the `debian/patches' directory was cleaned up in the previous step, merging `upstream' into `debian' should generally lead to a working package again. If old patches were still around, that could lead to conflicts when those would be applied during the build process. *** Insert initial changelog for the new upstream release `git-dch' seems to be in trouble with non-linear histories. Therefore we introduced a small helper script that will help `git-dch' to a linear history again. Basically, you after merging the upstream release tag into the debian branch, you'll be left with an history that looks something like this: #+BEGIN_EXAMPLE * at2quilt: Updating autotools patches M Merge commit 'zsh-4.3.13' into debian |`* unposted: released 4.3.13 | * ... | * ... lots of other upstream commits ... | * ... * | Removing upstream patches due to new release * | Last debian/4.3.12-* commit * | ... * | ... lot's of other debian/4.3.12-* commits * | ... M´ Merge commit 'zsh-4.3.12' into debian |`* unposted: released 4.3.12 ... older history #+END_EXAMPLE And what you really want added to debian/changelog is the "atquilt: Updating autotools patches" and the "Removing upstream patches due to new release" commits. You need to figure out the sha1 sums of the commits and then call this: #+BEGIN_EXAMPLE % ./debian/urcl -p=zsh -v=4.3.13-1 b495ba1e f575f568 #+END_EXAMPLE ...where "4.3.13-1" is the version of the upcoming debian package and "b495ba1e" and "f575f568" are the sha1 sums of the wanted commits. At the end the script will drop you into an editor pointed at the changelog file so you can sanity-check the generated output. At this point it would also make sense to add a line like this: #+BEGIN_EXAMPLE * New upstream release #+END_EXAMPLE or something like this if the release fixes outstanding bugs: #+BEGIN_EXAMPLE * New upstream release (Closes: #1234567890) #+END_EXAMPLE When creating a commit with these changelog changes, make sure you prefix the commit message with "[dch-ignore] " so it doesn't come up in later git-dch runs. *** Update debian/gbp.conf The debian/gbp.conf file contains a reference pointing to the upstream branch. Therefore the upstream-branch configuration inside debian/gbp.conf needs to be adjusted for new upstream releases. *** Fix outstanding bug If *any* outstanding bugs are known, they should be fixed before releasing a new package. Obviously, if any of the known bugs are very hard to fix and the issue is not serious in nature, releasing the package with the issue may be more important. Again, all changes to non `debian/*' files should be done via quilt patches. *** Verify that the package builds #+BEGIN_EXAMPLE % git reset --hard % git clean -xdf % QUILT_PATCHES=debian/patches % export QUILT_PATCHES % quilt push -a % ./configure % make all test #+END_EXAMPLE *** Update changelog again for the release The `do-dch' helper script should be used to do this. It wraps git-dch with appropriate options and weeds out any commits that are prefixed with "[dch-ignore] ". All options to the script are turned over to git-dch and at least `--since=...' should be used. At this particular point the sha1 of the previous initial changelog update commit would be a good idea. Also "-R" to tell git-dch to prepare the changelog for an actual commit. So: #+BEGIN_EXAMPLE % ./debian/do-dch --since=1234deadbeef -R #+END_EXAMPLE You'll be dropped into an editor again to double check the generated changelog. *** Tag debian/-1 After fixes for all serious and trivially fixable issues have been added and it has been verified that the package builds and `do-dch' has updated `debian/changelog' and the resulting commit should be tagged as `debian/-1'. ** Generating packages *** gitpkg `gitpkg' is a simple tool to help generating packages from debian packages which are maintained in the git version control system. It works quite well in this workflow. In fact, it works out of the box: #+BEGIN_EXAMPLE % gitpkg debian/4.3.12-5 zsh-4.3.12 #+END_EXAMPLE The first parameter (debian/4.3.12-5) is the debian tag which points at the debian package version you want to build. The second parameter is the tag of the upstream version of the corresponding upstream release (zsh-4.3.12). Per default, `gitpkg' generates it's output in `../deb-packages'. This location is configurable. Below directories for individual packages are created and in those, data for individual package versions are created. For the above example, this would look like this: #+BEGIN_EXAMPLE ../deb-packages/zsh/ ../deb-packages/zsh/zsh-4.3.12/ ../deb-packages/zsh/zsh_4.3.12.orig.tar.gz ../deb-packages/zsh/zsh_4.3.12-5.debian.tar.gz ../deb-packages/zsh/zsh_4.3.12-5.dsc #+END_EXAMPLE You may now change to `../deb-packages/zsh/zsh-4.3.12/' and build binary package using `dpkg-buildpackage', `debuild' or the like. `gitpkg' is available as Debian package or from: *** git-buildpackage Alternatively, `git-buildpackage' also provides ways of building packages from our packaging codebase. And since we are using the `git-dch' tool from this utility suite anyway, the tool should be available already. `git-buildpackage' allows building the package from within the package repository: #+BEGIN_EXAMPLE % git-buildpackage --debian-branch=debian #+END_EXAMPLE Make sure that the local repository is cleaned up after doing this before working on the package again, to avoid accidentially committing anything. See "Cleaning up the local repository" above for details. `git-buildpackage' is available as Debian package or from: ** Git repository setup Getting the basic pkg-zsh git repository is quite easy. If you want a read only clone, use this: #+BEGIN_EXAMPLE % git clone git://git.debian.org/collab-maint/zsh.git pkg-zsh #+END_EXAMPLE If you are reading this, though, you probably want write access. To get a thusly cloned repository, first get an alioth login and upload an ssh-public key. As soon as the key made it to all involved machines, use this: #+BEGIN_EXAMPLE % git clone ssh://@git.debian.org/git/collab-maint/zsh.git pkg-zsh #+END_EXAMPLE Where `' is your alioth login. (Note, that this may be something with a `-guest' suffix, in case you're not a debian developer.) *** Branches Like described earlier, pkg-zsh development involves two branches; `debian' and `upstream'. The former is checked out by default for freshly cloned repositories. To get a local version of the `upstream' branch, use: #+BEGIN_EXAMPLE % git checkout -b upstream origin/upstream #+END_EXAMPLE This is useful to update the remote upstream branch with ongoing development from the zsh project. *** Remotes There is one remote repository with direct interest for pkg-zsh, and that is the zsh project's git repository. Currently, this is only a mirror of the project's cvs repository. But it is updated every ten minutes by one of zsh's developers. (Also note, that there has been a brief discussion about whether git may become the official VCS for git after a bigger future release.) In order to have zsh's ongoing development available from within your pkg-zsh repository, do this: #+BEGIN_EXAMPLE % git remote add zsh.git git://zsh.git.sf.net/gitroot/zsh/zsh -t master % git fetch zsh.git #+END_EXAMPLE *** Merging and pushing upstream changes To get updates back into origin/upstream, do this: #+BEGIN_EXAMPLE ## Get the latest updates. % git fetch zsh.git ## Switch to the local `upstream' branch for integration. % git checkout upstream ## Merge upstream's changes (*). % git merge zsh.git/master ## Push the code into pkg-zsh's central repository. % git push origin ## Make sure the central repository also has all tags. % git push --tags origin (*) This step should *always* result in a fast-forward merge. If it does not, something went terribly wrong. Investigate and fix the situation *before* pushing to origin. #+END_EXAMPLE debian/zsh-beta.links0000664000000000000000000000012712176762527011766 0ustar /usr/share/man/man1/zsh.1.gz /usr/share/man/man1/zsh-beta.1.gz /bin/zsh5 /bin/zsh-beta debian/watch0000664000000000000000000000027612176762527010245 0ustar version=3 http://www.zsh.org/pub/zsh-(\d[^\sd]*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) # ftp.zsh.org produced timeout again # Bart Martens Sat, 05 Jan 2013 08:58:36 +0000 debian/source/0000775000000000000000000000000012176763711010503 5ustar debian/source/options0000664000000000000000000000027312176763711012123 0ustar extend-diff-ignore='^(Util/difflog\.pl|configure|config\.h\.in|stamp-h\.in|config\.log|Doc/(version.yo|zsh.*\.1|zsh.texi|Zsh/(man)?mod(list|menu)\.yo)|META-FAQ)$' extend-diff-ignore=Doc/ debian/source/format0000664000000000000000000000001412176762527011715 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000212176762527010405 0ustar 9 debian/README.Debian0000664000000000000000000000165712176762527011261 0ustar Zsh for Debian -------------- This version of zsh has been compiled with support for maildir folders in MAIL and MAILPATH. -- Clint Adams How to use the zsh-dbg package ------------------------------ In the first terminal execute: sudo apt-get install zsh-dbg apt-get source zsh cd zsh-* In the second terminal invoke 'zsh -f' (or drop the '-f' if you don't want to start with a clean Zsh session). Execute all the relevant steps right *before* you can trigger the problem you want to inspect using gdb. Return to the first terminal where you're standing in Zsh's source directory. Identify the process id of the Zsh instance you want to debug ("ps aux | grep '[z]sh'") and use it for $PID. Then execute: gdb $(find . -type d -printf '-d %p ') attach $PID Now you can use the usual gdb commands like step / continue / ... to debug the Zsh process at source level. -- Michael Prokop debian/zsh.dirs0000664000000000000000000000000412176762527010670 0ustar bin debian/zsh.postrm0000664000000000000000000000016212176762527011260 0ustar #!/bin/sh set -e case "$1" in (remove) remove-shell /bin/zsh remove-shell /usr/bin/zsh ;; esac #DEBHELPER# debian/clean0000664000000000000000000000031212176762527010210 0ustar config.cache config.status config.status.lineno Doc/zsh.idx Doc/Zsh/manmodmenu.yo Doc/Zsh/modlist.yo Doc/Zsh/modmenu.yo Doc/version.yo Doc/zsh*.1 Doc/zsh.texi META-FAQ build-arch build-indep stamp-h.in debian/zlogout0000664000000000000000000000007212176762527010634 0ustar # /etc/zsh/zlogout: system-wide .zlogout file for zsh(1). debian/zsh-dev.dirs0000664000000000000000000000006412176762527011452 0ustar usr/include/zsh usr/share/zsh-dev usr/share/aclocal debian/zshenv0000664000000000000000000000115712176762527010453 0ustar # /etc/zsh/zshenv: system-wide .zshenv file for zsh(1). # # This file is sourced on all invocations of the shell. # If the -f flag is present or if the NO_RCS option is # set within this file, all other initialization files # are skipped. # # This file should contain commands to set the command # search path, plus other important environment variables. # This file should not contain commands that produce # output or assume the shell is attached to a tty. # # Global Order: zshenv, zprofile, zshrc, zlogin if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]] then export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" fi debian/zsh-common.postinst0000664000000000000000000000035012176762527013104 0ustar #!/bin/sh set -e if test -x /usr/bin/update-menus ; then update-menus ; fi mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \ /usr/local/share/zsh/site-functions || true #DEBHELPER# exit 0 debian/newuser.zshrc.recommended0000664000000000000000000000241712176762527014237 0ustar # Set up the prompt autoload -Uz promptinit promptinit prompt adam1 setopt histignorealldups sharehistory # Use emacs keybindings even if our EDITOR is set to vi bindkey -e # Keep 1000 lines of history within the shell and save it to ~/.zsh_history: HISTSIZE=1000 SAVEHIST=1000 HISTFILE=~/.zsh_history # Use modern completion system autoload -Uz compinit compinit zstyle ':completion:*' auto-description 'specify: %d' zstyle ':completion:*' completer _expand _complete _correct _approximate zstyle ':completion:*' format 'Completing %d' zstyle ':completion:*' group-name '' zstyle ':completion:*' menu select=2 eval "$(dircolors -b)" zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' list-colors '' zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*' zstyle ':completion:*' menu select=long zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s zstyle ':completion:*' use-compctl false zstyle ':completion:*' verbose true zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' debian/zsh-static.prerm0000664000000000000000000000040712176762527012350 0ustar #!/bin/sh set -e case "$1" in remove|deconfigure) update-alternatives --remove zsh-static /bin/zsh5-static ;; upgrade) ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac #DEBHELPER# debian/zsh-common.links0000664000000000000000000000007312176762527012343 0ustar /usr/share/man/man1/zsh.1.gz /usr/share/man/man1/zsh5.1.gz debian/zsh-common.postrm0000664000000000000000000000013212176762527012543 0ustar #!/bin/sh set -e if test -x /usr/bin/update-menus ; then update-menus ; fi #DEBHELPER# debian/zlogin0000664000000000000000000000053012176762527010432 0ustar # /etc/zsh/zlogin: system-wide .zlogin file for zsh(1). # # This file is sourced only for login shells. It # should contain commands that should be executed only # in login shells. It should be used to set the terminal # type and run a series of external commands (fortune, # msgs, from, etc.) # # Global Order: zshenv, zprofile, zshrc, zlogin debian/NEWS0000664000000000000000000000171412176762527007711 0ustar zsh (5.0.0-1) unstable; urgency=low This update includes a rewrite of keyboard handling in `/etc/zsh/zshrc'. The used method should be quite a bit more robust than the old one, and should work out of the box for every terminal with a working terminfo entry. If you do not want Debian's zshrc to mess with your keyboard setup, set the following variable in your `.zshenv' file: DEBIAN_PREVENT_KEYBOARD_CHANGES=yes This change also removes the controversial vi-* bindings for the up and down cursor keys (which was reported as #383737 and led to confusion with a substantial number of users). If you want them back use the following snippet in your `.zshrc' file (and without the above variable set): for i in viins vicmd; do bindkey -M "$i" "${key[Up]}" vi-up-line-or-history bindkey -M "$i" "${key[Down]}" vi-down-line-or-history done unset i -- Frank Terbeck Sat, 03 Mar 2012 21:28:54 +0100 debian/zsh-static.links0000664000000000000000000000010212176762527012333 0ustar /usr/share/man/man1/zsh.1.gz /usr/share/man/man1/zsh5-static.1.gz debian/zsh-common.prerm0000664000000000000000000000047612176762527012357 0ustar #!/bin/sh set -e case "$1" in (remove|deconfigure) rmdir /usr/local/share/zsh/site-functions || true rmdir /usr/local/share/zsh || true ;; (upgrade) ;; (failed-upgrade) ;; (*) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac #DEBHELPER# exit 0 debian/patches/0000775000000000000000000000000013345467205010630 5ustar debian/patches/updates_needed_with_latest_texinfo.patch0000664000000000000000000000232712176762527020777 0ustar Description: 31261: updates needed with latest texinfo Author: Peter Stephenson Date: Fri Apr 12 22:47:22 2013 +0100 Upstream-Commit: b174a0df054929efd7804922750c71adeb8e0b57 Revised: Axel Beckert Debian-Bug: 707483 diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 2991c1f..4a436da 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -4414,8 +4414,7 @@ tt(ambiguous), tt(special-dirs), tt(list-suffixes) and tt(file-sort) described above. ) findex(_pick_variant) -xitem(tt(_pick_variant) [ tt(-b) var(builtin-label) ] [ tt(-c) -var(command) ] [ tt(-r) var(name) ]) +xitem(tt(_pick_variant) [ tt(-b) var(builtin-label) ] [ tt(-c) var(command) ] [ tt(-r) var(name) ]) item( var(label)tt(=)var(pattern) ... var(label) [ var(args) ... ])( This function is used to resolve situations where a single command name requires more than one type of handling, either because it diff --git a/Doc/ztexi.yo b/Doc/ztexi.yo index ed0236b..513452b 100644 --- a/Doc/ztexi.yo +++ b/Doc/ztexi.yo @@ -193,8 +193,8 @@ def(startlist)(0)(\ startitem()\ ) def(endlist)(0)(\ - NOTRANS(@item)+NL()\ - enditem()\ + enditem()+NL()\ + NOTRANS(@sp 1)\ ) def(list)(1)(\ item(ARG1)()\ debian/patches/series0000664000000000000000000000061713345467205012051 0ustar #updates_needed_with_latest_texinfo.patch #suppress_texinfo_warning_by_adding_item_arguments.patch no-docs.patch cross-compile.diff CVE-2014-10070.patch CVE-2014-10071.patch CVE-2014-10072.patch CVE-2016-10714.patch CVE-2017-18205.patch CVE-2018-7549.patch CVE-2018-1071.patch CVE-2018-1083.patch CVE-2018-0502-and-CVE-2018-13259-pre.patch CVE-2018-0502-and-CVE-2018-13259.patch CVE-2018-1100.patch debian/patches/no-docs.patch0000664000000000000000000000316312176767127013225 0ustar --- a/Makefile.in +++ b/Makefile.in @@ -26,7 +26,7 @@ subdir = . dir_top = . -SUBDIRS = Doc Etc Src Test +SUBDIRS = Etc Src Test @VERSION_MK@ @@ -42,7 +42,7 @@ # default target all: config.h config.modules - @for subdir in Src Doc; do \ + @for subdir in Src; do \ (cd $$subdir && $(MAKE) $(MAKEDEFS) $@) || exit 1; \ done @@ -51,10 +51,10 @@ @cd Src && $(MAKE) $(MAKEDEFS) $@ META-FAQ: FORCE - @cd Doc && $(MAKE) $(MAKEDEFS) ../META-FAQ + -@cd Doc && $(MAKE) $(MAKEDEFS) ../META-FAQ dvi ps html info pdf: - @cd Doc && $(MAKE) $(MAKEDEFS) $@ + -@cd Doc && $(MAKE) $(MAKEDEFS) $@ # ========== DEPENDENCIES FOR INSTALLING ========== @@ -76,7 +76,7 @@ # install/uninstall just the man pages install.man uninstall.man: - @cd Doc && $(MAKE) $(MAKEDEFS) $@ + -@cd Doc && $(MAKE) $(MAKEDEFS) $@ # install/uninstall just the shell functions install.fns: @@ -105,11 +105,11 @@ # install/uninstall just the info pages install.info uninstall.info: - @cd Doc && $(MAKE) $(MAKEDEFS) $@ + -@cd Doc && $(MAKE) $(MAKEDEFS) $@ # install/uninstall just the HTML manual install.html uninstall.html: - @cd Doc && $(MAKE) $(MAKEDEFS) $@ + -@cd Doc && $(MAKE) $(MAKEDEFS) $@ # ========== DEPENDENCIES FOR TESTING ========== check test: --- a/configure.ac +++ b/configure.ac @@ -3126,7 +3126,7 @@ AC_SUBST_FILE(DEFS_MK)dnl AC_SUBST_FILE(VERSION_MK)dnl -AC_CONFIG_FILES(Config/defs.mk Makefile Doc/Makefile Etc/Makefile \ +AC_CONFIG_FILES(Config/defs.mk Makefile Etc/Makefile \ Src/Makefile Test/Makefile) AC_CONFIG_COMMANDS([config.modules], [. ./config.modules.sh]) AC_CONFIG_COMMANDS([stamp-h], [echo >stamp-h]) debian/patches/CVE-2014-10072.patch0000664000000000000000000000464113247743144013326 0ustar From 3e06aeabd8a9e8384ebaa8b08996cd1f64737210 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sun, 19 Jan 2014 17:41:06 -0800 Subject: [PATCH] 32294: prevent buffer overflow when scanning very long directory paths for symbolic links --- ChangeLog | 3 +++ Src/utils.c | 31 ++++++++++++++++++------------- 2 files changed, 21 insertions(+), 13 deletions(-) #diff --git a/ChangeLog b/ChangeLog #index 52b4fb7..4a13464 100644 #--- a/ChangeLog #+++ b/ChangeLog #@@ -1,5 +1,8 @@ # 2014-01-19 Barton E. Schaefer # #+ * 32294 (plus typo fix): Src/utils.c: prevent buffer overflow when #+ scanning very long directory paths for symbolic links #+ # * users/18335: Completion/Zsh/Command/_typeset: avoid passing to # "functions" those typeset options that it does not accept # diff --git a/Src/utils.c b/Src/utils.c index c6d178c..e1fd7a3 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -725,32 +725,36 @@ xsymlinks(char *s) char **pp, **opp; char xbuf2[PATH_MAX*2], xbuf3[PATH_MAX*2]; int t0, ret = 0; + zulong xbuflen = strlen(xbuf); opp = pp = slashsplit(s); - for (; *pp; pp++) { - if (!strcmp(*pp, ".")) { - zsfree(*pp); + for (; xbuflen < sizeof(xbuf) && *pp; pp++) { + if (!strcmp(*pp, ".")) continue; - } if (!strcmp(*pp, "..")) { char *p; - zsfree(*pp); if (!strcmp(xbuf, "/")) continue; if (!*xbuf) continue; - p = xbuf + strlen(xbuf); - while (*--p != '/'); + p = xbuf + xbuflen; + while (*--p != '/') + xbuflen--; *p = '\0'; continue; } sprintf(xbuf2, "%s/%s", xbuf, *pp); t0 = readlink(unmeta(xbuf2), xbuf3, PATH_MAX); if (t0 == -1) { - strcat(xbuf, "/"); - strcat(xbuf, *pp); - zsfree(*pp); + zulong pplen = strlen(*pp) + 1; + if ((xbuflen += pplen) < sizeof(xbuf)) { + strcat(xbuf, "/"); + strcat(xbuf, *pp); + } else { + *xbuf = 0; + break; + } } else { ret = 1; metafy(xbuf3, t0, META_NOALLOC); @@ -759,10 +763,9 @@ xsymlinks(char *s) xsymlinks(xbuf3 + 1); } else xsymlinks(xbuf3); - zsfree(*pp); } } - free(opp); + freearray(opp); return ret; } @@ -779,8 +782,10 @@ xsymlink(char *s) return NULL; *xbuf = '\0'; xsymlinks(s + 1); - if (!*xbuf) + if (!*xbuf) { + zwarn("path expansion failed, using root directory"); return ztrdup("/"); + } return ztrdup(xbuf); } -- 2.7.4 debian/patches/CVE-2017-18205.patch0000664000000000000000000000326513247743316013341 0ustar Backported of: From eb783754bdb74377f3cea4ceca9c23a02ea1bf58 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 13 Jun 2017 15:41:00 +0100 Subject: [PATCH] 41284: Fix NULL dereference in cd. This happened in sh compatiblity mode if HOME was not set and cd was used with no argument. diff --git a/Src/builtin.c b/Src/builtin.c index 6e59e33..6f1f633 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -842,8 +842,13 @@ cd_get_dest(char *nam, char **argv, int hard, int func) dir = nextnode(firstnode(dirstack)); if (dir) zinsertlinknode(dirstack, dir, getlinknode(dirstack)); - else if (func != BIN_POPD) + else if (func != BIN_POPD) { + if (!home) { + zwarnnam(nam, "HOME not set"); + return NULL; + } zpushnode(dirstack, ztrdup(home)); + } } else if (!argv[1]) { int dd; char *end; @@ -898,6 +903,10 @@ cd_get_dest(char *nam, char **argv, int hard, int func) if (!dir) { dir = firstnode(dirstack); } + if (!dir || !getdata(dir)) { + DPUTS(1, "Directory not set, not detected early enough"); + return NULL; + } if (!(dest = cd_do_chdir(nam, getdata(dir), hard))) { if (!target) zsfree(getlinknode(dirstack)); diff --git a/Test/B01cd.ztst b/Test/B01cd.ztst index c7920dd..e56fd26 100644 --- a/Test/B01cd.ztst +++ b/Test/B01cd.ztst @@ -125,6 +125,10 @@ F:something is broken. But you already knew that. 0: ?(eval):cd:3: not a directory: link_to_nonexistent + (unset HOME; ARGV0=sh $ZTST_testdir/../Src/zsh -c cd) +1:Implicit cd with unset HOME. +?zsh:cd:1: HOME not set + %clean # This optional section cleans up after the test, if necessary, # e.g. killing processes etc. This is in addition to the removal of *.tmp debian/patches/CVE-2016-10714.patch0000664000000000000000000001406513247743234013334 0ustar Backported of: From a62e1640bcafbb82d86ea8d8ce057a83c4683d60 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 17 Nov 2016 19:49:17 +0000 Subject: [PATCH] 39958: Add extra byte to PATH_MAX allocations. This ensures we've got enough space for a null, although this isn't always needed. Index: zsh-5.0.2/Src/Zle/compctl.c =================================================================== --- zsh-5.0.2.orig/Src/Zle/compctl.c +++ zsh-5.0.2/Src/Zle/compctl.c @@ -2136,7 +2136,7 @@ gen_matches_files(int dirs, int execs, i { DIR *d; struct stat buf; - char *n, p[PATH_MAX], *q = NULL, *e, *pathpref; + char *n, p[PATH_MAX+1], *q = NULL, *e, *pathpref; LinkList l = NULL; int ns = 0, ng = opts[NULLGLOB], test, aw = addwhat, pathpreflen; Index: zsh-5.0.2/Src/builtin.c =================================================================== --- zsh-5.0.2.orig/Src/builtin.c +++ zsh-5.0.2/Src/builtin.c @@ -936,7 +936,7 @@ cd_do_chdir(char *cnam, char *dest, int * Normalize path under Cygwin to avoid messing with * DOS style names with drives in them */ - static char buf[PATH_MAX]; + static char buf[PATH_MAX+1]; #ifndef _SYS_CYGWIN_H void cygwin_conv_to_posix_path(const char *, char *); #endif Index: zsh-5.0.2/Src/compat.c =================================================================== --- zsh-5.0.2.orig/Src/compat.c +++ zsh-5.0.2/Src/compat.c @@ -270,7 +270,7 @@ zgetdir(struct dirsav *d) int len; #endif - buf = zhalloc(bufsiz = PATH_MAX); + buf = zhalloc(bufsiz = PATH_MAX+1); pos = bufsiz - 1; buf[pos] = '\0'; strcpy(nbuf, "../"); @@ -439,7 +439,7 @@ zgetcwd(void) free(cwd); } #else - char *cwdbuf = zalloc(PATH_MAX); + char *cwdbuf = zalloc(PATH_MAX+1); ret = getcwd(cwdbuf, PATH_MAX); if (ret) ret = dupstring(ret); Index: zsh-5.0.2/Src/exec.c =================================================================== --- zsh-5.0.2.orig/Src/exec.c +++ zsh-5.0.2/Src/exec.c @@ -434,7 +434,7 @@ static int zexecve(char *pth, char **argv, char **newenvp) { int eno; - static char buf[PATH_MAX * 2]; + static char buf[PATH_MAX * 2+1]; char **eep; unmetafy(pth, NULL); @@ -570,7 +570,7 @@ static void execute(LinkList args, int flags, int defpath) { Cmdnam cn; - char buf[MAXCMDLEN], buf2[MAXCMDLEN]; + char buf[MAXCMDLEN+1], buf2[MAXCMDLEN+1]; char *s, *z, *arg0; char **argv, **pp, **newenvp = NULL; int eno = 0, ee; @@ -651,7 +651,7 @@ execute(LinkList args, int flags, int de /* for command -p, search the default path */ if (defpath) { - char *s, pbuf[PATH_MAX]; + char *s, pbuf[PATH_MAX+1]; char *dptr, *pe, *ps = DEFAULT_PATH; for(;ps;ps = pe ? pe+1 : NULL) { @@ -688,7 +688,7 @@ execute(LinkList args, int flags, int de } else { if ((cn = (Cmdnam) cmdnamtab->getnode(cmdnamtab, arg0))) { - char nn[PATH_MAX], *dptr; + char nn[PATH_MAX+1], *dptr; if (cn->node.flags & HASHED) strcpy(nn, cn->u.cmd); @@ -773,7 +773,7 @@ findcmd(char *arg0, int docopy) break; } if (cn) { - char nn[PATH_MAX]; + char nn[PATH_MAX+1]; if (cn->node.flags & HASHED) strcpy(nn, cn->u.cmd); @@ -854,7 +854,7 @@ mod_export Cmdnam hashcmd(char *arg0, char **pp) { Cmdnam cn; - char *s, buf[PATH_MAX]; + char *s, buf[PATH_MAX+1]; char **pq; for (; *pp; pp++) @@ -4861,7 +4861,7 @@ runshfunc(Eprog prog, FuncWrap wrap, cha Eprog getfpfunc(char *s, int *ksh, char **fname) { - char **pp, buf[PATH_MAX]; + char **pp, buf[PATH_MAX+1]; off_t len; off_t rlen; char *d; @@ -4989,7 +4989,7 @@ cancd(char *s) char *t; if (*s != '/') { - char sbuf[PATH_MAX], **cp; + char sbuf[PATH_MAX+1], **cp; if (cancd2(s)) return s; Index: zsh-5.0.2/Src/glob.c =================================================================== --- zsh-5.0.2.orig/Src/glob.c +++ zsh-5.0.2/Src/glob.c @@ -267,7 +267,7 @@ addpath(char *s, int l) static int statfullpath(const char *s, struct stat *st, int l) { - char buf[PATH_MAX]; + char buf[PATH_MAX+1]; DPUTS(strlen(s) + !*s + pathpos - pathbufcwd >= PATH_MAX, "BUG: statfullpath(): pathname too long"); @@ -771,7 +771,7 @@ parsepat(char *str) /* Now there is no (#X) in front, we can check the path. */ if (!pathbuf) - pathbuf = zalloc(pathbufsz = PATH_MAX); + pathbuf = zalloc(pathbufsz = PATH_MAX+1); DPUTS(pathbufcwd, "BUG: glob changed directory"); if (*str == '/') { /* pattern has absolute path */ str++; Index: zsh-5.0.2/Src/hist.c =================================================================== --- zsh-5.0.2.orig/Src/hist.c +++ zsh-5.0.2/Src/hist.c @@ -1621,7 +1621,7 @@ chrealpath(char **junkptr) char *lastpos, *nonreal, *real; #else # ifdef HAVE_REALPATH - char *lastpos, *nonreal, real[PATH_MAX]; + char *lastpos, *nonreal, real[PATH_MAX+1]; # endif #endif Index: zsh-5.0.2/Src/utils.c =================================================================== --- zsh-5.0.2.orig/Src/utils.c +++ zsh-5.0.2/Src/utils.c @@ -683,7 +683,7 @@ ispwd(char *s) return 0; } -static char xbuf[PATH_MAX*2]; +static char xbuf[PATH_MAX*2+1]; /**/ static char ** @@ -723,7 +723,7 @@ static int xsymlinks(char *s) { char **pp, **opp; - char xbuf2[PATH_MAX*2], xbuf3[PATH_MAX*2]; + char xbuf2[PATH_MAX*2+1], xbuf3[PATH_MAX*2+1]; int t0, ret = 0; zulong xbuflen = strlen(xbuf); @@ -916,7 +916,7 @@ finddir(char *s) if(homenode.diff==1) homenode.diff = 0; if(!finddir_full) - finddir_full = zalloc(ffsz = PATH_MAX); + finddir_full = zalloc(ffsz = PATH_MAX+1); finddir_full[0] = 0; return finddir_last = NULL; } @@ -1404,7 +1404,7 @@ checkmailpath(char **s) } else if (S_ISDIR(st.st_mode)) { LinkList l; DIR *lock = opendir(unmeta(*s)); - char buf[PATH_MAX * 2], **arr, **ap; + char buf[PATH_MAX * 2 + 1], **arr, **ap; int ct = 1; if (lock) { @@ -5808,7 +5808,7 @@ strsfx(char *s, char *t) static int upchdir(int n) { - char buf[PATH_MAX]; + char buf[PATH_MAX+1]; char *s; int err = -1; debian/patches/CVE-2018-7549.patch0000664000000000000000000000150413247743336013267 0ustar Backported of: From c2cc8b0fbefc9868fa83537f5b6d90fc1ec438dd Mon Sep 17 00:00:00 2001 From: Stephane Chazelas Date: Fri, 22 Dec 2017 22:17:09 +0000 Subject: [PATCH] Avoid crash copying empty hash table. Visible with typeset -p. diff --git a/Src/params.c b/Src/params.c index 4af1e2c..c40aca7 100644 --- a/Src/params.c +++ b/Src/params.c @@ -494,10 +494,13 @@ scancopyparams(HashNode hn, UNUSED(int flags)) HashTable copyparamtable(HashTable ht, char *name) { - HashTable nht = newparamtable(ht->hsize, name); - outtable = nht; - scanhashtable(ht, 0, 0, 0, scancopyparams, 0); - outtable = NULL; + HashTable nht = 0; + if (ht) { + nht = newparamtable(ht->hsize, name); + outtable = nht; + scanhashtable(ht, 0, 0, 0, scancopyparams, 0); + outtable = NULL; + } return nht; } debian/patches/CVE-2018-1071.patch0000664000000000000000000000200713256224251013234 0ustar Backported of: From 679b71ec4d852037fe5f73d35bf557b0f406c8d4 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 24 Mar 2018 15:02:41 +0100 Subject: [PATCH] 42518, CVE-2018-1071: check bounds when copying path in hashcmd() diff --git a/Src/exec.c b/Src/exec.c index 0ecea50..6aa056f 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -860,7 +860,7 @@ hashcmd(char *arg0, char **pp) for (; *pp; pp++) if (**pp == '/') { s = buf; - strucpy(&s, *pp); + struncpy(&s, *pp, PATH_MAX); *s++ = '/'; if ((s - buf) + strlen(arg0) >= PATH_MAX) continue; diff --git a/Src/utils.c b/Src/utils.c index 065003f..f4eed74 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1996,10 +1996,10 @@ struncpy(char **s, char *t, int n) { char *u = *s; - while (n--) - *u++ = *t++; + while (n-- && (*u++ = *t++)); *s = u; - *u = '\0'; + if (n > 0) /* just one null-byte will do, unlike strncpy(3) */ + *u = '\0'; } /* Return the number of elements in an array of pointers. * debian/patches/CVE-2014-10070.patch0000664000000000000000000000662213247743121013320 0ustar Backported of: From 546203a770cec329e73781c3c8ab1078390aee72 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 29 Sep 2014 17:15:21 +0100 Subject: [PATCH] 33276: safer import of numerical variables from environment diff --git a/Src/params.c b/Src/params.c index 8649178..4af1e2c 100644 --- a/Src/params.c +++ b/Src/params.c @@ -318,10 +318,12 @@ IPDEF4("ZSH_SUBSHELL", &zsh_subshell), #define IPDEF5(A,B,F) {{NULL,A,PM_INTEGER|PM_SPECIAL},BR((void *)B),GSU(F),10,0,NULL,NULL,NULL,0} IPDEF5("COLUMNS", &zterm_columns, zlevar_gsu), IPDEF5("LINES", &zterm_lines, zlevar_gsu), -IPDEF5("OPTIND", &zoptind, varinteger_gsu), IPDEF5("SHLVL", &shlvl, varinteger_gsu), -IPDEF5("TRY_BLOCK_ERROR", &try_errflag, varinteger_gsu), +/* Don't import internal integer status variables. */ +#define IPDEF6(A,B,F) {{NULL,A,PM_INTEGER|PM_SPECIAL|PM_DONTIMPORT},BR((void *)B),GSU(F),10,0,NULL,NULL,NULL,0} +IPDEF6("OPTIND", &zoptind, varinteger_gsu), +IPDEF6("TRY_BLOCK_ERROR", &try_errflag, varinteger_gsu), #define IPDEF7(A,B) {{NULL,A,PM_SCALAR|PM_SPECIAL},BR((void *)B),GSU(varscalar_gsu),0,0,NULL,NULL,NULL,0} IPDEF7("OPTARG", &zoptarg), IPDEF7("NULLCMD", &nullcmd), @@ -735,7 +737,8 @@ createparamtable(void) if (!idigit(*iname) && isident(iname) && !strchr(iname, '[')) { if ((!(pm = (Param) paramtab->getnode(paramtab, iname)) || !(pm->node.flags & PM_DONTIMPORT || pm->node.flags & PM_EXPORTED)) && - (pm = setsparam(iname, metafy(ivalue, -1, META_DUP)))) { + (pm = assignsparam(iname, metafy(ivalue, -1, META_DUP), + ASSPM_ENV_IMPORT))) { pm->node.flags |= PM_EXPORTED; if (pm->node.flags & PM_SPECIAL) pm->env = mkenvstr (pm->node.nam, @@ -2264,6 +2267,13 @@ export_param(Param pm) mod_export void setstrvalue(Value v, char *val) { + assignstrvalue(v, val, 0); +} + +/**/ +mod_export void +assignstrvalue(Value v, char *val, int flags) +{ if (unset(EXECOPT)) return; if (v->pm->node.flags & PM_READONLY) { @@ -2340,7 +2350,13 @@ setstrvalue(Value v, char *val) break; case PM_INTEGER: if (val) { - v->pm->gsu.i->setfn(v->pm, mathevali(val)); + zlong ival; + if (flags & ASSPM_ENV_IMPORT) { + char *ptr; + ival = zstrtol_underscore(val, &ptr, 0, 1); + } else + ival = mathevali(val); + v->pm->gsu.i->setfn(v->pm, ival); if ((v->pm->node.flags & (PM_LEFT | PM_RIGHT_B | PM_RIGHT_Z)) && !v->pm->width) v->pm->width = strlen(val); @@ -2352,7 +2368,13 @@ setstrvalue(Value v, char *val) case PM_EFLOAT: case PM_FFLOAT: if (val) { - mnumber mn = matheval(val); + mnumber mn; + if (flags & ASSPM_ENV_IMPORT) { + char *ptr; + mn.type = MN_FLOAT; + mn.u.d = strtod(val, &ptr); + } else + mn = matheval(val); v->pm->gsu.f->setfn(v->pm, (mn.type & MN_FLOAT) ? mn.u.d : (double)mn.u.l); if ((v->pm->node.flags & (PM_LEFT | PM_RIGHT_B | PM_RIGHT_Z)) && @@ -2734,8 +2756,8 @@ assignsparam(char *s, char *val, int flags) } } } - - setstrvalue(v, val); + + assignstrvalue(v, val, flags); unqueue_signals(); return v->pm; } diff --git a/Src/zsh.h b/Src/zsh.h index 207ef18..c9a6ac7 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1728,7 +1728,8 @@ struct paramdef { */ enum { ASSPM_AUGMENT = 1 << 0, - ASSPM_WARN_CREATE = 1 << 1 + ASSPM_WARN_CREATE = 1 << 1, + ASSPM_ENV_IMPORT = 1 << 2 }; /* node for named directory hash table (nameddirtab) */ debian/patches/CVE-2018-0502-and-CVE-2018-13259-pre.patch0000664000000000000000000000104013345467205016245 0ustar diff --git a/Src/signals.h b/Src/signals.h index 9541a1a..1893654 100644 --- a/Src/signals.h +++ b/Src/signals.h @@ -59,6 +59,13 @@ #define child_block() signal_block(sigchld_mask) #define child_unblock() signal_unblock(sigchld_mask) +#ifdef SIGWINCH +# define winch_block() signal_block(signal_mask(SIGWINCH)) +# define winch_unblock() signal_unblock(signal_mask(SIGWINCH)) +#else +# define winch_block() 0 +# define winch_unblock() 0 +#endif /* ignore a signal */ #define signal_ignore(S) signal(S, SIG_IGN) debian/patches/CVE-2018-1083.patch0000664000000000000000000000246113256224257013251 0ustar Backported of: From 259ac472eac291c8c103c7a0d8a4eaf3c2942ed7 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 24 Mar 2018 15:04:39 +0100 Subject: [PATCH] 42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file completion candidates diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index df54112..97d6477 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -2157,6 +2157,8 @@ gen_matches_files(int dirs, int execs, int all) if (prpre && *prpre) { pathpref = dupstring(prpre); unmetafy(pathpref, &pathpreflen); + if (pathpreflen > PATH_MAX) + return; /* system needs NULL termination, not provided by unmetafy */ pathpref[pathpreflen] = '\0'; } else { @@ -2199,6 +2201,8 @@ gen_matches_files(int dirs, int execs, int all) * the path buffer by appending the filename. */ ums = dupstring(n); unmetafy(ums, ¨en); + if (umlen + pathpreflen + 1 > PATH_MAX) + continue; memcpy(q, ums, umlen); q[umlen] = '\0'; /* And do the stat. */ @@ -2213,6 +2217,8 @@ gen_matches_files(int dirs, int execs, int all) /* We have to test for a path suffix. */ int o = strlen(p), tt; + if (o + strlen(psuf) > PATH_MAX) + continue; /* Append it to the path buffer. */ strcpy(p + o, psuf); debian/patches/CVE-2014-10071.patch0000664000000000000000000000111113247743127013313 0ustar Backported of: From 49a3086bb67575435251c70ee598e2fd406ef055 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 6 Oct 2014 20:33:47 +0200 Subject: [PATCH] 33365: avoid buffer overflow for very long fds in >& fd syntax diff --git a/Src/exec.c b/Src/exec.c index 1ecbc39..eb4123b 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3099,7 +3099,7 @@ execcmd(Estate state, int input, int output, int how, int last1) fil = dup(fd); } if (fil == -1) { - char fdstr[4]; + char fdstr[DIGBUFSIZE]; closemnodes(mfds); fixfds(save); debian/patches/cross-compile.diff0000664000000000000000000000324212176763250014242 0ustar Description: Adjust cross-compile fallback values to yes. Origin: commit, revision id: dmitrijs.ledkovs@canonical.com-20121220153357-amh2d7kzw5d314mt Author: Dmitrijs Ledkovs Last-Update: 2012-12-20 X-Bzr-Revision-Id: dmitrijs.ledkovs@canonical.com-20121220153357-amh2d7kzw5d314mt === modified file 'aczsh.m4' --- old/aczsh.m4 2009-09-08 17:04:03 +0000 +++ new/aczsh.m4 2012-12-20 15:33:57 +0000 @@ -171,7 +171,7 @@ } ], [zsh_cv_shared_$1=yes], [zsh_cv_shared_$1=no], -[zsh_cv_shared_$1=no] +[zsh_cv_shared_$1=yes] ) else zsh_cv_shared_$1=no @@ -242,7 +242,7 @@ } ], [zsh_cv_sys_dynamic_clash_ok=yes], [zsh_cv_sys_dynamic_clash_ok=no], -[zsh_cv_sys_dynamic_clash_ok=no] +[zsh_cv_sys_dynamic_clash_ok=yes] ) else zsh_cv_sys_dynamic_clash_ok=no @@ -315,7 +315,7 @@ } ], [zsh_cv_sys_dynamic_rtld_global=yes], [zsh_cv_sys_dynamic_rtld_global=no], -[zsh_cv_sys_dynamic_rtld_global=no] +[zsh_cv_sys_dynamic_rtld_global=yes] ) else zsh_cv_sys_dynamic_rtld_global=no @@ -384,7 +384,7 @@ int fred () { return 42; } ], [zsh_cv_sys_dynamic_execsyms=yes], [zsh_cv_sys_dynamic_execsyms=no], -[zsh_cv_sys_dynamic_execsyms=no] +[zsh_cv_sys_dynamic_execsyms=yes] ) LDFLAGS=$save_ldflags else @@ -457,7 +457,7 @@ int fred () { return 42; } ], [zsh_cv_sys_dynamic_strip_exe=yes], [zsh_cv_sys_dynamic_strip_exe=no], -[zsh_cv_sys_dynamic_strip_exe=no] +[zsh_cv_sys_dynamic_strip_exe=yes] ) LDFLAGS=$save_ldflags else @@ -522,7 +522,7 @@ } ], [zsh_cv_sys_dynamic_strip_lib=yes], [zsh_cv_sys_dynamic_strip_lib=no], -[zsh_cv_sys_dynamic_strip_lib=no] +[zsh_cv_sys_dynamic_strip_lib=yes] ) else zsh_cv_sys_dynamic_strip_lib=no debian/patches/CVE-2018-0502-and-CVE-2018-13259.patch0000664000000000000000000000756513344277712015504 0ustar Backported of: From 1c4c7b6a4d17294df028322b70c53803a402233d Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 3 Sep 2018 14:39:25 +0000 Subject: [PATCH] CVE-2018-0502, CVE-2018-13259: Fix two security issues in shebang line parsing. Patch by Anthony Sottile and Buck Evan. diff --git a/Src/exec.c b/Src/exec.c index 6aa056f..5a14f9b 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -427,7 +427,7 @@ execcursh(Estate state, int do_exec) /* execve after handling $_ and #! */ -#define POUNDBANGLIMIT 64 +#define POUNDBANGLIMIT 128 /**/ static int @@ -465,17 +465,20 @@ zexecve(char *pth, char **argv, char **newenvp) if ((fd = open(pth, O_RDONLY|O_NOCTTY)) >= 0) { argv0 = *argv; *argv = pth; + memset(execvebuf, '\0', POUNDBANGLIMIT + 1); ct = read(fd, execvebuf, POUNDBANGLIMIT); close(fd); if (ct > 0) { - if (execvebuf[0] == '#') { - if (execvebuf[1] == '!') { - for (t0 = 0; t0 != ct; t0++) - if (execvebuf[t0] == '\n') - break; + if (ct >= 2 && execvebuf[0] == '#' && execvebuf[1] == '!') { + for (t0 = 0; t0 != ct; t0++) + if (execvebuf[t0] == '\n') + break; + if (t0 == ct) + zerr("%s: bad interpreter: %s: %e", pth, + execvebuf + 2, eno); + else { while (inblank(execvebuf[t0])) execvebuf[t0--] = '\0'; - execvebuf[POUNDBANGLIMIT] = '\0'; for (ptr = execvebuf + 2; *ptr && *ptr == ' '; ptr++); for (ptr2 = ptr; *ptr && *ptr != ' '; ptr++); if (eno == ENOENT) { @@ -484,9 +487,16 @@ zexecve(char *pth, char **argv, char **newenvp) *ptr = '\0'; if (*ptr2 != '/' && (pprog = pathprog(ptr2, NULL))) { - argv[-2] = ptr2; - argv[-1] = ptr + 1; - execve(pprog, argv - 2, newenvp); + if (ptr == execvebuf + t0 + 1) { + argv[-1] = ptr2; + winch_unblock(); + execve(pprog, argv - 1, newenvp); + } else { + argv[-2] = ptr2; + argv[-1] = ptr + 1; + winch_unblock(); + execve(pprog, argv - 2, newenvp); + } } zerr("%s: bad interpreter: %s: %e", pth, ptr2, eno); @@ -499,9 +509,6 @@ zexecve(char *pth, char **argv, char **newenvp) argv[-1] = ptr2; execve(ptr2, argv - 1, newenvp); } - } else if (eno == ENOEXEC) { - argv[-1] = "sh"; - execve("/bin/sh", argv - 1, newenvp); } } else if (eno == ENOEXEC) { for (t0 = 0; t0 != ct; t0++) diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index b4fb873..bf9cceb 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -12,7 +12,14 @@ print '#!/bin/sh\necho This is dir2' >dir2/tstcmd + print -n '#!sh\necho This is slashless' >tstcmd-slashless + print -n '#!echo foo\necho This is arg' >tstcmd-arg + print '#!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxnyyy' >tstcmd-interp-too-long + print '#!/bin/sh\necho should not execute; exit 1' >xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn + chmod 755 tstcmd dir1/tstcmd dir2/tstcmd + chmod 755 tstcmd-slashless tstcmd-arg tstcmd-interp-too-long + chmod 755 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn %test ./tstcmd @@ -33,6 +40,21 @@ 0:path (2) >This is top + PATH=/bin:${ZTST_testdir}/command.tmp/ tstcmd-slashless +0:path (3) +>This is slashless + + PATH=/bin:${ZTST_testdir}/command.tmp tstcmd-arg +0:path (4) +*>foo */command.tmp/tstcmd-arg + + path=(/bin ${ZTST_testdir}/command.tmp/) + tstcmd-interp-too-long 2>&1; echo "status $?" + path=($storepath) +0:path (5) +*>*tstcmd-interp-too-long: bad interpreter: x*xn: no such file or directory +>status 127 + functst() { print $# arguments:; print -l $*; } functst "Eines Morgens" "als Gregor Samsa" functst "" debian/patches/CVE-2018-1100.patch0000664000000000000000000000200413344277726013237 0ustar From 31f72205630687c1cef89347863aab355296a27f Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 7 Apr 2018 18:28:38 +0200 Subject: [PATCH] 42607, CVE-2018-1100: check bounds on buffer in mail checking diff --git a/Src/utils.c b/Src/utils.c index f4eed74..dc7c60b 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1405,7 +1405,7 @@ checkmailpath(char **s) LinkList l; DIR *lock = opendir(unmeta(*s)); char buf[PATH_MAX * 2 + 1], **arr, **ap; - int ct = 1; + int buflen, ct = 1; if (lock) { char *fn; @@ -1414,9 +1414,11 @@ checkmailpath(char **s) l = newlinklist(); while ((fn = zreaddir(lock, 1)) && !errflag) { if (u) - sprintf(buf, "%s/%s?%s", *s, fn, u); + buflen = snprintf(buf, sizeof(buf), "%s/%s?%s", *s, fn, u); else - sprintf(buf, "%s/%s", *s, fn); + buflen = snprintf(buf, sizeof(buf), "%s/%s", *s, fn); + if (buflen < 0 || buflen >= (int)sizeof(buf)) + continue; addlinknode(l, dupstring(buf)); ct++; } debian/patches/suppress_texinfo_warning_by_adding_item_arguments.patch0000664000000000000000000000215512176762527024132 0ustar Description: 31263: suppress texinfo warning by giving item an argument Author: Peter Stephenson Date: Fri Apr 12 23:01:25 2013 +0100 Upstream-Commit: 67a4be36c6203c26c3912c07441f42e3965f0fa8 Revised: Axel Beckert Debian-Bug: 707483 diff --git a/Doc/Zsh/mod_curses.yo b/Doc/Zsh/mod_curses.yo index d3f8ad2..7ad772a 100644 --- a/Doc/Zsh/mod_curses.yo +++ b/Doc/Zsh/mod_curses.yo @@ -84,11 +84,11 @@ The subcommand tt(position) writes various positions associated with var(targetwin) into the array named var(array). These are, in order: startsitem() -sitem()(The y and x coordinates of the cursor relative to the top left +sitem(-)(The y and x coordinates of the cursor relative to the top left of var(targetwin)) -sitem()(The y and x coordinates of the top left of var(targetwin) on the +sitem(-)(The y and x coordinates of the top left of var(targetwin) on the screen) -sitem()(The size of var(targetwin) in y and x dimensions.) +sitem(-)(The size of var(targetwin) in y and x dimensions.) endsitem() Outputting characters and strings are achieved by tt(char) and tt(string) debian/urcl0000775000000000000000000000501112176762527010077 0ustar #!/bin/sh # # Seems like `git-dch' doesn't work well with non-linear histories. With # pkg-zsh we do have merges everytime an upstream release is done. That's # where "Upstream Release ChangeLog" comes into play. It takes a set of # commit hashes and produces an initial changelog update for those # situations in which an upstream release tag was merged. After that, # the situation can be reduced to a linear history again and `git-dch' # will do just fine. # # This script is pretty dumb, so some manual adjustments might be needed # for "debian/changelog". if [ $# = 0 ]; then printf 'usage: urcl [OPTIONS] \n\n' printf 'Options:\n\n' printf ' -n="..." Full name to be used for the changelog entry. (Defaults\n' printf ' to "$DEBFULLNAME".)\n' printf ' -m="..." Email address for the changelog entry. (Defaults to\n' printf ' "$DEBEMAIL".)\n' printf ' -p="..." Package name to use. (Defaults to "$PACKAGE".)\n' printf ' -v="..." Version number to use. (Defaults to "$VERSION".)\n' printf '\n' exit 0 fi case "$1" in -*) isopt=1;; *) isopt=0;; esac while [ "$#" -gt 0 ] && [ "$isopt" = 1 ]; do case "$1" in -n=*) who="${1#-n=}" ;; -m=*) ewho="${1#-m=}" ;; -p=*) PACKAGE="${1#-p=}" ;; -v=*) VERSION="${1#-v=}" ;; -*) printf 'Unknown option `%s'\''\n.' "$1" ;; esac shift case "$1" in -*) isopt=1;; *) isopt=0;; esac done if [ x"$who" = x ]; then if [ x"$DEBFULLNAME" = x ]; then printf '`$DEBFULLNAME'\'' is empty use -n=...\n' exit 1 fi who=$DEBFULLNAME fi if [ x"$ewho" = x ]; then if [ x"$DEBEMAIL" = x ]; then printf '`$DEBEMAIL'\'' is empty use -m=...\n' exit 1 fi ewho=$DEBEMAIL fi if [ x"$PACKAGE" = x ]; then printf '`$PACKAGE'\'' is empty use -p=...\n' exit 1 fi if [ x"$VERSION" = x ]; then printf '`$VERSION'\'' is empty use -v=...\n' exit 1 fi DATE=$(date -R) ours="debian/changelog.urcl" theirs="debian/changelog.old" cl="debian/changelog" xecho () { printf '%s\n' "$@" >> "$ours" } rm -f "$ours" "$theirs" xecho "$PACKAGE ($VERSION) UNRELEASED; urgency=low" xecho for rev; do data=$(git log -1 --abbrev=8 --pretty=format:' * [%h] %s' "$rev") [ $? = 0 ] && xecho "$data" done xecho xecho " -- ${who} <${ewho}> $DATE" xecho cp "$cl" "$theirs" cat "$ours" > "$cl" cat "$theirs" >> "$cl" rm -f "$ours" "$theirs" ${VISUAL:-${EDITOR:-vi}} "$cl" debian/zsh-beta-doc.postinst0000664000000000000000000000067412176762527013303 0ustar #!/bin/sh set -e case "$1" in (configure) : ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # Replace documentation directory with symlink docdir="/usr/share/doc/zsh-beta-doc" if [ -d $docdir -a ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf zsh-common $docdir fi fi #DEBHELPER# exit 0 debian/zsh-static.postrm0000664000000000000000000000013612176762527012546 0ustar #!/bin/sh set -e case "$1" in (remove) remove-shell /bin/zsh-static ;; esac #DEBHELPER# debian/examples/0000775000000000000000000000000012176762527011025 5ustar debian/examples/carstenh.zshrc0000664000000000000000000003566412176762527013725 0ustar # ~/.zshrc file for zsh(1). # # This file is sourced only for interactive shells. It should contain # commands to set up aliases, functions, options, key bindings, etc. # # Global Order: zshenv, zprofile, zshrc, zlogin # # To enable the below-mentioned features uncomment the according lines. # ### Include user name, host name and current working directory in the prompt: PS1='%(!..%n@)%m:%~%# ' # ### Select emacs like key bindings: # bindkey -e # ### Define some useful aliases: # { ls --help | grep -- --color } >/dev/null 2>&1 && alias ls='ls --color=auto' # alias l='ls -F' # alias ll='ls -F -l' # alias la='ls -F -A' # ### Keep 1000 lines of history within the shell and save it to ~/.zsh_history: # HISTSIZE=1000 # SAVEHIST=1000 # HISTFILE=~/.zsh_history # ### Teach less, e.g., reading compressed files and listing archive content: # which lesspipe >/dev/null && eval "$(lesspipe)" # ### Turn on completion with the default options: # autoload -Uz compinit; compinit # ### Enable completion menu: # zstyle ':completion:*' menu select=2 # ### Activate colored completion: # which dircolors >/dev/null && eval "$(dircolors -b)" # zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} # ### If we are in a Debian chroot display its name in the prompt: # [[ -r /etc/debian_chroot ]] && : ${debian_chroot:="$(cat /etc/debian_chroot)"} # PS1="${debian_chroot:+($debian_chroot)}%(!..%n@)%m:%~%# " # ### Use vcs_info to include version control system information in the prompt: # setopt prompt_subst # autoload -Uz vcs_info; vcs_info 2>/dev/null && precmd() { vcs_info } # PS1="${debian_chroot:+($debian_chroot)}%(!..%n@)%m:%~\${vcs_info_msg_0_}%# " # ### Configure vcs_info to be colorful: # zstyle ':vcs_info:*' actionformats ' %F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' # zstyle ':vcs_info:*' formats ' %F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f ' # zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' # ### ######################################################################## # ### All features below this line are disabled, uncomment the according # # ### lines to enable them. # # ### ######################################################################## # ### Content: # ### * Environment variables: # ### - LESS: Set default options for less. # ### - GIT_PAGER: Set pager used by git. # ### - GIT_EXEC_PATH: Tell git to look in ~/bin/git for git executables. # ### - TIMEFMT: Set outputformat of shell builtin time. # ### * Zsh options: # ### - Not listed here. # ### * Precmd / preexec: # ### - Set xterm / rxvt title. # ### - Set screen's window title. # ### - Transparent directory replacement. # ### * Aliases: # ### - Not listed here. # ### * Functions: # ### - Start(), Restart(), Stop(), Reload(), Force-Reload(): # ### Start, restart, stop, reload or force-reload a System-V # ### style init script. # ### - accessed(), changed(), modified(): # ### List files which have been changed / modified / accessed # ### within the last n days, n defaults to 1. # ### - accessed.(), changed.(), modified.(): # ### Same as above, but list files whose name start with # ### a dot. # ### - bk(): Make a backup of a file. # ### - cdt(): Create temporary directory and chdir into it. # ### - edalias(): Edit an alias via zle. # ### - edfunc(): Edit a function via zle. # ### - md(): Create given directory recursively and chdir into it. # ### - sll(): List symlinks in detail (more detailed 'readlink -f'). # ### - unik(): Print unique lines, input does not need to be sorted. # ### * Misc: # ### - Chdir to ~ if zsh was started in a non-existent directory. # ### - Cat ~/dead.letter. # ### - Source ~/.zshrc.local if it exists and is readable. # ### ######################################################################## # ### Environment variables: # # ### ####################################################################{{{1 # ### Set default options for less: # ### -~ -- Display lines after end of file as blank lines. # ### -# -- Specifies the default number of positions to scroll horizontally # ### in the RIGHTARROW and LEFTARROW commands. # ### -K -- Causes less to exit immediately when ^C is typed. # ### -M -- Causes less to prompt even more verbosely than more. # ### -R -- Causes ANSI "color" escape sequences to be displayed. # ### -i -- Causes searches to ignore case like vim's smartcase does. # ### -q -- Use visual bell but not the terminal bell. # ### -w -- Temporarily highlight the first "new" line after a forward movement. # which less >/dev/null && export LESS='-~#20KMRiqw' # ### Set pager used by git: # ### -E -- Automatically exit the first time it reaches end-of-file. # ### -F -- Automatically exit if the entire file fits on the first screen. # ### -X -- Disable sending the termcap initialization and deinitialization # ### strings to the terminal. Prevents clearing the screen. # which less >/dev/null && export GIT_PAGER='less -EFX' # ### Tell git to look in ~/bin/git for git executables: # which git >/dev/null && export GIT_EXEC_PATH="`git --exec-path`:$HOME/bin/git" # ### Set outputformat of shell builtin time: # TIMEFMT=" # Time spent in user mode: %U # Time spent in kernel mode: %S # Total time: %E # CPU utilisation: %P # " # ### #####################################################################}}} # ### Zsh options: # # ### ####################################################################{{{1 # ### Changing directories: # ### Try chdir if there is no matching executeable. # setopt autocd # ### Chdir to hashed directories without the need to prepend ~. # setopt cdablevars # ### Make cd push the old directory onto the directory stack. # setopt autopushd # ### Don't push multiple copies of the same directory onto the stack. # setopt pushdignoredups # ### Do not print the directory stack after pushd or popd. # setopt pushdsilent # ### Make pushd with no arguments act like `pushd $HOME'. # setopt pushdtohome # ### Completion: # ### Use different widths whilst displaying completion menu to reduce size. # setopt listpacked # ### Try to complete when cursor is in the word. # setopt complete_in_word # ### Automatically list choices on an ambiguous completion. # setopt autolist # ### History: # ### Don't display duplicates in while searching in history. # setopt histfindnodups # ### Don't put duplicate lines in history. # setopt histignoredups # ### Remove superfluous blanks from history. # setopt histreduceblanks # ### Reload line into editing buffer instead of executing it. # setopt histverify # ### Don't add lines prefixed by a space to history. # setopt histignorespace # ### Job Control: # ### Don't nice backgrounded jobs. # setopt nobgnice # ### Don't send HUP signal to running jobs when the shell exists and don't # ### complain about still running background jobs. # setopt nohup nocheckjobs # ### Print backgrounded jobs when they finish. # setopt notify # ### Disable flow-control with ^S and ^Q. # setopt noflowcontrol # ### Prompt: # ### Print exitvalues != 0. # setopt printexitvalue # ### Send \r on new line. # setopt promptcr # ### Zle: # ### Be quiet. # setopt nobeep # ### #####################################################################}}} # ### Precmd / preexec: # # ### ####################################################################{{{1 # ### Set xterm / rxvt title: # preexec_xterm_title() { # [[ "$TERM" != "xterm" ]] && [[ "$TERM" == "${TERM#rxvt}" ]] && return # print -nR $'\033]0;'$1$'\a' # } # precmd_xterm_title() { # [[ "$TERM" != "xterm" ]] && [[ "$TERM" == "${TERM#rxvt}" ]] && return # print -nR $'\033]0;'Terminal$'\a' # } # preexec_functions=( ${preexec_functions} preexec_xterm_title ) # precmd_functions=( ${precmd_functions} precmd_xterm_title ) # ### Set screen's window title: # preexec_screen_window_title() { # [[ "$TERM" == "${TERM#screen}" ]] && return # setopt localoptions extendedglob shwordsplit noksharrays # typeset -a cmd m_bracket m_brace m_paren m_percent # cmd=(${${1}[(wr)^(*=*|nice|sudo|time|env|fakeroot|trickle|-*),-1]}) # [[ -n "$cmd[2]" ]] || { echo -ne "\ek$cmd[1]\e\\"; return; } # m_bracket=( vi vim emacs mcedit nano ee joe less more most ) # m_percent=( make ) # m_paren=( man perldoc ) # m_brace=( ) # local cmd1="$cmd[1]" m1 m2 # if { [[ ${m_bracket[(i)$cmd1]} -le ${#m_bracket} ]] && m1='[' && m2=']' } \ # || { [[ ${m_brace[(i)$cmd1]} -le ${#m_brace} ]] && m1='{' && m2='}' } \ # || { [[ ${m_paren[(i)$cmd1]} -le ${#m_paren} ]] && m1='(' && m2=')' } \ # || { [[ ${m_percent[(i)$cmd1]} -le ${#m_percent} ]] && m1='%' && m2='%' } # then # shift 1 cmd # cmd=(${${cmd}[(wr)^(*=*|-*|1|2|3|4|5|6|7|8),-1]}) # cmd[1]="${${${${cmd[1]}##*/}%=}:-$cmd1}" # fi # echo -ne "\ek$m1$cmd[1]$m2\e\\" # } # precmd_screen_window_title() { # [[ "$TERM" == "${TERM#screen}" ]] && return # echo -ne "\ekzsh\e\\" # } # preexec_functions=( ${preexec_functions} preexec_screen_window_title ) # precmd_functions=( ${precmd_functions} precmd_screen_window_title ) # ### Transparent directory replacement: # ### http://chris-lamb.co.uk/2009/11/19/transparent-directory-replacement-zsh/ # precmd_transparent_dir_replacement() { # [ . -ef "$PWD" ] && return 0 # local OLDOLDPWD="$OLDPWD" # builtin cd -q -- "$PWD" >/dev/null 2>&1 || { # echo >&2 "W: $PWD does not exist anymore." # return 1 # } # OLDPWD="$OLDOLDPWD" # } # precmd_functions=( ${precmd_functions} precmd_transparent_dir_replacement ) # ### #####################################################################}}} # ### Aliases: # # ### ####################################################################{{{1 # ### Ordinary aliases: # { grep --help | grep -- --color } >/dev/null 2>&1 && \ # alias grep='grep --color=auto' # { egrep --help | grep -- --color } >/dev/null 2>&1 && \ # alias egrep='egrep --color=auto' # alias cp='nocorrect cp' # alias ln='nocorrect ln' # alias mkdir='nocorrect mkdir' # alias mv='nocorrect mv' # alias rm='nocorrect rm' # ### Suffix aliases: # ### http://dev.codemac.net/config.git?p=config.git;a=blob;f=zsh/alias # ### Automatically open images: # if which feh >/dev/null; then # alias -s {jpg,JPG,jpeg,JPEG,png,PNG,gif,GIF}="feh -FZd" # fi # ### Automatically open movies: # if which mplayer >/dev/null; then # alias -s {mpg,mpeg,avi,ogm,wmv,m4v,mp4,mov,3GP}="mplayer -idx" # fi # ### Automatically open web addresses (requires $BROWSER to be set): # if [[ -n "$BROWSER" ]] && which "$BROWSER" >/dev/null; then # alias -s {html,htm,com,net,org,gov,edu,de}="$BROWSER" # fi # ### Automatically open text files (requires $EDITOR to be set): # if [[ -n "$EDITOR" ]] && which "$EDITOR" >/dev/null; then # alias -s {txt,c,h}="$EDITOR" # fi # ### Automatically open other known files: # which evince >/dev/null && alias -s pdf="evince" # which evince >/dev/null && alias -s ps="evince" # which java >/dev/null && alias -s jar="java -jar" # ### #####################################################################}}} # ### Functions: # # ### ####################################################################{{{1 # ### Start(), Restart(), Stop(), Reload(), Force-Reload(): # ### Start, restart, stop, reload or force-reload a System-V # ### style init script. # eval {Start,Restart,Stop,Reload,Force-Reload}'() { ( # builtin cd -q / || { echo >&2 "E: Could not chdir to /"; return 1; } # env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ # "/etc/init.d/${1:?}" "${0:l}" # ) };' # compctl -g "/etc/init.d/*(:t)" Start Restart Stop Reload Force-Reload # ### accessed(), changed(), modified(): # ### List files which have been changed / modified / accessed # ### within the last n days, n defaults to 1. # accessed() { emulate -L zsh; print -l -- *(a-${1:-1}); } # changed() { emulate -L zsh; print -l -- *(c-${1:-1}); } # modified() { emulate -L zsh; print -l -- *(m-${1:-1}); } # ### accessed.(), changed.(), modified.(): # ### Same as above, but list files whose name starts with # ### a dot. # accessed.() { emulate -L zsh; print -l -- .*(a-${1:-1}); } # changed.() { emulate -L zsh; print -l -- .*(c-${1:-1}); } # modified.() { emulate -L zsh; print -l -- .*(m-${1:-1}); } # ### bk(): Make a backup of a file. # bk() { # cp -a "$1" "${1}_$(date --iso-8601=seconds)"; # } # ### cdt(): Create temporary directory and chdir into it. # cdt() { # [[ $# -eq 0 ]] || printf 'Usage: %s\n' "$0"; # builtin cd "$(mktemp -t -d cdt.XXXXXXXXXX)"; # } # ### edalias(): Edit an alias via zle. # edalias() { # [[ -z "$1" ]] && { echo "Usage: edalias " ; return 1 } # vared aliases'[$1]' # } # compdef _aliases edalias # ### edfunc(): Edit a function via zle. # edfunc() { # [[ -z "$1" ]] && { echo "Usage: edfun " ; return 1 } # zed -f "$1" # } # compdef _functions edfunc # ### md(): Create given directory recursively and chdir into it. # md() { # [[ $# -eq 1 ]] || printf 'Usage: %s \n' "$0"; # mkdir -p "$1" && builtin cd "$1"; # } # compdef md=mkdir # ### sll(): List symlinks in detail (more detailed 'readlink -f'). # sll() { # [[ -z "$1" ]] && printf 'Usage: %s \n' "$0" && return 1 # local file # for file in "$@"; do # ( # while [[ -h "$file" ]]; do # ls -l "$file" # builtin cd -q "${file:h}" # file="$(readlink "${file:t}")" # done # ls -l "$file" # ) # done # } # ### unik(): Print unique lines, input does not need to be sorted. # unik() { # perl -ne 'print unless $seen{$_}++' "$@" # } # ### #####################################################################}}} # ### Misc: # # ### ####################################################################{{{1 # ### Chdir to ~ if zsh was started in a non-existent directory: # [[ "$PWD" == . ]] && builtin cd ~ # ### Cat ~/dead.letter: # if [[ -r ~/dead.letter ]]; then # echo ~/dead.letter: # cat ~/dead.letter # echo # fi # if [[ "$USERNAME" == root ]] && [[ -r /dead.letter ]]; then # echo /dead.letter: # cat /dead.letter # echo # fi # ### Source ~/.zshrc.local if it exists and is readable: # [[ -r ~/.zshrc.local ]] && . ~/.zshrc.local || true debian/examples/old/0000775000000000000000000000000012176762527011603 5ustar debian/examples/old/jhm.zshrc0000664000000000000000000005505512176762527013446 0ustar # Ray's .zshrc # Note that completions for dpkg-deb, mutt, mount, and dupload are # included as part of the new completion system. See docs for details. # Zsh settings # TODO # - completions for dpkg-deb # - completions for lintian # - completions for dupload # - completions for nm # - completions for objdump # - completions for mount # - completion for man -l bindkey -e # Emacs-style commandline editing case "$TERM" in linux) # Linux console bindkey '\e[1~' beginning-of-line # Home bindkey '\e[4~' end-of-line # End bindkey '\e[3~' delete-char # Del bindkey '\e[2~' overwrite-mode # Insert # bindkey '\e[A' up-line-or-history # cursor up # bindkey '\e[B' down-line-or-history # cursor down # bindkey '\e[C' forward-char # cursor right # bindkey '\e[D' backward-char # cursor left ;; screen) # The textmode window manager # In Linux console bindkey '\e[1~' beginning-of-line # Home bindkey '\e[4~' end-of-line # End bindkey '\e[3~' delete-char # Del bindkey '\e[2~' overwrite-mode # Insert bindkey '\e[7~' beginning-of-line # home bindkey '\e[8~' end-of-line # end # In rxvt bindkey '\eOc' forward-word # ctrl cursor right bindkey '\eOd' backward-word # ctrl cursor left bindkey '\e[3~' backward-delete-char # This should not be necessary! # bindkey '\e[A' up-line-or-history # cursor up # bindkey '\e[B' down-line-or-history # cursor down # bindkey '\e[C' forward-char # cursor right # bindkey '\e[D' backward-char # cursor left ;; rxvt) bindkey '\e[7~' beginning-of-line # home bindkey '\e[8~' end-of-line # end bindkey '\eOc' forward-word # ctrl cursor right bindkey '\eOd' backward-word # ctrl cursor left bindkey '\e[3~' backward-delete-char # This should not be necessary! bindkey '\e[2~' overwrite-mode # Insert ;; xterm*) bindkey '\e[H' beginning-of-line # Home bindkey '\e[F' end-of-line # End bindkey '\e[3~' delete-char # Del bindkey '\e[2~' overwrite-mode # Insert ;; sun) bindkey '\e[214z' beginning-of-line # Home bindkey '\e[220z' end-of-line # End bindkey '^J' delete-char # Del bindkey '^H' backward-delete-char # Backspace bindkey '\e[247z' overwrite-mode # Insert ;; esac #if test "X$TERM" = "Xscreen" || test "X$TERM" = "Xlinux"; then # bindkey '\e[A' up-line-or-history # cursor up # bindkey '\e[B' down-line-or-history # cursor down # bindkey '\e[C' forward-char # cursor right # bindkey '\e[D' backward-char # cursor left #fi # #if test "X$TERM" = "Xscreen" || test "X$TERM" = "Xrxvt"; then # bindkey '\e[7~' beginning-of-line # home # bindkey '\e[8~' end-of-line # end # bindkey '\eOc' forward-word # ctrl cursor right # bindkey '\eOd' backward-word # ctrl cursor left # bindkey '\e[3~' backward-delete-char # This should not be necessary! #fi export DEBEMAIL=jhm@cistron.nl export IRCNICK=JHM export IRCSERVER=irc.nl.openprojects.org eval `lesspipe` alias glimpse='glimpse -z -i -w' # All functions used for defining completion rules start with `c_'. setopt extendedglob # required for some of our completion magic setopt list_types # Put a file type indicator after file names when # completing. setopt correct # Attempt spelling correction on command names only. setopt print_exit_value setopt list_ambiguous setopt bash_auto_list # Make do the right thing. setopt list_packed # Compacter display of completion list. setopt interactive_comments setopt nohup # So backgrounded jobs don't get terminated when # the shell is. # A sensible prompt: # hostname username(underlined) time pwd(bold; max 30 chars.) > or # if test "X$TERM" = "Xscreen"; then # include a hint that screen(1) can use to set window titles. PROMPT='%m %U%n%u %T %B%30<..<%~%b %{k\%}%(!.#.>) ' else # We don't include the hint outside screen, as it causes problems # with xterm PROMPT='%m %U%n%u %T %B%30<..<%~%b %(!.#.>) ' fi c_groups=( $(cut -d: -f1 /etc/group) ) ############################################################################ # Shell builtins compctl -k '( )' pushln compctl -z -P '%' bg compctl -j -P '%' fg jobs disown compctl -j -P '%' + -s '`ps -x | tail +2 | cut -c1-5`' wait compctl -A shift compctl -caF type whence which compctl -c unhash compctl -F functions unfunction compctl -x 'w[1,-d] p[2]' -n - 'w[1,-d] p[3]' -g '*(-/)' - \ 'p[1]' -c - 'p[2]' -g '*(-x)' -- hash compctl -a unalias compctl -v getln getopts read unset vared compctl -v -S '=' -q declare export integer local readonly typeset compctl -e disable compctl -d enable eval compctl -k "'("`limit | cut -d\ -f1`")'" limit unlimit compctl -l '' -x 'p[1]' -f -- . source compctl -s '`unsetopt`' setopt # Redirection below makes zsh silent when completing unsetopt xtrace compctl -s '`setopt 2> /dev/null`' unsetopt compctl -s '${^fpath}/*(N:t)' autoload compctl -b bindkey compctl -c -x 'C[-1,-*k]' -A - 'C[-1,-*K]' -F -- compctl compctl -x 'C[-1,-*e]' -c - 'C[-1,-[ARWI]##]' -f -- fc compctl -x 'p[1]' - 'p[2,-1]' -l '' -- sched compctl -x 'C[-1,[+-]o]' -o - 'c[-1,-A]' -A -- set # Anything after nohup is a command by itself with its own completion compctl -l '' nohup exec nice eval sudo fakeroot compctl -x 'p[1]' -c - 'p[2,-1]' -k signals -- trap compctl -l '' -x 'p[1]' -B -- builtin # kill takes signal names as the first argument after -, but job names after % # or PIDs as a last resort compctl -j -P '%' + -s '`ps -x | tail +2 | cut -c1-5`' + \ -x 's[-] p[1]' -k "($signals[1,-3])" -- kill ############################################################################ # Basic commands and file manipulation commands compctl -k '( )' pwd compctl -g '*(/)' cd compctl -g '^*.(c|cc|C|cxx|cpp|h|in|l|y|tex)' rm compctl -g '*(/)' rmdir compctl -g '*.Z' + -g '*(/)' znew compctl -s '$(groups)' + -k groups newgrp compctl -f -x 'p[1], p[2] C[-1,-*]' -k groups -- chgrp compctl -f -x 'p[1] n[-1,.], p[2] C[-1,-*] n[-1,.]' -k groups \ - 'p[1], p[2] C[-1,-*]' -u -S '.' -- chown # GNU ls, dir: complete files, options (both - and -- kind), and option params. compctl -f \ -x s'[--format]' -P '=' -k '(long verbose commas horizontal across vertical si ngle-column)' \ - s'[--sort]' -P '=' -k '(none time size extension)' \ - s'[--time]' -P '=' -k '(atime ctime access use status)' \ - s'[--width=][--tabsize=][--ignore=][-w][-T][-I],c[-1,-w][-1,-T][-1,-I]' \ -k '( )' \ - s'[--]' -S '' -k '(all\ escape\ directory\ inode\ kilobytes\ numeric-uid-gid\ no-group\ hide-control-chars\ reverse\ size\ width= tabsize= almost-all\ ignore-backups\ classify\ file-type\ full-time\ ignore= dereference\ literal\ quote-name\ dired\ no-color\ 7bit\ 8bit\ recursive\ sort= format= time= no-group\ help\ version\ )' \ - s'[-]' -k '(a b c d f g i k l m n o p q r s t u x A B C F G L N Q R S U X 1 w T I)' \ -- ls dir # Debian tar: viewing/extracting gzipped/compressed/bzip2ed/normal tar archives. compctl -f -x \ 'C[-1,*[xt]*f*z*] p[2]' -g '*.tar.gz *.tar.Z *.tgz' + -g '*(/)' - \ 'C[-1,*[xt]*f*I*] p[2]' -g '*.tar.bz *.tar.bz2 *.tbz' + -g '*(/)' - \ 'C[-1,*[xt]*f*] p[2]' -g '*.tar' -- \ + -g '*(/)' tar ## tar: complete tar files (only .tar or .tar.* format) after -f, disable ## completion for certain options, let user choose directory with -C, ## complete GNU tar long options beginning with --. The match-taropts ## function prompts for GNU tar options, ensures one of the seven ## mandatory options is given in the first argument to tar, and enforces ## spaces after options that take an argument (this is required by GNU ## tar and also makes filename completion possible for the -f option). ## Note that the -[0-7][lmh] options are not completed, but they're ## hardly ever used. #compctl -f \ # -x 'C[-1,-*f],p[2] C[-1,*f],c[-1,--file]' -g '*.tar(|.*)' + -g '*(-/)' \ # - 'C[-1,-*[bLN]],p[2] C[-1,*[bLN]],c[-1,--block-size][-1,tape-length][-1,--after-date][-1,--newer]' -k '( )' \ # - 'C[-1,-*C],p[2] C[-1,*C],c[-1,directory]' -g '*(-/)' \ # - 'C[-1,-*[FgKTV]],p[2] C[-1,*[FgKTV]],c[-1,--info-script][-1,--new-volume-script][-1,--starting-file][-1,--files-from][-1,--label][-1,--exclude]' -f \ # - 's[--]' -k '(catenate concatenate create diff compare delete append list update extract get atime-preserve block-size read-full-blocks directory checkpoint file force-local info-script new-volume-script incremental dereference ignore-zeros ignore-failed-read keep-old-files starting-file one-file-system tape-length modification-time multi-volume after-date newer old-archive portability to-stdout same-permissions preserve-permissions absolute-paths preserve record-number remove-files same-order preserve-order same-owner sparse files-from null totals verbose label version interactive confirmation verify exclude exclude-from compress uncompress gzip ungzip use-compress-program block-compress)' \ # - 's[-],p[1]' -S '' -K 'match-taropts' \ # -- tar # GNU find. # Note that 'r[-exec,;]' must come first. # We hardwire the filesystem types rather than use /proc/filesystems, in order # not to exclude filesystems that are supported through modules that are # currently not loaded. compctl -x 'r[-exec,;][-ok,;]' -l '' - \ 's[-]' -s 'daystart {max,min,}depth follow noleaf version xdev mount \ {a,c,}newer {a,c,m}{min,time} empty false {fs,x,}type {u,g}id inum \ links {i,}{l,}name {no,}{user,group} {i,}path perm {i,}regex size \ true used exec {f,}print{f,0,} ok prune {f,}ls or not and' - \ 'p[1]' -g '. .. *(-/)' - \ 'C[-1,-((a|c|)newer|fprint(|0|f))]' -f - \ 'c[-1,-fstype]' -k '(ext2 fat iso9660 minix nfs vfat)' - \ 'c[-1,-type]' -k '(b c d p f l s)' -X '[b]lock dev, [c]har dev, [d]ir, named [p]ipe, regular [f]ile, [s]ocket' - \ 'c[-1,-size]' -k '(1234c 567k)' -X '512-byte [b]locks, [c] bytes, [k]ilobytes, 2-byte [w]ords' - \ 'c[-1,-group]' -k c_groups - \ 'c[-1,-user]' -u -- find ############################################################################ # Commands that are usually used on non-generated files. compctl -g '*.gz *.Z *.bz2' \ + -g '*.web *.docbook' \ + -g '*.c *.cc *.C *.cxx *.cpp *.h *.tex *.txt *.html' \ + -g '^*.(o|a|so|aux|dvi|log|swp|fig|bbl|blg|bst|idx|ind|out|toc)' \ + -g '.*' \ + -g '*(/)' vi vim gvim less grep zgrep ############################################################################ # Mail # TODO: mutt ############################################################################ # Document processing compctl -g '*.tex' + -g '*(/)' tex compctl -g '*.tex *.ltx' + -g '*(/)' {latex,pdflatex} compctl -g '*.texi' + -g '*(/)' texi2{dvi,pdf,html} function c_bibtex { reply=(`ls *.aux | sed -e 's/\.aux//'`); } compctl -K c_bibtex bibtex ############################################################################ # Viewers, editors etc. compctl -g '*.gz *.Z' + -g '*(/)' zcat gunzip gzcat zless compctl -g '*.bz *.bz2' + -g '*(/)' bzcat bz2cat bunzip2 compctl -g '*.ps *.ps.gz *.pdf *.pdf.gz *.eps *.eps.gz' + -g '*(/)' gv compctl -g '*.(e|)ps' + -g '*(-/)' gs ghostview ps2ascii ps2text psnup ps2pdf compctl -g '*.pdf' + -g '*(/)' acroread xpdf compctl -g '*.dvi *.dvi.gz' + -g '*(/)' xdvi compctl -g '*.dvi' + -g '*(/)' dvi2fax dvidvi dvilj dvilj4 dvips dvitomp \ dvicopydvihp dvilj2p dvilj4l dvired dvitype compctl -g '*.html' + -g '*.htm' + -g '*(/)' w3m lynx mozilla netscape compctl -g '*.zip' + -g '*(/)' unzip compctl -g '*.fig' + -g '*(/)' xfig compctl -g '*.rtf' + -g '*(/)' Ted compctl -g '*.web' + -g '*(/)' tangle weave ftangle fweave ctangle cweave ctanglex cweavex # man: complete commands, otherwise complete by search of $MANPATH. # This is placed as an all-encompassing pattern at the end because making it # the default before the -x doesn't work. (It becomes # '-c + (-K 'match-man' -x ...), not (-c + -K 'match-man') -x ...). # We also complete paths for -M (override manpath), commands for -P (pager) and # disable for -S (search sections). After an explicit number (which it helps # to complete for you), these completion rules assume a thorough search is # needed and no longer use the '-c' hashed commands, relying entirely on # what's really in the manpath. # Also support -l and -T c_man_var() { man_pages=( /usr/share/man/man*/*(N:t:r) /usr/man/man*/*(N:t:r) ) compctl -k man_pages man reply=( $man_pages ) } compctl -x 'S[1][2][3][4][5][6][7][8][9]' -k '(1 2 3 4 5 6 7 8 9)' \ - 'R[[1-9nlo]|[1-9](|[a-z]),^*]' -K 'match-man' \ - 's[-M],c[-1,-M]' -g '*(-/)' \ - 's[-P],c[-1,-P]' -c \ - 's[-S],s[-1,-S]' -k '( )' \ - 's[-l],c[-1,-l]' -g '*.[0-9] *.man' \ - 's[-T]' -k '(X100 X75 ascii latin1 ps X100-12 X75-12 dvi lj4)' \ - 's[-]' -k '(a d f h k t M P l)' \ - 'p[1,-1]' -c + -K 'c_man_var' \ -- man function c_enscript_langs { # languages and file formats for which enscript supports pretty-printing reply=(`enscript --help-pretty-print | grep '^Name:' | sed -e 's/Name: //'`) } compctl -g '*' + -g '*(/)' -x s'[-E][--pretty-print]' -P '=' -K c_enscript_langs \ - s'[--]' -S '' -k '(columns= pages= file-align= header= no-header\ truncate-lines\ line-numbers\ setpagedevice= escapes\ pretty-print\ pretty-print= font= header-font= fancy-header\ no-job-header\ highlight-bars= indent= filter= borders\ page-prefeed\ no-page-prefeed\ lineprinter\ lines-per-page= mail\ media= copies= newline= missing-characters\ output= printer= quiet\ silent\ landscape\ portrait\ baselineskip= statusdict= title= tabsize= underlay\ nup= verbose\ version\ language= encoding= no-formfeed\ pass-through\ ps-level= rotate-even-pages\ toc\ word-wrap\ )' \ -- enscript ############################################################################ # Networking function c_lftp_bookmarks { # extract the names of bookmarks from the lftp bookmarks file. reply=(`cut -c '1-17' ~/.lftp/bookmarks \ | sed -e 's/[^a-zA-Z0-9\-]//g' `); } compctl -K c_lftp_bookmarks lftp function c_ssh_knownhosts { # extract the hosts which are known to ssh. reply=(`sed -e 's/ .*$//' \ -e 's/,[0-9]\{3\}\..*//' ~/.ssh/known_hosts`); } #compctl -K c_ssh_knownhosts ssh # Complete the current word with files after a `:', with ssh # hosts after a `@', and with hosts or files (in that order) # at the start of a word. compctl -x 'n[0,:]' -f - 'n[0,@],s[]' -K c_ssh_knownhosts -S: + -f -- \ scp # This completes `ssh [username@]host remotecommand'. # TODO: how do we get the -X working? compctl -x \ 'C[-1,*@*]' -X '' - \ 'n[0,@],s[]' -K c_ssh_knownhosts \ -- ssh #compctl -K c_ssh_knownhosts -x 'c[-1,-l]' -k '()' -X 'Remote user name' -- slogin #compctl -x 'n[0,@],s[]' -K c_ssh_knownhosts - \ # 'c[-1,-l]' -k '()' -X 'Remote user name' - \ # 'C[-1,*@*]' -k '(kiekeboe)' -- ssh ## As above, but do 'ssh [host] [-l user] [command]' where ## is a separate command line (i.e., to be executed ## via ssh as on ). #compctl -x 'p[1], p[2] C[-1,-*]' -K c_ssh_knownhosts \ # - 'c[-1,-l]' -K userlist -- \ # + -x 'w[2,-l] p[4,-1],p[2,-1]' -l '' -- ssh ############################################################################ # Program development # strip, profile, and debug only executables. The compctls for the # debuggers could be better, of course. compctl -g '*(*)' strip gprof gdb ddd # GCC completion, based on Andrew Main's; updated for gcc 2.95.2 . # completes to filenames (*.c, *.C, *.o, etc.); to miscellaneous options after # a -; to various -f options after -f (and similarly -W, -g and -m); and to a # couple of other things at different points. # The -m completion should be tailored to each system; the one below is i386. compctl -g '*.([cCmisSoa]|cc|cxx|cpp|ii)' -x \ 's[-l]' -s '${(s.:.)^LD_LIBRARY_PATH}/lib*.a(:t:r:s/lib//)' - \ 'c[-1,-x]' -k '(none c objective-c c-header c++ cpp-output assembler ass embler-with-cpp)' - \ 'c[-1,-o]' -f - \ 'C[-1,-i(nclude|macros)]' -g '*.h' - \ 'C[-1,-i(dirafter|prefix)]' -g '*(-/)' - \ 's[-B][-I][-L]' -g '*(-/)' - \ 's[-fno-],s[-f]' -k '(lang-isoc9x allow-single-precision cond-mismatch asm builtin freestanding hosted signed-bitfields signed-char unsigned-bitfields unsigned-char writable-strings access-control check-new conserve-space dollars-in-identifiers elide-constructors external-templates for-scope gnu-keywords guiding-decls handle-signatures honor-std huge-objects implicit-templates init-priority implement-inlines name-mangling-version-N default-inline operator-names optional-diags permissive repo strict-prototype squangle template-depth-N this-is-variable vtable-chunks syntax-only all-virtual dollars-in-identifiers elide-constructors enum-int-equiv memoize-lookups nonnull-objects dump-unnumbered pretend-float profile-arcs test-coverage branch-probabilities optimize-register-moves caller-saves cse-follow-jumps cse-skip-blocks delayed-branch expensive-optimizations fast-math float-store force-addr force-mem data-sections function-sections gcse inline-functions inline-limit-3 keep-inline-functions default-inline defer-pop function-cse inline peephole omit-frame-pointer regmove rerun-cse-after-loop rerun-loop-opt schedule-insns schedule-insns2 strength-reduce thread-jumps unroll-all-loops unroll-loops move-all-movables reduce-all-givs strict-aliasing call-saved- call-used- exceptions fixed- inhibit-size-directive check-memory-usage prefix-function-name common ident gnu-linker pcc-struct-return pic PIC reg-struct-return shared-data short-enums short-double volatile volatile-global volatile-static verbose-asm pack-struct stack-check argument-alias argument-noalias argument-noalias-global leading-underscore)' - \ 's[-g]' -k '(gdb stabs stabs+ coff xcoff xcoff+ dwarf dwarf+ dwarf-2)' - \ 's[-mno-][-mno][-m]' -k '(486 ieee-fp no-fancy-math-387 fp-ret-in-387 soft-float svr3-shlib no-wide-multiply rtd align-double align-jumps= align-loops= align-functions= preferred-stack-boundary=)' - \ 's[-Wno-][-W]' -k '( all aggregate-return bad-function-cast cast-align cast-qual char-subscripts comment conversion error format id-clash-8 implicit implicit-int implicit-function-declaration import error-implicit-function-declaration inline larger-than-64 long-long main missing-declarations missing-noreturn missing-prototypes multichar nested-externs import parentheses pointer-arith redundant-decls return-type shadow sign-compare strict-prototypes switch traditional trigraphs undef uninitialized unused write-strings unknown-pragmas template-debugging ctor-dtor-privacy deprecated effc++ non-template-friend non-virtual-dtor old-style-cast overloaded-virtual pmf-conversions reorder sign-promo synth)' - \ 's[-]' -k '(pipe ansi traditional traditional-cpp trigraphs pedantic pedantic-errors nostartfiles nostdlib static shared symbolic include imacros idirafter iprefix iwithprefix nostdinc nostdinc++ undef print-file-name= print-libgcc-file-name print-prog-name= -print-search-dirs -save-temps)' \ -X 'Use "-f", "-g", "-m" or "-W" for more options' -- gcc g++ compctl -x 's[--]' -S '' -k '(verbose\ prefix= exec-prefix= help\ build= host= norecursion\ program-prefix= program-suffix= program-transform-name= site= srcdir= target= tmpdir= with- without- enable- disable- )' -- \ ./configure compctl -g '*(/)' \ -x 's[-]' -P '-' -k '( sign clearsign detachsign encrypt symmetric store decrypt verify listkeys listsigs checksigs fingerprint listsecretkeys genkey deletekey editkey genrevoke export import listpackets armor localuser remoteuser textmode output verbose batch yes no keyring secretkeyring defaultkey options debug debugall statusfd nocomment completesneeded marginalsneeded loadextension rfc1991 s2kmode s2kdigestalgo s2kcipheralgo cipheralgo digestalgo compressalgo throwkeyid)' -- gpg # procps # ps # uptime compctl -x 'p[1]' -k '(-V)' -- uptime compctl -x 'p[1]' -k '(-V)' + -k '(-s -d)' -- tload ############################################################################ # Administrative commands compctl -u -x 'w[2,-c] p[3,-1]' -l '' - \ 's[--]' -s 'fast help login preserve-environment shell version' -- su #if type rpm >/dev/null; then #function pkg_glob () { # if [[ ${REDHAT_PACKAGES:-0} = 0 ]]; then # export REDHAT_PACKAGES="`rpm -qa`" # fi # reply=(${=REDHAT_PACKAGES}) #} #function refreshpkgcache () { # export REDHAT_PACKAGES="`rpm -qa`" #} #compctl -f -x \ # 'c[-1,--root]' -g '*(/)' - \ # 'W[1,-(-install|i*)] s[--]' -k (hash percent force test replacepkgs replacefiles search root) - \ # 'W[1,-(-upgrade|u*)] s[--]' -k (hash percent force test search oldpackage root) - \ # 'C[-1,--(install|upgrade)] s[-],p[1] s[-i],p[1] s[-U]' -X "(h)ash (v)erbose" - \ # 'W[1,-(-erase|e|-verify|V|y)] s[--]' -k (root) - \ # 'W[1,-(-erase|e)]' -K pkg_glob - \ # 'w[1,--query] s[-],p[1] s[-q],p[1] s[-V],p[1] s[-y]' -X \ #"(a)ll (f)ile+ (F)ile-stdin (p)kg+ (P)kg-Stdin \ #(i)nfo (l)ist-of-files (s)tates-of-files (d)ocumentation (c)onfiguration" - \ # 'w[1,--verify] s[-],p[1] s[-V],p[1] s[-y]' -X \ #"(a)ll (f)ile+ (F)ile-stdin (p)kg+ (P)kg-Stdin" - \ # 'W[1,-(-verify|-query|q*|V*|y*)] C[-1,*f]' -f - \ # 'W[1,-(-verify|-query|q*|V*|y*)] C[-1,*p*]' -g '*(D-/) *.rpm(N)' - \ # 'W[1,-(-verify|-query|q*|V*|y*)]' -K pkg_glob - \ # 'W[1,--(where|checksig)]' -K pkg_glob - \ # 'W[1,--rebuild] s[-]' -k (v) - \ # 'p[1] s[-b]' -X "(p)rep (l)ist (c)ompile (i)install (b)inary (a)ll" - \ # 'p[2] C[-1,-b*] s[--]' -k (short-circuit clean sign keep-temps test time-check) - \ # 's[--]' -k (help version install upgrade query verify erase rebuild where checksig) - \ # 's[-]' -k (- i U q V e b) - \ # 'c[-1,rpm]' -X "$(rpm)" -- rpm #fi #if rpm exists compctl -k '(if of conv ibs obs bs cbs files skip file seek count)' \ -S '=' -x 's[if=], s[of=]' -f - 'C[0,conv=*,*] n[-1,,], s[conv=]' \ -k '(ascii ebcdic ibm block unblock lcase ucase swap noerror sync)' \ -q -S ',' - 'n[-1,=]' -X '' -- dd ############################################################################ # Debian specific source "/usr/share/doc/zsh/examples/compctl.dpkg" compctl -x 'c[-1,-x]' -g '*.dsc' + -g '*(/)' - \ 'c[-1,-b]' -g '*(/)' -- dpkg-source compctl -g '*.deb' + -g '*(/)' lintian compctl -g '*.changes' + -g '*(/)' dupload #compctl \ # -x 'p[1]s[--]' \ # -k '(setup-lab remove-lab check check-part unpack remove \ # help verbose version debug)' -- \ # + -x 's[--]' -k '(help verbose version debug)' -- \ # + -g '*.deb' + -g '*(/)' \ # lintian debian/examples/old/compctl.dpkg0000664000000000000000000000746712176762527014131 0ustar ############################################################################# # Dpkg completion control for zsh. # # NOTE: Completion for these commands (dpkg, dpkg-source, bug) # are included # upstream as part of the new completion system. # Seriously consider using that instead. # # Originally by Joey Hess , GPL copyright. # Contributions and fixes from Karl Hegbloom, Fabien Ninoles, # Gregor Hoffleit, Csaba Benedek, &c. # # Currently doesn't handle correctly: # Options after -D or --debug. # --force- and friends,--ignore-depends,--root= and friends. # A function to return all available package names. # This could be done without grep and awk by replacing that line with # reply=(${${(M)${(f)"$(.<->.<->.<->' '^*.*' '*@*' zstyle ':completion:*:(ssh|scp):*:hosts-ipaddr' ignored-patterns \ '^<->.<->.<->.<->' '127.0.0.<->' zstyle ':completion:*:(ssh|scp):*:users' ignored-patterns \ adm bin daemon halt lp named shutdown sync zstyle -e ':completion:*:(ssh|scp):*' hosts 'reply=( ${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) \ /dev/null)"}%%[# ]*}//,/ } ${=${(f)"$(cat /etc/hosts(|)(N) <<(ypcat hosts 2>/dev/null))"}%%\#*} )' zstyle ':completion:*:(ssh|scp):*:my-accounts' users-hosts \ my.secret.account@student.uu.se debian/examples/ssh_completion0000664000000000000000000000502012176762527013773 0ustar NOTE: In order for this to work with newer versions of ssh, you must insure that "HashKnownHosts" is set to "no". This will set the variable $hosts to an array containing all the hosts in ~/.ssh/known_hosts and ~/.ssh/known_hosts2 that do not start with a digit. hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts <$HOME/.ssh/known_hosts2)"}:#[0-9]*}%%\ *}%%,*}) This will set the variable $hosts to an array containing all the hosts in ~/.ssh/known_hosts that do not start with a digit. hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*}) If you are using the new completion system, you can then place zstyle ':completion:*:hosts' hosts $hosts after compinit is autoloaded to use those anywhere hosts would be completed, or zstyle ':completion:*:complete:ssh:*:hosts' hosts $hosts to use those hosts to complete only ssh. An explanation of the $hosts assignment, written by Peter Stephenson, follows. $(<$HOME/.ssh/known_hosts) is a standard substitution: it simply takes the file and sticks it onto the command line at that point. "$(<$HOME/.ssh/known_hosts)" Now it's quoted, it doesn't do word splitting; we have the complete file as one word. From now on, we do nested substitutions: you just have to remember that ${${...}}, or ${${...}}, essentially does nothing but an ordinary parameter expansion --- the whole point is the extra bits tacked on with each extra set of braces. For example, we're now going to do ${(f)"$(<$HOME/.ssh/known_hosts)"} so we get the same answer, but with the effect of putting the (f) flag at the start, which splits the result of that into lines. So we now have the entire file as an array, one line per element. ${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*} (Clint says the ^ shouldn't be there) says take the array elements (= lines of the original file) which completely match [0-9]*, i.e. elements beginning with a digit, and remove them, which is what ${...:#...} is for. ${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *} takes the result of that, and strips off from the end the largest pattern matching ' *', i.e. a space followed by anything else, in other words it leaves the largest initial string with no whitespace, which is a hostname (this is a standard ${...%%...} which even ordinary shells do, although not nested). ${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*} does another strip at the end, this time for everything from the first comma on. If there wasn't a comma, nothing changes. You could have combined the last two as ${...%%[[:blank:],]*}, or something. debian/zsh-common.dirs0000664000000000000000000000005112176762527012160 0ustar etc/zsh usr/share/man usr/share/zsh/help debian/control0000664000000000000000000001327412225532703010603 0ustar Source: zsh Section: shells Priority: optional Build-Depends: bsdmainutils, debhelper (>= 9~), dh-autoreconf, dpkg-dev (>= 1.16.2~), ghostscript, groff, groff-base, libcap-dev [linux-any], libelf-dev, libncursesw5-dev, libncurses5-dev, libpcre3-dev, texi2html (>= 1.76-3), texinfo, texlive-latex-recommended | texinfo (<< 5~), texlive-latex-base Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Zsh Maintainers Uploaders: Michael Prokop , Axel Beckert , Clint Adams , Frank Terbeck , Richard Hartmann Standards-Version: 3.9.4 Homepage: http://www.zsh.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/zsh.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/zsh.git Package: zsh Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, zsh-common (= ${source:Version}) Pre-Depends: dpkg (>= 1.15.6~) Recommends: ${shlibs:Recommends} Suggests: zsh-doc Description: shell with lots of features Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. Zsh has command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features. Package: zsh-common Architecture: all Depends: ${misc:Depends} Pre-Depends: dpkg (>= 1.15.6~) Replaces: zsh (<= 5.0.2-1) Breaks: zsh (<= 5.0.2-1) Recommends: zsh Suggests: zsh-doc Description: architecture independent files for Zsh Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. Zsh has command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features. . This package contains the common zsh files shared by all architectures. Package: zsh-doc Architecture: all Section: doc Depends: ${misc:Depends}, zsh-common (= ${source:Version}) Pre-Depends: dpkg (>= 1.15.6~) Description: zsh documentation - info/HTML format Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. Zsh has command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features. . This contains the documentation in GNU info and HTML formats. Package: zsh-static Architecture: any Depends: zsh, ${misc:Depends} Suggests: zsh-doc Built-Using: ${Built-Using} Description: shell with lots of features (static link) Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. Zsh has command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features. . This is the statically-compiled version of the shell. Package: zsh-dev Architecture: any Depends: ${misc:Depends}, zsh-common (= ${source:Version}) Section: libdevel Description: shell with lots of features (development files) Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. Zsh has command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features. . This package contains headers and scripts necessary to compile third-party modules. Package: zsh-dbg Architecture: any Section: debug Priority: extra Depends: zsh (= ${binary:Version}), ${misc:Depends}, zsh-common (= ${source:Version}) Pre-Depends: dpkg (>= 1.15.6~) Description: shell with lots of features (debugging symbols) Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. Zsh has command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features. . This package contains gdb debugging symbols for the 'zsh' package. Package: zsh-beta Architecture: all Section: oldlibs Priority: extra Depends: ${misc:Depends}, zsh (>= 5), zsh-common (= ${source:Version}) Suggests: zsh-beta-doc Description: transitional package to zsh The purpose of this package is solely the transition from the zsh-beta package to the zsh package. It can be safely removed if no more user has zsh-beta as login shell. Package: zsh-beta-doc Architecture: all Section: oldlibs Priority: extra Depends: ${misc:Depends}, zsh-doc, zsh-common (= ${source:Version}) Description: transitional package to zsh-doc The purpose of this package is solely the transition from the zsh-beta-doc package to the zsh-doc package. It can be safely removed. debian/zsh-doc.docs0000664000000000000000000000002012176767733011424 0ustar doc/Doc/zsh.pdf debian/zsh-dev.install0000664000000000000000000000047712176762527012167 0ustar obj/Src/*.epro usr/include/zsh obj/Src/sigcount.h usr/include/zsh Src/hashtable.h usr/include/zsh Src/prototypes.h usr/include/zsh Src/signals.h usr/include/zsh Src/zsh_system.h usr/include/zsh Src/zsh.h usr/include/zsh Src/ztype.h usr/include/zsh Src/makepro.awk usr/share/zsh-dev Config/aczshoot.m4 usr/share/aclocal debian/zsh-beta.postinst0000664000000000000000000000136212176762527012533 0ustar #!/bin/sh set -e case "$1" in (configure) : ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac for conffile in zlogin zlogout zprofile zshenv zshrc; do dpkg-maintscript-helper rm_conffile /etc/zsh-beta/$conffile 5 -- "$@" done rmdir /etc/zsh-beta || true update-alternatives --remove zsh-beta /usr/bin/zsh update-alternatives --remove zsh-beta /bin/zsh4 update-alternatives --remove zsh-beta /bin/zsh5 # Replace documentation directory with symlink docdir="/usr/share/doc/zsh-beta" if [ -d $docdir -a ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf zsh-common $docdir fi fi #DEBHELPER# exit 0 debian/zprofile0000664000000000000000000000041012176762527010757 0ustar # /etc/zsh/zprofile: system-wide .zprofile file for zsh(1). # # This file is sourced only for login shells (i.e. shells # invoked with "-" as the first character of argv[0], and # shells invoked with the -l flag.) # # Global Order: zshenv, zprofile, zshrc, zlogin debian/changelog0000664000000000000000000041414513345472566011072 0ustar zsh (5.0.2-3ubuntu6.3) trusty-security; urgency=medium * SECURITY UPDATE: Arbitrary code execution - debian/patches/CVE-2018-0502-and-CVE-2018-13259-pre.patch: Src/signals.h. - debian/patches/CVE-2018-0502-and-CVE-2018-13259.patch: fix in Src/exec.c and add test Test/A05execution.ztst. - CVE-2018-0502 - CVE-2018-13259 * SECURITY UPDATE: Stack-based buffer overflow - debian/patches/CVE-2018-1100.patch: fix int Src/utils.c. - CVE-2018-1100 -- Leonidas S. Barbosa Mon, 10 Sep 2018 09:30:36 -0300 zsh (5.0.2-3ubuntu6.2) trusty-security; urgency=medium * SECURITY UPDATE: stack-based buffer overflow - debian/patches/CVE-2018-1071.patch: check bounds when copying patch in hashcmd() in Src/exec.c, Src/utils.c. - CVE-2018-1071 * SECURITY UPDATE: buffer-overflow - debian/patches/CVE-2018-1083.patch: check bounds on PATH_MAX buffer in Src/Zle/compctl.c. - CVE-2018-1083 -- Leonidas S. Barbosa Mon, 26 Mar 2018 14:07:05 -0300 zsh (5.0.2-3ubuntu6.1) trusty-security; urgency=medium * SECURITY UPDATE: possibly privilege escalation - debian/patches/CVE-2014-10070.patch: safer import of numerical variables from environment in Src/params.c, Src/zsh.h. - CVE-2014-10070 * SECURITY UPDATE: buffer overflow - debian/patches/CVE-2014-10071.patch: avoid buffer overflow for very long fds in Src/exec.c. - CVE-2014-10071 * SECURITY UPDATE: buffer overflow - debian/patches/CVE-2014-10072.patch: fix buffer overflow in Src/utils.c. - CVE-2014-10072 * SECURITY UPDATE: undersized buffer - debian/patches/CVE-2016-10714.patch: Add extra byte to PATH_MAX in Src/Zle/compctl.c, Src/builtin.c, Src/compat.c, Src/exec.c, Src/glob.c, Src/hist.c, Src/utils.c. - CVE-2016-10714 * SECURITY UPDATE: NULL dereference - debian/patches/CVE-2017-18205.patch: fix in Src/builtin.c, Test/B01cd.ztst. - CVE-2017-18205 * SECURITY UPDATE: Crash while copy an empty hash table - debian/patches/CVE-2018-7549.patch: avoid crash empty hash table in Src/params.c. - CVE-2018-7549 -- Leonidas S. Barbosa Wed, 07 Mar 2018 08:03:11 -0300 zsh (5.0.2-3ubuntu6) saucy; urgency=low * Use dh_autotools-dev_update|restoreconfig in addition to dh_autoreconf to actually update config.sub|guess. -- Dmitrijs Ledkovs Thu, 10 Oct 2013 15:14:19 +0100 zsh (5.0.2-3ubuntu5) saucy; urgency=low * Add libncurses5-dev build-dep to avoid tgoto implicit function declaration and thus, implicit integer to pointer conversion. zsh should build with just ncursesw though. -- Dmitrijs Ledkovs Sun, 04 Aug 2013 21:31:39 +0100 zsh (5.0.2-3ubuntu4) saucy; urgency=low * Add patch to fix implicit pointer conversion. -- Dmitrijs Ledkovs Sun, 04 Aug 2013 20:35:18 +0100 zsh (5.0.2-3ubuntu3) saucy; urgency=low * Make failed tests not fail the build. Expected failures. -- Dmitrijs Ledkovs Sun, 04 Aug 2013 19:49:34 +0100 zsh (5.0.2-3ubuntu2) saucy; urgency=low * Merge from Debian experimental, remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set - Keep using the upstream tarball that contains pre-generated docs as yodl is required to build them but the MIR hasn't been approved. - Drop yodl from Build-Depends. - Support cross-compiling: - Adjust upstream autoconf cross-compile default fallbacks. - Skip zcompile when cross-compiling. - Add libelf-dev dependency. + Add doc tarball component + Drop patches that modify docs, add patch to skip building docs. -- Dmitrijs Ledkovs Fri, 02 Aug 2013 17:51:51 +0100 zsh (5.0.2-3) unstable; urgency=low * Upload to unstable again. [ Axel Beckert ] * [485652d2] Add dummy packages for transition from zsh-beta to zsh - [099ce7e5] Remove all zsh-beta related conditionals from debian/rules - [474dd5db] debian/rules: Replace "$(package)" with a hardcoded "zsh" - [e020321f] Add symbolic link /bin/zsh-beta pointing to /bin/zsh5 for backwards compatibility - [128d9bcd] Remove zsh-beta alternatives and conffiles in zsh-beta.postinst * debian/rules enhancements: - [f16a3cd4] Use dh_auto_{configure,build,install,clean} - [c0cb3e2a] No more ignore potential failing of "include", "rm -f" or "make install.xyz" + [abe28723] Add build-dependency on dpkg-dev (>= 1.16.1~) - [a9ee601d] Use DPKG_EXPORT_BUILDFLAGS instead of exporting flags manually - [7a8da596] Remove manuall handling of DEB_BUILD_OPTIONS=noopt - [b4bab288] Allow parallel builds - [b95dddd8] Replace checkroot target with dh_testroot - [b3343504] Use dh_installdocs --link-doc instead of dh_link for /usr/share/doc/zsh* * No-op debian/rules refactoring: - [a046f7bf] Rename targets stamp-configure and stamp-configure-static to dh_clean compatible names - [b78d2e2e] Wrap long lines - [4bc34d4c] Don't line-break sed expressions. Do line-break before their file parameters - [336b60ea] CONFIGFLAGS and STATICFLAGS: Only one flag per line - [0b48d60a] Split long debug CONFIGFLAGS line - [4fe45240] Consequently use "touch $@" to create stamp files - [74416133] Indent dh_* parameters and other code for a more readable, table-like debian/rules - [8c5e7918] Drop no more necessary manual compression of info files - [724593d0,843e72f6] Remove some blank lines and commented code - [e79f64cc] Simplify target dependencies (drops no-op build-stamp target) - [b607fe2e] Reduce some occurrences of multiple whitespaces into single ones - [f1059538] Mention in debian/rules why /usr/share/doc/zsh-static is no symlink * [e4bf431f,76452cb3] zsh{,-dbg,-doc,-dev,-beta,-beta-doc}.postinst: Create symlink to /usr/share/doc/zsh-common (Closes: #697808) Thanks to Sebastian Ramacher * [76452cb3] Replace dependencies on zsh-common with versioned dependencies. (Policy 12.3 + 12.7) * [1ee01398] Add files generated before Makefile is generated to debian/clean * [6c668f5e] Bump dh compat to 9 for multiarch and additional debug symbol features - Enables compressed debugging symbols, saving > 50% space on disk - Enables Build-IDs for debugging symbols - Enables multiarch support, /usr/lib/zsh becomes e.g. /usr/lib/x86_64-linux-gnu/zsh on amd64 - [b6bf39bd] Don't compress zsh-dbg with xz anymore, due to no more savings * [5ce8899a] No more install changelogs and copyright file into zsh-dbg. zsh-dbg already has a symlink from /usr/share/doc/zsh-dbg to zsh-common. * [673851ec] Move /usr/local/share/zsh/… prerm removal from zsh to zsh-common (Closes: #698224) * [45d5aff1] Compress zsh-static with xz, too * [014da817] Remove some more redundant entries from debian/zsh-*.dirs * [59b7118e] lintian-overrides: Also match architecture-containing /usr/lib* paths * [8416fa14,eca34308] Fix FTBFS with texinfo versions >= 5 by - cherry-picking commits 67a4be36c6203c26c3912c07441f42e3965f0fa8 and b174a0df054929efd7804922750c71adeb8e0b57 from upstream, and - adding a build-dependency on "texlive-latex-recommended | texinfo (<< 5~)". Thanks to Sebastian Ramacher , too! (Closes: #707483) * [15b0943d] Bump Standards-Version to 3.9.4 - [cb87cc19] Add Built-Using header to zsh-static, bump build-dependency on dpkg-dev to >= 1.16.2~ [ Frank Terbeck ] * [8f09d2b6] Make zle-line-init and -finish more robust against weird option sets * [d87b0050] Add sequence and bindings for BackSpace key [ Richard Hartmann ] * [590dcd96] Import watchfile by Bart Martens -- Axel Beckert Fri, 10 May 2013 13:27:50 +0200 zsh (5.0.2-2) experimental; urgency=low * [37c73049] Convert package to debhelper * [be35418d] Split off arch-independent files into zsh-common (Fixes lintian warning arch-dep-package-has-big-usr-share 9873kB 84%; closes: #632514, #656898) * [d4d59f27] Use xz compression for the bigger binary packages - Add "Pre-Depends: dpkg (>= 1.15.6~)" to the according packages * [0033e9e8] Replace at2quilt with dh-autoreconf * [a7986a4a] Don't ignore potential failures of the test suite * Fixes the following lintian-warnings: - [a0227ee9] debian-news-entry-has-unknown-version - [6860acf8] package-file-is-executable - [cd2dd67f] debian-rules-missing-recommended-target - [cd2dd67f] package-would-benefit-from-build-arch-targets * Fixes the following dpkg-gencontrol warnings: - [d4e0e0af] unknown substitution variable ${shlibs:Depends} * Override the following lintian warning due to false positives: - [c2511a18] hardening-no-fortify-functions …/zleparameter.so -- Axel Beckert Fri, 28 Dec 2012 14:18:21 +0100 zsh (5.0.2-1) experimental; urgency=low * New upstream release -- Axel Beckert Fri, 21 Dec 2012 21:49:15 +0100 zsh (5.0.1-1) experimental; urgency=low * New upstream release - Fixes yodl version detection (Closes: #686870) * [28431aea] Fix lintian warning vcs-field-not-canonical -- Axel Beckert Fri, 21 Dec 2012 01:54:50 +0100 zsh (5.0.0-2ubuntu3) raring; urgency=low * Support cross-compiling: - Pass --host to configure, when cross-compiling. - Use target strip & objcopy. - Adjust upstream autoconf cross-compile default fallbacks. - Skip zcompile when cross-compiling. - Add libelf-dev dependency. -- Dmitrijs Ledkovs Thu, 20 Dec 2012 12:30:38 +0000 zsh (5.0.0-2ubuntu2) raring; urgency=low * debian/zshrc: Fix typo (.zprofice → .zprofile) (LP: #1038298) -- Logan Rosen Fri, 19 Oct 2012 11:35:45 -0400 zsh (5.0.0-2ubuntu1) quantal; urgency=low * Merge from Debian experimental, remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set - Keep using the upstream tarball that contains pre-generated docs as yodl is required to build them but the MIR hasn't been approved. - Drop yodl from Build-Depends. -- Adam Conrad Sun, 16 Sep 2012 02:23:12 -0600 zsh (5.0.0-2) experimental; urgency=low [ Michael Prokop ] * [9d57d625] Apply wrap-and-sort on the Debian package [ Frank Terbeck ] * [0b3b271c] Do not use echoti {smkx,rmkx} unconditionally * [ab84f082] Print directly from $terminfo instead of using `echoti' [ Axel Beckert ] * [fa8ea69e] Fix documentation about debian/do-dch * [1c75bccb] Sync do-dch, gbp.conf and our workflow docs wrt. git-dch options -- Axel Beckert Wed, 08 Aug 2012 19:59:25 +0200 zsh (5.0.0-1ubuntu1) quantal; urgency=low * Merge from Debian experimental (LP: #1029337), remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set - Keep using the upstream tarball that contains pre-generated docs as yodl is required to build them but the MIR hasn't been approved. - Drop yodl from Build-Depends. -- Felix Geyer Thu, 26 Jul 2012 11:11:21 +0200 zsh (5.0.0-1) experimental; urgency=low * New upstream release - Fixes xsltproc completion (Closes: #676357) - Fixes svn completion for Subverion 1.7 (Closes: #679345) - Documents ^Z behavior while a function is running (Closes: #660630) [ Simon Ruderich ] * [71683958] Also export hardening CPPFLAGS (Closes: #644400) [ Axel Beckert ] * [c5dfca6a] No more offers a ksh alternative due to incomplete ksh emulation (Closes: #659969) * [1b2323de] Add groff to build-dependencies (for pdfroff) * [44948320] Add ghostscript to build-dependencies (for pdfroff) * [0e12e966] debian/*: /bin/zsh4 → /bin/zsh5, etc. [ Frank Terbeck ] * [cb9eb75f] Rewrite keyboard handling in zshrc * [f481abf8] Add debian/NEWS to document the keyboard changes * [a482b404] Un-tabified and rearranged zstyle call * [ddca9789] Only unalias `run-help' if the alias actually exists * [3988419a] Use stricter options with autoload -- Axel Beckert Wed, 25 Jul 2012 20:53:12 +0200 zsh (4.3.17-1ubuntu1) precise; urgency=low * Merge from Debian unstable, remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set - Keep using the upstream tarball that contains pre-generated docs as yodl is required to build them but the MIR hasn't been approved. - Drop yodl from Build-Depends. -- Felix Geyer Tue, 13 Mar 2012 12:00:05 +0100 zsh (4.3.17-1) unstable; urgency=low * New upstream release [ Richard Hartmann ] * [6f601c9] Bump Standards-Version to 3.9.3 (no changes) * [fa4e533] Make debian/gbp.conf dynamic [ Axel Beckert ] * [0a9039dc] Add Richard Hartmann to Uploaders -- Axel Beckert Wed, 29 Feb 2012 00:35:54 +0100 zsh (4.3.16-1) unstable; urgency=low * New upstream release [ Frank Terbeck ] * [1a330ad7] 30079: Src/params.c: Restore `LC_ALL' when setting `LANG'. (Closes: #654225) * [756f17a7] A.Costa: grammar.yo, ChangeLog-3.1: Fix typo to "definition" (Closes: #658223) [ Pierre Chifflier ] * [53f9140d] Enable hardening options (Closes: #644400) [ Michael Prokop ] * [340a3b41] Raise upstream-branch version in gbp.conf to zsh-4.3.15 [ Axel Beckert ] * [baf81ea9] Raise upstream-branch version in gbp.conf to zsh-4.3.16 * [51a77e60] Add stamp-h.in to extend-diff-ignore -- Axel Beckert Tue, 21 Feb 2012 22:37:22 +0100 zsh (4.3.15-1) unstable; urgency=low * New upstream release + [45913f43] Allow closing of fd's not recorded by the shell (Closes: #644179) + [2938c58c] replace overlapping strcpy with memmove (Closes: #624497) + Includes new _git implementation (Closes: #630906, #603503) [ Frank Terbeck ] * [c63c0d79] Adding support for (un)markauto in _apt (Closes: #631795) * [fd222338] Support -F completion for aptitude (Closes: #632140) * [fbaba904, 7c61c918] Use one positive arch-spec instead of several negated ones (Closes: #634609) * [af2bb4fd] Removing upstream patches due to new release * [ea0e8c35] at2quilt: Updating autotools patches [ Michael Prokop ] * [21e7021b] provide debian/gbp.conf for git-buildpackage and friends [ Mitsuya Shibata ] * [1e111f71] Add "tinfo" to --with-term-lib flag (Closes: #645112) [ Ansgar Burchardt ] * [add75037] _bts: Update list of tags (Closes: #641162) [ Axel Beckert ] * [00f335b1] Support differentiation of generated orig.tar.bz2 ("debian source") vs upstream's tarballs. (Not used for now.) + Add dversionmangle to watch file * Build package from git --archive generated .orig.tar.bz2 for now to fix some file regeneration issues, e.g. with man pages. (Closes: #646046) * [f6f9a83e] Add some more (re)generated files to extend-diff-ignore in debian/source/options -- Axel Beckert Sun, 22 Jan 2012 20:51:58 +0100 zsh (4.3.12-1) unstable; urgency=low [ Frank Terbeck ] * New upstream release - Fixes typo in make-kpkg completion (Closes: #627046) * [b495ba1e] Removing upstream patches due to new release * [f575f568] Add urcl script for changelog updates at upstream releases * [8bcd117f] at2quilt: Updating autotools patches * [bf0a44a8] Enable additional $fpath entries for add-ons from other packages (Closes: #620452) * [b52c798e] Add do-dch script for convenience * [0ffda0fa] workflow.org: Fix structure * [b70d6102] Workflow updates * [250d8bd4] rules: system.h was renamed to zsh_system.h [ Axel Beckert ] * [94e182d5] Bump Standards-Version to 3.9.2 (no changes) * [72c39771] debian/watch: Prefer .tar.bz2 over .tar.gz * [71716e7f] Add Frank Terbeck to Uploaders, so Lintian doesn't regard his changelog entries as NMUs * Fixed some issues reported by Lintian: - [30777d4c] binary-control-field-duplicates-source - [6629343a, 00e23c14] maintainer-script-without-set-e - [4cbb6b9f] description-synopsis-starts-with-article * [ff82f833] Override Lintian warnings about statically linked stuff in zsh-static * [7096bf4f] debian/source/options: Ignore Util/difflog.pl, configure and config.h.in for patch generation * [0882d862] Abort package build in case of unexpected changes to upstream code -- Axel Beckert Thu, 16 Jun 2011 02:02:04 +0200 zsh (4.3.11-5) unstable; urgency=low * [d6e29c2b] Fix for false isident() behaviour * [de811a44] Fix for crash in incorrect bash-like index usage * [dbaa0788] debian/at2quilt: Append debian patches at the end of series * [2a6ba3c7] Add `debian/patch2quilt' script * [e5e18221] Add org-mode file that describes the current team workflow * [8e3a365c] patch2quilt: Stop stripping pathnames too much * [adb5ab78] Fix screen completion for serial devices (Closes: #623522) -- Frank Terbeck Wed, 27 Apr 2011 20:08:50 +0200 zsh (4.3.11-4) unstable; urgency=low [ Frank Terbeck ] * [78ab02ff] Initial `debian/' import * [bfb94ad4] Adding _fuser fix from upstream * [344bea55] Adding at2quilt script * [4e83fa72] Adding autotools related patches * [0bfbee7f] Make sure a configure script is executable and stamp.h.in exists * [56cc95c7] Installation of Etc/FAQ currently fails for the debian package * [545b40ea] Fix colors function to work with ksh_arrays (Closes: #613162) * [6219ec1f] Fix detection of svn repositories in vcs_info (Closes: #611175) * [983b6365] Adding patch to fix segfault with regular expression matching * [6ced6e2c] Adding patch to support yodl3 * [6267bebc] Refreshing autotools patches for yodl3 fixes * [40086130] Fix endless loop due to lexer bug (Closes: #353863) [ Michael Prokop ] * [e8d69775] README.Debian: Add instructions how to use the zsh-dbg package. * [ed6737b2] Add yodl to Build-Depends and sort Build-Depends while at it. -- Frank Terbeck Wed, 02 Mar 2011 18:57:37 +0100 zsh (4.3.11-4ubuntu2.is.3ubuntu2) oneiric; urgency=low * Add "tinfo" to --with-term-lib flag. (LP: #841489) Ubuntu striped out libtinfo* package from ncurses. -- Mitsuya Shibata Sat, 24 Sep 2011 14:53:40 +0900 zsh (4.3.11-4ubuntu2.is.3ubuntu1) natty; urgency=low * Reupload to the previous version of zsh. The 4.3.11-4ubuntu1 upload introduces new build dependencies from universe. (See LP #762286) -- Martin Pitt Thu, 21 Apr 2011 19:24:25 +0200 zsh (4.3.11-3ubuntu1) natty; urgency=low * Merge from debian unstable. (LP: #716918) Remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Angel Abad Sat, 12 Feb 2011 15:41:52 +0100 zsh (4.3.11-3) unstable; urgency=low * [6b5d568] Update Vcs-Git and Vcs-Browser control headers. * [17c579f] New maintainers (pkg-zsh). (Closes: #612143) -- Michael Prokop Thu, 10 Feb 2011 10:48:36 +0100 zsh (4.3.11-2ubuntu1) natty; urgency=low * Merge from debian unstable. (LP: #704066) Remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Angel Abad Mon, 17 Jan 2011 19:02:52 +0100 zsh (4.3.11-2) unstable; urgency=low * Fix psmisc detection of fuser completion, thanks to GI. closes: #607603. * Change "recommended" prompt theme to adam1. * Turn SHARE_HISTORY on in the recommended zshrc. * Orphan the package. -- Clint Adams Sun, 16 Jan 2011 12:30:13 -0500 zsh (4.3.11-1ubuntu1) natty; urgency=low * Merge from debian unstable. (LP: #700695) Remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Angel Abad Sun, 09 Jan 2011 23:10:24 +0100 zsh (4.3.11-1) unstable; urgency=low * New upstream release. -- Clint Adams Sat, 25 Dec 2010 09:36:19 -0500 zsh (4.3.10-17) unstable; urgency=low * Various git completion fixes. * Complete filenames instead of packages for reportbug if the word begins with a slash. closes: #538090. -- Clint Adams Sun, 14 Nov 2010 15:39:46 -0500 zsh (4.3.10-16) unstable; urgency=low * Add git-buildpackage completion from Felipe Sateler. closes: #602962. * setopt histignorealldups in the recommended user .zshrc. -- Clint Adams Thu, 11 Nov 2010 14:16:01 -0500 zsh (4.3.10-15ubuntu1) natty; urgency=low * Merge from debian unstable(LP: #669470). Remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Bhavani Shankar Mon, 01 Nov 2010 19:27:22 +0530 zsh (4.3.10-15) unstable; urgency=low * Update carstenh.zshrc example. * Patch from ĐлекŃандр Новиченко to fix recexact segfault in completion. closes: #590736. * Bump to Standards-Version 3.9.1. * Fix zsh-newuser-install newline placement. closes: #591144. -- Clint Adams Tue, 10 Aug 2010 14:58:58 -0400 zsh (4.3.10-14ubuntu1) maverick; urgency=low * Merge from Debian unstable (LP: #612938). Remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Bhavani Shankar Tue, 03 Aug 2010 15:51:55 +0530 zsh (4.3.10-14) unstable; urgency=low * ZW#27804: don't hang on encountering invalid character in incremental search. closes: #574502. * xmlsoft --nodtdattr completion thanks to Vincent Lefevre. closes: #585812. * Add example .zshrc from Carsten Hey. closes: #587278. * Add recommended .zshrc for users to choose on initial run. -- Clint Adams Wed, 30 Jun 2010 09:40:28 -0400 zsh (4.3.10-13) unstable; urgency=low * Patch from Bernd Zeimetz to complete 'bts affects'. closes: #579529. * ZW#28006: make zgetcwd() fall back to pwd, only use "." if setting pwd. closes: #585660. -- Clint Adams Sun, 13 Jun 2010 10:35:03 -0400 zsh (4.3.10-12) unstable; urgency=low * Do not do host completion for entries in ~/.ssh/known_hosts with port numbers. * Fix lsusb completino to work with uncompressed usb.ids. closes: #579117. * Add completion for axi-cache. * Add completion for pbuilder. ref: #570878. -- Clint Adams Sun, 25 Apr 2010 19:05:36 -0400 zsh (4.3.10-11) unstable; urgency=low * Switch build-dep back to libcap-dev since libcap2-dev is a virtual package now. * Bump to Standards-Version 3.8.4. * Patch from Michael Prokop for apt --no-install-recommends completion. closes: #570520 -- Clint Adams Sun, 21 Feb 2010 13:15:17 -0500 zsh (4.3.10-10) unstable; urgency=low * ZW#27565: sanity check numeric arguments to ulimit * ZW#27566: add ulimit -c hard and immediate return on argument error closes: #568678. -- Clint Adams Sat, 06 Feb 2010 18:47:41 -0500 zsh (4.3.10-9) unstable; urgency=low * Patch from Chris Lamb to improve django completion. closes: #562753. -- Clint Adams Sun, 27 Dec 2009 21:52:39 -0500 zsh (4.3.10-8) unstable; urgency=low * Patch from Michael Prokop to fix dput --delayed completion. closes: #560881. -- Clint Adams Sat, 12 Dec 2009 19:16:31 -0500 zsh (4.3.10-7) unstable; urgency=low * Update prompt_clint_setup to use a slightly different color scheme when run over ssh. * Switch to 3.0 (quilt) source format. * Fix gpg --verify-files completion. closes: #557286. -- Clint Adams Mon, 23 Nov 2009 04:49:17 -0500 zsh (4.3.10-6) unstable; urgency=low * Update mpc completion for version 0.17. * Have zsh-doc depend on dpkg (>= 1.15.4) | install-info. * Drop ancient Conflicts. * Drop duplicate Priority fields. * Drop alternative build dependency on tetex-bin. -- Clint Adams Sat, 24 Oct 2009 01:20:39 -0400 zsh (4.3.10-5ubuntu3) lucid; urgency=low * Rebuild statically linked zsh binary against recent libc. -- Matthias Klose Sun, 18 Apr 2010 22:23:57 +0000 zsh (4.3.10-5ubuntu2) lucid; urgency=low * rebuild rest of main for armel armv7/thumb2 optimization; UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 -- Alexander Sack Sun, 07 Mar 2010 01:12:08 +0100 zsh (4.3.10-5ubuntu1) karmic; urgency=low * Merge from debian unstable (LP: #426837), remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Simon Olofsson Tue, 08 Sep 2009 17:04:03 +0200 zsh (4.3.10-5) unstable; urgency=low * Possible fix for an intermittent history segfault. closes: #535232. * Bump to Standards-Version 3.8.3. -- Clint Adams Sun, 16 Aug 2009 19:43:33 -0400 zsh (4.3.10-4) unstable; urgency=low * Cope with the fact that GCC on Debian GNU/kFreeBSD defines __GLIBC__ for some nonsensical reason. closes: #536601. * Update reportbug completion. closes: #537461. * Remove zsh-doc postinst and prerm. -- Clint Adams Sat, 01 Aug 2009 00:29:15 -0400 zsh (4.3.10-3) unstable; urgency=low * Bump to Standards-Version 3.8.2. * Patch from Vincent Bernat to add completion for bts fixed/notfixed. closes: #536022. -- Clint Adams Fri, 10 Jul 2009 21:58:50 -0400 zsh (4.3.10-2ubuntu1) karmic; urgency=low * Merge from debian unstable, remaining changes: - debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Muharem Hrnjadovic Tue, 16 Jun 2009 16:04:38 +0200 zsh (4.3.10-2) unstable; urgency=medium * Patch from Colin Watson to complete for for bzr switch. closes: #531549. -- Clint Adams Tue, 02 Jun 2009 14:51:43 -0400 zsh (4.3.10-1ubuntu1) karmic; urgency=low * Resynchronise with Debian. Remaining changes: + debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Colin Watson Tue, 02 Jun 2009 10:40:25 +0100 zsh (4.3.10-1) unstable; urgency=low * New upstream version. - Patch from Kalle Olavi Niemitalo to fix git write-tree and git send-pack completions. closes: #524754. - Patch from Patrick Schoenfeld to complete .t files for perl. closes: #527369. - Complete apt-get purge. closes: #525215. * Remove lintian override. * Remove zsh-doc postinst/prerm invocations of install-docs. * Move zsh-dbg to Section 'debug'. * Set custom patchlevel ($ZSH_PATCHLEVEL) to "Debian". -- Clint Adams Mon, 01 Jun 2009 14:20:05 -0400 zsh (4.3.9-5) unstable; urgency=low * Patch from Greg Klanderman to use device/inode/mtime for svn completion caching. closes: #512308. -- Clint Adams Thu, 21 May 2009 21:25:43 -0400 zsh (4.3.9-4ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes: + debian/zshrc: Enable completions by default, unless skip_global_compinit is set -- Kees Cook Sat, 28 Mar 2009 10:01:26 -0700 zsh (4.3.9-4) unstable; urgency=low * ZW#26675: add POSIX_ALIASES option. closes: #516998. * ZW#26602: fix buffer overflow in ! (history) handling. closes: #521108. * Bump to Standards-Version 3.8.1. * ZW#26625, ZU#13593: inopportune interrupt could wreck terminal set up (combined patch thanks to Vincent Lefevre). closes: #521174. -- Clint Adams Wed, 25 Mar 2009 23:36:43 -0400 zsh (4.3.9-3) unstable; urgency=medium * ZU#13477: fix completion of files after rm. closes: #517448. * Patch from Chris Lamb to complete custom Django management commands. closes: #517672. -- Clint Adams Sun, 01 Mar 2009 11:16:34 -0500 zsh (4.3.9-2) unstable; urgency=low * Patch from Daniel Friesel to complete .flac files for mplayer. closes: #516816. * Patch from Sven Joachim to complete aptitude build-dep. closes: #512671. * Tim Schumacher's completion for xmms2, thanks to Louis-David Mitterrand. closes: #512610. -- Clint Adams Sat, 28 Feb 2009 14:44:32 -0500 zsh (4.3.9-1ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes: LP: #314112 + debian/zshrc: Enable completions by default, unless skip_global_compinit is set. -- Bhavani Shankar Mon, 05 Jan 2009 22:27:10 +0530 zsh (4.3.9-1) unstable; urgency=low * New upstream version. - Fixes completion errors when CSH_JUNKIE_QUOTES is set. closes: #497663. - Fixes some broken handling of Unicode characters in completion. closes: #501851. * Patch from Chris Lamb for lintian-info completion. closes: #490383. * Patch from Chris Lamb for Django 1.0 completion. closes: #500489 * Patch from Ansgar Burchardt to improve bts completion. closes: #503575. * Remove --remote-sent-files from rsync completion, thanks to Louis-David Mitterrand. closes: #498780. * Fix compinstall losing prior config thanks to Morita Sho. closes: #501248. * Merge in minor rules tweaks from zsh-beta. * Patch from Ryo IGARASHI to equate 'bzr co' with 'bzr checkout'. closes: #504769. -- Clint Adams Mon, 29 Dec 2008 12:01:01 -0500 zsh (4.3.6-7ubuntu1) jaunty; urgency=low * Merge from unstable, remaining changes: + debian/zshrc: Enable completions by default, unless skip_global_compinit is set (cf. LP: #16759). * Dropped changes: + Makefile.in: no need to disable running of autoconf if configure is out of date (builds just fine anyway) + debian/control: downgrade libcap2-dev: libcap2-dev is in main now, so we can build with it. -- Stefan Potyra Wed, 12 Nov 2008 13:38:52 +0100 zsh (4.3.6-7) unstable; urgency=medium * Add grep-excuses completion from Chris Lamb. closes: #494137. * Apply patch from Chris Lamb for apt-show-versions completion improvement. closes: #494138. -- Clint Adams Fri, 08 Aug 2008 15:21:25 -0400 zsh (4.3.6-6) unstable; urgency=medium * Fudge curses module check to build with libncursesw5-dev. * Apply patch from Chris Lamb to add xrandr --same-as completion. closes: #487626. * Fix completion of gpg --recv-keys and --send-keys. closes: #491742. -- Clint Adams Tue, 22 Jul 2008 22:39:19 -0400 zsh (4.3.6-5) unstable; urgency=medium * ZU#13036: recognize . as a valid username character. closes: #490968. * Bump to Standards-Version 3.8.0. -- Clint Adams Wed, 16 Jul 2008 18:33:18 -0400 zsh (4.3.6-4ubuntu1) intrepid; urgency=low * Merge from unstable (LP: #244373), remaining changes: + Makefile.in: Disable rule which runs autoconf if configure is out of date. + debian/zshrc: Enable completions by default, unless skip_global_compinit is set (cf. LP #16759). + debian/control: Update maintainer field by Ubuntu policy. * debian/control: Downgrade build-dependency against libcap2-dev to libcap-dev, since libcap2-dev is only available in universe. * This version fixes the issues with the broken zshall manpage w.o. further modification (LP: #243268). -- Stefan Potyra Tue, 01 Jul 2008 18:34:38 +0200 zsh (4.3.6-4) unstable; urgency=medium * Tweak configure so that dpkg-dev setting CPPFLAGS to the null string doesn't break LFS. closes: #483867. -- Clint Adams Sat, 31 May 2008 17:42:20 -0400 zsh (4.3.6-3) unstable; urgency=low * Update locate completion to properly handle newer versions of GNU findutils. closes: #482662. -- Clint Adams Sat, 31 May 2008 13:14:20 -0400 zsh (4.3.6-2ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Makefile.in: Disable rule which runs autoconf; we don't want it to run during the build. - debian/zshenv: Stop setting PATH, depend on new and shiny libpam-modules which sets PATH for us. - debian/zshrc: Enable completions by default. - Change the maintainer address. * remove the patch from debian/zshenv. It does only act if $PATH is empty or likely to be unconfigured. If a local administrator really wants PATH to default to "/bin:/usr/bin", he can be expected to modify /etc/zshenv. * debian/zshrc: Enable to local user to prevent enabling completions by the global /etc/zshrc by setting the variable "skip_global_compinit=1" in his ~/.zshenv. Patch based on proposal by Jay Berkenbilt. LP: #16759 -- Reinhard Tartler Wed, 21 May 2008 09:17:09 +0200 zsh (4.3.6-2) unstable; urgency=medium * Complete .spx files after ogg123, thanks to Markus Waldeck. closes: #474744. * Call configure with --enable-readnullcmd=pager (for when this becomes meaningful in the next upstream version, thanks to Marc Chantreux). * Hardcode default readnullcmd to "pager" instead of "more". closes: #477722. -- Clint Adams Mon, 28 Apr 2008 21:14:12 -0400 zsh (4.3.6-1) unstable; urgency=medium * New upstream version. * Unconditionally add zsh and zsh-static to /etc/shells in postinst, to ensure smooth transition to lenny+1. closes: #473652. -- Clint Adams Wed, 02 Apr 2008 11:31:01 -0400 zsh (4.3.5-8) unstable; urgency=low * Avoid removal/readdition of shells in /etc/shells on package upgrades, in order to preserve local changes. closes: #473199, #473200. * Switch build dependency to libcap2-dev. -- Clint Adams Sat, 29 Mar 2008 13:15:58 -0400 zsh (4.3.5-7) unstable; urgency=medium * Complete packages for aptitude why and why-not. closes: #472193. * Make git completion cope with user configs setting colors to "always". closes: #469588. * Move doc-base section to 'Shells' in accordance with doc-base 0.8.10 policy. * Add PDF format to the doc-base control file. -- Clint Adams Sun, 23 Mar 2008 12:06:29 -0400 zsh (4.3.5-6) unstable; urgency=low * Completion for calendar. * Update git completion (bisect skip and run, copying with the situation wherein git is an alias to a wrapper). -- Clint Adams Sun, 16 Mar 2008 10:46:49 -0400 zsh (4.3.5-5) unstable; urgency=medium * Fix completion of rsync -e ssh remote pathnames containing spaces. closes: #468654. -- Clint Adams Sun, 02 Mar 2008 16:55:13 -0500 zsh (4.3.5-4) unstable; urgency=low * ZW#24611: fix ${+array[...]} with empty range matches. closes: #466655. -- Clint Adams Thu, 28 Feb 2008 00:04:41 -0500 zsh (4.3.5-3) unstable; urgency=medium * ZU#12632: fix bug unexporting special parameter after "SPECIAL=stuff funccall". closes: #317773. * Drop --print-gnu-build-architecture from dpkg completion. closes: #466904. * Patch documentation to reflect that global rc files are in /etc/zsh. closes: #466596. * Add Vcs-Git and Vcs-Browser control headers. -- Clint Adams Fri, 22 Feb 2008 10:07:10 -0500 zsh (4.3.5-2) unstable; urgency=low * Add Homepage control field. * Apply patches from A Costa to fix documentation typos. closes: #463613, #463614, #463615, #463616, #463617, #463619, #463620, #463621, #463622. * Drop debconf-related dependencies and all vestiges of the debconf note. closes: #463916. * Remove conffile movement code from postinst. -- Clint Adams Tue, 12 Feb 2008 18:28:01 -0500 zsh (4.3.5-1) unstable; urgency=low * New upstream version. -- Clint Adams Fri, 01 Feb 2008 11:44:10 -0500 zsh (4.3.4-dev-8-1) unstable; urgency=low * New upstream development release. -- Clint Adams Tue, 29 Jan 2008 09:29:38 -0500 zsh (4.3.4-dev-7-4) unstable; urgency=low * Add symlink for zsh4-static man page. * Reduce testsuite verbosity back to normal. * Update dpkg completion. closes: #460566. * Fix sed completion for multiple input files. closes: #461143. -- Clint Adams Sun, 27 Jan 2008 21:55:52 -0500 zsh (4.3.4-dev-7-3) unstable; urgency=low * Remove leading spaces from Texinfo direntry, since they cause dpkg's broken install-info to break. closes: #460158. -- Clint Adams Fri, 18 Jan 2008 18:44:04 -0500 zsh (4.3.4-dev-7-2) unstable; urgency=medium * ZW#24384: eliminate invalid pointer causing segfault when trying to complete 'apt-c('. closes: #459896. -- Clint Adams Thu, 10 Jan 2008 11:48:26 -0500 zsh (4.3.4-dev-7-1) unstable; urgency=low * New upstream development release. -- Clint Adams Tue, 08 Jan 2008 12:55:44 -0500 zsh (4.3.4-dev-6-10) unstable; urgency=medium * Update completion for xpdf. closes: #458422. * Update run-help to CVS version. -- Clint Adams Fri, 04 Jan 2008 13:46:20 -0500 zsh (4.3.4-dev-6-9) unstable; urgency=low * Update completion for metaflac. -- Clint Adams Fri, 04 Jan 2008 12:33:47 -0500 zsh (4.3.4-dev-6-8) unstable; urgency=low * Drop Debian run-help fork and modify upstream run-help at build time with sed. * Reduce testsuite verbosity to level 1. -- Clint Adams Fri, 04 Jan 2008 10:46:04 -0500 zsh (4.3.4-dev-6-7) unstable; urgency=low * Tweak run-help so that it runs man on tails and not full pathnames. * Increase testsuite verbosity. -- Clint Adams Sun, 30 Dec 2007 14:30:22 -0500 zsh (4.3.4-dev-6-6) unstable; urgency=low * Ignore testsuite failures. -- Clint Adams Tue, 25 Dec 2007 16:26:57 -0500 zsh (4.3.4-dev-6-5) unstable; urgency=low * Add extra diagnostic to test harness to track down potential problem with V01zmodload test on the buildds. -- Clint Adams Tue, 25 Dec 2007 12:12:19 -0500 zsh (4.3.4-dev-6-4) unstable; urgency=low * Remove leading spaces from Texinfo direntry, since they cause a "fixed" makeinfo to break. closes: #457741, #457743. -- Clint Adams Tue, 25 Dec 2007 10:36:07 -0500 zsh (4.3.4-dev-6-3) unstable; urgency=low * Tweak test suite so that skipped tests are not counted as failures. -- Clint Adams Mon, 24 Dec 2007 20:40:59 -0500 zsh (4.3.4-dev-6-2) unstable; urgency=low * Move zsh-doc to section 'doc'. * Set HOME to a directory guaranteed to exist while running the test suite. -- Clint Adams Mon, 24 Dec 2007 14:34:33 -0500 zsh (4.3.4-dev-6-1) unstable; urgency=low * New upstream development release. * Drop version number from the function directory. closes: #455891. * Switch to ncursesw. -- Clint Adams Thu, 20 Dec 2007 09:53:11 -0500 zsh (4.3.4-dev-5-1) unstable; urgency=low * New upstream development release. -- Clint Adams Mon, 17 Dec 2007 14:58:14 -0500 zsh (4.3.4-dev-4-2) unstable; urgency=low * Drop module linking patch. -- Clint Adams Sat, 15 Dec 2007 11:30:25 -0500 zsh (4.3.4-dev-4-1) unstable; urgency=low * New upstream development release. -- Clint Adams Tue, 11 Dec 2007 10:23:17 -0500 zsh (4.3.4-dev-3-3) unstable; urgency=low * Use LDFLAGS=-Wl,--as-needed for zsh binary and modules. * Bump to Standards-Version 3.7.3. * Add completion for id. closes: #454990. * Add completion for members. closes: #454994. * Apply patch from Vincent Lefevre to handle "-include" in make completion. closes: #455070. -- Clint Adams Mon, 10 Dec 2007 20:25:33 -0500 zsh (4.3.4-dev-3-2) unstable; urgency=high * Stop shipping difflog.pl in the binary package. closes: #454073. [CVE-2007-6209]. -- Clint Adams Tue, 04 Dec 2007 10:17:27 -0500 zsh (4.3.4-dev-3-1) unstable; urgency=medium * New upstream development release. - fixes segfault when doing `export TERM=dumb; export TERM=xterm; export TERM=dumb`. closes: #452915. -- Clint Adams Mon, 26 Nov 2007 11:51:38 -0500 zsh (4.3.4-dev-2-1) unstable; urgency=low * New upstream development release. - properly handles negative zero. closes: #448732. - default to POSIX symlink dereferencing behavior in chgrp builtin. closes: #439036. -- Clint Adams Sun, 25 Nov 2007 19:46:49 -0500 zsh (4.3.4-27) unstable; urgency=low * Fix two issues with `git push` completion, thanks to Sean Finney. * Fix typo in the "clint" prompt. -- Clint Adams Thu, 22 Nov 2007 14:16:29 -0500 zsh (4.3.4-26) unstable; urgency=low * Add completion for cut, from Dr. Markus Waldeck. closes: #448465. * Only run $(MAKE) distclean if Makefile exists. * Don't install any of the completion function files +x. -- Clint Adams Mon, 12 Nov 2007 12:13:36 -0500 zsh (4.3.4-25) unstable; urgency=low * Add completion for dpkg-repack, from Dr. Markus Waldeck. closes: #448182. -- Clint Adams Fri, 26 Oct 2007 15:22:39 -0400 zsh (4.3.4-24ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - Disable rule in top-level Makefile.in which runs autoconf; we don't want it to run during the build. - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. - Stop setting PATH, depend on new and shiny libpam-modules which sets PATH for us. - Enable completions by default. - Change the maintainer address. * remove autogenerated and unneeded hunks (po, files, etc.) -- Reinhard Tartler Thu, 25 Oct 2007 19:34:31 +0200 zsh (4.3.4-24) unstable; urgency=low * Add completion for growisofs. -- Clint Adams Mon, 22 Oct 2007 21:26:38 -0400 zsh (4.3.4-23) unstable; urgency=low * Update git completion. * Update clint prompt. -- Clint Adams Fri, 19 Oct 2007 11:30:31 -0400 zsh (4.3.4-22) unstable; urgency=medium * Fix broken git svnimport completion. closes: #446800. -- Clint Adams Mon, 15 Oct 2007 15:52:56 -0400 zsh (4.3.4-21) unstable; urgency=low * Add .m4 file for aclocal in -dev package. * Guard (ZSH_OOT_MODULE) struct timezone definition in Src/system.h to facilitate out-of-tree module building. * Update git completion. -- Clint Adams Fri, 12 Oct 2007 09:45:15 -0400 zsh (4.3.4-20) unstable; urgency=low * Update git completion. -- Clint Adams Thu, 04 Oct 2007 05:13:07 -0400 zsh (4.3.4-19) unstable; urgency=low * Update subversion completion. * Update git completion, including git-mergetool. closes: #444747. * Add completion for dpkg-buildpackage. * Add completion for svn-buildpackage. closes: #345437. * Change menu section to Applications/Shells. -- Clint Adams Sun, 30 Sep 2007 14:20:18 -0400 zsh (4.3.4-18) unstable; urgency=medium * Fix git rm completion. closes: #443489. -- Clint Adams Fri, 21 Sep 2007 14:50:16 -0400 zsh (4.3.4-17) unstable; urgency=low * Update dput completion. -- Clint Adams Sat, 15 Sep 2007 07:30:42 -0400 zsh (4.3.4-16) unstable; urgency=medium * Fix segfault with vi history search. closes: #439425. -- Clint Adams Thu, 13 Sep 2007 16:48:11 -0400 zsh (4.3.4-15) unstable; urgency=medium * ZW#23794: don't segfault when trying to complete after strings such as "foo$". * Chris Lamb's completion for lighty-{enable,disable}-mod. closes: #439261. -- Clint Adams Thu, 30 Aug 2007 18:31:25 -0400 zsh (4.3.4-14ubuntu2) gutsy; urgency=low * Trigger rebuild for hppa -- LaMont Jones Thu, 04 Oct 2007 12:26:56 -0600 zsh (4.3.4-14ubuntu1) gutsy; urgency=low * Merge from debian unstable, remaining changes: - Disable rule in top-level Makefile.in which runs autoconf; we don't want it to run during the build. - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. - Stop setting PATH, depend on new and shiny libpam-modules which sets PATH for us. - Enable completions by default. - Change the maintainer address. -- Timo Aaltonen Fri, 31 Aug 2007 12:27:14 +0300 zsh (4.3.4-14) unstable; urgency=low * Ship md5sums for zsh-dev and zsh-dbg. -- Clint Adams Thu, 16 Aug 2007 19:44:20 -0400 zsh (4.3.4-13) unstable; urgency=medium * Complete for apt-get autoremove. closes: #436357. * Make bts show completion be exactly the same as bts bugs completion. closes: #429640. * Complete for bts cache and bts cleancache. closes: #349033. -- Clint Adams Tue, 07 Aug 2007 10:25:45 -0400 zsh (4.3.4-12) unstable; urgency=medium * Update dvips completion to handle -G, -j, -R, -u, -U, -v, -V, -y, and -z. * Handle arguments to dvips -P without intervening space. closes: #434879. * ZW#23450: fix undefined widget causing crash in in $widgets special parameter. -- Clint Adams Sun, 29 Jul 2007 10:37:59 -0400 zsh (4.3.4-11) unstable; urgency=low * Patch from Magnus Therning to make tin completion respect TIN_HOMEDIR environment variable. closes: #433767. * Patch from Vincent Lefevre to redirect apt-cache's stderr whining to /dev/null in deb package completion. closes: #432036. -- Clint Adams Fri, 20 Jul 2007 05:42:36 -0400 zsh (4.3.4-10) unstable; urgency=high * Remove preinst (the need for conffile moves pre-dates sarge). * Engage in historical revisionism and remove ancient "closes=" pairs from changelog. * Bring accidentally-misplaced postinst back. closes: #431422. -- Clint Adams Tue, 26 Jun 2007 12:30:40 -0400 zsh (4.3.4-9) unstable; urgency=low * Word-compile functions at build time instead of in postinst. closes: #430472. -- Clint Adams Tue, 26 Jun 2007 11:43:42 -0400 zsh (4.3.4-8) unstable; urgency=low * Complete already-controlled files after 'git add'. closes: #428793. -- Clint Adams Thu, 14 Jun 2007 10:12:44 -0400 zsh (4.3.4-7) unstable; urgency=low * Complete filenames after 'git reset '. closes: #428705. * Fix wodim completion to not run cdrecord. closes: #426266. * Change tex build dependency to texlive-latex-base | tetex-bin. -- Clint Adams Wed, 13 Jun 2007 12:42:59 -0400 zsh (4.3.4-6) unstable; urgency=medium * ZW#23478. Fix segfault in reverse-menu-complete. closes: #426161. -- Clint Adams Wed, 06 Jun 2007 12:55:43 -0400 zsh (4.3.4-5ubuntu1) gutsy; urgency=low * Merge from debian unstable, remaining changes: - Disable rule in top-level Makefile.in which runs autoconf; we don't want it to run during the build. - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. - Stop setting PATH, depend on new and shiny libpam-modules which sets PATH for us. - Enable completions by default. - Change the maintainer address. -- Timo Aaltonen Tue, 29 May 2007 12:51:42 +0300 zsh (4.3.4-5) unstable; urgency=low * Clean up detritus from zsh-dev and zsh-dbg packages in clean target. closes: #424078. -- Clint Adams Tue, 15 May 2007 19:22:49 -0400 zsh (4.3.4-4) unstable; urgency=low * Apply patch from Alexander Myodov to better complete sessions for screen. closes: #423897. * Merge changes into Debian run-help. -- Clint Adams Mon, 14 May 2007 15:50:00 -0400 zsh (4.3.4-3ubuntu1) gutsy; urgency=low * Merge from Debian unstable, remaining changes: - Disable rule in top-level Makefile.in which runs autoconf; we don't want it to run during the build. - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. - Stop setting PATH, depend on new and shiny libpam-modules which sets PATH for us. - Enable completions by default. * Change the maintainer address. -- Timo Aaltonen Thu, 10 May 2007 10:14:05 +0300 zsh (4.3.4-3) unstable; urgency=low * Add Italian debconf templates translation from Luca Monducci. closes: #422418. * Build and ship the PDF in zsh-doc. closes: #319595. * Add build dependency on texlive | tetex-bin. -- Clint Adams Sun, 06 May 2007 16:57:40 -0400 zsh (4.3.4-2) unstable; urgency=medium * Correct semi-colon typo in add-zsh-hook. -- Clint Adams Thu, 19 Apr 2007 15:51:43 -0400 zsh (4.3.4-1) unstable; urgency=low * New upstream version. -- Clint Adams Thu, 19 Apr 2007 07:29:14 -0400 zsh (4.3.3-1) unstable; urgency=low * New upstream version. * Fix "too much .RE in zsh manpages". closes: #391002. -- Clint Adams Wed, 18 Apr 2007 17:00:27 -0400 zsh (4.3.2-26) unstable; urgency=low * Add completion for apt-cache --install. closes: #412679. * Update completion for make-kpkg. closes: #410924. * Fix completion for mpc. closes: #405578 * Fix completion for darcs. closes: #400500. * Fix build system logic error for zsh-dev. closes: #411885. * Add gl.po from Jacobo Tarrio. closes: #412197. * Update completion for aptitude. closes: #405355. -- Clint Adams Tue, 10 Apr 2007 09:46:46 -0400 zsh (4.3.2-25) unstable; urgency=medium * ZW#23008: don't change a 126 return code to a 127 when stderr is redirected. -- Clint Adams Thu, 23 Nov 2006 21:17:31 -0500 zsh (4.3.2-24) unstable; urgency=medium * Completion for toilet. * Fix acpi completion. * Complete cdrecord options for wodim. * Complete .xpi files for zip/unzip. -- Clint Adams Fri, 17 Nov 2006 23:32:34 -0500 zsh (4.3.2-23) unstable; urgency=low * From R. Ramkumar: Completion for mkdir. closes: #396486. * Completion for ri. -- Clint Adams Wed, 1 Nov 2006 19:13:47 -0500 zsh (4.3.2-22) unstable; urgency=medium * ZW#22584: Frank Terbeck's fix to complete uncompressed archives. closes: #394818. -- Clint Adams Mon, 23 Oct 2006 09:10:09 -0400 zsh (4.3.2-21) unstable; urgency=high * Remove stray .orig files from source package. closes: #392113. * Update completion for aptitude. closes: #392338. * Completion for a2ensite, a2dissite, a2enmod, a2dismod. closes: #392338. -- Clint Adams Sat, 14 Oct 2006 12:05:42 -0400 zsh (4.3.2-20) unstable; urgency=low * Complete .flv and .mp4 files for mplayer. closes: #390714. * Completion for pon and invoke-rc.d. closes: #391001. -- Clint Adams Sat, 7 Oct 2006 04:34:39 -0400 zsh (4.3.2-19) unstable; urgency=medium * Fix buggy gpg --encrypt-to completion. * From Roger Leigh: Completion updates for dchroot and schroot, and new completion for dchroot-dsa. closes: #390574. * From R. Ramkumar: Completion of bindable IP addresses for bittorrent, rsync, ssh, and wget. closes: #390109. -- Clint Adams Tue, 3 Oct 2006 12:02:03 -0400 zsh (4.3.2-18) unstable; urgency=low * Completion for acpitool. closes: #389795. * Add https protocol to url completion. closes: #389796. * Fix typo in subversion completion. closes: #389799. * Add R. Ramkumar's generic fuse completion support. closes: #389801. * Cleanup for bittorrent completion. closes: #390048. * Change fusermount completion to use generic fuse function. closes: #390049. -- Clint Adams Sat, 30 Sep 2006 17:04:54 -0400 zsh (4.3.2-17) unstable; urgency=low * Implement ulimit -e and -r (same as limit nice and limit rt_priority). * Change zsh-dbg dependency on zsh from Source-Version to binary:Version. -- Clint Adams Fri, 15 Sep 2006 17:14:35 -0400 zsh (4.3.2-16) unstable; urgency=medium * ZW#22715: fix broken logic for AUTO_CONTINUE. closes: #271488. -- Clint Adams Fri, 15 Sep 2006 14:56:52 -0400 zsh (4.3.2-15) unstable; urgency=low * Complete for 'baz switch'. cf. #383115. * Handle single-digit and two-digit octal escapes in printf builtin. closes: #386730. -- Clint Adams Tue, 15 Aug 2006 01:05:11 -0400 zsh (4.3.2-14) unstable; urgency=low * Add completion for cssh (clusterssh). * Slightly improve completion for svn propset. closes: #377647. -- Clint Adams Tue, 11 Jul 2006 22:38:44 -0400 zsh (4.3.2-13) unstable; urgency=medium * Complete compressed tarball filenames for GNU tar even when a compression option isn't specified. closes: #375186. -- Clint Adams Sat, 24 Jun 2006 15:29:58 -0400 zsh (4.3.2-12) unstable; urgency=medium * Extend madison completion to rmadison. * Add completion for dak. * ZU#10282: completion associated sections with man page names. * Fix lintian option completion. * Bump to Standards-Version 3.7.2. -- Clint Adams Fri, 9 Jun 2006 15:00:28 -0400 zsh (4.3.2-11) unstable; urgency=medium * Patch from Oliver Kiddle to update subversion completion for diff and resolved subcommands. closes: #342348, #368903. * Update bzr completion from HEAD. * Add completion for vserver. closes: #365238. * Remove /usr/bin/X11 from /etc/zsh/zshenv PATH. closes: #366417. * Patch from R.Ramkumar to canonicalize completion alternatives for use in umount. closes: #368404. -- Clint Adams Fri, 2 Jun 2006 16:33:05 -0400 zsh (4.3.2-10) unstable; urgency=medium * Patch from R.Ramkumar to update valgrind completion. closes: #368389. * Patch from R.Ramkumar to update and fix mpc completion. closes: #368390. -- Clint Adams Thu, 25 May 2006 23:29:15 -0400 zsh (4.3.2-9) unstable; urgency=medium * Add completion for tcptraceroute, traceroute, tracepath6. * ZW#22448: Don't segfault when "completing arrays". closes: #367823. * Unalias run-help in /etc/zsh/zshrc again. -- Clint Adams Sat, 20 May 2006 12:57:03 -0400 zsh (4.3.2-8) unstable; urgency=medium * Patch from R.Ramkumar to complete "mpc --no-status". closes: #364708 * Handle kfreebsd-amd64 in the build-depends. closes: #361453. -- Clint Adams Wed, 26 Apr 2006 00:39:04 -0400 zsh (4.3.2-7) unstable; urgency=low * More zsh-mime-handler fixes. * Updated completion for surfraw from Micah Anderson. closes: #364389. -- Clint Adams Sun, 23 Apr 2006 10:27:27 -0400 zsh (4.3.2-6) unstable; urgency=medium * Add completion for analyseplugin (ladspa) from R.Ramkumar. closes: #356676. * Patch from R.Ramkumar to fix "zsh-mime-handler used even in the case of executable files". closes: #339635. * Patch from R.Ramkumar to enable use of IP addresses and multiple host files in _hosts closes: #359992. -- Clint Adams Fri, 31 Mar 2006 09:09:31 -0500 zsh (4.3.2-5) unstable; urgency=low * Strip zsh4-static binary again; this broke in the zsh-dbg transition. closes: #360034. * Version the build-dep on texi2html to >=1.76-3. closes: #344983. -- Clint Adams Thu, 30 Mar 2006 09:22:44 -0500 zsh (4.3.2-4) unstable; urgency=low * Add zsh-dev and zsh-dbg packages. * Fix the acroread completion bug introduced by the incorrect fix for #355430. -- Clint Adams Sat, 25 Mar 2006 22:22:01 -0500 zsh (4.3.2-3) unstable; urgency=high * Fix vi fix for #357313. closes: #357934. * Fix bug in acroread completion leading to screen spew. closes: #355430. -- Clint Adams Sat, 25 Mar 2006 12:05:42 -0500 zsh (4.3.2-2) unstable; urgency=medium * Add completion for nautilus. * Add 'nice' and 'rt_priority' to limits. * Handle multibyte-character-containing words better with vi keybindings. closes: #357313. -- Clint Adams Fri, 17 Mar 2006 18:50:27 -0500 zsh (4.3.2-1) unstable; urgency=low * New upstream release. -- Clint Adams Sun, 12 Mar 2006 12:40:09 -0500 zsh (4.3.1-1) unstable; urgency=low * New upstream release. * Apply patch from Micah Anderson which updates surfraw completion to know about the debsec elvi. closes: #354741. -- Clint Adams Tue, 28 Feb 2006 13:40:37 -0500 zsh (4.3.0-dev-5-2) unstable; urgency=low * Add completion for schroot. -- Clint Adams Sun, 26 Feb 2006 14:36:08 -0500 zsh (4.3.0-dev-5-1) unstable; urgency=low * New upstream development release. -- Clint Adams Mon, 20 Feb 2006 11:35:39 -0500 zsh (4.3.0-dev-4-3) unstable; urgency=low * For zsh-static, don't link against anything that requires NSS. -- Clint Adams Sun, 19 Feb 2006 14:46:32 -0500 zsh (4.3.0-dev-4-2) unstable; urgency=low * Timestamp voodoo. closes: #353188. -- Clint Adams Sat, 18 Feb 2006 17:16:14 -0500 zsh (4.3.0-dev-4-1) unstable; urgency=medium * New upstream development release. -- Clint Adams Thu, 16 Feb 2006 11:05:13 -0500 zsh (4.3.0-dev-3-3) unstable; urgency=low * Update quilt completion, thanks to Adeodato SimĂł. * Use a better method of not choking on invalid UTF-8 during completion. -- Clint Adams Sat, 11 Feb 2006 17:42:00 -0500 zsh (4.3.0-dev-3-2) unstable; urgency=low * Readd completion for ping, which had gone missing. closes: #351661. * Use -C arguments to make for completion. Patch from R.Ramkumar. closes: #340065. -- Clint Adams Thu, 9 Feb 2006 09:40:08 -0500 zsh (4.3.0-dev-3-1) unstable; urgency=low * New upstream development release. -- Clint Adams Mon, 6 Feb 2006 20:13:06 -0500 zsh (4.3.0-dev-2-4) unstable; urgency=low * Adjust non-choking of invalid UTF-8 during completion. -- Clint Adams Wed, 18 Jan 2006 16:26:37 -0500 zsh (4.3.0-dev-2-3) unstable; urgency=medium * Fix bad references in man pages. closes: #348627. * Fix comments in /etc/zsh/* . closes: #348368. -- Clint Adams Tue, 17 Jan 2006 22:39:04 -0500 zsh (4.3.0-dev-2-2) unstable; urgency=low * Fix completion for last. closes: #345583. * Don't choke on invalid UTF-8 during completion. -- Clint Adams Thu, 12 Jan 2006 20:03:25 -0500 zsh (4.3.0-dev-2-1) unstable; urgency=low * New upstream development release. - Better UTF-8 support. closes: #139771, #269719. * Remove /etc/skel/.zshrc so newuser magic can work. -- Clint Adams Tue, 27 Dec 2005 18:07:14 -0500 zsh (4.2.6-2) unstable; urgency=medium * Update ssh completion. closes: #344708. * Add surfraw completion. closes: #342162. -- Clint Adams Sat, 24 Dec 2005 20:07:29 -0500 zsh (4.2.6-1) unstable; urgency=low * New upstream version. -- Clint Adams Mon, 5 Dec 2005 11:16:25 -0500 zsh (4.2.5-24) unstable; urgency=low * Add completion for dchroot. * Fixes/improvements for baz, bzr, date, ssh, subversion, gv. -- Clint Adams Fri, 25 Nov 2005 10:30:49 -0500 zsh (4.2.5-23) unstable; urgency=low * Fix typo in dput completion. * Add completions for cplay(1), dpkg-cross(1), tpkg-debarch(1L), tpkg-install(1L), tpkg-install-libc(1L), tpkg-make(1L), tpkg-update(1L). -- Clint Adams Mon, 7 Nov 2005 13:54:01 -0500 zsh (4.2.5-22) unstable; urgency=medium * ZW#21872: clear job table properly in subshells. * Patch from R.Ramkumar to use ZDOTDIR for zcalc history file. closes: #336547. * Patch from R.Ramkumar to enhance zsh-mime-handler. closes: #335190. * Add notes to ssh host completion examples about needing to set HashKnownHosts to "no". -- Clint Adams Mon, 31 Oct 2005 14:37:58 -0500 zsh (4.2.5-21) unstable; urgency=low * Update xmllint options completion. closes: #335014. * Drop dependency on passwd. closes; #334085. -- Clint Adams Fri, 21 Oct 2005 10:46:17 -0400 zsh (4.2.5-20) unstable; urgency=medium * Swedish debconf po translation from Daniel Nylander. closes: #330620. * Fix iconv(1) completion with glibc 2.3.5. * Add completion for piuparts(1). * Add completion for dlocate(1). * Add completion for quilt(1). -- Clint Adams Thu, 29 Sep 2005 10:54:53 -0400 zsh (4.2.5-19) unstable; urgency=high * Have man(1) completion better handle uncompressed man pages whose filenames contain multiple digits separated by periods. closes: #311020. * Add completion for bzr(1). * ZW#21678: fix crash when unsetting tied parameters. * ZW#21701: fix handling of negative offsets that indexed before the statr of a scalar. -- Clint Adams Thu, 8 Sep 2005 13:38:02 -0400 zsh (4.2.5-18) unstable; urgency=medium * Fix baz tree-version completion. closes: #325898. * Fix baz tree-id completion. closes: #325900. * Add completion for date(1). -- Clint Adams Wed, 7 Sep 2005 13:23:06 -0400 zsh (4.2.5-17) unstable; urgency=high * Add in urxvt completion from CVS HEAD. -- Clint Adams Thu, 25 Aug 2005 15:48:31 -0400 zsh (4.2.5-16) unstable; urgency=medium * Fix svn completion a little. closes: #323617, #323628. * Fix accidental clobbering of the /usr/bin/zsh alternative symlink. * Add zsh(1) - zsh4(1) symlink. closes: #205893. -- Clint Adams Tue, 23 Aug 2005 14:54:27 -0400 zsh (4.2.5-15) unstable; urgency=low * Vietnamese debconf po translation from Clytie Siddall. closes: #324286. -- Clint Adams Sun, 21 Aug 2005 17:44:38 -0400 zsh (4.2.5-14) unstable; urgency=medium * ZW#21577: window resizing prompt update fix. closes: #323137. -- Clint Adams Mon, 15 Aug 2005 14:15:26 -0400 zsh (4.2.5-13) unstable; urgency=low * Update svn completion again, since it was broken. closes: #322573. -- Clint Adams Thu, 11 Aug 2005 15:48:43 -0400 zsh (4.2.5-12) unstable; urgency=medium * ZW#21567: window-resizing multi-line prompt fix. * Change dependency from 'debconf' to 'debconf-2.0'. * Update svn completion from 4.3. -- Clint Adams Mon, 8 Aug 2005 21:10:37 -0400 zsh (4.2.5-11) unstable; urgency=low * Merge more fixes from 4.2 branch. -- Clint Adams Fri, 5 Aug 2005 18:58:29 -0400 zsh (4.2.5-10) unstable; urgency=medium * Handle an equals sign after --keyring in gpg completion. * Do completion for xscreensaver-command. * Do completion for madison. * Tweak build system since texi2html behavior has changed incompatibly. -- Clint Adams Sun, 10 Jul 2005 08:06:17 -0400 zsh (4.2.5-9) unstable; urgency=medium * ZW#21235, ZW#:21236: fix remote filename quoting in ssh completion. closes: #307341. -- Clint Adams Sat, 9 Jul 2005 13:09:02 -0400 zsh (4.2.5-8) unstable; urgency=low * Merge more fixes from 4.2 branch. * Bump to Standards-Version 3.6.2. * Move menu file to /usr/share/menu. -- Clint Adams Sun, 26 Jun 2005 19:33:17 -0400 zsh (4.2.5-7) unstable; urgency=high * ZW#21195: fix handling of zero-length quoted test strings, broken in 4.2.5-5. closes: #306346. -- Clint Adams Tue, 26 Apr 2005 18:12:49 -0400 zsh (4.2.5-6) unstable; urgency=low * ZU#8752, ZW#21184: fix IFS stripping metachar insensitivity. * Improve dpkg-reconfigure completion. -- Clint Adams Mon, 25 Apr 2005 21:40:29 -0400 zsh (4.2.5-5) unstable; urgency=medium * ZW#21170: reduce inefficiencies in ${...//.../...}. -- Clint Adams Sun, 24 Apr 2005 10:40:01 -0400 zsh (4.2.5-4) unstable; urgency=medium * Fix baz completion breakage introduced by fix for #302354. * Improve tla and baz completion to deal better with inconsistent help output. * Add completion for module-assistant. -- Clint Adams Sun, 17 Apr 2005 16:26:45 -0400 zsh (4.2.5-3) unstable; urgency=high * Fix no-ops in preinst and postinst. * Fix screen -x completion. -- Clint Adams Tue, 12 Apr 2005 18:36:07 -0400 zsh (4.2.5-2) unstable; urgency=medium * Provide better completion for xpdf and zxpdf. closes: #304198. * Install /bin/ksh alternative, and conflict with versions of pdksh older than 5.2.14-18. -- Clint Adams Mon, 11 Apr 2005 14:17:40 -0400 zsh (4.2.5-1) unstable; urgency=low * New upstream release. -- Clint Adams Wed, 6 Apr 2005 09:26:17 -0400 zsh (4.2.4-9) unstable; urgency=medium * Merge fixes from 4.2 branch. * Update gv completion to use gv 3.6 syntax (double-hyphen). closes: #303278. -- Clint Adams Tue, 5 Apr 2005 15:07:03 -0400 zsh (4.2.4-8) unstable; urgency=medium * Update aptitude completion with patch from Zack Cerza. closes: #302225. * Update baz completion to work with baz 1.3. closes: #302354. * Better completion for svn revert. closes: #299950. -- Clint Adams Thu, 31 Mar 2005 08:46:08 -0500 zsh (4.2.4-7) unstable; urgency=medium * Merge fixes from 4.2 branch. - Fixes a completion segfault involving Meta chars. closes: #301538. * Drop the debconf note about the startup files having having been moved in 4.0.4-50, and just move them without asking. closes: #157871. -- Clint Adams Sat, 26 Mar 2005 13:20:01 -0500 zsh (4.2.4-6) unstable; urgency=medium * Fix module linking patch. * Fix subversion completion in non-English locales. closes: #291683. -- Clint Adams Tue, 15 Mar 2005 18:58:51 -0500 zsh (4.2.4-5) unstable; urgency=medium * Brazilian Portuguese debconf po translation from Andre Luis Lopes. closes: #269970. * Fix 'baz status' and 'baz diff' completion. -- Clint Adams Thu, 10 Mar 2005 21:21:19 -0500 zsh (4.2.4-4) unstable; urgency=medium * Fix 'baz merge' completion. * Bind key to toggle overwrite mode in emacs and vi command-mode bindings. closes: #295506. -- Clint Adams Tue, 8 Mar 2005 21:06:03 -0500 zsh (4.2.4-3) unstable; urgency=medium * ZW#20837: fix some documentation typos. * Completion updates for rsync 2.6.4. * ZW#20816, ZW#20811: rlimit tricks for bleeding-edge glibc. * Fix for yodl completion. * ZW#20801: Kris Shannon's fix for initscript completion. * Fix to prevent some make completion recursion problems. closes: #295511. -- Clint Adams Wed, 2 Mar 2005 14:31:56 -0500 zsh (4.2.4-2) unstable; urgency=medium * ZW#20793: fix function-style traps. closes: #293364. * ZW#20773: getconf completion improvements. -- Clint Adams Sun, 6 Feb 2005 19:07:41 -0500 zsh (4.2.4-1) unstable; urgency=low * New upstream release. -- Clint Adams Thu, 3 Feb 2005 10:31:46 -0500 zsh (4.2.3-1) unstable; urgency=low * New upstream release. -- Clint Adams Thu, 13 Jan 2005 14:26:03 -0500 zsh (4.2.2-1) unstable; urgency=low * New upstream release. -- Clint Adams Wed, 12 Jan 2005 09:23:42 -0500 zsh (4.2.1-18) unstable; urgency=medium * ZW#20409: add completion for darcs. closes: #289630. * Improve completion for ggv, and complete the same for gnome-gv. closes: #289664. * Partially respect LC_COLLATE setting when sorting completions. closes: #289442. -- Clint Adams Mon, 10 Jan 2005 12:08:18 -0500 zsh (4.2.1-17) unstable; urgency=medium * ZW#20418: report parse error rather than crash on unfinished pipelines. closes: #289305. -- Clint Adams Sat, 8 Jan 2005 15:17:33 -0500 zsh (4.2.1-16) unstable; urgency=medium * Add completion for cal, ncal, and mencal. -- Clint Adams Sat, 8 Jan 2005 00:12:00 -0500 zsh (4.2.1-15) unstable; urgency=medium * Add completion for lintian. * Improve completion for bogoutil, add completion for bogofilter and bogotune. * Add an /etc/skel/.zshrc that enables the new completion system by default. -- Clint Adams Mon, 27 Dec 2004 12:09:04 -0500 zsh (4.2.1-14) unstable; urgency=low * Add completion for baz from Matt Zimmerman. closes: #285745. -- Clint Adams Wed, 15 Dec 2004 12:30:03 -0500 zsh (4.2.1-13) unstable; urgency=medium * ZW#20592, ZW#20599: Fix $((##)) breakage on alpha. closes: #283358. -- Clint Adams Fri, 3 Dec 2004 10:33:38 -0500 zsh (4.2.1-12) unstable; urgency=medium * ZW#20578: handle /dev/pts/%s ttys in elite2 prompt theme. closes: #266785. * Complete GSSAPIAuthentication and other "modern" ssh options. -- Clint Adams Wed, 24 Nov 2004 00:06:41 -0500 zsh (4.2.1-11) unstable; urgency=medium * Fix typo in bogoutil completion, thanks to MichaĹ‚ Politowski. closes: #281790. * Complete pdf files for kpdf. closes: #281829. -- Clint Adams Thu, 18 Nov 2004 10:13:36 -0500 zsh (4.2.1-10) unstable; urgency=medium * ZW#20539: don't produce "bad option" warning on some Makefiles. closes: #279417. -- Clint Adams Wed, 3 Nov 2004 09:43:47 -0500 zsh (4.2.1-9) unstable; urgency=high * ZW#20528: allow exec fd>>(list) to work again. -- Clint Adams Fri, 29 Oct 2004 09:49:49 -0400 zsh (4.2.1-8) unstable; urgency=medium * Really fix make completion this time. closes: #278487. * Fix prerm to actually remove compiled functions. closes: #278576. -- Clint Adams Wed, 27 Oct 2004 23:29:37 -0400 zsh (4.2.1-7) unstable; urgency=medium * ZW#20277 (modified): even better, less broken improved make completion. closes: #278487. -- Clint Adams Wed, 27 Oct 2004 09:43:18 -0400 zsh (4.2.1-6) unstable; urgency=medium * ZW#20325: fix segfault with 'command -v'. closes: #276409. -- Clint Adams Wed, 13 Oct 2004 22:13:26 -0400 zsh (4.2.1-5) unstable; urgency=medium * ZW#20391: Fix "SHLVL not being incremented beyond 2" bug. closes: #274964. -- Clint Adams Mon, 4 Oct 2004 22:46:12 -0400 zsh (4.2.1-4) unstable; urgency=medium * ZW#20269, ZW#20270: Improved make completion. closes: #262247. * ZW#20414: fix completion of diff --unified, thanks to Paul Wagland. closes: #273888. * Update of _make from HEAD including ZW#20358. closes: #271196. * Modify build system to allow zsh/pcre and zsh/cap modules to have "independent" library dependencies. Build-dep on pcre, and relegate module dependencies to Recommends. * Fix "cidnex" doc typo. closes: #274188. -- Clint Adams Thu, 30 Sep 2004 11:42:14 -0400 zsh (4.2.1-3) unstable; urgency=high * Fix findstring arguments order for DEB_BUILD_OPTIONS debug check. closes: #266065. -- Clint Adams Sun, 29 Aug 2004 23:42:12 -0400 zsh (4.2.1-2) unstable; urgency=medium * Explicitly specify --with-tcsetpgrp to avoid FTBFS when not under a controlling tty. closes: #265862. -- Clint Adams Sun, 15 Aug 2004 09:16:01 -0400 zsh (4.2.1-1) unstable; urgency=low * New upstream release. -- Clint Adams Fri, 13 Aug 2004 15:05:12 -0400 zsh (4.2.0-18) unstable; urgency=medium * ZW#20235: fix remote rsync file completion space quoting. closes: #261775. * ZW#20196: fix prompt misbehavior LINES=2. closes: #134474. -- Clint Adams Sun, 8 Aug 2004 00:34:33 -0400 zsh (4.2.0-17) unstable; urgency=medium * ZW#20230: complete already-installed packages more often for apt-get install. closes: #262157. * ZW#20225: add Philippe Troin's expanded explanation of clone command. closes: #205685. -- Clint Adams Mon, 2 Aug 2004 13:51:11 -0400 zsh (4.2.0-16) unstable; urgency=medium * ZW#20201: avoid double slash in prompt expansion of '%~%1(C./.) '. closes: #201685. * Czech debconf po translation from Miroslav Kure. closes: #261192. -- Clint Adams Wed, 28 Jul 2004 11:30:13 -0400 zsh (4.2.0-15) unstable; urgency=high * ZW#20173: fix memory allocation bug causing segfaults in big glob expansions. closes: #251378, #259768. -- Clint Adams Sat, 17 Jul 2004 15:31:23 -0400 zsh (4.2.0-14) unstable; urgency=medium * ZW#20033: possibly fix ./configure completion with optional arguments. * ZW#20059: prefer : to . in chown user:group completion. * ZW#20069: complete encodings case-insensitively for iconv. * ZW#20077: fix completion of reserved words with enable/disable. * Add prebuild target to debian/rules, move yodl processing there, and drop yodl build-dep. -- Clint Adams Sat, 19 Jun 2004 12:32:46 -0400 zsh (4.2.0-13) unstable; urgency=medium * Apply additions and fixes from Jason McCarty to tla completion. * Update de.po from Helge Kreutzmann. closes: #254305. -- Clint Adams Tue, 15 Jun 2004 16:34:15 -0400 zsh (4.2.0-12) unstable; urgency=low * Add ca.po from Aleix Badia i Bosch. closes: #250115. * Add debian/watch file. -- Clint Adams Wed, 9 Jun 2004 14:12:23 -0400 zsh (4.2.0-11) unstable; urgency=medium * Complete .htm files as well for lynx. closes: #251407. -- Clint Adams Fri, 28 May 2004 10:20:57 -0400 zsh (4.2.0-10) unstable; urgency=medium * ZW#19921: fix for ZW#19920. * ZW#19877: fix for ZW#19869. * ZW#19878: fix for ZW#19877. * ZW#19893: fix the potential for an infinite loop in history locking. -- Clint Adams Wed, 12 May 2004 09:22:36 -0400 zsh (4.2.0-9) unstable; urgency=high * ZW#19920: fix memory allocation bug which causes builtin (zsh/files module) rm -rf to OOM. closes: #245678. -- Clint Adams Tue, 11 May 2004 11:50:56 -0400 zsh (4.2.0-8) unstable; urgency=medium * ZW#19869: fix segfault in prompt expansion for locales where am_pm is defined to null strings. closes: #245974. -- Clint Adams Tue, 4 May 2004 00:17:51 -0400 zsh (4.2.0-7) unstable; urgency=medium * ZW#19839: fix for _path_files. closes: #246898. * ZW#19863: allow _command_names searchpath to be overriden with zstyle. * Add zstyle with default Debian sudo path to global zshrc. closes: #246305. -- Clint Adams Sun, 2 May 2004 17:20:15 -0400 zsh (4.2.0-6) unstable; urgency=high * Add apt-move completion function written by Steven Kowalik. closes: #246306. * ZW#19806: fix for segfault with %v expansion and negative index. -- Clint Adams Wed, 28 Apr 2004 10:12:28 -0400 zsh (4.2.0-5) unstable; urgency=low * Have mplayer complete .m2v and .m2p, thanks to Rene Larsen. closes: #244211. -- Clint Adams Sun, 18 Apr 2004 18:12:44 -0400 zsh (4.2.0-4) unstable; urgency=medium * Use cdrecord completion from CVS HEAD. closes: #243460. * Use subversion completion from CVS HEAD. * Use rsync completion from CVS HEAD. closes: #243385. -- Clint Adams Thu, 15 Apr 2004 06:56:31 -0400 zsh (4.2.0-3) unstable; urgency=medium * Restore McCarty/Nielsen/Weir tla completion function. -- Clint Adams Wed, 14 Apr 2004 23:58:47 -0400 zsh (4.2.0-2) unstable; urgency=medium * Explicitly enable linking with libcap. -- Clint Adams Tue, 13 Apr 2004 20:46:59 -0400 zsh (4.2.0-1) unstable; urgency=low * Move to 4.2 branch because it's less buggy. -- Clint Adams Tue, 13 Apr 2004 17:00:41 -0400 zsh (4.1.1-15) unstable; urgency=low * Add da.po from Claus Hindsgaul. -- Clint Adams Wed, 7 Apr 2004 11:56:55 -0400 zsh (4.1.1-14) unstable; urgency=medium * Fix diff completion when there is more than one --exclude on the line. closes: #239975. -- Clint Adams Thu, 25 Mar 2004 11:59:21 -0500 zsh (4.1.1-13) unstable; urgency=medium * Add es.po from Javi Castelo. closes: #238025. * Complete cvs tags containing plus signs; patch from Peter Palfrader. closes: #238843. -- Clint Adams Mon, 22 Mar 2004 18:45:37 -0500 zsh (4.1.1-12) unstable; urgency=medium * Merge fix from 4.2 branch for "bart" prompt theme. * Merge fix from 4.2 branch for scp completion. closes: #239070. -- Clint Adams Mon, 22 Mar 2004 11:31:00 -0500 zsh (4.1.1-11) unstable; urgency=medium * Remove unaliasing of run-help in /etc/zsh/zshrc. closes: #229835. * Use tla completion function from Jason McCarty, Erik Toubro Nielsen, and Rob Weir. closes: #237853. -- Clint Adams Sat, 13 Mar 2004 15:30:02 -0500 zsh (4.1.1-10) unstable; urgency=medium * Add very limited tla completion. * Merge url-quote-magic from 4.2 branch. closes: #237527. * Throw in quote-and-complete-word for good measure. -- Clint Adams Thu, 11 Mar 2004 10:51:44 -0500 zsh (4.1.1-9) unstable; urgency=medium * ZW#19566: fix associative array documentation reference, thanks to Frederik Eaton. -- Clint Adams Mon, 8 Mar 2004 12:07:24 -0500 zsh (4.1.1-8) unstable; urgency=medium * Merge adam2 prompt fixes from 4.2 branch. * Merge smit completion changes from 4.2 branch. * Merge cvs completion changes from 4.2 branch. * Merge global completion changes from 4.2 branch. * Merge look completion changes from 4.2 branch. * Merge mount completion changes from 4.2 branch. * Merge mysql/mysqlshow/mysqldump/mysqladmin completion changes from 4.2 branch. * Merge diff completion changes from 4.2 branch. * Merge groups completion changes from 4.2 branch. * Merge hosts completion changes from 4.2 branch. * Merge services completion changes from 4.2 branch. * Merge urls completion changes from 4.2 branch. * Merge X utilities completion changes from 4.2 branch. * Merge xv completion changes from 4.2 branch. * Merge X color completion changes from 4.2 branch. * Merge cd completion changes from 4.2 branch. * Merge compdef completion changes from 4.2 branch. * Merge mondo completion changes from 4.2 branch. -- Clint Adams Sat, 6 Mar 2004 15:48:05 -0500 zsh (4.1.1-7) unstable; urgency=medium * Rename zcalloc() function to zshcalloc(), since zlib sometimes incorrectly exposes zcalloc(). * Merge ssh completion changes from 4.2 branch. * Merge w3m completion changes from 4.2 branch. * Merge .tex file completion changes from 4.2 branch. * Merge .texi file completion changes from 4.2 branch. * Merge gqview completion changes from 4.2 branch. * Merge mozilla/mozilla-firefox completion changes from 4.2 branch. * Merge mplayer completion changes from 4.2 branch. * Merge nedit completion changes from 4.2 branch. * Merge xdvi completion changes from 4.2 branch. * Merge xfig completion changes from 4.2 branch. * Merge xloadimage completion changes from 4.2 branch. * Merge autoload completion changes from 4.2 branch. * Merge hash completion changes from 4.2 branch. * Merge mere completion changes from 4.2 branch. * Merge env/catchsegv completion changes from 4.2 branch. * Merge unhash completion changes from 4.2 branch. * Merge which completion changes from 4.2 branch. * Merge rsync completion changes from 4.2 branch. * Merge ruby completion changes from 4.2 branch. * Merge slrn completion changes from 4.2 branch. * ZW#19365: fix perl modules completion. * Update config.guess and config.sub to 2003-10-03 and 2003-08-18, respectively. * ZW#19387, ZW#19309: fix glob qualifiers in many places. * Merge rcs merge completion from 4.2 branch. * Merge wiggle completion from 4.2 branch. * Merge raggle completion from 4.2 branch. * Merge rar completion changes from 4.2 branch. * Merge printers completion changes from 4.2 branch. * Merge acroread completion changes from 4.2 branch. * Merge screen completion changes from 4.2 branch. * Merge perforce completion changes from 4.2 branch. * Merge pkgtool completion from 4.2 branch. * Merge sablotron completion from 4.2 branch. * ZW#19382: fix zmv error message -- Clint Adams Sat, 6 Mar 2004 11:53:19 -0500 zsh (4.1.1-6) unstable; urgency=medium * Merge auto-apt completion changes from 4.2 branch. * Merge bug completion changes from 4.2 branch. * Merge losetup completion changes from 4.2 branch. * Merge arp completion changes from 4.2 branch. * Merge gdb completion changes from 4.2 branch. * Merge gprof completion changes from 4.2 branch. * Merge java completion changes from 4.2 branch. * Merge ls completion changes from 4.2 branch. * Merge lynx completion changes from 4.2 branch. * Merge lzop completion changes from 4.2 branch. * Merge MH completion changes from 4.2 branch. * Merge mt completion changes from 4.2 branch. * Merge mysqldiff completion changes from 4.2 branch. * Merge nice completion from 4.2 branch. * Merge nmap completion from 4.2 branch. * Merge pack completion changes from 4.2 branch. * Merge pbm completion changes from 4.2 branch. * Merge perl completion changes from 4.2 branch. * Merge perldoc completion changes from 4.2 branch. * Merge pine completion changes from 4.2 branch. * Merge prcs completion changes from 4.2 branch. * Merge printenv completion changes from 4.2 branch. * Merge python completion changes from 4.2 branch. * Merge sync completion from 4.2 branch. * Merge sccs completion changes from 4.2 branch. * Merge subversion completion from 4.2 branch. * Merge telnet completion changes from 4.2 branch. * Merge texinfo completion changes from 4.2 branch. * Merge tiff completion changes from 4.2 branch. * Merge uniq completion from 4.2 branch. * Merge useradd/usermod/groupadd/groupmod completion changes from 4.2 branch. * Merge vorbis tools completion from 4.2 branch. * Merge wget completion changes from 4.2 branch. * Merge xsltproc/xmllint completion changes from 4.2 branch. * Merge yodl completion changes from 4.2 branch. * Merge zip completion changes from 4.2 branch. * Fix du completion. -- Clint Adams Fri, 5 Mar 2004 23:37:31 -0500 zsh (4.1.1-5) unstable; urgency=medium * Merge iptables completion from 4.2 branch. * Merge modutils completion changes from 4.2 branch. * Merge uml completion changes from 4.2 branch. * Merge a2ps completion changes from 4.2 branch. * Merge ant completion changes from 4.2 branch. * Merge antiword completion changes from 4.2 branch. * Merge apachectl completion changes from 4.2 branch. * Merge apm completion changes from 4.2 branch. * Merge arping completion changes from 4.2 branch. * Merge attr completion from 4.2 branch. * Merge bison completion changes from 4.2 branch. * Merge bzip2 completion changes from 4.2 branch. * Merge cdrecord completion from 4.2 branch. * Merge chmod completion from 4.2 branch. * Merge chown completion changes from 4.2 branch. * Merge compress completion changes from 4.2 branch. * Merge du completion from 4.2 branch. * Merge dvi completion changes from 4.2 branch. * Merge ecasound completion changes from 4.2 branch. * Merge elinks completion changes from 4.2 branch. * Merge fakeroot completion changes from 4.2 branch. * Merge figlet completion changes from 4.2 branch. * Merge finger completion changes from 4.2 branch. * Merge flex completion changes from 4.2 branch. * Merge fsh completion changes from 4.2 branch. * Merge gcc completion changes from 4.2 branch. * Merge getent completion from 4.2 branch. -- Clint Adams Fri, 5 Mar 2004 19:13:14 -0500 zsh (4.1.1-4) unstable; urgency=low * Add mplayer ogg/wav completion from Chip Salzenberg. closes: #235719. -- Clint Adams Fri, 5 Mar 2004 15:05:11 -0500 zsh (4.1.1-3) unstable; urgency=medium * Merge gpg completion changes from 4.2 branch. closes: #236278. * Merge grep completion changes from 4.2 branch. * Merge gzip completion changes from 4.2 branch. * Merge imagemagick completion changes from 4.2 branch. * Merge irssi completion changes from 4.2 branch. * Merge ispell completion changes from 4.2 branch. * Merge links completion changes from 4.2 branch. * Merge gphoto2 completion from 4.2 branch. -- Clint Adams Fri, 5 Mar 2004 12:12:26 -0500 zsh (4.1.1-2) unstable; urgency=medium * ZW#18824: kill-word-match deletes too much. closes: #236067. * Re-apply Christian Marillat's bts completion patch. * Merge aptitude completion from 4.2 branch. * Merge debsign completion from 4.2 branch. * Merge aap completion from 4.2 branch. * Merge less completion from 4.2 branch. * Merge sed completion from 4.2 branch. * Merge apt completion changes from 4.2 branch. * Merge debchange completion changes from 4.2 branch. * Merge debfoster completion changes from 4.2 branch. * Merge dpkg-reconfigure completion from 4.2 branch. * Merge dpkg-source completion changes from 4.2 branch. * Merge dupload completion changes from 4.2 branch. * Merge dput completion changes from 4.2 branch. * Merge update-alternatives completion changes from 4.2 branch. * Merge update-rc.d completion from 4.2 branch. * As a side effect, this should fix problems when upgrading from 4.0.9. closes: #235733. -- Clint Adams Thu, 4 Mar 2004 19:35:44 -0500 zsh (4.1.1-1) unstable; urgency=low * Move to 4.1 branch now that 4.2 is in development. This fixes - support \u and \U in echo/print/$''; closes: #154901. - cope better with unlinked wordcode digests; closes: #99687. - Zsh should clean up its signals on startup; closes: #104001. -- Clint Adams Mon, 1 Mar 2004 10:43:24 -0500 zsh (4.0.9-2) unstable; urgency=medium * Include patch from Christian Marillat to update bts tag completion. closes: #232851. * Avoid unalias error in /etc/zsh/zshrc. closes: #229835. -- Clint Adams Thu, 19 Feb 2004 18:03:48 -0500 zsh (4.0.9-1) unstable; urgency=medium * Old upstream stable release. * Include Oliver's aptitude and update-rc.d completion functions. closes: #227940. -- Clint Adams Thu, 15 Jan 2004 13:43:37 -0500 zsh (4.0.8-1) unstable; urgency=low * New upstream stable release. -- Clint Adams Thu, 18 Dec 2003 10:02:19 -0500 zsh (4.0.7-19) unstable; urgency=low * Merge fixes from 4.0 branch. - Fixes "tab completion hosed for loopback mounts". closes: #223291. -- Clint Adams Tue, 16 Dec 2003 20:46:33 -0500 zsh (4.0.7-18) unstable; urgency=medium * Prefer : to . in chown completion. -- Clint Adams Sat, 6 Dec 2003 20:04:46 -0500 zsh (4.0.7-17) unstable; urgency=medium * Merge fixes from 4.0 branch. * Patch from Oliver to to fix svn diff completion. closes: #221943. * Backport echoti fixes from 4.1 branch. closes: #222509. * Backport apt completion fixes from 4.1 branch. -- Clint Adams Sat, 6 Dec 2003 12:35:36 -0500 zsh (4.0.7-16) unstable; urgency=medium * Remove rzsh alternative in prerm. closes: #220941. -- Clint Adams Sat, 15 Nov 2003 17:00:27 -0500 zsh (4.0.7-15) unstable; urgency=medium * Add missing parenthesis to zdump completion function. closes: #220842. -- Clint Adams Sat, 15 Nov 2003 10:36:51 -0500 zsh (4.0.7-14) unstable; urgency=medium * Merge fixes from 4.0 branch. Thanks, Oliver. -- Clint Adams Fri, 14 Nov 2003 15:09:59 -0500 zsh (4.0.7-13) unstable; urgency=medium * Merge fixes from 4.0 branch. * Apply Oliver's _subversion fixes. closes: #202185. -- Clint Adams Fri, 14 Nov 2003 10:01:46 -0500 zsh (4.0.7-12) unstable; urgency=medium * Apply patch from Yasuhiro Hayase to complete normal commands after screen. closes: #213530. -- Clint Adams Sat, 25 Oct 2003 10:18:03 -0400 zsh (4.0.7-11) unstable; urgency=low * Add nl.po from Luk Claes. closes: #213880. * Add ru.po from Ilgiz Kalmetev. closes: #214376. * Add pt.po from Bruno Rodrigues. closes: #216199. -- Clint Adams Wed, 22 Oct 2003 00:07:27 -0400 zsh (4.0.7-10) unstable; urgency=high * Fix zsh/terminfo module to not exit shell on unknown TERM type. closes: #207219. -- Clint Adams Sun, 14 Sep 2003 01:10:18 -0400 zsh (4.0.7-9) unstable; urgency=medium * Merge in fixes from CVS. * Add ja.po from Kenshi Muto . * Copy libnss_files.so.* to a temporary location and chmod it 755 so ldd doesn't choke. -- Clint Adams Sat, 13 Sep 2003 11:13:18 -0400 zsh (4.0.7-8) unstable; urgency=medium * Correct passwd dependency to >= 1:4.0.3-10. -- Clint Adams Mon, 1 Sep 2003 16:20:08 -0400 zsh (4.0.7-7) unstable; urgency=medium * Bump to Standards-Version 3.6.1. * Run dpkg-shlibdebs on /lib/libnss_files.so.* for zsh-static to help avoid segfaults due to continually-changing glibc NSS ABI. closes: #207218, #193325. * Add dependency on passwd (>= 4.0.3-10), and use add-shell and remove-shell to manage /etc/shells. closes: #143366. * Apply patch from Christian Perrier to fix up po-debconf stuff. closes: #207298. -- Clint Adams Mon, 1 Sep 2003 14:59:53 -0400 zsh (4.0.7-6) unstable; urgency=medium * Merge (Q) extra space fix from 4.0 branch. * Completion for sabcmd from Oliver. closes: #202326. -- Clint Adams Fri, 25 Jul 2003 22:50:53 -0400 zsh (4.0.7-5) unstable; urgency=low * Don't build-dep on libcap-dev on GNU/FreeBSD. closes: #200546. * Merge additional fixes from 4.0 branch. * Update config.{guess,sub}. -- Clint Adams Sun, 13 Jul 2003 15:40:02 -0400 zsh (4.0.7-4) unstable; urgency=medium * Fix from Oliver to make subversion completion suck less. closes: #199638. * New completion function for debsign from Matt Zimmerman. closes: #200257. -- Clint Adams Sun, 6 Jul 2003 16:47:16 -0400 zsh (4.0.7-3) unstable; urgency=low * Bump Standards-Version to 3.5.10 * Apply patch from Michel Grentzinger to use new gettext format for debconf templates. closes: #198268. * Use fr.po from Michel Grentzinger for debconf templates. closes: #198860. * Now merge debconf templates at build time. -- Clint Adams Sun, 29 Jun 2003 11:55:31 -0400 zsh (4.0.7-2) unstable; urgency=medium * mogrify -shave and -resize completion. closes: #197544. * Update completion of reportbug and querybts to modern usage. (see #198468). * Rudimentary completion for svn and svnadmin. closes: #198409. -- Clint Adams Tue, 24 Jun 2003 23:01:22 -0400 zsh (4.0.7-1) unstable; urgency=low * New upstream stable release. -- Clint Adams Thu, 19 Jun 2003 23:58:21 -0400 zsh (4.0.6-32) unstable; urgency=medium * Merge in more fixes from 4.0 branch. -- Clint Adams Tue, 13 May 2003 15:40:00 -0400 zsh (4.0.6-31) unstable; urgency=medium * Apply Oliver's patches to fix floating point l10n problems. closes: #164686. * Apply Peter's patch to fix null array vared segfault. closes: #187259. -- Clint Adams Tue, 13 May 2003 09:37:26 -0400 zsh (4.0.6-30) unstable; urgency=medium * Patch echoti so that it supports args. -- Clint Adams Tue, 25 Mar 2003 00:35:48 -0500 zsh (4.0.6-29) unstable; urgency=low * Merge in more fixes from 4.0 branch. -- Clint Adams Sat, 22 Mar 2003 01:38:47 -0500 zsh (4.0.6-28) unstable; urgency=low * Apply Phil Troin's setpgid and suspend-exec-fix patches. closes: #183902. -- Clint Adams Sun, 9 Mar 2003 23:45:04 -0500 zsh (4.0.6-27) unstable; urgency=low * Revert experiments, and fix several configure test evaluations, none of which should be relevant to Debian. -- Clint Adams Wed, 26 Feb 2003 13:00:03 -0500 zsh (4.0.6-26) unstable; urgency=low * Re-apply Oliver's tar completion patch. closes: #182416. * Experiment a little with configure tests to get more information on why sbuild hangs for me on sparc. -- Clint Adams Tue, 25 Feb 2003 12:04:16 -0500 zsh (4.0.6-25) unstable; urgency=low * Merge more fixes from CVS. -- Clint Adams Mon, 24 Feb 2003 21:18:50 -0500 zsh (4.0.6-24) unstable; urgency=low * Generate md5sums for zsh-doc. closes: #182252. -- Clint Adams Sun, 23 Feb 2003 22:46:53 -0500 zsh (4.0.6-23) unstable; urgency=low * Fix rss in ulimit output. closes: #180306. -- Clint Adams Tue, 11 Feb 2003 12:39:49 -0500 zsh (4.0.6-22) unstable; urgency=low * Add maxfilelocks to ulimit output. -- Clint Adams Sat, 8 Feb 2003 20:07:55 -0500 zsh (4.0.6-21) unstable; urgency=low * Another CVS sync, pulling in completion for elinks and tidy, and bashcompinit. -- Clint Adams Thu, 6 Feb 2003 11:24:07 -0500 zsh (4.0.6-20) unstable; urgency=low * Add rzsh alternative. closes: #178252. * Update to Standards-Version 3.5.8. * Remove periods from short descriptions. -- Clint Adams Fri, 24 Jan 2003 22:27:20 -0500 zsh (4.0.6-19) unstable; urgency=low * Completion for lsof, mt, xsltproc, and other fixes. -- Clint Adams Sun, 19 Jan 2003 12:45:45 -0500 zsh (4.0.6-18) unstable; urgency=low * Fold debian/rules check target into build target to avoid fakeroot. * Merge lots of fixes completion improvements from 4.0 branch. * Don't install zsh-${version} hardlink anymore. -- Clint Adams Tue, 26 Nov 2002 03:55:25 -0500 zsh (4.0.6-17) unstable; urgency=low * Patch for tar completion from Oliver Kiddle. closes: #170654. -- Clint Adams Tue, 26 Nov 2002 00:58:15 -0500 zsh (4.0.6-16) unstable; urgency=low * Beautify indentation in whence, which, &c. closes: #163190. -- Clint Adams Wed, 13 Nov 2002 16:11:45 -0500 zsh (4.0.6-15) unstable; urgency=low * Remove /usr/doc detritus from zsh-doc and zsh-static postinsts and prerms. -- Clint Adams Sat, 26 Oct 2002 14:33:12 -0400 zsh (4.0.6-14) unstable; urgency=low * Run make check in binary-arch target. -- Clint Adams Sat, 26 Oct 2002 02:23:09 -0400 zsh (4.0.6-13) unstable; urgency=medium * Apply Stephen Rueger's fix to the apt-cache showsrc patch in #129428. closes: #165346. * Replace xli completion with Oliver's fix. -- Clint Adams Fri, 18 Oct 2002 14:36:14 -0400 zsh (4.0.6-12) unstable; urgency=low * Remove extraneous 's' in compinit message. closes: #164788. * Remove completion for xli since it doesn't match. closes: #164302. -- Clint Adams Tue, 15 Oct 2002 01:22:49 -0400 zsh (4.0.6-11) unstable; urgency=medium * Apply Martin Waitz's patch for memory leak in privasserted(). closes: #164207. -- Clint Adams Thu, 10 Oct 2002 21:12:00 -0400 zsh (4.0.6-10) unstable; urgency=low * Merge in additional fixes from upstream 4.0 branch. -- Clint Adams Fri, 4 Oct 2002 20:59:04 -0400 zsh (4.0.6-9) unstable; urgency=low * Add missing apt-get options to completion. closes: #163247. * Handle doogie's case foo in (foo)echo foo;;(bar)echo bar;;esac (no space between right paren and LIST) when in sh emulation mode. closes: #163237. -- Clint Adams Fri, 4 Oct 2002 17:14:57 -0400 zsh (4.0.6-8) unstable; urgency=medium * ZW#17252: fix unzip/_path_files interaction. Also fixes broken xli completion. closes: bug#160836, bug#161065. -- Clint Adams Mon, 16 Sep 2002 12:20:10 -0400 zsh (4.0.6-7) unstable; urgency=low * Fix CVS completion with respect to filenames containing spaces. Deja vu. closes: bug#160375. -- Clint Adams Tue, 10 Sep 2002 14:25:14 -0400 zsh (4.0.6-6) unstable; urgency=medium * Patch from JĂĽrgen A. Erhard to fix ssh-keygen completion. closes: bug#156404. -- Clint Adams Fri, 6 Sep 2002 02:27:36 -0400 zsh (4.0.6-5) unstable; urgency=medium * Fix CFLAGS for static build. * Install more example functions. -- Clint Adams Wed, 4 Sep 2002 17:46:45 -0400 zsh (4.0.6-4) unstable; urgency=low * Add missing lynx options. closes: bug#158853. * Add Oliver's lynx patch from 4.1. * debian/rules cleanup -- Clint Adams Wed, 4 Sep 2002 15:14:31 -0400 zsh (4.0.6-3) unstable; urgency=low * Fix typo in the 'clint' prompt theme. * Update to Standards-Version 3.5.7.0. * Support 'noopt' -- Clint Adams Fri, 16 Aug 2002 21:39:04 -0400 zsh (4.0.6-2) unstable; urgency=low * Bandage the terminfo "fix" causing segfault on startup. closes: bug#156840, bug#156842. -- Clint Adams Thu, 15 Aug 2002 17:47:52 -0400 zsh (4.0.6-1) unstable; urgency=low * New upstream release. -- Clint Adams Wed, 14 Aug 2002 13:33:34 -0400 zsh (4.0.5-1) unstable; urgency=low * New upstream release. -- Clint Adams Fri, 9 Aug 2002 15:28:23 -0400 zsh (4.0.4-53) unstable; urgency=low * Complete .xhtml files for lynx. closes: bug#155357. -- Clint Adams Tue, 6 Aug 2002 20:15:35 -0400 zsh (4.0.4-52) unstable; urgency=low * Complete local filenames after file:/// and file://localhost/ . closes: bug#155360. -- Clint Adams Tue, 6 Aug 2002 17:24:15 -0400 zsh (4.0.4-51) unstable; urgency=medium * Fix cvs completion thinko from -45. * Remove umask setting from global startup. closes: bug#154809. -- Clint Adams Tue, 30 Jul 2002 13:38:51 -0400 zsh (4.0.4-50) unstable; urgency=low * Move startup scripts to /etc/zsh/. closes: bug#154555. * Don't add /usr/doc/zsh symlink anymore. * Add debconf message about rc move, and dependency on debconf. -- Clint Adams Sun, 28 Jul 2002 17:30:27 -0400 zsh (4.0.4-49) unstable; urgency=low * Patch from Christian Marillat to complete more tags for bts(1). closes: bug#154145. * Fix documentation typo. closes: bug#154126. -- Clint Adams Wed, 24 Jul 2002 11:48:27 -0400 zsh (4.0.4-48) unstable; urgency=medium * Rearrange and improve examples. closes: bug#153939. -- Clint Adams Mon, 22 Jul 2002 21:48:33 -0400 zsh (4.0.4-47) unstable; urgency=low * Add completion for GNU GLOBAL, courtesy of Matt Zimmeran. closes: bug#153919. -- Clint Adams Mon, 22 Jul 2002 17:32:58 -0400 zsh (4.0.4-46) unstable; urgency=medium * ZW#17459: Properly exclude files which have RCS kflags from cvs add completion. closes: bug#152795. -- Clint Adams Mon, 22 Jul 2002 10:39:24 -0400 zsh (4.0.4-45) unstable; urgency=low * Refix #138688 and #147102, which accidentally slipped out. closes: bug#152318. -- Clint Adams Mon, 8 Jul 2002 18:53:30 -0400 zsh (4.0.4-44) unstable; urgency=low * Complete files after dpkg -S for Joy. -- Clint Adams Mon, 1 Jul 2002 12:13:32 -0400 zsh (4.0.4-43) unstable; urgency=medium * Merge additional parsing fixes from 4.0 branch CVS. * Also, replace Colin Walters's prompt theme, which had gone AWOL. -- Clint Adams Sat, 15 Jun 2002 13:30:42 -0400 zsh (4.0.4-42) unstable; urgency=low * Merge additional fixes and completion features from 4.0 branch CVS. -- Clint Adams Fri, 31 May 2002 22:39:37 -0400 zsh (4.0.4-41) unstable; urgency=low * Merge additional fixes from 4.0 branch CVS. -- Clint Adams Fri, 31 May 2002 16:33:22 -0400 zsh (4.0.4-40) unstable; urgency=low * Check output of manpath even when $manpath is set. closes: bug#148557. * ZW#16269: Don't segfault when trying to complete ^ when GLOB_COMPLETE and EXTENDED_GLOB are set. closes: bug#148607. -- Clint Adams Fri, 31 May 2002 01:00:52 -0400 zsh (4.0.4-39) unstable; urgency=low * ZW#16776: Don't segfault for certain repeated completions. -- Clint Adams Tue, 28 May 2002 21:20:15 -0400 zsh (4.0.4-38) unstable; urgency=low * Option descriptions in make-kpkg completion. * Do not complete udebs for dpkg -i or --unpack. closes: bug#148372. * Make helpfiles build again. closes: bug#148378. -- Clint Adams Tue, 28 May 2002 10:12:20 -0400 zsh (4.0.4-37) unstable; urgency=low * Don't choke when all the matching nonentried CVS files also match ~/.cvsignore when user is trying to complete a cvs add. closes: bug#148217. -- Clint Adams Sun, 26 May 2002 15:23:12 -0400 zsh (4.0.4-36) unstable; urgency=low * Respect $CVSIGNORE. closes: bug#147853. * Complete files other than *.pl and *.pm for perl. closes: bug#148159. -- Clint Adams Sat, 25 May 2002 14:10:25 -0400 zsh (4.0.4-35) unstable; urgency=low * Fix CVS completion with respect to filenames containing spaces. closes: bug#147102. -- Clint Adams Tue, 21 May 2002 10:28:54 -0400 zsh (4.0.4-34) unstable; urgency=medium * Fixed typo in _spamassassin. closes: bug#144915. * Build modules on the Hurd after the ABI change. -- Clint Adams Mon, 29 Apr 2002 16:46:08 -0400 zsh (4.0.4-33) unstable; urgency=high * Avoid dangling alternative on upgrade from potato. closes: bug#144709. -- Clint Adams Sat, 27 Apr 2002 10:34:25 -0400 zsh (4.0.4-32) unstable; urgency=medium * Complete all files for w3m. closes: bug#143885. -- Clint Adams Thu, 25 Apr 2002 11:19:33 -0400 zsh (4.0.4-31) unstable; urgency=medium * ZW#16201 to fix Vincent Lefevre's named directory disappearance problem. closes: bug#140726. -- Clint Adams Sat, 13 Apr 2002 15:29:42 -0400 zsh (4.0.4-30) unstable; urgency=medium * Bring /usr/bin/zsh under alternatives. closes: bug#140870. -- Clint Adams Fri, 12 Apr 2002 21:56:04 -0400 zsh (4.0.4-29) unstable; urgency=medium * Complete for aaaa, ns, mx, txt, zone. closes: bug#141870. * Complete package name argument for apt-cache policy. closes: bug#141820. -- Clint Adams Fri, 12 Apr 2002 19:25:30 -0400 zsh (4.0.4-28) unstable; urgency=low * Patch from Hugo Haas to complete ssh -1 as well as ssh -2. closes: bug#140408. -- Clint Adams Thu, 4 Apr 2002 07:50:12 -0500 zsh (4.0.4-27) unstable; urgency=medium * Fix rsync completion so that it completes remote files via rsync and ssh, and all rsync 2.5.2 options. closes: bug#138690. -- Clint Adams Sun, 17 Mar 2002 14:04:03 -0500 zsh (4.0.4-26) unstable; urgency=low * Complete .dvi.gz and .dvi.bz2 for xdvi. closes: bug#138687. * Complete multiple -j's after cvs update. closes: bug#138688. -- Clint Adams Sun, 17 Mar 2002 00:04:47 -0500 zsh (4.0.4-25) unstable; urgency=medium * Update issues in BUGS and TODO. * Add Matt Zimmeran's netcat completion function. closes: bug#137563. * Fix completion for nedit-nc. -- Clint Adams Sat, 9 Mar 2002 21:58:09 -0500 zsh (4.0.4-24) unstable; urgency=low * Move zsh binary to /bin so it can more safely be used as /bin/sh or root's shell. -- Clint Adams Thu, 7 Mar 2002 20:08:22 -0500 zsh (4.0.4-23) unstable; urgency=low * Completion for irssi, thanks to Istvan Sebestyen. closes: bug#136682. * ZW#16635: display lists in singlelinezle mode. -- Clint Adams Thu, 7 Mar 2002 08:45:34 -0500 zsh (4.0.4-22) unstable; urgency=low * Completion for cdcd, thanks to Gergely Nagy. closes: bug#133925. * Allow "while do done" to be interrupted. closes: bug#107528. -- Clint Adams Wed, 20 Feb 2002 22:24:12 -0500 zsh (4.0.4-21) unstable; urgency=medium * Added Colin Walters's prompt. * Tweaked my prompt. * Improved scp completion of remote files, thanks to David Engel. closes: bug#131358. * Improved dict completion, thanks to Matt Zimmerman. closes: bug#132922. -- Clint Adams Sun, 10 Feb 2002 12:12:16 -0500 zsh (4.0.4-20) unstable; urgency=medium * Small fix to zip completion. * Complete urls for konqueror, skipstone, light, dillo. -- Clint Adams Sun, 3 Feb 2002 16:31:45 -0500 zsh (4.0.4-19) unstable; urgency=medium * Complete short options and local files for rsync. closes: bug#131657. -- Clint Adams Sun, 3 Feb 2002 01:17:55 -0500 zsh (4.0.4-18) unstable; urgency=medium * Change permissions on modules to 644. closes: bug#131848. -- Clint Adams Fri, 1 Feb 2002 09:13:53 -0500 zsh (4.0.4-17) unstable; urgency=medium * ZW#16507: Fix ./ completion as was broken by the fix for 129864. closes: bug#131468. * Fix completion for initscripts. -- Clint Adams Tue, 29 Jan 2002 21:05:23 -0500 zsh (4.0.4-16) unstable; urgency=medium * Warn on fclose or fflush errors in bin_print. closes: bug#130817. * ZW#16435: Fix core dump in `hash'. * "Command" completion now respects $PATH. closes: bug#129864. -- Clint Adams Sun, 27 Jan 2002 18:10:49 -0500 zsh (4.0.4-15) unstable; urgency=low * Matt Zimmerman's patch: completion for apt-cache showsrc. closes: bug#129428. -- Clint Adams Thu, 17 Jan 2002 09:31:40 -0500 zsh (4.0.4-14) unstable; urgency=medium * ZW#16408: Patch to make sure auto menu isn't started accidentally when bashautolist is set. closes: bug#124033. -- Clint Adams Wed, 9 Jan 2002 08:48:01 -0500 zsh (4.0.4-13) unstable; urgency=medium * Fix manpage completion of the letter 'l'. closes: bug#125936. * Do not depend on $fpath in the postinst and prerm. closes: bug#125601. -- Clint Adams Thu, 20 Dec 2001 13:51:45 -0500 zsh (4.0.4-12) unstable; urgency=high * Completion for make-kpkg. -- Clint Adams Sun, 16 Dec 2001 20:20:50 -0500 zsh (4.0.4-11) unstable; urgency=high * Modernize apt-cache completion. closes: bug#123996. * Completion for mozilla. -- Clint Adams Sat, 15 Dec 2001 19:01:45 -0500 zsh (4.0.4-10) unstable; urgency=high * Fix annoying zsh/terminfo module segfault on IA-64. closes: bug#123902. Thanks to James Troup for tracking the problem down. -- Clint Adams Thu, 13 Dec 2001 23:26:36 -0500 zsh (4.0.4-9) unstable; urgency=high * Do not bind keys dynamically if TERM is equal to emacs so that zsh will not choke when called from XEmacs. closes: bug#123671. * Complete .udebs as well as .debs for dpkg. closes: bug#123390. -- Clint Adams Wed, 12 Dec 2001 20:00:19 -0500 zsh (4.0.4-8) unstable; urgency=high * Try to get keybindings from ncurses instead of assuming VT100. Also, make "not a large assumption" about ncurses idiosyncracies. -- Clint Adams Sun, 9 Dec 2001 23:47:05 -0500 zsh (4.0.4-7) unstable; urgency=medium * Command completion for spamassassin. -- Clint Adams Sun, 9 Dec 2001 13:29:16 -0500 zsh (4.0.4-6) unstable; urgency=low * No longer build-depend on debhelper. -- Clint Adams Sat, 8 Dec 2001 14:12:48 -0500 zsh (4.0.4-5) unstable; urgency=medium * Completion for rsync. -- Clint Adams Thu, 29 Nov 2001 12:09:53 -0500 zsh (4.0.4-4) unstable; urgency=low * mhp's patch for dupload completion to check ~/.dupload.conf. closes: bug#120371. -- Clint Adams Mon, 26 Nov 2001 12:23:12 -0500 zsh (4.0.4-3) unstable; urgency=medium * Completion for dput. closes: bug#119353. -- Clint Adams Sun, 18 Nov 2001 15:48:13 -0500 zsh (4.0.4-2) unstable; urgency=high * Fix make targets. -- Clint Adams Tue, 30 Oct 2001 11:18:16 -0500 zsh (4.0.4-1) unstable; urgency=medium * New upstream release. -- Clint Adams Fri, 26 Oct 2001 09:56:16 -0400 zsh (4.0.3-1) unstable; urgency=medium * New upstream release. -- Clint Adams Thu, 25 Oct 2001 09:59:32 -0400 zsh (4.0.2-9) unstable; urgency=medium * Don't make empty example directories in /usr/share/doc. closes: bug#113959. -- Clint Adams Sun, 30 Sep 2001 13:24:48 -0400 zsh (4.0.2-8) unstable; urgency=high * Try not to choke in the prerm when cleaning out the compiled function digests. closes: bug#112955. -- Clint Adams Fri, 21 Sep 2001 16:44:21 -0400 zsh (4.0.2-7) unstable; urgency=medium * Don't complain about policy-compliant "insecure" directories in $fpath. -- Clint Adams Thu, 6 Sep 2001 17:05:58 -0400 zsh (4.0.2-6) unstable; urgency=medium * Move site-functions dir to /usr/local. -- Clint Adams Sun, 2 Sep 2001 18:35:04 -0400 zsh (4.0.2-5) unstable; urgency=low * Exclude libcap build-dep on hurd-i386. closes: bug#111004. -- Clint Adams Sun, 2 Sep 2001 17:48:30 -0400 zsh (4.0.2-4) unstable; urgency=medium * Add completion for links(1). -- Clint Adams Thu, 23 Aug 2001 09:53:25 -0400 zsh (4.0.2-3) unstable; urgency=medium * Make gzip completion behave properly for -l and -t. closes: bug#106958. * Make unzip completion behave properly for unzip -Z. closes: bug#108626. * Compensate for inanities permeating resource.h of glibc 2.2.4 on sparc64, causing the ``no such resource: coredumpsize'' problem noticed by Joy. -- Clint Adams Tue, 21 Aug 2001 15:31:08 -0400 zsh (4.0.2-2) unstable; urgency=low * Added build-dep on bsdmainutils. * Fixed typo in ssh_completion example. closes: bug#106470. -- Clint Adams Fri, 27 Jul 2001 10:51:54 -0400 zsh (4.0.2-1) unstable; urgency=medium * New upstream stable release. * Don't segfault on shoop.sh. closes: bug#101523. * Better last(1) completion. closes: bug#102153. * Changed build-dep on groff to groff-base. * Added missing build-dep on libcap-dev. -- Clint Adams Tue, 26 Jun 2001 11:16:28 -0400 zsh (4.0.1-1) unstable; urgency=high * New upstream stable release. -- Clint Adams Fri, 1 Jun 2001 11:32:15 -0400 zsh (4.0.0+4.0.1.pre5-2) unstable; urgency=high * Matt Zimmerman's cleaner _perl_config_vars(). closes: bug#99096. * update-alternatives completion. closes: bug#98980. * Matt Zimmerman's patch for apt-get --reinstall completion. closes: bug#98454. * Change prompt expansion of %# to ignore significance of Inheritable capabilities. closes: bug#98475. * Make ZLS_COLOURS and ZLS_COLORS a bit more consistent in the face of compinit. closes: bug#98424. -- Clint Adams Wed, 30 May 2001 10:12:27 -0400 zsh (4.0.0+4.0.1.pre5-1) unstable; urgency=medium * New upstream development release. * Repatch completion for diff. -- Clint Adams Tue, 22 May 2001 10:05:31 -0400 zsh (4.0.0+4.0.1.pre4-4) unstable; urgency=medium * Fix completion for diff. closes: bug#97626. * Fix completion for modprobe. closes: bug#97627. * Fix completion for pdflatex. closes: bug#97881. * Introduce zsh-static binary package. -- Clint Adams Mon, 21 May 2001 17:46:32 -0400 zsh (4.0.0+4.0.1.pre4-3) unstable; urgency=medium * Add completion for rmmod and modprobe -r. closes: bug#97524. -- Clint Adams Tue, 15 May 2001 10:27:52 -0400 zsh (4.0.0+4.0.1.pre4-2) unstable; urgency=high * Actually byte-compile the functions this time. -- Clint Adams Fri, 11 May 2001 14:33:58 -0400 zsh (4.0.0+4.0.1.pre4-1) unstable; urgency=medium * New upstream development release. * Fixes bug in math evaluation. closes: bug#80977. * Fixes bug in CVS completion. closes: bug#92783. * Byte-compile included functions in postinst and remove in prerm. closes: bug#75207. * Use function directory hierarchy instead of flat. * Include Martin Waitz's Alt-Backspace key binding example. closes: bug#87731. * Updated Standards-Version to 3.5.3.0. -- Clint Adams Wed, 9 May 2001 10:09:45 -0400 zsh (4.0.0+4.0.1.pre3-2) unstable; urgency=medium * Fixed INSTALL_FLAGS typo in debian/rules. * Create and remove /usr/local/share/zsh/site-functions directory per ch.10.1.2 of policy. closes: bug#92743. -- Clint Adams Wed, 18 Apr 2001 21:15:57 -0400 zsh (4.0.0+4.0.1.pre3-1) unstable; urgency=medium * New upstream development release. closes: bug#93231. * Added completion for release names after apt-get -t or the slash. closes: bug#86854. -- Clint Adams Mon, 9 Apr 2001 20:47:42 -0400 zsh (4.0.0+4.0.1.pre2-2) unstable; urgency=high * Applied patch 13907, fix reverse string subscripting. closes: bug#92782. -- Clint Adams Thu, 5 Apr 2001 13:38:51 -0400 zsh (4.0.0+4.0.1.pre2-1) unstable; urgency=medium * New upstream development release. closes: bug#81294. * Add completion support for w3m. closes: bug#88717. * Update completion support for apt. half of 86854. -- Clint Adams Thu, 29 Mar 2001 15:57:57 -0500 zsh (3.1.9.dev8-5) stable; urgency=high * Fix build-deps for stable again. -- Clint Adams Wed, 28 Mar 2001 16:24:43 -0500 zsh (3.1.9.dev8-4) stable unstable; urgency=high * Don't segfault on a null path component. closes: bug#83354. -- Clint Adams Mon, 26 Mar 2001 16:13:28 -0500 zsh (3.1.9.dev8-3) unstable; urgency=medium * No longer set PS1 in /etc/zshrc. closes: bug#80970. * Set READNULLCMD as per Debian pager policy. closes: bug#82823. * Michal Politowski's patch for _complete_tag. closes: bug#91778. * Michal Politowski's patch for _pids. closes: bug#91792. -- Clint Adams Mon, 26 Mar 2001 14:09:01 -0500 zsh (3.1.9.dev8-2) unstable; urgency=high * Fixed typo in apt-cache completion. closes: bug#80339. * Fixed dpkg -i completion of multiple debs. closes: bug#80178. * Fixed segfault on nonexistent capabilities in terminfo. * Fixed jobtable size autoconf code. -- Clint Adams Sat, 23 Dec 2000 01:57:09 -0500 zsh (3.1.9.dev8-1) unstable; urgency=medium * New upstream development release. closes: bug#69928, bug#74874, bug#76789. * Bind arrow keys in vi insert mode. closes: bug#77496. -- Clint Adams Tue, 5 Dec 2000 20:01:19 -0500 zsh (3.1.9.dev7-2) unstable; urgency=low * Changed global zshrc so that root's umask is set by default to 022. Patch from Miquel van Smoorenburg closes: bug#76767. -- Clint Adams Sun, 12 Nov 2000 00:01:06 -0500 zsh (3.1.9.dev7-1) unstable; urgency=medium * New upstream development release. -- Clint Adams Sun, 22 Oct 2000 01:42:26 -0400 zsh (3.1.9.dev6-7) stable; urgency=medium * Reissue to fix bad i386 build. -- Clint Adams Sun, 8 Oct 2000 01:21:01 -0400 zsh (3.1.9.dev6-6) stable; urgency=medium * Backport to fix grave bug in potato. -- Clint Adams Sat, 7 Oct 2000 13:01:22 -0400 zsh (3.1.9.dev6-5) unstable; urgency=medium * Change behavior of failed redirection of builtins and such to mimic that of forked binaries. closes: bug#72288. -- Clint Adams Mon, 2 Oct 2000 11:07:33 -0400 zsh (3.1.9.dev6-4) unstable; urgency=medium * Fix compctl.dpkg example so that it functions when EXTENDED_GLOB is set and added some comments. closes: bug#71474. * Remove explicit color settings from BODY tags of html docs after texi2html puts them there. closes: bug#71627. -- Clint Adams Tue, 12 Sep 2000 16:08:46 -0400 zsh (3.1.9.dev6-3) unstable; urgency=low * Restore build dependencies for woody. Source is now divergent. -- Clint Adams Mon, 11 Sep 2000 03:37:12 -0400 zsh (3.1.9.dev6-2potato1) stable; urgency=high * Fix build dependencies for potato. closes: bug#71145. * Incidentally, gzipped PostScript files are now completed for gv as of dev-6, so this closes: bug#56485. -- Clint Adams Mon, 11 Sep 2000 03:26:42 -0400 zsh (3.1.9.dev6-2) stable unstable; urgency=high * Add module aliasing to /etc/zshrc to provide backward compatibility with versions prior to 3.1.9-dev-5. closes: bug#71046. -- Clint Adams Thu, 7 Sep 2000 11:37:33 -0400 zsh (3.1.9.dev6-1) stable unstable; urgency=medium * New upstream development release. -- Clint Adams Mon, 4 Sep 2000 11:59:01 -0400 zsh (3.1.9.dev5-3) stable unstable; urgency=medium * Complete files after man -l instead of manpages. closes: bug#70755. -- Clint Adams Sun, 3 Sep 2000 17:47:50 -0400 zsh (3.1.9.dev5-2) stable unstable; urgency=medium * Fixed broken dpkg completion. Probably closes: bug#70610. * The segfault on the time builtin has been fixed since 3.1.9-4, but people are obviously going to keep reporting it until it gets into potato. This is destined for proposed-updates, so hopefully it closes: bug#70683. -- Clint Adams Fri, 1 Sep 2000 10:02:56 -0400 zsh (3.1.9.dev5-1) unstable; urgency=medium * New upstream development release. * Updated standards version. -- Clint Adams Fri, 11 Aug 2000 15:55:44 -0400 zsh (3.1.9.dev4-1) unstable; urgency=medium * New upstream development release. * Moved additional keybindings out of source and into global zshrc. -- Clint Adams Mon, 31 Jul 2000 13:15:35 -0400 zsh (3.1.9.dev3-1) unstable; urgency=medium * New upstream development release. * Removed preinst. closes: bug#67252. -- Clint Adams Mon, 17 Jul 2000 19:54:50 -0400 zsh (3.1.9.dev2-1) unstable; urgency=medium * New upstream development release. Fixes ignored-patterns bug; closes: bug#66464. -- Clint Adams Mon, 3 Jul 2000 12:07:04 -0400 zsh (3.1.9-5) unstable; urgency=medium * Added explanation of deriving ssh host completion possibilities from known_hosts file to examples directory. -- Clint Adams Sun, 25 Jun 2000 10:19:09 -0400 zsh (3.1.9-4) unstable; urgency=medium * Moved umask setting from /etc/zprofile to /etc/zshrc, added conditional. closes: bug#65596. * ZW#11885: Patch for 'time time'. closes: bug#65602, bug#65604. -- Clint Adams Wed, 14 Jun 2000 09:42:15 -0400 zsh (3.1.9-3) unstable; urgency=medium * Fixed TRAPEXIT segfault problem. closes: bug#65350. * Bart Schaefer's patch to prevent coredumps during menu selection when the terminal does not have a programmable cursor. -- Clint Adams Sat, 10 Jun 2000 13:14:14 -0400 zsh (3.1.9-2) unstable; urgency=medium * Tanaka Akira's patch fixing apt-get completion. -- Clint Adams Thu, 8 Jun 2000 09:11:05 -0400 zsh (3.1.9-1) unstable; urgency=medium * New upstream beta release. * Completion for dpkg improved. closes: bug#61710. -- Clint Adams Tue, 6 Jun 2000 09:17:41 -0400 zsh (3.1.7-1) unstable; urgency=medium * New upstream beta release. closes: bug#60989, #62126, #62128, #63781, #64125, #64131, #64582, #64684, #64695, #64517. * Updated Build-Depends to include debhelper. * Updated copyright file. * Included Ray's sample zshrc previously featured in zsh-beta. * Expanded job table size limit. closes: bug#49221. -- Clint Adams Tue, 30 May 2000 11:00:38 -0400 zsh (3.1.6.pws21-1) frozen unstable; urgency=high * New upstream development release. compinstall no longer inserts the invalid command 'compstyle' into .zshrc. closes: bug#61326. * ZW#10463: Add PM_HASHELEM type to avoid allexport spewing assoc. array subparameters into the environment. closes: bug#60597. * Fixed bad awk command for zftp completion. closes: bug#60754. * ZW#10408, SF#103798: Fix space-containing directory completion brain damage. closes: bug#61567. * Fixed _dpkg completion thinko for -i and non-completion for -S mentioned by Joy in bug #61710. * Added core completion functions accidentally left out of tarball. -- Clint Adams Tue, 4 Apr 2000 22:55:14 -0400 zsh (3.1.6.pws20-1) frozen unstable; urgency=high * New upstream development release. fixes "cd" coredump. closes: bug#58941. -- Clint Adams Sat, 25 Mar 2000 09:38:05 -0500 zsh (3.1.6.pws19-1) frozen unstable; urgency=high * New upstream development release. fixes _x_argument to complete files also. closes: bug#58229. fixes bad function termination coredump. * Works around broken FIFOs in configure test. closes: bug#58036. -- Clint Adams Mon, 21 Feb 2000 14:31:23 -0500 zsh (3.1.6.pws16-1) frozen unstable; urgency=low * New upstream development release. Fixes incorrect module-loading in Zftp. closes: bug#55809. Dozens of bugfixes. -- Clint Adams Fri, 28 Jan 2000 10:43:55 -0500 zsh (3.1.6.pws15-1) unstable; urgency=low * New upstream development release. Fixes typo in a2ps completion. closes: bug#55004. -- Clint Adams Sat, 15 Jan 2000 13:35:02 -0500 zsh (3.1.6.pws14-1) unstable; urgency=low * New upstream development release. * Fixed new-style dpkg completion. closes: bug#53339. -- Clint Adams Fri, 7 Jan 2000 10:23:09 -0500 zsh (3.1.6.pws13-1) unstable; urgency=low * New upstream release. * Fixed new-style completion for tar. closes: bug#52785. -- Clint Adams Fri, 24 Dec 1999 17:34:31 -0500 zsh (3.1.6.pws12-1) unstable; urgency=low * New upstream release. * Cleaned up stray config.cache. closes: bug #52432. -- Clint Adams Thu, 16 Dec 1999 12:20:04 -0500 zsh (3.1.6.pws11-1) unstable; urgency=low * New upstream release. * Note about completion being off by default in README.Debian. closes: bug#49374, bug#50009, bug#51150. -- Clint Adams Wed, 8 Dec 1999 17:26:51 -0500 zsh (3.1.6.pws10-2) unstable; urgency=high * Fix to prevent infinite loop upon abrupt termination. closes: bug#51802, bug#51810, bug#51828. -- Clint Adams Fri, 3 Dec 1999 10:56:10 -0500 zsh (3.1.6.pws10-1) unstable; urgency=low * New upstream release. closes: bug#51304. * Now impersonates a compiler when printing script errors. closes: bug#51059. -- Clint Adams Mon, 29 Nov 1999 18:58:03 -0500 zsh (3.1.6.pws9-1) unstable; urgency=low * New upstream release. * Changed fix for floating point arithmatic evaluation to be locale-independent. Again closes: bug#49789. * Moved doc alternatives fix to preinst. closes: bug#50835. * Moved install-docs correction to preinst. closes: bug#50919. -- Clint Adams Mon, 22 Nov 1999 09:59:12 -0500 zsh (3.1.6.pws6.tanaka19991119-1) unstable; urgency=low * New "upstream" snapshot. * Removed errant config.cache causing glibc2.0 build problems. closes: bug#49966. * Removed alternative handling of info files. -- Clint Adams Fri, 19 Nov 1999 12:08:40 -0500 zsh (3.1.6.pws6.tanaka19991111-1) unstable; urgency=low * New "upstream" snapshot. * Tweaked math/locale interaction to allow setting of floating point variables where the decimal point is a comma. closes: bug#49789. -- Clint Adams Thu, 11 Nov 1999 11:28:36 -0500 zsh (3.1.6.pws6.tanaka19991110-1) unstable; urgency=low * New "upstream" snapshot. * Corrected keybinding thinko. closes: bug#49750. -- Clint Adams Wed, 10 Nov 1999 10:29:56 -0500 zsh (3.1.6.pws6.tanaka19991109-1) unstable; urgency=low * New "upstream" snapshot. -- Clint Adams Tue, 9 Nov 1999 10:45:41 -0500 zsh (3.1.6.pws6.tanaka19991108-1) unstable; urgency=low * New "upstream" snapshot. * Fixed erroneous length calculation involving 79-character strings in 80-column windows. closes: bug#38538. * Fixed zsh-doc's Architecture field. -- Clint Adams Mon, 8 Nov 1999 09:44:33 -0500 zsh (3.1.6.pws6.tanaka19991107-1) unstable; urgency=low * New "upstream" snapshot. -- Clint Adams Sun, 7 Nov 1999 10:52:44 -0500 zsh (3.1.6.pws6.tanaka19991105-1) unstable; urgency=low * New "upstream" snapshot. -- Clint Adams Fri, 5 Nov 1999 10:16:41 -0500 zsh (3.1.6.pws6.tanaka19991104-1) unstable; urgency=low * New "upstream" snapshot. * Fixed erroneous discrepancies with bart-8. -- Clint Adams Thu, 4 Nov 1999 10:28:28 -0500 zsh (3.1.6.pws6.tanaka19991103-1) unstable; urgency=low * New "upstream" snaphot. * Now including completion-style-guide in /usr/share/doc/zsh -- Clint Adams Wed, 3 Nov 1999 12:01:28 -0500 zsh (3.1.6.pws6.tanaka19991102-1) unstable; urgency=low * New "upstream" snapshot. * Fixed references to /usr/local/bin/zsh in some functions. -- Clint Adams Tue, 2 Nov 1999 13:46:20 -0500 zsh (3.1.6.pws6.tanaka19991031-1) unstable; urgency=low * New "upstream" snapshot. closes: bug#48483. * Forked zsh/zsh-doc from zsh-beta/zsh-beta-doc. -- Clint Adams Sun, 31 Oct 1999 22:16:30 -0500 zsh (3.1.6.pws6.tanaka19991028-1) unstable; urgency=low * New "upstream" snapshot. * Improved doc-share/doc symlink handling. * manpages and info now under alternatives mechanism. -- Clint Adams Thu, 28 Oct 1999 10:26:59 -0400 zsh (3.1.6.pws6.tanaka19991027-1) unstable; urgency=low * New "upstream" snapshot. * Applied Csaba Benedek's compctl.dpkg example fix. closes: bug#48472. * Split HTML and info docs into separate binary package. -- Clint Adams Wed, 27 Oct 1999 11:09:49 -0400 zsh (3.1.6.pws6.bart7-1) unstable; urgency=low * New "upstream" release. closes: bug#44059, bug#47398. * Disabled tcsetpgrp test to allow job control to be built on powerpc. closes: bug#47591. -- Clint Adams Tue, 19 Oct 1999 11:45:11 -0400 zsh (3.1.6.pws6-1) unstable; urgency=low * New upstream release. * Fixed doc-base inconsistency. closes: bug#45648. -- Clint Adams Sun, 26 Sep 1999 16:34:16 -0400 zsh (3.1.6.pws5-1) unstable; urgency=low * New upstream release. * Debian changelog is now back in the binary package. closes: bug#45295. -- Clint Adams Mon, 20 Sep 1999 11:11:47 -0400 zsh (3.1.6.pws4-1) unstable; urgency=low * New upstream release. * Day of ridiculous symlinks. /bin/zsh (managed by alternatives), closes: bug#41018 /usr/doc/zsh -> /usr/share/doc/zsh. * Added support for DEB_BUILD_OPTIONS containing 'debug'. * Moved info files to /usr/share/info * Added registration of Z Shell Guide with doc-base. -- Clint Adams Tue, 14 Sep 1999 11:28:34 -0400 zsh (3.1.6.pws3-1) unstable; urgency=low * New upstream release. closes: bug#41242, bug#41895. -- Clint Adams Tue, 7 Sep 1999 14:50:40 -0400 zsh (3.1.6-3) unstable; urgency=low * Fixed silly typo in the postinst. -- Clint Adams Wed, 1 Sep 1999 04:00:43 -0400 zsh (3.1.6-2) unstable; urgency=low * Added menu entry. * Moved documentation from /usr/doc to /usr/share/doc. * Fixed compctl.dpkg examples; patch from Gregor Hoffleit. closes: #43662. -- Clint Adams Sun, 29 Aug 1999 08:18:19 -0400 zsh (3.1.6-1) unstable; urgency=low * New upstream release. closes: bug#41644, bug#43034. * Fixed bad default FPATH. closes: bug#40777, bug#41028, bug#41893. * Fixed up compctl.dpkg examples pointed out by Fabien Ninoles. closes: bug#41894. -- Clint Adams Wed, 11 Aug 1999 09:48:00 -0400 zsh (3.1.5.pws24-1) unstable; urgency=low * New upstream release. * Changed Rob Leslie's run-help in the source diff instead of in the rules file. closes: bug# 38614 again. -- Clint Adams Mon, 28 Jun 1999 20:22:15 -0400 zsh (3.1.5.pws21-1) unstable; urgency=low * New upstream release. * Turned off globbing flags when EXTENDED_GLOB unset. closes: bug#38312 -- Clint Adams Sun, 13 Jun 1999 12:36:52 -0400 zsh (3.1.5.pws20-1) unstable; urgency=low * New "upstream" release. * run-help now uses pager instead of more. bug# 38614. * MAILPATH maildir support patch from Miquel van Smoorenburg . bug# 38793. * Hardcoded (ugh) Home, End, and Delete key bindings. bug# 26862, bug# 30792. -- Clint Adams Thu, 3 Jun 1999 00:01:16 -0400 zsh (3.1.5.pws19-1) unstable; urgency=low * New "upstream" release. * Moved /usr/lib/zsh to /usr/share/zsh. Bug# 38086. -- Clint Adams Sat, 22 May 1999 22:23:17 -0400 zsh (3.1.5.pws18-1) unstable; urgency=low * New "upstream" release. -- Clint Adams Sat, 15 May 1999 15:48:19 -0400 zsh (3.1.5.pws17-1) unstable; urgency=low * New upstream release. fixes bug #35119, bug #32144. * Fixed quotes on dpkg compctl example. bug# 36995 -- Clint Adams Mon, 10 May 1999 17:23:33 -0400 zsh (3.1.5.pws16-1) unstable; urgency=low * New upstream release. (Fixes bug #24910, bug# 26861, bug# 27871). * unset dpkg_options in compctl example (bug# 36337). -- Clint Adams Wed, 28 Apr 1999 16:57:17 -0400 zsh (3.1.2-12) frozen unstable; urgency=low * Removed unlimit coredumpsize from /etc/zprofile. closes: bug#23029. -- Clint Adams Sun, 7 Feb 1999 13:35:47 -0500 zsh (3.1.2-11) frozen unstable; urgency=high * Bart Schaefer's init patch prevents coredumps when running zsh -c or zsh -o without arguments or zsh with a nonexistent filename. closes: bug#26861, bug#27871, bug#24910. -- Clint Adams Sun, 7 Feb 1999 09:47:11 -0500 zsh (3.1.2-10) frozen unstable; urgency=high * Removed --enable-zsh-mem to avoid problems on other sparc and other architectures. fixes: #29984, #30512. * Fixed badly quoted manpages. (bug#29998). * Only will set FPATH in /etc/zshrc if unset. (bug#29634). -- Clint Adams Fri, 22 Jan 1999 13:34:19 -0500 zsh (3.1.2-9) frozen unstable; urgency=low * Added binding for Del key. bug#24258. * Fixed paths in examples. bug#25402. * Added Karl Hegbloom's compctl examples. bug#23272. -- Clint Adams Mon, 9 Nov 1998 18:30:27 -0500 zsh (3.1.2-8) frozen unstable; urgency=high * Applied Peter Stephenson's patch alleviating the reverse-history-search segmentation fault in login shells problem (bug#23033). * Changed /etc/zshenv to set PATH only if unset or if set to /bin:/usr/bin (bug#22400, bug#23036). -- Clint Adams Sat, 11 Jul 1998 01:57:45 -0400 zsh (3.1.2-7) frozen unstable; urgency=high * Fixed improper generation of signal list. -- Clint Adams Mon, 18 May 1998 11:27:30 -0400 zsh (3.1.2-6) frozen unstable; urgency=low * Applied patch to correct miscalculation in spaceinline(). * Changed /etc/zshenv to only set PATH if unset. -- Clint Adams Thu, 14 May 1998 01:43:58 -0400 zsh (3.1.2-5) frozen unstable; urgency=low * Included current FAQ. * Applied patch to fix prefix completion in zle_tricky * Applied patch to fix clobbering behavior. * Applied patch to fix typeset -U array; array=(1 2 1) creating a non-unique array. * Applied patch to fix unbalanced stack error on $((0x1+0x1)). * Applied patch to fix incorrect prototype from match_username cast in zle_tricky. * Applied patches to read builtin. * Applied patches to fix glob coredumping. * Moved FPATH, PS1, and autoload of run-help to /etc/zshrc. bug#20043. * Moved setting of PATH back to /etc/zshenv. -- Clint Adams Thu, 7 May 1998 20:38:01 -0400 zsh (3.1.2-4) frozen unstable; urgency=high * Applied Bernd Eggink's patch to make select comply with the documentation. * Applied Bernd Eggink's patches to bin_getopts() fixing several bugs. * Patched doinsert() to fix nasty problem of segfaults and other oddities involved with metacharacters under X. fixes: bug#18791. * Some minor aesthetic modifications to the package description, including those demanded by Richard Braakman. fixes: bug#18987. * Stopped debstd from sneaking ansi2knr.1 into /usr/man/man1. fixes: bug#17833. -- Clint Adams Tue, 17 Mar 1998 02:46:42 -0500 zsh (3.1.2-3) unstable; urgency=medium * Fixed typo in debian/rules (bug #17858). * Applied zefram3 patches. Bug #18039 is fixed. * Removed "." from default PATH (bug #18047). -- Clint Adams Tue, 17 Feb 1998 21:53:45 -0500 zsh (3.1.2-2) unstable; urgency=high * Disabled dynamic module support. -- Clint Adams Thu, 5 Feb 1998 00:02:35 -0500 zsh (3.1.2-1) unstable; urgency=low * New upstream release. * Changed default umask from 022 to 002. * Moved contents of /etc/zshenv and /etc/zshrc to /etc/zprofile to avoid overriding PATH on every shell invocation (bug #17582). * Modified configure script to search for utmp in /var/run before /etc. * Modified configure script to search for wtmp in /var/log before /etc (bug #15802). * Redisabled HISTCHARS/histchars import. -- Clint Adams Tue, 3 Feb 1998 14:50:00 -0500 zsh (3.0.5-2) unstable; urgency=low * Changed HISTCHARS/histchars to not reset (bug #6236). -- Clint Adams Fri, 28 Nov 1997 00:31:13 -0500 zsh (3.0.5-1) unstable; urgency=low * New upstream release -- Clint Adams Fri, 26 Sep 1997 13:35:56 -0400 zsh (3.0.4-1) unstable; urgency=low * New upstream release. * New maintainer * Converted to use libc6. * Converted to new source packaging format. * Using pristine original source. * Added Joey Hess's compctl example for dpkg to /usr/doc/zsh/examples -- Clint Adams Thu, 24 Jul 1997 13:42:49 -0400 debian/zshrc0000664000000000000000000000742312176762527010271 0ustar # /etc/zsh/zshrc: system-wide .zshrc file for zsh(1). # # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, # options, key bindings, etc. # # Global Order: zshenv, zprofile, zshrc, zlogin READNULLCMD=${PAGER:-/usr/bin/pager} # An array to note missing features to ease diagnosis in case of problems. typeset -ga debian_missing_features if [[ -z "$DEBIAN_PREVENT_KEYBOARD_CHANGES" ]] && [[ "$TERM" != 'emacs' ]] then typeset -A key key=( BackSpace "${terminfo[kbs]}" Home "${terminfo[khome]}" End "${terminfo[kend]}" Insert "${terminfo[kich1]}" Delete "${terminfo[kdch1]}" Up "${terminfo[kcuu1]}" Down "${terminfo[kcud1]}" Left "${terminfo[kcub1]}" Right "${terminfo[kcuf1]}" PageUp "${terminfo[kpp]}" PageDown "${terminfo[knp]}" ) function bind2maps () { local i sequence widget local -a maps while [[ "$1" != "--" ]]; do maps+=( "$1" ) shift done shift sequence="${key[$1]}" widget="$2" [[ -z "$sequence" ]] && return 1 for i in "${maps[@]}"; do bindkey -M "$i" "$sequence" "$widget" done } bind2maps emacs -- BackSpace backward-delete-char bind2maps viins -- BackSpace vi-backward-delete-char bind2maps vicmd -- BackSpace vi-backward-char bind2maps emacs -- Home beginning-of-line bind2maps viins vicmd -- Home vi-beginning-of-line bind2maps emacs -- End end-of-line bind2maps viins vicmd -- End vi-end-of-line bind2maps emacs viins -- Insert overwrite-mode bind2maps vicmd -- Insert vi-insert bind2maps emacs -- Delete delete-char bind2maps viins vicmd -- Delete vi-delete-char bind2maps emacs viins vicmd -- Up up-line-or-history bind2maps emacs viins vicmd -- Down down-line-or-history bind2maps emacs -- Left backward-char bind2maps viins vicmd -- Left vi-backward-char bind2maps emacs -- Right forward-char bind2maps viins vicmd -- Right vi-forward-char # Make sure the terminal is in application mode, when zle is # active. Only then are the values from $terminfo valid. if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then function zle-line-init () { emulate -L zsh printf '%s' ${terminfo[smkx]} } function zle-line-finish () { emulate -L zsh printf '%s' ${terminfo[rmkx]} } zle -N zle-line-init zle -N zle-line-finish else for i in {s,r}mkx; do (( ${+terminfo[$i]} )) || debian_missing_features+=($i) done unset i fi unfunction bind2maps fi # [[ -z "$DEBIAN_PREVENT_KEYBOARD_CHANGES" ]] && [[ "$TERM" != 'emacs' ]] zstyle ':completion:*:sudo:*' command-path /usr/local/sbin \ /usr/local/bin \ /usr/sbin \ /usr/bin \ /sbin \ /bin \ /usr/X11R6/bin (( ${+aliases[run-help]} )) && unalias run-help autoload -Uz run-help # If you don't want compinit called here, place the line # skip_global_compinit=1 # in your $ZDOTDIR/.zshenv or $ZDOTDIR/.zprofile if [[ -z "$skip_global_compinit" ]]; then autoload -U compinit compinit fi debian/zsh-beta.preinst0000664000000000000000000000056312176762527012336 0ustar #!/bin/sh set -e case "$1" in (upgrade|install) : ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac for conffile in zlogin zlogout zprofile zshenv zshrc; do dpkg-maintscript-helper rm_conffile /etc/zsh-beta/$conffile 5 -- "$@" done #DEBHELPER# debian/zsh-common.install0000664000000000000000000000023112176762527012665 0ustar debian/zlogin etc/zsh debian/zlogout etc/zsh debian/zprofile etc/zsh debian/zshenv etc/zsh debian/zshrc etc/zsh debian/newuser.zshrc.recommended etc/zsh debian/zsh-common.docs0000664000000000000000000000030212176772123012137 0ustar #Doc/zsh.texi Etc/BUGS Etc/CONTRIBUTORS Etc/ChangeLog* Etc/FTP-README Etc/TODO Etc/completion-style-guide Etc/zsh-development-guide FEATURES Functions/README.zftp MACHINES #META-FAQ NEWS README debian/rules0000775000000000000000000002064512225533064010261 0ustar #!/usr/bin/make -f INSTALL = install INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk include /usr/share/dpkg/architecture.mk H_LDFLAGS = $(LDFLAGS) CFLAGS += -Wall -g CONFIGFLAGS = --prefix=/usr CONFIGFLAGS += --mandir=/usr/share/man CONFIGFLAGS += --bindir=/bin CONFIGFLAGS += LDFLAGS="-Wl,--as-needed -g $(H_LDFLAGS)" CONFIGFLAGS += --infodir=/usr/share/info CONFIGFLAGS += --enable-maildir-support CONFIGFLAGS += --enable-max-jobtable-size=256 CONFIGFLAGS += --enable-etcdir=/etc/zsh CONFIGFLAGS += --enable-function-subdirs CONFIGFLAGS += --enable-site-fndir=/usr/local/share/zsh/site-functions CONFIGFLAGS += --enable-fndir=/usr/share/zsh/functions CONFIGFLAGS += --with-tcsetpgrp CONFIGFLAGS += --with-term-lib="ncursesw tinfo" CONFIGFLAGS += --enable-cap --enable-pcre CONFIGFLAGS += --enable-readnullcmd=pager CONFIGFLAGS += --enable-custom-patchlevel=Debian CONFIGFLAGS += --enable-additional-fpath=/usr/share/zsh/vendor-functions,/usr/share/zsh/vendor-completions STATICFLAGS = --disable-dynamic STATICFLAGS += --enable-ldflags=-static STATICFLAGS += --disable-dynamic-nss ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CONFIGFLAGS += --enable-zsh-debug CONFIGFLAGS += --enable-zsh-mem-debug CONFIGFLAGS += --enable-zsh-mem-warning CONFIGFLAGS += --enable-zsh-secure-free CONFIGFLAGS += --enable-zsh-hash-debug endif BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libcap-dev libncursesw5-dev libpcre3-dev eglibc) build: build-arch build-indep build-arch: configure-stamp dh_auto_build -B obj --parallel HOME="$(CURDIR)/obj/testhome" dh_auto_test -B obj --parallel || true touch $@ build-indep: configure-stamp dh_auto_build -B obj --parallel -- pdf touch $@ build-static: configure-static-stamp dh_testdir dh_auto_build -B obj-static --parallel touch $@ build-debug: DEB_BUILD_OPTIONS+=debug build-debug: build configure: touch stamp-h.in dh_autoreconf dh_autotools-dev_updateconfig configure-stamp: configure dh_testdir chmod 755 configure mkdir -p obj/testhome dh_auto_configure -B obj -- $(CONFIGFLAGS) touch $@ configure-static-stamp: configure dh_testdir mkdir obj-static dh_auto_configure -B obj-static -- $(CONFIGFLAGS) $(STATICFLAGS) # cp debian/static.conf obj-static/Src/mymods.conf sed -i -e 's/files.mdd link=no/files.mdd link=static/;s/stat.mdd link=no/stat.mdd link=static/' \ obj-static/config.modules touch $@ clean: dh_testdir rm -rf Doc cp -ra doc/Doc . dh_autotools-dev_restoreconfig dh_autoreconf_clean rm -f build build-static dh_auto_clean -B obj --parallel dh_auto_clean -B obj-static --parallel dh_auto_clean --parallel dh_clean rm -rf config.cache obj obj-static autom4te.cache binary-indep: build-indep dh_testdir dh_testroot dh_install -pzsh-doc dh_installdocs -pzsh-doc -pzsh-beta -pzsh-beta-doc --link-doc=zsh-common dh_installdirs -pzsh-doc # Work around texi2html unfriendliness sed -i -e 's///' debian/zsh-doc/usr/share/doc/zsh-doc/html/*.html dh_installchangelogs -pzsh-doc dh_link -pzsh-beta -pzsh-beta-doc dh_compress -pzsh-doc -pzsh-beta -pzsh-beta-doc -Xpdf dh_fixperms -pzsh-doc -pzsh-beta -pzsh-beta-doc dh_installdeb -pzsh-doc -pzsh-beta -pzsh-beta-doc dh_md5sums -pzsh-doc -pzsh-beta -pzsh-beta-doc dh_gencontrol -pzsh-doc -pzsh-beta -pzsh-beta-doc dh_builddeb -pzsh-beta -pzsh-beta-doc dh_builddeb -pzsh-doc -- -Zxz binary-arch: binary-arch-dynamic binary-arch-static binary-arch-dev binary-arch-dynamic: build-arch dh_testdir dh_testroot dh_installdirs -pzsh -pzsh-common -pzsh-dbg cd obj && $(MAKE) install.man DESTDIR=$(CURDIR)/debian/zsh-common nroff -mandoc -Tascii Doc/zshbuiltins.1 | colcrt - | \ sed -e 's/±/{+|-}/' | ( cd debian/zsh-common/usr/share/zsh/help && \ perl $(CURDIR)/Util/helpfiles ) # functions dh_installexamples -pzsh-common -X.distfiles cd debian/zsh-common/usr/share/doc/zsh-common/examples/; mv Example Functions sed -i -e '1!b;s:^#!.*[ /]zsh:#!/bin/zsh:;s#/usr/local/bin#/usr/bin#' \ debian/zsh-common/usr/share/doc/zsh-common/examples/Misc/* cd obj && $(MAKE) install.bin DESTDIR=$(CURDIR)/debian/zsh INSTALL_PROGRAM='$(INSTALL_PROGRAM)' cd obj && $(MAKE) install.modules DESTDIR=$(CURDIR)/debian/zsh INSTALL_PROGRAM='$(INSTALL_PROGRAM)' cd obj && $(MAKE) install.fns DESTDIR=$(CURDIR)/debian/zsh-common rm -r debian/zsh-common/usr/local # move this to a non-root section; also drop it for cross-compiles ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) awk '/^#define FPATH_DIR/ { head=$$3; gsub(/"/,"",head); }; \ /^#define FPATH_SUBDIRS/ { $$1=""; $$2=""; gsub(/[" ]/,""); tail=$$0; } \ END { printf "%s/%s\n", head, tail; };' \ obj/Src/zshpaths.h >obj/Src/zshpaths.temp debian/zsh/bin/zsh -fc \ 'setopt extendedglob; \ for i in debian/zsh-common/'`cat obj/Src/zshpaths.temp`'; do \ zcompile -U -M $$i.zwc $$i/*~*.zwc(^/); \ chmod 644 $$i.zwc; \ done' endif mv debian/zsh/bin/zsh debian/zsh/bin/zsh5 rm debian/zsh/bin/zsh-5.[0-9]* dh_strip -pzsh --dbg-package=zsh-dbg dh_link -pzsh -pzsh-common -pzsh-dbg dh_install -pzsh -pzsh-common -pzsh-dbg sed -i -e 's,^local HELPDIR=.*,local HELPDIR=$${HELPDIR:-/usr/share/zsh/help},; s,:-more,:-/usr/bin/pager,;' \ debian/zsh-common/usr/share/zsh/functions/Misc/run-help sed -i -e '1!b;s:^#!.*[ /]zsh:#!/bin/zsh:;s#/usr/local/bin#/usr/bin#;' \ `find debian/zsh-common/usr/share/zsh/functions -type f` chmod 755 debian/zsh-common/usr/share/zsh/functions/Misc/checkmail \ debian/zsh-common/usr/share/zsh/functions/Misc/harden \ debian/zsh-common/usr/share/zsh/functions/Misc/run-help \ debian/zsh-common/usr/share/zsh/functions/Misc/zkbd \ debian/zsh-common/usr/share/zsh/functions/Misc/zcalc dh_shlibdeps -pzsh -pzsh-dbg -- \ -dDepends debian/zsh/bin/* \ -dRecommends debian/zsh/usr/lib/zsh/*/zsh/*.so dh_installmenu -pzsh-common dh_installdocs -pzsh -pzsh-common -pzsh-dbg --link-doc=zsh-common dh_installchangelogs -pzsh-common -pzsh-dbg ChangeLog dh_lintian -pzsh -pzsh-common -pzsh-dbg dh_compress -pzsh -pzsh-common -pzsh-dbg dh_fixperms -pzsh -pzsh-common -pzsh-dbg dh_installdeb -pzsh -pzsh-common -pzsh-dbg dh_md5sums -pzsh -pzsh-common -pzsh-dbg dh_gencontrol -pzsh -pzsh-common -pzsh-dbg dh_builddeb -pzsh -pzsh-common -- -Zxz dh_builddeb -pzsh-dbg binary-arch-static: build-static dh_testdir dh_testroot dh_installdirs -pzsh-static dh_lintian -pzsh-static # Do not symlink /usr/share/doc/zsh-static to # /usr/share/doc/zsh-common because zsh-static has a uniqe, # generated README.Debian dh_installdocs -pzsh-static awk 'BEGIN { print "The following modules are statically-compiled into the static zsh binary:\n"; } /link=static/ { printf "%s (%s %s)\n", substr($$1,6), $$4, $$5; }' obj-static/config.modules >debian/zsh-static/usr/share/doc/zsh-static/README.Debian dh_install -pzsh-static dh_strip -pzsh-static mv debian/zsh-static/bin/zsh debian/zsh-static/bin/zsh5-static dh_installchangelogs -pzsh-static dh_link -pzsh-static dh_compress -pzsh-static dh_fixperms -pzsh-static dh_installdeb -pzsh-static dh_md5sums -pzsh-static dh_gencontrol -pzsh-static -- -VBuilt-Using="$(BUILT_USING)" dh_builddeb -pzsh-static -- -Zxz binary-arch-dev: build-arch dh_testdir dh_testroot dh_installdirs -pzsh-dev dh_install -pzsh-dev cd debian/zsh-dev/usr/share/aclocal; mv aczshoot.m4 zshoot.m4 dh_installdocs -pzsh-dev --link-doc=zsh-common dh_installchangelogs -pzsh-dev dh_compress -pzsh-dev dh_fixperms -pzsh-dev dh_installdeb -pzsh-dev dh_md5sums -pzsh-dev dh_gencontrol -pzsh-dev dh_builddeb -pzsh-dev binary: binary-indep binary-arch binary-arch-static binary-arch-dev prebuild: Util/preconfig ./configure make -C Doc make distclean rm -rf autom4te.cache .PHONY: binary binary-arch binary-indep clean binary-arch-dynamic binary-arch-static prebuild binary-arch-dev debian/zsh-static.install0000664000000000000000000000002712176762527012667 0ustar obj-static/Src/zsh bin debian/zsh-static.postinst0000664000000000000000000000056212176762527013110 0ustar #!/bin/sh set -e case "$1" in (configure) # if test -z "$2"; then add-shell /bin/zsh-static # fi ;; abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac update-alternatives --install /bin/zsh-static zsh-static /bin/zsh5-static 40 #DEBHELPER# exit 0 debian/zsh-doc.install0000664000000000000000000000011712176770747012150 0ustar doc/Doc/zsh.info* usr/share/info/ doc/Doc/*.html usr/share/doc/zsh-common/html/debian/zsh.prerm0000664000000000000000000000046212176762527011064 0ustar #!/bin/sh set -e case "$1" in (remove|deconfigure) update-alternatives --remove zsh /bin/zsh5 update-alternatives --remove rzsh /bin/zsh5 ;; (upgrade) ;; (failed-upgrade) ;; (*) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac #DEBHELPER# exit 0 debian/zsh-common.examples0000664000000000000000000000010612176762527013036 0ustar Misc Functions/Example StartupFiles/* Util/reporter debian/examples/* debian/zsh-doc.postinst0000664000000000000000000000066712176762527012374 0ustar #!/bin/sh set -e case "$1" in (configure) : ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # Replace documentation directory with symlink docdir="/usr/share/doc/zsh-doc" if [ -d $docdir -a ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf zsh-common $docdir fi fi #DEBHELPER# exit 0 debian/copyright0000664000000000000000000000344712176762527011152 0ustar This is the Debian Linux prepackaged version of the Z Shell (zsh), a shell with lots of features. This package was put together by Robert Leslie with sources obtained from: ftp://ftp.math.gatech.edu/pub/zsh/ Source can now be obtained from ftp://ftp.zsh.org/pub/zsh/ The following copyright and license apply to this software: The Z Shell is copyright (c) 1992-2000 Paul Falstad, Richard Coleman, Zoltán HidvĂ©gi, Andrew Main, Peter Stephenson, Sven Wischnowsky, and others. All rights reserved. Individual authors, whether or not specifically named, retain copyright in all changes; in what follows, they are referred to as `the Zsh Development Group'. This is for convenience only and this body has no legal status. The Z shell is distributed under the following licence; any provisions made in individual files take precedence. Permission is hereby granted, without written agreement and without licence or royalty fees, to use, copy, modify, and distribute this software and to distribute modified versions of this software for any purpose, provided that the above copyright notice and the following two paragraphs appear in all copies of this software. In no event shall the Zsh Development Group be liable to any party for direct, indirect, special, incidental, or consequential damages arising out of the use of this software and its documentation, even if and the Zsh Development Group have been advised of the possibility of such damage. The Zsh Development Group specifically disclaim any warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The software provided hereunder is on an "as is" basis, and the Zsh Development Group have no obligation to provide maintenance, support, updates, enhancements, or modifications. debian/zsh-dbg.postinst0000664000000000000000000000066712176762527012363 0ustar #!/bin/sh set -e case "$1" in (configure) : ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # Replace documentation directory with symlink docdir="/usr/share/doc/zsh-dbg" if [ -d $docdir -a ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf zsh-common $docdir fi fi #DEBHELPER# exit 0 debian/zsh-common.lintian-overrides0000664000000000000000000000021712176762527014661 0ustar zsh-common: menu-command-not-in-package usr/share/menu/zsh-common:1 bin/zsh5 zsh-common: pkg-not-in-package-test zsh usr/share/menu/zsh-common debian/zsh-static.dirs0000664000000000000000000000000412176762527012155 0ustar bin debian/do-dch0000775000000000000000000000130112176762527010266 0ustar #!/bin/sh # This runs git-dch with appropriate options. # # All given options are handed over to git-dch without tampering. You # should probably give a --since="..." definition, so the program knows # were to start. Also, when you're planning on a release, pass `-R'. For # snapshots, use `-S'. # # This script also takes care of weeding out [dch-ignore] lines from the # generated changelog. # # At the end an editor is spawned on debian/changelog no matter what. git-dch \ --spawn-editor=never \ "$@" old="debian/changelog.old" cl="debian/changelog" rm -f "$old" cp "$cl" "$old" sed -e '/^ \* \[[a-f0-9]*\] \[dch-ignored?\] /d' < "$old" > "$cl" rm -f "$old" ${VISUAL:-${EDITOR:-vi}} "$cl" debian/zsh-doc.dirs0000664000000000000000000000005212176762527011436 0ustar usr/share/info usr/share/doc/zsh-doc/html debian/patch2quilt0000775000000000000000000000675112176762527011406 0ustar #!/bin/sh # patch2quilt # Copyright (c) 2011, Frank Terbeck # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # # Often, we may want to backport a patch from upstream to our package. If # that's just a matter of cherry-picking a patch from upstream, this script can # help. We don't really want to git cherry-pick, but rather add a new patch to # our quilt series. In short, this script automates doing that. # # Call it like this: # % ./debian/patch2quilt ../0000-git-patch.patch 0010-quilt-patch.diff # # Where `../0000-git-patch.patch' is a patch from git; `0010-quilt-patch.diff' # is the to-be-added quilt patch. The script now does this: # # - Reset and clean the repository to a clean state. # - Push the entire quilt series. # - Add `0010-quilt-patch.diff' as a new patch in the quilt series. # - Check which files are touched by `../0000-git-patch.patch' and add those # to the newly added quilt patch. # - Apply the git patch. # - Refresh the quilt patch. # - Pop the entire quilt series again. # - Open the new quilt patch in ${VISUAL:-${EDITOR:-vi}} to add annotation. # # That's all. # # Note: If the patch file is located in the current repository, it will be # deleted when the repository is cleaned up initially. So don't do that. # # Also, if we're just cherry picking stuff from upstream git, there are # likely changes to ChangeLog, which will not apply cleanly. Just throw # away all such hunks from the patch beforehand. # # `patch2quilt' requires `quilt', `git' and `diffstat' available. # # Call this script *only* from the git repository's base directory. QUILT_PATCHES=debian/patches export QUILT_PATCHES if [ ! -d "${QUILT_PATCHES}" ]; then printf 'No such directory: `%s'\''\n' "${QUILT_PATCHES}" printf 'Quilt patches directory not found. Giving up.\n' exit 1 fi if [ $# -ne 2 ]; then printf 'usage: patch2quilt \n' exit 1 fi gitpatch="$1" quiltpatch="$2" git clean -xdf || exit 1 git reset --hard || exit 1 quilt push -a || exit 1 quilt new "${quiltpatch}" || exit 1 diffstat -l -p1 "${gitpatch}" | while IFS= read -r file; do quilt add "${file}" || exit 1 done git apply "${gitpatch}" || exit 1 quilt refresh || exit 1 quilt pop -a || exit 1 ${VISUAL:-${EDITOR:-vi}} "${QUILT_PATCHES}/${quiltpatch}" printf -- '\n---------------------------------------' printf -- '---------------------------------------\n' printf '\n New quilt patch `%s'\'' added. You\n' "${quiltpatch}" printf ' should add it and its series file to git and commit the result.\n' printf '\n Like this:\n\n' printf ' %% git add "%s"\n' "${QUILT_PATCHES}/series" printf ' %% git add "%s"\n' "${QUILT_PATCHES}/${quiltpatch}" printf ' %% git commit\n' printf '\n Write a useful commit message.' printf ' Don'\''t forget `Closes:'\'' mentions!\n\n' exit 0 debian/gbp.conf0000664000000000000000000000042012176762527010622 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] upstream-branch = upstream debian-branch = debian upstream-tag = zsh-%(version)s debian-tag = debian/%(version)s # Options only affecting git-dch [git-dch] id-length = 8 meta = True multimaint-merge = True