Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jan 2008 21:23:28 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        Dorian =?utf-8?Q?B=C3=BCttner?= <dorian.buettner@gmx.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: postgresql 8.2.5_1 client doesn't make with heimdal
Message-ID:  <88335647@bb.ipt.ru>
In-Reply-To: <200801041232.06239.dorian.buettner@gmx.de> ("Dorian =?utf-8?Q?B=C3=BCttner=22's?= message of "Fri\, 4 Jan 2008 12\:32\:05 %2B0100")
References:  <200801041232.06239.dorian.buettner@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Jan 2008 12:32:05 +0100 Dorian B=C3=BCttner wrote:

> anyone else having this when compiling postgres-client with heimdal suppo=
rt?=20
> 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

> =3D=3D=3D>  Vulnerability check disabled, database not found
> =3D=3D=3D>  Found saved configuration for postgresql-client-8.2.5_1
> =3D=3D=3D>  Extracting for postgresql-client-8.2.5_1
> =3D> MD5 Checksum OK for postgresql/postgresql-base-8.2.5.tar.bz2.
> =3D> SHA256 Checksum OK for postgresql/postgresql-base-8.2.5.tar.bz2.
> =3D> MD5 Checksum OK for postgresql/postgresql-opt-8.2.5.tar.bz2.
> =3D> SHA256 Checksum OK for postgresql/postgresql-opt-8.2.5.tar.bz2.
> =3D=3D=3D>  Patching for postgresql-client-8.2.5_1
> =3D=3D=3D>  Applying FreeBSD patches for postgresql-client-8.2.5_1
> =3D=3D=3D>   postgresql-client-8.2.5_1 depends on executable: gmake - fou=
nd
> =3D=3D=3D>   postgresql-client-8.2.5_1 depends on shared library: krb5.21=
 - not=20
> found
> =3D=3D=3D>    Verifying install for krb5.21 in /usr/ports/security/heimdal
> =3D=3D=3D>   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 he=
imdal in /usr,
 # so we always use the heimdal port. See
 # http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.ht=
ml
-LIB_DEPENDS+=3D	krb5.21:${PORTSDIR}/security/heimdal
+LIB_DEPENDS+=3D	krb5.23:${PORTSDIR}/security/heimdal
 CONFIGURE_ARGS+=3D--with-krb5
 .    endif
 .  endif
-----

You may file a PR if the patch helps.


WBR
--=20
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



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