head	1.28;
access;
symbols
	RELENG_4_11_0_RELEASE:1.19.2.4
	RELENG_4_11:1.19.2.4.0.10
	RELENG_4_11_BP:1.19.2.4
	RELENG_4_10_0_RELEASE:1.19.2.4
	RELENG_4_10:1.19.2.4.0.8
	RELENG_4_10_BP:1.19.2.4
	RELENG_4_9_0_RELEASE:1.19.2.4
	RELENG_4_9:1.19.2.4.0.6
	RELENG_4_9_BP:1.19.2.4
	RELENG_5_1_0_RELEASE:1.27
	RELENG_5_1:1.27.0.4
	RELENG_5_1_BP:1.27
	RELENG_4_8_0_RELEASE:1.19.2.4
	RELENG_4_8:1.19.2.4.0.4
	RELENG_4_8_BP:1.19.2.4
	RELENG_5_0_0_RELEASE:1.27
	RELENG_5_0:1.27.0.2
	RELENG_5_0_BP:1.27
	RELENG_4_7_0_RELEASE:1.19.2.4
	RELENG_4_7:1.19.2.4.0.2
	RELENG_4_7_BP:1.19.2.4
	RELENG_4_6_2_RELEASE:1.19.2.2
	RELENG_4_6_1_RELEASE:1.19.2.2
	RELENG_4_6_0_RELEASE:1.19.2.2
	RELENG_4_6:1.19.2.2.0.2
	RELENG_4_6_BP:1.19.2.2
	RELENG_4_5_0_RELEASE:1.19.2.1
	RELENG_4_5:1.19.2.1.0.4
	RELENG_4_5_BP:1.19.2.1
	RELENG_4_4_0_RELEASE:1.19.2.1
	RELENG_4_4:1.19.2.1.0.2
	RELENG_4_4_BP:1.19.2.1
	RELENG_4_3_0_RELEASE:1.19
	RELENG_4_3:1.19.0.4
	RELENG_4_3_BP:1.19
	RELENG_4_2_0_RELEASE:1.19
	RELENG_4_1_1_RELEASE:1.19
	PRE_SMPNG:1.20
	RELENG_4_1_0_RELEASE:1.19
	RELENG_4_0_0_RELEASE:1.19
	RELENG_4:1.19.0.2
	RELENG_4_BP:1.19
	RELENG_2_2_8_RELEASE:1.13.2.1
	RELENG_2_2_7_RELEASE:1.13.2.1
	RELENG_2_2_6_RELEASE:1.13.2.1
	RELENG_2_2_5_RELEASE:1.13.2.1
	RELENG_2_2_2_RELEASE:1.13.2.1
	RELENG_2_2_1_RELEASE:1.13.2.1
	RELENG_2_1_7_RELEASE:1.2.6.6
	RELENG_2_1_6_1_RELEASE:1.2.6.6
	RELENG_2_1_6_RELEASE:1.2.6.6
	RELENG_2_2:1.13.0.2
	RELENG_2_2_BP:1.13
	RELENG_2_1_5_RELEASE:1.2.6.6
	RELENG_2_1_0_RELEASE:1.2.6.4
	RELENG_2_1_0:1.2.0.6
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.4
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2
	BSD4_4Lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.28
date	2003.07.16.20.59.15;	author markm;	state dead;
branches;
next	1.27;

1.27
date	2002.02.06.11.07.55;	author kris;	state Exp;
branches;
next	1.26;

1.26
date	2001.11.30.21.10.58;	author markm;	state Exp;
branches;
next	1.25;

1.25
date	2001.07.30.14.36.18;	author bde;	state Exp;
branches;
next	1.24;

1.24
date	2001.05.09.14.23.54;	author bde;	state Exp;
branches;
next	1.23;

1.23
date	2001.05.07.20.38.39;	author nsayer;	state Exp;
branches;
next	1.22;

1.22
date	2001.03.28.12.08.19;	author ru;	state Exp;
branches;
next	1.21;

