Page MenuHomeFreeBSD

D50785.id157080.diff
No OneTemporary

D50785.id157080.diff

diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile
--- a/lib/libtelnet/Makefile
+++ b/lib/libtelnet/Makefile
@@ -19,7 +19,8 @@
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
.endif
-.if ${MK_KERBEROS_SUPPORT} != "no"
+.if ${MK_KERBEROS_SUPPORT} != "no" && ${MK_MITKRB5} != "yes"
+# MIT KRB5 deprecated and removed 3DES. Therefore no telnet support.
SRCS+= kerberos5.c
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
.endif
diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile
--- a/usr.bin/telnet/Makefile
+++ b/usr.bin/telnet/Makefile
@@ -30,7 +30,8 @@
LIBADD+= mp crypto ipsec pam
.endif
-.if ${MK_KERBEROS_SUPPORT} != "no"
+.if ${MK_KERBEROS_SUPPORT} != "no" && ${MK_MITKRB5} != "yes"
+# MIT KRB5 deprecated and removed 3DES. Therefore no telnet support.
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
LIBADD+= krb5 roken
.endif

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 23, 11:19 PM (2 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24107373
Default Alt Text
D50785.id157080.diff (878 B)

Event Timeline