Commit graph

36 commits

Author SHA1 Message Date
Baptiste Daroussin
818bba15e7 - update to 5.0.0
no much changes for us (we where following the 4.3.x dev branch for a while)
except we are back on an official stable branch

Note that this version offers completion for dtrace, beadm (not tested with
FreeBSD versions) and improved completion for zfs.
2012-07-24 15:06:18 +00:00
Baptiste Daroussin
6785de0809 Fix sysctl completion on freebsd 10+ 2012-05-11 16:29:21 +00:00
Baptiste Daroussin
aec309fbc8 - update to 4.3.17 2012-02-26 22:55:15 +00:00
Baptiste Daroussin
cd62e28a33 add a patch from upstream to fix SIGWINCH detection
Obtained from:	zsh (cvs)
2012-01-13 21:05:13 +00:00
Baptiste Daroussin
f5e4192337 - Fix build for badly upgraded systems which have both utmp.h and utmpx.h
PR:		ports/156263
Submitted by:	Matthew Cashdollar <matthew@cashdollar.org>
Feature safe:	yes
2011-11-13 09:56:07 +00:00
Baptiste Daroussin
de07c68a57 Add the right patch
Reported by:	Jan Beich <jbeich@tormail.net> (by private mail)
2011-11-07 06:50:47 +00:00
Baptiste Daroussin
63b10b0674 and with the patch it is even better 2011-11-06 18:35:31 +00:00
Baptiste Daroussin
7769f7cfd2 - update to 4.3.12
Changes since 4.3.11
--------------------

The zsh/parameter module has a new readonly associative array
$usergroups whose keys are the names of system groups of which the
current user is a member and whose values are the corresponding
group identifiers.

The region_highlight array, which controls highlighting of the
command line from zle widgets, is now updated dynamically as
the command line is edited.

In POSIX emulation ("emulate sh") the shell is more accurate about
when it should or should not exit on errors.

The ${NAME:OFFSET:LENGTH} syntax now supports negative LENGTH, which
counts back from the end of the string.

The (g:opts:) flag in parameter expansion processes escape sequences like
the echo and print builtins.  opts can be any combination of o, e and c.
With e, acts like print rather than echo except for octal escapes which
are controlled separately by the o option.  With c, interpret control
sequences like "^X" as bindkey does.  Regardless of the opts, \c is not
interpreted.
2011-05-31 18:29:12 +00:00
Baptiste Daroussin
b05bfa64b5 - Take maintainership, des@ is no longer having enough time for zsh, he has done a
really great job with zsh, thanks a lot. [1]
- Upgrade to 4.3.11
- add linsysfs to the file system list for completion [2]
- fix mount completion when adding available labels to the list of devices [3]

PR:		ports/141472 [2], ports/145657 [3]
Submitted by:	scf [2], Frédéric Perrin <frederic.perrin _at_ resel.fr> [3]
Approved by:	des@ [1]
2011-02-28 08:01:01 +00:00
Dag-Erling Smørgrav
186692d099 Add some upstream completion patches + new completion files for
procstat, sockstat and fstat.

Submitted by:	Baptiste Daroussin <baptiste.daroussin@gmail.com>
2009-06-15 15:03:19 +00:00
Dag-Erling Smørgrav
80b3a34827 Update to 4.3.10.
PR:		ports/135188
2009-06-04 09:33:39 +00:00
Dag-Erling Smørgrav
62d067117e When I upgraded to 4.3.9, which included Baptiste's completion definitions
for zfs(8) and zpool(8) which we had previously had as local patches, I
blindly assumed that the upstream versions were correct.  They weren't.
2009-01-21 16:00:26 +00:00
Dag-Erling Smørgrav
c10595a43b Completion: improve portaudit, add pfctl
Submitted by:	Baptiste Daroussin <baptiste.daroussin@gmail.com>
2008-11-21 08:54:32 +00:00
Dag-Erling Smørgrav
b86648347c Upstream patch to support unusual --help syntax used by fetchmail.
Submitted by:	Baptiste Daroussin <baptiste.daroussin@gmail.com>
2008-11-17 11:21:24 +00:00
Dag-Erling Smørgrav
0ce6819834 Upgrade to 4.3.9. Most of our local patches have been committed upstream. 2008-11-10 13:40:56 +00:00
Dag-Erling Smørgrav
be6e6e662c Various command completion improvements for mount(8).
PR:		ports/128450
Submitted by:	scf@
2008-10-29 14:42:58 +00:00
Dag-Erling Smørgrav
dde2d54d97 Move a comment that broke completion for 'zfs clone'. 2008-08-27 15:50:30 +00:00
Dag-Erling Smørgrav
0fb8ee3593 Regenerate some patches that were being incorrectly applied.
Noticed by:	garga
2008-08-13 17:03:03 +00:00
Dag-Erling Smørgrav
8c293350dc Break out BSD completion patches into separate files.
Update csup, portsnap and portlint completion.  Add completion for powerd,
freebsd-update, fetch and portaudit (from submitter) as well as zfs and
zpool (from zsh repo).

