Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 17:51:22 +0200 (CEST)
From:      Guido Berhoerster <ich@guido-berhoerster.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43774: Allow users to build security/cyrus_sasl without Kerberos IV support
Message-ID:  <200210071551.g97FpMuH000288@hal.privat.lan>

next in thread | raw e-mail | index | archive | help

>Number:         43774
>Category:       ports
>Synopsis:       Allow users to build security/cyrus_sasl without Kerberos IV support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 07 09:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Guido Berhoerster
>Release:        FreeBSD 4.6.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD hal.privat.lan 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Mon Sep 16 20:47:09 CEST 2002 root@hal.privat.lan:/usr/obj/usr/src/sys/HAL i386


	
>Description:
The security/cyrus_sasl port automatically activates Kerberos IV support if
/usr/lib/libkrb.a is found on the system. Users might have Kerberos IV
installed but don't want Cyrus SASL to support it e.g. because they only use
it with sendmail to authenticate themselves with a different method.
Once Kerberos support is compiled in via --enable-krb4 it cannot be disabled
later. And if Kerberos is not configured and there is no /etc/srvtab sendmail
produces annoying error messages until a dummy file with that name is created.
	
>How-To-Repeat:
Build the security/cyrus_sasl port on a system which has Kerberos IV installed.
	
>Fix:
Add a simple switch like WITHOUT_KRB4 to the Makefile and thus allow users to
turn off Kerberos support even if they have Kerberos installed, e.g. like this:

--- Makefile.orig       Sat Oct  5 15:13:42 2002
+++ Makefile    Mon Oct  7 16:02:38 2002
@@ -82,7 +82,7 @@
 GSSAPI=        "@comment "
 .endif

-.if exists(/usr/lib/libkrb.a)
+.if exists(/usr/lib/libkrb.a) && !defined(WITHOUT_KRB4)
 CONFIGURE_ARGS+=       --enable-krb4
 .else
 CONFIGURE_ARGS+=       --disable-krb4

	

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210071551.g97FpMuH000288>