summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Amit <abhishek@gentoo.org>2004-05-08 22:10:33 +0000
committerAbhishek Amit <abhishek@gentoo.org>2004-05-08 22:10:33 +0000
commit49c9642ddc8a3729c163ad82b2a5595c8681758b (patch)
tree8d5b1b47c95d8f6245737ca3b435bfdf73223f76 /net-mail/yosucker
parentAdded to ~ppc (diff)
downloadhistorical-49c9642ddc8a3729c163ad82b2a5595c8681758b.tar.gz
historical-49c9642ddc8a3729c163ad82b2a5595c8681758b.tar.bz2
historical-49c9642ddc8a3729c163ad82b2a5595c8681758b.zip
Added no-redirect patch. Thanks to Jonathan Rogers <jonner@teegra.net>in bug #50432.
Diffstat (limited to 'net-mail/yosucker')
-rw-r--r--net-mail/yosucker/ChangeLog9
-rw-r--r--net-mail/yosucker/Manifest9
-rw-r--r--net-mail/yosucker/files/digest-yosucker-53-r11
-rw-r--r--net-mail/yosucker/files/yosucker-53-no-redirect.patch24
-rw-r--r--net-mail/yosucker/yosucker-53-r1.ebuild39
5 files changed, 78 insertions, 4 deletions
diff --git a/net-mail/yosucker/ChangeLog b/net-mail/yosucker/ChangeLog
index 3c852d5ba8b3..b5376a740f9b 100644
--- a/net-mail/yosucker/ChangeLog
+++ b/net-mail/yosucker/ChangeLog
@@ -1,6 +1,13 @@
# 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.9 2004/05/02 18:12:59 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/yosucker/ChangeLog,v 1.10 2004/05/08 22:10:33 abhishek Exp $
+
+*yosucker-53-r1 (08 May 2004)
+
+ 08 May 2004; Abhishek Amit <abhishek@gentoo.org>
+ +files/yosucker-53-no-redirect.patch, +yosucker-53-r1.ebuild:
+ Added no-redirect patch. Thanks to Jefery F and Jonathan Rodgers
+ <jonner@teegra.net> in bug #50432.
02 May 2004; David Holm <dholm@gentoo.org> yosucker-53.ebuild:
Added to ~ppc.
diff --git a/net-mail/yosucker/Manifest b/net-mail/yosucker/Manifest
index 64f7113967cf..0d9b91e8b280 100644
--- a/net-mail/yosucker/Manifest
+++ b/net-mail/yosucker/Manifest
@@ -1,6 +1,9 @@
-MD5 d6317d87790b2906393eab9c1cacb5f6 ChangeLog 1305
-MD5 7f8bbdab0fe46ee3810ffeb3c67b3efa metadata.xml 483
-MD5 f7a9bd43dbde6fcd13d8af12a5bcda82 yosucker-51a.ebuild 837
+MD5 676e8211fb5cfa55da4433fd732b6f14 yosucker-53-r1.ebuild 1024
MD5 7f356628df248310f5f9c970dd96bf75 yosucker-53.ebuild 842
+MD5 f7a9bd43dbde6fcd13d8af12a5bcda82 yosucker-51a.ebuild 837
+MD5 39e2ffe1246ccd736b0d51c519f83bf8 ChangeLog 1560
+MD5 7f8bbdab0fe46ee3810ffeb3c67b3efa metadata.xml 483
+MD5 ed1deb25b8322aa761f14d340973fa76 files/yosucker-53-no-redirect.patch 637
MD5 99175135a47eff8bc0bd2b63726d307a files/digest-yosucker-51a 65
MD5 7705e38239dc6ec1b8de4c70c0708529 files/digest-yosucker-53 64
+MD5 7705e38239dc6ec1b8de4c70c0708529 files/digest-yosucker-53-r1 64
diff --git a/net-mail/yosucker/files/digest-yosucker-53-r1 b/net-mail/yosucker/files/digest-yosucker-53-r1
new file mode 100644
index 000000000000..cee2fb40df17
--- /dev/null
+++ b/net-mail/yosucker/files/digest-yosucker-53-r1
@@ -0,0 +1 @@
+MD5 093ad20693f7d4d59b90df5799c3d128 YoSucker-pr53.tar.gz 38275
diff --git a/net-mail/yosucker/files/yosucker-53-no-redirect.patch b/net-mail/yosucker/files/yosucker-53-no-redirect.patch
new file mode 100644
index 000000000000..10bd0dd6b702
--- /dev/null
+++ b/net-mail/yosucker/files/yosucker-53-no-redirect.patch
@@ -0,0 +1,24 @@
+--- YoSucker-pr53/lib/sputnik.pm 2004-01-29 11:48:23.000000000 -0500
++++ YoSucker-pr53_new/lib/sputnik.pm 2004-05-08 02:31:50.276199200 -0400
+@@ -399,20 +399,7 @@
+ # STEP 3
+ ##
+
+- $host = (split("\/",$location))[0];
+- $location =~ s/$host//g;
+- $what = $location;
+- chomp($what);
+-
+- # Third login redirect
+- my $page3 = ShortPage->new(\$class->{config}, \$class->{cookiez});
+-
+- $location=$page3->load($host, $what);
+-
+- # Set referer...
+- $class->{config}{REFERER} = "http://$host$what";
+-
+- print "." if $class->{config}{DEBUG}; # DEBUG
++ # This step may no longer be necessary
+
+ ###
+ # STEP 4
diff --git a/net-mail/yosucker/yosucker-53-r1.ebuild b/net-mail/yosucker/yosucker-53-r1.ebuild
new file mode 100644
index 000000000000..4d8738629560
--- /dev/null
+++ b/net-mail/yosucker/yosucker-53-r1.ebuild
@@ -0,0 +1,39 @@
+# 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-53-r1.ebuild,v 1.1 2004/05/08 22:10:33 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} || die "Failed to unpack sources"
+ cd ${S}
+ epatch ${FILESDIR}/${P}-no-redirect.patch || die "Failed to apply no redirect 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
+}