From 37f01575a193c6ea042db1d3d41ee9fe7de6f082 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 2 Dec 2006 14:03:37 +0000 Subject: [PATCH] New revision to fix bug #156422 and the additional comments on bug #91725. Thanks to Matus UHLAR - fantomas. Package-Manager: portage-2.1.1-r2 --- app-shells/tcsh/ChangeLog | 9 ++- app-shells/tcsh/Manifest | 27 +++++--- app-shells/tcsh/files/digest-tcsh-6.14-r4 | 6 ++ app-shells/tcsh/files/tcsh-6.14-r4.patch | 34 ++++++++++ app-shells/tcsh/tcsh-6.14-r3.ebuild | 5 +- app-shells/tcsh/tcsh-6.14-r4.ebuild | 75 +++++++++++++++++++++++ 6 files changed, 144 insertions(+), 12 deletions(-) create mode 100644 app-shells/tcsh/files/digest-tcsh-6.14-r4 create mode 100644 app-shells/tcsh/files/tcsh-6.14-r4.patch create mode 100644 app-shells/tcsh/tcsh-6.14-r4.ebuild 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 + +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 +files/tcsh-6.14-makefile.patch, tcsh-6.14-r3.ebuild: diff --git a/app-shells/tcsh/Manifest b/app-shells/tcsh/Manifest index 14148cbd3411..4689c2e1327a 100644 --- a/app-shells/tcsh/Manifest +++ b/app-shells/tcsh/Manifest @@ -6,20 +6,28 @@ AUX tcsh-6.14-r2.patch 2057 RMD160 8fba8a743944e04e8f03525ee0f8763576d251ec SHA1 MD5 dc3f6395569049b5f3a1547364be0260 files/tcsh-6.14-r2.patch 2057 RMD160 8fba8a743944e04e8f03525ee0f8763576d251ec files/tcsh-6.14-r2.patch 2057 SHA256 cdc6f499a9eef1876604a0072562aad4b594e12c6073a98ea7a2f33d88aa21c5 files/tcsh-6.14-r2.patch 2057 +AUX tcsh-6.14-r4.patch 1015 RMD160 8eac7bf5afbe02bd1b88333c408f883497788c51 SHA1 2d31d93c424032a459273e83e7533f8f70e9e314 SHA256 bf6c7ef9f699db88f54550fb7c2b45e0045542eba057724052e12c6a805f3aa9 +MD5 8a5b99cada661f3759a22e9b38857cb7 files/tcsh-6.14-r4.patch 1015 +RMD160 8eac7bf5afbe02bd1b88333c408f883497788c51 files/tcsh-6.14-r4.patch 1015 +SHA256 bf6c7ef9f699db88f54550fb7c2b45e0045542eba057724052e12c6a805f3aa9 files/tcsh-6.14-r4.patch 1015 AUX tcsh-6.14.00-debian-dircolors.patch 444 RMD160 8ab4e49fbfd979aed6cfdd5bd45c5e37fa810394 SHA1 a7ccadc40cb4d6e9dcfc9672c5bf7f547ed0bd83 SHA256 a9568a2a474ef662a665c87c52983fea7999e5cf2bc4920d45baa2558c9dc32a MD5 18211cacb14d3b0d1253b35bb9683d21 files/tcsh-6.14.00-debian-dircolors.patch 444 RMD160 8ab4e49fbfd979aed6cfdd5bd45c5e37fa810394 files/tcsh-6.14.00-debian-dircolors.patch 444 SHA256 a9568a2a474ef662a665c87c52983fea7999e5cf2bc4920d45baa2558c9dc32a files/tcsh-6.14.00-debian-dircolors.patch 444 DIST tcsh-6.14-conffiles.tar.bz2 20200 RMD160 96e5e43985fe1b6e53b4a2a53f1b7bed3c2ae103 SHA1 3ec8841c88b2c99c6b5978b907d9f3daa22faa7c SHA256 1bae5000c84593187974580c48b0edcec88e2f6363e3c1ec1e43da45c9a63049 DIST tcsh-6.14.00.tar.gz 859780 RMD160 fa7635225ceb0225aedcfad5dd9d8e17d8d70849 SHA1 55a08b31a57cfd8631edd1fb7e42f18578d8198a SHA256 fd738ac0c003d283a214d15d46c1bc3fb80afad697110994dccb8d101f0d6f0e -EBUILD tcsh-6.14-r3.ebuild 2461 RMD160 b6927db0ea964666c01f8ef5d11dcdb44771702a SHA1 c518e799bdf515f88783e4e16eb2d40ee361f0b3 SHA256 16d851fa2b98951b74a0dddada0714d35e49ed9fe8d71deacb5348ff4d04d83d -MD5 d6238111d23e48c7f59fde38d9866b19 tcsh-6.14-r3.ebuild 2461 -RMD160 b6927db0ea964666c01f8ef5d11dcdb44771702a tcsh-6.14-r3.ebuild 2461 -SHA256 16d851fa2b98951b74a0dddada0714d35e49ed9fe8d71deacb5348ff4d04d83d tcsh-6.14-r3.ebuild 2461 -MISC ChangeLog 9046 RMD160 b300f28642c28656355bafb2429ad7b0fe2290d1 SHA1 a7dfda1e4e60a9313f1305181195521ce4eb8392 SHA256 fc51b4e3422718efeb49d1077da87fe365c545c879ef81cb7bad6f80422c7b67 -MD5 65ee6b00cdf4791c1501d472e526db73 ChangeLog 9046 -RMD160 b300f28642c28656355bafb2429ad7b0fe2290d1 ChangeLog 9046 -SHA256 fc51b4e3422718efeb49d1077da87fe365c545c879ef81cb7bad6f80422c7b67 ChangeLog 9046 +EBUILD tcsh-6.14-r3.ebuild 2460 RMD160 08f9567534c1ffe744647dead6094fbf1fce49b8 SHA1 6b87244bb363bfd81ddf38eec1f687a5fe7c1abe SHA256 552218329160f8caee971af1f17fb13cdfdc98cdba0011fa7078878cbf809693 +MD5 04e2a3e36e7da5580e38051ce957ad3d tcsh-6.14-r3.ebuild 2460 +RMD160 08f9567534c1ffe744647dead6094fbf1fce49b8 tcsh-6.14-r3.ebuild 2460 +SHA256 552218329160f8caee971af1f17fb13cdfdc98cdba0011fa7078878cbf809693 tcsh-6.14-r3.ebuild 2460 +EBUILD tcsh-6.14-r4.ebuild 1836 RMD160 2936db02c06f9eee13fcd04237608d6b711c7576 SHA1 d871b52c386b1b2ecc53e67abcb3d3d5ddc3df36 SHA256 feb56b7085205e72e3236569b603ab6c58277828deb780c71183a16b16326165 +MD5 a59c3ba09da2a4da1027be1d79ddcbd3 tcsh-6.14-r4.ebuild 1836 +RMD160 2936db02c06f9eee13fcd04237608d6b711c7576 tcsh-6.14-r4.ebuild 1836 +SHA256 feb56b7085205e72e3236569b603ab6c58277828deb780c71183a16b16326165 tcsh-6.14-r4.ebuild 1836 +MISC ChangeLog 9312 RMD160 a0c503a0ebb58dd924ca88c8765915aff9b57ee6 SHA1 4a5555d2b876d66ce217ad4834ccb955e631c556 SHA256 ebc28a6ac42fe0a382fe5f0c69e683b528aac65c6931001bc19cbdd227d82721 +MD5 52d49826890d5f1100022df6489d8eae ChangeLog 9312 +RMD160 a0c503a0ebb58dd924ca88c8765915aff9b57ee6 ChangeLog 9312 +SHA256 ebc28a6ac42fe0a382fe5f0c69e683b528aac65c6931001bc19cbdd227d82721 ChangeLog 9312 MISC metadata.xml 655 RMD160 10cac0d0a38ab114ec6f34be1fed837f38a77f40 SHA1 8e04b7ca425f5469ce8515c2ab8fce6cf166b3ca SHA256 bde0b24fe9a295482f3394de9b3d658bbcc2e58504136785fd4a6210b1d2e28b MD5 57ae68ef95b893d172203de06faf380d metadata.xml 655 RMD160 10cac0d0a38ab114ec6f34be1fed837f38a77f40 metadata.xml 655 @@ -27,3 +35,6 @@ SHA256 bde0b24fe9a295482f3394de9b3d658bbcc2e58504136785fd4a6210b1d2e28b metadata MD5 6a74574703dca366bcf1a246f9bf6e32 files/digest-tcsh-6.14-r3 497 RMD160 28da1915a51453b91b97fe54a3866e7bc589b8c0 files/digest-tcsh-6.14-r3 497 SHA256 92be31902b0ded77904c82ced086d52942e9a5fc4a99a90983091fc22c61b4f5 files/digest-tcsh-6.14-r3 497 +MD5 6a74574703dca366bcf1a246f9bf6e32 files/digest-tcsh-6.14-r4 497 +RMD160 28da1915a51453b91b97fe54a3866e7bc589b8c0 files/digest-tcsh-6.14-r4 497 +SHA256 92be31902b0ded77904c82ced086d52942e9a5fc4a99a90983091fc22c61b4f5 files/digest-tcsh-6.14-r4 497 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 +} -- 2.26.2