head	1.64;
access;
symbols
	RELENG_8_4:1.64.0.2
	RELENG_9_1_0_RELEASE:1.59.2.2.2.2
	RELENG_9_1:1.59.2.2.0.2
	RELENG_9_1_BP:1.59.2.2
	RELENG_8_3_0_RELEASE:1.55.2.2.6.1
	RELENG_8_3:1.55.2.2.0.6
	RELENG_8_3_BP:1.55.2.2
	RELENG_9_0_0_RELEASE:1.59.2.1.2.1
	RELENG_9_0:1.59.2.1.0.2
	RELENG_9_0_BP:1.59.2.1
	RELENG_9:1.59.0.2
	RELENG_9_BP:1.59
	RELENG_7_4_0_RELEASE:1.50.2.2.8.1
	RELENG_8_2_0_RELEASE:1.55.2.2.4.1
	RELENG_7_4:1.50.2.2.0.8
	RELENG_7_4_BP:1.50.2.2
	RELENG_8_2:1.55.2.2.0.4
	RELENG_8_2_BP:1.55.2.2
	RELENG_8_1_0_RELEASE:1.55.2.2.2.1
	RELENG_8_1:1.55.2.2.0.2
	RELENG_8_1_BP:1.55.2.2
	RELENG_7_3_0_RELEASE:1.50.2.2.6.1
	RELENG_7_3:1.50.2.2.0.6
	RELENG_7_3_BP:1.50.2.2
	RELENG_8_0_0_RELEASE:1.55.2.1.2.1
	RELENG_8_0:1.55.2.1.0.2
	RELENG_8_0_BP:1.55.2.1
	RELENG_8:1.55.0.2
	RELENG_8_BP:1.55
	RELENG_7_2_0_RELEASE:1.50.2.2.4.1
	RELENG_7_2:1.50.2.2.0.4
	RELENG_7_2_BP:1.50.2.2
	RELENG_7_1_0_RELEASE:1.50.2.2.2.1
	RELENG_6_4_0_RELEASE:1.44.2.4.2.1
	RELENG_7_1:1.50.2.2.0.2
	RELENG_7_1_BP:1.50.2.2
	RELENG_6_4:1.44.2.4.0.2
	RELENG_6_4_BP:1.44.2.4
	RELENG_7_0_0_RELEASE:1.50
	RELENG_6_3_0_RELEASE:1.44.2.3
	RELENG_7_0:1.50.0.4
	RELENG_7_0_BP:1.50
	RELENG_6_3:1.44.2.3.0.4
	RELENG_6_3_BP:1.44.2.3
	RELENG_7:1.50.0.2
	RELENG_7_BP:1.50
	RELENG_6_2_0_RELEASE:1.44.2.3
	RELENG_6_2:1.44.2.3.0.2
	RELENG_6_2_BP:1.44.2.3
	RELENG_5_5_0_RELEASE:1.39
	RELENG_5_5:1.39.0.8
	RELENG_5_5_BP:1.39
	RELENG_6_1_0_RELEASE:1.44
	RELENG_6_1:1.44.0.6
	RELENG_6_1_BP:1.44
	RELENG_6_0_0_RELEASE:1.44
	RELENG_6_0:1.44.0.4
	RELENG_6_0_BP:1.44
	RELENG_6:1.44.0.2
	RELENG_6_BP:1.44
	RELENG_5_4_0_RELEASE:1.39
	RELENG_5_4:1.39.0.6
	RELENG_5_4_BP:1.39
	RELENG_4_11_0_RELEASE:1.5.2.10
	RELENG_4_11:1.5.2.10.0.6
	RELENG_4_11_BP:1.5.2.10
	RELENG_5_3_0_RELEASE:1.39
	RELENG_5_3:1.39.0.4
	RELENG_5_3_BP:1.39
	RELENG_5:1.39.0.2
	RELENG_5_BP:1.39
	RELENG_4_10_0_RELEASE:1.5.2.10
	RELENG_4_10:1.5.2.10.0.4
	RELENG_4_10_BP:1.5.2.10
	RELENG_5_2_1_RELEASE:1.33
	RELENG_5_2_0_RELEASE:1.33
	RELENG_5_2:1.33.0.2
	RELENG_5_2_BP:1.33
	RELENG_4_9_0_RELEASE:1.5.2.10
	RELENG_4_9:1.5.2.10.0.2
	RELENG_4_9_BP:1.5.2.10
	RELENG_5_1_0_RELEASE:1.32
	RELENG_5_1:1.32.0.2
	RELENG_5_1_BP:1.32
	RELENG_4_8_0_RELEASE:1.5.2.9
	RELENG_4_8:1.5.2.9.0.2
	RELENG_4_8_BP:1.5.2.9
	RELENG_5_0_0_RELEASE:1.27
	RELENG_5_0:1.27.0.2
	RELENG_5_0_BP:1.27
	RELENG_4_7_0_RELEASE:1.5.2.8
	RELENG_4_7:1.5.2.8.0.2
	RELENG_4_7_BP:1.5.2.8
	RELENG_4_6_2_RELEASE:1.5.2.7.4.1
	RELENG_4_6_1_RELEASE:1.5.2.7.4.1
	RELENG_4_6_0_RELEASE:1.5.2.7
	RELENG_4_6:1.5.2.7.0.4
	RELENG_4_6_BP:1.5.2.7
	RELENG_4_5_0_RELEASE:1.5.2.7
	RELENG_4_5:1.5.2.7.0.2
	RELENG_4_5_BP:1.5.2.7
	RELENG_4_4_0_RELEASE:1.5.2.6
	RELENG_4_4:1.5.2.6.0.4
	RELENG_4_4_BP:1.5.2.6
	RELENG_4_3_0_RELEASE:1.5.2.6
	RELENG_4_3:1.5.2.6.0.2
	RELENG_4_3_BP:1.5.2.6
	RELENG_4_2_0_RELEASE:1.5.2.4
	RELENG_4_1_1_RELEASE:1.5.2.3
	PRE_SMPNG:1.10
	RELENG_4_1_0_RELEASE:1.5.2.2
	RELENG_4_0_0_RELEASE:1.5
	RELENG_4:1.5.0.2
	RELENG_4_BP:1.5;
locks; strict;
comment	@# @;


1.64
date	2013.01.18.00.27.37;	author svnexp;	state Exp;
branches
	1.64.2.1;
next	1.63;

1.63
date	2012.11.17.01.50.27;	author svnexp;	state Exp;
branches;
next	1.62;

1.62
date	2012.03.24.19.41.43;	author eadler;	state Exp;
branches;
next	1.61;

1.61
date	2012.03.19.00.41.40;	author eadler;	state Exp;
branches;
next	1.60;

1.60
date	2011.10.05.22.08.17;	author des;	state Exp;
branches;
next	1.59;

