From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 15 04:40:08 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B5528CC9 for ; Wed, 15 May 2013 04:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4D00E6E5 for ; Wed, 15 May 2013 04:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4F4e6L1031611 for ; Wed, 15 May 2013 04:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4F4e6fP031610; Wed, 15 May 2013 04:40:06 GMT (envelope-from gnats) Date: Wed, 15 May 2013 04:40:06 GMT Message-Id: <201305150440.r4F4e6fP031610@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: ports/178601: postgresql port has wrong check for MIT_KRB5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Garrett Wollman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 04:40:08 -0000 The following reply was made to PR ports/178601; it has been noted by GNATS. From: Garrett Wollman To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: ports/178601: postgresql port has wrong check for MIT_KRB5 Date: Mon, 13 May 2013 15:02:12 -0400 (EDT) >Number: 178601 >Category: ports >Synopsis: postgresql port has wrong check for MIT_KRB5 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 13 19:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 9.1-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD xyz.csail.mit.edu 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #27 r250065M: Mon Apr 29 17:11:15 EDT 2013 wollman@xyz.csail.mit.edu:/usr/obj/usr/src/sys/CSAIL amd64 >Description: The databases/postgresql92-server Makefile contains the following conditional: else CONFIGURE_ARGS+=--with-krb5 # Allow defining a home built MIT Kerberos by setting KRB5_HOME if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) && exists(${KRB5_HOME}/bin/krb5-config) LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5 endif endif endif The current security/krb5 port does not install libgssapi_krb5.a, so this does not pick up the correct dependency, and thus building in a clean environment (as with poudriere) fails. >How-To-Repeat: Configure databases/postgresql92-client to use the MIT implementation of Kerberos and try to build it when the krb5 package is not installed. >Fix: Change the conditional to: if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so.2) && exists(${KRB5_HOME}/bin/krb5-config) >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-ports-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"