summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Amit <abhishek@gentoo.org>2004-06-16 00:34:26 +0000
committerAbhishek Amit <abhishek@gentoo.org>2004-06-16 00:34:26 +0000
commita94e631d6dbdb7fd99d8bb166f8cdd568aabaee1 (patch)
treea22f12c8a8fd04cdd66a83d6262143e547cee523 /net-mail
parentStable on sparc. (diff)
downloadhistorical-a94e631d6dbdb7fd99d8bb166f8cdd568aabaee1.tar.gz
historical-a94e631d6dbdb7fd99d8bb166f8cdd568aabaee1.tar.bz2
historical-a94e631d6dbdb7fd99d8bb166f8cdd568aabaee1.zip
Bumped to version 55 and added patch to work with new interface
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/yosucker/ChangeLog8
-rw-r--r--net-mail/yosucker/Manifest5
-rw-r--r--net-mail/yosucker/files/digest-yosucker-551
-rw-r--r--net-mail/yosucker/files/sputnik.patch43
-rw-r--r--net-mail/yosucker/yosucker-55.ebuild52
5 files changed, 107 insertions, 2 deletions
diff --git a/net-mail/yosucker/ChangeLog b/net-mail/yosucker/ChangeLog
index b5376a740f9b..b568007b89e0 100644
--- a/net-mail/yosucker/ChangeLog
+++ b/net-mail/yosucker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/yosucker
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/yosucker/ChangeLog,v 1.10 2004/05/08 22:10:33 abhishek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/yosucker/ChangeLog,v 1.11 2004/06/16 00:34:26 abhishek Exp $
+
+*yosucker-55 (15 Jun 2004)
+
+ 15 Jun 2004; Abhishek Amit <abhishek@gentoo.org> +files/sputnik.patch,
+ +yosucker-55.ebuild:
+ Bumped to version 55 and added patch to work with new interface
*yosucker-53-r1 (08 May 2004)
diff --git a/net-mail/yosucker/Manifest b/net-mail/yosucker/Manifest
index 0d9b91e8b280..171eba791812 100644
--- a/net-mail/yosucker/Manifest
+++ b/net-mail/yosucker/Manifest
@@ -1,9 +1,12 @@
MD5 676e8211fb5cfa55da4433fd732b6f14 yosucker-53-r1.ebuild 1024
MD5 7f356628df248310f5f9c970dd96bf75 yosucker-53.ebuild 842
MD5 f7a9bd43dbde6fcd13d8af12a5bcda82 yosucker-51a.ebuild 837
-MD5 39e2ffe1246ccd736b0d51c519f83bf8 ChangeLog 1560
+MD5 d559227d88a23a3c2583fb6348fffbbd yosucker-55.ebuild 1247
+MD5 a6fd13ed31e8c37f40d668c66a9b8cbd ChangeLog 1750
MD5 7f8bbdab0fe46ee3810ffeb3c67b3efa metadata.xml 483
+MD5 2becf6f4c1360409202a109b2a0fe85e files/sputnik.patch 1173
MD5 ed1deb25b8322aa761f14d340973fa76 files/yosucker-53-no-redirect.patch 637
MD5 99175135a47eff8bc0bd2b63726d307a files/digest-yosucker-51a 65
MD5 7705e38239dc6ec1b8de4c70c0708529 files/digest-yosucker-53 64
+MD5 3382ce3df9a2cdeaaa92ed4c6c0d3ccc files/digest-yosucker-55 64
MD5 7705e38239dc6ec1b8de4c70c0708529 files/digest-yosucker-53-r1 64
diff --git a/net-mail/yosucker/files/digest-yosucker-55 b/net-mail/yosucker/files/digest-yosucker-55
new file mode 100644
index 000000000000..1a9a270d1c26
--- /dev/null
+++ b/net-mail/yosucker/files/digest-yosucker-55
@@ -0,0 +1 @@
+MD5 3217363269466ca208932300fca8f083 YoSucker-pr55.tar.gz 38501
diff --git a/net-mail/yosucker/files/sputnik.patch b/net-mail/yosucker/files/sputnik.patch
new file mode 100644
index 000000000000..05624b00fa5a
--- /dev/null
+++ b/net-mail/yosucker/files/sputnik.patch
@@ -0,0 +1,43 @@
+--- sputnik.pm 2004-06-08 06:16:03.000000000 -0400
++++ sputnik.pm 2004-06-15 13:37:01.000000000 -0400
+@@ -1485,27 +1485,10 @@
+
+ $headeritmz[@headeritmz] = "From YoSucker ".$timenow."\n";
+
+- my $folded = 0;
+
+ while (<$handle>) {
+- # chomp;
+-# if (/\:<\/b><\/td>/) {
+- if ($folded) {
+- $folded = 0 if /<\/small>/;
+- s/<[^>]*>//gs;
+- s/\&lt\;/</gs;
+- s/\&gt\;/>/gs;
+- s/\&#34\;/"/gs;
+- s/\&#39\;/'/gs;
+- s/\&amp\;/\&/gs;
+- s/From:(.*?)&nbsp;\|.+$/From:$1/;
+- s/From:(.*?)&nbsp;&nbsp;.+$/From:$1/;
+- s/\&nbsp\;/ /gs;
+- $headeritmz[@headeritmz-1] .= $_;
+- }
+- elsif (/:(<\/small><\/b><\/td>|<\/b><\/td>)/i) {
++ if (/^<tr><td class=label nowrap>/i) {
+ $headers_fetched = 'yes';
+- $folded = 1 unless /(<\/small>|<\/a>)<\/td><\/tr>$/i;
+ s/<[^>]*>//gs;
+ s/\&lt\;/</gs;
+ s/\&gt\;/>/gs;
+@@ -1518,6 +1501,11 @@
+ s/^$key/$class->{headtrans}{$key}/g;
+ }
+
++ # new stuff to strip out for 100meg yahoo
++ s/^<tr><td class=label nowrap>//gs;
++ s/<\/td><td>//gs;
++ s/<\/td><\/tr>//gs;
++
+ s/From:(.*?)&nbsp;\|.+$/From:$1/;
+ s/From:(.*?)&nbsp;&nbsp;.+$/From:$1/;
+ s/\&nbsp\;/ /gs;
diff --git a/net-mail/yosucker/yosucker-55.ebuild b/net-mail/yosucker/yosucker-55.ebuild
new file mode 100644
index 000000000000..761a607f1173
--- /dev/null
+++ b/net-mail/yosucker/yosucker-55.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/yosucker/yosucker-55.ebuild,v 1.1 2004/06/16 00:34:26 abhishek Exp $
+
+inherit eutils
+
+MY_P="YoSucker-pr${PV}"
+S=${WORKDIR}/${MY_P}
+IUSE=""
+DESCRIPTION="Perl script that downloads mail from a Yahoo! webmail account to a local mail spool, an mbox file, or to procmail."
+SRC_URI="mirror://sourceforge/yosucker/${MY_P}.tar.gz"
+HOMEPAGE="http://yosucker.sourceforge.net"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+SLOT="0"
+
+DEPEND="dev-lang/perl
+ dev-perl/TermReadKey
+ dev-perl/Digest-MD5
+ dev-perl/IO-Socket-SSL
+ dev-perl/MIME-Base64"
+
+RDEPEND=""
+
+src_unpack(){
+ unpack ${A}
+ cd ${S}/lib
+ epatch ${FILESDIR}/sputnik.patch
+}
+
+src_install() {
+ dobin bin/*
+ mv utils/README utils/README.utils
+ dodoc docs/*
+ insinto /usr/share/doc/${P}/conf
+ doins conf/*
+ dolib lib/sputnik.pm
+
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "The Yahoo! Mail interface has changed and you will need to log in to it manually before yosucker works again."
+ ewarn
+ for TICKER in 1 2 3 4 5; do
+ # Double beep here.
+ echo -ne "\a" ; sleep 0.1 &>/dev/null ; sleep 0,1 &>/dev/null
+ echo -ne "\a" ; sleep 1
+ done
+ sleep 8
+}