- Fix a bug where GSSAPI authentication was always failing. [1]
- Flip MANAGESIEVE option to on (this makes the mail/managesieve package useful). [2] PR: [1]: ports/138300 [2]: ports@ list Submitted by: John Marshall <john.marshall@riverwillow.com.au> Approved by: Yarema <yds@CoolRat.org> (maintainer)
This commit is contained in:
parent
5dbe6d76b5
commit
0bf7b17adc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240784
2 changed files with 15 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= dovecot
|
||||
PORTVERSION= 1.2.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= http://www.dovecot.org/releases/${DOVECOTVERSION}/ \
|
||||
http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
|
||||
|
@ -58,7 +59,7 @@ OPTIONS= KQUEUE "kqueue(2) support" on \
|
|||
IPV6 "IPv6 support" on \
|
||||
POP3 "POP3 support" on \
|
||||
LDA "LDA support" on \
|
||||
MANAGESIEVE "ManageSieve support" off \
|
||||
MANAGESIEVE "ManageSieve support" on \
|
||||
GSSAPI "GSSAPI support" off \
|
||||
VPOPMAIL "VPopMail support" off \
|
||||
BDB "BerkleyDB support" off \
|
||||
|
|
13
mail/dovecot/files/patch-src-auth-mech-gssapi.c
Normal file
13
mail/dovecot/files/patch-src-auth-mech-gssapi.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/auth/mech-gssapi.c.orig 2009-08-15 03:14:11.000000000 +1000
|
||||
+++ src/auth/mech-gssapi.c 2009-08-29 07:02:43.000000000 +1000
|
||||
@@ -218,6 +218,10 @@
|
||||
const unsigned char *c = data;
|
||||
unsigned int i;
|
||||
|
||||
+ /* apparently all names end with NUL? */
|
||||
+ if (len > 0 && c[len-1] == '\0')
|
||||
+ len--;
|
||||
+
|
||||
for (i = 0; i < len; i++) {
|
||||
if (c[i] == '\0')
|
||||
return TRUE;
|
Loading…
Reference in a new issue