1.59
date	2011.05.04.07.34.44;	author des;	state Exp;
branches
	1.59.2.1;
next	1.58;

1.58
date	2010.03.09.19.16.43;	author des;	state Exp;
branches;
next	1.57;

1.57
date	2010.02.26.12.12.54;	author ru;	state Exp;
branches;
next	1.56;

1.56
date	2009.10.01.17.12.52;	author des;	state Exp;
branches;
next	1.55;

1.55
date	2009.05.22.18.46.28;	author des;	state Exp;
branches
	1.55.2.1;
next	1.54;

1.54
date	2008.11.30.15.35.24;	author csjp;	state Exp;
branches;
next	1.53;

1.53
date	2008.08.01.02.48.36;	author des;	state Exp;
branches;
next	1.52;

1.52
date	2008.05.07.13.53.12;	author dfr;	state Exp;
branches;
next	1.51;

1.51
date	2008.03.05.20.58.15;	author kris;	state Exp;
branches;
next	1.50;

1.50
date	2006.09.30.13.41.26;	author des;	state Exp;
branches
	1.50.2.1;
next	1.49;

1.49
date	2006.05.13.21.38.16;	author des;	state Exp;
branches;
next	1.48;

1.48
date	2006.05.13.13.47.45;	author des;	state Exp;
branches;
next	1.47;

1.47
date	2006.03.17.18.54.32;	author ru;	state Exp;
branches;
next	1.46;

1.46
date	2006.02.12.07.19.45;	author csjp;	state Exp;
branches;
next	1.45;

1.45
date	2005.12.29.14.40.22;	author dfr;	state Exp;
branches;
next	1.44;

1.44
date	2005.06.07.09.31.28;	author des;	state Exp;
branches
	1.44.2.1;
next	1.43;

1.43
date	2005.06.06.16.13.07;	author des;	state Exp;
branches;
next	1.42;

1.42
date	2005.06.05.15.47.07;	author des;	state Exp;
branches;
next	1.41;

1.41
date	2004.12.21.09.00.25;	author ru;	state Exp;
branches;
next	1.40;

1.40
date	2004.10.28.16.04.23;	author des;	state Exp;
branches;
next	1.39;

1.39
date	2004.02.26.11.26.46;	author des;	state Exp;
branches;
next	1.38;

1.38
date	2004.02.07.08.23.48;	author ru;	state Exp;
branches;
next	1.37;

1.37
date	2004.02.02.22.00.35;	author ru;	state Exp;
branches;
next	1.36;

1.36
date	2004.01.08.11.40.19;	author ru;	state Exp;
branches;
next	1.35;

1.35
date	2004.01.08.09.05.24;	author des;	state Exp;
branches;
next	1.34;

1.34
date	2004.01.07.11.17.23;	author des;	state Exp;
branches;
next	1.33;

1.33
date	2003.07.02.23.38.42;	author ru;	state Exp;
branches;
next	1.32;

1.32
date	2003.05.05.07.58.44;	author markm;	state Exp;
branches;
next	1.31;

1.31
date	2003.04.30.17.46.24;	author markm;	state Exp;
branches;
next	1.30;

1.30
date	2003.04.23.17.25.47;	author des;	state Exp;
branches;
next	1.29;

1.29
date	2003.01.09.08.36.05;	author des;	state Exp;
branches;
next	1.28;

1.28
date	2002.12.14.13.54.57;	author des;	state Exp;
branches;
next	1.27;

1.27
date	2002.06.25.19.10.09;	author des;	state Exp;
branches;
next	1.26;

1.26
date	2002.06.23.21.43.43;	author des;	state Exp;
branches;
next	1.25;

1.25
date	2002.06.23.16.09.29;	author des;	state Exp;
branches;
next	1.24;

1.24
date	2002.04.26.17.55.19;	author ru;	state Exp;
branches;
next	1.23;

1.23
date	2002.03.26.12.52.28;	author ru;	state Exp;
branches;
next	1.22;

1.22
date	2002.03.21.12.18.27;	author des;	state Exp;
branches;
next	1.21;

1.21
date	2002.03.18.16.17.57;	author des;	state Exp;
branches;
next	1.20;

1.20
date	2002.01.23.15.54.17;	author ru;	state Exp;
branches;
next	1.19;

1.19
date	2001.08.29.07.07.48;	author bde;	state Exp;
branches;
next	1.18;

1.18
date	2001.06.12.03.43.41;	author green;	state Exp;
branches;
next	1.17;

1.17
date	2001.05.04.23.55.18;	author green;	state Exp;
branches;
next	1.16;

1.16
date	2001.05.04.05.07.43;	author green;	state Exp;
branches;
next	1.15;

1.15
date	2001.03.26.14.53.33;	author ru;	state Exp;
branches;
next	1.14;

1.14
date	2001.02.08.21.16.34;	author nectar;	state Exp;
branches;
next	1.13;

1.13
date	2000.12.06.10.57.57;	author green;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.05.03.01.33;	author green;	state Exp;
branches;
next	1.11;

1.11
date	2000.09.10.09.43.29;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2000.09.02.07.32.05;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2000.07.16.05.53.09;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	2000.06.11.05.30.52;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	2000.05.15.05.26.50;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2000.03.26.07.54.12;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2000.03.09.14.54.00;	author markm;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2000.03.03.20.34.05;	author jhay;	state Exp;
branches;
next	1.3;

1.3
date	2000.02.28.19.25.34;	author markm;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.25.08.21.35;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.24.17.00.55;	author markm;	state Exp;
branches;
next	;

1.64.2.1
date	2013.01.18.00.27.37;	author svnexp;	state dead;
branches;
next	1.64.2.2;

1.64.2.2
date	2013.03.28.13.03.39;	author svnexp;	state Exp;
branches;
next	;

1.59.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.59.2.1.2.1;
next	1.59.2.2;

1.59.2.2
date	2012.03.29.01.46.01;	author eadler;	state Exp;
branches
	1.59.2.2.2.1;
next	1.59.2.3;

1.59.2.3
date	2012.11.17.11.36.33;	author svnexp;	state Exp;
branches;
next	1.59.2.4;

1.59.2.4
date	2013.02.28.18.51.26;	author svnexp;	state Exp;
branches;
next	1.59.2.5;

1.59.2.5
date	2013.03.01.01.05.02;	author svnexp;	state Exp;
branches;
next	1.59.2.6;

1.59.2.6
date	2014.03.20.11.01.50;	author svnexp;	state Exp;
branches;
next	1.59.2.7;

1.59.2.7
date	2014.03.31.15.01.51;	author svnexp;	state Exp;
branches;
next	1.59.2.8;

1.59.2.8
date	2014.05.04.08.01.44;	author svnexp;	state Exp;
branches;
next	;

1.59.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.59.2.1.2.2;

