Date: Wed, 28 Sep 2022 13:54:46 -0700 From: Xin LI <delphij@gmail.com> To: Brooks Davis <brooks@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 0eea46fb1f83 - main - Remove telnetd Message-ID: <CAGMYy3ujZiGZg=x5H_c4HmPbLCQJXJ2dk9ET1VOWqKhDLSLKEQ@mail.gmail.com> In-Reply-To: <202209281854.28SIsEXN074680@gitrepo.freebsd.org> References: <202209281854.28SIsEXN074680@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000484d1805e9c2f94a Content-Type: text/plain; charset="UTF-8" This removal is incomplete. Could you please also remove it from e.g. usr.sbin/inetd/inetd.conf, release/packages/Makefile.package, bsdbox, and mentions in various manual pages? On Wed, Sep 28, 2022 at 11:54 AM Brooks Davis <brooks@freebsd.org> wrote: > The branch main has been updated by brooks: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=0eea46fb1f83f6091df92b5f2eae993cd6c2c873 > > commit 0eea46fb1f83f6091df92b5f2eae993cd6c2c873 > Author: Brooks Davis <brooks@FreeBSD.org> > AuthorDate: 2022-09-28 18:53:10 +0000 > Commit: Brooks Davis <brooks@FreeBSD.org> > CommitDate: 2022-09-28 18:53:49 +0000 > > Remove telnetd > > The telnetd codebase is unmaintained and has a number of quality > issues. Telnet has been largely supplanted by ssh. If needed, a port is > available (net/freebsd-telnetd), but a more maintained implementation > should be prefered. > > While the telnet client suffers from the same issues, it is deemed > to be of lower risk and is required to connect to legacy devices, so > it remains. > > Reviewed by: emaste, imp > Differential Revision: https://reviews.freebsd.org/D36620 > --- > ObsoleteFiles.inc | 5 ++++ > lib/libpam/pam.d/Makefile | 6 ----- > lib/libpam/pam.d/telnetd | 26 ------------------ > libexec/Makefile | 5 ---- > libexec/telnetd/Makefile | 45 > -------------------------------- > libexec/telnetd/Makefile.depend | 25 ------------------ > libexec/telnetd/Makefile.depend.options | 6 ----- > tools/build/mk/OptionalObsoleteFiles.inc | 3 --- > 8 files changed, 5 insertions(+), 116 deletions(-) > > diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc > index 2056b4296a94..0a0c6dfb044a 100644 > --- a/ObsoleteFiles.inc > +++ b/ObsoleteFiles.inc > @@ -52,6 +52,11 @@ > # xargs -n1 | sort | uniq -d; > # done > > +# 20220928: telnetd(8) removed > +OLD_FILES+=etc/pam.d/telnetd > +OLD_FILES+=usr/libexec/telnetd > +OLD_FILES+=usr/share/man/man8/telnetd.8.gz > + > # 20220914: domain(9) updated > OLD_FILES+=usr/share/man/man9/domain_init.9.gz > OLD_FILES+=usr/share/man/man9/pfctlinput.9.gz > diff --git a/lib/libpam/pam.d/Makefile b/lib/libpam/pam.d/Makefile > index 1499f916cb17..da30a4682f53 100644 > --- a/lib/libpam/pam.d/Makefile > +++ b/lib/libpam/pam.d/Makefile > @@ -34,10 +34,4 @@ afterinstallconfig: > ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${CONFDIR}/ftpd > ${DESTDIR}${CONFDIR}/ftp > .endif > > -.if ${MK_TELNET} != "no" > -CONFGROUPS+= TELNET > -TELNET+= telnetd > -TELNETPACKAGE= telnet > -.endif > - > .include <bsd.prog.mk> > diff --git a/lib/libpam/pam.d/telnetd b/lib/libpam/pam.d/telnetd > deleted file mode 100644 > index fb2f523d4ad1..000000000000 > --- a/lib/libpam/pam.d/telnetd > +++ /dev/null > @@ -1,26 +0,0 @@ > -# > -# $FreeBSD$ > -# > -# PAM configuration for the "telnetd" service > -# > - > -# auth > -auth sufficient pam_opie.so no_warn > no_fake_prompts > -auth requisite pam_opieaccess.so no_warn allow_local > -#auth sufficient pam_krb5.so no_warn > try_first_pass > -#auth sufficient pam_ssh.so no_warn > try_first_pass > -auth required pam_unix.so no_warn > try_first_pass > - > -# account > -account required pam_nologin.so > -#account required pam_krb5.so > -account required pam_login_access.so > -account required pam_unix.so > - > -# session > -#session optional pam_ssh.so want_agent > -session required pam_lastlog.so no_fail > - > -# password > -#password sufficient pam_krb5.so no_warn > try_first_pass > -password required pam_unix.so no_warn > try_first_pass > diff --git a/libexec/Makefile b/libexec/Makefile > index 1b41ae81565c..8d7565fe3ee5 100644 > --- a/libexec/Makefile > +++ b/libexec/Makefile > @@ -27,7 +27,6 @@ SUBDIR= ${_atf} \ > ${_rtld-elf} \ > save-entropy \ > ${_smrsh} \ > - ${_telnetd} \ > ${_tests} \ > ${_tftp-proxy} \ > ulog-helper \ > @@ -104,10 +103,6 @@ SUBDIR+= talkd > SUBDIR+= tcpd > .endif > > -.if ${MK_TELNET} != "no" > -_telnetd= telnetd > -.endif > - > .if ${MK_TFTP} != "no" > SUBDIR+= tftpd > .endif > diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile > deleted file mode 100644 > index 09136d360a71..000000000000 > --- a/libexec/telnetd/Makefile > +++ /dev/null > @@ -1,45 +0,0 @@ > -# $FreeBSD$ > - > -# Do not define -DKLUDGELINEMODE, as it does not interact well with many > -# telnet implementations. > - > -.include <src.opts.mk> > - > -PACKAGE= telnet > - > -TELNETDIR= ${SRCTOP}/contrib/telnet > -.PATH: ${TELNETDIR}/telnetd > - > -PROG= telnetd > -MAN= telnetd.8 > - > -SRCS= global.c slc.c state.c sys_term.c telnetd.c \ > - termstat.c utility.c > - > -WARNS?= 2 > -WFORMAT?= 0 > - > -CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \ > - -DENV_HACK -DSTREAMSPTY > - > -.if ${MK_INET6_SUPPORT} != "no" > -CFLAGS+= -DINET6 > -.endif > - > -CFLAGS+= -I${TELNETDIR} > -CFLAGS+= -I${TELNETDIR}/telnet > - > -LIBADD= telnet util tinfow > - > -.if ${MK_OPENSSL} != "no" > -SRCS+= authenc.c > -CFLAGS+= -DAUTHENTICATION -DENCRYPTION > -LIBADD+= mp crypto pam > -.endif > - > -.if ${MK_KERBEROS_SUPPORT} != "no" > -CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write > -LIBADD+= krb5 roken > -.endif > - > -.include <bsd.prog.mk> > diff --git a/libexec/telnetd/Makefile.depend > b/libexec/telnetd/Makefile.depend > deleted file mode 100644 > index 60b7e4479a3f..000000000000 > --- a/libexec/telnetd/Makefile.depend > +++ /dev/null > @@ -1,25 +0,0 @@ > -# $FreeBSD$ > -# Autogenerated - do NOT edit! > - > -DIRDEPS = \ > - include \ > - include/arpa \ > - include/xlocale \ > - lib/${CSU_DIR} \ > - lib/libc \ > - lib/libcom_err \ > - lib/libcompiler_rt \ > - lib/libcrypt \ > - lib/libmp \ > - lib/libpam/libpam \ > - lib/libtelnet \ > - lib/libthr \ > - lib/libutil \ > - lib/ncurses/ncursesw \ > - > - > -.include <dirdeps.mk> > - > -.if ${DEP_RELDIR} == ${_DEP_RELDIR} > -# local dependencies - needed for -jN in clean tree > -.endif > diff --git a/libexec/telnetd/Makefile.depend.options > b/libexec/telnetd/Makefile.depend.options > deleted file mode 100644 > index 4c4ba810c0e2..000000000000 > --- a/libexec/telnetd/Makefile.depend.options > +++ /dev/null > @@ -1,6 +0,0 @@ > -# $FreeBSD$ > -# This file is not autogenerated - take care! > - > -DIRDEPS_OPTIONS= KERBEROS_SUPPORT OPENSSL > - > -.include <dirdeps-options.mk> > diff --git a/tools/build/mk/OptionalObsoleteFiles.inc > b/tools/build/mk/OptionalObsoleteFiles.inc > index 1bcc0d2d80bc..4145859f21cd 100644 > --- a/tools/build/mk/OptionalObsoleteFiles.inc > +++ b/tools/build/mk/OptionalObsoleteFiles.inc > @@ -8242,11 +8242,8 @@ OLD_FILES+=usr/share/nls/uk_UA.UTF-8/tcsh.cat > .endif > > .if ${MK_TELNET} == no > -OLD_FILES+=etc/pam.d/telnetd > OLD_FILES+=usr/bin/telnet > -OLD_FILES+=usr/libexec/telnetd > OLD_FILES+=usr/share/man/man1/telnet.1.gz > -OLD_FILES+=usr/share/man/man8/telnetd.8.gz > .endif > > .if ${MK_TESTS} == yes > --000000000000484d1805e9c2f94a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e,monospace">This removal is incomplete.=C2=A0 Could you please also remove= it from e.g. usr.sbin/inetd/inetd.conf, release/packages/Makefile.package,= bsdbox, and mentions in various manual pages?</div></div><br><div class=3D= "gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Sep 28, 2022 at= 11:54 AM Brooks Davis <<a href=3D"mailto:brooks@freebsd.org">brooks@fre= ebsd.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex">The branch main has been updated by brooks:<br> <br> URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D0eea46fb1f83f6091= df92b5f2eae993cd6c2c873" rel=3D"noreferrer" target=3D"_blank">https://cgit.= FreeBSD.org/src/commit/?id=3D0eea46fb1f83f6091df92b5f2eae993cd6c2c873</a><b= r> <br> commit 0eea46fb1f83f6091df92b5f2eae993cd6c2c873<br> Author:=C2=A0 =C2=A0 =C2=A0Brooks Davis <brooks@FreeBSD.org><br> AuthorDate: 2022-09-28 18:53:10 +0000<br> Commit:=C2=A0 =C2=A0 =C2=A0Brooks Davis <brooks@FreeBSD.org><br> CommitDate: 2022-09-28 18:53:49 +0000<br> <br> =C2=A0 =C2=A0 Remove telnetd<br> <br> =C2=A0 =C2=A0 The telnetd codebase is unmaintained and has a number of qual= ity<br> =C2=A0 =C2=A0 issues. Telnet has been largely supplanted by ssh. If needed,= a port is<br> =C2=A0 =C2=A0 available (net/freebsd-telnetd), but a more maintained implem= entation<br> =C2=A0 =C2=A0 should be prefered.<br> <br> =C2=A0 =C2=A0 While the telnet client suffers from the same issues, it is d= eemed<br> =C2=A0 =C2=A0 to be of lower risk and is required to connect to legacy devi= ces, so<br> =C2=A0 =C2=A0 it remains.<br> <br> =C2=A0 =C2=A0 Reviewed by:=C2=A0 =C2=A0 emaste, imp<br> =C2=A0 =C2=A0 Differential Revision:=C2=A0 <a href=3D"https://reviews.freeb= sd.org/D36620" rel=3D"noreferrer" target=3D"_blank">https://reviews.freebsd= .org/D36620</a><br> ---<br> =C2=A0ObsoleteFiles.inc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 5 ++++<br> =C2=A0lib/libpam/pam.d/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 |=C2=A0 6 -----<br> =C2=A0lib/libpam/pam.d/telnetd=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0| 26 ------------------<br> =C2=A0libexec/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 5 ----<br> =C2=A0libexec/telnetd/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0| 45 --------------------------------<br> =C2=A0libexec/telnetd/Makefile.depend=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2= 5 ------------------<br> =C2=A0libexec/telnetd/Makefile.depend.options=C2=A0 |=C2=A0 6 -----<br> =C2=A0tools/build/mk/OptionalObsoleteFiles.inc |=C2=A0 3 ---<br> =C2=A08 files changed, 5 insertions(+), 116 deletions(-)<br> <br> diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc<br> index 2056b4296a94..0a0c6dfb044a 100644<br> --- a/ObsoleteFiles.inc<br> +++ b/ObsoleteFiles.inc<br> @@ -52,6 +52,11 @@<br> =C2=A0#=C2=A0 =C2=A0xargs -n1 | sort | uniq -d;<br> =C2=A0# done<br> <br> +# 20220928: telnetd(8) removed<br> +OLD_FILES+=3Detc/pam.d/telnetd<br> +OLD_FILES+=3Dusr/libexec/telnetd<br> +OLD_FILES+=3Dusr/share/man/man8/telnetd.8.gz<br> +<br> =C2=A0# 20220914: domain(9) updated<br> =C2=A0OLD_FILES+=3Dusr/share/man/man9/domain_init.9.gz<br> =C2=A0OLD_FILES+=3Dusr/share/man/man9/pfctlinput.9.gz<br> diff --git a/lib/libpam/pam.d/Makefile b/lib/libpam/pam.d/Makefile<br> index 1499f916cb17..da30a4682f53 100644<br> --- a/lib/libpam/pam.d/Makefile<br> +++ b/lib/libpam/pam.d/Makefile<br> @@ -34,10 +34,4 @@ afterinstallconfig:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${CONFDIR= }/ftpd ${DESTDIR}${CONFDIR}/ftp<br> =C2=A0.endif<br> <br> -.if ${MK_TELNET} !=3D "no"<br> -CONFGROUPS+=3D=C2=A0 =C2=A0TELNET<br> -TELNET+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0telnetd<br> -TELNETPACKAGE=3D telnet<br> -.endif<br> -<br> =C2=A0.include <<a href=3D"http://bsd.prog.mk" rel=3D"noreferrer" target= =3D"_blank">bsd.prog.mk</a>><br> diff --git a/lib/libpam/pam.d/telnetd b/lib/libpam/pam.d/telnetd<br> deleted file mode 100644<br> index fb2f523d4ad1..000000000000<br> --- a/lib/libpam/pam.d/telnetd<br> +++ /dev/null<br> @@ -1,26 +0,0 @@<br> -#<br> -# $FreeBSD$<br> -#<br> -# PAM configuration for the "telnetd" service<br> -#<br> -<br> -# auth<br> -auth=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sufficient=C2=A0 =C2=A0 =C2= =A0 pam_opie.so=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no_warn no_f= ake_prompts<br> -auth=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0requisite=C2=A0 =C2=A0 =C2=A0= =C2=A0pam_opieaccess.so=C2=A0 =C2=A0 =C2=A0 =C2=A0no_warn allow_local<br> -#auth=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sufficient=C2=A0 =C2=A0 =C2=A0 pam= _krb5.so=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no_warn try_first_p= ass<br> -#auth=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sufficient=C2=A0 =C2=A0 =C2=A0 pam= _ssh.so=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no_warn try_first_p= ass<br> -auth=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0required=C2=A0 =C2=A0 =C2=A0 = =C2=A0 pam_unix.so=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no_warn t= ry_first_pass<br> -<br> -# account<br> -account=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 required=C2= =A0 =C2=A0 =C2=A0 =C2=A0 pam_nologin.so<br> -#account=C2=A0 =C2=A0 =C2=A0 =C2=A0required=C2=A0 =C2=A0 =C2=A0 =C2=A0 pam= _krb5.so<br> -account=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 required=C2= =A0 =C2=A0 =C2=A0 =C2=A0 pam_login_access.so<br> -account=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 required=C2= =A0 =C2=A0 =C2=A0 =C2=A0 pam_unix.so<br> -<br> -# session<br> -#session=C2=A0 =C2=A0 =C2=A0 =C2=A0optional=C2=A0 =C2=A0 =C2=A0 =C2=A0 pam= _ssh.so=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 want_agent<br> -session=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 required=C2= =A0 =C2=A0 =C2=A0 =C2=A0 pam_lastlog.so=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 n= o_fail<br> -<br> -# password<br> -#password=C2=A0 =C2=A0 =C2=A0 sufficient=C2=A0 =C2=A0 =C2=A0 pam_krb5.so= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no_warn try_first_pass<br> -password=C2=A0 =C2=A0 =C2=A0 =C2=A0required=C2=A0 =C2=A0 =C2=A0 =C2=A0 pam= _unix.so=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no_warn try_first_p= ass<br> diff --git a/libexec/Makefile b/libexec/Makefile<br> index 1b41ae81565c..8d7565fe3ee5 100644<br> --- a/libexec/Makefile<br> +++ b/libexec/Makefile<br> @@ -27,7 +27,6 @@ SUBDIR=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0${_atf} \<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${_rtld-elf} \<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 save-entropy \<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${_smrsh} \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0${_telnetd} \<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${_tests} \<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${_tftp-proxy} \<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ulog-helper \<br> @@ -104,10 +103,6 @@ SUBDIR+=3D=C2=A0 =C2=A0talkd<br> =C2=A0SUBDIR+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0tcpd<br> =C2=A0.endif<br> <br> -.if ${MK_TELNET} !=3D "no"<br> -_telnetd=3D=C2=A0 =C2=A0 =C2=A0 telnetd<br> -.endif<br> -<br> =C2=A0.if ${MK_TFTP} !=3D "no"<br> =C2=A0SUBDIR+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0tftpd<br> =C2=A0.endif<br> diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile<br> deleted file mode 100644<br> index 09136d360a71..000000000000<br> --- a/libexec/telnetd/Makefile<br> +++ /dev/null<br> @@ -1,45 +0,0 @@<br> -# $FreeBSD$<br> -<br> -# Do not define -DKLUDGELINEMODE, as it does not interact well with many<b= r> -# telnet implementations.<br> -<br> -.include <<a href=3D"http://src.opts.mk" rel=3D"noreferrer" target=3D"_= blank">src.opts.mk</a>><br> -<br> -PACKAGE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0telnet<br> -<br> -TELNETDIR=3D=C2=A0 =C2=A0 =C2=A0${SRCTOP}/contrib/telnet<br> -.PATH:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${TELNETDIR}/telnetd<br> -<br> -PROG=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 telnetd<br> -MAN=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0telnetd.8<br> -<br> -SRCS=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 global.c slc.c state.c sys_term.= c telnetd.c \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0termstat.c utility.= c<br> -<br> -WARNS?=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2<br> -WFORMAT?=3D=C2=A0 =C2=A0 =C2=A0 0<br> -<br> -CFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS= -DOLD_ENVIRON \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-DENV_HACK -DSTREAM= SPTY<br> -<br> -.if ${MK_INET6_SUPPORT} !=3D "no"<br> -CFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0-DINET6<br> -.endif<br> -<br> -CFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0-I${TELNETDIR}<br> -CFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0-I${TELNETDIR}/telnet<br> -<br> -LIBADD=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 telnet ut= il tinfow<br> -<br> -.if ${MK_OPENSSL} !=3D "no"<br> -SRCS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0authenc.c<br> -CFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0-DAUTHENTICATION -DENCRYPTION<br> -LIBADD+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0mp crypto pam<br> -.endif<br> -<br> -.if ${MK_KERBEROS_SUPPORT} !=3D "no"<br> -CFLAGS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0-DKRB5 -DFORWARD -Dnet_write=3Dtelnet= _net_write<br> -LIBADD+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0krb5 roken<br> -.endif<br> -<br> -.include <<a href=3D"http://bsd.prog.mk" rel=3D"noreferrer" target=3D"_= blank">bsd.prog.mk</a>><br> diff --git a/libexec/telnetd/Makefile.depend b/libexec/telnetd/Makefile.dep= end<br> deleted file mode 100644<br> index 60b7e4479a3f..000000000000<br> --- a/libexec/telnetd/Makefile.depend<br> +++ /dev/null<br> @@ -1,25 +0,0 @@<br> -# $FreeBSD$<br> -# Autogenerated - do NOT edit!<br> -<br> -DIRDEPS =3D \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0include \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0include/arpa \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0include/xlocale \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/${CSU_DIR} \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libc \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libcom_err \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libcompiler_rt \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libcrypt \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libmp \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libpam/libpam \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libtelnet \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libthr \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/libutil \<br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0lib/ncurses/ncursesw \<br> -<br> -<br> -.include <<a href=3D"http://dirdeps.mk" rel=3D"noreferrer" target=3D"_b= lank">dirdeps.mk</a>><br> -<br> -.if ${DEP_RELDIR} =3D=3D ${_DEP_RELDIR}<br> -# local dependencies - needed for -jN in clean tree<br> -.endif<br> diff --git a/libexec/telnetd/Makefile.depend.options b/libexec/telnetd/Make= file.depend.options<br> deleted file mode 100644<br> index 4c4ba810c0e2..000000000000<br> --- a/libexec/telnetd/Makefile.depend.options<br> +++ /dev/null<br> @@ -1,6 +0,0 @@<br> -# $FreeBSD$<br> -# This file is not autogenerated - take care!<br> -<br> -DIRDEPS_OPTIONS=3D KERBEROS_SUPPORT OPENSSL<br> -<br> -.include <<a href=3D"http://dirdeps-options.mk" rel=3D"noreferrer" targ= et=3D"_blank">dirdeps-options.mk</a>><br> diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/Opti= onalObsoleteFiles.inc<br> index 1bcc0d2d80bc..4145859f21cd 100644<br> --- a/tools/build/mk/OptionalObsoleteFiles.inc<br> +++ b/tools/build/mk/OptionalObsoleteFiles.inc<br> @@ -8242,11 +8242,8 @@ OLD_FILES+=3Dusr/share/nls/uk_UA.UTF-8/<a href=3D"ht= tp://tcsh.cat" rel=3D"noreferrer" target=3D"_blank">tcsh.cat</a><br> =C2=A0.endif<br> <br> =C2=A0.if ${MK_TELNET} =3D=3D no<br> -OLD_FILES+=3Detc/pam.d/telnetd<br> =C2=A0OLD_FILES+=3Dusr/bin/telnet<br> -OLD_FILES+=3Dusr/libexec/telnetd<br> =C2=A0OLD_FILES+=3Dusr/share/man/man1/telnet.1.gz<br> -OLD_FILES+=3Dusr/share/man/man8/telnetd.8.gz<br> =C2=A0.endif<br> <br> =C2=A0.if ${MK_TESTS} =3D=3D yes<br> </blockquote></div> --000000000000484d1805e9c2f94a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGMYy3ujZiGZg=x5H_c4HmPbLCQJXJ2dk9ET1VOWqKhDLSLKEQ>