add krb4 libraries
This commit is contained in:
parent
9b8f90ce35
commit
515d0f1f97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88029
@ -8,6 +8,10 @@ NOPIC= yes
|
|||||||
|
|
||||||
SRCS= genget.c getent.c misc.c encrypt.c auth.c \
|
SRCS= genget.c getent.c misc.c encrypt.c auth.c \
|
||||||
enc_des.c sra.c pk.c
|
enc_des.c sra.c pk.c
|
||||||
|
.if defined(MAKE_KERBEROS4)
|
||||||
|
SRCS+= kerberos.c
|
||||||
|
CFLAGS+= -DKRB4 -I${KRB4DIR}/lib/krb
|
||||||
|
.endif
|
||||||
SRCS+= kerberos5.c
|
SRCS+= kerberos5.c
|
||||||
|
|
||||||
#WARNS?= 2
|
#WARNS?= 2
|
||||||
|
@ -16,10 +16,18 @@ CFLAGS+= -DKRB5
|
|||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
|
|
||||||
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
|
DPADD=
|
||||||
|
LDADD=
|
||||||
|
|
||||||
|
.if defined(MAKE_KERBEROS4)
|
||||||
|
DPADD+= ${LIBKRB} ${LIBCOM_ERR}
|
||||||
|
LDADD+= -lkrb -lcom_err
|
||||||
|
.endif
|
||||||
|
|
||||||
|
DPADD+= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
|
||||||
${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} \
|
${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} \
|
||||||
${LIBCRYPT} ${LIBPAM}
|
${LIBCRYPT} ${LIBPAM}
|
||||||
LDADD= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
|
LDADD+= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
|
||||||
-L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 \
|
-L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 \
|
||||||
-L${ROKENOBJDIR} -lroken -lcom_err \
|
-L${ROKENOBJDIR} -lroken -lcom_err \
|
||||||
-lcrypt ${MINUSLPAM}
|
-lcrypt ${MINUSLPAM}
|
||||||
|
@ -13,10 +13,18 @@ CFLAGS+= -DKRB5
|
|||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
|
|
||||||
DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \
|
DPADD=
|
||||||
|
LDADD=
|
||||||
|
|
||||||
|
.if defined(MAKE_KERBEROS4)
|
||||||
|
DPADD+= ${LIBKRB} ${LIBCOM_ERR}
|
||||||
|
LDADD+= -lkrb -lcom_err
|
||||||
|
.endif
|
||||||
|
|
||||||
|
DPADD+= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \
|
||||||
${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} \
|
${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} \
|
||||||
${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
|
${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
|
||||||
LDADD= -ltermcap ${LIBTELNET} -lmp \
|
LDADD+= -ltermcap ${LIBTELNET} -lmp \
|
||||||
-L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 -lcom_err \
|
-L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 -lcom_err \
|
||||||
-L${ROKENOBJDIR} -lroken \
|
-L${ROKENOBJDIR} -lroken \
|
||||||
-lcrypto -lcrypt -lipsec ${MINUSLPAM}
|
-lcrypto -lcrypt -lipsec ${MINUSLPAM}
|
||||||
|
Loading…
Reference in New Issue
Block a user