diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-03-10 08:50:24 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-03-10 08:50:24 +0000 |
commit | 1b1607513254b0f6a5c8881df98be0373ed30f32 (patch) | |
tree | ce3c84cdf96a02e4f1f6d812be196a050dc0598b /mail/p5-IMAP-Sieve | |
parent | Add my location: Padova, Italy. (diff) |
- Fix broken PLAIN authentication against timsieved.
PR: ports/98537
Submitted by: Sergey Starosek <star@sunbay.com>
Notes
Notes:
svn path=/head/; revision=187057
Diffstat (limited to 'mail/p5-IMAP-Sieve')
-rw-r--r-- | mail/p5-IMAP-Sieve/Makefile | 2 | ||||
-rw-r--r-- | mail/p5-IMAP-Sieve/files/patch-Sieve.pm | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/mail/p5-IMAP-Sieve/Makefile b/mail/p5-IMAP-Sieve/Makefile index a85eaa69e118..415d0dd5d41d 100644 --- a/mail/p5-IMAP-Sieve/Makefile +++ b/mail/p5-IMAP-Sieve/Makefile @@ -7,7 +7,7 @@ PORTNAME= IMAP-Sieve PORTVERSION= 0.4.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= websieve diff --git a/mail/p5-IMAP-Sieve/files/patch-Sieve.pm b/mail/p5-IMAP-Sieve/files/patch-Sieve.pm index af847be5573d..47ad9b937b58 100644 --- a/mail/p5-IMAP-Sieve/files/patch-Sieve.pm +++ b/mail/p5-IMAP-Sieve/files/patch-Sieve.pm @@ -1,5 +1,5 @@ ---- Sieve.pm.orig Sat Jun 23 22:42:48 2001 -+++ Sieve.pm Thu Apr 24 18:10:29 2003 +--- Sieve.pm.orig Sun Jun 24 05:42:48 2001 ++++ Sieve.pm Sat Mar 10 15:37:46 2007 @@ -93,7 +93,7 @@ Proto => 'tcp', Reuse => 1); }) @@ -25,7 +25,7 @@ $_ = $self->_read; ## $_=$self->_read; } -@@ -126,6 +128,55 @@ +@@ -126,8 +128,57 @@ else { $self->{'Capability'}=$_; } @@ -79,8 +79,11 @@ + } + } $userpass = "$self->{'Proxy'}\x00".$self->{'Login'}."\x00".$self->{'Password'}; - $encode=encode_base64($userpass); +- $encode=encode_base64($userpass); ++ $encode=encode_base64($userpass, ''); $len=length($encode); + print $fh "AUTHENTICATE \"PLAIN\" {$len+}\r\n"; + @@ -196,7 +247,7 @@ } } |