diff options
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/zsh/Manifest | 6 | ||||
-rw-r--r-- | app-shells/zsh/files/digest-zsh-4.0.7 | 3 | ||||
-rw-r--r-- | app-shells/zsh/files/zprofile | 14 | ||||
-rw-r--r-- | app-shells/zsh/zsh-4.0.7.ebuild | 70 |
4 files changed, 90 insertions, 3 deletions
diff --git a/app-shells/zsh/Manifest b/app-shells/zsh/Manifest index d310b49c7510..9279fbd901eb 100644 --- a/app-shells/zsh/Manifest +++ b/app-shells/zsh/Manifest @@ -1,13 +1,13 @@ -MD5 f8ed8d8d4160725ab635694f9efb6e73 ChangeLog 3888 +MD5 2a1f01d5e0f7c53fcba43eeaaf03ace8 ChangeLog 3885 MD5 20fe4a0c8938a7d63bef94149ee8f797 zsh-4.0.6-r1.ebuild 1361 MD5 ffc94926659f33268966535c421a0cfa zsh-4.0.6-r3.ebuild 1509 MD5 366f440161ef1f5755ebf7bdaa201b61 zsh-4.0.6-r4.ebuild 1800 MD5 468e9d22071e69b977927a2ec680c14e zsh-4.1.0_pre7.ebuild 1782 -MD5 8cd63869127c4ebcad8c2cce15074b6c zsh-4.0.7.ebuild 1912 +MD5 b1d615994dc0362b42c0b9c673b178da zsh-4.0.7.ebuild 1915 MD5 30a6361dbaeb57ce5449160c620c5daf files/digest-zsh-4.0.6-r1 62 MD5 28e464ce201f3343debf24cced1bcfcb files/digest-zsh-4.0.6-r3 187 MD5 28e464ce201f3343debf24cced1bcfcb files/digest-zsh-4.0.6-r4 187 MD5 9363aaf4c5e5abc23ff6f07a80a52acc files/digest-zsh-4.1.0_pre7 136 MD5 de0db046f0f40cb1cc3cd3f6e6b2645a files/zshenv 318 -MD5 8ace5dc3f12dfaa33d162d2ba4631798 files/zprofile 401 +MD5 64023b41a9987655e0e014d32562cfad files/zprofile 404 MD5 3cfc9cf73dcfb2ab86002ea2e246d1fd files/digest-zsh-4.0.7 202 diff --git a/app-shells/zsh/files/digest-zsh-4.0.7 b/app-shells/zsh/files/digest-zsh-4.0.7 new file mode 100644 index 000000000000..c076f179c533 --- /dev/null +++ b/app-shells/zsh/files/digest-zsh-4.0.7 @@ -0,0 +1,3 @@ +MD5 85915f723384062480f1890b6625b6d5 zsh-4.0.7.tar.gz 2179033 +MD5 633926a0afe584878d1c3068346e9d69 zsh_4.0.7-5.diff.gz 69299 +MD5 7b9bc01fa3082c92bfab555b83548f5e zsh-4.0.7-zshall-gentoo.diff.bz2 162578 diff --git a/app-shells/zsh/files/zprofile b/app-shells/zsh/files/zprofile new file mode 100644 index 000000000000..478e35196329 --- /dev/null +++ b/app-shells/zsh/files/zprofile @@ -0,0 +1,14 @@ +# /etc/zsh/zprofile +# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/files/zprofile,v 1.1 2003/07/23 17:48:19 usata Exp $ + +[[ -e "/etc/profile.env" ]] && source /etc/profile.env + +#077 would be more secure, but 022 is generally quite realistic +umask 022 + +if [[ "$USER" == root ]]; then + export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${ROOTPATH}" +else + export PATH="/bin:/usr/bin:${PATH}" +fi +unset ROOTPATH diff --git a/app-shells/zsh/zsh-4.0.7.ebuild b/app-shells/zsh/zsh-4.0.7.ebuild new file mode 100644 index 000000000000..9f3bb362e9d8 --- /dev/null +++ b/app-shells/zsh/zsh-4.0.7.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.0.7.ebuild,v 1.1 2003/07/23 17:48:19 usata Exp $ + +IUSE="maildir ncurses" + +DESCRIPTION="UNIX Shell similar to the Korn shell" +HOMEPAGE="http://www.zsh.org/" + +MYPATCH="${P/-/_}-5.diff" +# New zshall.1 generated with the following, run in Doc: +# perl -nle'$_ = `cat $1` if /^\.so man1\/(.+\.1)/;print' zshall.1 +ZSHALL="${P}-zshall-gentoo.diff" +SRC_URI="ftp://ftp.zsh.org/pub/${P}.tar.gz + http://ftp.debian.org/debian/pool/main/z/${PN}/${MYPATCH}.gz + http://dev.gentoo.org/~usata/distfiles/${ZSHALL}.bz2" + +SLOT="0" +LICENSE="ZSH" +KEYWORDS="~x86 ~alpha ~ppc ~sparc" + +DEPEND="ncurses? ( >=sys-libs/ncurses-5.1 )" + +src_unpack() { + unpack ${A} + epatch ${MYPATCH} + epatch ${ZSHALL} +} + +src_compile() { + local myconf + + use ncurses && myconf="--with-curses-terminfo" + use maildir && myconf="${myconf} --enable-maildir-support" + + econf \ + --bindir=/bin \ + --libdir=/usr/lib \ + --enable-etcdir=/etc/zsh \ + --enable-zshenv=/etc/zsh/zshenv \ + --enable-zlogin=/etc/zsh/zlogin \ + --enable-zlogout=/etc/zsh/zlogout \ + --enable-zprofile=/etc/zsh/zprofile \ + --enable-zshrc=/etc/zsh/zshrc \ + --enable-fndir=/usr/share/zsh/${PV}/functions \ + --enable-site-fndir=/usr/share/zsh/site-functions \ + --enable-function-subdirs \ + ${myconf} + # emake still b0rks + make || die "make failed" + #make check || die "make check failed" +} + +src_install() { + einstall \ + bindir=${D}/bin \ + libdir=${D}/usr/lib \ + fndir=${D}/usr/share/zsh/${PV}/functions \ + sitefndir=${D}/usr/share/zsh/site-functions \ + install.bin install.man install.modules \ + install.info install.fns || die "make install failed" + + insinto /etc/zsh + doins ${FILESDIR}/zprofile + + dodoc ChangeLog* META-FAQ README INSTALL LICENCE config.modules + + docinto StartupFiles + dodoc StartupFiles/z* +} |