From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 17 15:10:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E4411065695 for ; Mon, 17 Jan 2011 15:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2544F8FC1F for ; Mon, 17 Jan 2011 15:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0HFA89g009618 for ; Mon, 17 Jan 2011 15:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0HFA8n1009617; Mon, 17 Jan 2011 15:10:08 GMT (envelope-from gnats) Resent-Date: Mon, 17 Jan 2011 15:10:08 GMT Resent-Message-Id: <201101171510.p0HFA8n1009617@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anonymous Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB1321065670 for ; Mon, 17 Jan 2011 15:07:23 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8B1098FC1D for ; Mon, 17 Jan 2011 15:07:23 +0000 (UTC) Received: by vws9 with SMTP id 9so1945193vws.13 for ; Mon, 17 Jan 2011 07:07:22 -0800 (PST) Received: by 10.220.192.68 with SMTP id dp4mr1229959vcb.224.1295276840186; Mon, 17 Jan 2011 07:07:20 -0800 (PST) Received: from localhost (tor-exit.imjared.com [208.66.135.190]) by mx.google.com with ESMTPS id k39sm1199342vcr.2.2011.01.17.07.07.12 (version=SSLv3 cipher=RC4-MD5); Mon, 17 Jan 2011 07:07:18 -0800 (PST) Message-Id: <8639orbmcq.fsf@gmail.com> Date: Mon, 17 Jan 2011 18:07:01 +0300 From: Anonymous To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/154085: [patch] mail/offlineimap: update to v6.3.2-rc1 tag X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 15:10:09 -0000 >Number: 154085 >Category: ports >Synopsis: [patch] mail/offlineimap: update to v6.3.2-rc1 tag >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jan 17 15:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: - update (upstream maintainer changed) - use pre-fetch hack to allow downloading from github - don't try to verify certificate when sslcacertfile wasn't specified[1] [1] http://lists.alioth.debian.org/pipermail/offlineimap-project/2011-January/000832.html >How-To-Repeat: >Fix: --- a.diff begins here --- Index: mail/offlineimap/Makefile =================================================================== RCS file: /a/.cvsup/ports/mail/offlineimap/Makefile,v retrieving revision 1.32 diff -u -p -r1.32 Makefile --- mail/offlineimap/Makefile 8 Aug 2010 21:31:40 -0000 1.32 +++ mail/offlineimap/Makefile 17 Jan 2011 15:03:43 -0000 @@ -6,27 +6,33 @@ # PORTNAME= offlineimap -DISTVERSION= 6.2.0.2 -DISTVERSIONSUFFIX=-0-g6b1cb5e +DISTVERSION= 6.3.2-rc1 CATEGORIES= mail python MASTER_SITES= http://download.github.com/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= sergei -DISTNAME= jgoerzen-${PORTNAME}-debian-${DISTVERSION}${DISTVERSIONSUFFIX} +DISTNAME= nicolas33-${PORTNAME}-v${DISTVERSION}-0-g229bcca MAINTAINER= sergei@FreeBSD.org COMMENT= Powerful IMAP/Maildir synchronization and reader support -WRKSRC= ${WRKDIR}/jgoerzen-${PORTNAME}-0f1a667 +WRKSRC= ${WRKDIR}/nicolas33-${PORTNAME}-2764cd9 SUB_FILES= pkg-message USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGVERSION=${PORTVERSION:R} +PYDISTUTILS_PKGVERSION=6.3.1 DOCS= COPYING COPYRIGHT FAQ.html UPGRADING EXAMPLES= offlineimap.conf offlineimap.conf.minimal +pre-fetch: + # get github download ticket + if [ '${FORCE_FETCH}' = ${DISTFILES} -o ! -f ${_DISTDIR}/${DISTFILES} ]; then \ + ${FETCH_BINARY} -s >/dev/null \ + http://github.com/nicolas33/${PORTNAME}/tarball/v${DISTVERSION}; \ + fi + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} Index: mail/offlineimap/distinfo =================================================================== RCS file: /a/.cvsup/ports/mail/offlineimap/distinfo,v retrieving revision 1.20 diff -u -p -r1.20 distinfo --- mail/offlineimap/distinfo 8 Aug 2010 21:31:40 -0000 1.20 +++ mail/offlineimap/distinfo 17 Jan 2011 12:12:20 -0000 @@ -1,3 +1,2 @@ -MD5 (jgoerzen-offlineimap-debian-6.2.0.2-0-g6b1cb5e.tar.gz) = e1a01b6b1c1a70a1afaefb0a20634bc1 -SHA256 (jgoerzen-offlineimap-debian-6.2.0.2-0-g6b1cb5e.tar.gz) = 04b5757db2447164c43424f68b774c1e6ef6883c9b776ce48dd3109815569b85 -SIZE (jgoerzen-offlineimap-debian-6.2.0.2-0-g6b1cb5e.tar.gz) = 103955 +SHA256 (nicolas33-offlineimap-v6.3.2-rc1-0-g229bcca.tar.gz) = 0c5a4646d25cd84c33eabd8b60cf73fa5b3a3a2c1d7ec505c459564ffcf6d447 +SIZE (nicolas33-offlineimap-v6.3.2-rc1-0-g229bcca.tar.gz) = 97447 Index: mail/offlineimap/pkg-descr =================================================================== RCS file: /a/.cvsup/ports/mail/offlineimap/pkg-descr,v retrieving revision 1.2 diff -u -p -r1.2 pkg-descr --- mail/offlineimap/pkg-descr 27 Jul 2008 19:12:24 -0000 1.2 +++ mail/offlineimap/pkg-descr 17 Jan 2011 12:06:14 -0000 @@ -7,4 +7,4 @@ on your work computer as well. OfflineI to use a mail reader that does not have IMAP support, has poor IMAP support, or does not provide disconnected operation. -WWW: http://software.complete.org/software/projects/show/offlineimap +WWW: https://github.com/nicolas33/offlineimap Index: mail/offlineimap/files/patch-offlineimap-imaplibutil.py =================================================================== RCS file: mail/offlineimap/files/patch-offlineimap-imaplibutil.py diff -N mail/offlineimap/files/patch-offlineimap-imaplibutil.py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ mail/offlineimap/files/patch-offlineimap-imaplibutil.py 17 Jan 2011 14:20:17 -0000 @@ -0,0 +1,14 @@ +--- offlineimap/imaplibutil.py~ ++++ offlineimap/imaplibutil.py +@@ -153,7 +153,10 @@ class WrappedIMAP4_SSL(IMAP4_SSL): + Returns error message if any problems are found and None on success. + ''' + if not cert: +- return ('no certificate received') ++ if type(cert) is dict: ++ return ++ else: ++ return ('no certificate received') + dnsname = hostname.lower() + for s in cert.get('subject', []): + key, value = s[0] --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: