summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-08-09 07:59:11 +0000
committerjmmv <jmmv@pkgsrc.org>2006-08-09 07:59:11 +0000
commitb7d06fc9bfed803453e7dcc9e0650fd8df31265b (patch)
treedcb3e01e25bed0089faa96b2de6e34ea585a9cb5 /mail
parent4dd14a5ba26c0daa677df6865090fec841cd7524 (diff)
downloadpkgsrc-b7d06fc9bfed803453e7dcc9e0650fd8df31265b.tar.gz
Initial import of p5-Mail-Webmail-Gmail, version 1.08:
The Mail-Webmail-Gmail module provides an interface to Google's mail web service.
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Mail-Webmail-Gmail/DESCR2
-rw-r--r--mail/p5-Mail-Webmail-Gmail/Makefile20
-rw-r--r--mail/p5-Mail-Webmail-Gmail/PLIST1
-rw-r--r--mail/p5-Mail-Webmail-Gmail/distinfo6
-rw-r--r--mail/p5-Mail-Webmail-Gmail/patches/patch-aa13
5 files changed, 42 insertions, 0 deletions
diff --git a/mail/p5-Mail-Webmail-Gmail/DESCR b/mail/p5-Mail-Webmail-Gmail/DESCR
new file mode 100644
index 00000000000..ebaf7c5b7bc
--- /dev/null
+++ b/mail/p5-Mail-Webmail-Gmail/DESCR
@@ -0,0 +1,2 @@
+The Mail-Webmail-Gmail module provides an interface to Google's mail web
+service.
diff --git a/mail/p5-Mail-Webmail-Gmail/Makefile b/mail/p5-Mail-Webmail-Gmail/Makefile
new file mode 100644
index 00000000000..c8f738f3c0f
--- /dev/null
+++ b/mail/p5-Mail-Webmail-Gmail/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/09 07:59:11 jmmv Exp $
+
+DISTNAME= Mail-Webmail-Gmail-1.08
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~mincus/Mail-Webmail-Gmail-1.08/
+COMMENT= Interface to Google's webmail service
+
+DEPENDS+= p5-Crypt-SSLeay>=0.51:../../security/p5-Crypt-SSLeay
+DEPENDS+= p5-libwww>=5.80:../../www/p5-libwww
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+PERL5_PACKLIST= auto/Mail/Webmail/Gmail/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Mail-Webmail-Gmail/PLIST b/mail/p5-Mail-Webmail-Gmail/PLIST
new file mode 100644
index 00000000000..c8b71878e9c
--- /dev/null
+++ b/mail/p5-Mail-Webmail-Gmail/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/09 07:59:11 jmmv Exp $
diff --git a/mail/p5-Mail-Webmail-Gmail/distinfo b/mail/p5-Mail-Webmail-Gmail/distinfo
new file mode 100644
index 00000000000..d62636c9e24
--- /dev/null
+++ b/mail/p5-Mail-Webmail-Gmail/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/09 07:59:11 jmmv Exp $
+
+SHA1 (Mail-Webmail-Gmail-1.08.tar.gz) = 5271fb52204e4e893f8cb2e936609c9de0ae1f1d
+RMD160 (Mail-Webmail-Gmail-1.08.tar.gz) = 1d15d46774ad7d9b5903ac7408f4a7a0f324a53c
+Size (Mail-Webmail-Gmail-1.08.tar.gz) = 23564 bytes
+SHA1 (patch-aa) = 11b0b888cc7897c366d5a91c90c775bf297e0bd3
diff --git a/mail/p5-Mail-Webmail-Gmail/patches/patch-aa b/mail/p5-Mail-Webmail-Gmail/patches/patch-aa
new file mode 100644
index 00000000000..77497f21812
--- /dev/null
+++ b/mail/p5-Mail-Webmail-Gmail/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/09 07:59:11 jmmv Exp $
+
+--- lib/Mail/Webmail/Gmail.pm.orig 2006-05-08 16:01:16.000000000 +0200
++++ lib/Mail/Webmail/Gmail.pm
+@@ -108,7 +108,7 @@ sub login {
+ }
+
+ update_tokens( $self, $res );
+- if ( $res->content() !~ /var url = "(.*?)"/ ) {
++ if ( $res->content() !~ /var url = ["'](.*?)["']/ ) {
+ $self->{_error} = 1;
+ $self->{_err_str} .= "Error: Could not login with those credentials - could not find final URL\n";
+ $self->{_err_str} .= " Additionally, HTTP error: " . $res->status_line . "\n";