1.21
date	2001.03.26.14.53.26;	author ru;	state Exp;
branches;
next	1.20;

1.20
date	2000.07.16.05.52.58;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	2000.02.24.18.59.32;	author markm;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2000.01.27.09.28.25;	author shin;	state Exp;
branches;
next	1.17;

1.17
date	99.12.18.16.42.33;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	99.12.17.11.45.26;	author marcel;	state Exp;
branches;
next	1.15;

1.15
date	99.10.07.19.47.07;	author markm;	state Exp;
branches;
next	1.14;

1.14
date	96.11.07.14.42.29;	author markm;	state dead;
branches;
next	1.13;

1.13
date	96.03.11.16.17.53;	author markm;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	96.03.09.13.39.00;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	95.10.11.00.04.05;	author gibbs;	state Exp;
branches;
next	1.10;

1.10
date	95.09.16.03.04.05;	author gibbs;	state Exp;
branches;
next	1.9;

1.9
date	95.09.14.21.29.15;	author gibbs;	state Exp;
branches;
next	1.8;

1.8
date	95.08.28.17.55.05;	author pst;	state Exp;
branches;
next	1.7;

1.7
date	95.08.05.19.10.24;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	95.07.24.22.55.51;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	95.07.24.21.59.48;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	95.07.24.21.46.33;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	95.07.20.11.39.33;	author pst;	state Exp;
branches;
next	1.2;

1.2
date	94.09.11.21.53.28;	author rgrimes;	state Exp;
branches
	1.2.6.1;
next	1.1;

1.1
date	94.08.12.22.53.44;	author csgr;	state Exp;
branches
	1.1.1.1;
next	;

1.19.2.1
date	2001.05.30.20.46.47;	author nsayer;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	2002.04.13.11.00.49;	author markm;	state Exp;
branches;
next	1.19.2.3;

1.19.2.3
date	2002.07.03.22.13.23;	author des;	state Exp;
branches;
next	1.19.2.4;

1.19.2.4
date	2002.07.03.22.20.25;	author des;	state Exp;
branches;
next	1.19.2.5;

1.19.2.5
date	2012.11.17.07.24.38;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	96.11.13.20.29.07;	author phk;	state dead;
branches;
next	;

1.2.6.1
date	95.09.15.18.19.01;	author gibbs;	state Exp;
branches;
next	1.2.6.2;

1.2.6.2
date	95.09.16.03.13.33;	author gibbs;	state Exp;
branches;
next	1.2.6.3;

1.2.6.3
date	95.10.11.00.12.14;	author gibbs;	state Exp;
branches;
next	1.2.6.4;

1.2.6.4
date	95.10.29.06.55.01;	author davidg;	state Exp;
branches;
next	1.2.6.5;

1.2.6.5
date	96.06.21.17.29.06;	author markm;	state Exp;
branches;
next	1.2.6.6;

1.2.6.6
date	96.06.30.12.50.55;	author markm;	state Exp;
branches;
next	1.2.6.7;

1.2.6.7
date	99.09.05.11.51.46;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.08.12.22.53.45;	author csgr;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Very big makeover in the way telnet, telnetd and libtelnet are built.

Previously, there were two copies of telnet; a non-crypto version
that lived in the usual places, and a crypto version that lived in
crypto/telnet/. The latter was built in a broken manner somewhat akin
to other "contribified" sources. This meant that there were 4 telnets
competing with each other at build time - KerberosIV, Kerberos5,
plain-old-secure and base. KerberosIV is no longer in the running, but
the other three took it in turns to jump all over each other during a
"make buildworld".

As the crypto issue has been clarified, and crypto _calls_ are not
a problem, crypto/telnet has been repo-copied to contrib/telnet,
and with this commit, all telnets are now "contribified". The contrib
path was chosen to not destroy history in the repository, and differs
from other contrib/ entries in that it may be worked on as "normal"
BSD code. There is no dangerous crypto in these sources, only a
very weak system less strong than enigma(1).

