diff options
author | wxs <wxs@FreeBSD.org> | 2009-09-03 21:42:09 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2009-09-03 21:42:09 +0800 |
commit | ff7e79caed45144aec8e0dd29b4db6b083eabfe7 (patch) | |
tree | ff34cfe42e7cb9d8ed49fffa3b773fa52f6018c1 /mail | |
parent | f57c4dff493950e9f3361a1908f1a274519897bf (diff) | |
download | freebsd-ports-gnome-ff7e79caed45144aec8e0dd29b4db6b083eabfe7.tar.gz freebsd-ports-gnome-ff7e79caed45144aec8e0dd29b4db6b083eabfe7.tar.zst freebsd-ports-gnome-ff7e79caed45144aec8e0dd29b4db6b083eabfe7.zip |
- 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)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dovecot/Makefile | 3 | ||||
-rw-r--r-- | mail/dovecot/files/patch-src-auth-mech-gssapi.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 0608f50e1d5c..887c7dcf2f7e 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -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 \ diff --git a/mail/dovecot/files/patch-src-auth-mech-gssapi.c b/mail/dovecot/files/patch-src-auth-mech-gssapi.c new file mode 100644 index 000000000000..e7077031791d --- /dev/null +++ b/mail/dovecot/files/patch-src-auth-mech-gssapi.c @@ -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; |