ports/152537: [patch] database/postgresql90-server no longer needs pull in security/heimdal port

Peter Wullinger peter.wullinger at gmail.com
Fri Nov 26 16:50:03 UTC 2010


The following reply was made to PR ports/152537; it has been noted by GNATS.

From: Peter Wullinger <peter.wullinger at gmail.com>
To: bug-followup at FreeBSD.org, peter.wullinger+freebsd at 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--



More information about the freebsd-ports-bugs mailing list