1.59.2.1.2.2
date	2012.11.17.08.36.33;	author svnexp;	state Exp;
branches;
next	;

1.59.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.59.2.2.2.2;

1.59.2.2.2.2
date	2012.11.17.08.47.23;	author svnexp;	state Exp;
branches;
next	;

1.55.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.55.2.1.2.1;
next	1.55.2.2;

1.55.2.2
date	2010.04.21.06.33.10;	author des;	state Exp;
branches
	1.55.2.2.2.1
	1.55.2.2.4.1
	1.55.2.2.6.1;
next	1.55.2.3;

1.55.2.3
date	2012.03.29.01.46.30;	author eadler;	state Exp;
branches;
next	1.55.2.4;

1.55.2.4
date	2012.11.17.10.36.17;	author svnexp;	state Exp;
branches;
next	1.55.2.5;

1.55.2.5
date	2013.03.01.02.23.12;	author svnexp;	state Exp;
branches;
next	;

1.55.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.55.2.2.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.55.2.2.4.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.55.2.2.6.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.55.2.2.6.2;

1.55.2.2.6.2
date	2012.11.17.08.24.58;	author svnexp;	state Exp;
branches;
next	;

1.50.2.1
date	2008.03.22.15.12.06;	author kris;	state Exp;
branches;
next	1.50.2.2;

1.50.2.2
date	2008.09.01.20.03.13;	author des;	state Exp;
branches
	1.50.2.2.2.1
	1.50.2.2.4.1
	1.50.2.2.6.1
	1.50.2.2.8.1;
next	1.50.2.3;

1.50.2.3
date	2012.03.29.01.46.56;	author eadler;	state Exp;
branches;
next	1.50.2.4;

1.50.2.4
date	2012.11.17.08.03.45;	author svnexp;	state Exp;
branches;
next	;

1.50.2.2.2.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.50.2.2.4.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.50.2.2.6.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.50.2.2.8.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.50.2.2.8.2;

1.50.2.2.8.2
date	2012.11.17.08.16.55;	author svnexp;	state Exp;
branches;
next	;

1.44.2.1
date	2006.07.08.14.37.19;	author des;	state Exp;
branches;
next	1.44.2.2;

1.44.2.2
date	2006.09.05.23.51.32;	author csjp;	state Exp;
branches;
next	1.44.2.3;

1.44.2.3
date	2006.10.06.14.07.23;	author des;	state Exp;
branches;
next	1.44.2.4;

1.44.2.4
date	2008.03.22.15.13.26;	author kris;	state Exp;
branches
	1.44.2.4.2.1;
next	1.44.2.5;

1.44.2.5
date	2012.11.17.07.41.26;	author svnexp;	state Exp;
branches;
next	;

1.44.2.4.2.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.5.2.1
date	2000.06.09.07.23.25;	author kris;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2000.06.11.05.32.11;	author kris;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2000.09.22.09.44.18;	author kris;	state Exp;
branches;
next	1.5.2.4;

1.5.2.4
date	2000.10.28.23.05.14;	author kris;	state Exp;
branches;
next	1.5.2.5;

1.5.2.5
date	2001.01.12.04.26.22;	author green;	state Exp;
branches;
next	1.5.2.6;

1.5.2.6
date	2001.02.13.13.04.59;	author nectar;	state Exp;
branches;
next	1.5.2.7;

1.5.2.7
date	2001.09.28.01.33.53;	author green;	state Exp;
branches
	1.5.2.7.4.1;
next	1.5.2.8;

1.5.2.8
date	2002.07.03.22.13.26;	author des;	state Exp;
branches;
next	1.5.2.9;

1.5.2.9
date	2003.02.03.17.31.12;	author des;	state Exp;
branches;
next	1.5.2.10;

1.5.2.10
date	2003.07.25.10.35.56;	author ru;	state Exp;
branches;
next	1.5.2.11;

1.5.2.11
date	2012.11.17.07.24.39;	author svnexp;	state Exp;
branches;
next	;

1.5.2.7.4.1
date	2002.07.16.12.33.27;	author des;	state Exp;
branches;
next	;


desc
@@


1.64
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245527
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 245527 2013-01-17 01:51:04Z bz $
#

.include <bsd.own.mk>

PROG=	sshd
SRCS=	sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
	audit.c audit-bsm.c audit-linux.c platform.c \
	sshpty.c sshlogin.c servconf.c serverloop.c \
	auth.c auth1.c auth2.c auth-options.c session.c \
	auth-chall.c auth2-chall.c groupaccess.c \
	auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
	auth2-none.c auth2-passwd.c auth2-pubkey.c auth2-jpake.c \
	monitor_mm.c monitor.c monitor_wrap.c kexdhs.c kexgexs.c kexecdhs.c \
	auth-krb5.c \
	auth2-gss.c gss-serv.c gss-serv-krb5.c \
	loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \
	sftp-server.c sftp-common.c \
	roaming_common.c roaming_serv.c \
	sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c

# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
SRCS+=	gss-genr.c

MAN=	sshd.8 sshd_config.5
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h

DPADD=	${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
LDADD=	-lssh -lutil -lz -lwrap ${MINUSLPAM}

.if ${MK_AUDIT} != "no"
CFLAGS+= -DUSE_BSM_AUDIT -DHAVE_GETAUDIT_ADDR
DPADD+=  ${LIBBSM}
LDADD+=  -lbsm
.endif

.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_KRB5_H=1 -DKRB5 -DHEIMDAL
DPADD+=	 ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1}
LDADD+=	 -lgssapi_krb5 -lgssapi -lkrb5 -lasn1
.endif

.if ${MK_OPENSSH_NONE_CIPHER} != "no"
CFLAGS+= -DNONE_CIPHER_ENABLED
.endif

DPADD+=	${LIBCRYPTO} ${LIBCRYPT}
LDADD+=	-lcrypto -lcrypt

.if defined(LOCALBASE)
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
.endif

.include <bsd.prog.mk>

.PATH:	${SSHDIR}

