Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/telnetd We need authentication || encryption even wh...



details:   https://anonhg.NetBSD.org/src/rev/b71b06e5fbc5
branches:  trunk
changeset: 359449:b71b06e5fbc5
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 10 19:34:34 2018 +0000

description:
We need authentication || encryption even when we are not building
kerberos. They are needed for telnet_net_write() which is used in libtelnet.

diffstat:

 libexec/telnetd/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 54471807d9db -r b71b06e5fbc5 libexec/telnetd/Makefile
--- a/libexec/telnetd/Makefile  Sat Feb 10 16:16:28 2018 +0000
+++ b/libexec/telnetd/Makefile  Sat Feb 10 19:34:34 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.51 2017/05/21 15:28:41 riastradh Exp $
+#      $NetBSD: Makefile,v 1.52 2018/02/10 19:34:34 christos Exp $
 #      from: @(#)Makefile      8.2 (Berkeley) 12/15/93
 
 WARNS?=        4               # XXX: const issues in sys_term.c
@@ -21,11 +21,12 @@
 LIBTELNETDIR!= cd ${.CURDIR}/../../lib/libtelnet; ${PRINTOBJDIR}
 
 .if (${USE_KERBEROS} != "no")
-CPPFLAGS+=-DKRB5 -DAUTHENTICATION -DENCRYPTION
+CPPFLAGS+=-DKRB5
 LDADD+= -lkrb5 -lasn1 -lcom_err -lroken -lsqlite3
 DPADD+=        ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} ${LIBSQLITE3}
 .endif
 
+CPPFLAGS+=-DAUTHENTICATION -DENCRYPTION
 LDADD+=-ldes -lcrypto -lcrypt
 DPADD+=${LIBDES} ${LIBCRYPTO} ${LIBCRYPT}
 



Home | Main Index | Thread Index | Old Index