#36781: cyrus-sasl2: use Heimdal instead of MIT Kerberos on Lion and later --------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: cyrus-sasl2 | --------------------------+-------------------------------- Comment (by mmpestorich@…): Replying to [comment:13 dom.heussi@…]:
So, why is there no way to build cyrus-sasl2 against the Mac OS X-supplied kerberos as suggested by the FAQ ? This would resolve my problem easily...
Here is a patch to the cyrus-sasl2 port that makes it build against the os x supplied kerberos on darwin >= 11. When configuring cyrus-sasl2 on darwin >= 11, you must still set --with-gss_impl=mit. Kerberos and GSSAPI libraries found in /usr on seem to follow naming conventions normally used by mit kerberos even though they are really heimdal versions. This patch is a work around for any ports dependent on cyrus-sasl2 (for those that don't want to wait for these other issues to be resolved). By linking cryus-sasl2 against the system kerberos libs (in /usr), ports dependent on cyrus-sasl2 will work properly with the system managed credential cache (/usr/bin/{kinit, klist, kdestroy}). I don't believe that this a the proper long term solution. This does nothing to address any issues that currently exist for ports that link directly against kerberos. I believe that once #36811, then all kerberos dependent ports (including cyrus-sasl2) need to be setup to link against the proper version of kerberos for any given host system as outlined in the description of this ticket. -- Ticket URL: <https://trac.macports.org/ticket/36781#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X