svn commit: r400565 - head/security/pam_krb5

Hiroki Sato hrs at FreeBSD.org
Tue Nov 3 23:42:49 UTC 2015


Cy Schubert <Cy.Schubert at komquats.com> wrote
  in <201511030457.tA34vkf5040066 at slippy.cwsent.com>:

Cy> In message <56377C39.5000401 at marino.st>, John Marino writes:
Cy> > We don't have to settle for what it is.  We can control the build flags.
Cy> >
Cy> > The bottom line is that a regression happened.  If the current makefile
Cy> > can't be fixed to operate as it was before, the change should be
Cy> > reverted, right?
Cy>
Cy> Actually, it never worked in the first place. That is because the heimdal
Cy> port puts its include files in ${LOCALBASE}/include/heimdal (take note of
Cy> "heimdal" at the end of the path) and libraries in ${LOCALBASE}/lib/heimdal
Cy> (same as above). Ldd ${LOCALBASE}/lib/security/pam_krb5.so makes that
Cy> abundantly clear.
Cy>
Cy> Having said that, it's still no reason or excuse for it not to work. Tested
Cy> in a virgin jail, it's working now, and committed. Sorry about the
Cy> confusion.

 Can you please use the pre-defined variables for them instead of
 hardcoded pathnames?  Pathnames for headers and libraries are defined
 as GSSAPIINCDIR and GSSAPILIBDIR in gssapi.mk in an
 implementation-neutral way (and "flags" modifier like
 "gssapi:heimdal,flags" imports them into CFLAGS and LDFLAGS if
 necessary).  Tests for KRB5_HOME and HEIMDAL_HOME should also be
 replaced with GSSAPIBASEDIR.  I confirmed that the attached patch
 worked fine.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pam_krb5.diff
Type: text/x-patch
Size: 1476 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151104/736c5ffe/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151104/736c5ffe/attachment-0001.bin>


More information about the svn-ports-all mailing list