aboutsummaryrefslogtreecommitdiff
path: root/secure/libexec
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1999-10-07 19:47:09 +0000
committerMark Murray <markm@FreeBSD.org>1999-10-07 19:47:09 +0000
commitd14fc57cb7bc329a1510b2b84836a7942f4b9308 (patch)
treeff278696bb59004ab271c28cd32ca54383d97d4f /secure/libexec
parentf3e63a297725ac5bd2409b66b2487544545e1be0 (diff)
downloadsrc-d14fc57cb7bc329a1510b2b84836a7942f4b9308.tar.gz
src-d14fc57cb7bc329a1510b2b84836a7942f4b9308.zip
Make telnet with SRA work.
Submitted by: Nick Sayer
Notes
Notes: svn path=/head/; revision=51993
Diffstat (limited to 'secure/libexec')
-rw-r--r--secure/libexec/Makefile6
-rw-r--r--secure/libexec/Makefile.inc4
-rw-r--r--secure/libexec/telnetd/Makefile22
3 files changed, 32 insertions, 0 deletions
diff --git a/secure/libexec/Makefile b/secure/libexec/Makefile
new file mode 100644
index 000000000000..5c5b4505e6a8
--- /dev/null
+++ b/secure/libexec/Makefile
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+SUBDIR= telnetd
+
+.include <bsd.subdir.mk>
+
diff --git a/secure/libexec/Makefile.inc b/secure/libexec/Makefile.inc
new file mode 100644
index 000000000000..4adbbf530d15
--- /dev/null
+++ b/secure/libexec/Makefile.inc
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+BINDIR= /usr/libexec
+.include "${.CURDIR}/../../Makefile.inc"
diff --git a/secure/libexec/telnetd/Makefile b/secure/libexec/telnetd/Makefile
new file mode 100644
index 000000000000..230e4e79bf53
--- /dev/null
+++ b/secure/libexec/telnetd/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+# Do not define -DKLUDGELINEMODE, as it does not interact well with many
+# telnet implementations.
+
+PROG= telnetd
+MAN8= telnetd.8
+
+CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
+ -DENV_HACK -DAUTHENTICATION -DENCRYPTION \
+ -I${TELNETDIR}
+
+SRCS= global.c slc.c state.c sys_term.c telnetd.c \
+ termstat.c utility.c authenc.c
+
+DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBDES} ${LIBMP} \
+ ${LIBCRYPT}
+LDADD= -lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes -lcrypt -lmp
+
+.include <bsd.prog.mk>
+
+.PATH: ${TELNETDIR}/telnetd