ports/152537: [patch] database/postgresql90-server no longer needs pull in security/heimdal port
Peter Wullinger
peter.wullinger at gmail.com
Wed Nov 24 08:30:12 UTC 2010
>Number: 152537
>Category: ports
>Synopsis: [patch] database/postgresql90-server no longer needs pull in security/heimdal port
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 24 08:30:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Peter Wullinger
>Release: FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kaliope.home 8.1-STABLE FreeBSD 8.1-STABLE #0 r215189: Sun Nov 14 10:18:27 CET 2010 src at kaliope.home:/usr/obj/usr/src/sys/KALIOPE amd64
databases/postgresql90-server
>Description:
databases/postgresql90-server pulls in the heimdal
port because of linking problems with the base system
kerberos libraries.
On my system, the postgresql90-server port now builds
just fine when uncommenting the heimdal port dependency.
>How-To-Repeat:
cd /usr/ports/databases/postgresql90-server
make install
# Build with heimdal KRB5-support
# heimdal port will be installed
>Fix:
Apply the following patch to ports/databases/postgresql90-server,
deinstall both postgresql90-server and heimdal port, reinstall
postgresql90-server port.
--- patch begins here ---
--- postgresql90-server/Makefile.orig 2010-11-23 21:55:26.975095157 +0100
+++ postgresql90-server/Makefile 2010-11-23 21:55:51.935862797 +0100
@@ -196,10 +196,6 @@
. if defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a) && exists(${HEIMDAL_HOME}/bin/krb5-config)
CONFIGURE_ARGS+=--with-krb5
. else
-# 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.26:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5
. endif
. endif
--- patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list