Bump PORTREVISION.

PR:		ports/126457
Submitted by:	baptiste.daroussin@gmail.com
2008-08-12 12:01:21 +00:00
Renato Botelho
5186c7bfb3 - Fix segmentation fault on completion
- Bump PORTREVISION

PR:		ports/123490
Submitted by:	garga
Approved by:	maintainer timeout (2 weeks)
2008-05-21 11:55:18 +00:00
Dag-Erling Smørgrav
897e6fca5b Better version of the previous commit, with an unconditional patch this
time.  The patch has been submitted upstream.
2008-05-06 11:52:45 +00:00
Dag-Erling Smørgrav
ffbc104093 An additional patch is required to build zsh on FreeBSD releases with
the old ncurses (6.2 and older).
2008-05-06 09:14:15 +00:00
Dag-Erling Smørgrav
54df038457 Upgrade to 4.3.6, with kind assistance from Baptiste Daroussin
<baptiste.daroussin@gmail.com>

PR:		ports/122116
2008-05-02 21:13:47 +00:00
Dag-Erling Smørgrav
e5dda08f1b Add vendor patch to fix subversion command completion.
Approved by:	maintainer timeout
2008-02-06 19:20:16 +00:00
Sergei Kolobov
91fa081e73 - Add Peter Stephenson's patch from Zsh CVS repo that adds (un)setenv()
detection. This fixes the issue on 7-CURRENT where Zsh was manipulating
  environment directly in conflict with the new *env() functions:
     http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075538.html
  6-STABLE continues to works correctly.

  More info about the patch:
     http://www.zsh.org/mla/workers/2007/msg00619.html

- Fix completions for locate(1), mount(8), umount(8) to avoid some linuxisms
  and do the right thing under FreeBSD

PR:		ports/115094, ports/115702
Submitted by:	Sean C. Farley (scf)
2007-10-05 08:22:46 +00:00
Renato Botelho
cf7b6f9465 - Update to 4.3.4
- Pet a bit portlint
- OPTION'ify
- Add PCRE support OPTION off by default
- Add more MASTER_SITES
- Remove ?= from MAINTAINER and COMMENT since there are no more slave ports
- Remove CONFLICTS since conflicting ports doesn't exist anymore
- Fix iconv detection and add USE_ICONV=yes
- Use PORTDOCS and PORTEXAMPLES and cleanup pkg-plist
- Respect NOPORTEXAMPLES
- Add csup, portsnap and portlint Completions, it was already added to zsh cvs
  but add it here using a patch while new version don't come

Reviewed by:	sergei@
Approved by:	sergei@ (maintainer)
2007-07-30 16:21:42 +00:00
Sergei Kolobov
c521388f4c - Add a patch from Zsh CVS to fix a bug with acroread(1) completion:
http://zsh.cvs.sourceforge.net/zsh/zsh/Completion/X/Command/_acroread?r1=1.5&r2=1.6

PR:		ports/100614
Submitted by:	Simon Olofsson <simon at olofsson dot de>
2006-09-20 11:43:20 +00:00
Sergei Kolobov
4af6572b3c - Stop adding rzsh (restricted zsh) to /etc/shells [1]:
rzsh(1) is the restricted version of zsh(1), with various things disabled
  so as to provide a strictly limited access to the system.
  A user with a shell in /etc/shells can use chsh(1) to change their shell,
  can use FTP, can use other file-transfer services, etc. Thus, adding rzsh
  to /etc/shells could be a security risk in certain configurations.
