diff options
74 files changed, 7389 insertions, 0 deletions
diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 000000000..010eaa13f --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,24 @@ +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 <ft@bewatermyfriend.org> Sat, 03 Mar 2012 21:28:54 +0100 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 000000000..19ffe78a4 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,67 @@ +Zsh for Debian +============== + +You may find more uptodate information about Debian's zsh packages at +https://wiki.debian.org/Zsh + + -- Axel Beckert <abe@debian.org>, Mon, 20 Oct 2014 14:40:42 +0200 + +This version of zsh has been compiled with support for maildir +folders in MAIL and MAILPATH. + + -- Clint Adams <schizo@debian.org> + + +Using bash completion scripts with zsh +-------------------------------------- + +See http://zshwiki.org/home/convert/bash for instructions and example +code on how to use bash completion scripts with zsh. + + -- Axel Beckert <abe@debian.org>, Tue, 26 May 2015 14:46:31 +0200 + + +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 <mika@debian.org> + + +Load-path for functions from other packages +------------------------------------------- + +In respsonse to #620452, the zsh-binary from Debian's zsh package started to +provide two entries to $fpath (the search path for loadable functions) for +other packages to drop function files into: + + - /usr/share/zsh/vendor-completions for functions that add functionality to + zsh's function based completion system (compsys) + + - /usr/share/zsh/vendor-functions for all other functions + +If you maintain another Debian package that wants to add functions to zsh's +function load-path, please use the those conventions when installing function +files. + + -- Frank Terbeck <ft@bewatermyfriend.org>, Wed, 21 May 2014 13:15:58 +0200 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 000000000..527348fca --- /dev/null +++ b/debian/README.source @@ -0,0 +1,77 @@ +The Debian Zsh Package +====================== + +Debian's zsh package is team-maintained. This document describes some +of the resources the team uses. + +Versioning Control System +------------------------- + +The Debian Zsh Team uses a collab-maint Git repository on Alioth for +collaboratively maintaining the packaging code. The packaging lives in +the branch `debian`. + +* Web-based repository viewer: https://anonscm.debian.org/cgit/collab-maint/zsh.git +* Anonymous clone: `git clone -b debian git://anonscm.debian.org/collab-maint/zsh.git` +* Cloning via SSH: `git clone -b debian git.debian.org:/git/collab-maint/zsh.git` + +The `master` branch in this Git repository is ancient and just exists +for historical reasons. + +Workflow +-------- + +The workflow for working on the package is documented in +`debian/pkg-zsh-workflow.md`. + +Continuous Integration +---------------------- + +After every push, zsh packages are built by the Jenkins instance at +http://jenkins.grml.org/view/Debian/. + +### Jenkins-built zsh via APT + +You can install the Jenkins-built zsh packages by adding the following +lines to your `sources.list`: + + deb http://jenkins.grml.org/debian zsh main + deb-src http://jenkins.grml.org/debian zsh main + +You will need to import the GPG key of Grml's Jenkins instance into +APT. See http://jenkins.grml.org/view/Debian/job/zsh-binaries/ for +instructions and the current key id. + +Communication +------------- + +### IRC + +Usually all active team members are gathered in #pkg-zsh on Freenode +(irc.freenode.net). + +Feel free to join, but be patient when waiting for answers. May take a +couple of hours until someone answers -- depending on your timezone +and the current weekday. + +The channel is bi-lingual English and German as (by coincidence) all +active team members have German as mother tongue. So feel free to ask +questions in German. We though usually switch to English if someone +joins the channel who doesn't speak German (well). + +### Mailing Lists + +The priamry mailing list is pkg-zsh-devel@lists.alioth.debian.org. + +* Subscribe/unsubscribe at + https://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-devel +* Archive at https://lists.alioth.debian.org/pipermail/pkg-zsh-devel/ + +There's a secondary mailing list to which all git commits are sent to: +pkg-zsh-commits@lists.alioth.debian.org. + +* Subscribe/unsubscribe at + https://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-commits +* Archive at https://lists.alioth.debian.org/pipermail/pkg-zsh-devel/ + + -- Axel Beckert <abe@debian.org>, Wed, 8 Oct 2014 23:33:12 +0200 diff --git a/debian/TODO.md b/debian/TODO.md new file mode 100644 index 000000000..0eaba6b82 --- /dev/null +++ b/debian/TODO.md @@ -0,0 +1,12 @@ +Debian Zsh TODO +=============== + +After the Jessie-Release +------------------------ + +* Remove alternatives system properly + +Decisions +--------- + +* Do we want to continue providing a static build (zsh-static)? diff --git a/debian/bin/commit2quilt b/debian/bin/commit2quilt new file mode 100755 index 000000000..dee525bda --- /dev/null +++ b/debian/bin/commit2quilt @@ -0,0 +1,68 @@ +#!/bin/sh + +# commit2quilt, based on patch2quilt +# Copyright (c) 2011, Frank Terbeck <ft@bewatermyfriend.org> +# Copyright (c) 2014, Axel Beckert <abe@debian.org> +# +# 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: +# % git fetch zsh +# % debian/bin/commit2quilt $commit_id +# +# `commit2quilt' requires `quilt', `git' and $GIT_EDITOR or +# emacsclient available. + +set -e + +for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + break + fi +done + +export GIT_EDITOR=${GIT_EDITOR:-emacsclient} + +if [ $# -ne 1 ]; then + printf 'usage: patch2quilt <commit-id>\n' + exit 1 +fi + +commitid="$1" +shortid="`echo -n $commitid | cut -c1-8`" +desc="`git show $commitid | egrep '^ [^ ]' | head -1 | sed -e 's/^[- *:]*//'`" +filename="cherry-pick-$shortid-`echo "$desc" | tr -c 'a-zA-Z0-9' '-' | tr 'A-Z' 'a-z' | sed -e 's/--*/-/g;s/-$//'`.patch" +echo "$filename" + +if quilt series | fgrep -q "$filename"; then + echo "Patch $filename ($commitid) already existing" 1>&2 + exit 1 +fi + +git show "$commitid" | filterdiff -x a/ChangeLog > "${where}debian/patches/$filename" +echo "$filename" >> "${where}debian/patches/series" +sed -e '1 s/^commit/Origin: commit/; 4 d; 5 s/^ /Description: /; 6 d' -i "${where}debian/patches/$filename" +"${GIT_EDITOR}" "${where}debian/patches/$filename" +git add "${where}debian/patches/$filename" "${where}debian/patches/series" +quilt push -a +quilt pop -a +git commit -m "Cherry-pick $shortid ($desc) from upstream" -v --edit + +exit 0 + diff --git a/debian/bin/do-dch b/debian/bin/do-dch new file mode 100755 index 000000000..da40d6bcb --- /dev/null +++ b/debian/bin/do-dch @@ -0,0 +1,26 @@ +#!/bin/sh +# This runs "gbp dch" with appropriate options. +# +# All given options are handed over to "gbp 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. + +gbp 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" diff --git a/debian/bin/urcl b/debian/bin/urcl new file mode 100755 index 000000000..8bfd8926f --- /dev/null +++ b/debian/bin/urcl @@ -0,0 +1,102 @@ +#!/bin/sh +# +# Seems like `gbp 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 `gbp 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] <COMMITHASH(s)...>\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" diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..e034a57e2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,4154 @@ +zsh (5.1.1-1) unstable; urgency=low + + * [7534dfa8] New upstream release + + [bcea5a1c] Revert 0867ec1f from 5.1-test-1-1, applied upstream. + + [f5e8527a] Handles incomplete multibyte characters in + bracketed-paste-magic (Closes: #798195) + + Upload to unstable again. + + -- Axel Beckert <abe@debian.org> Fri, 11 Sep 2015 23:19:31 +0200 + +zsh (5.1-test-1-1) experimental; urgency=low + + * [22cf83b3c] New upstream release candidate + + [9f5dffa1] process queued signals during dotrap() (Closes: #797721) + * [0867ec1f] Extend further-mitigate-test-suite-hangs.patch to mitigate + a race condition in E01options.ztst + + -- Axel Beckert <abe@debian.org> Thu, 10 Sep 2015 23:03:54 +0200 + +zsh (5.1-1) unstable; urgency=low + + * [2a4475bb] New upstream release. + + [f3aebf0b] Update further-mitigate-test-suite-hangs.patch to remove + additional cherry-picked fixes added with the previous upload. + + Upload to unstable again. + * [20b7952e] Remove no more emitted spelling-error-in-binary false + positives from lintian overrides. + * [6fad76ca] Remove pre-#768937 legacy code from multiple postinsts. + + -- Axel Beckert <abe@debian.org> Tue, 01 Sep 2015 01:09:25 +0200 + +zsh (5.0.8-test-3-1) experimental; urgency=low + + * [6f1dd991] New upstream release candidate + + [171196a8] Remove all cherry-picked patches. + + [290354ff] Fixes segfault in __strlen_sse2_bsf (Closes: #793475) + * [a248c1e0] Set $(VENDOR) to sanitized output of "dpkg-vendor --query vendor" + (Closes: #794696) + * [e04a1973] Clint Adams prefers to be removed from Uploaders. Thanks to + Clint for maintaining Debian's zsh package for so long! + * [bfda86c5,5c3b312c] Update sole patch to integrate further test suite fixes. + + -- Axel Beckert <abe@debian.org> Thu, 27 Aug 2015 23:17:07 +0200 + +zsh (5.0.8-4) unstable; urgency=medium + + * [92f59b31] Cherry-pick 771381c2+dd8079e0 to fix $((…)) completion. + (Closes: #793168) + * [d46446e2] Cherry-pick upstream fix for segfault upon $((…)<Tab>. + * [e7302971] Add thefuck to bug-script's fallback list of packages with + code to be sourced in .zshrc. + + -- Axel Beckert <abe@debian.org> Tue, 28 Jul 2015 23:44:49 +0200 + +zsh (5.0.8-3) unstable; urgency=medium + + * [e04cb7a0] Include all .h and .mdh files including generated ones in + zsh-dev. (Closes: #776964) + * [5c13d857] Adjust include paths in /usr/include/zsh/ as suggested in + #776964. + + -- Axel Beckert <abe@debian.org> Mon, 20 Jul 2015 23:12:30 +0200 + +zsh (5.0.8-2) unstable; urgency=medium + + * [5808540c] Use "service" instead of "/etc/init.d" in + debian/examples/carsten.zshrc for init system compatibility. + * Cherry-pick multiple patches from upstream: + + [e79f2175] fix signal queueing in zcontext_save_partial() + (Closes: #790282) + + [143736da] handle failure of gettempname() in namedpipe() + + [724f974f] avoid warnings in prompt adam1 with Perl 5.22 + + -- Axel Beckert <abe@debian.org> Mon, 29 Jun 2015 21:33:46 +0200 + +zsh (5.0.8-1) unstable; urgency=low + + * [fd2ef9a8,752cbfd4] New upstream release + + [640212e7] Drop patches replace-texi2html-with-makeinfo and + fix-test-suite-failures-related-to-setopt-PROMPT_SP (fixed upstream) + + Upload to unstable again. + * [f14d3594] Mention how to use bash completion with zsh in + README.Debian (c.f. #786881) + * [253c84df] Add git commit IDs and Debian bug numbers of bugs fixed + upstream in the last upload to the previous changelog entry. + + -- Axel Beckert <abe@debian.org> Sat, 13 Jun 2015 00:37:17 +0200 + +zsh (5.0.7-dev-2-1) experimental; urgency=low + + * [db38e167] New upstream release candidate + + [4e6f0762] Remove all cherry-picked patches + + [bcf6f70a] Remove no more needed debian/copyright entries. + + [e0c83ff9,6b5231e4] Add patch to fix test suite failures related to + "setopt PROMPT_SP" + + [2d4743ce] uses correct command name in error messages about + "ulimit" failure; restores internal copy of limits if setrlimit() + fails, so the error won't repeat. (Closes: 765410) + + [691547cd] fixes thinko in status message for INT/QUIT signals; + checks errflag in output loops. (Closes: #767005) + * [01eea476] Add debian/zsh-static.NEWS with note about upcoming + zsh-static removal. + * [f58cddea] debian/pkg-zsh-workflow.md: Update order when importing a + new upstream release. + + -- Axel Beckert <abe@debian.org> Fri, 08 May 2015 01:35:13 +0200 + +zsh (5.0.7-6) unstable; urgency=medium + + * [18288a76] Drop manual Pre-Depends on dpkg, raise debhelper + build-dependency to ≥ 9.20141221, see #770226 + #770245. + * [b3f1e6e4] Remove zsh4 wrappers, they were only needed for the + dist-upgrade from Wheezy to Jessie. + * [b4c17e7c] Remove zsh-beta* transitional packages. Same reason. + * [1e841579] Use "gbp dch" instead of "git-dch" in helper scripts and + package build documentation. + * [ef133bd8] Rename debian/gbp.conf's section [git-dch] to [dch]. + + -- Axel Beckert <abe@debian.org> Wed, 29 Apr 2015 01:18:02 +0200 + +zsh (5.0.7-5) unstable; urgency=medium + + * [ab70e9dc] Pre-Depend on dpkg >= 1.17.14 explicitly for using + symlink_to_dir with relative symlinks (Closes: #770226) + + -- Axel Beckert <abe@debian.org> Tue, 25 Nov 2014 23:42:17 +0100 + +zsh (5.0.7-4) unstable; urgency=medium + + [ Simon McVittie ] + * [991d536c] Make zsh source package binNMU-safe (Closes: #768937) + + Do not use dh_installdocs --link-doc=zsh-common in + architecture-dependent packages + + Symlink zsh-common documentation files into /usr/share/doc/zsh + + Migrate /usr/share/doc/zsh and /usr/share/doc/zsh-dev from symlink + to directory using dpkg-maintscript-helper + + [ Axel Beckert ] + * [7b632623] Simplify Simon's patch by making /usr/share/doc/zsh/doc a + symlink to ../zsh-common/ in the zsh binary package. Avoids unpack + errors probably caused by having _two_ binary packages containing the + directory which was previously a symlink. (See the log of #768937.) + * [0e03e623,ad143a67] Add Pre-Depends: ${misc:Pre-Depends} for using + dpkg-maintscript-helper's symlink_to_dir. + * [af8ab9de] Also remove zsh4 alternative for rzsh (Closes: #768241) + * [353e05ab] Add a post-jessie TODO list to the source package + + -- Axel Beckert <abe@debian.org> Thu, 13 Nov 2014 01:18:54 +0100 + +zsh (5.0.7-3) unstable; urgency=low + + * Upload to unstable again + * [5409996b ff.] Remove zsh4 and zsh4-static from list of alternatives + in the according postinst scripts. Also raise priorities of zsh5 and + zsh5-static alternatives by 1 so that they have a higher priority than + the old ones. (Closes: #766015) + * [29ce7d34] Mention https://wiki.debian.org/Zsh in README.Debian + * [b33dd34f] Switch the zsh and zsh-common binary package stanzas in + debian/control to get README.Debian installed again. (dh_installdocs + installs it into the first binary package listed in debian/control.) + + -- Axel Beckert <abe@debian.org> Tue, 21 Oct 2014 02:39:51 +0200 + +zsh (5.0.7-2) experimental; urgency=low + + * [0e36f80d ff.] Workflow documentation: Many updates + * [438969ff] Add zsh4(-static) wrapper scripts to ease switch to zsh5 + (Closes: #707760) + * [180ad946] Add lintian overrides for unusual-interpreter in zsh4 + wrapper script + * [2bc52e92] Drop prebuild target from debian/rules (unused) + * [8ece55fe] Add a get-orig-source target to debian/rules + * [503d6807] Add debian/bin/commit2quilt for easier cherry-picking + * Cherry-pick a bunch of post-5.0.7 fixes from upstream: + + [46859b9c] a03227de/33405: vcs_info: Make sure maxexports is set + when VCS_INFO_set is called + + [849017f2] 22c4ea42/33403: be conservative about redirecting + _call_program stderr, the caller may have already done so + + [6f309d99] 605a73e4/33429: disallow non-integer values for HISTSIZE + and SAVEHIST of "fc -p", and fix crash on zero values for same + + [4a370a5f] 521313b4/33429: Tests for previous patch + + [adb27914] 2d14c085/33445: fix handling of -s when combined with -i + at shell invocation + * [35069efe] Add patch by Bart Schaefer which should further mitigate #759870 + + -- Axel Beckert <abe@debian.org> Mon, 13 Oct 2014 23:15:06 +0200 + +zsh (5.0.7-1) experimental; urgency=low + + * [208bdede] New upstream release + + [2d470422] Drop all cherry-picked patches + + Cherry-pick 9982ab6f ("unposted: ChangeLog entry for 33365") as + patch as it adds one missing (and not unimportant) changelog entry + for the 5.0.7 release. + * [a563abd0] Add an initial README.source file + * [6696aa79, ff.] Revamp and update packaging workflow documentation and + convert it to Markdown. + * [97cc54f6] Drop patch2quilt helper script (unused) + * [b605fa17] Move all other helper scripts from debian/ to debian/bin/. + + -- Axel Beckert <abe@debian.org> Wed, 08 Oct 2014 23:33:33 +0200 + +zsh (5.0.6-3) unstable; urgency=medium + + * [f5dacf9f] Do not run (already ignored) test suite on static build to + mitigate #760061. + * [79035529] Set ZTST_verbose=1 to get more details about where exactly + the test suite hangs. Seems also to reduce the likeliness for hangs + and hence further mitigates #760061. + * [16aa8c84] Cherry-pick git commit 87270496 from upstream: Fixes + hanging in freejob from TRAPCHLD. May mitigate or even fix #760061. + * [c3dea2bb] Convert debian/copyright into machine-readable DEP5 format. + * [abc8d1f6] Complete debian/copyright with individual copyrights and + licenses (Closes: #763191) + + -- Axel Beckert <abe@debian.org> Thu, 02 Oct 2014 01:37:34 +0200 + +zsh (5.0.6-2) unstable; urgency=medium + + [ Axel Beckert ] + * [be93912f] Cherry-pick 4414e54e from upstream: Fixes regression with + shared or incremental history when trying to read .zsh_history with + hist_fcntl_lock (Closes: #761597) + * [0ef12ed3] Add test-suite wrapper and adequate test for DEP8 + as-installed testing + * [a6b77953] Declare packaging branch in Vcs-Git header + * [9a864f1e] Change Vcs-Browser to new cgit based repository viewer + * [a3cbb95b] Bump Standards-Version to 3.9.6 (no changes needed) + * [21e82382] Apply wrap-and-sort -a + + [ Wookey ] + * [2bbd5ddc] Use autotools-dev as well as autoreconf to ensure + configurey updates (Closes: #734765) + + -- Axel Beckert <abe@debian.org> Sat, 20 Sep 2014 23:27:41 +0200 + +zsh (5.0.6-1) unstable; urgency=medium + + * New upstream release + * [f3708a11] Disable -fstack-protector-strong on s390x. It causes + endless loops in gcc-4.9. See #759870 for details. + * Upload to unstable again. + + -- Axel Beckert <abe@debian.org> Sun, 31 Aug 2014 01:13:28 +0200 + +zsh (5.0.5-dev-3-1) experimental; urgency=medium + + * New upstream release candidate + * [52079263,7e2e5db0] Add command-not-found, environment-modules and + python-powerline to bug-script list of packages containing code meant + to be sourced in ".zshrc". + * [c9d0ce06] Add fixed Ubuntu bug report to previous changelog entry + + -- Axel Beckert <abe@debian.org> Tue, 26 Aug 2014 19:02:19 +0200 + +zsh (5.0.5-dev-2-1) experimental; urgency=medium + + * New upstream release candidate + + [1584318b] fix crash in menu selection when number of terminal lines + is small (Closes: #527110) + + [2abc8530] Add some more recent dpkg options (Closes: #681518; + Thanks Sebastian Ramacher for the patch!) + + [d6c759fc] Expand aptitude completion by two boolean options + (Closes: #702760; Thanks Daniel Bolton for report and patch!) + + [35176b43] Match more shared library names (Closes: #755789; Thanks + Ansgar Burchardt for report and patch!) + + [d5886eb3] add --rsyncable to gzip completion (Closes: #702000; + Thanks Vincent Lefevre fort report and patch!) + + [0b62bde0] Update for axi-cache completion (Closes: #729921; Thanks + Felipe Sateler for report and patch!) + + [33351b14] Add completion for moosic (Closes: #630410; Thanks Omari + Norman for report and patch!) + + [a7d7c77b] Add completion for bpython and variants (Closes: #691714; + Thanks Sebastian Ramacher for report and patch!) + + [b63ff19d] Correct reload of backslash-continuation lines from + history, fix bad history write of events ending with backslashes + (LP: #1342724) + + [ Axel Beckert ] + * [73508e34,baa705db] Remove all patches which were cherry-picked from + or applied upstream + * [51b9ee37,baa705db] Refresh patch replace-texi2html-with-makeinfo + + -- Axel Beckert <abe@debian.org> Wed, 13 Aug 2014 01:46:31 +0200 + +zsh (5.0.5-4) unstable; urgency=medium + + * [5cebe890] Fix output file descriptor of bug script. reportbug + only captures output to fd 3 and ignores STDOUT. + * [11486424] Simplify helpfiles generation in debian/rules. + + nroff is no more called twice (Closes: #737582) + + There's no more need to replace any ISO Latin-1 character. + + debian/rules is now pure 7-bit ASCII again + * [d1d4dabe] Add lintian overrides for spelling error false positives. + + -- Axel Beckert <abe@debian.org> Sat, 28 Jun 2014 17:37:54 +0200 + +zsh (5.0.5-3) unstable; urgency=medium + + [ Axel Beckert ] + * [befdc25a] Don't even try to run test suite on hurd, it hangs. + * [53e4180a] Add bug scripts to list packages that could interfere with + zsh's behaviour. + * [1af939ec] Cherry-pick apt and apt-mark completion updates from + upstream. (Closes: #691526) + * [ce0c912b] Cherry-pick upstream fix for INC_APPEND_HISTORY + regression. (Closes: #749969) + * [655a374b] Add build-dependency on cm-super-minimal. It FTBFS with TeX + Live >= 2014 otherwise. + + [ Frank Terbeck ] + * [5ac620f4] Add note about $fpath entries to README.Debian. + + -- Axel Beckert <abe@debian.org> Fri, 13 Jun 2014 11:49:44 +0200 + +zsh (5.0.5-2) unstable; urgency=medium + + * [9cfeffbc] Add build-dependency on texlive-fonts-recommended + (c.f. #738402, closes: #738452) + * [c14fd3a8] Add a debian/upstream/metadata file according to DEP-12 + + -- Axel Beckert <abe@debian.org> Wed, 12 Mar 2014 00:21:06 +0100 + +zsh (5.0.5-1) unstable; urgency=medium + + * [8f137a4a] New upstream release + + No more freeze when piping a function's output (Closes: #732726) + + Command tab-completion works again after semicolon (Closes: #733075) + + -- Axel Beckert <abe@debian.org> Sun, 05 Jan 2014 22:17:34 +0100 + +zsh (5.0.4-1) unstable; urgency=low + + * [59152a34] New upstream release + + -- Axel Beckert <abe@debian.org> Sat, 21 Dec 2013 17:42:23 +0100 + +zsh (5.0.3-1) unstable; urgency=low + + * [929ba17da] New upstream release + + [97ed366a] Drop fix-A05execution-ztst-setopt-MONITOR patch (applied + upstream) + * [7cdfd51c] Ignore test suite results on hurd-i386 for now + * [54e2f2ee] Remove use-dev-null-instead-of-dev-tty-for-dash-c-test + patch again. It was introduced in the hope it would fix test suite + failures on hurd, but instead it made the test suite hang. + * [07e365ef] Built-Using: Use libc-dev-bin instead of eglibc as + parameter to dpkg-query since it needs to be a binary package and + existing on all architectures. + + -- Axel Beckert <abe@debian.org> Sun, 15 Dec 2013 03:20:32 +0100 + +zsh (5.0.2-test-3-1) experimental; urgency=low + + * [d799ac78] New upstream release candidate 5.0.2-test-3 + - [b95cf81b] Remove patches applied upstream + - [e30f4023] Refresh patch replace-texi2html-with-makeinfo + - [d1fce554] debian/rules: Util/helpfiles now requires parameters, but + allows one to reduce our own magic around it. + - [8efa92fb] Add newly generated help files to debian/clean + - Includes many completion updates (Closes: #691601, #697247, #699851) + * [abfb3b13] Bump Standards-Version to 3.9.5 (no changes) + * [dcc18dd5] zsh-beta.postrm: Unregister /etc/shells entry on removal + (Closes: #724251) + * [f75d7101] Make lintian override zsh version agnostic + * [8fe0f364] zsh-common: Remove Breaks against older zsh version + (Hopefully closes: #707760) + * [df234cd6] Update watch file to also catch release candidates + * [1e707e44] Fix one test-suite failure on static builds due to + non-existent $HOME. Thanks to Bart Schaefer and Peter Stephenson for + spotting the cause. + * [04b8f147,640ecca3] Fix test suite failures on Jenkins builds. + + -- Axel Beckert <abe@debian.org> Tue, 03 Dec 2013 14:23:42 +0100 + +zsh (5.0.2-6) unstable; urgency=low + + * [57d31fe2] Replace patch to search for usable tty by patch to use + /dev/null for -c test. Suggested on zsh-workers by Bart Schaefer. + + -- Axel Beckert <abe@debian.org> Sat, 26 Oct 2013 15:09:56 +0200 + +zsh (5.0.2-5) unstable; urgency=low + + * [22bc9278,f7cf9ffb] Add patch to make test suite "-c" test more + flexible, should prevent FTBFS on Hurd. Thanks to Pino Toscano. + * [e19ee43a] Only try to remove /etc/zsh-beta if it exists. + * [5348f04a] No more built zsh-common on binary-arch by reordering + debian/rules. Fixes error "binary-arch-produces-all" reported by the + build log scanner. + * [addc1a88,e2d2908b] Simplify dh_* calls by using -a/-i instead of + listing all arch/indep packages. + * [29efa515] Clean up dh_installchangelog calls by removing redundancy + * [f309e67a] Require texinfo >= 5, it no more builds properly with older + versions. + + -- Axel Beckert <abe@debian.org> Mon, 30 Sep 2013 14:58:41 +0200 + +zsh (5.0.2-4) unstable; urgency=low + + [ Axel Beckert ] + * [4a56474b] Clean up postinst created dirs again in postrm purge + (Closes: #708106) + * [35d13111] Remove redundant update-menus calls in maintainer scripts. + (Done by dh_installmenu via the #DEBHELPER# marker nowadays.) + * [5ee2676c] Run test-suite on static build, too, but ignore result for now + * [a5afb115] Remove leading whitespace from texinfo directory entry + (Closes: #711516) + * [80916d06] Disable ansi2knr as it's no more available since automake + 1.12. Fixes FTBFS with recent automake versions. + * [3ff89eb4] Add patch to fix warnings in VCS_INFO's stgit support when + guilt is used. Thanks to Frank Terbeck <ft@bewatermyfriend.org>. + * [f0ab89ab] No more pass -Zxz to dpkg-deb explicitly as dpkg-deb uses + xz as compressor by default since version 1.17.0. + - [8e7e6852] Merge now common dh_builddeb lines + - This also allows us to remove the Pre-Depends on dpkg >= 1.15.6~. + * [0c130d4f] Add configure to debian/clean. (Not doing so may cause FTBFS) + * [d5b36d06] Add lintian override: Completion/BSD.zwc is no extra + license file + * [6362089b] Add patch to replace texi2html by makeinfo. Fixes lintian + warning build-depends-on-obsolete-package. + * [0614e2d4] Remove redundant chmod from debian/rules (done by + dh_fixperms anyways) + * [76708e10] Add patch to fix segfault in compinit's get_cvdef/freecvdef. + Segfault was triggered by task's tab completion. + * [89e7f594] Fix path passed to dh_shlibdeps for multiarch. Fixes error + message "objdump: 'debian/zsh/usr/lib/zsh/*/zsh/*.so': No such file" + in build log. Has been broken since 6c668f5e. + * [e2c05caf] Reformat all patch headers to be DEP3 compliant. Also add + more meta-data about upstream relations. + + [ Richard Hartmann ] + * [242f65bd] debian/control: richih@debian.org + + -- Axel Beckert <abe@debian.org> Fri, 20 Sep 2013 01:06:11 +0200 + +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 <sramacher@debian.org> + * [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 <sramacher@debian.org>, 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 <abe@debian.org> 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 <abe@debian.org> Fri, 28 Dec 2012 14:18:21 +0100 + +zsh (5.0.2-1) experimental; urgency=low + + * New upstream release + + -- Axel Beckert <abe@debian.org> 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 <abe@debian.org> Fri, 21 Dec 2012 01:54:50 +0100 + +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 <abe@debian.org> Wed, 08 Aug 2012 19:59:25 +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 <abe@debian.org> Wed, 25 Jul 2012 20:53:12 +0200 + +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 <abe@debian.org> 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 <abe@debian.org> 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 <abe@debian.org> 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 <abe@debian.org> 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 <ft@bewatermyfriend.org> 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 <ft@bewatermyfriend.org> Wed, 02 Mar 2011 18:57:37 +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 <mika@debian.org> Thu, 10 Feb 2011 10:48:36 +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 <clint@zsh.org> Sun, 16 Jan 2011 12:30:13 -0500 + +zsh (4.3.11-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <clint@zsh.org> 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 <clint@zsh.org> 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 <clint@zsh.org> Thu, 11 Nov 2010 14:16:01 -0500 + +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 <schizo@debian.org> Tue, 10 Aug 2010 14:58:58 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sat, 24 Oct 2009 01:20:39 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Fri, 10 Jul 2009 21:58:50 -0400 + +zsh (4.3.10-2) unstable; urgency=medium + + * Patch from Colin Watson to complete for for bzr switch. + closes: #531549. + + -- Clint Adams <schizo@debian.org> Tue, 02 Jun 2009 14:51:43 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 21 May 2009 21:25:43 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sat, 28 Feb 2009 14:44:32 -0500 + +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 <schizo@debian.org> Mon, 29 Dec 2008 12:01:01 -0500 + +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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Wed, 16 Jul 2008 18:33:18 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> Sat, 31 May 2008 13:14:20 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Tue, 12 Feb 2008 18:28:01 -0500 + +zsh (4.3.5-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams <schizo@debian.org> Fri, 01 Feb 2008 11:44:10 -0500 + +zsh (4.3.4-dev-8-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 10 Jan 2008 11:48:26 -0500 + +zsh (4.3.4-dev-7-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Fri, 04 Jan 2008 13:46:20 -0500 + +zsh (4.3.4-dev-6-9) unstable; urgency=low + + * Update completion for metaflac. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sun, 30 Dec 2007 14:30:22 -0500 + +zsh (4.3.4-dev-6-6) unstable; urgency=low + + * Ignore testsuite failures. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 20 Dec 2007 09:53:11 -0500 + +zsh (4.3.4-dev-5-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Mon, 17 Dec 2007 14:58:14 -0500 + +zsh (4.3.4-dev-4-2) unstable; urgency=low + + * Drop module linking patch. + + -- Clint Adams <schizo@debian.org> Sat, 15 Dec 2007 11:30:25 -0500 + +zsh (4.3.4-dev-4-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Fri, 26 Oct 2007 15:22:39 -0400 + +zsh (4.3.4-24) unstable; urgency=low + + * Add completion for growisofs. + + -- Clint Adams <schizo@debian.org> Mon, 22 Oct 2007 21:26:38 -0400 + +zsh (4.3.4-23) unstable; urgency=low + + * Update git completion. + * Update clint prompt. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Fri, 12 Oct 2007 09:45:15 -0400 + +zsh (4.3.4-20) unstable; urgency=low + + * Update git completion. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Sun, 30 Sep 2007 14:20:18 -0400 + +zsh (4.3.4-18) unstable; urgency=medium + + * Fix git rm completion. closes: #443489. + + -- Clint Adams <schizo@debian.org> Fri, 21 Sep 2007 14:50:16 -0400 + +zsh (4.3.4-17) unstable; urgency=low + + * Update dput completion. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 30 Aug 2007 18:31:25 -0400 + +zsh (4.3.4-14) unstable; urgency=low + + * Ship md5sums for zsh-dev and zsh-dbg. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 14 Jun 2007 10:12:44 -0400 + +zsh (4.3.4-7) unstable; urgency=low + + * Complete filenames after 'git reset <revision>'. closes: #428705. + * Fix wodim completion to not run cdrecord. closes: #426266. + * Change tex build dependency to texlive-latex-base | tetex-bin. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Wed, 06 Jun 2007 12:55:43 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> Mon, 14 May 2007 15:50:00 -0400 + +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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 19 Apr 2007 15:51:43 -0400 + +zsh (4.3.4-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Fri, 17 Mar 2006 18:50:27 -0500 + +zsh (4.3.2-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Tue, 28 Feb 2006 13:40:37 -0500 + +zsh (4.3.0-dev-5-2) unstable; urgency=low + + * Add completion for schroot. + + -- Clint Adams <schizo@debian.org> Sun, 26 Feb 2006 14:36:08 -0500 + +zsh (4.3.0-dev-5-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Sun, 19 Feb 2006 14:46:32 -0500 + +zsh (4.3.0-dev-4-2) unstable; urgency=low + + * Timestamp voodoo. closes: #353188. + + -- Clint Adams <schizo@debian.org> Sat, 18 Feb 2006 17:16:14 -0500 + +zsh (4.3.0-dev-4-1) unstable; urgency=medium + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 9 Feb 2006 09:40:08 -0500 + +zsh (4.3.0-dev-3-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sat, 24 Dec 2005 20:07:29 -0500 + +zsh (4.2.6-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Mon, 25 Apr 2005 21:40:29 -0400 + +zsh (4.2.5-5) unstable; urgency=medium + + * ZW#21170: reduce inefficiencies in ${...//.../...}. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Mon, 11 Apr 2005 14:17:40 -0400 + +zsh (4.2.5-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 10 Mar 2005 21:21:19 -0500 + +zsh (4.2.4-4) unstable; urgency=medium + + * Fix 'baz merge' completion. + * Bind <Insert> key to toggle overwrite mode in emacs and vi + command-mode bindings. closes: #295506. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sun, 6 Feb 2005 19:07:41 -0500 + +zsh (4.2.4-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Thu, 3 Feb 2005 10:31:46 -0500 + +zsh (4.2.3-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Thu, 13 Jan 2005 14:26:03 -0500 + +zsh (4.2.2-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sun, 15 Aug 2004 09:16:01 -0400 + +zsh (4.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Wed, 14 Apr 2004 23:58:47 -0400 + +zsh (4.2.0-2) unstable; urgency=medium + + * Explicitly enable linking with libcap. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Tue, 13 Apr 2004 17:00:41 -0400 + +zsh (4.1.1-15) unstable; urgency=low + + * Add da.po from Claus Hindsgaul. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 15 Jan 2004 13:43:37 -0500 + +zsh (4.0.8-1) unstable; urgency=low + + * New upstream stable release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Tue, 16 Dec 2003 20:46:33 -0500 + +zsh (4.0.7-18) unstable; urgency=medium + + * Prefer : to . in chown completion. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <kmuto@debian.org>. + * Copy libnss_files.so.* to a temporary location and + chmod it 755 so ldd doesn't choke. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Tue, 24 Jun 2003 23:01:22 -0400 + +zsh (4.0.7-1) unstable; urgency=low + + * New upstream stable release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Tue, 25 Feb 2003 12:04:16 -0500 + +zsh (4.0.6-25) unstable; urgency=low + + * Merge more fixes from CVS. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Tue, 11 Feb 2003 12:39:49 -0500 + +zsh (4.0.6-22) unstable; urgency=low + + * Add maxfilelocks to ulimit output. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 15 Aug 2002 17:47:52 -0400 + +zsh (4.0.6-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Wed, 14 Aug 2002 13:33:34 -0400 + +zsh (4.0.5-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 20 Dec 2001 13:51:45 -0500 + +zsh (4.0.4-12) unstable; urgency=high + + * Completion for make-kpkg. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sun, 9 Dec 2001 23:47:05 -0500 + +zsh (4.0.4-7) unstable; urgency=medium + + * Command completion for spamassassin. + + -- Clint Adams <schizo@debian.org> Sun, 9 Dec 2001 13:29:16 -0500 + +zsh (4.0.4-6) unstable; urgency=low + + * No longer build-depend on debhelper. + + -- Clint Adams <schizo@debian.org> Sat, 8 Dec 2001 14:12:48 -0500 + +zsh (4.0.4-5) unstable; urgency=medium + + * Completion for rsync. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Mon, 26 Nov 2001 12:23:12 -0500 + +zsh (4.0.4-3) unstable; urgency=medium + + * Completion for dput. closes: bug#119353. + + -- Clint Adams <schizo@debian.org> Sun, 18 Nov 2001 15:48:13 -0500 + +zsh (4.0.4-2) unstable; urgency=high + + * Fix make targets. + + -- Clint Adams <schizo@debian.org> Tue, 30 Oct 2001 11:18:16 -0500 + +zsh (4.0.4-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Fri, 26 Oct 2001 09:56:16 -0400 + +zsh (4.0.3-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sun, 2 Sep 2001 17:48:30 -0400 + +zsh (4.0.2-4) unstable; urgency=medium + + * Add completion for links(1). + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Tue, 26 Jun 2001 11:16:28 -0400 + +zsh (4.0.1-1) unstable; urgency=high + + * New upstream stable release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Sun, 12 Nov 2000 00:01:06 -0500 + +zsh (3.1.9.dev7-1) unstable; urgency=medium + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Thu, 7 Sep 2000 11:37:33 -0400 + +zsh (3.1.9.dev6-1) stable unstable; urgency=medium + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Wed, 10 Nov 1999 10:29:56 -0500 + +zsh (3.1.6.pws6.tanaka19991109-1) unstable; urgency=low + + * New "upstream" snapshot. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Mon, 8 Nov 1999 09:44:33 -0500 + +zsh (3.1.6.pws6.tanaka19991107-1) unstable; urgency=low + + * New "upstream" snapshot. + + -- Clint Adams <schizo@debian.org> Sun, 7 Nov 1999 10:52:44 -0500 + +zsh (3.1.6.pws6.tanaka19991105-1) unstable; urgency=low + + * New "upstream" snapshot. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Tue, 7 Sep 1999 14:50:40 -0400 + +zsh (3.1.6-3) unstable; urgency=low + + * Fixed silly typo in the postinst. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 + <miquels@cistron.nl>. bug# 38793. + * Hardcoded (ugh) Home, End, and Delete key bindings. + bug# 26862, bug# 30792. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Sat, 22 May 1999 22:23:17 -0400 + +zsh (3.1.5.pws18-1) unstable; urgency=low + + * New "upstream" release. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Tue, 17 Feb 1998 21:53:45 -0500 + +zsh (3.1.2-2) unstable; urgency=high + + * Disabled dynamic module support. + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> 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 <schizo@debian.org> Fri, 28 Nov 1997 00:31:13 -0500 + +zsh (3.0.5-1) unstable; urgency=low + + * New upstream release + + -- Clint Adams <schizo@debian.org> 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 <schizo@debian.org> Thu, 24 Jul 1997 13:42:49 -0400 diff --git a/debian/clean b/debian/clean new file mode 100644 index 000000000..cd45ec717 --- /dev/null +++ b/debian/clean @@ -0,0 +1,17 @@ +config.cache +config.status +config.status.lineno +configure +Doc/help.txt +Doc/help/* +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 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..fa5a438bf --- /dev/null +++ b/debian/control @@ -0,0 +1,135 @@ +Source: zsh +Section: shells +Priority: optional +Build-Depends: autotools-dev, + bsdmainutils, + cm-super-minimal, + debhelper (>= 9.20141221~), + dh-autoreconf, + dpkg-dev (>= 1.16.2~), + ghostscript, + groff, + groff-base, + libcap-dev [linux-any], + libncursesw5-dev, + libpcre3-dev, + texinfo (>= 5~), + texlive-fonts-recommended, + texlive-latex-base, + texlive-latex-recommended, + yodl +Maintainer: Debian Zsh Maintainers <pkg-zsh-devel@lists.alioth.debian.org> +Uploaders: Michael Prokop <mika@debian.org>, + Axel Beckert <abe@debian.org>, + Frank Terbeck <ft@bewatermyfriend.org>, + Richard Hartmann <richih@debian.org> +Standards-Version: 3.9.6 +Homepage: http://www.zsh.org/ +Vcs-Git: git://anonscm.debian.org/collab-maint/zsh.git -b debian +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/zsh.git + +Package: zsh-common +Architecture: all +Depends: ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +Replaces: 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 +Architecture: any +Depends: zsh-common (= ${source:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Pre-Depends: ${misc:Pre-Depends} +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-doc +Architecture: all +Section: doc +Depends: zsh-common (= ${source:Version}), + ${misc:Depends} +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: zsh-common (= ${source:Version}), + ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +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}), + zsh-common (= ${source:Version}), + ${misc:Depends} +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..dd30c7525 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,171 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Zsh (Z Shell) +Upstream-Contact: zsh-workers@zsh.org +Source: http://www.zsh.org/pub/ + ftp://ftp.zsh.org/pub/ + http://sourceforge.net/projects/zsh/files/ + +Files: * +Copyright: 1992-2014 The Zsh Development Group (Paul Falstad, Richard + Coleman, Zoltán Hidvégi, Andrew Main, Peter W. Stephenson, + Sven Wischnowsky, and others). All rights reserved. + Individual authors, whether or not specifically named, + retain copyright in all changes. +Comment: + The Z shell is distributed under the following licence; any + provisions made in individual files take precedence. +License: Zsh + +Files: debian/* +Copyright: 1996 Robert Leslie <rob@mars.org> + 1997-2011 Clint Adams <clint@debian.org> + 2011-2012 Michael Prokop <mika@debian.org> + 2011-2014 Frank Terbeck <ft@bewatermyfriend.org> + 2011-2014 Axel Beckert <abe@debian.org> + 2012-2013 Richard Hartmann <richih@debian.org> +License: Expat + +Files: Src/compat.c +Comment: This applies to portions of Src/compat.c, the remainder is + under the copyright of The Zsh Development Group and licensed under + the Zsh license as mentioned above. +Copyright: 1990, 1993 The Regents of the University of California +License: BSD-3 + +Files: Completion/Unix/Command/_hg +Copyright: 2005, 2006 Steve Borho <steve@borho.org> + 2006-2009 Brendan Cully <brendan@kublai.com> +License: Zsh + +Files: Completion/Unix/Command/_darcs +Copyright: 2009 Nicolas Pouillard +License: GPL-2+ + +Files: Completion/openSUSE/Command/_osc +Copyright: 2009, 2010 Holger Macht <holger@homac.de> +License: GPL-2 + +Files: Completion/openSUSE/Command/_zypper +Copyright: 2009 Holger Macht <holger@homac.de> + 2014 Thomas Mitterfellner <thomas.mitterfellner@gmail.com> + 2014 Mariusz Fik <fisiu@opensuse.org> +License: GPL-2 + +Files: Completion/Unix/Command/_systemd +Copyright: 2011 Foudil Bre'tel <foudil.newbie+zshsystemctl@gmail.com> +License: GPL-3 + +Files: Misc/make-zsh-urls +Copyright: 1999 Adam Spiers <adam@spiers.net> +License: Artistic or GPL-1+ or Zsh +Comment: + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl or zsh. + +Files: Etc/FAQ.yo +Copyright: 1995-2000, 2012 Peter W. Stephenson +License: PWS-Zsh-FAQ + This text originates in the U.K. and the author asserts his moral + rights under the Copyrights, Designs and Patents Act, 1988. + . + Permission is hereby granted, without written agreement and without + license or royalty fees, to use, copy, modify, and distribute this + documentation for any purpose, provided that the above copyright + notice appears in all copies of this documentation. + +License: Zsh + 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 copy right owners 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 copyright owners have been advised of the possibility of + such damage. + . + The copyright owners 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 copyright owners have no obligation to + provide maintenance, support, updates, enhancements, or + modifications. + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: BSD-3 + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the <organization> nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT + HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: GPL-3 + On Debian systems, the full text of the GNU General Public License + version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + . + On Debian systems, the full text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +License: GPL-2 + On Debian systems, the full text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1 of the License, or (at + your option) any later version. + . + On Debian systems, the full text of the GNU General Public License + version 1 can be found in `/usr/share/common-licenses/GPL-1'. + +License: Artistic + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. diff --git a/debian/examples/carstenh.zshrc b/debian/examples/carstenh.zshrc new file mode 100644 index 000000000..31df15c86 --- /dev/null +++ b/debian/examples/carstenh.zshrc @@ -0,0 +1,391 @@ +# ~/.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 service. +# 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 \ +# service "${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 <alias_to_edit>" ; return 1 } +# vared aliases'[$1]' +# } +# compdef _aliases edalias + +# ### edfunc(): Edit a function via zle. +# edfunc() { +# [[ -z "$1" ]] && { echo "Usage: edfun <function_to_edit>" ; return 1 } +# zed -f "$1" +# } +# compdef _functions edfunc + +# ### md(): Create given directory recursively and chdir into it. +# md() { +# [[ $# -eq 1 ]] || printf 'Usage: %s <directory>\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 <file(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 diff --git a/debian/examples/old/compctl.dpkg b/debian/examples/old/compctl.dpkg new file mode 100644 index 000000000..d8c142e28 --- /dev/null +++ b/debian/examples/old/compctl.dpkg @@ -0,0 +1,92 @@ +############################################################################# +# 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 <joey@kite.ml.org>, 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)"$(</var/lib/dpkg/status)"}:#Package:*}#Package: }) +function DpkgPackages { + reply=(`grep '^Package:' /var/lib/dpkg/status | awk '{ print $2 }'`) +} + +# This array lists all the dpkg options and actions. +dpkg_options=(-i --install --unpack --configure -r --remove --purge -A \ +--avail --update-avail --merge-avail --yet-to-unpack -l --list -L \ +--listfiles -C --audit -S --search -s --status --help -c --contents -I \ +--info -B --auto-deconfigure -D --debug --largemem --smallmem --no-act \ +-R --recursive -G -O --selected-only -E -e --control --skip-same-version \ +-x --extract -f --field --fsys-tarfile -X --vextract --licence --version \ +-b --build) + +# This string lists all dpkg actions that operate on *.deb files, +# separated by |'s. There can't be any extra whitespace in it! +dpkg_deb_actions="-i|--install|--unpack|-A|--avail|-c|--contents|-I|--info|-e" +dpkg_deb_actions="$dpkg_deb_actions|--control|-x|--extract|-f|--field" +dpkg_deb_actions="$dpkg_deb_actions|--fsys-tarfile|-X|--vextract|-info" + +# This string lists all dpkg actions that normally operate on *.deb files, +# but can operate on directory names if the --recursive option is given to +# dpkg. +dpkg_deb_rec_actions="-i|--install|--unpack|-A|--avail" + +# This string lists all other dpkg actions that take a directory name as +# their first parameter, and a filename as their second parameter. +dpkg_df_actions="-b|--build" + +# This string lists dpkg actions that take a directory name as +# their second parameter. +dpkg_dir2_actions="-e|--control|-x|--extract|--vextract" + +# This string lists all dpkg actions that take a filename as their first +# parameter (ie, a Packages file). +dpkg_file_actions="-S|--search|--update-avail|--merge-avail" + +# This string lists all dpkg actions that operate on the names of packages +# and can also be used with the --pending option. +dpkg_pkg_pending_actions="--configure|-r|--remove|--purge|-s|--status" + +# This string lists all other dpkg actions that operate on the names of +# packages. +dpkg_pkg_actions="-L|--listfiles|-s|--status|-l|--list" + +# Now the command that puts it all together.. +compctl -k dpkg_options \ + -x "C[-1,$dpkg_deb_rec_actions],R[-R|--recursive,]" -g '*(-/D)' \ + - "C[-1,$dpkg_deb_actions]" -g '*.deb' + -g '*(-/D)' \ + - "C[-1,$dpkg_pkg_pending_actions]" -K DpkgPackages + -k "(-a,--pending)" \ + - "C[-1,$dpkg_pkg_actions]" -K DpkgPackages \ + - "C[-1,$dpkg_file_actions],C[-2,$dpkg_df_actions]" -f \ + - "C[-2,$dpkg_dir2_actions],C[-1,$dpkg_df_actions]" -g '*(-/D)' \ + -- dpkg + +# Also, set up package name completion for bug program. +compctl -K DpkgPackages bug + +# This section by Karl M. Hegbloom + +dpkg_source_options=(-x -b -c -l -F -V -T -D -U \ +-sa -sk -sp -su -sr -ss -sn -sA -sK -sP -sU -sR \ +-h --help) + +compctl -k dpkg_source_options \ + -x "C[-1,-x]" -g '*.dsc' \ + - "C[-1,-b]" -g '*(-/D)' \ + -- dpkg-source + +# Unset the temporary variables. +unset dpkg_deb_actions dpkg_deb_rec_actions dpkg_df_actions \ + dpkg_dir2_actions dpkg_file_actions dpkg_pkg_pending_actions \ + dpkg_pkg_actions # dpkg_source_options dpkg_options + +############################################################################# diff --git a/debian/examples/old/jhm.zshrc b/debian/examples/old/jhm.zshrc new file mode 100644 index 000000000..86dacc7eb --- /dev/null +++ b/debian/examples/old/jhm.zshrc @@ -0,0 +1,516 @@ +# 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 <tab><tab> 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 %{[0000mk\%}%(!.#.>) ' +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 <file> and -T<device> +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 '<Remote command>' - \ + '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 +## <command> is a separate command line (i.e., to be executed +## via ssh as <user> on <host>). +#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 + + diff --git a/debian/examples/ssh_completion b/debian/examples/ssh_completion new file mode 100644 index 000000000..53e61d193 --- /dev/null +++ b/debian/examples/ssh_completion @@ -0,0 +1,66 @@ +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. diff --git a/debian/examples/ssh_completion2 b/debian/examples/ssh_completion2 new file mode 100644 index 000000000..7c6fcb20e --- /dev/null +++ b/debian/examples/ssh_completion2 @@ -0,0 +1,37 @@ +NOTE: In order for this to work with newer versions of ssh, you must +insure that "HashKnownHosts" is set to "no". + +This is what I would call overkill, but it should help illustrate +what some people like to do with ssh completion. +---------- + +zstyle ':completion:*' format 'Completing %d' +zstyle ':completion:*' group-name '' + +zstyle ':completion:*:scp:*' tag-order \ + 'hosts:-host hosts:-domain:domain hosts:-ipaddr:IP\ address *' +zstyle ':completion:*:scp:*' group-order \ + users files all-files hosts-domain hosts-host hosts-ipaddr +zstyle ':completion:*:ssh:*' tag-order \ + users 'hosts:-host hosts:-domain:domain hosts:-ipaddr:IP\ address *' +zstyle ':completion:*:ssh:*' group-order \ + hosts-domain hosts-host users hosts-ipaddr + +zstyle ':completion:*:(ssh|scp):*:hosts-host' ignored-patterns \ + '*.*' loopback localhost +zstyle ':completion:*:(ssh|scp):*:hosts-domain' ignored-patterns \ + '<->.<->.<->.<->' '^*.*' '*@*' +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 + diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 000000000..5d7f7dd66 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,13 @@ +# 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 "gbp dch" +[dch] +id-length = 8 +meta = True +multimaint-merge = True diff --git a/debian/newuser.zshrc.recommended b/debian/newuser.zshrc.recommended new file mode 100644 index 000000000..55be3ab0c --- /dev/null +++ b/debian/newuser.zshrc.recommended @@ -0,0 +1,37 @@ +# 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' diff --git a/debian/patches/further-mitigate-test-suite-hangs.patch b/debian/patches/further-mitigate-test-suite-hangs.patch new file mode 100644 index 000000000..8c96e6996 --- /dev/null +++ b/debian/patches/further-mitigate-test-suite-hangs.patch @@ -0,0 +1,17 @@ +Origin: http://www.zsh.org/mla/workers/2014/msg01250.html +Author: Bart Schaefer <schaefer@brasslantern.com> +Bug-Debian: https://bugs.debian.org/759870 +Description: Add a sleep call which should prevent a race condition in coproc + +Index: zsh/Test/A05execution.ztst +=================================================================== +--- zsh.orig/Test/A05execution.ztst 2015-08-30 22:03:54.257198175 +0200 ++++ zsh/Test/A05execution.ztst 2015-08-30 22:03:54.257198175 +0200 +@@ -208,6 +208,7 @@ + print -u $ZTST_fd 'This test takes 5 seconds to fail...' + { printf "%d\n" {1..20000} } 2>/dev/null | ( read -e ) + hang(){ printf "%d\n" {2..20000} | cat }; hang 2>/dev/null | ( read -e ) ++ sleep 1 ;: avoid coproc exit race condition + print -p done + read -et 6 -p + 0:Bug regression: piping a shell construct to an external process may hang diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 000000000..857f0f26d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +further-mitigate-test-suite-hangs.patch diff --git a/debian/pkg-zsh-workflow.md b/debian/pkg-zsh-workflow.md new file mode 100644 index 000000000..00b33559e --- /dev/null +++ b/debian/pkg-zsh-workflow.md @@ -0,0 +1,512 @@ +Branches +======== + +* **upstream**: The upstream sources from `git://zsh.git.sf.net/gitroot/zsh/zsh`. +* **debian**: The debian changes for the debian `zsh` package. Only + difference to the upstream branch is the `debian` directory. +* master: This is the _old_ repository's main branch. Only kept for + _historical_ reasons. +* Other branches: These branches are rather optional and not required + for basic maintenance for of the `zsh` package. Most likely feature + branches. + + +Workflow +======== + +This diagram outlines the workflow with git branches and +tags. Basically, the `debian` branch walks alongside the `upstream` +branch and upstream changes get merged into `debian` at defined points. +For the zsh package, this _must_ be upstream commit tags -- otherwise +Jenkins +[fails to build the source package](http://jenkins.grml.org/view/Debian/job/zsh-source/219/console). + + * 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 + +Working on the package +---------------------- + +### Patching upstream code + +Every change to the source (outside the `debian` directory) must be +done by adding quilt patches. + +#### Patch naming conventions + +* File names of patches which are not meant for upstream should be + prefixed with `debian-`. +* File names of patches which are cherry-picked from upstream should be prefixed + with `cherry-pick-$shortcommitid` where `$shortcommitid` are the + first 8 characters of the upstream git commit id. + +In case a vast number of patches are required, quilt patches should be +prefixed by ascending numbers according to the order in which "quilt +series" would list them. + +#### Patch format + +Every patch should have +[DEP3 conforming patch headers](http://dep.debian.net/deps/dep3/) +above the actual unified diff content, outlining the status of the +patch. + +Except for the obvious case of a cherry-picked patch from upstream +(which should contain an `Origin: commit $commitid` header), it is +important that the fields `Forwarded` and `Applied-Upstream` are kept +uptodate to know whether a change is already applied upstream. This +helps to drop the right patches before merging a new upstream release +into the `debian` branch. + + +#### 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): + +First, push all existing patches, so the new one is added on top. + + % quilt push -a + +Alternatively push the patches one by one (by calling `quilt push` +multiple times) until you are at the patch queue position where you +want to insert the patch. + +##### Adding a patch from a file or by editing + +Add the new patch (say, the topmost patch is 0002-foo.diff). + + % quilt new fix-colors.diff + +Tell quilt which files are going to be changed. + + % quilt add Functions/Misc/colors + +Import the fix either manually using your favourite editor… + + % $EDITOR Functions/Misc/colors + +… or by patching: + + % patch -p$n < ../patch_from_somewhere_else.diff + +##### Cherry-picking patches from upstream + +When there is an existing patch (e.g. from upstream's git repository), +the above can be largely automated if the patch applies to the current +state of the debian branch. + + % patchname="cherry-pick-$shortcommitid-description-with-dashes" + % git show $commitid | filterdiff -x a/ChangeLog > debian/patches/$patchname + % sed -e '1 s/^commit/Origin: commit/' -i debian/patches/$patchname + % echo $patchname >> debian/patches/series + % $EDITOR debian/patches/$patchname + % git add debian/patches/series debian/patches/$patchname + % git commit -v + +Patches from upstream will likely include changes to the ChangeLog +file. Those changes will probably not apply cleanly, so just open the +created patch file and delete all hunks that do changes in +ChangeLog. The `filterdiff` command above should catch that. + + % $EDITOR debian/patches/$patchname + +Check if the patch applies + + % quilt push + +All the above is mostly automated in `debian/bin/commit2patch`. + +##### Finish import of the patch + +Refresh the patch to get rid of any fuzz or offset: + + % quilt refresh + +Pop all patches again to clean up the upstream source. + + % quilt pop -a + +Edit the patch headers according to +[DEP3](http://dep.debian.net/deps/dep3/). + + % $EDITOR debian/patches/$patchname + +Commit the new patch and the changed `series` file to git. + + % git add debian/patches/fix-colors.diff + % git add debian/patches/series + % git commit -m 'Fixing foo in colors function (Closes: #12345)' + +That's all. + +### 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/${zsh_version}-${n+1}`. + + +### Updating debian/changelog + +This file should *not* be updated manually. The changes should be +inserted by running the `gbp dch` command from the package +`git-buildpackage` (see gbp-dch(1)) 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 `gbp dch` +command will result in the desired changelog format: + + % gbp dch + +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/bin/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: + +### Merging new upstream tag (`zsh-$version`) into our upstream branch + + % git checkout upstream + % git pull origin + % git fetch zsh + % git merge --ff-only zsh-$version + +If that doesn't do a fast-forward merge, a fast-forward merge can be +enforced as follows: + + % git checkout upstream + % git reset --hard zsh-$version + +### Remove all quilt patches which are applied upstream + +All patches applied 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. + +### Merging the branch upstream into the branch 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. + +The message for the merge commit should be set to "New upstream +release" to allow `gbp dch` to pick it up correctly later. **TODO**: +Doesn't really work. + +### Insert initial changelog for the new upstream release + +`gbp dch` seems to be in trouble with non-linear histories. Therefore +we introduced a small helper script that will help `gbp 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: + + * 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 + +And what you really want added to debian/changelog is the "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: + + % debian/bin/urcl -p=zsh -v=4.3.13-1 b495ba1e f575f568 + +… where `4.3.13-1` is the version of the upcoming debian package and +`b495ba1e` and `f575f568` are the SHA1 hashsums 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: + + * New upstream release + +or, if someone explicitly requested a package of this upstream +release, with mentioning of the according bug report number: + + * New upstream release (Closes: #1234567) + +If the upstream release fixes additional bugs reported in Debian or +security relevant bugs, the corresponding upstream commits should be +listed indented by two spaces, together with a short description and +the according bug report and/or CVE numbers, e.g. like this: + + * New upstream release + + [abcdefgh] Fixes foo (Closes: #1234567) + + [deadcafe] Adds Completion for bar (Closes: #987654) + + [babeabed] Fixes CVE-2014-9876 + +When creating a commit with these changelog changes, you may want to +prefix the commit message with `[dch-ignore] ` or add `-m "Gbp-Dch: +Ignore"` to the commit command so it doesn't come up in later `gbp dch` +runs. + +### Create the fake orig tar ball (until we can work with upstream's tarball) + +This requires the upstream release to be properly tagged. + + % make -f debian/rules get-orig-source + +### Fix outstanding bugs + +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 + +There are many ways to do this. Important is: + +* Use a clean and uptodate Debian Sid chroot (e.g. by using `sbuild`, + or `pbuilder` and friends) to make a comprehensive test or for + uploading. + + Axel prefers: `pdebuild --debbuildopts -j6` + +* For a quick sanity check, a simple `dpkg-buildpackage -B` (just + builds the architecture-dependent binary packages or a `debuild -uc + -us` (builds source and binary packages, runs `lintian` afterwards) + may suffice. + +* Use `gbp buildpackage` to automatically make sure, you are on the + correct branch and that the working directory is clean. + + +### Update changelog again for the release + +The `do-dch` helper script should be used to do this. It wraps `gbp dch` +with appropriate options and weeds out any commits that are prefixed +with "[dch-ignore] ". All options to the script are turned over to +`gbp 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 `gbp dch` to +prepare the changelog for an actual commit. So: + + % debian/bin/do-dch --since=1234deadbeef -R + +You'll be dropped into an editor again to double check the generated +changelog. + + +### Tag debian/${new_zsh_version}-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/${new_zsh_version}-1`. + + +Generating packages +------------------- + +### git-buildpackage aka gbp + +Alternatively, `git-buildpackage` (short `gbp`) also provides ways of +building packages from our packaging codebase. And since we are using +the `gbp dch` command (formerly 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: + + % gbp buildpackage + +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* below for details. + +`git-buildpackage` is available as Debian package or from +https://honk.sigxcpu.org/piki/projects/git-buildpackage/ + + +Git repository setup +-------------------- + +Getting the basic pkg-zsh git repository is quite easy. If you want +a read only clone, use this: + + % gbp clone git://anonscm.debian.org/collab-maint/zsh.git pkg-zsh + +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: + + % gbp clone $user@git.debian.org:/git/collab-maint/zsh.git pkg-zsh + +Where `$user` 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. + +If you cloned the repository with `gbp clone` as shown above, gbp +already took care of also creating a local `upstream` branch. + +If you didn't, you can get a local version of the `upstream` branch by +calling + + % git checkout -b upstream origin/upstream + +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: + + % git remote add zsh.git git://zsh.git.sf.net/gitroot/zsh/zsh -t master + % git fetch zsh.git + +### Merging and pushing upstream changes + +To get updates back into `origin/upstream`, do this: + +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. + +### 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. + + +General Git Hints +----------------- + +### 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: + + % git clean -xdf + % git reset --hard + +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. + + +TODO +==== + +* How and when to tag releases → `gbp buildpackage --git-tag` or even + `gbp buildpackage --git-tag-only` only after the upload has been + uploaded/accepted. +* How and when to push tags. Debian Perl Group's `dpt push` (from the + package `pkg-perl-tools`) comes in handy. +* `git commit -m 'Something unimportant' -m 'Gbp-Dch: Ignore'` +* `export QUILT_PATCHES=debian/patches` should be mentioned under + *Repository setup*, not under *Verify that the package builds*. +* `* New upstream release` changelog entries should have the git + commit id of the upstream tag. diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..97bf9769d --- /dev/null +++ b/debian/rules @@ -0,0 +1,244 @@ +#!/usr/bin/make -f +INSTALL = install +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 + +# Disable -fstack-protector-strong on s390x as it causes endless loops +# in gcc-4.9. See https://bugs.debian.org/759870 for details +ifeq (s390x,$(shell dpkg-architecture -qDEB_BUILD_ARCH)) +export DEB_BUILD_MAINT_OPTIONS=hardening=-stackprotectorstrong +endif + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk +H_LDFLAGS = $(LDFLAGS) + +VENDOR=$(shell dpkg-vendor --query vendor | env LC_ALL=C tr A-Z a-z | env LC_ALL=C tr -d -c '[:alnum:]') + +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 +CONFIGFLAGS += --disable-ansi2knr + +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 libc-dev-bin) + +build: build-arch build-indep + +build-arch: configure-stamp + dh_auto_build -B obj --parallel + if dpkg-architecture -qDEB_BUILD_ARCH_OS | grep -qv hurd; then \ + HOME="$(CURDIR)/obj/testhome" ZTST_verbose=1 dh_auto_test -B obj --parallel; \ + fi + 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 + #HOME="$(CURDIR)/obj-static/testhome" ZTST_verbose=1 dh_auto_test -B obj-static --parallel || true + touch $@ + +build-debug: DEB_BUILD_OPTIONS+=debug +build-debug: build + +configure: + touch stamp-h.in + dh_autotools-dev_updateconfig + dh_autoreconf + +configure-stamp: configure + dh_testdir + chmod 755 configure + mkdir -p obj/testhome + dh_auto_configure -B obj -- $(CONFIGFLAGS) + sed -e 's/#define VENDOR "pc"/#define VENDOR "$(VENDOR)"/' -i obj/config.h + touch $@ + +configure-static-stamp: configure + dh_testdir + mkdir -p obj-static/testhome + 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 + sed -e 's/#define VENDOR "pc"/#define VENDOR "$(VENDOR)"/' -i obj-static/config.h + touch $@ + +clean: + dh_testdir + dh_autoreconf_clean + dh_autotools-dev_restoreconfig + 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 binary-arch-dynamic + dh_testdir + dh_testroot + dh_installdocs -i --link-doc=zsh-common + dh_installdirs -i + + cd obj && $(MAKE) install.man DESTDIR=$(CURDIR)/debian/zsh-common + perl $(CURDIR)/Util/helpfiles Doc/zshbuiltins.1 debian/zsh-common/usr/share/zsh/help + +# 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.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 + 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/zsh5 -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' + +# Docs: Info + HTML + cd obj && $(MAKE) install.info DESTDIR=$(CURDIR)/debian/zsh-doc + rm -f debian/zsh-doc/usr/share/info/dir* + cd obj && $(MAKE) install.html DESTDIR=$(CURDIR)/debian/zsh-doc htmldir=/usr/share/doc/zsh-doc/html + +# Work around texi2html unfriendliness + sed -i -e 's/<BODY.*>/<BODY LANG="EN">/' debian/zsh-doc/usr/share/doc/zsh-doc/html/*.html + + dh_install -i + +# Doesn't this need to go before we zcompile stuff into .zwc files? -- Axel + 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` + + dh_link -i + dh_bugfiles -i + dh_installmenu -pzsh-common + dh_installdocs -pzsh-common + dh_installchangelogs -pzsh-doc -pzsh-common + dh_lintian -i + dh_compress -i -Xpdf + dh_fixperms -i + dh_installdeb -i + dh_md5sums -i + dh_gencontrol -i + dh_builddeb -i + +binary-arch-dynamic: build-arch + dh_testdir + dh_testroot + + dh_installdirs -pzsh -pzsh-dbg + +# modules + 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)' + + mv debian/zsh/bin/zsh debian/zsh/bin/zsh5 + rm debian/zsh/bin/zsh-5.[0-9]* + + dh_bugfiles -pzsh + dh_strip -pzsh --dbg-package=zsh-dbg + dh_install -pzsh -pzsh-dbg + + dh_shlibdeps -pzsh -pzsh-dbg -- \ + -dDepends debian/zsh/bin/* \ + -dRecommends debian/zsh/usr/lib/*/zsh/*/zsh/*.so + + dh_installdocs -pzsh -pzsh-dbg --link-doc=zsh + dh_installchangelogs -pzsh + +binary-arch-static: build-static + dh_testdir + dh_testroot + + dh_installdirs -pzsh-static + + # Do not symlink /usr/share/doc/zsh-static to + # /usr/share/doc/zsh-common because zsh-static has a unique, + # generated README.Debian, and because --link-doc between + # arch-dep and arch-indep packages breaks binNMUs + 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_bugfiles -pzsh-static + dh_install -pzsh-static + dh_strip -pzsh-static + + mv debian/zsh-static/bin/zsh debian/zsh-static/bin/zsh5-static + + dh_installchangelogs -pzsh-static + +binary-arch-dev: build-arch + dh_testdir + dh_testroot + + dh_installdirs -pzsh-dev + dh_install -pzsh-dev + find debian/zsh-dev/usr/include/zsh -name '*.h' -o -name '*.mdh' | \ + xargs sed -e 's@\.\./config\.h@config.h@;s@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' -i + + cd debian/zsh-dev/usr/share/aclocal; mv aczshoot.m4 zshoot.m4 + + dh_installdocs -pzsh-dev + dh_installchangelogs -pzsh-dev + +binary-arch: binary-arch-dynamic binary-arch-static binary-arch-dev + dh_lintian -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_gencontrol -a -- -VBuilt-Using="$(BUILT_USING)" + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch binary-arch-static binary-arch-dev + +get-orig-source: version=$(shell git describe --tags --abbrev=0 --match='zsh-*' | sed -e 's/^zsh-//') +get-orig-source: + git archive --format=tar --output=../zsh_$(version).orig.tar --prefix=zsh-$(version)/ zsh-$(version) + xz -7v ../zsh_$(version).orig.tar + +.PHONY: binary binary-arch binary-indep clean binary-arch-dynamic binary-arch-static binary-arch-dev get-orig-source diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 000000000..2ee6f0fa1 --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1 @@ +abort-on-upstream-changes diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 000000000..1f261b74c --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +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)$' diff --git a/debian/tests/adequate b/debian/tests/adequate new file mode 100755 index 000000000..1792a984a --- /dev/null +++ b/debian/tests/adequate @@ -0,0 +1,6 @@ +#!/bin/sh + +# Very simple test to run adequate on all zsh packages. To be used with +# Debian's autopkgtest package. Author: Axel Beckert <abe@debian.org> + +adequate `awk '$1 == "Package:" {print $2}' < debian/control` >&2 diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 000000000..e722554bc --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Tests: run-testsuite +Depends: zsh + +Tests: adequate +Depends: @, adequate diff --git a/debian/tests/run-testsuite b/debian/tests/run-testsuite new file mode 100755 index 000000000..3e48b3383 --- /dev/null +++ b/debian/tests/run-testsuite @@ -0,0 +1,58 @@ +#!/bin/sh + +set -e + +# Run zsh's test suite on installed zsh +# +# Code based upon check/test target in Test/Makefile.in + +#if test -n "$(DLLD)"; then +# cd $(dir_top) && DESTDIR= $(MAKE) MODDIR=`pwd`/$(subdir)/Modules install.modules +#fi + +if [ -z "$ADTTMP" -o ! -d "$ADTTMP" ]; then + echo '$ADTTMP ("'"$ADTTMP"'") is not set or not a directory' 1>&2 + exit 2 +fi + +ZTST_testdir="$ADTTMP/Test" +export ZTST_testdir + +cp -pvr Test "$ZTST_testdir" +cp -pvr Misc "$ADTTMP/Misc" +cd "$ADTTMP" + +ln -vfs /usr/lib/*/zsh/*.*.* "$ZTST_testdir/Modules" +ln -vfs /usr/share/zsh/functions Functions +ln -vfs /usr/share/zsh/functions/Completion . +mkdir -pv Src +for f in /bin/zsh*; do + ln -vfs "$f" Src/ +done + +cd "$ZTST_testdir" + +# For now skip a bunch of tests which require artefacts from the build +# config.modules maybe mocked by creating it from the installed modules. +rm -v V01zmodload.ztst + +# Drop explicit fpath setting from some files +for f in ztst.zsh comptest; do + perl -E 'local $/; my $code = <>; $code =~ s{\n *fpath=\(.*?\n\n}{\n\n}s; print $code' -i $f +done + +ZTST_testlist="`for f in $ZTST_testdir/$TESTNUM*.ztst; do echo $f; done`" \ +ZTST_srcdir="$ZTST_testdir" +ZTST_exe=/bin/zsh +export ZTST_testlist +export ZTST_srcdir +export ZTST_exe + +if "$ZTST_exe" +Z -f "$ZTST_testdir/runtests.zsh"; then + stat=0 +else + stat=1 +fi +sleep 1 +rm -rf Modules .zcompdump +exit $stat diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 000000000..32bee1c9f --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,12 @@ +%YAML 1.1 +--- +# https://wiki.debian.org/UpstreamMetadata +Bug-Submit: mailto:zsh-workers@zsh.org +Changelog: http://zsh.sourceforge.net/releases.html +Contact: zsh-workers@zsh.org +FAQ: http://zsh.sourceforge.net/FAQ/ +Name: Z shell +Homepage: http://www.zsh.org/ +Homepage: http://zsh.sourceforge.net/ +Repository: git://git.code.sf.net/p/zsh/code +Repository-Browse: http://sourceforge.net/p/zsh/code/ci/master/tree/ diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..c9b52e06e --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=3 +http://www.zsh.org/pub/zsh-(\d[^\sd]*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) +http://www.zsh.org/pub/development/zsh-(\d[^\sd]*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) +# ftp.zsh.org produced timeout again +# Bart Martens <bartm@debian.org> Sat, 05 Jan 2013 08:58:36 +0000 diff --git a/debian/zlogin b/debian/zlogin new file mode 100644 index 000000000..f6cd2f23d --- /dev/null +++ b/debian/zlogin @@ -0,0 +1,9 @@ +# /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 diff --git a/debian/zlogout b/debian/zlogout new file mode 100644 index 000000000..22d842fe4 --- /dev/null +++ b/debian/zlogout @@ -0,0 +1 @@ +# /etc/zsh/zlogout: system-wide .zlogout file for zsh(1). diff --git a/debian/zprofile b/debian/zprofile new file mode 100644 index 000000000..09db6f5cc --- /dev/null +++ b/debian/zprofile @@ -0,0 +1,7 @@ +# /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 diff --git a/debian/zsh-common.bug-script b/debian/zsh-common.bug-script new file mode 120000 index 000000000..d7d77480d --- /dev/null +++ b/debian/zsh-common.bug-script @@ -0,0 +1 @@ +zsh.bug-script
\ No newline at end of file diff --git a/debian/zsh-common.dirs b/debian/zsh-common.dirs new file mode 100644 index 000000000..bf201bbea --- /dev/null +++ b/debian/zsh-common.dirs @@ -0,0 +1,3 @@ +etc/zsh +usr/share/man +usr/share/zsh/help diff --git a/debian/zsh-common.docs b/debian/zsh-common.docs new file mode 100644 index 000000000..e31e29544 --- /dev/null +++ b/debian/zsh-common.docs @@ -0,0 +1,14 @@ +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 diff --git a/debian/zsh-common.examples b/debian/zsh-common.examples new file mode 100644 index 000000000..47c809f1b --- /dev/null +++ b/debian/zsh-common.examples @@ -0,0 +1,5 @@ +Misc +Functions/Example +StartupFiles/* +Util/reporter +debian/examples/* diff --git a/debian/zsh-common.install b/debian/zsh-common.install new file mode 100644 index 000000000..21a675016 --- /dev/null +++ b/debian/zsh-common.install @@ -0,0 +1,6 @@ +debian/newuser.zshrc.recommended etc/zsh +debian/zlogin etc/zsh +debian/zlogout etc/zsh +debian/zprofile etc/zsh +debian/zshenv etc/zsh +debian/zshrc etc/zsh diff --git a/debian/zsh-common.links b/debian/zsh-common.links new file mode 100644 index 000000000..b695f6f4e --- /dev/null +++ b/debian/zsh-common.links @@ -0,0 +1 @@ +/usr/share/man/man1/zsh.1.gz /usr/share/man/man1/zsh5.1.gz diff --git a/debian/zsh-common.lintian-overrides b/debian/zsh-common.lintian-overrides new file mode 100644 index 000000000..9f0d39c6b --- /dev/null +++ b/debian/zsh-common.lintian-overrides @@ -0,0 +1,4 @@ +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 +# Clearly a false positive: +zsh-common: extra-license-file usr/share/zsh/functions/Completion/BSD.zwc diff --git a/debian/zsh-common.maintscript b/debian/zsh-common.maintscript new file mode 100644 index 000000000..93427a2fe --- /dev/null +++ b/debian/zsh-common.maintscript @@ -0,0 +1 @@ +symlink_to_dir /usr/share/doc/zsh zsh-common 5.0.7-3 diff --git a/debian/zsh-common.menu b/debian/zsh-common.menu new file mode 100644 index 000000000..a7cbd2d64 --- /dev/null +++ b/debian/zsh-common.menu @@ -0,0 +1 @@ +?package(zsh):needs="text" section="Applications/Shells" title="Zsh" command="/bin/zsh5" diff --git a/debian/zsh-common.postinst b/debian/zsh-common.postinst new file mode 100644 index 000000000..601994b03 --- /dev/null +++ b/debian/zsh-common.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \ + /usr/local/share/zsh/site-functions || true + +#DEBHELPER# + +exit 0 diff --git a/debian/zsh-common.postrm b/debian/zsh-common.postrm new file mode 100644 index 000000000..5e6f919be --- /dev/null +++ b/debian/zsh-common.postrm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ]; then + rmdir -p /usr/local/share/zsh/site-functions || true +fi + +#DEBHELPER# diff --git a/debian/zsh-common.prerm b/debian/zsh-common.prerm new file mode 100644 index 000000000..ffb0622e1 --- /dev/null +++ b/debian/zsh-common.prerm @@ -0,0 +1,24 @@ +#!/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 diff --git a/debian/zsh-dbg.postinst b/debian/zsh-dbg.postinst new file mode 100644 index 000000000..0bd46c118 --- /dev/null +++ b/debian/zsh-dbg.postinst @@ -0,0 +1,20 @@ +#!/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 + +#DEBHELPER# + +exit 0 diff --git a/debian/zsh-dev.dirs b/debian/zsh-dev.dirs new file mode 100644 index 000000000..804889085 --- /dev/null +++ b/debian/zsh-dev.dirs @@ -0,0 +1,3 @@ +usr/include/zsh +usr/share/zsh-dev +usr/share/aclocal diff --git a/debian/zsh-dev.install b/debian/zsh-dev.install new file mode 100644 index 000000000..026c7829b --- /dev/null +++ b/debian/zsh-dev.install @@ -0,0 +1,15 @@ +Config/aczshoot.m4 usr/share/aclocal +Src/*.h usr/include/zsh +Src/Zle/*.h usr/include/zsh/Zle +Src/Modules/*.h usr/include/zsh/Modules +Src/makepro.awk usr/share/zsh-dev +obj/config.h usr/include/zsh +obj/Src/*.epro usr/include/zsh +obj/Src/*.h usr/include/zsh +obj/Src/*.mdh usr/include/zsh +obj/Src/Zle/*.h usr/include/zsh/Zle +obj/Src/Zle/*.mdh usr/include/zsh/Zle +obj/Src/Modules/*.h usr/include/zsh/Modules +obj/Src/Modules/*.mdh usr/include/zsh/Modules +obj/Src/Builtins/*.h usr/include/zsh/Builtins +obj/Src/Builtins/*.mdh usr/include/zsh/Builtins diff --git a/debian/zsh-dev.maintscript b/debian/zsh-dev.maintscript new file mode 100644 index 000000000..c6e45a87d --- /dev/null +++ b/debian/zsh-dev.maintscript @@ -0,0 +1 @@ +symlink_to_dir /usr/share/doc/zsh-dev zsh-common 5.0.7-3 diff --git a/debian/zsh-dev.postinst b/debian/zsh-dev.postinst new file mode 100644 index 000000000..0bd46c118 --- /dev/null +++ b/debian/zsh-dev.postinst @@ -0,0 +1,20 @@ +#!/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 + +#DEBHELPER# + +exit 0 diff --git a/debian/zsh-doc.dirs b/debian/zsh-doc.dirs new file mode 100644 index 000000000..51508fe44 --- /dev/null +++ b/debian/zsh-doc.dirs @@ -0,0 +1,2 @@ +usr/share/info +usr/share/doc/zsh-doc/html diff --git a/debian/zsh-doc.doc-base b/debian/zsh-doc.doc-base new file mode 100644 index 000000000..c71f31938 --- /dev/null +++ b/debian/zsh-doc.doc-base @@ -0,0 +1,19 @@ +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/index.html +Files: /usr/share/doc/zsh-doc/html/*.html + +Format: PDF +Files: /usr/share/doc/zsh-doc/zsh.pdf diff --git a/debian/zsh-doc.docs b/debian/zsh-doc.docs new file mode 100644 index 000000000..60cb2382a --- /dev/null +++ b/debian/zsh-doc.docs @@ -0,0 +1 @@ +obj/Doc/zsh.pdf diff --git a/debian/zsh-doc.postinst b/debian/zsh-doc.postinst new file mode 100644 index 000000000..0bd46c118 --- /dev/null +++ b/debian/zsh-doc.postinst @@ -0,0 +1,20 @@ +#!/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 + +#DEBHELPER# + +exit 0 diff --git a/debian/zsh-static.NEWS b/debian/zsh-static.NEWS new file mode 100644 index 000000000..4fe47061d --- /dev/null +++ b/debian/zsh-static.NEWS @@ -0,0 +1,7 @@ +zsh (5.0.7-dev-2-1) experimental; urgency=low + + * zsh-static will go away soon. Object now if you need it and tell us + why at pkg-zsh-devel@lists.alioth.debian.org. See also + http://noone.org/blog?-tags=zsh-static + + -- Axel Beckert <abe@debian.org> Tue, 05 May 2015 12:09:14 +0200 diff --git a/debian/zsh-static.bug-script b/debian/zsh-static.bug-script new file mode 120000 index 000000000..d7d77480d --- /dev/null +++ b/debian/zsh-static.bug-script @@ -0,0 +1 @@ +zsh.bug-script
\ No newline at end of file diff --git a/debian/zsh-static.dirs b/debian/zsh-static.dirs new file mode 100644 index 000000000..ba077a403 --- /dev/null +++ b/debian/zsh-static.dirs @@ -0,0 +1 @@ +bin diff --git a/debian/zsh-static.install b/debian/zsh-static.install new file mode 100644 index 000000000..51a712325 --- /dev/null +++ b/debian/zsh-static.install @@ -0,0 +1 @@ +obj-static/Src/zsh bin diff --git a/debian/zsh-static.links b/debian/zsh-static.links new file mode 100644 index 000000000..1f4ad1e3e --- /dev/null +++ b/debian/zsh-static.links @@ -0,0 +1 @@ +/usr/share/man/man1/zsh.1.gz /usr/share/man/man1/zsh5-static.1.gz diff --git a/debian/zsh-static.lintian-overrides b/debian/zsh-static.lintian-overrides new file mode 100644 index 000000000..21a0ecb14 --- /dev/null +++ b/debian/zsh-static.lintian-overrides @@ -0,0 +1,3 @@ +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 diff --git a/debian/zsh-static.postinst b/debian/zsh-static.postinst new file mode 100644 index 000000000..e275a2cb3 --- /dev/null +++ b/debian/zsh-static.postinst @@ -0,0 +1,27 @@ +#!/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 41 +update-alternatives --remove zsh-static /bin/zsh4-static + +#DEBHELPER# + +exit 0 diff --git a/debian/zsh-static.postrm b/debian/zsh-static.postrm new file mode 100644 index 000000000..6fc83e6fa --- /dev/null +++ b/debian/zsh-static.postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +case "$1" in + (remove) + remove-shell /bin/zsh-static + ;; +esac + +#DEBHELPER# diff --git a/debian/zsh-static.prerm b/debian/zsh-static.prerm new file mode 100644 index 000000000..adbdf8caa --- /dev/null +++ b/debian/zsh-static.prerm @@ -0,0 +1,21 @@ +#!/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# diff --git a/debian/zsh.bug-script b/debian/zsh.bug-script new file mode 100755 index 000000000..b8b6c25f2 --- /dev/null +++ b/debian/zsh.bug-script @@ -0,0 +1,52 @@ +#!/bin/sh + +exec 1>&3 +exec 2>&3 + +list_packages() { + text="$1" + shift + if [ -n "$1" ]; then + printf "$text:\n\n" + dpkg-query -l "$@" + if [ -x /usr/bin/debsums ]; then + FILES="$(debsums -ce "$@")" + if [ -n "$FILES" ]; then + printf "\nThe following files were modified:\n\n$FILES\n" + fi + fi + fi + printf "\n" +} + +if [ -x /usr/bin/aptitude ]; then + TEXT="Packages which depend, recommend, suggest or enhance a zsh package and hence may provide code meant to be sourced in .zshrc" + PKGS=$(aptitude -q -F '%p' search '( ?enhances(?name(^zsh)) | ?depends(?name(^zsh)) | ?recommends(?name(^zsh)) | ?suggests(?name(^zsh)) ) !?source-package(^zsh$) ~i') +else + TEXT="Packages which provide code meant to be sourced in .zshrc" + # Hardcoded list of (future) packages containing code meant to be + # sourced in .zshrc + PKGS=$(dpkg-query -W -f '${Package}\n' \ + autojump \ + command-not-found \ + environment-modules \ + fizsh \ + oh-my-zsh \ + python-powerline \ + python3-powerline \ + thefuck \ + zec \ + zgen \ + zsh-antigen \ + zsh-syntax-highlighting \ + 'grml-*' \ + 2>/dev/null) +fi + +list_packages "$TEXT" $PKGS + +list_packages "Packages which provide vendor completions" \ +$(dpkg-query -S /usr/share/zsh/vendor-completions/ | awk -F: '{print $1}' | sed -e 's/,//g') + +list_packages "Packages which provide vendor functions" \ +$(dpkg-query -S /usr/share/zsh/vendor-functions/ | awk -F: '{print $1}' | sed -e 's/,//g') diff --git a/debian/zsh.dirs b/debian/zsh.dirs new file mode 100644 index 000000000..ba077a403 --- /dev/null +++ b/debian/zsh.dirs @@ -0,0 +1 @@ +bin diff --git a/debian/zsh.links b/debian/zsh.links new file mode 100644 index 000000000..cb996f26c --- /dev/null +++ b/debian/zsh.links @@ -0,0 +1,3 @@ +/usr/share/doc/zsh-common/changelog.gz /usr/share/doc/zsh/changelog.gz +/usr/share/doc/zsh-common/examples /usr/share/doc/zsh/examples +/usr/share/doc/zsh-common /usr/share/doc/zsh/doc diff --git a/debian/zsh.lintian-overrides b/debian/zsh.lintian-overrides new file mode 100644 index 000000000..f23c6a12c --- /dev/null +++ b/debian/zsh.lintian-overrides @@ -0,0 +1,2 @@ +# Only one of many files affected -> likely a false positive +zsh: hardening-no-fortify-functions usr/lib*/zsh/*/zsh/zleparameter.so diff --git a/debian/zsh.maintscript b/debian/zsh.maintscript new file mode 100644 index 000000000..93427a2fe --- /dev/null +++ b/debian/zsh.maintscript @@ -0,0 +1 @@ +symlink_to_dir /usr/share/doc/zsh zsh-common 5.0.7-3 diff --git a/debian/zsh.postinst b/debian/zsh.postinst new file mode 100644 index 000000000..2ba220230 --- /dev/null +++ b/debian/zsh.postinst @@ -0,0 +1,33 @@ +#!/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 51 \ + --slave /usr/bin/zsh zsh-usrbin /bin/zsh5 +update-alternatives --install /bin/rzsh rzsh /bin/zsh5 51 \ + --slave /usr/share/man/man1/rzsh.1.gz rzsh.1.gz /usr/share/man/man1/zsh.1.gz +update-alternatives --remove zsh /bin/zsh4 +update-alternatives --remove rzsh /bin/zsh4 + +#DEBHELPER# + +exit 0 diff --git a/debian/zsh.postrm b/debian/zsh.postrm new file mode 100644 index 000000000..a8921f6d6 --- /dev/null +++ b/debian/zsh.postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +case "$1" in + (remove) + remove-shell /bin/zsh + remove-shell /usr/bin/zsh + ;; +esac + +#DEBHELPER# diff --git a/debian/zsh.prerm b/debian/zsh.prerm new file mode 100644 index 000000000..d49ec4699 --- /dev/null +++ b/debian/zsh.prerm @@ -0,0 +1,24 @@ +#!/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 diff --git a/debian/zshenv b/debian/zshenv new file mode 100644 index 000000000..e2613c3cf --- /dev/null +++ b/debian/zshenv @@ -0,0 +1,18 @@ +# /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 diff --git a/debian/zshrc b/debian/zshrc new file mode 100644 index 000000000..84d644d8f --- /dev/null +++ b/debian/zshrc @@ -0,0 +1,104 @@ +# /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 |