summaryrefslogtreecommitdiffstats
path: root/mail/p5-IMAP-Sieve
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2007-03-10 08:50:24 +0000
committerkuriyama <kuriyama@FreeBSD.org>2007-03-10 08:50:24 +0000
commit5fca9b20468f7148329c71fd80729d216ad79f04 (patch)
tree864223d6bd02a0e404eead9d754b0bcf089e754b /mail/p5-IMAP-Sieve
parent9000baec9e9624b2c1c84d7c445aa953f3a161f5 (diff)
downloadFreeBSD-ports-5fca9b20468f7148329c71fd80729d216ad79f04.zip
FreeBSD-ports-5fca9b20468f7148329c71fd80729d216ad79f04.tar.gz
- Fix broken PLAIN authentication against timsieved.
PR: ports/98537 Submitted by: Sergey Starosek <star@sunbay.com>
Diffstat (limited to 'mail/p5-IMAP-Sieve')
-rw-r--r--mail/p5-IMAP-Sieve/Makefile2
-rw-r--r--mail/p5-IMAP-Sieve/files/patch-Sieve.pm11
2 files changed, 8 insertions, 5 deletions
diff --git a/mail/p5-IMAP-Sieve/Makefile b/mail/p5-IMAP-Sieve/Makefile
index a85eaa6..415d0dd 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 af847be..47ad9b9 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 @@
}
}
OpenPOWER on IntegriCloud