summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-05-14 11:45:16 +0000
committermarkm <markm@FreeBSD.org>2001-05-14 11:45:16 +0000
commited36556bbc13c4d560d0bf341552feae5399b7ea (patch)
treefd80791389d167ec2afb58fd080062880de4a90d
parent8f01d4f9a21b42822e22a8a94f5d7baa665bd832 (diff)
downloadFreeBSD-src-ed36556bbc13c4d560d0bf341552feae5399b7ea.zip
FreeBSD-src-ed36556bbc13c4d560d0bf341552feae5399b7ea.tar.gz
Kerberos updates for PAM.
-rw-r--r--share/mk/bsd.libnames.mk16
1 files changed, 13 insertions, 3 deletions
diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk
index 06b651c..ee0f289 100644
--- a/share/mk/bsd.libnames.mk
+++ b/share/mk/bsd.libnames.mk
@@ -8,6 +8,7 @@
LIBCRT0?= ${DESTDIR}${LIBDIR}/crt0.o
LIBALIAS?= ${DESTDIR}${LIBDIR}/libalias.a
+LIBASN1?= ${DESTDIR}${LIBDIR}/libasn1.a # XXX in secure dist, not base
LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
LIBC?= ${DESTDIR}${LIBDIR}/libc.a
LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.a
@@ -40,6 +41,7 @@ LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
+LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a # XXX in secure dist, not base
LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
LIBL?= ${DESTDIR}${LIBDIR}/libl.a
@@ -60,14 +62,22 @@ LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
MINUSLPAM?= -lpam
.if defined(NOSHARED) && ${NOSHARED} != "no" && ${NOSHARED} != "NO"
+.if defined(MAKE_KERBEROS4) || defined(MAKE_KERBEROS5)
.ifdef MAKE_KERBEROS4
-LIBPAM+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
-MINUSLPAM+= -lkrb -lcrypto -lcom_err
+LIBPAM+= ${LIBKRB}
+MINUSLPAM+= -lkrb
+.endif
+.ifdef MAKE_KERBEROS5
+LIBPAM+= ${LIBKRB5} ${LIBASN1}
+MINUSLPAM+= -lkrb5 -lasn1 -L${.OBJDIR}/../../kerberos5/lib/libroken/ -lroken
+.endif
+LIBPAM+= ${LIBCRYPTO} ${LIBCOM_ERR}
+MINUSLPAM+= -lcom_err
.endif
LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBSKEY} ${LIBCRYPT} ${LIBMD} \
${LIBUTIL} ${LIBOPIE} ${LIBCRYPTO}
MINUSLPAM+= -lradius -ltacplus -lskey -lcrypt -lmd -lutil -lopie \
- -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto
+ -lcrypto
.endif
LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
OpenPOWER on IntegriCloud