summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Holmberg <mho@cvs.openbsd.org>2003-05-14 06:47:50 +0000
committerMagnus Holmberg <mho@cvs.openbsd.org>2003-05-14 06:47:50 +0000
commit0c11045b6e75206ad60907001f722b34813f33b7 (patch)
tree0df9d6ac535d2641738de85e79176b34822b657b
parente125ede3d9f093a4a882fbb9826665a9029f408b (diff)
Remove krb4 support.
-rw-r--r--libexec/telnetd/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index b9a8443ef2e..d8bea3a31a3 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.18 2003/05/14 01:46:51 hin Exp $
+# $OpenBSD: Makefile,v 1.19 2003/05/14 06:47:49 mho Exp $
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $NetBSD: Makefile,v 1.6 1996/02/24 01:22:12 jtk Exp $
@@ -17,16 +17,9 @@ MAN= telnetd.8
.include <bsd.own.mk> # for KERBEROS
.if (${KERBEROS5:L} == "yes")
-SRCS+= kerberos5.c enc_des.c
-LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkafs
-CFLAGS+= -DKRB5 -DAUTHENTICATION -DENCRYPTION -DDES_ENCRYPTION
-.endif
-
-.if (${KERBEROS:L} == "yes")
-CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 -DDES_ENCRYPTION
-LDADD+= -lkrb -lcrypto -ldes
-DPADD+= ${LIBDES} ${LIBKRB}
-SRCS+= kerberos.c
+CFLAGS+=-DENCRYPTION -DAUTHENTICATION -I${.CURDIR}/../../lib
+DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBDES} ${LIBCOM_ERR}
+LDADD+= -lkrb5 -lasn1 -lcrypto -ldes -lcom_err
.endif
.include <bsd.prog.mk>