${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
@


1.64.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:39 +0000
@
text
@d1 58
@


1.64.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 58
# $FreeBSD: releng/8.4/secure/usr.sbin/sshd/Makefile 247521 2013-03-01 02:06:04Z des $
#

.include <bsd.own.mk>

PROG=	sshd
SRCS=	sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
	audit.c audit-bsm.c audit-linux.c platform.c \
	sshpty.c sshlogin.c servconf.c serverloop.c \
	auth.c auth1.c auth2.c auth-options.c session.c \
	auth-chall.c auth2-chall.c groupaccess.c \
	auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
	auth2-none.c auth2-passwd.c auth2-pubkey.c auth2-jpake.c \
	monitor_mm.c monitor.c monitor_wrap.c kexdhs.c kexgexs.c kexecdhs.c \
	auth-krb5.c \
	auth2-gss.c gss-serv.c gss-serv-krb5.c \
	loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \
	sftp-server.c sftp-common.c \
	roaming_common.c roaming_serv.c \
	sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c

# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
SRCS+=	gss-genr.c

MAN=	sshd.8 sshd_config.5
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h

DPADD=	${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
LDADD=	-lssh -lutil -lz -lwrap ${MINUSLPAM}

.if ${MK_AUDIT} != "no"
CFLAGS+= -DUSE_BSM_AUDIT -DHAVE_GETAUDIT_ADDR
DPADD+=  ${LIBBSM}
LDADD+=  -lbsm
.endif

.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_KRB5_H=1 -DKRB5 -DHEIMDAL
DPADD+=	 ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1}
LDADD+=	 -lgssapi_krb5 -lgssapi -lkrb5 -lasn1
.endif

.if ${MK_OPENSSH_NONE_CIPHER} != "no"
CFLAGS+= -DNONE_CIPHER_ENABLED
.endif

DPADD+=	${LIBCRYPTO} ${LIBCRYPT}
LDADD+=	-lcrypto -lcrypt

.if defined(LOCALBASE)
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
.endif

.include <bsd.prog.mk>

.PATH:	${SSHDIR}

${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
@


1.63
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 233432 2012-03-24 19:41:43Z eadler $
d43 4
@


1.62
log
@SVN rev 233432 on 2012-03-24 19:41:43Z by eadler

Restore the ability to use a non-standard LOCALBASE to sshd
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)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.61
log
@SVN rev 233136 on 2012-03-19 00:41:40Z by eadler

X11BASE is not used any more and has been killed by the x11 team.

Reviewed by:	???
Approved by:	???
MFC after:	3 days
@
text
@d46 4
@


1.60
log
@SVN rev 226046 on 2011-10-05 22:08:17Z by des

Upgrade to OpenSSH 5.9p1.

MFC after:	3 months
@
text
@a42 13
.if defined(X11BASE)
# Recommended /etc/make.conf setting is X11BASE=${LOCALBASE} for x.org
# 7.x upgrade on <= 6.2, but LOCALBASE has moved out of scope of src/
# so we need to provide the default for users with old make.conf
# settings.
LOCALBASE?=	/usr/local

# Users may override either LOCALBASE or X11BASE to move the location
# of xauth
X11BASE?=	${LOCALBASE}
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
.endif

@


1.59
log
@SVN rev 221420 on 2011-05-04 07:34:44Z by des

Upgrade to OpenSSH 5.8p2.
@
text
@d19 2
a20 1
	roaming_common.c roaming_serv.c
@


1.59.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.59.2.2
log
@SVN rev 233632 on 2012-03-29 01:46:01Z by eadler

MFC r233136, r233432:
	Restore the ability to use a non-standard LOCALBASE to sshd
	Add the ability to use a non-standard LOCALBASE to ssh

Approved by:	cperciva (implicit)
@
text
@d42 13
a57 4
.if defined(LOCALBASE)
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
.endif

@


1.59.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/secure/usr.sbin/sshd/Makefile 233632 2012-03-29 01:46:01Z eadler $
@


1.59.2.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247485
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/secure/usr.sbin/sshd/Makefile 247485 2013-02-28 18:43:50Z des $
d19 1
a19 2
	roaming_common.c roaming_serv.c \
	sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c
@


1.59.2.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247515
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/secure/usr.sbin/sshd/Makefile 247515 2013-03-01 01:02:26Z des $
a42 4
.if ${MK_OPENSSH_NONE_CIPHER} != "no"
CFLAGS+= -DNONE_CIPHER_ENABLED
.endif

@


1.59.2.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/263421
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/secure/usr.sbin/sshd/Makefile 263421 2014-03-20 10:56:05Z des $
a29 1
USEPRIVATELIB= ssh
@


1.59.2.7
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/263970
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 2
a2 1
# $FreeBSD: stable/9/secure/usr.sbin/sshd/Makefile 263970 2014-03-31 14:39:56Z des $
d13 1
a13 1
	auth2-none.c auth2-passwd.c auth2-pubkey.c \
d15 1
a15 1
	kexc25519s.c auth-krb5.c \
d20 1
a20 2
	sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c \
	sandbox-seccomp-filter.c sandbox-capsicum.c
d28 2
a29 2
DPADD=	${LIBSSH} ${LIBUTIL} ${LIBWRAP} ${LIBPAM}
LDADD=	-lssh -lutil -lwrap ${MINUSLPAM}
d39 3
a41 5
CFLAGS+= -include krb5_config.h
DPADD+=	 ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBASN1} \
	${LIBCOM_ERR} ${LIBROKEN}
LDADD+=	 -lgssapi_krb5 -lgssapi -lkrb5 -lhx509 -lasn1 \
	-lcom_err -lroken
d48 2
a49 2
DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD+= -lcrypt -lcrypto -lz
a59 3
.if ${MK_KERBEROS_SUPPORT} != "no"
${OBJS} ${POBJS} ${SOBJS}: krb5_config.h
.endif
@


1.59.2.8
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/265314
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/secure/usr.sbin/sshd/Makefile 265314 2014-05-04 07:57:20Z kib $
a52 10
# Fix the order of NEEDED entries for libthr and libc. The libthr
# needs to interpose libc symbols, leaving the libthr loading as
# dependency of krb causes reversed order and broken interposing. Put
# the threading library last on the linker command line, just before
# the -lc added by a compiler driver.
.if ${MK_KERBEROS_SUPPORT} != "no"
DPADD+= ${LIBPTHREAD}
LDADD+= -lpthread
.endif

@


1.59.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.59.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/secure/usr.sbin/sshd/Makefile 233632 2012-03-29 01:46:01Z eadler $
@


1.59.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.59.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/secure/usr.sbin/sshd/Makefile 221420 2011-05-04 07:34:44Z des $
@


1.58
log
@SVN rev 204917 on 2010-03-09 19:16:43Z by des

Upgrade to OpenSSH 5.4p1.

MFC after:	1 month
@
text
@d8 1
d14 1
a14 1
	monitor_mm.c monitor.c monitor_wrap.c kexdhs.c kexgexs.c \
d18 1
a18 1
	audit.c audit-bsm.c platform.c sftp-server.c sftp-common.c \
@


1.57
log
@SVN rev 204355 on 2010-02-26 12:12:54Z by ru

(Almost) fixed static linkage.  The remaining problem is with
libgssapi.a and libgssapi_krb5.a libraries that define the
same symbols.
@
text
@d18 1
a18 1
	roaming_common.c
@


1.56
log
@SVN rev 197679 on 2009-10-01 17:12:52Z by des

Upgrade to OpenSSH 5.3p1.
@
text
@d37 2
a38 2
DPADD+=	 ${LIBGSSAPI} ${LIBGSSAPI_KRB5}
LDADD+=	 -lgssapi -lgssapi_krb5
@


