aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* These values already set by src.libnames.mk.Bryan Drewery2017-10-311-2/+0
| | | | | | | | MFC after: 2 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325178
* libexec: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-2/+2
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314653
* Convert to LIBADDBaptiste Daroussin2014-11-251-6/+3
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* Add baud rate support to telnet(1)Enji Cooper2014-11-111-0/+1
| | | | | | | | | | | | | | | | This implements part of RFC-2217 It's based off a patch originally written by Sujal Patel at Isilon, and contributions from other Isilon employees. PR: 173728 Phabric: D995 Reviewed by: markj, markm MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=274364
* Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-08-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib Notes: svn path=/head/; revision=270168
* Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
| | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=268804
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-06-081-0/+2
| | | | | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2] Notes: svn path=/head/; revision=267233
* When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS andWarner Losh2014-06-061-3/+0
| | | | | | | | | | | | remove the now-redundant checks for RELEASE_CRUNCH. This originally was defined for building smaller sysinstall images, but was later also used by picobsd builds for a similar purpose. Now that we've moved away from sysinstall, picobsd is the only remaining consumer of this interface. Adding these two options reduces the RELEASE_CRUNCH special cases in the tree by half. Notes: svn path=/head/; revision=267147
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Convert telnetd(8) to use posix_openpt(2).Ed Schouten2008-11-131-1/+2
| | | | | | | | | | | | | | | | | | | | | Some time ago I got some reports MPSAFE TTY broke telnetd(8). Even though it turned out to be a different problem within the TTY code, I spotted a small issue with telnetd(8). Instead of allocating PTY's using openpty(3) or posix_openpt(2), it used its own PTY allocation routine. This means that telnetd(8) still uses /dev/ptyXX-style devices. I've also increased the size of line[]. Even though 16 should be enough, we already use 13 bytes ("/dev/pts/999", including '\0'). 32 bytes gives us a little more freedom. Also enable -DSTREAMSPTY. Otherwise telnetd(8) strips the PTY's pathname to the latest slash instead of just removing "/dev/" (e.g. /dev/pts/0 -> 0, instead of pts/0). Reviewed by: rink Notes: svn path=/head/; revision=184935
* Fix conflicts after heimdal-1.1 import and add build infrastructure. ImportDoug Rabson2008-05-071-2/+2
| | | | | | | all non-style changes made by heimdal to our own libgssapi. Notes: svn path=/head/; revision=178828
* inetd and telnetd are not included in the standard releaseYaroslav Tykhiy2006-07-311-0/+3
| | | | | | | | | | crunched floppies, but they can be included as options in src/release/picobsd (omitted by default though.) Therefore preserve the RELEASE_CRUNCH knob in their Makefiles, but tell its real purpose in a comment. Notes: svn path=/head/; revision=160866
* Stop enforcing dependencies between MK_* options at Makefile level.Yaroslav Tykhiy2006-07-311-1/+2
| | | | | | | All the dependencies are satisfied now in <bsd.own.mk>. Notes: svn path=/head/; revision=160854
* telnetd(8) doesn't really go to the crunched floppies,Yaroslav Tykhiy2006-07-311-2/+0
| | | | | | | | | so its Makefile needn't test for RELEASE_CRUNCH. Suggested by: ru Notes: svn path=/head/; revision=160853
* Respect MK_INET6_SUPPORT.Yaroslav Tykhiy2006-07-271-4/+8
| | | | | | | Apply style.Makefile(5). Notes: svn path=/head/; revision=160743
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-2/+4
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* Remove kludges intended to support src trees with partial obj trees.Dag-Erling Smørgrav2005-06-101-4/+0
| | | | | | | Discussed with: ru Notes: svn path=/head/; revision=147225
* NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139113
* Join the 21st century: Cryptography is no longer an optional componentColin Percival2004-08-061-1/+0
| | | | | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004 Notes: svn path=/head/; revision=133196
* Make sure that a "make release" (more accurately the bit that makesMark Murray2003-07-241-0/+2
| | | | | | | | the crunched binary) get a non-cryptographic telnet. This is overkill in that it covers stuff that is not normally used in a crunched binary. Notes: svn path=/head/; revision=117973
* Ensure that for the cryptographic instances of *telnet*, the "crypto"Mark Murray2003-07-241-0/+1
| | | | | | | distribution is used. This only affects release-building. Notes: svn path=/head/; revision=117953
* Test correct macro for "without crypto" option(s).Mark Murray2003-07-201-1/+1
| | | | Notes: svn path=/head/; revision=117813
* Very big makeover in the way telnet, telnetd and libtelnet are built.Mark Murray2003-07-161-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=117675
* Set WFORMAT=0, overlooked in previous commits to libexec/.Kris Kennaway2002-02-061-0/+1
| | | | | | | Reported by: jhay Notes: svn path=/head/; revision=90296
* Diff-reduce WRT src/secure/*telnet*/Makefile.Mark Murray2001-11-301-2/+13
| | | | | | | | Also, add an "unifdef:" target, so that the telnet sources can be remade from the crypto sources in src/crypto/telnet. Notes: svn path=/head/; revision=87147
* Feature merging and diff reduction between this code and crypto telnet.Mark Murray2001-08-201-12/+14
| | | | | | | | Also remove conditional (AUTHENTICATION) code as we have never compiled it here, and it is doubtful that it even works in this scenario. Notes: svn path=/head/; revision=81963
* Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.Ruslan Ermilov2001-03-281-1/+8
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=74928
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* several tcp apps IPv6 updateYoshinobu Inoue2000-01-251-0/+1
| | | | | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=56590
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* There is a clear separation of the crypto telnet and the non-crypto telnet.Mark Murray1997-09-281-4/+0
| | | | | | | | As this is the non-crypto version, remove the useless (commented out) directives and macros. Notes: svn path=/head/; revision=29918
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* add forgotten $Id$Wolfram Schneider1996-09-221-0/+1
| | | | Notes: svn path=/head/; revision=18471
* Fixed DPADD.Bruce Evans1996-09-051-2/+2
| | | | Notes: svn path=/head/; revision=18050
* Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcapRodney W. Grimes1994-09-111-1/+1
| | | | Notes: svn path=/head/; revision=2678
* Don't define KLUDGELINEMODE.Geoff Rehmet1994-09-051-1/+2
| | | | | | | | | (If you do, you will have problems trying to telnet into a FreeBSD-2.0 box from a Sun, and I WANT TO DO THAT.) Submitted by: Geoff Notes: svn path=/head/; revision=2517
* Remove the scary bits from telnetd - no more encryption left here.Geoff Rehmet1994-08-121-22/+2
| | | | | | | | Only crypt.c in libc remains. Reviewed by: Geoff Rehmet Notes: svn path=/head/; revision=2054
* Change bogus --I to -I to make compilation happen again.Jordan K. Hubbard1994-08-101-1/+1
| | | | | | | Submitted by: jkh Notes: svn path=/head/; revision=2002
* Update to new make macros and disable Kerberos because we haven't got itGarrett Wollman1994-08-051-3/+4
| | | | | | | set up right yet. Notes: svn path=/head/; revision=1875
* BSD 4.4 Lite Libexec SourcesRodney W. Grimes1994-05-271-0/+36
Notes: svn path=/vendor/CSRG/dist/; revision=1592