NetBSD Problem Report #18851

Received: (qmail 2821 invoked by uid 605); 29 Oct 2002 09:32:49 -0000
Message-Id: <200210290932.g9T9WkG13002@colwyn.zhadum.de>
Date: Tue, 29 Oct 2002 10:32:47 +0100 (CET)
From: Matthias Scheler <tron@colwyn.zhadum.de>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: tron@colwyn.zhadum.de
To: gnats-bugs@gnats.netbsd.org
Subject: Latest "imap-uw" package crashes on non Kerberos systems
X-Send-Pr-Version: 3.95

>Number:         18851
>Category:       pkg
>Synopsis:       Latest "imap-uw" package crashes on non Kerberos systems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    elric
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 29 09:33:00 +0000 2002
>Closed-Date:    Sun Nov 03 22:27:09 +0000 2002
>Last-Modified:  Sun Nov 03 22:27:09 +0000 2002
>Originator:     
>Release:        NetBSD 1.6
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6 NetBSD 1.6 (COLWYN) #1: Sun Sep 22 08:40:28 CEST 2002 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
After updating the "imap-uw" package to version 2001.1nb1 the server is
crashing with a segmentation fault on my system which is not using
Kerberos. Futhermore the "php4-imap" package doesn't build any more
because Kerberos support needs to be enabled there, too, if the
"imap-uw" package uses it.

>How-To-Repeat:
Try to use "imap-uw-2001.1nb1" on a system which don't uses Kerberos.
This case has apparently not been tested all which is unacceptable.

>Fix:
None provide.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->elric 
Responsible-Changed-By: tron 
Responsible-Changed-When: Tue Oct 29 01:34:38 PST 2002 
Responsible-Changed-Why:  
Roland brocke this package. 

From: Matthias Scheler <tron@zhadum.de>
To: NetBSD GNATS <gnats-bugs@gnats.netbsd.org>
Cc:  
Subject: Re: pkg/18851
Date: Thu, 31 Oct 2002 13:54:50 +0100

 On Tue, Oct 29, 2002 at 09:36:07AM -0000, tron@netbsd.org wrote:
 > Synopsis: Latest "imap-uw" package crashes on non Kerberos systems
 > 
 > Responsible-Changed-From-To: pkg-manager->elric
 > Responsible-Changed-By: tron
 > Responsible-Changed-When: Tue Oct 29 01:34:38 PST 2002
 > Responsible-Changed-Why: 
 > Roland brocke this package.

 Version 2001.1nb2 of the "imap-uw" package works on system not using
 Kerberos without problems.

 However, the "php4-imap" package still fails to build. I've attached
 diffs which fix the build problem but they need to be tested before
 they get committed.

 	Kind regards

 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/

 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mail/php4-imap/Makefile,v
 retrieving revision 1.7
 diff -u -r1.7 Makefile
 --- Makefile	2002/10/08 23:22:07	1.7
 +++ Makefile	2002/10/31 12:50:10
 @@ -2,18 +2,31 @@

  MODNAME=		imap
  CATEGORIES+=		mail
 -PKGREVISION=		# empty
 +PKGREVISION=		1
  COMMENT=		PHP4 extension for IMAP (Internet Mailbox Access Protocol)

  USE_BUILDLINK2=		# defined

  .include "../../www/php4/Makefile.module"

 -CONFIGURE_ARGS+=	--with-${MODNAME}=shared,${BUILDLINK_PREFIX.imap-uw}
 -CONFIGURE_ARGS+=	--with-${MODNAME}-ssl=${SSLBASE}
 +CONFIGURE_ARGS+=	--with-${MODNAME}=shared,${BUILDLINK_PREFIX.imap-uw} \
 +			--with-${MODNAME}-ssl=${SSLBASE}
  CONFIGURE_ENV+=		ac_cv_lib_pam_pam_start=no

  LIBS+=			-lssl -lcrypto
 +
 +.include "../../mk/bsd.prefs.mk"
 +
 +.if (${OPSYS} == NetBSD) && (${USE_KERBEROS} != "no")
 +CONFIGURE_ARGS+=	--with-kerberos=/usr
 +PKG_USE_KERBEROS=	YES
 +
 +BUILDLINK_TARGETS+=	kerberos-link
 +
 +kerberos-link:
 +	@${LN} -fs /usr/lib/libgssapi.so ${BUILDLINK_DIR}/lib/libgssapi_krb5.so
 +	@${LN} -fs /usr/lib/libcrypto.so ${BUILDLINK_DIR}/lib/libk5crypto.so
 +.endif

  .include "../../mail/imap-uw/buildlink2.mk"
  .include "../../security/openssl/buildlink2.mk"

From: Roland Dowdeswell <elric@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/18851 CVS commit: pkgsrc/mail/php4-imap
Date: Sat,  2 Nov 2002 02:05:06 +0200 (EET)

 Module Name:	pkgsrc
 Committed By:	elric
 Date:		Sat Nov  2 00:05:05 UTC 2002

 Modified Files:
 	pkgsrc/mail/php4-imap: Makefile distinfo
 	pkgsrc/mail/php4-imap/patches: patch-aa

 Log Message:
 Remove the check for auth_gss in this.  The check only causes the build
 to prematurely fail if it thinks that it might fail.

 Addresses PR pkg/18851


 To generate a diff of this commit:
 cvs rdiff -r1.7 -r1.8 pkgsrc/mail/php4-imap/Makefile
 cvs rdiff -r1.5 -r1.6 pkgsrc/mail/php4-imap/distinfo
 cvs rdiff -r1.2 -r1.3 pkgsrc/mail/php4-imap/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback 
State-Changed-By: elric 
State-Changed-When: Fri Nov 1 16:06:39 PST 2002 
State-Changed-Why:  
I think that I've addressed all the issues here. 

From: Matthias Scheler <tron@zhadum.de>
To: elric@netbsd.org
Cc: NetBSD GNATS <gnats-bugs@gnats.netbsd.org>
Subject: Re: pkg/18851
Date: Sun, 3 Nov 2002 22:56:32 +0100

 On Sat, Nov 02, 2002 at 12:06:58AM -0000, elric@netbsd.org wrote:
 > Synopsis: Latest "imap-uw" package crashes on non Kerberos systems
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: elric
 > State-Changed-When: Fri Nov 1 16:06:39 PST 2002
 > State-Changed-Why: 
 > I think that I've addressed all the issues here.

 Yes, the latetest set of changes fix all the report problems for me.
 Thanks a lot and please close this PR.

 	Kind regards

 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/
State-Changed-From-To: feedback->closed 
State-Changed-By: elric 
State-Changed-When: Sun Nov 3 14:26:39 PST 2002 
State-Changed-Why:  
Fixes verified. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.