1.55
log
@SVN rev 192595 on 2009-05-22 18:46:28Z by des

Upgrade to OpenSSH 5.2p1.

MFC after:	3 months
@
text
@d18 1
a18 1
	gss-genr.c
d21 1
@


1.55.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.55.2.2
log
@SVN rev 206984 on 2010-04-21 06:33:10Z by des

MFH OpenSSH 5.4p1
@
text
@d18 1
a18 1
	roaming_common.c roaming_serv.c
a20 1
SRCS+=	gss-genr.c
d36 2
a37 2
DPADD+=	 ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1}
LDADD+=	 -lgssapi_krb5 -lgssapi -lkrb5 -lasn1
@


1.55.2.3
log
@SVN rev 233633 on 2012-03-29 01:46:30Z by eadler

MFC r233136, r233432:
	Restore the ability to use a non-standard LOCALBASE to sshd
	Add the ability to use a non-standard LOCALBASE to ssh

Approved by:	cperciva (implicit)
@
text
@d41 13
a56 4
.if defined(LOCALBASE)
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
.endif

@


1.55.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/secure/usr.sbin/sshd/Makefile 233633 2012-03-29 01:46:30Z eadler $
@


1.55.2.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247521
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/secure/usr.sbin/sshd/Makefile 247521 2013-03-01 02:06:04Z des $
a7 1
	audit.c audit-bsm.c audit-linux.c platform.c \
d13 1
a13 1
	monitor_mm.c monitor.c monitor_wrap.c kexdhs.c kexgexs.c kexecdhs.c \
d17 2
a18 3
	sftp-server.c sftp-common.c \
	roaming_common.c roaming_serv.c \
	sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c
a40 4
.if ${MK_OPENSSH_NONE_CIPHER} != "no"
CFLAGS+= -DNONE_CIPHER_ENABLED
.endif

@


1.55.2.2.6.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.55.2.2.6.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/secure/usr.sbin/sshd/Makefile 206984 2010-04-21 06:33:10Z des $
@


1.55.2.2.4.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.55.2.2.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.55.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.54
log
@SVN rev 185476 on 2008-11-30 15:35:24Z by csjp

Enable getaudit_addr(2) for sshd again.  This will un-break the subject
BSM audit tokens for IPv6.
@
text
@d12 1
a12 1
	auth2-none.c auth2-passwd.c auth2-pubkey.c \
@


1.53
log
@SVN rev 181111 on 2008-08-01 02:48:36Z by des

Upgrade to OpenSSH 5.1p1.

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
@
text
@d29 1
a29 1
CFLAGS+= -DUSE_BSM_AUDIT
@


1.52
log
@Fix conflicts after heimdal-1.1 import and add build infrastructure. Import
all non-style changes made by heimdal to our own libgssapi.
@
text
@d17 1
a17 1
	audit.c audit-bsm.c platform.c \
@


1.51
log
@For users of FreeBSD <= 6.2 we recommend during the x.org 7.x upgrade
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
@
text
@d35 3
a37 3
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
DPADD+=	 ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
LDADD+=	 -lgssapi -lkrb5 -lasn1 -lcom_err -lroken
@


1.50
log
@Update for OpenSSH 4.4p1.

MFC after:	1 week
@
text
@d41 9
@


1.50.2.1
log
@MFC: Repair handling of X11BASE and LOCALBASE
@
text
@a40 9
# Recommended /etc/make.conf setting is X11BASE=${LOCALBASE} for x.org
# 7.x upgrade on <= 6.2, but LOCALBASE has moved out of scope of src/
# so we need to provide the default for users with old make.conf
# settings.
LOCALBASE?=	/usr/local

# Users may override either LOCALBASE or X11BASE to move the location
# of xauth
X11BASE?=	${LOCALBASE}
@


1.50.2.2
log
@SVN rev 182634 on 2008-09-01 20:03:13Z by des

MFH OpenSSH 5.1p1
@
text
@d17 1
a17 1
	audit.c audit-bsm.c platform.c sftp-server.c sftp-common.c \
d35 3
a37 3
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_KRB5_H=1 -DKRB5 -DHEIMDAL
DPADD+=	 ${LIBGSSAPI} ${LIBGSSAPI_KRB5}
LDADD+=	 -lgssapi -lgssapi_krb5
@


1.50.2.3
log
@SVN rev 233634 on 2012-03-29 01:46:56Z by eadler

MFC r233136, r233432:
	Restore the ability to use a non-standard LOCALBASE to sshd
	Add the ability to use a non-standard LOCALBASE to ssh

Approved by:	cperciva (implicit)
@
text
@d40 13
a55 4
.if defined(LOCALBASE)
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
.endif

@


1.50.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/secure/usr.sbin/sshd/Makefile 233634 2012-03-29 01:46:56Z eadler $
@


1.50.2.2.8.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.50.2.2.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/secure/usr.sbin/sshd/Makefile 182634 2008-09-01 20:03:13Z des $
@


1.50.2.2.6.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.50.2.2.4.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.50.2.2.2.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.49
log
@Add a manual dependency on ssh_namespace.h.

Discussed with:	ru
@
text
@d17 1
a17 1
	audit.c audit-bsm.c \
@


1.48
log
@Introduce a namespace munging hack inspired by NetBSD to avoid polluting
the namespace of applications which inadvertantly link in libssh (usually
through pam_ssh)

Suggested by:	lukem@@netbsd.org
MFC after:	6 weeks
@
text
@d50 2
@


1.47
log
@Reimplementation of world/kernel build options.  For details, see:

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)
@
text
@d23 1
a23 1
CFLAGS+=-I${SSHDIR}
@


1.46
log
@Hook audit into OpenSSH. Now that the necessary bits for OpenSSH support
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
@
text
@d4 2
d28 1
a28 1
.if !defined(NO_AUDIT)
d34 1
a34 1
.if !defined(NO_KERBEROS)
@


1.45
log
@Add a new extensible GSS-API layer which can support GSS-API plugins,
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 Hrnquist strand <lha@@it.su.se>, ru (build system), des (openssh parts)
@
text
@d26 6
@


1.44
log
@Revert the commits that made libssh an INTERNALLIB; they caused too much
trouble, especially on amd64.

Requested by:	ru
@
text
@d27 1
a27 1
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_H=1 -DKRB5 -DHEIMDAL
@


1.44.2.1
log
@MFC: namespace munging hack
@
text
@d21 1
a21 1
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
a41 2

