[Bug 236037] databases/postgresql*: postgresql ports do not configure Kerberos support correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 25 19:29:35 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236037

            Bug ID: 236037
           Summary: databases/postgresql*: postgresql ports do not
                    configure Kerberos support correctly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: wollman at FreeBSD.org

Created attachment 202363
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202363&action=edit
patch to databases/postgresql11-server

Support for GSSAPI authentication with Kerberos has been broken in the master
port's makefile for several years.

First problem: selection of Kerberos libraries is inexplicably limited to
ancient (no longer supported) PostgreSQL releases.

Second problem: the actual Kerberos library dependency is only recorded if
Kerberos is already installed at build time, which is a violation of ports
conventions and fails to configure when building packages because package
builds always run in a clean environment with no undeclared dependencies
installed.

The attached patch makes 9.4 build, package, and function properly (tested only
with MIT Kerberos, we don't use Heimdal here) and more recent releases build
and package.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list