diff options
author | Fabian Groffen <grobian@gentoo.org> | 2006-12-02 14:03:37 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2006-12-02 14:03:37 +0000 |
commit | 0f2a5d190136dec71081fd7492f0db2397d67153 (patch) | |
tree | 17c3e5a3c182cb8e7124ac187607234f20b19daf /app-shells/tcsh | |
parent | Version bump (diff) | |
download | gentoo-2-0f2a5d190136dec71081fd7492f0db2397d67153.tar.gz gentoo-2-0f2a5d190136dec71081fd7492f0db2397d67153.tar.bz2 gentoo-2-0f2a5d190136dec71081fd7492f0db2397d67153.zip |
New revision to fix bug #156422 and the additional comments on bug #91725. Thanks to Matus UHLAR - fantomas.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-shells/tcsh')
-rw-r--r-- | app-shells/tcsh/ChangeLog | 9 | ||||
-rw-r--r-- | app-shells/tcsh/files/digest-tcsh-6.14-r4 | 6 | ||||
-rw-r--r-- | app-shells/tcsh/files/tcsh-6.14-r4.patch | 34 | ||||
-rw-r--r-- | app-shells/tcsh/tcsh-6.14-r3.ebuild | 5 | ||||
-rw-r--r-- | app-shells/tcsh/tcsh-6.14-r4.ebuild | 75 |
5 files changed, 125 insertions, 4 deletions
diff --git a/app-shells/tcsh/ChangeLog b/app-shells/tcsh/ChangeLog index 45d3a06e357a..e297d668a530 100644 --- a/app-shells/tcsh/ChangeLog +++ b/app-shells/tcsh/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-shells/tcsh # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.63 2006/10/19 20:17:19 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.64 2006/12/02 14:03:37 grobian Exp $ + +*tcsh-6.14-r4 (02 Dec 2006) + + 02 Dec 2006; Fabian Groffen <grobian@gentoo.org> + +files/tcsh-6.14-r4.patch, tcsh-6.14-r3.ebuild, +tcsh-6.14-r4.ebuild: + New revision to fix bug #156422 and the additional comments on bug #91725. + Thanks to Matus UHLAR - fantomas. 19 Oct 2006; Fabian Groffen <grobian@gentoo.org> +files/tcsh-6.14-makefile.patch, tcsh-6.14-r3.ebuild: diff --git a/app-shells/tcsh/files/digest-tcsh-6.14-r4 b/app-shells/tcsh/files/digest-tcsh-6.14-r4 new file mode 100644 index 000000000000..c15c253dc055 --- /dev/null +++ b/app-shells/tcsh/files/digest-tcsh-6.14-r4 @@ -0,0 +1,6 @@ +MD5 06d9a00fa7e034394bf1152f0fc3e950 tcsh-6.14-conffiles.tar.bz2 20200 +RMD160 96e5e43985fe1b6e53b4a2a53f1b7bed3c2ae103 tcsh-6.14-conffiles.tar.bz2 20200 +SHA256 1bae5000c84593187974580c48b0edcec88e2f6363e3c1ec1e43da45c9a63049 tcsh-6.14-conffiles.tar.bz2 20200 +MD5 353d1bb7d2741bf8de602c7b6f0efd79 tcsh-6.14.00.tar.gz 859780 +RMD160 fa7635225ceb0225aedcfad5dd9d8e17d8d70849 tcsh-6.14.00.tar.gz 859780 +SHA256 fd738ac0c003d283a214d15d46c1bc3fb80afad697110994dccb8d101f0d6f0e tcsh-6.14.00.tar.gz 859780 diff --git a/app-shells/tcsh/files/tcsh-6.14-r4.patch b/app-shells/tcsh/files/tcsh-6.14-r4.patch new file mode 100644 index 000000000000..4fd24f0654c6 --- /dev/null +++ b/app-shells/tcsh/files/tcsh-6.14-r4.patch @@ -0,0 +1,34 @@ +--- gentoo/csh.login ++++ gentoo/csh.login +@@ -1,6 +1,9 @@ + ## Gentoo csh.login + ## +-## 2005-09-27 -- Fabian Groffen (grobian@gentoo.org) ++## 2006-12-02 -- Fabian Groffen (grobian@gentoo.org) ++## Don't set SHELL variable, should be done by login (bug #91725) ++## Properly call tset, such that it actually does something (bug #156422) ++## 2005-09-27 -- Fabian Groffen + ## Resolved reported bug on MOTD (disabled it) + ## 2003-01-13 -- Alain Penders (alain@gentoo.org) + ## Initial version. Inspired by the Suse version. +@@ -16,7 +19,7 @@ + if ( "$TERM" == "unknown" ) setenv TERM linux + # No tset available on SlackWare + if ( -x "`which stty`" ) stty sane cr0 pass8 dec +- if ( -x "`which tset`" ) tset -I -Q ++ if ( -x "`which tset`" ) eval `tset -Q -I -s` + unsetenv TERMCAP + settc km yes + endif +@@ -27,11 +30,6 @@ + umask 022 + + ## +-## Set our SHELL variable. +-## +-setenv SHELL /bin/tcsh +- +-## + ## Setup a default MAIL variable + ## + if ( -f /var/spool/mail/$USER ) then diff --git a/app-shells/tcsh/tcsh-6.14-r3.ebuild b/app-shells/tcsh/tcsh-6.14-r3.ebuild index 3f13a8009354..b43ff76bc399 100644 --- a/app-shells/tcsh/tcsh-6.14-r3.ebuild +++ b/app-shells/tcsh/tcsh-6.14-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.14-r3.ebuild,v 1.15 2006/10/19 20:17:19 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.14-r3.ebuild,v 1.16 2006/12/02 14:03:37 grobian Exp $ inherit eutils @@ -28,8 +28,7 @@ src_unpack() { epatch "${FILESDIR}/${P}"-r2.patch epatch "${FILESDIR}/${P}"-makefile.patch # bug #151951 - if use catalogs ; - then + if use catalogs ; then einfo "enabling NLS catalogs support..." sed -i -e "s/#undef NLS_CATALOGS/#define NLS_CATALOGS/" \ ${WORKDIR}/${MY_P}/config_f.h || die diff --git a/app-shells/tcsh/tcsh-6.14-r4.ebuild b/app-shells/tcsh/tcsh-6.14-r4.ebuild new file mode 100644 index 000000000000..cddd8363b9e8 --- /dev/null +++ b/app-shells/tcsh/tcsh-6.14-r4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.14-r4.ebuild,v 1.1 2006/12/02 14:03:37 grobian Exp $ + +inherit eutils + +MY_P="${P}.00" +DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" +HOMEPAGE="http://www.tcsh.org/" +SRC_URI="ftp://ftp.astron.com/pub/tcsh/${MY_P}.tar.gz + mirror://gentoo/${P}-conffiles.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh +~sparc ~x86" +IUSE="perl catalogs" + +DEPEND=">=sys-libs/ncurses-5.1 + perl? ( dev-lang/perl ) + !app-shells/csh" # bug #119703 + +S=${WORKDIR}/${MY_P} + + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${MY_P}"-debian-dircolors.patch # bug #120792 + epatch "${FILESDIR}/${P}"-r2.patch + epatch "${FILESDIR}/${P}"-makefile.patch # bug #151951 + epatch "${FILESDIR}/${P}"-r4.patch + + if use catalogs ; then + einfo "enabling NLS catalogs support..." + sed -i -e "s/#undef NLS_CATALOGS/#define NLS_CATALOGS/" \ + ${WORKDIR}/${MY_P}/config_f.h || die + eend $? + fi +} + +src_compile() { + econf --prefix=/ || die "econf failed" + emake || die "compile problem" +} + +src_install() { + emake DESTDIR="${D}" install install.man || die + + if use perl ; then + perl tcsh.man2html || die + dohtml tcsh.html/*.html + fi + + insinto /etc + doins \ + "${WORKDIR}"/gentoo/csh.cshrc \ + "${WORKDIR}"/gentoo/csh.login + + insinto /etc/profile.d + doins \ + "${WORKDIR}"/gentoo/tcsh-bindkey.csh \ + "${WORKDIR}"/gentoo/tcsh-settings.csh + + dodoc FAQ Fixes NewThings Ported README WishList Y2K + + docinto examples + dodoc \ + "${WORKDIR}"/gentoo/tcsh-aliases \ + "${WORKDIR}"/gentoo/tcsh-complete \ + "${WORKDIR}"/gentoo/tcsh-gentoo_legacy \ + "${WORKDIR}"/gentoo/tcsh.config + + # bug #119703: add csh -> tcsh symlink + dosym /bin/tcsh /bin/csh +} |