aboutsummaryrefslogtreecommitdiff
path: root/secure
Commit message (Collapse)AuthorAgeFilesLines
...
* Adjust for OpenSSH 3.1.Dag-Erling Smørgrav2002-03-183-4/+4
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=92563
* Fixed some style bugs. Mainly, don't use ${.ALLSRC} in implicit rules.Bruce Evans2002-03-171-3/+3
| | | | | | | This change should have been in rev.1.37. Notes: svn path=/head/; revision=92489
* Use NO_PERL as well as NOPERL. The latter is going to (eventually) go.Mark Murray2002-03-162-12/+12
| | | | Notes: svn path=/head/; revision=92411
* No functional change, but big code cleanup. WARNS, lint(1) and style(9).Mark Murray2002-03-064-216/+92
| | | | Notes: svn path=/head/; revision=91754
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-182-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* Now that cross-tools ld(1) has been fixed to look for dynamicRuslan Ermilov2002-02-088-14/+17
| | | | | | | | | | | | | dependencies in the correct place, record the fact that -lssh depends on -lcrypto and -lz. Removed false dependencies on -lz (except ssh(1) and sshd(8)). Removed false dependencies on -lcrypto and -lutil for scp(1). Reviewed by: markm Notes: svn path=/head/; revision=90405
* Set WFORMAT=0, overlooked in previous commits to libexec/.Kris Kennaway2002-02-061-0/+1
| | | | | | | Reported by: jhay Notes: svn path=/head/; revision=90296
* Update list of manpagesKris Kennaway2002-01-271-23/+30
| | | | Notes: svn path=/head/; revision=89841
* Add pam_ssh support to the static PAM library, libpam.a:Ruslan Ermilov2002-01-2311-22/+15
| | | | | | | | | | | | | | - Spam /usr/lib some more by making libssh a standard library. - Tweak ${LIBPAM} and ${MINUSLPAM}. - Garbage collect unused libssh_pic.a. - Add fake -lz dependency to secure/ makefiles needed for dynamic linkage with -lssh. Reviewed by: des, markm Approved by: markm Notes: svn path=/head/; revision=89705
* Clean up makefiles, and turn on WARNS=2. Take into account the telnetMark Murray2001-11-303-11/+17
| | | | | | | #if cleanup. Notes: svn path=/head/; revision=87141
* Opensslconf for sparc64. Just a copy of the alpha one for now.Jake Burkholder2001-11-181-0/+175
| | | | | | | Approved by: kkenn (maintainer) Notes: svn path=/head/; revision=86559
* Install libssh and libssh_pic. These are needed when buildingMark Murray2001-10-301-4/+1
| | | | | | | | | | statically, and when building things (like login(8)) standalone. libssh_pic is needed for libpam and modules. Requested by: peter Notes: svn path=/head/; revision=85744
* __FBSDID() (second half of src/lib/libcrypt changes)Peter Wemm2001-10-233-6/+10
| | | | Notes: svn path=/head/; revision=85358
* Argh! Shoot me! (add closing */ after $FreeBSD$ )Peter Wemm2001-10-221-1/+1
| | | | Notes: svn path=/head/; revision=85309
* Add an ia64 configuration. This is not likely to be optimal, but doesPeter Wemm2001-10-101-0/+175
| | | | | | | | compile and seems to work. We should run configure after everything else is self hosting to test the speeds of the various options. Notes: svn path=/head/; revision=84773
* Sync this file up with its i386 brother. This appears to have been missedPeter Wemm2001-10-092-8/+70
| | | | | | | | | when 0.9.5a was imported. Approved by: kris Notes: svn path=/head/; revision=84698
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* 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
* Fixed world breakage in rev.1.13. -lpam must never be used directly sinceBruce Evans2001-08-291-1/+1
| | | | | | | it doesn't work for static linkage. Notes: svn path=/head/; revision=82484
* Diff reduce all the crypto telnet Makefiles.Mark Murray2001-08-202-2/+2
| | | | Notes: svn path=/head/; revision=81967
* mdoc(7) police: s/NetBSD/.Nx/ where appropriate.Ruslan Ermilov2001-08-131-1/+3
| | | | Notes: svn path=/head/; revision=81590
* mdoc(7) police: join split punctuation to macro calls.Ruslan Ermilov2001-08-101-2/+1
| | | | Notes: svn path=/head/; revision=81462
* Link to libcipher in the usual way. `bdes' depended on a nonexistentBruce Evans2001-08-031-10/+2
| | | | | | | | | | library. This only worked because of the undocmented feature of make(1) that targets named foo.a are always up to date. Fixed some style bugs. Notes: svn path=/head/; revision=81119
* Revamp and diff-reduce the various secure telnets. Make sure thatMark Murray2001-08-034-7/+7
| | | | | | | | Kerberos5 has _a_ telnet (which is not currently K5 enabled). Incorporate BDE's static linking fixes. Notes: svn path=/head/; revision=81104
* Fixed world breakage when NOSHARED=yes. libmp now depends on libcrypto,Bruce Evans2001-07-302-6/+6
| | | | | | | so it must be linked before libcrypto to work right. Notes: svn path=/head/; revision=80637
* Added missing DPADD and CLEANFILES.Ruslan Ermilov2001-07-121-0/+3
| | | | Notes: svn path=/head/; revision=79618
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* Remove stale file.Kris Kennaway2001-07-041-11/+0
| | | | Notes: svn path=/head/; revision=79252
* Enable Kerberos 5 support in sshd again.Brian Feldman2001-06-121-2/+0
| | | | Notes: svn path=/head/; revision=78129
* Update for OpenSSL 0.9.6aKris Kennaway2001-05-201-2/+5
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=76872
* Fixed world breakage in previous commit. -lpam must never be usedBruce Evans2001-05-091-4/+4
| | | | | | | | | | | | directly (except in the definition of MINUSLPAM in bsd.libnames.mk) since it doesn't give all the libraries necessary for static linkage. Fixed missing ${LIBPAM} in DPADD. Fixed some style bugs in DPADD and LDADD. Notes: svn path=/head/; revision=76408
* Fixed world breakage in previous commit. -lpam must never be usedBruce Evans2001-05-091-3/+4
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=76407
* Add PAM support to SRA authentication. Cribbed mostly from ftpd. ThisNick Sayer2001-05-072-2/+2
| | | | | | | | doesn't solve the problem of root being allowed to log in, but that sort of thing is something PAM should be doing anyway. Notes: svn path=/head/; revision=76337
* Update to OpenSSH 2.9. Somehow this missed getting committed yesterday.Brian Feldman2001-05-041-3/+3
| | | | Notes: svn path=/head/; revision=76284
* Don't build with Kerberos 5 support for now. I'll fix this soon,Brian Feldman2001-05-041-0/+2
| | | | | | | | but I don't want to break Kerberos 5 users' worlds too much in the meantime. Notes: svn path=/head/; revision=76266
* Follow the OpenSSH 2.9 upgrade with the infrastructure. Two newBrian Feldman2001-05-0410-20/+42
| | | | | | | programs are now included: sftp(1) and ssh-keyscan(1). Notes: svn path=/head/; revision=76264
* Add the new version.c to libssh.Brian Feldman2001-05-031-1/+1
| | | | Notes: svn path=/head/; revision=76229
* 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-284-4/+11
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=74928
* secure/ build fixes:Ruslan Ermilov2001-03-2618-109/+62
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Attempt to fix the problem with -j builds, and du-uglify the asm codeKris Kennaway2001-03-141-10/+6
| | | | | | | | | generation and assembly targets. Help from: bde, obrien Notes: svn path=/head/; revision=74243
* Add OpenBSD-style blowfish password hashing. This makes one lessMark Murray2001-03-113-0/+1249
| | | | | | | | | | | | | gratuitous difference between us and our sister project. This was given to me _ages_ ago. May apologies to Paul for the length of time its taken me to commit. Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD Submitted by: Paul Herman <pherman@frenchfries.net> Notes: svn path=/head/; revision=74106
* MFS: Belatedly bump SHLIB_MAJOR corresponding to OpenSSL 0.9.6Kris Kennaway2001-03-082-2/+2
| | | | Notes: svn path=/head/; revision=73983
* Install the des.h link under ${DESTDIR}. Fixes buildworld.Kris Kennaway2001-03-041-1/+1
| | | | | | | Submitted by: Christian Weisgerber <naddy@mips.inka.de> Notes: svn path=/head/; revision=73553
* Clean up the installation of the compatibility libdes header/libraryKris Kennaway2001-03-041-22/+11
| | | | | | | | | symlinks Pointed out by: bde Notes: svn path=/head/; revision=73423
* Don't override CPUTYPE (actually this predates the <bsd.cpu.mk> use ofKris Kennaway2001-03-041-13/+3
| | | | | | | | | CPUTYPE, and I forgot I used it here already) Pointed out by: bde Notes: svn path=/head/; revision=73420
* setlocale(3) has been fixed to match POSIX standard:Ruslan Ermilov2001-03-021-1/+1
| | | | | | | LC_ALL takes precedence over other LC_* envariables. Notes: svn path=/head/; revision=73349
* Update the list of OpenSSL manpages (now contains many more describingKris Kennaway2001-02-251-55/+108
| | | | | | | | | | libssl, for example), and hide it behind a make.conf option, WANT_OPENSSL_MANPAGES, instead of having it commented out. We still can't install these by default because of clobbering of a number of system manpages with the same name, but they're there for people who want them. Notes: svn path=/head/; revision=73043