Kerberos5 telnet and Secure telnet are now selected by using the usual
macros in /etc/make.conf, and the build process is unsurprising and
less treacherous.
@
text
@# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.27 2002/02/06 11:07:55 kris Exp $

# Do not define -DKLUDGELINEMODE, as it does not interact well with many
# telnet implementations.

PROG=		telnetd
MAN=		telnetd.8

SRCS=		global.c slc.c state.c sys_term.c telnetd.c \
		termstat.c utility.c authenc.c

CFLAGS+=	-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
		-DENV_HACK -DAUTHENTICATION -DENCRYPTION \
		-I${TELNETDIR} -DINET6

WARNS?=		2
WFORMAT?=	0

DPADD=		${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
		${LIBCRYPT} ${LIBPAM}
LDADD=		-lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
		-lcrypt ${MINUSLPAM}

.include <bsd.prog.mk>

.PATH:	${TELNETDIR}/telnetd
@


1.27
log
@Set WFORMAT=0, overlooked in previous commits to libexec/.

Reported by:	jhay
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.26
log
@Clean up makefiles, and turn on WARNS=2. Take into account the telnet
#if cleanup.
@
text
@d17 1
@


1.25
log
@Fixed world breakage when NOSHARED=yes.  libmp now depends on libcrypto,
so it must be linked before libcrypto to work right.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.24 2001/05/09 14:23:54 bde Exp $
d9 3
d16 1
a16 2
SRCS=		global.c slc.c state.c sys_term.c telnetd.c \
		termstat.c utility.c authenc.c
@


1.24
log
@Fixed world breakage in previous commit.  -lpam must never be used
directly (except in the definition of MINUSLPAM in bsd.libnames.mk)
since it doesn't give all the lbraries necessary for static linkage.

Fixed new and old bugs in DPADD.  ${LIBPAM} was missing, and the
library order was different from that in LDADD so `make checkdpadd'
reported a non-bug.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.23 2001/05/07 20:38:39 nsayer Exp $
d16 4
a19 4
DPADD=		${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} \
		${LIBCRYPT} ${LIBMP} ${LIBPAM}
LDADD=		-lutil -ltermcap ${LIBTELNET} -lcrypto \
		-lcrypt -lmp ${MINUSLPAM}
@


1.23
log
@Add PAM support to SRA authentication. Cribbed mostly from ftpd. This
doesn't solve the problem of root being allowed to log in, but that sort
of thing is something PAM should be doing anyway.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.22 2001/03/28 12:08:19 ru Exp $
d16 4
a19 3
DPADD=		${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} ${LIBMP} \
                ${LIBCRYPT}
LDADD=		-lutil -ltermcap ${LIBTELNET} -lcrypto -lcrypt -lmp -lpam
@


1.22
log
@Bye-bye /usr/lib/libtelnet.a.  This should fix ``make release'' brokeness.

Approved by:	markm
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.21 2001/03/26 14:53:26 ru Exp $
d18 1
a18 1
LDADD=		-lutil -ltermcap ${LIBTELNET} -lcrypto -lcrypt -lmp
@


1.21
log
@secure/ build fixes:

- TELNETOBJDIR is gone.  `buildworld' already installs libtelnet.a
  in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there.

- SSHDIR (formerly SSHSRC) is now shared between all SSH modules.
  New LIBSSH is introduced for libssh.a (an internal static lib).
  Previously, build without prior `obj' was broken; SSH modules
  always looked for libssh.a in ${.OBJDIR}.  Also, the dependancies
  on the libssh.a were missing.

- libtelnet/ did not install the crypto version of telnet.h into
  /usr/include/arpa.

- Removed BINOWN, BINMODE, BINDIR and SRCS with default values.

Reviewed by:	markm

- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.20 2000/07/16 05:52:58 peter Exp $
d18 1
a18 1
LDADD=		-lutil -ltermcap -ltelnet -lcrypto -lcrypt -lmp
@


1.20
log
@Forced commit.  This is to try and help folks that used the international
crypto repo and have slightly different files but with the same version.
cvsup in 'checkout mode' has no trouble with this, but cvs can get really
silly about it.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.19 2000/02/24 18:59:32 markm Exp $
d7 1
a7 1
MAN8=		telnetd.8
d18 1
a18 1
LDADD=		-lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -lcrypto -lcrypt -lmp
@


1.19
log
@Build everything properly. This means:

o Don't b uild libdes.

o Crypto is now housed in libcrypto (with a compatability symlink to
  libdes)

o RSA may depend on RSAREF at your locale.

o OpenSSH is now a part of the base system.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.19.2.1
log
@MFC: Security fixes to SRA telnet:

1. Add PAM support to SRA. Includes adding telnetd to /etc/pam.conf and
-lpam to the secure telnetd/telnet Makefiles.

2. Insist on secure tty before allowing root login. This should be
replaced with a suitable PAM module at some point.

3. Make sure not to overflow the xuser/xpass buffers. Since they were
malloc()ed (check for malloc failure and abort, too, btw) this was
likely not exploitable, but it is best to be safe.

Submitted by: kris
Review timeout: security-officer
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.19 2000/02/24 18:59:32 markm Exp $
d18 1
a18 2
LDADD=		-lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -lcrypto -lcrypt
LDADD+=		-lmp -lpam
@


1.19.2.2
log
@MFC: Merge infrastucture for cleaned-up secure telnet.
@
text
@d1 1
a1 1
# $FreeBSD$
d7 1
a7 4
MAN=		telnetd.8

SRCS=		global.c slc.c state.c sys_term.c telnetd.c \
		termstat.c utility.c authenc.c
d13 2
a14 2
WARNS?=		2
WFORMAT?=	0
d16 4
a19 4
DPADD=		${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
		${LIBCRYPT} ${LIBPAM}
LDADD=		-lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
		-lcrypt ${MINUSLPAM}
@


1.19.2.3
log
@Update Makefiles for OpenSSH 3.4p1.  Remove some hacks made superfluous
by an earlier commit to src/Makefile.inc1.  Reduce diffs against -CURRENT.

Sponsored by:	DARPA, NAI Labs
@
text
@d21 1
a21 1
LDADD+=		-lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
@


1.19.2.4
log
@More diff reduction.
@
text
@d21 1
a21 1
LDADD=		-lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
@


1.19.2.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/secure/libexec/telnetd/Makefile 99394 2002-07-03 22:20:33Z des $
@


1.18
log
@another tcp apps IPv6 updates.(should be make world safe)
  ftp, telnet, ftpd, faithd
  also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project
@
text
@d1 1
a1 1
#       $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.17 1999/12/18 16:42:33 peter Exp $
d16 1
a16 1
DPADD=		${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBDES} ${LIBMP} \
d18 1
a18 1
LDADD=		-lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes -lcrypt -lmp
@


1.17
log
@Revert -lmd changes now that libcrypt doesn't expose this binutils/ld
bug any more.
@
text
@d1 1
a1 1
#       $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.16 1999/12/17 11:45:26 marcel Exp $
d11 1
a11 1
		-I${TELNETDIR}
@


1.16
log
@Add libmd to DPADD and LDADD.
@
text
@d1 1
a1 1
#       $FreeBSD: src/secure/libexec/telnetd/Makefile,v 1.15 1999/10/07 19:47:07 markm Exp $
d17 2
a18 3
                ${LIBCRYPT} ${LIBMD}
LDADD=		-lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes -lcrypt \
		-lmp -lmd
@


1.15
log
@Make telnet with SRA work.

Submitted by:	Nick Sayer
@
text
@d1 1
a1 1
#       $FreeBSD$
d17 3
a19 2
                ${LIBCRYPT}
LDADD=		-lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes -lcrypt -lmp
@


1.14
log
@Secure telnet is now in eBones.
@
text
@d1 1
a1 2
#	@@(#)Makefile	8.2 (Berkeley) 12/15/93
#	$Id: Makefile,v 1.13 1996/03/11 16:17:53 markm Exp markm $
d6 2
a7 2
PROG=	telnetd
MAN8=	telnetd.8
d9 10
a18 2
SRCS=	authenc.c global.c slc.c state.c sys_term.c telnetd.c \
	termstat.c utility.c
d20 1
a20 11
DPADD=	${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP}
LDADD=	-L${TELNETOBJDIR} -lutil -ltermcap -ltelnet

CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
CFLAGS+= -DENCRYPTION -I${.CURDIR}/../../lib

.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES))
CFLAGS+=-DAUTHENTICATION
LDADD+= -ldes -lkrb
DPADD+= ${LIBDES} ${LIBKRB}
.endif
d22 1
a22 4
# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
#LDADD+= -ldescrypt

.include <bsd.prog.mk>
@


1.13
log
@Big clean-up job. Remove ancient and never-to-be used stuff.
The look much more like BSD Makefiles now.
@
text
@d2 1
a2 1
#	$Id$
@


1.13.2.1
log
@YAMFC
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.13 1996/03/11 16:17:53 markm Exp $
@


1.12
log
@Sense MAKE_EBONES, DESTDIR
SRCS, DPADD cleanup
@
text
@d2 1
d16 2
a17 2
CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
d19 1
a19 6
#ifdef	ENCRYPTION

CFLAGS += -DENCRYPTION

.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \
	|| defined(MAKE_KERBEROS))
a24 7
#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \
#        || defined(MAKE_KERBEROS))
#CFLAGS+=-DAUTHENTICATION
#LDADD+= -ldes -lkrb5
#DPADD+= ${LIBDES}
#.endif

a27 7
#endif	/* ENCRYPTION */

# These are the sources that have encryption stuff in them.
CRYPT_SRC= authenc.c ext.h state.c telnetd.c termstat.c
CRYPT_SRC+= utility.c Makefile
NOCRYPT_DIR=${.CURDIR}/Nocrypt

a28 17

nocrypt:
#ifdef	ENCRYPTION
	@@for i in ${CRYPT_SRC}; do \
	    if [ ! -d ${NOCRYPT_DIR} ]; then \
		echo Creating subdirectory ${NOCRYPT_DIR}; \
		mkdir ${NOCRYPT_DIR}; \
	    fi; \
	    echo ${NOCRYPT_DIR}/$$i; \
	    unifdef -UENCRYPTION ${.CURDIR}/$$i | \
		sed "s/ || defined(ENCRYPTION)//" > ${NOCRYPT_DIR}/$$i; \
	done

placeholder:
#else	/* ENCRYPTION */
	@@echo "Encryption code already removed."
#endif	/* ENCRYPTION */
@


1.11
log
@Remove MAKE_EBONES conditionals.  They were originally placed here because
of missing functionality in our libkrb which is no longer a problem.
@
text
@d20 1
a20 1
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
d22 3
a24 1
.if exists(/usr/lib/libkrb.a)
d26 1
d29 6
a34 3
.if exists(/usr/lib/libkrb5.a)
LDADD+= -ldes -lkrb5
.endif
@


1.10
log
@Add TELNETOBJDIR and CRYPTOBJDIR for use in LDADD entries.  This makes
secure reference the libraries that were just build instead of in /usr/lib.
@
text
@a21 1
.ifdef MAKE_EBONES
a23 1
.endif
@


1.9
log
@Enable kerberosIV authentication/encryption conditionalized on MAKE_EBONES.
@
text
@d12 2
a13 2
DPADD=	${LIBUTIL} ${LIBTERMCAP}
LDADD=	-lutil -ltermcap -ltelnet
@


1.8
log
@Do NOT compile with -DKLUDGELINEMODE...hoses many telnet clients
@
text
@a2 4
# This stuff need original libdes to run (new_rnd_key.c module),
# current eBones/des lib don't have it
# Kerberos4 stuff ifdefed by MAKE_KERBEROS (make.conf) because of it

d22 1
a22 1
.ifdef MAKE_KERBEROS
@


1.7
log
@Comment out LDADD+=-ldescrypt, it is not yet active due to
missng defines for krb4encpwd and rsaencpwd and missing rsa library too.
@
text
@d7 3
d11 2
a12 3
CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
CFLAGS+=-DOLD_ENVIRON -DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
d15 1
d19 2
a20 1
MAN8=	telnetd.8
@


1.6
log
@Final cleanup pass through Makefiles, now this stuff
autodetect kerberos/eBones and work even with eBones,
but with reduced functionality (don't pick up des/krb stuff
in this case)
@
text
@d32 2
a33 1
LDADD+= -ldescrypt
@


1.5
log
@Add -ldescrypt, or wrong crypt version can be picked from libc
Reviewed by:
Submitted by:
Obtained from:
@
text
@a20 1
LDADD+= -ldescrypt
d24 2
a25 1
LDADD+=	-lkrb -ldes
d27 3
d31 2
@


1.4
log
@Since this stuff not works with eBones, ifdef kerberos stuff
with MAKE_KERBEROS to allow other things to live
Reviewed by:
Submitted by:
Obtained from:
@
text
@d21 1
@


1.3
log
@Update telnet to the 95.05.31 release.

Obtained from:	Dave Borman <dab@@cray.com>
@
text
@d3 4
d22 1
d25 1
@


1.2
log
@Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
@
text
@a6 1
#CFLAGS+=-DAUTHENTICATION -DENCRYPTION
d11 1
a11 1
#LDADD+=	-lkrb -ldes
d13 10
@


1.2.6.1
log
@Merge with HEAD.  Brings in new secure telnet suite + eBones fixes.
@
text
@a2 3
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
# telnet implementations.

d4 4
a7 2
MAN8=	telnetd.8

a9 1

d12 2
a13 22

CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib

#ifdef	ENCRYPTION

CFLAGS+=-DAUTHENTICATION -DENCRYPTION

.ifdef MAKE_EBONES
.if exists(/usr/lib/libkrb.a)
LDADD+= -ldes -lkrb
.endif
.endif

.if exists(/usr/lib/libkrb5.a)
LDADD+= -ldes -lkrb5
.endif

# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
#LDADD+= -ldescrypt

#endif	/* ENCRYPTION */
@


1.2.6.2
log
@Merge with Head:
Add TELNETOBJDIR and CRYPTOBJDIR for use in LDADD entries.  This makes
secure reference the libraries that were just built instead of in /usr/lib.
@
text
@d12 2
a13 2
DPADD=	${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP}
LDADD=	-L${TELNETOBJDIR} -lutil -ltermcap -ltelnet
@


1.2.6.3
log
@Remove MAKE_EBONES conditionals.  Besides being wrong, this was what screwed
up secure telnet in the previous snapshots.
@
text
@d22 1
d25 1
@


1.2.6.4
log
@Put telnet, telnetd, and libtelnet in the krb distribution where they
belong. They should be actually moved in the source tree to be under
eBones, but I don't want to mess with that now. This should hopefully
fix the main problem people were having when they selected the "des"
distribution and not krb, but got the Kerberos version of telnet and
friends as a side effect.

Submitted by:	Justin Gibbs <gibbs>
@
text
@a7 1
DISTRIBUTION= krb
@


1.2.6.5
log
@Merge with HEAD
@
text
@a1 1
#	$Id$
d8 1
d16 2
a17 2
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
CFLAGS+= -DENCRYPTION -I${.CURDIR}/../../lib
d19 5
a23 2
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES))
CFLAGS+=-DAUTHENTICATION
d25 4
a28 1
DPADD+= ${LIBDES} ${LIBKRB}
d34 7
d42 17
@


1.2.6.6
log
@Make telnet part of the krb distribution
@
text
@a6 2
DISTRIBUTION=	krb

@


1.2.6.7
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
DPADD=	${LIBUTIL} ${LIBTERM}
@


1.1.1.1
log
@Move the telnetd with encryption to src/secure
This needs tidying up and having makefiles sorted out later.
Reviewed by:	Geoff Rehmet
@
text
@@
