summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin/ssh/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r311140:ngie2017-01-161-1/+1
| | | | | | | | | | | | Only bake krb5_config.h support in to ssh(3), etc if both MK_GSSAPI and MK_KERBEROS_SUPPORT != no This fixes the odd case where someone specified MK_GSSAPI=no and MK_KERBEROS_SUPPORT=yes (which admittedly, probably doesn't make sense, but the build system doesn't prevent this case today, and it didn't when I filed the bug back in 2011 either). PR: 159745
* MFHgjb2016-03-141-2/+1
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Upgrade to OpenSSH 7.2p2.des2016-03-111-2/+1
| |
* | MFH r289384-r293170gjb2016-01-041-10/+4
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Replace unneeded manual dependency on header by adding it to SRCS.bdrewery2015-12-071-6/+4
| | | | | | | | | | | | | | | | | | | | bsd.lib.mk and bsd.prog.mk already depend all objs on headers in SRCS if there is not yet a depend file. The headers in SRCS are never built or installed. After 'make depend' the header was already added as a proper dependency on the objects where needed. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Retire the NONE cipher option.des2015-11-231-4/+0
| |
* | Move ssh into a dedicated packagebapt2015-03-051-0/+1
|/ | | | Flag config files as "to be merged on upgrade"
* Reduce overlinkingbapt2014-11-251-3/+2
| | | | | | The framework now ensure by itself that pthread is added to the link chain as the last component if linked to kerberos hence avoid with out any explicit addition prevent issue like CVE-2014-8475
* Convert to LIBADDbapt2014-11-251-10/+4
| | | | Reduce overlinking
* Fix typo (LIBLDNSADD -> LIBLDNS) to fix "make checkdpadd"ngie2014-08-191-1/+1
| | | | | | X-MFC with: r269648 Phabric: D634 Approved by: jmmv (mentor)
* Rework privatelib/internallibbapt2014-08-061-2/+2
| | | | | | | | | | | | | | Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing in final installation Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to internal/privatelib Directly link to the .so in case of private library to avoid having to complexify LDFLAGS. Phabric: https://phabric.freebsd.org/D553 Reviewed by: imp, emaste
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Unbreak the WITHOUT_KERBEROS build and try to reduce the odds of ades2013-09-231-1/+4
| | | | | | | | | repeat performance by introducing a script that runs configure with and without Kerberos, diffs the result and generates krb5_config.h, which contains the preprocessor macros that need to be defined in the Kerberos case and undefined otherwise. Approved by: re (marius)
* Clean up the OpenSSH build. It is now possible to build most componentsdes2013-09-101-5/+11
| | | | | | | | | | as static binaries, if desired. The one exception is sshd, which runs into trouble due to libpam.a's includion of pam_ssh. Make OpenSSH use LDNS if available. This allows it to verify signed SSHFP records. Approved by: re (blanket)
* Make libldns and libssh private.des2013-09-081-0/+1
| | | | Approved by: re (blanket)
* Add a src.conf(5) option to allow users to compile in the "NONE cipher",bz2013-01-171-0/+4
| | | | | | | | | which, only after authentication, disables crypto, and only for sessions without a terminal. Submitted by: Jeremy Chadwick (freebsd jdc.parodius.com) PR: bin/163095 MFC after: 10 days
* Restore the ability to use a non-standard LOCALBASE to sshdeadler2012-03-241-0/+4
| | | | | | | | | Add the ability to use a non-standard LOCALBASE to ssh Submitted by: jhb Reviewed by: des Approved by: cperciva MFC after: 0 days (with r233136)
* X11BASE is not used any more and has been killed by the x11 team.eadler2012-03-191-13/+0
| | | | | | Reviewed by: ??? Approved by: ??? MFC after: 3 days
* Upgrade to OpenSSH 5.4p1.des2010-03-091-1/+1
| | | | MFC after: 1 month
* Upgrade to OpenSSH 5.3p1.des2009-10-011-1/+4
|
* 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
* For users of FreeBSD <= 6.2 we recommend during the x.org 7.x upgradekris2008-03-051-1/+10
| | | | | | | | | | | | | | | | | | | | | 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
* 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-171-1/+3
| | | | | | | | 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)
* Add a new extensible GSS-API layer which can support GSS-API plugins,dfr2005-12-291-3/+3
| | | | | | | | | 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/+4
| | | | | | trouble, especially on amd64. Requested by: ru
* Make libssh an INTERNALLIB like it is in {Net,Open}BSD.des2005-06-061-4/+4
|
* Update for OpenSSH 4.1p1.des2005-06-051-1/+1
|
* Update for 3.8p1, including workaround for a bug in gss-genr.c.des2004-02-261-1/+2
|
* Fixed static linkage.ru2004-01-081-2/+5
| | | | Reviewed by: des
* Enable GSSAPI support. [1]des2004-01-081-4/+4
| | | | | | 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-2/+2
|
* 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.
* Update for 3.6.1p1; also remove Kerberos IV shims.des2003-04-231-7/+0
|
* Update for OpenSSH 3.5p1.des2002-10-291-1/+1
|
* ssh-keysign(8) belongs in /usr/libexec, not in /usr/bin, and needs to bedes2002-07-051-3/+0
| | | | | | | setuid so ssh(1) doesn't have to be. Pointy hat to: des Submitted by: Katsuyuki TATEISHI <katsu@iec.hiroshima-u.ac.jp>
* No guts, no glory. Switch to OpenSSH-portable.des2002-06-251-1/+2
| | | | Sponsored by: DARPA, NAI Labs
* Previous commit made no sense.des2002-06-241-1/+2
|
* Install the new man pages.des2002-06-231-1/+1
|
* 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>
* 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
* Follow the OpenSSH 2.9 upgrade with the infrastructure. Two newgreen2001-05-041-2/+2
| | | | programs are now included: sftp(1) and ssh-keyscan(1).
* secure/ build fixes:ru2001-03-261-11/+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.
* Disable /usr/bin/ssh being setuid root by default. Let the variablegreen2000-11-141-0/+2
| | | | | | | | | | ENABLE_SUID_SSH being defined reenable it for those that want it. This follows discussion favoring the change from September. It is not usually necessary to be setuid root, possibly less safe, and less convenient (cannot use $HOSTALIASES, for example). Submitted by: jedgar
* Update for OpenSSH 2.2.0kris2000-09-101-2/+2
|
* Add missing quotes around xauth pathache2000-08-231-1/+1
|
* Respect X11BASE to derive the location of xauth(1)kris2000-08-231-0/+4
| | | | | PR: 17818 Submitted by: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
OpenPOWER on IntegriCloud