From owner-freebsd-ports Mon Oct 7 9:20: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AC1B37B404 for ; Mon, 7 Oct 2002 09:20:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65CE443E88 for ; Mon, 7 Oct 2002 09:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g97GK3Co046378 for ; Mon, 7 Oct 2002 09:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g97GK3kN046377; Mon, 7 Oct 2002 09:20:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA91637B401 for ; Mon, 7 Oct 2002 09:14:37 -0700 (PDT) Received: from helium.webpack.hosteurope.de (helium.one-2-one.net [217.115.142.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88B9F43E6E for ; Mon, 7 Oct 2002 09:14:16 -0700 (PDT) (envelope-from ich@guido-berhoerster.org) Received: from hal.privat.lan (pD953C5D4.dip.t-dialin.net [217.83.197.212]) (authenticated) by helium.webpack.hosteurope.de (8.11.6/8.11.6) with ESMTP id g97FpYN08570 for ; Mon, 7 Oct 2002 17:51:34 +0200 Received: from hal.privat.lan (localhost.privat.lan [127.0.0.1]) by hal.privat.lan (8.12.3/8.12.3) with ESMTP id g97FpMCK000289 for ; Mon, 7 Oct 2002 17:51:23 +0200 (CEST) (envelope-from guiber@hal.privat.lan) Received: (from guiber@localhost) by hal.privat.lan (8.12.3/8.12.3/Submit) id g97FpMuH000288; Mon, 7 Oct 2002 17:51:22 +0200 (CEST) Message-Id: <200210071551.g97FpMuH000288@hal.privat.lan> Date: Mon, 7 Oct 2002 17:51:22 +0200 (CEST) From: Guido Berhoerster Reply-To: Guido Berhoerster To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43774: Allow users to build security/cyrus_sasl without Kerberos IV support Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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