aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libtelnet
Commit message (Collapse)AuthorAgeFilesLines
* Very big makeover in the way telnet, telnetd and libtelnet are built.Mark Murray2003-07-161-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Style sync with rest of FreeBSD.David E. O'Brien2002-11-061-11/+8
| | | | Notes: svn path=/head/; revision=106538
* Removed now unused INTERNALSTATICLIB.Ruslan Ermilov2002-05-131-2/+0
| | | | | | | | INTERNALLIB now implies NOPIC and NOPROFILE. Removed gratuitous NOMAN. Notes: svn path=/head/; revision=96513
* Added new bsd.incs.mk which handles installing of header filesRuslan Ermilov2002-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release". Notes: svn path=/head/; revision=96462
* Clean up makefiles, and turn on WARNS=2. Take into account the telnetMark Murray2001-11-301-2/+4
| | | | | | | #if cleanup. Notes: svn path=/head/; revision=87141
* Fix cross-building, etc:Ruslan Ermilov2001-09-291-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. To cross-build, one now needs to set TARGET_ARCH, and not the MACHINE_ARCH. MACHINE_ARCH should never be changed manually! 2. Initialize DESTDIR= explicitly for bootstrap-tools, build-tools, and cross-tools stages. This fixes broken header and library dependencies problem. We build them in the host environment, and obviously want them to depend on host headers and libraries. The problem with broken header dependencies for bootstrap-tools and cross-tools was already partially solved (see BOOTSTRAPPING tests in bsd.prog.mk and bsd.lib.mk), but it was still there for build-tools if the user ran "make world DESTDIR=/foo". Also, for all of these stages, the library dependencies were broken because of how bsd.libnames.mk define DPADD members. We still provide a glue to install bootstrap- and cross-tools under the ${WORLDTMP}. Removed PATH overrides for bootstrap-, build-, and cross-tools stages. There is just no reason why we would need to override it, and the hacks to clean up the ${WORLDTMP} in the -DNOCLEAN case are no longer needed with fixes from this step. That is, we now never use ${WORLDTMP} headers and libraries, and we don't use any ${WORLDTMP} installed binaries during these stages. Again, these stages depend solely on the host environment, including compiler, headers, and libraries. 3. Moved "miniperl" back from cross-tools (it has nothing to do with a cross-compiler) to build-tools where it belongs. The change from step 1 let to do this. Also, to make this work, build-tools targets of "cc_tools" and "miniperl" were modified to call "depend". Here follow the detailed explanations. There are two categories of build tools, for now. In the first category there are "cc_tools" and "miniperl". They occupy the whole (sub)directory, and nothing needs to be done in this subdirectory later during the "all" stage. They are also constructed using system makefiles. We must build the .depend early in the build-tools stage because: 1) They use (and depend on) the host environment. 2) If we don't do this in build-tools, the "depend" stage of buildworld will do this for us; wrong library and header dependencies will be recorded (DESTDIR=${WORLDTMP}) and, what's worse, the "all" stage may then clobber the build-architecture format tools (that we built in the build-tools stage) with the target-architecture format ones, breaking cross build. In the second category there are all other build-tools. They share their directory with the "main" module that needs them in the "all" stage, and they don't show up themselves in the .depend file. The portion of this fix was already committed in gnu/usr.bin/cc/cc_tools/Makefile,v 1.52. 4. "libperl" is no longer a build tool, and "miniperl" is the stand-alone application. I had to make this change because build-tools and "all" stages share the same object directory. Without this change, if we cross compile, libperl.a is first built for the build architecture during the build-tools stage (for the purposes of immediate linkage with "miniperl"). Later on, the "all" stage sees this library as up-to-date, and doesn't rebuild it. The effect is that the wrong format static libperl library is installed with installworld. 5. Fixed "includes" to install secure/lib/libtelnet headers if required. Reviewed by: bde Notes: svn path=/head/; revision=84136
* Diff reduce all the crypto telnet Makefiles.Mark Murray2001-08-201-1/+1
| | | | Notes: svn path=/head/; revision=81967
* Revamp and diff-reduce the various secure telnets. Make sure thatMark Murray2001-08-031-2/+2
| | | | | | | | Kerberos5 has _a_ telnet (which is not currently K5 enabled). Incorporate BDE's static linking fixes. Notes: svn path=/head/; revision=81104
* Reactivate SRA.Nick Sayer2001-04-051-2/+2
| | | | | | | | Make handling of SIGINT and SIGQUIT follow SIGTSTP in TerminalNewMode(). This allows people to break out of SRA authentication if they wish to. Notes: svn path=/head/; revision=75236
* Merged src/lib/libtelnet rev.1.9 (fixed removing of obsolete sharedRuslan Ermilov2001-03-281-8/+5
| | | | | | | | | | | | | library: wrong library directory, wrong library extension and wrong comment). This is mainly of historical interest, if any. The library that gets removed is aout. Also, backout the beforeinstall -> afterinstall change in rev.1.20 that was required to install proper telnet.h into /usr/include/arpa. The actual problem is in <bsd.lib.mk>, and I am going to fix it. Notes: svn path=/head/; revision=74929
* Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.Ruslan Ermilov2001-03-281-2/+4
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=74928
* secure/ build fixes:Ruslan Ermilov2001-03-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=74818
* disable SRAAssar Westerlund2001-03-231-2/+2
| | | | | | | | | this impacts negatively to POLA since once autologin is enabled, telnet will prompt for a password using getpass() and thus not allow the usual signal characters or C-] Notes: svn path=/head/; revision=74702
* Make telnet with SRA work.Mark Murray1999-10-071-0/+28
| | | | | | | Submitted by: Nick Sayer Notes: svn path=/head/; revision=51993
* Secure telnet is now in eBones.Mark Murray1996-11-0720-6276/+0
| | | | Notes: svn path=/head/; revision=19502
* Some breakeages sneaked in. This fixes them.Mark Murray1996-07-303-3/+1
| | | | | | | | | (this relates to a name change in a library that was not properly backed up by the author) Reported by: too mant :-( Notes: svn path=/head/; revision=17356
* Big clean-up job. Remove ancient and never-to-be used stuff.Mark Murray1996-03-111-32/+3
| | | | | | | The look much more like BSD Makefiles now. Notes: svn path=/head/; revision=14548
* Fix typo #ifdef -> .if defined().Mark Murray1996-03-111-20/+7
| | | | | | | Tidy uo this file a bit. Notes: svn path=/head/; revision=14534
* Fix typo - -des -> -ldesMark Murray1996-03-101-2/+2
| | | | Notes: svn path=/head/; revision=14462
* Sense MAKE_EBONES, DESTDIRAndrey A. Chernov1996-03-091-15/+22
| | | | | | | | SRCS cleanup DPADD cleanup Notes: svn path=/head/; revision=14438
* Remove MAKE_EBONES conditionals. They were originally placed here becauseJustin T. Gibbs1995-10-111-3/+1
| | | | | | | of missing functionality in our libkrb which is no longer a problem. Notes: svn path=/head/; revision=11419
* Enable kerberosIV authentication/encryption conditionalized on MAKE_EBONES.Justin T. Gibbs1995-09-143-29/+15
| | | | | | | Fix up some of the des calls to be compatible with eBones. Notes: svn path=/head/; revision=10740
* Comment out LDADD+=-ldescrypt, it is not yet active due toAndrey A. Chernov1995-08-051-2/+3
| | | | | | | missng defines for krb4encpwd and rsaencpwd and missing rsa library too. Notes: svn path=/head/; revision=9932
* Final cleanup pass through Makefiles, now this stuffAndrey A. Chernov1995-07-241-7/+9
| | | | | | | | | autodetect kerberos/eBones and work even with eBones, but with reduced functionality (don't pick up des/krb stuff in this case) Notes: svn path=/head/; revision=9694
* Add LDADD+= -ldescryptAndrey A. Chernov1995-07-241-1/+2
| | | | | | | | | Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=9691
* Move -ldes under kerb stuff, my faultAndrey A. Chernov1995-07-241-5/+3
| | | | | | | | | Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=9690
* Since this stuff not works with eBones, ifdef kerberos stuffAndrey A. Chernov1995-07-241-1/+4
| | | | | | | | | with MAKE_KERBEROS to allow other things to live Submitted by: Obtained from: Notes: svn path=/head/; revision=9688
* Add comment about new_rbd_key.c module needed fromAndrey A. Chernov1995-07-241-1/+4
| | | | | | | original libdes Notes: svn path=/head/; revision=9686
* Fix many bogus things, typing error, dependance errors, etc.,Andrey A. Chernov1995-07-241-7/+16
| | | | | | | | | now it compiles. Note: this stuff requires original libdes, not libdes from Eric Yang which we have in eBones. Notes: svn path=/head/; revision=9683
* Update telnet to the 95.05.31 release.Paul Traina1995-07-2011-70/+90
| | | | | | | Obtained from: Dave Borman <dab@cray.com> Notes: svn path=/head/; revision=9590
* Remove trailing whitespace.Rodney W. Grimes1995-05-309-39/+39
| | | | Notes: svn path=/head/; revision=8871
* Security fixes.Dima Ruban1995-02-172-11/+27
| | | | | | | | | CERT Advisory CA-95:03.telnet.encryption Obtained from: CERT Notes: svn path=/head/; revision=6514
* Libtelnet with encryption goes walkies to src/secure/libGeoff Rehmet1994-08-1220-0/+6276
Reviewed by: Geoff Rehmet Notes: svn path=/vendor-crypto/eBones/dist/; revision=2047