pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/p5-Mail-IMAPClient pkgsrc changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c6418d425fc
branches:  trunk
changeset: 559445:9c6418d425fc
user:      sno <sno%pkgsrc.org@localhost>
date:      Thu May 21 18:14:39 2009 +0000

description:
pkgsrc changes:
  - Updating package for p5 module Mail::IMAPClient from 3.14 to 3.16
  - Splitting dependencies into "real depends" part and a recommended part
  - Add Authen::SASL as recommended dependency
  - Set gnu-gpl-v2 as license

Upstream changes:
version 3.17: Thu May 21 01:40:08 EDT 2009
        - ran all test code and lib/Mail/IMAPClient.pm through Perl::Tidy
        - plan on using perltidy to standardize format going forward
        - added 13 tests to t/basic.t to cover more methods
        - fix some broken tests
        - update Makefile.PL to provide info about optional modules

version 3.17_05: Tue May 19 11:04:28 EDT 2009
        Potential compatibility issues highlighted with '*':
        - *reset LastError for every call to _imap_command_do()
        - *run() - use _imap_command_do(), return arrayref in scalar context
        - *tag_and_run() - return arrayref in scalar context
        - *done() - use _imap_command_do(), return arrayref in scalar context
        - *search() now returns empty arrayref not undef if no matches found
        - _imap_command_do() made more flexible to avoid code duplication
        - _list_response_parse renamed _list_or_lsub_response_parse
        - updated POD with new/updated behavior
        - append_string() now uses _imap_command_do() for Reconnectretry
        - internally use defined return values instead of only LastError()
        - run() updated to use same/similar code to _imap_command_do()
        - make several return statements more consistent
        - delete() now unsets current Folder attribute on success

version 3.17_04: Fri May 15 17:18:52 EDT 2009
        - updated POD with new reconnect() method and Reconnectretry attr
        - *new _imap_command() after renaming old one to _imap_command_do
          support retrying commands X times EPIPE/ECONNRESET errors
        - *added Reconnectretry attr to control number of retry
          attempts (default is 0 - no reconnect/retry)
        - *added reconnect() method to support Reconnectretry attr
          reconnect and updated _imap_command() method
        - *_imap_command_do will return undef if command given has no TAG
        - fixed message_string() logic/errors for failed size() calls
        - local-ize $! anywhere we use Carp routines as older versions
          of Carp could cause $! to be reset
        - several 'BUG?' comments -- raising red flag for future work
        - minor cleanup of sort() logic
        - reduce duplicate code, hopefully improved error handling:
          new _list_or_lsub() for list() and lsub()
          new _folders_or_subscribed() for folders() and subscribed()
          + new _list_response_preprocess() keeping old code/logic in
            for now, but may remove in the future (for buggy servers?)
        - some updates for migrate() but this method needs much work
        - body_string() now handles fetch() errors
        - tag_and_run now handles _imap_command() errors
        - changed non-timeout CORE::select() timeout from 0.001 to 0.025
        - minor cleanup of _read_line() error handling/debug output
        - get_bodystructure() handle more fetch() errors
        - expunge() handle select() errors
        - restore_message() handle store() errors
        - uidvalidity() handle status() errors
        - uidnext() handle status() errors
        - is_parent() use _list_response_preprocess() for parsing
        - move() send delete_message() errors to stderr
        - simplify size() method

version 3.17_03: Fri May  8 16:37:08 EDT 2009
        - *added uidexpunge() for UID EXPUNGE UIDPLUS support
        - *search() now DWIM: auto-escapes args, SCALAR refs not escaped
          rt.cpan.org#44936 [cjhenck]
        - _quote_search() provides auto-escape capability for search()
        - many POD updates as well as some major reformatting (incomplete)
        - login now fails if passwd and user are not defined
        - _sysread(): $self was in args to 'Readmethod' twice
        - authenticate() return undef on scheme eq "" or LOGIN
        - "require" instead "use" Digest::HMAC_MD5 for CRAM-MD5 support

version 3.17_02: Fri May  1 16:44:21 EDT 2009
        - cleanup of use/imported data
        - use Socket $CRLF in many cases not \r\n per perlport/IMAP spec
        - new Keepalive attr for use with new()/Socket() enables SO_KEEPALIVE
        - LastError now uses Carp::confess for stack trace if Debug is true
        - Maxcommandlength now defaults to 1000 per RFC2683 section 3.2.1.5
        - added noop() to support IMAP NOOP
        - _imap_command now sets LastError if a OK/$good response is not seen
        - fixed fetch_hash() to return FLAGS as "" not () when no FLAGS set

