Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2010 16:50:02 GMT
From:      Peter Wullinger <peter.wullinger@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/152537: [patch] database/postgresql90-server no longer needs pull in security/heimdal port
Message-ID:  <201011261650.oAQGo2VZ001989@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/152537; it has been noted by GNATS.

From: Peter Wullinger <peter.wullinger@gmail.com>
To: bug-followup@FreeBSD.org, peter.wullinger+freebsd@googlemail.com
Cc:  
Subject: Re: ports/152537: [patch] database/postgresql90-server no longer
 needs pull in security/heimdal port
Date: Fri, 26 Nov 2010 17:14:59 +0100

 --cWoXeonUoKmBZSoM
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 I missed a library problem in the initial patch.
 
 /usr/local/bin/postgresql complains about
 missing initialize_asn1_error_table_r in krb5.so
 
 The following patch to configure.in solves the problem.
 
 I'll try to get a patch for PostgreSQL upstream to use krb5-config
 instead of hardcoded library names.
 
 --cWoXeonUoKmBZSoM
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="patch-configure.in"
 
 --- configure.in.orig	2010-11-26 16:59:40.385097582 +0100
 +++ configure.in	2010-11-26 16:59:58.185392312 +0100
 @@ -916,7 +916,7 @@
  
  if test "$with_gssapi" = yes ; then
    if test "$PORTNAME" != "win32"; then
 -    AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
 +    AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lasn1 -lcrypto'], [],
  		 		  [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
    else
      LIBS="$LIBS -lgssapi32"
 
 --cWoXeonUoKmBZSoM--



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