summaryrefslogtreecommitdiffstats
path: root/secure/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to OpenSSH 5.1p1.des2008-08-011-1/+1
| | | | | | | | | | I have worked hard to reduce diffs against the vendor branch. One notable change in that respect is that we no longer prefer DSA over RSA - the reasons for doing so went away years ago. This may cause some surprises, as ssh will warn about unknown host keys even for hosts whose keys haven't changed. MFC after: 6 weeks
* Fix conflicts after heimdal-1.1 import and add build infrastructure. Importdfr2008-05-071-3/+3
| | | | all non-style changes made by heimdal to our own libgssapi.
* For users of FreeBSD <= 6.2 we recommend during the x.org 7.x upgradekris2008-03-051-0/+9
| | | | | | | | | | | | | | | | | | | | | that they add X11BASE=${LOCALBASE} to /etc/make.conf since X11BASE was hard-wired to the now-wrong location in old releases. However, both X11BASE and LOCALBASE have moved out of scope of src/ into ports/ now, which causes problems for upgraded users who have old make.conf files still containing the above setting. X11BASE becomes null and we instruct ssh and sshd to look for xauth in /bin/xauth where it is unlikely to be found. Instead, provide a copy of the default LOCALBASE?=/usr/local setting here. We also have to deal with the case where the user only overrides LOCALBASE and doesn't set an explicit X11BASE (in ports it will be set implicitly but not here), which will also move the location of xauth. MFC after: 3 days Reported by: rwatson
* Update for OpenSSH 4.4p1.des2006-09-301-1/+1
| | | | MFC after: 1 week
* Add a manual dependency on ssh_namespace.h.des2006-05-131-0/+2
| | | | Discussed with: ru
* Introduce a namespace munging hack inspired by NetBSD to avoid pollutingdes2006-05-131-1/+1
| | | | | | | | the namespace of applications which inadvertantly link in libssh (usually through pam_ssh) Suggested by: lukem@netbsd.org MFC after: 6 weeks
* Reimplementation of world/kernel build options. For details, see:ru2006-03-172-3/+7
| | | | | | | | 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)
* Hook audit into OpenSSH. Now that the necessary bits for OpenSSH supportcsjp2006-02-121-0/+6
| | | | | | | | | | | | | have been added with the latest OpenBSM import, hook USE_BSM_AUDIT into build conditionally. For users which do not care for audit support and do not want to compile it into their SSH servers, add the following to the /etc/make.conf: NO_AUDIT=true Discussed with: rwatson Obtained from: TrustedBSD Project
* Add a new extensible GSS-API layer which can support GSS-API plugins,dfr2005-12-291-1/+1
| | | | | | | | | similar the the Solaris implementation. Repackage the krb5 GSS mechanism as a plugin library for the new implementation. This also includes a comprehensive set of manpages for the GSS-API functions with text mostly taken from the RFC. Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
* Revert the commits that made libssh an INTERNALLIB; they caused too muchdes2005-06-071-4/+6
| | | | | | trouble, especially on amd64. Requested by: ru
* Make libssh an INTERNALLIB like it is in {Net,Open}BSD.des2005-06-061-6/+4
|
* Update for OpenSSH 4.1p1.des2005-06-051-12/+5
|
* NOLIBC_R -> NO_LIBC_Rru2004-12-211-2/+2
| | | | | NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
* Update for OpenSSH 3.9p1.des2004-10-281-3/+2
|
* Update for 3.8p1, including workaround for a bug in gss-genr.c.des2004-02-261-1/+2
|
* Use the default threading library if requested.ru2004-02-071-3/+8
| | | | Reviewed by: des, deischen
* - Removed libmd from the Kerberos library set.ru2004-02-021-7/+4
| | | | | | | | - Removed libopie and libmd; libopie used to serve auth-skey.c which is compiled now only to ease maintenance, as well as a few other auth-*.c sources. Reviewed by: des
* Fixed static linkage.ru2004-01-081-2/+5
| | | | Reviewed by: des
* Enable GSSAPI support. [1]des2004-01-081-3/+3
| | | | | | Also remove some duplicates from ssh's SRCS. Submitted by: [1] Björn Grönvall <bg@sics.se>
* Update Makefiles for OpenSSH 3.7.1p2.des2004-01-071-11/+10
|
* Fixed "make checkdpadd".ru2003-07-021-2/+2
| | | | OK'ed by: markm
* Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extramarkm2003-05-051-1/+1
| | | | | cleanups were necessary in release/Makefile, and the tinderbox code was syntax checked, not run checked.
* We no longer have a separate kerberos distribution. Its now justmarkm2003-04-301-1/+0
| | | | part of the regular security dist.
* The including makefile's directory is tried first for .include "...".ru2003-04-301-1/+1
|
* Update for 3.6.1p1; also remove Kerberos IV shims.des2003-04-231-9/+2
|
* ia64 and sparc64 both have libc_r now.des2003-01-091-2/+1
|
* Don't build auth-pam.c and auth2-pam.c, auth2-pam-freebsd.c is all we need.des2002-12-141-1/+8
| | | | | | | Use pthreads for PAM if the platform supports it and the user asked for it (by setting OPENSSH_USE_POSIX_THREADS) Sponsored by: DARPA, NAI Labs
* No guts, no glory. Switch to OpenSSH-portable.des2002-06-251-5/+5
| | | | Sponsored by: DARPA, NAI Labs
* Install the new man pages.des2002-06-231-1/+1
|
* Update Makefiles for OpenSSH 3.3.des2002-06-231-3/+6
|
* Milestone #1 in cross-arch make releases.ru2002-04-261-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not install games and profiled libraries to the ${CHROOTDIR} with the initial installworld. Eliminate the need in the second installworld. For that, make sure _everything_ is built in the "world" environment, using the right tool chain. Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the buildworld process into stages, and skip some stages when SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5 dists). Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running makewhatis(1) at the end of installworld (used when making crypto, krb4, and krb5 dists). In release/scripts/doFS.sh, ensure that the correct boot blocks are used. Moved the creation of the "crypto" dist from release.5 to release.2. In release.3 and doMFSKERN, build kernels in the "world" environment. KERNELS now means "additional" kernels, GENERIC is always built. Ensure we build crunched binaries in the "world" environment. Obfuscate release/Makefile some more (WMAKEENV) to achieve this. Inline createBOOTMFS target. Use already built GENERIC kernel modules to augment mfsfd's /stand/modules. GC doMODULES as such. Assorted fixes: Get rid of the "afterdistribute" target by moving the single use of it from sys/Makefile to etc/Makefile's "distribute". Makefile.inc1: apparently "etc" no longer needs to be last for "distribute" to succeed. gnu/usr.bin/perl/library/Makefile.inc: do not override the "install" and "distribute" targets, do it the "canonical" way. release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and catpages appear in the right dists. Note that because Perl does not respect the MANBUILDCAT (and NOMAN), this results in a loss of /usr/share/perl/man/cat* empty directories. This will be fixed soon. Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it means "make KerberosIV"), as documented in the make.conf(5) manpage. Most of the userland makefiles did not test it for "YES" anyway. XXX Should specialized kerberized libpam versions be included into the krb4 and krb5 dists? (libpam.a would be incorrect anyway if both krb4 and krb5 dists were choosen.) Make sure "games" dist is made before "catpages", otherwise games catpages settle in the wrong dist. Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
* Switch over to using pam_login_access(8) module in sshd(8).ru2002-03-261-5/+3
| | | | | | (Fixes static compilation. Reduces diffs to OpenSSH.) Reviewed by: bde
* Use PAM instead of S/Key (or OPIE) for SSH2.des2002-03-211-2/+2
| | | | Sponsored by: DARPA, NAI Labs
* Don't forget auth-skey.c.des2002-03-181-1/+2
|
* Add pam_ssh support to the static PAM library, libpam.a:ru2002-01-231-1/+1
| | | | | | | | | | | - 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
* Fixed world breakage in rev.1.13. -lpam must never be used directly sincebde2001-08-291-1/+1
| | | | it doesn't work for static linkage.
* Enable Kerberos 5 support in sshd again.green2001-06-121-2/+0
|
* Update to OpenSSH 2.9. Somehow this missed getting committed yesterday.green2001-05-041-3/+3
|
* Don't build with Kerberos 5 support for now. I'll fix this soon,green2001-05-041-0/+2
| | | | | but I don't want to break Kerberos 5 users' worlds too much in the meantime.
* secure/ build fixes:ru2001-03-262-15/+9
| | | | | | | | | | | | | | | | | | | | - 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.
* Define HAVE_PAM_GETENVLIST for build. Now environmental variables setnectar2001-02-081-1/+1
| | | | by PAM modules will be exported (correctly).
* Update for OpenSSH 2.3.0.green2000-12-051-4/+6
|
* Fix up the build for the STARTTLS version of sendmail (again). This methodgshapiro2000-10-242-78/+0
| | | | | | | | | | mimics that of tcpdump in that for normal builds, sendmail will only be built once. For 'make release', it is built once for the bin dist and once for the crypto dist. This method also removes the need for two separate Makefiles (which could become out of sync). Suggested by: bde Assisted by: kris
* Do not override BINDIR settings from subdirectory Makefiles.gshapiro2000-10-131-1/+1
| | | | Submitted by: bde
* ../Makefile.inc was clobbering BINDIR so sendmail was being installed ingshapiro2000-10-131-1/+1
| | | | | | /usr/sbin/ instead of /usr/libexec/sendmail/ Submitted by: bde
* Activate the 'secure' (TLS) version of sendmail if !NO_SENDMAIL && !NO_OPENSSLgshapiro2000-10-131-0/+4
|
* Given that sendmail's STARTTLS support requires OpenSSL and the bootstrapgshapiro2000-10-131-4/+11
| | | | | | | issues that brings, build the non-TLS version of sendmail in src/usr.sbin/sendmail and the TLS version in src/secure/usr.sbin/sendmail. This allows the TLS version to be part of the secure distribution when building a release.
* Remove STARTTLS support as it breaks builds without crypto installed.gshapiro2000-10-121-7/+0
| | | | Waiting to hear back regarding the best way to do this.
* With apoligies to Greg Shapiro, fix the world. The previous commitpeter2000-10-111-2/+2
| | | | | lost -lutil and -lwrap by replacing $LDADD and $DPADD rather than appending to them with +=.
* Style fixesgshapiro2000-10-111-4/+4
|
OpenPOWER on IntegriCloud