postgresql 8.2.5_1 client doesn't make with heimdal

Boris Samorodov bsam at ipt.ru
Fri Jan 4 10:25:06 PST 2008


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.000000000 +0400
+++ Makefile	2008-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


More information about the freebsd-ports mailing list