Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/isync isync: Increase PassCmd output buffer size ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87f46c1fca32
branches:  trunk
changeset: 434186:87f46c1fca32
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jun 12 13:46:22 2020 +0000

description:
isync: Increase PassCmd output buffer size to work with Gmail

diffstat:

 mail/isync/Makefile                      |   4 ++--
 mail/isync/distinfo                      |   3 ++-
 mail/isync/patches/patch-src_drv__imap.c |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 8a2e8b9cfb46 -r 87f46c1fca32 mail/isync/Makefile
--- a/mail/isync/Makefile       Fri Jun 12 13:42:45 2020 +0000
+++ b/mail/isync/Makefile       Fri Jun 12 13:46:22 2020 +0000
@@ -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 -r 8a2e8b9cfb46 -r 87f46c1fca32 mail/isync/distinfo
--- a/mail/isync/distinfo       Fri Jun 12 13:42:45 2020 +0000
+++ b/mail/isync/distinfo       Fri Jun 12 13:46:22 2020 +0000
@@ -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 @@
 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 -r 8a2e8b9cfb46 -r 87f46c1fca32 mail/isync/patches/patch-src_drv__imap.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/isync/patches/patch-src_drv__imap.c  Fri Jun 12 13:46:22 2020 +0000
@@ -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();



Home | Main Index | Thread Index | Old Index