summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-06-12 13:46:22 +0000
committerryoon <ryoon@pkgsrc.org>2020-06-12 13:46:22 +0000
commite9875cf91cb0d54890d2bac0ec952203824453b9 (patch)
treea2963049a5055388d09eab953f385eaf3760f94f /mail
parentadd30b73eade16d47586a268333a82dbb4c6b019 (diff)
downloadpkgsrc-e9875cf91cb0d54890d2bac0ec952203824453b9.tar.gz
isync: Increase PassCmd output buffer size to work with Gmail
Diffstat (limited to 'mail')
-rw-r--r--mail/isync/Makefile4
-rw-r--r--mail/isync/distinfo3
-rw-r--r--mail/isync/patches/patch-src_drv__imap.c15
3 files changed, 19 insertions, 3 deletions
diff --git a/mail/isync/Makefile b/mail/isync/Makefile
index 34a285aad5b..0c7dcbd4d01 100644
--- a/mail/isync/Makefile
+++ b/mail/isync/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2020/03/20 11:57:58 nia Exp $
+# $NetBSD: Makefile,v 1.49 2020/06/12 13:46:22 ryoon Exp $
DISTNAME= isync-1.3.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isync/}
diff --git a/mail/isync/distinfo b/mail/isync/distinfo
index 3d3fe8c9048..6fff636afbd 100644
--- a/mail/isync/distinfo
+++ b/mail/isync/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2019/12/29 01:00:22 ryoon Exp $
+$NetBSD: distinfo,v 1.20 2020/06/12 13:46:22 ryoon Exp $
SHA1 (isync-1.3.1.tar.gz) = 6806fbe99537c119d2c4e40b9189d4d05f870bda
RMD160 (isync-1.3.1.tar.gz) = 65ce1693e2eec5619fc9648e6c568eb4bf9679be
@@ -7,3 +7,4 @@ Size (isync-1.3.1.tar.gz) = 311868 bytes
SHA1 (patch-ae) = e1a1badcb99fe6089a15a259985933aceedfc110
SHA1 (patch-src_Makefile.in) = b989a7627dbb7c989dd26c3e20beeceb000a7a47
SHA1 (patch-src_compat_Makefile.in) = ffaba182c6b6b5c50fe82104d508438a3b62ecfd
+SHA1 (patch-src_drv__imap.c) = bfb7c6a91eb32b98d082bc6c2b183bf5f1a4561d
diff --git a/mail/isync/patches/patch-src_drv__imap.c b/mail/isync/patches/patch-src_drv__imap.c
new file mode 100644
index 00000000000..33b581f703e
--- /dev/null
+++ b/mail/isync/patches/patch-src_drv__imap.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_drv__imap.c,v 1.1 2020/06/12 13:46:22 ryoon Exp $
+
+* Google's Gmail access token is longer than 80 bytes.
+
+--- src/drv_imap.c.orig 2019-03-10 10:27:55.000000000 +0000
++++ src/drv_imap.c
+@@ -1867,7 +1867,7 @@ ensure_password( imap_server_conf_t *srv
+ if (cmd) {
+ FILE *fp;
+ int ret;
+- char buffer[80];
++ char buffer[1024];
+
+ if (*cmd == '+') {
+ flushn();