Changes 2.2.2:
+ zlib: Keep the last mail cached uncompressed in a temp file. This
  fixes performance when doing small partial fetches from a large
  mail.
+ acl: If plugin { acl_defaults_from_inbox = yes } is set, get the
  default ACLs for private and shared namespaces from the user's INBOX.
  (This probably will become default in v2.3.)
+ pop3: Added pop3_deleted_flag setting to switch POP3 deletions to
  only hide the messages from POP3, but still be visible via IMAP.
- ACL plugin: Mailbox creation wasn't actually checking any ACLs
  and always succeeded (due to some v2.2 API changes). The created
  mailbox couldn't have been accessed though, so this couldn't have
  caused any data leak.
- IMAP: Various URLAUTH fixes.
- IMAP: Fixed a hang with invalid APPEND parameters.
- IMAP LIST-EXTENDED: INBOX was never listed with \Subscribed flag.
- mailbox_list_index=yes still caused crashes.
- maildir: Fixed a crash after dovecot-keywords file was re-read.
- maildir: If files had reappeared unexpectedly to a Maildir, they
  were ignored until index files were deleted.
- Maildir: Fixed handling over 26 keywords in a mailbox.
- Maildir++: Fixed mail_shared_explicit_inbox=no
- namespace { prefix="" list=no } was listing mailboxes.
- imap/pop3-login proxying: Fixed a crash if TCP connection succeeded,
  but the remote login timed out.
- Case-insensitive search/sort didn't work correctly for all unicode
  characters, as specified by i;unicode-casemap comparator. If full
  text search indexes were used, they need to be rebuilt for old mails
  to be handled correctly. (This bug has existed always in Dovecot.)
Updated mail/dovecot2 to 2.2.2
Changes 3.3.5:
* Allocate ClientInfo::hash.key using malloc() instead of new char[]
* Bug 3851: Delay Pool class 5 tag:levels displayed incorrectly in cache manager
* Use case-insensitive comparison for HTTP header names in *_header_access
* Bug 3744: squid terminated: FATAL: Bungled (null) line 3: sslproxy_cert_sign signTrusted all
* Bug 3759: OpenSSL compilation error on stock Fedora17, RHEL, CentOS 6 systems
* Bug 3816: SSL_get_certificate call inside Ssl::verifySslCertificate crashes squid, part2
* Port from 2.6: external acl %ACL and %DATA tags
* Log an ERROR instead of halting on unknown cache_dir types
* Add missing piece omitted from rev.9677
* Remove origin_tries limiter on forwarding
* Fixed leaking configurable SSL error details.
* Fix memory error with Kerberos authentication
* Avoid !closing assertions when helpers call comm_read [during reconfigure].
* Avoid Comm::Connection leaks when helpers are reconfigured or otherwise closed.
* find-alive.pl: Replaced HttpReq entry (already covered by the guessing code) with HttpHeaderEntry entry
* Docs: Polish [http::]>h and [http::]>ha descriptions to emphasize their pre-cache scope
* Polish: show file path on Bungled lines
Updated www/squid3 to 3.3.5
On Linux there is no need to depend on coreutils gsed and patch.

So use the tools system for gsed and on Linux use the native cp and date
and if patch exits use it.

Bump PKGREVISION
Updated devel/quilt to 0.48nb2