diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-12-11 12:22:55 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-12-11 12:22:55 +0000 |
commit | c66ab1462de3bee5b9a4e9194cb1e26763a94d27 (patch) | |
tree | 065563885013b21484f29bb59d8eae11497754ae /net-mail | |
parent | silly cvs stuff in patches - bug #^%#115170 (diff) | |
download | historical-c66ab1462de3bee5b9a4e9194cb1e26763a94d27.tar.gz historical-c66ab1462de3bee5b9a4e9194cb1e26763a94d27.tar.bz2 historical-c66ab1462de3bee5b9a4e9194cb1e26763a94d27.zip |
Version bump. Removed older ebuilds.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/gotmail/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/gotmail/Manifest | 23 | ||||
-rw-r--r-- | net-mail/gotmail/files/digest-gotmail-0.8.2 | 1 | ||||
-rw-r--r-- | net-mail/gotmail/files/digest-gotmail-0.8.2-r1 | 1 | ||||
-rw-r--r-- | net-mail/gotmail/files/digest-gotmail-0.8.3 | 1 | ||||
-rw-r--r-- | net-mail/gotmail/files/digest-gotmail-0.8.7.1 | 1 | ||||
-rw-r--r-- | net-mail/gotmail/files/gotmail-0.8.2-newlogin.patch | 230 | ||||
-rw-r--r-- | net-mail/gotmail/gotmail-0.8.2-r1.ebuild | 32 | ||||
-rw-r--r-- | net-mail/gotmail/gotmail-0.8.2.ebuild | 27 | ||||
-rw-r--r-- | net-mail/gotmail/gotmail-0.8.7.1.ebuild (renamed from net-mail/gotmail/gotmail-0.8.3.ebuild) | 13 |
10 files changed, 31 insertions, 307 deletions
diff --git a/net-mail/gotmail/ChangeLog b/net-mail/gotmail/ChangeLog index 744164fbf9c7..89fde0785cad 100644 --- a/net-mail/gotmail/ChangeLog +++ b/net-mail/gotmail/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-mail/gotmail # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/gotmail/ChangeLog,v 1.34 2005/09/25 16:15:40 hparker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/gotmail/ChangeLog,v 1.35 2005/12/11 12:22:55 ticho Exp $ + +*gotmail-0.8.7.1 (11 Dec 2005) + + 11 Dec 2005; Andrej Kacian <ticho@gentoo.org> + -files/gotmail-0.8.2-newlogin.patch, -gotmail-0.8.2.ebuild, + -gotmail-0.8.2-r1.ebuild, -gotmail-0.8.3.ebuild, +gotmail-0.8.7.1.ebuild: + Version bump. Removed older ebuilds. 25 Sep 2005; Homer Parker <hparker@gentoo.org> gotmail-0.8.4.ebuild: Stable on amd64. diff --git a/net-mail/gotmail/Manifest b/net-mail/gotmail/Manifest index a8f6a46d5f28..4aeceb0f2df1 100644 --- a/net-mail/gotmail/Manifest +++ b/net-mail/gotmail/Manifest @@ -1,11 +1,16 @@ -MD5 648affee6c660cf98478f4a7d5c0a2c3 ChangeLog 5099 -MD5 af29ee02296c92dd4358d96fd54b8e1f gotmail-0.8.2-r1.ebuild 728 -MD5 efaba42c737238f0b0d2735c92c60674 gotmail-0.8.2.ebuild 666 -MD5 bed1af133c57a309be2f2cc133827c7a gotmail-0.8.3.ebuild 656 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 37a30c05ca9b5407606befc9d658d7cd ChangeLog 5355 +MD5 ff4bb8711dc1b675b9de386442c28c07 files/digest-gotmail-0.8.4 64 +MD5 e267860b4afa4c4e4e67e90e6aaf39ac files/digest-gotmail-0.8.7.1 66 MD5 4099f3e4c9753ebdb4937a73f414cc6b gotmail-0.8.4.ebuild 666 +MD5 5c8a972093c1fe2f63227c1675971fcb gotmail-0.8.7.1.ebuild 695 MD5 61e0d05b1306513aede2838fa81b05b5 metadata.xml 225 -MD5 b14cf689199ab7f7827e4be2f1c5ead4 files/digest-gotmail-0.8.2 64 -MD5 b14cf689199ab7f7827e4be2f1c5ead4 files/digest-gotmail-0.8.2-r1 64 -MD5 d3aab10cc1e278b79a38178a454ea6b6 files/digest-gotmail-0.8.3 64 -MD5 ff4bb8711dc1b675b9de386442c28c07 files/digest-gotmail-0.8.4 64 -MD5 d15af22fd2d0b77f6e219d563f432bd4 files/gotmail-0.8.2-newlogin.patch 7917 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDnBpAQlM6RnzZP+IRAmw6AJ9UWHH68vUbGDLCKYrzI/79/7Zj5QCgjpvi +Chv4jcw2gBv3tFAQt6u3Fgw= +=Cn+m +-----END PGP SIGNATURE----- diff --git a/net-mail/gotmail/files/digest-gotmail-0.8.2 b/net-mail/gotmail/files/digest-gotmail-0.8.2 deleted file mode 100644 index 6dc95cfa15aa..000000000000 --- a/net-mail/gotmail/files/digest-gotmail-0.8.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 f3e147ef51815bed175794c6910283f6 gotmail-0.8.2.tar.gz 26416 diff --git a/net-mail/gotmail/files/digest-gotmail-0.8.2-r1 b/net-mail/gotmail/files/digest-gotmail-0.8.2-r1 deleted file mode 100644 index 6dc95cfa15aa..000000000000 --- a/net-mail/gotmail/files/digest-gotmail-0.8.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 f3e147ef51815bed175794c6910283f6 gotmail-0.8.2.tar.gz 26416 diff --git a/net-mail/gotmail/files/digest-gotmail-0.8.3 b/net-mail/gotmail/files/digest-gotmail-0.8.3 deleted file mode 100644 index 83835f31c122..000000000000 --- a/net-mail/gotmail/files/digest-gotmail-0.8.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 edabb8a870543098ed841ed6a4b13f25 gotmail-0.8.3.tar.gz 26886 diff --git a/net-mail/gotmail/files/digest-gotmail-0.8.7.1 b/net-mail/gotmail/files/digest-gotmail-0.8.7.1 new file mode 100644 index 000000000000..a915dc03d9b4 --- /dev/null +++ b/net-mail/gotmail/files/digest-gotmail-0.8.7.1 @@ -0,0 +1 @@ +MD5 4cd214b4915f87c9433cc99daffe9c28 gotmail-0.8.7.1.tar.gz 37201 diff --git a/net-mail/gotmail/files/gotmail-0.8.2-newlogin.patch b/net-mail/gotmail/files/gotmail-0.8.2-newlogin.patch deleted file mode 100644 index 716b8f169075..000000000000 --- a/net-mail/gotmail/files/gotmail-0.8.2-newlogin.patch +++ /dev/null @@ -1,230 +0,0 @@ ---- gotmail-0.8.2/gotmail 2004-10-10 10:42:31.000000000 -0700 -+++ gotmail-0.8.2.patched/gotmail 2005-05-16 08:01:12.000000000 -0700 -@@ -578,7 +578,7 @@ - # Get rid of any trailing space on options.. Just for neatness. - $options =~ s/ $//; - -- my($cmdline) = "$conf_curl \"$url\" $options -i -m 600 -D $tmp_headers" . -+ my($cmdline) = "$conf_curl \'$url\' $options -i -m 600 -D $tmp_headers" . - " -A \"Mozilla/4.73 [en] (Win98; I)\""; - - # Copy output to logfile if necessary -@@ -627,25 +627,23 @@ - { - dispText("Getting hotmail index page...\n"); - my(@index_page); ## This will have the login page. -- my($form_label); - -- my(@java_page) = getPage("http://www.hotmail.com/", "", 1, 1, 0); -- ## @java_page is now an intermediate page which checks if you -- ## have javascript enabled or not!! -- my($page) = join("", @java_page); -- -- my($check_java); -- if($page =~ m/<form.*hiddenform.*action=\"(\S+)\".*>/i) { -- $check_java = $1; -- } -- if ($check_java) { -+ @index_page = getPage("http://www.hotmail.com/", "", 1, 1, 0); -+ my($page) = join("", @index_page); -+ -+ ## @index_page is now an intermediate page which checks if you -+ ## have javascript enabled or not!! This code invokes the form -+ ## on that page to get you to the login/password page. -+ if($page =~ m/<form.*((hiddenform)|(fmHF)).*action=\"(\S+)\".*>/i) { -+ my $action = $4; -+ - ## This processing happens only for the "new" hotmail structure. - dispText("Processing java check....\n"); - my($inp); ## This var will store all the input fields. -- while($page =~ m/<\s*input\s+.*name=\"(\S+)\"\s+value=\"(\S+)\"/) { -- $inp .= "$1=$2\&"; -+ while($page =~ m/<\s*input\s+.*name=\"(\S+)\"(\s+id="\S+")?\s+value=\"(\S*)\"/) { - ## Get rid of the input field we processed. -- $page =~ s/<\s*input/some_weird_unique_value_jsdahf/; -+ $page = $'; -+ $inp .= "$1=" . uri_escape($3) . "\&"; - } - ## Get rid of the last "&" - $inp =~ s/&$//g; -@@ -658,52 +656,100 @@ - my($params) = "\@$tmp_formdata"; - - ## Hopefully this should get us to the correct index page. -- @index_page = getPage($check_java, $params, 1, 1, 0); -- $form_label = "hotmail_com"; -- } -- else { -- ## The "old" hotmail page structure -- @index_page = @java_page; -- $form_label = ""; -+ @index_page = getPage($action, $params, 1, 1, 0); -+ $page = join "", @index_page; - } - - # Find the form "ACTION" parameter... -- my($login_script) = ""; -- my($ctnum) = ""; -+ my($login_script); -+ my($login_new) = 0; - -- my $page = join "", @index_page; -- if ($page =~ m/<form.*${form_label}.*action=\"(\S+)\".*>/i) { -+ # Old - multiple forms for multiple domains -+ if ($page =~ m/<form.*hotmail_com.*action=\"(\S+)\".*>/i) { - $login_script = $1; - } -- -- if ($page =~ m/ct=([0-9]+)/i) { -- $ctnum = uri_escape($1); -+ # New - heavy javascript -+ elsif ($page =~ m/<form.*f1.*action=\"(\S+)\".*>/i) { -+ $login_script = $1; -+ $login_new = 1; - } -- -- if ($login_script eq "") { -- die "Page doesn't contain any form action field!\n"; -+ # Very old - simple form -+ elsif ($page =~ m/<form.*action=\"(\S+)\".*>/i) { -+ $login_script = $1; - } -+ else { -+ die "Page doesn't contain any form action field!\n"; -+ } - - my($FORMFILE) = new FileHandle "> $tmp_formdata" || - die "Couldn't open formdata file: $!\n"; -- print $FORMFILE ("login=" . uri_escape($login, "^A-Za-z") . -- "\&passwd=" . uri_escape($password, "^A-Za-z") . -- "\&svc=mail\&mspp_shared=1" . -- "\&domain=" . uri_escape($domain) . -- "\&RemoteDAPost=https://login.msnia.passport.com/ppsecure/post.asp" . -- "\&sec=share\&curmbox=ACTIVE\&js=yes\&_lang=EN" . -- "\&beta=0\&ishotmail=1\&id=2\&fs=1" . -- "\&cb=_lang%3dEN%26country%3dUS\&ct=$ctnum"); -+ -+ if( $login_new ) { -+ dispText("Using New Login...\n"); -+ -+ ## The actual action of the form is replace by javascript -+ ## (authentication depends on the domain of your user id). -+ ## and arguments are appended in javascript -+ if( $page =~ m/g_DO\["\Q$domain\E"\]\s*=\s*"([^"]+)\"/ ) { -+ $login_script = $1; -+ #dispText( "g_DO=$1\n" ); -+ } -+ if( $page =~ m/g_QS\s*=\s*"([^"]+)\"/ ) { -+ $login_script .= index($login_script,'?') >= 0 ? '&' : '?'; -+ $login_script .= $1; -+ #dispText( "g_QS=$1\n" ); -+ } -+ -+ ## Get (or calculate) the hidden fields of the form -+ my ( $PPFT, $PPSX, $PwdPad ); -+ { -+ if( $page =~ m/<\s*input\s+.*name=\"PPFT\"(\s+id="\S+")?\s+value=\"(\S*)\"/ ) { -+ $PPFT = $2; -+ #dispText( "PPFT=$PPFT\n" ); -+ } -+ if( $page =~ m/<\s*input\s+.*name=\"PPSX\"(\s+id="\S+")?\s+value=\"(\S*)\"/ ) { -+ $PPSX = $2; -+ #dispText( "PPSX=$PPSX\n" ); -+ } -+ { -+ my $Padding = "IfYouAreReadingThisYouHaveTooMuchFreeTime"; -+ $PwdPad = substr( $Padding, 0, length($Padding)-length($password) ); -+ #dispText( "PwdPad=$PwdPad\n" ); -+ } -+ } -+ -+ print $FORMFILE ("PPSX=$PPSX" . -+ "\&PwdPad=$PwdPad" . -+ "\&login=" . uri_escape($login . '@' . $domain, "^A-Za-z") . -+ "\&passwd=" . uri_escape($password, "^A-Za-z") . -+ "\&SI=" . uri_escape( ' Sign In ' ) . -+ "\&LoginOptions=3" . -+ "\&PPFT=" . uri_escape( $PPFT ) ); -+ } else { -+ dispText("Using Old Login...\n"); -+ my($ctnum) = ""; -+ if ($page =~ m/ct=([0-9]+)/i) { -+ $ctnum = uri_escape($1); -+ } -+ print $FORMFILE ("login=" . uri_escape($login, "^A-Za-z") . -+ "\&passwd=" . uri_escape($password, "^A-Za-z") . -+ "\&svc=mail\&mspp_shared=1" . -+ "\&domain=" . uri_escape($domain) . -+ "\&RemoteDAPost=https://login.msnia.passport.com/ppsecure/post.asp" . -+ "\&sec=share\&curmbox=ACTIVE\&js=yes\&_lang=EN" . -+ "\&beta=0\&ishotmail=1\&id=2\&fs=1" . -+ "\&cb=_lang%3dEN%26country%3dUS\&ct=$ctnum"); -+ } - - close $FORMFILE; - my($params) = "\@$tmp_formdata"; - - dispText("Logging in...\n"); - my(@login_page) = getPage($login_script, $params, 1, 1, 0); -+ $page = join "", @login_page; - - # Find where they are sending us now... - my($redirect_location) = ""; -- $page = join "", @login_page; - - # Now not needed per Chris Ebenezer's comments - # if ($domain eq 'msn.com') { -@@ -724,8 +770,9 @@ - - if ($page =~ m/top\.location\.replace\(\"(.*)\"\);/i) { - $redirect_location = $1; -- $redirect_location =~ s/\$/\\\$/g; -- } -+ } elsif ($page =~ m/meta\s*http-equiv="refresh"\s*content="0;\s*URL=([^"]+)"/i ) { -+ $redirect_location = $1; -+ } - - if ($redirect_location eq "") { - die("Hotmail's page structure has changed! (redirloc)\n"); -@@ -737,30 +784,32 @@ - if ($redirect_location =~ m/http:\/\/([^\/]+)\/(.*)$/i) { - $host = $1; - } else { -- die ("Could not parse redirect location"); -+ die ("Could not parse redirect location\n"); - } - - dispText("Following redirect...\n"); - my(@redirect_page) = getPage($redirect_location, "", 0, 1, 0); -+ $page = join "", @redirect_page; - - # Find where the inbox is located... -- my($inbox_location) = ""; -- $page = join "", @redirect_page; -+ my($inbox_location); - if ($page =~ m/Location: (\S+)/i) { - my $inbox_loc = $1; -+ if ($inbox_loc =~ m/\&RedirectLocation=(http[^\&]+)\&/i) { -+ $inbox_loc = uri_unescape($1); -+ } - $inbox_loc =~ /(.+)\/dasp\/ua_info.asp\?pg=browser_limit[^&]*(&.+)/; - $inbox_location = "$1\/HoTMail"; -- dispText("Going to Inbox Page: $inbox_location\n"); -- my(@redirect_page) = getPage($inbox_location, "", 1, 1, 0); - } elsif ($page =~ /unavailable/i) { - die("Hotmail is reporting that your account is temporarily " . -- "unavailable. Please try again later."); -- } -- -- if ($inbox_location eq "") { -+ "unavailable. Please try again later.\n"); -+ } else { - die("Hotmail's page structure has changed! (inboxloc)\n"); - } - -+ dispText("Going to Inbox Page: $inbox_location\n"); -+ getPage($inbox_location, "", 1, 1, 0); -+ - return $inbox_location; - } - diff --git a/net-mail/gotmail/gotmail-0.8.2-r1.ebuild b/net-mail/gotmail/gotmail-0.8.2-r1.ebuild deleted file mode 100644 index aa44e17c19b6..000000000000 --- a/net-mail/gotmail/gotmail-0.8.2-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/gotmail/gotmail-0.8.2-r1.ebuild,v 1.1 2005/05/22 11:46:45 axxo Exp $ - -inherit eutils - -DESCRIPTION="Utility to download mail from a HotMail account" -HOMEPAGE="http://sourceforge.net/projects/gotmail" -SRC_URI="mirror://sourceforge/gotmail/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc amd64" -IUSE="" - -DEPEND="virtual/libc - net-misc/curl - dev-perl/URI - dev-perl/libnet" - -src_unpack() { - unpack ${A} - epatch ${FILESDIR}/${P}-newlogin.patch -} - -src_compile () { :; } - -src_install() { - dobin gotmail || die - dodoc ChangeLog README sample.gotmailrc - doman gotmail.1 -} diff --git a/net-mail/gotmail/gotmail-0.8.2.ebuild b/net-mail/gotmail/gotmail-0.8.2.ebuild deleted file mode 100644 index 51a27ca0584a..000000000000 --- a/net-mail/gotmail/gotmail-0.8.2.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/gotmail/gotmail-0.8.2.ebuild,v 1.2 2005/04/20 14:18:21 g2boojum Exp $ - -DESCRIPTION="Utility to download mail from a HotMail account" -HOMEPAGE="http://sourceforge.net/projects/gotmail" -SRC_URI="mirror://sourceforge/gotmail/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc amd64" -IUSE="" - -DEPEND="virtual/libc - net-misc/curl - dev-perl/URI - dev-perl/libnet" - -src_compile () { - echo "nothing to compile" -} - -src_install() { - dobin gotmail || die - dodoc ChangeLog README sample.gotmailrc - doman gotmail.1 -} diff --git a/net-mail/gotmail/gotmail-0.8.3.ebuild b/net-mail/gotmail/gotmail-0.8.7.1.ebuild index 937fa0947eeb..db3ff6d71efc 100644 --- a/net-mail/gotmail/gotmail-0.8.3.ebuild +++ b/net-mail/gotmail/gotmail-0.8.7.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/gotmail/gotmail-0.8.3.ebuild,v 1.1 2005/06/12 12:42:35 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/gotmail/gotmail-0.8.7.1.ebuild,v 1.1 2005/12/11 12:22:55 ticho Exp $ inherit eutils @@ -10,18 +10,21 @@ SRC_URI="mirror://sourceforge/gotmail/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~amd64" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" DEPEND="virtual/libc net-misc/curl dev-perl/URI - dev-perl/libnet" + dev-perl/libnet + app-arch/gzip" -S=${WORKDIR}/${PN} +src_compile() { + make || die +} src_install() { dobin gotmail || die dodoc ChangeLog README sample.gotmailrc - doman gotmail.1 + doman gotmail.1.gz } |