${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
@


1.44.2.2
log
@Hook audit into the OpenSSH build, this results in audit records being
submitted for successful/failed logins, as well as having OpenSSH set
the audit context for a user when they login.

Reviewed by:	rwatson
Obtained from:	TrustedBSD Project
@
text
@a25 6
.if !defined(NO_AUDIT)
CFLAGS+= -DUSE_BSM_AUDIT
DPADD+=  ${LIBBSM}
LDADD+=  -lbsm
.endif

@


1.44.2.3
log
@MFC: OpenSSH 4.4p1.

Approved by:	re (kensmith)
@
text
@d15 1
a15 1
	audit.c audit-bsm.c platform.c \
@


1.44.2.4
log
@MFC: Repair handling of X11BASE and LOCALBASE
@
text
@a38 9
# Recommended /etc/make.conf setting is X11BASE=${LOCALBASE} for x.org
# 7.x upgrade on <= 6.2, but LOCALBASE has moved out of scope of src/
# so we need to provide the default for users with old make.conf
# settings.
LOCALBASE?=	/usr/local

# Users may override either LOCALBASE or X11BASE to move the location
# of xauth
X11BASE?=	${LOCALBASE}
@


1.44.2.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/secure/usr.sbin/sshd/Makefile 177499 2008-03-22 15:13:26Z kris $
@


1.44.2.4.2.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.43
log
@Make libssh an INTERNALLIB like it is in {Net,Open}BSD.
@
text
@d2 1
a2 2

LIBSSH=	${.OBJDIR}/../../lib/libssh/libssh.a
d15 4
a18 1
	audit.c audit-bsm.c
d24 1
a24 1
LDADD=	${LIBSSH} -lutil -lz -lwrap ${MINUSLPAM}
@


1.42
log
@Update for OpenSSH 4.1p1.
@
text
@d2 2
a3 1
#
d16 1
a16 4
	audit.c audit-bsm.c \
	gss-genr.c

# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
d22 1
a22 1
LDADD=	-lssh -lutil -lz -lwrap ${MINUSLPAM}
@


1.41
log
@NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR
@
text
@d15 1
d17 3
d27 1
a27 1
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
a38 11
.if defined(OPENSSH_USE_POSIX_THREADS)
.if ((${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
    ${MACHINE_ARCH} == "ia64") && !defined(NO_LIBPTHREAD)) || \
    ((${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64") && \
    !defined(NO_LIBC_R))
CFLAGS+=-DUSE_POSIX_THREADS
DPADD+= ${LIBPTHREAD}
LDADD+= -lpthread
.endif
.endif

@


1.40
log
@Update for OpenSSH 3.9p1.
@
text
@d37 1
a37 1
    ${MACHINE_ARCH} == "ia64") && !defined(NOLIBPTHREAD)) || \
d39 1
a39 1
    !defined(NOLIBC_R))
@


1.39
log
@Update for 3.8p1, including workaround for a bug in gss-genr.c.
@
text
@d6 1
a6 1
	sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
d11 1
a11 2
	monitor_mm.c monitor.c monitor_wrap.c monitor_fdpass.c \
	kexdhs.c kexgexs.c \
@


1.38
log
@Use the default threading library if requested.

Reviewed by:	des, deischen
@
text
@d15 2
a16 1
	loginrec.c auth-pam.c auth-sia.c md5crypt.c
@


1.37
log
@- Removed libmd from the Kerberos library set.

- 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
@
text
@d35 5
a39 1
.if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R)
d41 3
a43 2
DPADD+= ${LIBC_R}
LDADD+= -lc_r
@


1.36
log
@Fixed static linkage.

Reviewed by:	des
@
text
@d24 2
a25 2
DPADD+=	 ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
LDADD+=	 -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
a27 3
DPADD+=	${LIBOPIE} ${LIBMD}
LDADD+=	-lopie -lmd

d32 2
a33 2
DPADD+=	${LIBCRYPT} ${LIBCRYPTO}
LDADD+=	-lcrypt -lcrypto
@


1.35
log
@Enable GSSAPI support. [1]
Also remove some duplicates from ssh's SRCS.

Submitted by:	[1] Bjrn Grnvall <bg@@sics.se>
@
text
@d19 3
d35 2
a36 2
DPADD+=	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
LDADD+=	-lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
@


1.34
log
@Update Makefiles for OpenSSH 3.7.1p2.
@
text
@d20 3
a22 3
CFLAGS+= -DKRB5 -DHEIMDAL
DPADD+=	 ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
LDADD+=	 -lkrb5 -lasn1 -lcom_err -lmd -lroken
@


1.33
log
@Fixed "make checkdpadd".

OK'ed by:	markm
@
text
@d9 1
a9 1
	auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \
d11 5
a15 5
	auth2-hostbased.c auth2-kbdint.c \
	auth2-pam-freebsd.c monitor_wrap.c monitor_fdpass.c \
	kexdhs.c kexgexs.c
# Portability layer
SRCS+=	loginrec.c
d21 1
a21 1
SRCS+=	auth-krb5.c
a22 1
DPADD+=	 ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
d25 1
a26 1
DPADD+=	${LIBOPIE} ${LIBMD}
d32 1
a33 1
DPADD+=	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
d37 1
a38 1
DPADD+= ${LIBC_R}
@


1.32
log
@Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
@
text
@d22 2
a23 2
LDADD+=	 -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken
DPADD+=	 ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD}
@


1.31
log
@We no longer have a separate kerberos distribution. Its now just
part of the regular security dist.
@
text
@d19 1
a19 1
.if defined(MAKE_KERBEROS5)
@


1.30
log
@Update for 3.6.1p1; also remove Kerberos IV shims.
@
text
@a19 1
DISTRIBUTION=krb5
@


1.29
log
@ia64 and sparc64 both have libc_r now.
@
text
@d12 2
a13 1
	auth2-pam-freebsd.c monitor_wrap.c monitor_fdpass.c
a17 8

.if defined(MAKE_KERBEROS4)
DISTRIBUTION=krb4
CFLAGS+= -DKRB4
SRCS+=	auth-krb4.c
LDADD+=	 -lkrb -lcom_err
DPADD+=	 ${LIBKRB} ${LIBCOM_ERR}
.endif
@


1.28
log
@Don't build auth-pam.c and auth2-pam.c, auth2-pam-freebsd.c is all we need.
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
@
text
@d44 1
a44 2
.if defined(OPENSSH_USE_POSIX_THREADS) && \
    !defined(NOLIBC_R) && ${MACHINE_ARCH} != ia64 && ${MACHINE_ARCH} != sparc64
@


1.27
log
@No guts, no glory.  Switch to OpenSSH-portable.

Sponsored by:	DARPA, NAI Labs
@
text
@d12 1
a12 1
	auth-pam.c auth2-pam.c auth2-pam-freebsd.c
d43 7
@


1.26
log
@Install the new man pages.
@
text
@d12 3
a14 1
	auth-pam.c auth2-pam.c
d16 1
a16 2

CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DUSE_PAM -DHAVE_PAM_GETENVLIST
d28 1
a28 1
CFLAGS+= -DKRB5
a33 1
CFLAGS+= -DSKEY
@


1.25
log
@Update Makefiles for OpenSSH 3.3.
@
text
@d13 1
a13 1
MAN=	sshd.8
@


