Date: Wed, 15 May 2013 04:40:06 GMT From: Garrett Wollman <wollman@csail.mit.edu> To: freebsd-ports-bugs@FreeBSD.org Subject: ports/178601: postgresql port has wrong check for MIT_KRB5 Message-ID: <201305150440.r4F4e6fP031610@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/178601; it has been noted by GNATS. From: Garrett Wollman <wollman@csail.mit.edu> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305150440.r4F4e6fP031610>