diff options
author | Torsten Veller <tove@gentoo.org> | 2009-07-11 11:47:55 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2009-07-11 11:47:55 +0000 |
commit | ce71453d858af8a7b65a536ad8aa59fa4077aec5 (patch) | |
tree | 48b79c08a4c05db7022215e5afe5c9d55da039e5 /mail-client/cone | |
parent | Version bump. Fixes #194332, #239816, #276947 (diff) | |
download | gentoo-2-ce71453d858af8a7b65a536ad8aa59fa4077aec5.tar.gz gentoo-2-ce71453d858af8a7b65a536ad8aa59fa4077aec5.tar.bz2 gentoo-2-ce71453d858af8a7b65a536ad8aa59fa4077aec5.zip |
Cleanup
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'mail-client/cone')
-rw-r--r-- | mail-client/cone/ChangeLog | 6 | ||||
-rw-r--r-- | mail-client/cone/cone-0.64.ebuild | 29 | ||||
-rw-r--r-- | mail-client/cone/files/cone-dotsignature.patch | 83 |
3 files changed, 5 insertions, 113 deletions
diff --git a/mail-client/cone/ChangeLog b/mail-client/cone/ChangeLog index 90fa11110653..e1c838d15d50 100644 --- a/mail-client/cone/ChangeLog +++ b/mail-client/cone/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-client/cone # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/cone/ChangeLog,v 1.21 2009/07/11 11:44:01 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/cone/ChangeLog,v 1.22 2009/07/11 11:47:54 tove Exp $ + + 11 Jul 2009; Torsten Veller <tove@gentoo.org> -cone-0.64.ebuild, + -files/cone-dotsignature.patch: + Cleanup *cone-0.79 (11 Jul 2009) diff --git a/mail-client/cone/cone-0.64.ebuild b/mail-client/cone/cone-0.64.ebuild deleted file mode 100644 index a849eaf77e78..000000000000 --- a/mail-client/cone/cone-0.64.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/cone/cone-0.64.ebuild,v 1.3 2005/09/02 19:50:48 hansmi Exp $ - -DESCRIPTION="CONE: COnsole News reader and Emailer" -HOMEPAGE="http://www.courier-mta.org/cone/" -SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc ~sparc x86" -IUSE="crypt fam spell" - -RDEPEND="virtual/libc - >=dev-libs/openssl-0.9.6 - dev-libs/libxml2 - fam? ( virtual/fam ) - crypt? ( >=app-crypt/gnupg-1.0.4 ) - spell? ( virtual/aspell-dict )" -DEPEND="${RDEPEND} - dev-lang/perl" - -src_install() { - make check DESTDIR=${D} || die - make install DESTDIR=${D} || die - DESTDIR=${D} make install-configure || die - - dosed "3i export LANG=en_US" /usr/bin/cone -} diff --git a/mail-client/cone/files/cone-dotsignature.patch b/mail-client/cone/files/cone-dotsignature.patch deleted file mode 100644 index 62458b70504f..000000000000 --- a/mail-client/cone/files/cone-dotsignature.patch +++ /dev/null @@ -1,83 +0,0 @@ -diff -ur cone-0.57/cone/cursesmessage.C cone-0.57.my/cone/cursesmessage.C ---- cone-0.57/cone/cursesmessage.C 2003-09-30 07:31:49.000000000 +0400 -+++ cone-0.57.my/cone/cursesmessage.C 2004-05-20 23:53:22.000000000 +0400 -@@ -2044,6 +2044,7 @@ - if (ifs.eof()) - break; - } -+ ifs.close(); - - if (reformatterPtr) - { -@@ -2059,6 +2060,8 @@ - LIBMAIL_THROW(); - } - -+ writeSignature(otmpfile); -+ - otmpfile << flush; - - if (otmpfile.fail() || -@@ -2323,6 +2326,9 @@ - if (reformatterPtr) - delete reformatterPtr; - } -+ -+ writeSignature(otmpfile); -+ - otmpfile << flush; - } - } -diff -ur cone-0.57/cone/mymessage.C cone-0.57.my/cone/mymessage.C ---- cone-0.57/cone/mymessage.C 2003-06-12 02:36:30.000000000 +0400 -+++ cone-0.57.my/cone/mymessage.C 2004-05-21 00:00:04.000000000 +0400 -@@ -566,9 +566,15 @@ - if (customheaders.size() > 0) - o << customheaders << "\n"; - -+ o << "Mime-Version: 1.0\n" -+ << "Content-Type: text/plain; charset=" -+ << Gettext::defaultCharset()->chset -+ << "\nContent-Transfer-Encoding: 8bit\n"; -+ - o << "From: " << from << "\n" - << "Reply-To: " << replyto << "\n\n"; - -+ writeSignature(o); - o.flush(); - - if (o.bad() || o.fail() || -@@ -848,3 +854,20 @@ - return true; - return false; - } -+ -+void myMessage::writeSignature(std::ofstream &o) -+{ -+ string homedir = myServer::getHomeDir(); -+ string signpath = homedir + "/.signature"; -+ string line; -+ ifstream signfile(signpath.c_str()); -+ if(signfile.is_open()) -+ { -+ o << "\n\n--\n"; -+ while (!getline(signfile, line).fail()) -+ { -+ o << line << endl; -+ } -+ signfile.close(); -+ } -+} -diff -ur cone-0.57/cone/mymessage.H cone-0.57.my/cone/mymessage.H ---- cone-0.57/cone/mymessage.H 2003-06-12 02:36:30.000000000 +0400 -+++ cone-0.57.my/cone/mymessage.H 2004-05-20 23:51:22.000000000 +0400 -@@ -149,6 +149,9 @@ - private: - static bool isSignedEncrypted(mail::mimestruct &, bool); - -+protected: -+ static void writeSignature(std::ofstream &); -+ - }; - - #endif |