From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 17 12:20:22 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 106B837B401 for ; Thu, 17 Jul 2003 12:20:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8843743F85 for ; Thu, 17 Jul 2003 12:20:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6HJKLUp069713 for ; Thu, 17 Jul 2003 12:20:21 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6HJKLse069712; Thu, 17 Jul 2003 12:20:21 -0700 (PDT) Date: Thu, 17 Jul 2003 12:20:21 -0700 (PDT) Message-Id: <200307171920.h6HJKLse069712@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Bruce M Simpson Subject: Re: ports/54592: [PATCH] mail/mutt-devel: fix APOP, mark SASL as broken X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce M Simpson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 19:20:22 -0000 The following reply was made to PR ports/54592; it has been noted by GNATS. From: Bruce M Simpson To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/54592: [PATCH] mail/mutt-devel: fix APOP, mark SASL as broken Date: Thu, 17 Jul 2003 20:11:13 +0100 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Patch enclosed. BMS --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="muttfix.col.patch" Generated by diffcoll on Thu 17 Jul 2003 20:07:04 BST diff -uN ports/mail/mutt-devel/Makefile.orig ports/mail/mutt-devel/Makefile --- /usr/ports/mail/mutt-devel/Makefile.orig Thu Jul 17 19:50:16 2003 +++ /usr/ports/mail/mutt-devel/Makefile Thu Jul 17 20:03:43 2003 @@ -75,7 +75,7 @@ PORTNAME= mutt-devel PORTVERSION= 1.5.4 -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES+= mail ipv6 .if defined(WITH_MUTT_NNTP) CATEGORIES+= news @@ -177,6 +177,7 @@ USE_OPENSSL= yes .endif .if defined(WITH_MUTT_CYRUS_SASL) +BROKEN= "mutt-devel's SASL code appears to be broken" LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl .endif .if ! defined(WITHOUT_MUTT_SMIME_OUTLOOK_COMPAT) diff -uN ports/mail/mutt-devel/files/patch-pop_auth.c.orig ports/mail/mutt-devel/files/patch-pop_auth.c --- /usr/ports/mail/mutt-devel/files/patch-pop_auth.c.orig Thu Jul 17 19:50:09 2003 +++ /usr/ports/mail/mutt-devel/files/patch-pop_auth.c Thu Jul 17 19:46:27 2003 @@ -0,0 +1,19 @@ +--- pop_auth.c.orig Thu Jul 17 19:42:53 2003 ++++ pop_auth.c Thu Jul 17 19:46:01 2003 +@@ -206,12 +206,12 @@ + mutt_message _("Authenticating (APOP)..."); + + /* Compute the authentication hash to send to the server */ +- MD5Init (&mdContext); +- MD5Update (&mdContext, (unsigned char *)pop_data->timestamp, ++ MD5_Init (&mdContext); ++ MD5_Update (&mdContext, (unsigned char *)pop_data->timestamp, + strlen (pop_data->timestamp)); +- MD5Update (&mdContext, (unsigned char *)pop_data->conn->account.pass, ++ MD5_Update (&mdContext, (unsigned char *)pop_data->conn->account.pass, + strlen (pop_data->conn->account.pass)); +- MD5Final (digest, &mdContext); ++ MD5_Final (digest, &mdContext); + + for (i = 0; i < sizeof (digest); i++) + sprintf (hash + 2 * i, "%02x", digest[i]); --sm4nu43k4a2Rpi4c--