summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-08-09 08:03:33 +0000
committerjmmv <jmmv@pkgsrc.org>2006-08-09 08:03:33 +0000
commitf21002cc09362ddf6d3936d796e79437f750d4ff (patch)
treeb949af898636be32f5db00482366a117e64eaae8 /mail
parentb7d06fc9bfed803453e7dcc9e0650fd8df31265b (diff)
downloadpkgsrc-f21002cc09362ddf6d3936d796e79437f750d4ff.tar.gz
Initial import of p5-GMail-IMAPD, version 0.93:
The GMail-IMAPD module allows users to access their Gmail account with an IMAP client by running a server which accepts IMAP connections.
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-GMail-IMAPD/DESCR2
-rw-r--r--mail/p5-GMail-IMAPD/Makefile20
-rw-r--r--mail/p5-GMail-IMAPD/PLIST1
-rw-r--r--mail/p5-GMail-IMAPD/distinfo6
-rw-r--r--mail/p5-GMail-IMAPD/patches/patch-aa13
5 files changed, 42 insertions, 0 deletions
diff --git a/mail/p5-GMail-IMAPD/DESCR b/mail/p5-GMail-IMAPD/DESCR
new file mode 100644
index 00000000000..662e78399bb
--- /dev/null
+++ b/mail/p5-GMail-IMAPD/DESCR
@@ -0,0 +1,2 @@
+The GMail-IMAPD module allows users to access their Gmail account with an
+IMAP client by running a server which accepts IMAP connections.
diff --git a/mail/p5-GMail-IMAPD/Makefile b/mail/p5-GMail-IMAPD/Makefile
new file mode 100644
index 00000000000..0d9156a0a86
--- /dev/null
+++ b/mail/p5-GMail-IMAPD/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/09 08:03:33 jmmv Exp $
+
+DISTNAME= GMail-IMAPD-0.93
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GMail/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~krs/GMail-IMAPD-0.93/
+COMMENT= IMAP gateway for the GMail web 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/GMail/IMAPD/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-GMail-IMAPD/PLIST b/mail/p5-GMail-IMAPD/PLIST
new file mode 100644
index 00000000000..841da22de96
--- /dev/null
+++ b/mail/p5-GMail-IMAPD/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/09 08:03:33 jmmv Exp $
diff --git a/mail/p5-GMail-IMAPD/distinfo b/mail/p5-GMail-IMAPD/distinfo
new file mode 100644
index 00000000000..e6e3108293f
--- /dev/null
+++ b/mail/p5-GMail-IMAPD/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/09 08:03:33 jmmv Exp $
+
+SHA1 (GMail-IMAPD-0.93.tar.gz) = 0d65e6c8470aabbe73148e0aaa5e611e6e8da6a2
+RMD160 (GMail-IMAPD-0.93.tar.gz) = b842b620da0d129dcdf28003ac604b91a03d972c
+Size (GMail-IMAPD-0.93.tar.gz) = 22749 bytes
+SHA1 (patch-aa) = c1c9179cb17dbaa4b4943c62a01349ef3466d750
diff --git a/mail/p5-GMail-IMAPD/patches/patch-aa b/mail/p5-GMail-IMAPD/patches/patch-aa
new file mode 100644
index 00000000000..bd6a9938ee1
--- /dev/null
+++ b/mail/p5-GMail-IMAPD/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/09 08:03:33 jmmv Exp $
+
+--- lib/GMail/IMAPD/Gmail.pm.orig 2006-01-20 07:01:58.000000000 +0100
++++ lib/GMail/IMAPD/Gmail.pm
+@@ -105,7 +105,7 @@ sub login {
+
+ if ( $res->is_success() ) {
+ update_tokens( $self, $res );
+- if ( $res->content() =~ /var url = "(.*?)";/ ) {
++ if ( $res->content() =~ /var url = ["'](.*?)["'];/ ) {
+ $req = HTTP::Request->new( GET => "$SSL_MAIL_URL/$1" );
+ $req->header( 'Cookie' => $self->{_cookie} );
+ $res = $self->{_ua}->request( $req );