[MacPorts] #20347: imapsync: Mail::IMAPClient version check is wrong and prevents use
MacPorts
noreply at macports.org
Fri Jul 17 00:31:31 PDT 2009
#20347: imapsync: Mail::IMAPClient version check is wrong and prevents use
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: imapsync
-------------------------------------+--------------------------------------
imapsync complains that it doesn't have the right version of
Mail::IMAPClient, but it does.
This was [http://lists.macosforge.org/pipermail/macports-
users/2009-July/015928.html reported] on the mailing list by David Yoken
where the example
{{{
imapsync --host1 imap.gmail.com --user1 ***@gmail.com --password1 ***
--ssl1 --host2 192.168.38.10 --user2 *** --password2 *** --ssl2
}}}
was given with the result
{{{
imapsync needs perl lib Mail::IMAPClient release 2.2.9, or 3.0.19 or
superior
}}}
p5-mail-imapclient is already a dependency of imapsync and is at version
3.19 so this should be satisfactory.
The problem is in the imapsync script itself. In the check_lib_version()
function it uses the $allow3xx variable to determine if imapclient version
3.x should be allowed, but the variable has not been initialized by that
point. The attached patch fixes this. This should be reported upstream as
well.
--
Ticket URL: <http://trac.macports.org/ticket/20347>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list