- zsh-mime-setup is set up to look for /etc/{mime.types,mailcap}.
  Neither of them should exist on a stock FreeBSD system.
  Teach it to look in ${LOCALBASE}/etc instead. [2]
- Zsh completion doesn't know about bsdtar(1) achievements:
  it won't complete to foo.tar.gz if you just enter 'tar xf foo^D'.
  Teach zsh completion about this and other formats supported by bsdtar(1).
  NOTE: This is only applicable to FreeBSD 5.3-RELEASE or newer,
  where bsdtar(1) replaced GNU tar(1) in the base system.
- Bump PORTREVISION

PR:		ports/82066 [2], ports/83023 [3]
Submitted by:	Phil Pennock <pdp@nl.demon.net> [1]
		Ulrich Spoerlein <q@galgenberg.net> [2] [3]
2005-09-06 12:53:34 +00:00
Peter Wemm
ec2320a569 Make zsh not segfault on ia64 due to a generic misconfiguration that
just happens to be fatal there, and a coding botch.  The first problem is
that it assumes a termcap interface (which is an emulation on freebsd),
and provides its own terminfo wrappers around termcap..  so that's two
avoidable translation layers... termcap file -> terminfo (libncurses) ->
termcap API emulation (libncurses) -> terminfo (zsh emlulation).  zsh
forgot to prototype the tiget* functions (which return pointers) so we
have an integer (implicit declaration) being cast to a pointer which
is fatal.  The second problem is that zsh tries to use _mktemp() to get
around the __warn_references in our C library, but also neglects a
prototype there and has the same fatal int/pointer problem.

It is likely all the zsh* ports need these fixes.  A test compile on
pluto1.freebsd.org will highlight the problem.

I do not know why the packaging fails for ia64.  termcap.so and
terminfo.so are not being built for some reason, this change doesn't
solve that problem.
2003-01-11 23:45:20 +00:00
Will Andrews
3a8f58edc3 Update to 4.0.2.
- Remove patches (merged into distribution).
	- Add zsh-doc distribution.
	- Remove USE_AUTOCONF.
	- Remove extraneous shells.bak after /etc/shells update.
	- Adjust to slide .info under NOPORTDOCS and such.
	- Spelling fix in descr.

Thanks to Pete for his work.

PR:		28657
Submitted by:	Pete Fritchman <petef@databits.net>
2001-07-03 04:47:28 +00:00
Will Andrews
c4314f0ecb Upgrade Zsh to 4.0.1:
C1) Turn shells/zsh-devel into a stub which prints a message that
	    points people at the new shells/zsh, upgraded to 4.0.1.
	M1) Add patch to fix some functions included in 4.0.1.
	M2) Remove obsolete patches.
	M3) Remove MASTER_SITE_LOCAL since we can't use knu's version now.
	W1) Remove MASTER_SITE_LOCAL fully.
	W2) Put patch-aa in patch-ab for backwards-compatible diffing.
	W3) Do C1 with the least diff, using pre-everything:: and then
	    ${FALSE}'ing out after printing the message.

Submitted by:	MANTANI Nobutaka <nobutaka@nobutaka.com>,
		Christian Weisgerber <naddy@mips.inka.de>
Noted by:	Cyrille Lefevre <clefevre@redirect.to>,
		Øyvind Kolbu <oyvind@kebab.gaffel.nu>
Approved by:	shige (C1)
2001-06-03 18:43:08 +00:00
Torsten Blum
3e8c8b4996 Fix a problem with zsh.texi introduced when we upgraded our base-system
texinfo to 4.0. Things could be easier if people would use manpages instead
of texinfo & Co.
2000-02-13 18:20:45 +00:00
Torsten Blum
7ab1607ae2 Upgrade to zsh 3.0.6. 1999-09-10 20:42:23 +00:00
Masafumi Max NAKANE
a89d03ad2a Patch for zsh.texi to to add @direntry and @dircategory. 1997-06-16 11:50:33 +00:00
Masafumi Max NAKANE
619aa31ea8 Patch for Doc/Makefile.in to:
- Add --no-split to the makeinfo command line.
- Remove info files before makeinfo.
1997-06-16 11:49:17 +00:00
Torsten Blum
b050c4809a Upgrade to 3.0 pre 2
Approved-By: asami
1996-07-09 22:11:19 +00:00