summaryrefslogtreecommitdiffstats
path: root/secure/libexec
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-10-07 19:47:09 +0000
committermarkm <markm@FreeBSD.org>1999-10-07 19:47:09 +0000
commite22fcdae42a8377fd03093fb75eb19694507a055 (patch)
tree29229b1840e80b5380745070efc7d2f6db9abd89 /secure/libexec
parenta6c74e1cc3763a132f455e6c6ae55205e60f9ecf (diff)
downloadFreeBSD-src-e22fcdae42a8377fd03093fb75eb19694507a055.zip
FreeBSD-src-e22fcdae42a8377fd03093fb75eb19694507a055.tar.gz
Make telnet with SRA work.
Submitted by: Nick Sayer
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 0000000..5c5b450
--- /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 0000000..4adbbf5
--- /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 0000000..230e4e7
--- /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
OpenPOWER on IntegriCloud