pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/cyrus-imapd22 Apply a fix for anonymous auth_stat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edf0452ba565
branches:  trunk
changeset: 473518:edf0452ba565
user:      recht <recht%pkgsrc.org@localhost>
date:      Tue Apr 20 15:54:02 2004 +0000

description:
Apply a fix for anonymous auth_states in krb5.
Patch provided from Cyrus's CVS by Jukka Salmi in PR pkg/25256.
Details: https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/auth_krb5.c.diff?r1=1.2&r2=1.3

diffstat:

 mail/cyrus-imapd22/Makefile         |   4 ++--
 mail/cyrus-imapd22/distinfo         |   3 ++-
 mail/cyrus-imapd22/patches/patch-aa |  12 ++++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r ac0510cfe277 -r edf0452ba565 mail/cyrus-imapd22/Makefile
--- a/mail/cyrus-imapd22/Makefile       Tue Apr 20 15:49:06 2004 +0000
+++ b/mail/cyrus-imapd22/Makefile       Tue Apr 20 15:54:02 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2004/04/20 00:07:17 recht Exp $
+# $NetBSD: Makefile,v 1.8 2004/04/20 15:54:02 recht Exp $
 
 DISTNAME=      cyrus-imapd-2.2.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    mail
 MASTER_SITES=  ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
                ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/imap/
diff -r ac0510cfe277 -r edf0452ba565 mail/cyrus-imapd22/distinfo
--- a/mail/cyrus-imapd22/distinfo       Tue Apr 20 15:49:06 2004 +0000
+++ b/mail/cyrus-imapd22/distinfo       Tue Apr 20 15:54:02 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/18 12:42:11 recht Exp $
+$NetBSD: distinfo,v 1.2 2004/04/20 15:54:02 recht Exp $
 
 SHA1 (cyrus-imapd-2.2.3.tar.gz) = 782582f86a1970bf1cf54f3ed58adbdfca867dd4
 Size (cyrus-imapd-2.2.3.tar.gz) = 1887717 bytes
+SHA1 (patch-aa) = bd3f54b5589c3b5f176f6f19ced90cb49edeebd1
 SHA1 (patch-ac) = 08b2694fa3cc895d56d3bc5c89028b5343805709
 SHA1 (patch-ad) = 61fdf605f77d8b08190146d3e3ae3932114a8dee
 SHA1 (patch-ae) = 0b07e9f2a66e0c10ee9d19b307201d22a794cf3c
diff -r ac0510cfe277 -r edf0452ba565 mail/cyrus-imapd22/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/cyrus-imapd22/patches/patch-aa       Tue Apr 20 15:54:02 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2004/04/20 15:54:02 recht Exp $
+
+--- lib/auth_krb5.c.orig       2004-04-20 17:50:47.000000000 +0200
++++ lib/auth_krb5.c    2004-04-20 17:51:13.000000000 +0200
+@@ -74,6 +74,7 @@
+ 
+     if (strcmp(identifier,"anyone") == 0) return 1;
+     if (!auth_state && !strcmp(identifier, "anonymous")) return 3;
++    else if(!auth_state) return 0;
+     if (strcmp(identifier,auth_state->userid) == 0) return 3;
+     if (strcmp(auth_state->userid,"anonymous") == 0) return 0;
+ 



Home | Main Index | Thread Index | Old Index