Re: postgresql 8.2.5_1 client doesn't make with heimdal

2008-01-05 Thread Dorian Büttner
On Friday 04 January 2008 19:23:28 Boris Samorodov wrote:

 http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
 -LIB_DEPENDS+=krb5.21:${PORTSDIR}/security/heimdal
 +LIB_DEPENDS+=krb5.23:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=--with-krb5
  .endif
  .  endif
 -

 You may file a PR if the patch helps.


 WBR

Thanks Boris,

but that just moves the prob. The configure script now fails with an error 
message like 'function krb5_sendauth not found'. I mailed the complete 
output/log to girgen as adviced by the error message.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postgresql 8.2.5_1 client doesn't make with heimdal

2008-01-05 Thread Dorian Büttner
I'm not to deep into this, but as far as I can see, man krb5 doesn't list 
krb5_sendauth it it's list of provided funtions, however postgres' 
configure.in is checking for that:

if test $with_krb5 = yes ; then
  if test $PORTNAME != win32; then
 AC_SEARCH_LIBS(com_err, [krb5 'krb5 -ldes -lasn1 -lroken' com_err], [],
[AC_MSG_ERROR([could not find function 'com_err' required 
fo
r Kerberos 5])])
 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -ldes -lasn1 -lroken'], [],
[AC_MSG_ERROR([could not find function 'krb5_sendauth' 
requi
red for Kerberos 5])])
  else
 AC_SEARCH_LIBS(com_err, 'comerr32 -lkrb5_32', [],
[AC_MSG_ERROR([could not find function 'com_err' required 
fo
r Kerberos 5])])
  fi
fi

This seems to have been introduced somewhere in postgresql 7.1/7.2 or 
whatever.
http://archives.postgresql.org/pgsql-patches/2001-11/msg00292.php

Has heimdal somehow renamed that function in the past couple of versions or is 
there any other clue to go?

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postgresql 8.2.5_1 client doesn't make with heimdal

2008-01-04 Thread Boris Samorodov
On Fri, 4 Jan 2008 12:32:05 +0100 Dorian Büttner wrote:

 anyone else having this when compiling postgres-client with heimdal support? 
 system is 7.0-prerelease on amd64.

Seems that databases/postgresql82-server was not updated after
updating of security/heimdal.

 heimdal installed:
 zock# pkg_info | grep heimdal
 heimdal-1.0.1   A popular BSD-licensed implementation of Kerberos 5

 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for postgresql-client-8.2.5_1
 ===  Extracting for postgresql-client-8.2.5_1
 = MD5 Checksum OK for postgresql/postgresql-base-8.2.5.tar.bz2.
 = SHA256 Checksum OK for postgresql/postgresql-base-8.2.5.tar.bz2.
 = MD5 Checksum OK for postgresql/postgresql-opt-8.2.5.tar.bz2.
 = SHA256 Checksum OK for postgresql/postgresql-opt-8.2.5.tar.bz2.
 ===  Patching for postgresql-client-8.2.5_1
 ===  Applying FreeBSD patches for postgresql-client-8.2.5_1
 ===   postgresql-client-8.2.5_1 depends on executable: gmake - found
 ===   postgresql-client-8.2.5_1 depends on shared library: krb5.21 - not 
 found
 ===Verifying install for krb5.21 in /usr/ports/security/heimdal
 ===   Returning to build of postgresql-client-8.2.5_1
 Error: shared library krb5.21 does not exist
 *** Error code 1

Try to apply to databases/postgresql82-server the patch:
-
--- Makefile.orig   2007-10-17 14:12:28.0 +0400
+++ Makefile2008-01-04 21:17:00.494021151 +0300
@@ -181,7 +181,7 @@
 # Postgresql apps will not link properly when libpq is linked with base 
heimdal in /usr,
 # so we always use the heimdal port. See
 # http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
-LIB_DEPENDS+=  krb5.21:${PORTSDIR}/security/heimdal
+LIB_DEPENDS+=  krb5.23:${PORTSDIR}/security/heimdal
 CONFIGURE_ARGS+=--with-krb5
 .endif
 .  endif
-

You may file a PR if the patch helps.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postgresql 8.2.5_1 client doesn't make with heimdal

2008-01-04 Thread David Wood

Hi everyone,

In message [EMAIL PROTECTED], Boris Samorodov [EMAIL PROTECTED] writes

On Fri, 4 Jan 2008 12:32:05 +0100 Dorian Büttner wrote:


anyone else having this when compiling postgres-client with heimdal support?
system is 7.0-prerelease on amd64.


Seems that databases/postgresql82-server was not updated after
updating of security/heimdal.


This seems to be a general problem. There was a version bump in the 
Heimdal shared library, and I don't believe any ports that depend on 
that library were updated.


I got a user report about net/freeradius a little while ago, and I've 
fixed the problem now in that port - but I suspect other ports have been 
missed.



Would a committer do the necessary find and grep magic to find other 
port Makefiles referring to krb5.21 and update them to krb5.23 rather 
than piecemeal updates being needed?




Best wishes,




David
--
David Wood
[EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]