diff options
-rw-r--r-- | app-shells/zsh/ChangeLog | 10 | ||||
-rw-r--r-- | app-shells/zsh/Manifest | 24 | ||||
-rw-r--r-- | app-shells/zsh/files/digest-zsh-4.3.2 | 2 | ||||
-rw-r--r-- | app-shells/zsh/zsh-4.3.2.ebuild | 154 |
4 files changed, 177 insertions, 13 deletions
diff --git a/app-shells/zsh/ChangeLog b/app-shells/zsh/ChangeLog index a4aebd705793..63f9d2af97fe 100644 --- a/app-shells/zsh/ChangeLog +++ b/app-shells/zsh/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-shells/zsh -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.92 2005/12/28 22:56:35 grobian Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.93 2006/03/05 22:12:53 usata Exp $ + +*zsh-4.3.2 (05 Mar 2006) + + 05 Mar 2006; Mamoru KOMACHI <usata@gentoo.org> +zsh-4.3.2.ebuild: + Version bumped. Thanks to Alexander Simonov <devil@gentoo.org.ua>. + This closes bug #124498. 28 Dec 2005; Fabian Groffen <grobian@gentoo.org> zsh-4.2.6.ebuild: Removed unneccesary ppc-macos hack. (Bug #115740) diff --git a/app-shells/zsh/Manifest b/app-shells/zsh/Manifest index a7afaa02796b..b3df2141a7f0 100644 --- a/app-shells/zsh/Manifest +++ b/app-shells/zsh/Manifest @@ -1,16 +1,18 @@ -MD5 c2b2ed1462888163d7f8ec514e975d93 zsh-4.2.5.ebuild 4541 -MD5 28ae3771eb1a6ebb64171197c8d390e7 zsh-4.0.9-r4.ebuild 2893 -MD5 94f8381cc21da147fc0975a5d208f637 zsh-4.2.4.ebuild 4307 -MD5 39091c8cc0b53e3d30539193df98e5a8 zsh-4.2.6.ebuild 4326 MD5 f09d8c47a7b08b883abb43b2b24f8ccd ChangeLog 14503 -MD5 28ed8ea6cdccb353e2e8ad783eb51f5b metadata.xml 506 -MD5 81e325aacd554d2c5f6d14efe45d1ffd files/zsh-strncmp.diff 354 -MD5 ab8716ecc62780da37e48f910bd34ed0 files/prompt_gentoo_setup 1222 MD5 de58f149f41740c394800ba8d2cdf361 files/digest-zsh-4.0.9-r4 199 -MD5 e6a9690e5c9b23757e887e14da621c9c files/zsh-4.2.1-gentoo.diff 735 -MD5 eaa2f7dff9e7ca62087f9786cea84897 files/zsh-init.d-gentoo.diff 1389 -MD5 5f0bb4d1bbe63c42a104eb0cab8a28d3 files/zprofile 403 -MD5 de0db046f0f40cb1cc3cd3f6e6b2645a files/zshenv 318 MD5 9001ff5324448d902a296276500ac3fb files/digest-zsh-4.2.4 199 MD5 1710d7b038f0aac2aca3520bb546659c files/digest-zsh-4.2.5 199 MD5 6a0124cadb5fb33bee5400ae9acc74c0 files/digest-zsh-4.2.6 199 +MD5 da3a0178918bcb34c920992cd720b743 files/digest-zsh-4.3.2 130 +MD5 ab8716ecc62780da37e48f910bd34ed0 files/prompt_gentoo_setup 1222 +MD5 5f0bb4d1bbe63c42a104eb0cab8a28d3 files/zprofile 403 +MD5 e6a9690e5c9b23757e887e14da621c9c files/zsh-4.2.1-gentoo.diff 735 +MD5 eaa2f7dff9e7ca62087f9786cea84897 files/zsh-init.d-gentoo.diff 1389 +MD5 81e325aacd554d2c5f6d14efe45d1ffd files/zsh-strncmp.diff 354 +MD5 de0db046f0f40cb1cc3cd3f6e6b2645a files/zshenv 318 +MD5 28ed8ea6cdccb353e2e8ad783eb51f5b metadata.xml 506 +MD5 28ae3771eb1a6ebb64171197c8d390e7 zsh-4.0.9-r4.ebuild 2893 +MD5 94f8381cc21da147fc0975a5d208f637 zsh-4.2.4.ebuild 4307 +MD5 c2b2ed1462888163d7f8ec514e975d93 zsh-4.2.5.ebuild 4541 +MD5 39091c8cc0b53e3d30539193df98e5a8 zsh-4.2.6.ebuild 4326 +MD5 d0658ac9628ab43f933c0bcd18fdfb0d zsh-4.3.2.ebuild 4267 diff --git a/app-shells/zsh/files/digest-zsh-4.3.2 b/app-shells/zsh/files/digest-zsh-4.3.2 new file mode 100644 index 000000000000..cac0f8281031 --- /dev/null +++ b/app-shells/zsh/files/digest-zsh-4.3.2 @@ -0,0 +1,2 @@ +MD5 69d1ab9d179d7d16eb0251a0a60e0457 zsh-4.3.2-doc.tar.bz2 2207375 +MD5 e13fc4bb338fbb27ef7508a474310c8f zsh-4.3.2.tar.bz2 2263544 diff --git a/app-shells/zsh/zsh-4.3.2.ebuild b/app-shells/zsh/zsh-4.3.2.ebuild new file mode 100644 index 000000000000..a9e9bb49a8f0 --- /dev/null +++ b/app-shells/zsh/zsh-4.3.2.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.3.2.ebuild,v 1.1 2006/03/05 22:12:53 usata Exp $ + +inherit eutils multilib + +DESCRIPTION="UNIX Shell similar to the Korn shell" +HOMEPAGE="http://www.zsh.org/" +SRC_URI="ftp://ftp.zsh.org/pub/${P}.tar.bz2 + doc? ( ftp://ftp.zsh.org/pub/${P}-doc.tar.bz2 )" + +LICENSE="ZSH" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~sparc ~x86" +IUSE="maildir ncurses static doc pcre cap" + +RDEPEND="pcre? ( >=dev-libs/libpcre-3.9 ) + cap? ( sys-libs/libcap ) + ncurses? ( >=sys-libs/ncurses-5.1 )" +DEPEND="sys-apps/groff + >=sys-apps/sed-4 + ${RDEPEND}" + +src_unpack() { + unpack ${P}.tar.bz2 + use doc && unpack ${P}-doc.tar.bz2 + cd ${S} + epatch ${FILESDIR}/${PN}-init.d-gentoo.diff + cd ${S}/Doc + ln -sf . man1 + # fix zshall problem with soelim + soelim zshall.1 > zshall.1.soelim + mv zshall.1.soelim zshall.1 +} + +src_compile() { + local myconf + + use static && myconf="${myconf} --disable-dynamic" \ + && LDFLAGS="${LDFLAGS} -static" + + if use ppc-macos; then + LDFLAGS="${LDFLAGS} -Wl,-x" + myconf="${myconf} --enable-libs=-liconv" + fi + + econf \ + --bindir=/bin \ + --libdir=/usr/$(get_libdir) \ + --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 \ + --enable-ldflags="${LDFLAGS}" \ + --with-tcsetpgrp \ + $(use_with ncurses curses-terminfo) \ + $(use_enable maildir maildir-support) \ + $(use_enable pcre) \ + $(use_enable cap) \ + $(use_enable unicode multibyte) \ + ${myconf} || die "configure failed" + + if use static ; then + # compile all modules statically, see Bug #27392 + sed -i -e "s/link=no/link=static/g" \ + -e "s/load=no/load=yes/g" \ + config.modules || die + else + # avoid linking to libs in /usr/lib, see Bug #27064 + sed -i -e "/LIBS/s%-lpcre%/usr/lib/libpcre.a%" \ + Makefile || die + fi + + # emake still b0rks + emake -j1 || die "make failed" +} + +src_test() { + for f in /dev/pt* ; do + addpredict $f + done + make check || die "make check failed" +} + +src_install() { + einstall \ + bindir=${D}/bin \ + libdir=${D}/usr/$(get_libdir) \ + fndir=${D}/usr/share/zsh/${PV%_*}/functions \ + sitefndir=${D}/usr/share/zsh/site-functions \ + scriptdir=${D}/usr/share/zsh/${PV%_*}/scripts \ + install.bin install.man install.modules \ + install.info install.fns || die "make install failed" + + insinto /etc/zsh + doins ${FILESDIR}/zprofile + + keepdir /usr/share/zsh/site-functions + insinto /usr/share/zsh/${PV%_*}/functions/Prompts + doins ${FILESDIR}/prompt_gentoo_setup || die + + # install miscellaneous scripts; bug #54520 + sed -i -e "s:/usr/local:/usr:g" {Util,Misc}/* || "sed failed" + insinto /usr/share/zsh/${PV%_*}/Util + doins Util/* || die "doins Util scripts failed" + insinto /usr/share/zsh/${PV%_*}/Misc + doins Misc/* || die "doins Misc scripts failed" + + dodoc ChangeLog* META-FAQ README INSTALL LICENCE config.modules + + if use doc ; then + dohtml Doc/* + insinto /usr/share/doc/${PF} + doins Doc/zsh{.dvi,_us.ps,_a4.ps} + fi + + docinto StartupFiles + dodoc StartupFiles/z* +} + +pkg_preinst() { + # Our zprofile file does the job of the old zshenv file + # Move the old version into a zprofile script so the normal + # etc-update process will handle any changes. + if [ -f /etc/zsh/zshenv -a ! -f /etc/zsh/zprofile ]; then + mv /etc/zsh/zshenv /etc/zsh/zprofile + fi +} + +pkg_postinst() { + einfo + einfo "If you want to enable Portage completions and Gentoo prompt," + einfo "emerge app-shells/zsh-completion and add" + einfo " autoload -U compinit promptinit" + einfo " compinit" + einfo " promptinit; prompt gentoo" + einfo "to your ~/.zshrc" + einfo + einfo "Also, if you want to enable cache for the completions, add" + einfo " zstyle ':completion::complete:*' use-cache 1" + einfo "to your ~/.zshrc" + einfo + # see Bug 26776 + ewarn + ewarn "If you are upgrading from zsh-4.0.x you may need to" + ewarn "remove all your old ~/.zcompdump files in order to use" + ewarn "completion. For more info see zcompsys manpage." + ewarn +} |