1.24
log
@Milestone #1 in cross-arch make releases.

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>
@
text
@d6 1
a6 1
	sshpty.c sshlogin.c servconf.c serverloop.c \
d8 5
a12 2
	auth-chall.c auth2-chall.c auth-skey.c auth-pam.c auth2-pam.c \
	groupaccess.c
@


1.23
log
@Switch over to using pam_login_access(8) module in sshd(8).
(Fixes static compilation.  Reduces diffs to OpenSSH.)

Reviewed by:	bde
@
text
@d14 1
a14 2
.if defined(MAKE_KERBEROS4) && \
	((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))
d20 1
a20 1
.endif # MAKE_KERBEROS4
d22 1
a22 2
.if defined(MAKE_KERBEROS5) && \
	((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES"))
d28 1
a28 1
.endif # MAKE_KERBEROS5
@


1.22
log
@Use PAM instead of S/Key (or OPIE) for SSH2.

Sponsored by:	DARPA, NAI Labs
@
text
@a3 2
LOGINSRC= ${.CURDIR}/../../../usr.bin/login

d9 1
a9 1
	groupaccess.c login_access.c
d12 1
a12 1
CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC} -DUSE_PAM -DHAVE_PAM_GETENVLIST
d45 1
a45 1
.PATH:	${SSHDIR} ${LOGINSRC}
@


1.21
log
@Don't forget auth-skey.c.
@
text
@d10 2
a11 2
	auth-chall.c auth2-chall.c auth-skey.c auth-pam.c login_access.c \
	groupaccess.c
@


1.20
log
@Add pam_ssh support to the static PAM library, libpam.a:

- 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
@
text
@d10 2
a11 1
	auth-chall.c auth2-chall.c auth-pam.c login_access.c groupaccess.c
@


1.19
log
@Fixed world breakage in rev.1.13.  -lpam must never be used directly since
it doesn't work for static linkage.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.18 2001/06/12 03:43:41 green Exp $
d41 1
a41 1
LDADD+=	${LIBSSH} -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
@


1.18
log
@Enable Kerberos 5 support in sshd again.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.17 2001/05/04 23:55:18 green Exp $
d41 1
a41 1
LDADD+=	${LIBSSH} -lcrypt -lcrypto -lutil -lz -lwrap -lpam
@


1.17
log
@Update to OpenSSH 2.9.  Somehow this missed getting committed yesterday.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.16 2001/05/04 05:07:43 green Exp $
a23 1
.if 0
a31 1
.endif # 0
@


1.16
log
@Don't build with Kerberos 5 support for now.  I'll fix this soon,
but I don't want to break Kerberos 5 users' worlds too much in the
meantime.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.15 2001/03/26 14:53:33 ru Exp $
d8 3
a10 3
	pty.c log-server.c login.c servconf.c serverloop.c \
	auth.c auth1.c auth2.c auth-options.c session.c login_access.c dh.c \
	auth-pam.c
@


1.15
log
@secure/ build fixes:

- 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.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.14 2001/02/08 21:16:34 nectar Exp $
d24 1
d33 1
@


1.14
log
@Define HAVE_PAM_GETENVLIST for build.  Now environmental variables set
by PAM modules will be exported (correctly).
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.13 2000/12/06 10:57:57 green Exp $
a3 1
SSHSRC=	${.CURDIR}/../../../crypto/openssh
a6 4
BINOWN=	root
BINMODE=555
MAN8=	sshd.8

d11 1
a14 4
.include <bsd.own.mk>

.PATH:		${SSHSRC} ${LOGINSRC}

a36 2
.include <bsd.prog.mk>

d41 6
a46 3
LDADD+=	-L${.OBJDIR}/../../lib/libssh -lssh -lcrypt -lcrypto -lutil -lz -lwrap \
	-lpam
DPADD+=	${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
@


1.13
log
@The PAM support for our OpenSSH is sponsored by Enitel ASA.

PAM support by:	Eivind Eklund <eivind@@FreeBSD.org>
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.12 2000/12/05 03:01:33 green Exp $
d17 1
a17 1
CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC} -DUSE_PAM
@


1.12
log
@Update for OpenSSH 2.3.0.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.11 2000/09/10 09:43:29 kris Exp $
@


1.11
log
@Update for OpenSSH 2.2.0
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.10 2000/09/02 07:32:05 kris Exp $
d14 2
a15 1
	auth.c auth1.c auth2.c auth-options.c session.c login_access.c
d17 1
a17 1
CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC}
d51 3
a53 2
LDADD+=	-L${.OBJDIR}/../../lib/libssh -lssh -lcrypt -lcrypto -lutil -lz -lwrap
DPADD+=	${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP}
@


1.10
log
@Err, we weren't even compiling auth1.c with LOGIN_CAP at all. Guess nobody
was using this feature.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.9 2000/07/16 05:53:09 peter Exp $
d14 1
a14 1
	auth.c auth1.c auth2.c session.c login_access.c
d16 1
a16 1
CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -DLOGIN_CAP -I${LOGINSRC}
d45 4
@


1.9
log
@Forced commit.  This is to try and help folks that used the international
crypto repo and have slightly different files but with the same version.
cvsup in 'checkout mode' has no trouble with this, but cvs can get really
silly about it.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.8 2000/06/11 05:30:52 kris Exp $
d16 1
a16 1
CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -I${LOGINSRC}
@


1.8
log
@Link explicitly against -lmd. I'm not sure what was pulling this in
on -current, but it doesnt do it on -stable.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.7 2000/05/15 05:26:50 kris Exp $
@


1.7
log
@Update for OpenSSH 2.1
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.6 2000/03/26 07:54:12 kris Exp $
d41 2
a42 2
LDADD+=	-lopie
DPADD+=	${LIBOPIE}
@


1.6
log
@Update for latest OpenSSH
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5 2000/03/09 14:54:00 markm Exp $
d12 3
a14 3
SRCS=	auth-passwd.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c \
	key.c log-server.c login.c login_access.c pty.c servconf.c \
	serverloop.c sshd.c \
d39 4
@


1.5
log
@Make LOGIN_CAP work properly.

Submitted by:	ache
@
text
@d1 1
a1 1
# $FreeBSD$
d12 3
a14 3
SRCS=	sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
	pty.c log-server.c login.c servconf.c serverloop.c \
	login_access.c
@


1.5.2.1
log
@MFC: OpenSSH 2.1.0
@
text
@d14 1
a14 1
	auth.c auth1.c auth2.c session.c login_access.c
a38 4

CFLAGS+= -DSKEY
LDADD+=	-lopie
DPADD+=	${LIBOPIE}
@


1.5.2.2
log
@MFC: Link against -lmd
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5.2.1 2000/06/09 07:23:25 kris Exp $
d41 2
a42 2
LDADD+=	-lopie -lmd
DPADD+=	${LIBOPIE} ${LIBMD}
@