version 3.17_01: Fri Apr 24 18:36:45 EDT 2009
        - *new attribute Maxcommandlength used by fetch() to limit
          length of commands sent to a server.  This should removes
          need for utilities like imapsync to create their own split()
          functions and instead allows Mail::IMAPClient to hopefully
          "do the right thing"
        - remove extra 'use' calls for Carp and Data::Dumper
        - _read_more() improperly initialized vector causing select
          errors, thus timeouts were not working properly (now they
          work...)
        - *change default timeout 30s => 600s: 30s seems too short in
           practice
        - *explicit import of encode_base64 and decode_base64 from
          MIME::Base64 note the code forces a disconnect from the
          server on timeout as we can not easily recover from this
          situation right now in the code
        - *numerous changes of error messages, removing superfluous
          text and now relying on LastError instead of $! or $@ when
          appropriate
        - separator():
          + now return undef if an error occured for NAMESPACE or LIST calls
          + *no longer defaults to '/' if NAMESPACE call does not succeed
        - new internal _list_response_parse() method for parsing LIST
          responses
        - handle ECONNRESET errors on syswrite and mark connection as
          Unconnected
          + error "Connection lost" changed to "Write failed"
        - previously untrapped syswrite error now generate "Write
          failed" errors
        - fix in _imap_command where LastError would be erroneously
          set on LOGOUT
        - _record() no longer tries to infer errors based on data
          being "recorded"
        - _send_line()
          + cleanup in watching for: +|NO|BAD|BYE
          + now sets LastError when an unexpected response is seen
        - _read_line()
          + handle select errors instead of ignoring them
          + forcefully _disconnect() on timeouts as this breaks app logic
          + reduced duplication of code on error handling
        - added _disconnect() method to brute force drop connections
          on timeout
        - added _list_response_parse() to reduce duplicate code for
          LIST parsing
        - added _split_sequence() to support new Maxcommandlength argument
        - fetch()
          + use new Maxcommandlength to split a request into multiple
            subrequests then aggregate results before passing them
            back to the caller
        - fetch_hash(): added checks for failed IMAP commands
        - parse_headers()
          + properly check if fetch fails
          + handle cases where $header and/or $field are not defined
        - size():
          + return undef if LastError is set
          + fix case where SIZE is not found and return undef as expected

version 3.16: Mon Apr  6 12:03:41 CEST 2009
        Fixes:
        - set LastError when the imap_command receives an unexpected 'BYE' answer.
          rt.cpan.org#44762 [Phil Lobbes]
        - handle SIGPIPE cleanly.
          rt.cpan.org#43414 [Phil Lobbes]
        - improve handling of quotes in folder names
          rt.cpan.org#43445 [Phil Lobbes]
        - do not use $socket->eof(), because IO::Socket::SSL does not support it.
          rt.cpan.org#43415 [Phil Lobbes]
        - remove excessive reconfiguration of fastio in _read_line()
          rt.cpan.org#43413 [Phil Lobbes]

        Improvements:
        - remove experied docs about automatically created calls, which
          do not exist since 3.00
        - remove verbose explanation about reporting bugs.

version 3.15: Fri Mar 20 13:20:39 CET 2009
        Fixes:
        - manual-page was using POD syntax incorrectly, which caused many
          broken links on search.cpan.org
          rt.cpan.org #44212 [R Hubbell]

diffstat:

 mail/p5-Mail-IMAPClient/Makefile |  10 +++++++---
 mail/p5-Mail-IMAPClient/distinfo |   8 ++++----
 2 files changed, 11 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 8cfafb177827 -r 9c6418d425fc mail/p5-Mail-IMAPClient/Makefile
--- a/mail/p5-Mail-IMAPClient/Makefile  Thu May 21 18:00:52 2009 +0000
+++ b/mail/p5-Mail-IMAPClient/Makefile  Thu May 21 18:14:39 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2009/02/22 12:38:01 he Exp $
+# $NetBSD: Makefile,v 1.25 2009/05/21 18:14:39 sno Exp $
 #
 
-DISTNAME=      Mail-IMAPClient-3.14
+DISTNAME=      Mail-IMAPClient-3.17
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5mic
 CATEGORIES=    mail perl5
@@ -10,13 +10,17 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://search.cpan.org/dist/Mail-IMAPClient/
 COMMENT=       Perl5 module for talking to RFC-2060 IMAP servers
+LICENSE=       gnu-gpl-v2 # OR artistic
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-DEPENDS+=      p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
 DEPENDS+=      p5-File-Temp>=0.18:../../devel/p5-File-Temp
 DEPENDS+=      p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
 DEPENDS+=      p5-Parse-RecDescent>=1.94:../../devel/p5-Parse-RecDescent
+
+# Recommended
+DEPENDS+=      p5-Authen-SASL-[0-9]*:../../security/p5-Authen-SASL
+DEPENDS+=      p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
 DEPENDS+=      p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
 
 PERL5_PACKLIST=                auto/Mail/IMAPClient/.packlist
diff -r 8cfafb177827 -r 9c6418d425fc mail/p5-Mail-IMAPClient/distinfo
--- a/mail/p5-Mail-IMAPClient/distinfo  Thu May 21 18:00:52 2009 +0000
+++ b/mail/p5-Mail-IMAPClient/distinfo  Thu May 21 18:14:39 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2009/02/22 12:38:01 he Exp $
+$NetBSD: distinfo,v 1.10 2009/05/21 18:14:39 sno Exp $
 
-SHA1 (Mail-IMAPClient-3.14.tar.gz) = c8beeffeccbea43b884caa7e8dce217548d9fba7
-RMD160 (Mail-IMAPClient-3.14.tar.gz) = 277d74f4096b4b4664ad71c2a3a629cdaec92616
-Size (Mail-IMAPClient-3.14.tar.gz) = 169904 bytes
+SHA1 (Mail-IMAPClient-3.17.tar.gz) = c3e3fa0ee7abc5fd67d6aae01d08783e5f096c6e
+RMD160 (Mail-IMAPClient-3.17.tar.gz) = 48a4721d9d10121f8fdf32e8dbe1553682fe16b8
+Size (Mail-IMAPClient-3.17.tar.gz) = 172840 bytes



Home | Main Index | Thread Index | Old Index