diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-10-07 23:38:17 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-10-07 23:38:17 +0000 |
commit | 5f83078fd2167af0d932e666519e915686eadaf6 (patch) | |
tree | 8a9ec54fe3f1e9dd53aaf29c5e788fed17d09e1f /app-shells/zsh | |
parent | vanilla-3.16.4 + genpatches-3.16.6 + grsecurity-3.0-3.16.4-201410062041 (diff) | |
download | historical-5f83078fd2167af0d932e666519e915686eadaf6.tar.gz historical-5f83078fd2167af0d932e666519e915686eadaf6.tar.bz2 historical-5f83078fd2167af0d932e666519e915686eadaf6.zip |
Version bump.
Package-Manager: portage-2.2.12/cvs/Linux x86_64
Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'app-shells/zsh')
-rw-r--r-- | app-shells/zsh/ChangeLog | 7 | ||||
-rw-r--r-- | app-shells/zsh/Manifest | 17 | ||||
-rw-r--r-- | app-shells/zsh/zsh-5.0.7.ebuild | 170 |
3 files changed, 187 insertions, 7 deletions
diff --git a/app-shells/zsh/ChangeLog b/app-shells/zsh/ChangeLog index 782b09d02699..cc145047710d 100644 --- a/app-shells/zsh/ChangeLog +++ b/app-shells/zsh/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-shells/zsh # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.242 2014/08/29 06:07:51 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.243 2014/10/07 23:38:12 radhermit Exp $ + +*zsh-5.0.7 (07 Oct 2014) + + 07 Oct 2014; Tim Harder <radhermit@gentoo.org> +zsh-5.0.7.ebuild: + Version bump. 29 Aug 2014; Mikle Kolyada <zlogene@gentoo.org> zsh-5.0.5.ebuild: ppc64 stable wrt bug #505590 diff --git a/app-shells/zsh/Manifest b/app-shells/zsh/Manifest index 256bda88bd09..9aca25ab5e03 100644 --- a/app-shells/zsh/Manifest +++ b/app-shells/zsh/Manifest @@ -14,18 +14,23 @@ DIST zsh-5.0.5-doc.tar.bz2 2940018 SHA256 e4f22bafaa8410bbc2d83f2d748ca476436575 DIST zsh-5.0.5.tar.bz2 3104375 SHA256 6624d2fb6c8fa4e044d2b009f86ed1617fe8583c83acfceba7ec82826cfa8eaf SHA512 34d69bed190cbc476bcdaa4b703fee1caaeae7e011fe7ea595b29bbd31df57bbe4d19b5940618e0c89a0a4b6c476f9ef03ce9829b4fb3735c1aedf309b0225a5 WHIRLPOOL bf02ca194261e15e88a9e26212644aa7be1afcc8e73cd6bb18ffb8e1c1d46a8742fee109d92a3b455c418258df9ae74dece21a05ff0e54e8c370af094512af16 DIST zsh-5.0.6-doc.tar.bz2 2999237 SHA256 b273a568682682cc1f00885aba118c7400cacfdbc0ecdf32fd5f9b820b8acfd6 SHA512 22d0b1ac03426413e8132602efc812343e77ee0fda399da2601dfde8c92aabc38eda33a9b459a7ae44542ac8ad0f6c9b3e36e2134521cc0993a84ae573500fd8 WHIRLPOOL d837cadfae5ea6818c731ddb58252f2ae1f2919dd9a1efe804b7a6d2c32d8dd0d4ade9996e83950c479a3f5a4335d56d71f81bffc4de2410406d9840089de0a0 DIST zsh-5.0.6.tar.bz2 3174858 SHA256 84ca509b141533a3b695e314fbce1200b86ff337ab7dd9e3414da05d86378845 SHA512 bd28ebf9adb4a85e6cb9c9bc1eb7ab412a0bf467a9769021d6cd93b13b99ae961a57158374b935e615b54be92074c7adfc22434d204646110adedef4ff526c3f WHIRLPOOL a3091bd096382e615777047814b2d7a04b34d03d7111db552f749aa978f236f9fa8a1426dbbe00e1172432cce35b34374d85d5e7e543c6d1f1bf9c53832d9969 +DIST zsh-5.0.7-doc.tar.bz2 3005587 SHA256 43e8665ba9d9eca8370c64e2d4846e84f9111c628e5792f2aa639a7fb209fcf1 SHA512 5a8bdf00bb646bb844a2d953aed85de802fe2e8fa05a76382d3baeba8a0108fa2d0b137b7d9bf88eeeb77ea06843fe1c56ec1fece1389b502e39a16dd31f208c WHIRLPOOL 0364f134997e4df63e7d6e9b6c81030dcf96ce30bb329b353fccf682ab5e20964d028e6667d836ff1a4c70e27331632cc96c7871ba69afc611c7bbdd09c8508b +DIST zsh-5.0.7.tar.bz2 3181030 SHA256 544e27de81740286b916d1d77c9f48ad7c26ad7943ed96d278abee67cf6704b3 SHA512 e309863b41c9f92996fb9301d96d1aa43270ef8a04626c946703675b16a0a2ac9fddc959184cd8c639bd061fc2dd21902b21515550f639faacccdabd59e256e5 WHIRLPOOL f7cfbc41a2c990f702fee4ee158db79ebaad794479a62ff0ccd1d466077556e93b5e563575f9fd25dde1cb5e3c3610a14c997155ea76d86293d0a08168a3a418 EBUILD zsh-5.0.2-r3.ebuild 5709 SHA256 842db561fd08a8e1600cf715bc8af7bfcf7c6153de6f0ebae416d6f4b60882c4 SHA512 9ed6b1b57f701dfdcb0863b31403cff0bc9072c3492b5109dd3cf102432718d9dcb67fd08b31dfdf123a57b76906528bb427c030e6e9057f9f368898de180a8d WHIRLPOOL 8434427f419830fcbe65705676069bfb198ac9d98527127e4a3187fa77a2f67518f91e5ee0e57d7c2acc6281d001e87677aa89a8c4428f5477f9ef6ad32dd176 EBUILD zsh-5.0.4.ebuild 5217 SHA256 3c9642d074e5aedcb95e653c2308a650a8e2c63d1bee90b665841b8ab97bdb38 SHA512 63dc6f7d78655c2732aa9341eea6f164458a02713587e905779652944f29f6b3ebc2112c9818e945bf14a9d2f563802dac2df8f444adb5b2c3b676a521c36c30 WHIRLPOOL 4ac5cc7e2b87fd307f5bb590ec215bcb9a374e7257fbd90f519fbc760ba845ca801159b066dbdc6e4894f2883cc1986942ddc7759ab1bca447c21a60ed5e1bbf EBUILD zsh-5.0.5.ebuild 5168 SHA256 6cd373d61223a0a6702c50fb5c72d16337e1efef7a3825079055278d05a772f2 SHA512 fe64f3d1f5f8ef08374695b3ad1227e55add3fa351f0c69a9fdb27396232a14a698d86749b733f1710c81c535b6a637c7354590bfb3ebe0253645d04c604241e WHIRLPOOL 27f2b150a6ce3e0df57aeeb0d7e5b5fd567d9aebdae123773d365a3674cb92b73cfc15e02b2cf8b7d92d8e1fe27947b485407799dc84591bf006063386f9d19a EBUILD zsh-5.0.6.ebuild 5178 SHA256 29aa56e2c90eaa74ce80ac0d1c99e71b557d99cf979205544dcafde44f050f87 SHA512 e08415ebc9fe66ed6e853c9bc0cb0cb813a2ed1ca219f7492dab20e93397412ee1a6e98a68ccdf3c372c8bd5c8cff95336d9dbd172f0ead50829ef5efe53e9ee WHIRLPOOL d28f2036c564ccd6cb9fdc8c2c833ce03ae99177abc2595cd64f270ac0d80bd02862e7a3d06744556bd3a9817565ce98275f7c40e11673ae38c907710ebe9cd1 -MISC ChangeLog 33513 SHA256 a06091678fe1399ead9fb5065e55bf1e4b6454f9ebcbf05ccf8b5785a494a686 SHA512 e066baf160d8281a7ba437b3c882b2697d1c92ad9402ab9beb38319eb7ae4b6dc29e2b31309b0b73fcfbef5d7cea039a00f54c725c80c4debac4026b90fe1ab7 WHIRLPOOL eb2721db81a360ebe27e9f9514468033f3fb8113819549e71621e0df8207a367b32c682f0adb4c6197220a1490418fa32ae0769aa0bd64d29a5136c14e7dd258 +EBUILD zsh-5.0.7.ebuild 5178 SHA256 e4a8c5d69ca90949436722479a4d3d7daae79b4645cdd49655109730a4554450 SHA512 7f7f235145219b8d8a66e012afcf3469a99e98fc4225c62917e26e642909b65b8173c454f369b8bf4d0dfaaafae03c67d415652740a194c14ca93853d2101c46 WHIRLPOOL bbdaa7ebda6ebb23d6f16351180b984aa242510fca95c50947f8ec491a72251fd571595e6153b0e925da46a1ec61fa6437e6d872877120a4542d0a5acfb0f902 +MISC ChangeLog 33626 SHA256 f00c2a5041c6b3d7034441992512c3ca04cbda64f969111c3fa40c61194b98f7 SHA512 bbd9dcb90305176ec086016ccc1df58b0aa565b99c1f3d1278af145497a10692aad716ed8df97549486ef748b31c9de8ce305ceb6a442fda70c5c49cae8ed072 WHIRLPOOL a2149282909052432a45145ec27d2f9460428eebd1409268b4f1a5b3ae8a4e6c43ccd0d2cd76bca5025f34294c32d95da3bf674697665ff9e78c1690140b8162 MISC metadata.xml 485 SHA256 84d741251360af7179bf3a275080446750e3e360b4f48937b8a623ccd7602c12 SHA512 e702b9c921b24b7303e0936fe6370f901173e1bfa9bc91bacc747c69dda8205ab785f77088e6d9ea357b4863bb56b17bbe787ddc33290c1b7561764b0856cf6e WHIRLPOOL 3abceaebe3c2ec65bcfccfe040bb7693a5100d604d247bb252ce8d670fd5eb4229ea1ae24ae3b4d3ef8d1cd4eb5d8e64063ebb019b83a021c20f47283c039a94 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iJwEAQEIAAYFAlQAGHsACgkQG9wOWsQutdaTUwQA1tM1VgLpm+CYgLkXKdgFQNBb -At7Gg7ApVGltesDkvkSX9uZ58ogQkySxsr+LR772DSDC8DA4PP0ele1uIyjhSAtz -O23CjdYqfRDtKnM66JmezDs9QRjER6ryQRLOT9MRenC+ILpfqxyhqaUcGZti6JoK -cc6qTe6v6FJkRPCA5H0= -=znQJ +iQEcBAEBCAAGBQJUNHmJAAoJEEqz6FtPBkyjdqoIAIJ1mpdi2XNmOXkoCFzvHCex +BRsT/Uiffs9wCmiu7F5DkqzD2QxKGuqhavl4w3JH7hZw6ryfiu3w5l6zNvuBID5j +my+exNlYbOQkqCO4aLsKL1FDgKrnbCkh7EbS8a2LJ80zUrgb4pc4RjGOWS1E6nuZ +20HewxpfwZb6Xd//prQBtQppSK6YTlTQnwFxn/jw+W2A+z2jqJHIOlwcbAt3IaiU +xNOek4Ek/JQnlIuxVeU6aOvpDnP8PstG3xuNikm8Z5AvGsbpKTeNenQ2Rer4404r +R/ME68paYSluQUtO6CZ9wiGno+gv7Yrhl+N8+nB9SbWQly05CiSXSMBm+2jnuiE= +=63Ya -----END PGP SIGNATURE----- diff --git a/app-shells/zsh/zsh-5.0.7.ebuild b/app-shells/zsh/zsh-5.0.7.ebuild new file mode 100644 index 000000000000..836b60cde54e --- /dev/null +++ b/app-shells/zsh/zsh-5.0.7.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-5.0.7.ebuild,v 1.1 2014/10/07 23:38:12 radhermit Exp $ + +EAPI=5 + +inherit eutils flag-o-matic multilib prefix + +DESCRIPTION="UNIX Shell similar to the Korn shell" +HOMEPAGE="http://www.zsh.org/" +SRC_URI="http://www.zsh.org/pub/${P}.tar.bz2 + doc? ( http://www.zsh.org/pub/${P}-doc.tar.bz2 )" + +LICENSE="ZSH gdbm? ( GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="caps debug doc examples gdbm maildir pcre static unicode" + +RDEPEND=" + >=sys-libs/ncurses-5.1 + static? ( >=sys-libs/ncurses-5.7-r4[static-libs] ) + caps? ( sys-libs/libcap ) + pcre? ( >=dev-libs/libpcre-3.9 + static? ( >=dev-libs/libpcre-3.9[static-libs] ) ) + gdbm? ( sys-libs/gdbm ) +" +DEPEND="sys-apps/groff + ${RDEPEND}" +PDEPEND=" + examples? ( app-doc/zsh-lovers ) +" + +src_prepare() { + # fix zshall problem with soelim + ln -s Doc man1 + mv Doc/zshall.1 Doc/zshall.1.soelim + soelim Doc/zshall.1.soelim > Doc/zshall.1 + + epatch "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff + + cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die + eprefixify "${T}"/zprofile || die + if use prefix ; then + sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die + else + sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die + fi +} + +src_configure() { + local myconf= + + if use static ; then + myconf+=" --disable-dynamic" + append-ldflags -static + fi + if use debug ; then + myconf+=" \ + --enable-zsh-debug \ + --enable-zsh-mem-debug \ + --enable-zsh-mem-warning \ + --enable-zsh-secure-free \ + --enable-zsh-hash-debug" + fi + + if [[ ${CHOST} == *-darwin* ]]; then + myconf+=" --enable-libs=-liconv" + append-ldflags -Wl,-x + fi + + econf \ + --bindir="${EPREFIX}"/bin \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --enable-etcdir="${EPREFIX}"/etc/zsh \ + --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \ + --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \ + --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \ + --enable-function-subdirs \ + --with-tcsetpgrp \ + $(use_enable maildir maildir-support) \ + $(use_enable pcre) \ + $(use_enable caps cap) \ + $(use_enable unicode multibyte) \ + $(use_enable gdbm ) \ + ${myconf} + + if use static ; then + # compile all modules statically, see Bug #27392 + # removed cap and curses because linking failes + sed -i \ + -e "s,link=no,link=static,g" \ + -e "/^name=zsh\/cap/s,link=static,link=no," \ + -e "/^name=zsh\/curses/s,link=static,link=no," \ + "${S}"/config.modules || die + if ! use gdbm ; then + sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \ + "${S}"/config.modules || die + fi + fi +} + +src_test() { + addpredict /dev/ptmx + local i + for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do + rm "${S}"/Test/${i} || die + done + emake check +} + +src_install() { + emake DESTDIR="${D}" install install.info + + insinto /etc/zsh + doins "${T}"/zprofile + + keepdir /usr/share/zsh/site-functions + insinto /usr/share/zsh/${PV%_*}/functions/Prompts + newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup + + # install miscellaneous scripts; bug #54520 + local i + sed -i -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \ + -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" "${S}"/{Util,Misc}/* || die + for i in Util Misc ; do + insinto /usr/share/zsh/${PV%_*}/${i} + doins ${i}/* + done + + dodoc ChangeLog* META-FAQ NEWS README config.modules + + if use doc ; then + pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null + dohtml -r Doc/* + insinto /usr/share/doc/${PF} + doins Doc/zsh.{dvi,pdf} + popd >/dev/null + fi + + docinto StartupFiles + dodoc StartupFiles/z* +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + # should link to http://www.gentoo.org/doc/en/zsh.xml + echo + elog "If you want to enable Portage completions and Gentoo prompt," + elog "emerge app-shells/zsh-completion and add" + elog " autoload -U compinit promptinit" + elog " compinit" + elog " promptinit; prompt gentoo" + elog "to your ~/.zshrc" + echo + elog "Also, if you want to enable cache for the completions, add" + elog " zstyle ':completion::complete:*' use-cache 1" + elog "to your ~/.zshrc" + echo + elog "Note that a system zprofile startup file is installed. This will override" + elog "PATH and possibly other variables that a user may set in ~/.zshenv." + elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile" + elog "or other user startup files that are sourced after the system zprofile." + echo + elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells," + elog "one method is to use a separate path-setting file that is conditionally sourced" + elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the" + elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/." + echo + fi +} |