1.5.2.3
log
@MFC: Sync with recent bugfixes and changes in -current.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5.2.2 2000/06/11 05:32:11 kris Exp $
d16 1
a16 1
CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -DLOGIN_CAP -I${LOGINSRC}
@


1.5.2.4
log
@MFC: OpenSSH 2.2.0
@
text
@d1 1
a1 1
# $FreeBSD$
d14 1
a14 1
	auth.c auth1.c auth2.c auth-options.c session.c login_access.c
d16 1
a16 1
CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC}
a44 4

.if defined(X11BASE)
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
.endif
@


1.5.2.5
log
@MFC: OpenSSH 2.3.0

Reviewed by:	freefall
@
text
@d14 1
a14 2
	auth.c auth1.c auth2.c auth-options.c session.c login_access.c dh.c \
	auth-pam.c
d16 1
a16 1
CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC} -DUSE_PAM
d50 2
a51 3
LDADD+=	-L${.OBJDIR}/../../lib/libssh -lssh -lcrypt -lcrypto -lutil -lz -lwrap \
	-lpam
DPADD+=	${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
@


1.5.2.6
log
@MFC 1.14: HAVE_PAM_GETENVLIST
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5.2.5 2001/01/12 04:26:22 green Exp $
d17 1
a17 1
CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC} -DUSE_PAM -DHAVE_PAM_GETENVLIST
@


1.5.2.7
log
@MFC: OpenSSH 2.9

The only difference between this and what's in -CURRENT is that the
default /etc/ssh/ssh_config sets "Protocol 1,2" for all hosts.  This can
be overrided entirely in user ~/.ssh/config files, as always.
@
text
@d1 1
a1 1
# $FreeBSD$
d4 1
d8 4
d13 3
a15 4
	sshpty.c sshlogin.c servconf.c serverloop.c \
	auth.c auth1.c auth2.c auth-options.c session.c \
	auth-chall.c auth2-chall.c auth-pam.c login_access.c groupaccess.c
MAN=	sshd.8
d19 4
d45 2
d51 3
a53 6
LDADD+=	${LIBSSH} -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
DPADD+=	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}

.include <bsd.prog.mk>

.PATH:	${SSHDIR} ${LOGINSRC}
@


1.5.2.7.4.1
log
@Merge OpenSSH, OPIE, PAM and a number of dependencies from -STABLE.
@
text
@d4 2
d8 1
a8 1
	sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
d10 4
a13 9
	auth-chall.c auth2-chall.c groupaccess.c \
	auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \
	auth2-none.c auth2-passwd.c auth2-pubkey.c \
	auth2-hostbased.c auth2-kbdint.c \
	auth-pam.c auth2-pam.c auth2-pam-freebsd.c
# Portability layer
SRCS+=	loginrec.c
MAN=	sshd.8 sshd_config.5
CFLAGS+=-I${SSHDIR}
d15 2
a16 1
.if defined(MAKE_KERBEROS4)
d22 1
a22 1
.endif
d24 2
a25 1
.if defined(MAKE_KERBEROS5)
d27 1
a27 1
CFLAGS+= -DKRB5 -DHEIMDAL
d31 1
a31 1
.endif
d33 1
d41 1
a41 1
LDADD+=	-lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
d46 1
a46 1
.PATH:	${SSHDIR}
@


1.5.2.8
log
@Update Makefiles for OpenSSH 3.4p1.  Remove some hacks made superfluous
by an earlier commit to src/Makefile.inc1.  Reduce diffs against -CURRENT.

Sponsored by:	DARPA, NAI Labs
@
text
@d4 2
d8 1
a8 1
	sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
d10 4
a13 9
	auth-chall.c auth2-chall.c groupaccess.c \
	auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \
	auth2-none.c auth2-passwd.c auth2-pubkey.c \
	auth2-hostbased.c auth2-kbdint.c \
	auth-pam.c auth2-pam.c auth2-pam-freebsd.c
# Portability layer
SRCS+=	loginrec.c
MAN=	sshd.8 sshd_config.5
CFLAGS+=-I${SSHDIR}
d15 2
a16 1
.if defined(MAKE_KERBEROS4)
d22 1
a22 1
.endif
d24 2
a25 1
.if defined(MAKE_KERBEROS5)
d27 1
a27 1
CFLAGS+= -DKRB5 -DHEIMDAL
d31 1
a31 1
.endif
d33 1
d41 1
a41 1
LDADD+=	-lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
d46 1
a46 1
.PATH:	${SSHDIR}
@


1.5.2.9
log
@MFC: OpenSSH 3.5p1, with all FreeBSD patches.
@
text
@d12 1
a12 1
	auth2-pam-freebsd.c monitor_wrap.c monitor_fdpass.c
a42 6

.if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R)
CFLAGS+=-DUSE_POSIX_THREADS
LDADD+= -lc_r
DPADD+= ${LIBC_R}
.endif
@


1.5.2.10
log
@Fixed broken -DNOSHARED build in secure/usr.sbin/sshd.
@
text
@d30 2
a31 2
LDADD+=	 -lkrb5 -lasn1 -lcom_err -lmd -lroken
DPADD+=	 ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
@


1.5.2.11
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/secure/usr.sbin/sshd/Makefile 118009 2003-07-25 10:35:56Z ru $
@


1.4
log
@MFI: Make ssh and sshd link in the krb5 part of make release.

Reviewed by:	markm
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.3 2000/02/28 19:25:34 markm Exp $
d5 1
d13 2
a14 1
	pty.c log-server.c login.c servconf.c serverloop.c
d16 1
a16 1
CFLAGS=	-DLIBWRAP
d20 1
a20 1
.PATH:		${SSHSRC}
@


1.3
log
@New distribution names.
@
text
@d1 1
a1 1
# $FreeBSD$
d34 2
a35 2
LDADD+=	 -lkrb5 -lkafs -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken
DPADD+=	 ${LIBKRB5} ${LIBCOM_ERR} ${LIBKAFS} ${LIBASN1} ${LIBMD}
@


1.2
log
@Don't pull in libRSAglue for the rsaref case.  Since this is linked
dynamically by default, we use the dlopen() calls to load librsaref.so
on US code trees.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.1 2000/02/24 17:00:55 markm Exp $
d22 1
d31 1
d34 2
a35 2
LDADD+=	 -lkrb5 -lcom_err
DPADD+=	 ${LIBKRB5} ${LIBCOM_ERR}
@


1.1
log
@Add the OpenSSH userland-building Makefiles.
@
text
@d1 1
a1 1
# $FreeBSD$
a39 4
.if defined(RSAREF) && ${RSAREF} == YES
LDADD+=	-lRSAglue
DPADD+= ${LIBRSAGLUE}
.endif
@

