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]
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.
- 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>
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)