head	1.32;
access;
symbols
	perseant-exfatfs-base-20250801:1.32
	perseant-exfatfs-base-20240630:1.32
	perseant-exfatfs:1.32.0.24
	perseant-exfatfs-base:1.32
	cjep_sun2x:1.32.0.22
	cjep_sun2x-base:1.32
	cjep_staticlib_x-base1:1.32
	cjep_staticlib_x:1.32.0.20
	cjep_staticlib_x-base:1.32
	phil-wifi-20200421:1.32
	phil-wifi-20200411:1.32
	phil-wifi-20200406:1.32
	pgoyette-compat-merge-20190127:1.32
	pgoyette-compat-20190127:1.32
	pgoyette-compat-20190118:1.32
	pgoyette-compat-1226:1.32
	pgoyette-compat-1126:1.32
	pgoyette-compat-1020:1.32
	pgoyette-compat-0930:1.32
	pgoyette-compat-0906:1.32
	pgoyette-compat-0728:1.32
	pgoyette-compat-0625:1.32
	pgoyette-compat-0521:1.32
	pgoyette-compat-0502:1.32
	pgoyette-compat-0422:1.32
	pgoyette-compat-0415:1.32
	pgoyette-compat-0407:1.32
	pgoyette-compat-0330:1.32
	pgoyette-compat-0322:1.32
	pgoyette-compat-0315:1.32
	pgoyette-compat:1.32.0.18
	pgoyette-compat-base:1.32
	perseant-stdc-iso10646:1.32.0.16
	perseant-stdc-iso10646-base:1.32
	prg-localcount2-base3:1.32
	prg-localcount2-base2:1.32
	prg-localcount2-base1:1.32
	prg-localcount2:1.32.0.14
	prg-localcount2-base:1.32
	pgoyette-localcount-20170426:1.32
	bouyer-socketcan-base1:1.32
	pgoyette-localcount-20170320:1.32
	bouyer-socketcan:1.32.0.12
	bouyer-socketcan-base:1.32
	pgoyette-localcount-20170107:1.32
	pgoyette-localcount-20161104:1.32
	localcount-20160914:1.32
	pgoyette-localcount-20160806:1.32
	pgoyette-localcount-20160726:1.32
	pgoyette-localcount:1.32.0.10
	pgoyette-localcount-base:1.32
	netbsd-5-2-3-RELEASE:1.31
	netbsd-5-1-5-RELEASE:1.31
	yamt-pagecache-base9:1.32
	yamt-pagecache-tag8:1.32
	tls-earlyentropy:1.32.0.6
	tls-earlyentropy-base:1.32
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.32
	riastradh-drm2-base3:1.32
	netbsd-5-2-2-RELEASE:1.31
	netbsd-5-1-4-RELEASE:1.31
	netbsd-5-2-1-RELEASE:1.31
	netbsd-5-1-3-RELEASE:1.31
	agc-symver:1.32.0.8
	agc-symver-base:1.32
	tls-maxphys-base:1.32
	yamt-pagecache-base8:1.32
	netbsd-5-2:1.31.0.6
	yamt-pagecache-base7:1.32
	netbsd-5-2-RELEASE:1.31
	netbsd-5-2-RC1:1.31
	yamt-pagecache-base6:1.32
	yamt-pagecache-base5:1.32
	yamt-pagecache-base4:1.32
	netbsd-5-1-2-RELEASE:1.31
	netbsd-5-1-1-RELEASE:1.31
	yamt-pagecache-base3:1.32
	yamt-pagecache-base2:1.32
	yamt-pagecache:1.32.0.4
	yamt-pagecache-base:1.32
	bouyer-quota2-nbase:1.32
	bouyer-quota2:1.32.0.2
	bouyer-quota2-base:1.32
	matt-nb5-mips64-premerge-20101231:1.31
	matt-nb5-pq3:1.31.0.18
	matt-nb5-pq3-base:1.31
	netbsd-5-1:1.31.0.16
	netbsd-5-1-RELEASE:1.31
	netbsd-5-1-RC4:1.31
	matt-nb5-mips64-k15:1.31
	netbsd-5-1-RC3:1.31
	netbsd-5-1-RC2:1.31
	netbsd-5-1-RC1:1.31
	netbsd-5-0-2-RELEASE:1.31
	matt-nb5-mips64-premerge-20091211:1.31
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.31
	matt-nb4-mips64-k7-u2a-k9b:1.31
	matt-nb5-mips64-u1-k1-k5:1.31
	matt-nb5-mips64:1.31.0.14
	netbsd-5-0-1-RELEASE:1.31
	jym-xensuspend-nbase:1.31
	netbsd-5-0:1.31.0.12
	netbsd-5-0-RELEASE:1.31
	netbsd-5-0-RC4:1.31
	netbsd-5-0-RC3:1.31
	netbsd-5-0-RC2:1.31
	jym-xensuspend:1.31.0.10
	jym-xensuspend-base:1.31
	netbsd-5-0-RC1:1.31
	netbsd-5:1.31.0.8
	netbsd-5-base:1.31
	matt-mips64-base2:1.31
	matt-mips64:1.28.0.20
	netbsd-4-0-1-RELEASE:1.28
	wrstuden-revivesa-base-3:1.31
	wrstuden-revivesa-base-2:1.31
	wrstuden-fixsa-newbase:1.28
	wrstuden-revivesa-base-1:1.31
	yamt-pf42-base4:1.31
	yamt-pf42-base3:1.31
	hpcarm-cleanup-nbase:1.31
	yamt-pf42-baseX:1.31
	yamt-pf42-base2:1.31
	wrstuden-revivesa:1.31.0.4
	wrstuden-revivesa-base:1.31
	yamt-pf42:1.31.0.2
	yamt-pf42-base:1.31
	keiichi-mipv6-nbase:1.28
	keiichi-mipv6:1.28.0.18
	keiichi-mipv6-base:1.28
	matt-armv6-nbase:1.28
	matt-armv6-prevmlocking:1.28
	wrstuden-fixsa-base-1:1.28
	netbsd-4-0:1.28.0.16
	netbsd-4-0-RELEASE:1.28
	cube-autoconf:1.28.0.14
	cube-autoconf-base:1.28
	netbsd-4-0-RC5:1.28
	netbsd-4-0-RC4:1.28
	netbsd-4-0-RC3:1.28
	netbsd-4-0-RC2:1.28
	netbsd-4-0-RC1:1.28
	matt-armv6:1.28.0.12
	matt-armv6-base:1.28
	matt-mips64-base:1.28
	hpcarm-cleanup:1.28.0.10
	hpcarm-cleanup-base:1.28
	netbsd-3-1-1-RELEASE:1.25.2.1
	netbsd-3-0-3-RELEASE:1.25.2.1
	wrstuden-fixsa:1.28.0.8
	wrstuden-fixsa-base:1.28
	abandoned-netbsd-4-base:1.28
	abandoned-netbsd-4:1.28.0.4
	netbsd-3-1:1.25.2.1.0.4
	netbsd-3-1-RELEASE:1.25.2.1
	netbsd-3-0-2-RELEASE:1.25.2.1
	netbsd-3-1-RC4:1.25.2.1
	netbsd-3-1-RC3:1.25.2.1
	netbsd-3-1-RC2:1.25.2.1
	netbsd-3-1-RC1:1.25.2.1
	netbsd-4:1.28.0.6
	netbsd-4-base:1.28
	chap-midi-nbase:1.28
	netbsd-3-0-1-RELEASE:1.25.2.1
	chap-midi:1.28.0.2
	chap-midi-base:1.28
	netbsd-3-0:1.25.2.1.0.2
	netbsd-3-0-RELEASE:1.25.2.1
	netbsd-3-0-RC6:1.25.2.1
	netbsd-3-0-RC5:1.25.2.1
	netbsd-3-0-RC4:1.25.2.1
	netbsd-3-0-RC3:1.25.2.1
	netbsd-3-0-RC2:1.25.2.1
	netbsd-3-0-RC1:1.25.2.1
	netbsd-2-0-3-RELEASE:1.20
	netbsd-2-1:1.20.0.6
	netbsd-2-1-RELEASE:1.20
	netbsd-2-1-RC6:1.20
	netbsd-2-1-RC5:1.20
	netbsd-2-1-RC4:1.20
	netbsd-2-1-RC3:1.20
	netbsd-2-1-RC2:1.20
	netbsd-2-1-RC1:1.20
	netbsd-2-0-2-RELEASE:1.20
	netbsd-3:1.25.0.2
	netbsd-3-base:1.25
	netbsd-2-0-1-RELEASE:1.20
	netbsd-2:1.20.0.4
	netbsd-2-base:1.20
	netbsd-2-0-RELEASE:1.20
	netbsd-2-0-RC5:1.20
	netbsd-2-0-RC4:1.20
	netbsd-2-0-RC3:1.20
	netbsd-2-0-RC2:1.20
	netbsd-2-0-RC1:1.20
	netbsd-2-0:1.20.0.2
	netbsd-2-0-base:1.20
	netbsd-1-6-PATCH002-RELEASE:1.11.2.1
	netbsd-1-6-PATCH002:1.11.2.1
	netbsd-1-6-PATCH002-RC4:1.11.2.1
	netbsd-1-6-PATCH002-RC3:1.11.2.1
	netbsd-1-6-PATCH002-RC2:1.11.2.1
	netbsd-1-6-PATCH002-RC1:1.11.2.1
	netbsd-1-6-PATCH001:1.11.2.1
	netbsd-1-6-PATCH001-RELEASE:1.11.2.1
	netbsd-1-6-PATCH001-RC3:1.11.2.1
	netbsd-1-6-PATCH001-RC2:1.11.2.1
	netbsd-1-6-PATCH001-RC1:1.11.2.1
	fvdl_fs64_base:1.13
	netbsd-1-6-RELEASE:1.11.2.1
	netbsd-1-6-RC3:1.11.2.1
	netbsd-1-6-RC2:1.11.2.1
	netbsd-1-6-RC1:1.11.2.1
	netbsd-1-6:1.11.0.2
	netbsd-1-6-base:1.11
	netbsd-1-5-PATCH003:1.1.2.3
	netbsd-1-5-PATCH002:1.1.2.2
	netbsd-1-5-PATCH001:1.1.2.2
	netbsd-1-5-RELEASE:1.1
	netbsd-1-5-BETA2:1.1
	netbsd-1-5-BETA:1.1
	netbsd-1-5:1.1.0.2;
locks; strict;
comment	@# @;


1.32
date	2009.07.20.17.35.06;	author christos;	state dead;
branches;
next	1.31;

1.31
date	2008.04.10.15.05.24;	author tsutsui;	state Exp;
branches;
next	1.30;

1.30
date	2008.04.06.23.39.35;	author christos;	state Exp;
branches;
next	1.29;

1.29
date	2008.04.06.09.54.37;	author lukem;	state Exp;
branches;
next	1.28;

1.28
date	2006.03.20.04.03.23;	author christos;	state Exp;
branches;
next	1.27;

1.27
date	2005.08.18.00.19.29;	author christos;	state Exp;
branches;
next	1.26;

1.26
date	2005.07.29.01.19.20;	author christos;	state Exp;
branches;
next	1.25;

1.25
date	2005.03.04.20.41.09;	author he;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2005.02.13.22.48.01;	author christos;	state Exp;
branches;
next	1.23;

1.23
date	2005.02.13.18.15.05;	author christos;	state Exp;
branches;
next	1.22;

1.22
date	2005.02.13.06.07.21;	author christos;	state Exp;
branches;
next	1.21;

1.21
date	2005.01.03.06.05.51;	author lukem;	state Exp;
branches;
next	1.20;

1.20
date	2003.12.11.09.46.27;	author dyoung;	state Exp;
branches;
next	1.19;

1.19
date	2003.08.23.23.03.45;	author lha;	state Exp;
branches;
next	1.18;

1.18
date	2003.07.24.15.31.57;	author itojun;	state Exp;
branches;
next	1.17;

1.17
date	2003.07.23.03.52.27;	author itojun;	state Exp;
branches;
next	1.16;

1.16
date	2003.07.21.03.37.43;	author itojun;	state Exp;
branches;
next	1.15;

1.15
date	2003.05.14.18.22.07;	author itojun;	state Exp;
branches;
next	1.14;

1.14
date	2003.04.03.06.21.38;	author itojun;	state Exp;
branches;
next	1.13;

1.13
date	2002.07.28.23.43.12;	author christos;	state Exp;
branches;
next	1.12;

1.12
date	2002.06.24.05.48.26;	author itojun;	state Exp;
branches;
next	1.11;

1.11
date	2002.04.22.07.59.50;	author itojun;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2002.03.22.18.10.24;	author thorpej;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.23.19.37.43;	author itojun;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.15.12.51.59;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2001.04.10.08.08.06;	author itojun;	state Exp;
branches;
next	1.6;

1.6
date	2001.04.01.15.11.05;	author ad;	state Exp;
branches;
next	1.5;

1.5
date	2001.03.19.20.03.26;	author itojun;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.04.00.41.28;	author assar;	state Exp;
branches;
next	1.3;

1.3
date	2001.02.07.17.05.37;	author itojun;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.14.05.22.34;	author itojun;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.25.16.32.26;	author thorpej;	state Exp;
branches
	1.1.2.1;
next	;

1.25.2.1
date	2005.09.02.12.42.10;	author tron;	state Exp;
branches;
next	;

1.11.2.1
date	2002.06.26.16.54.52;	author tv;	state Exp;
branches;
next	;

1.1.2.1
date	2000.07.25.16.32.26;	author he;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2001.02.26.20.55.42;	author he;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2001.12.10.23.54.20;	author he;	state Exp;
branches;
next	;


desc
@@


1.32
log
@ssh has moved
@
text
@#	$NetBSD: Makefile,v 1.31 2008/04/10 15:05:24 tsutsui Exp $

.include <bsd.own.mk>

PROG=	sshd
MAN=	sshd.8 sshd_config.5 moduli.5

BINDIR=	/usr/sbin

SRCS=	sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
	sshpty.c sshlogin.c servconf.c serverloop.c uidswap.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 \
	monitor_mm.c monitor.c monitor_wrap.c \
	kexdhs.c kexgexs.c sftp-server.c sftp-common.c

.if (${USE_PAM} != "no")
SRCS+= auth-pam.c
LDADD+=	-lpam ${PAM_STATIC_LDADD}
DPADD+=	${LIBPAM} ${PAM_STATIC_DPADD}

.if ${USE_YP} != "no"
LDADD+= -lrpcsvc
DPADD+= ${LIBRPCSVC}
.endif

.else	# USE_PAM == no

.if (${USE_SKEY} != "no")
LDADD+=	-lskey
DPADD+=	${LIBSKEY}
.endif

.endif	# USE_PAM == no

.if (${USE_KERBEROS} != "no")

SRCS +=	gss-genr.c auth2-gss.c gss-serv.c gss-serv-krb5.c
LDADD+=	-lgssapi -lheimntlm
DPADD+=	${LIBGSSAPI} ${LIBHEIMNTLM}

LDADD+=	-lkafs
DPADD+= ${LIBKAFS}

SRCS+=	auth-krb5.c auth2-krb5.c
LDADD+=	-lkrb5 -lasn1
DPADD+=	${LIBKRB5} ${LIBASN1}

LDADD+=	-lcom_err -lroken
DPADD+=	${LIBCOM_ERR} ${LIBROKEN}
.endif

.include <bsd.prog.mk>

LDADD+=	-lcrypt -lutil
DPADD+=	${LIBCRYPT} ${LIBUTIL}

LDADD+=	-lwrap
DPADD+=	${LIBWRAP}
@


1.31
log
@Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2008/04/06 23:39:35 christos Exp $
@


1.30
log
@update for 5.0
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2008/04/06 09:54:37 lukem Exp $
d41 2
a42 2
LDADD+=	-lgssapi
DPADD+=	${LIBGSSAPI}
@


1.29
log
@Be consistent about making USE_PAM!=no be exclusive to USE_SKEY!=no.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2006/03/20 04:03:23 christos Exp $
d17 1
a17 1
	kexdhs.c kexgexs.c
@


1.28
log
@Goodbye KerberosIV
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2005/08/18 00:19:29 christos Exp $
d29 5
d36 2
a61 5

.if (${USE_SKEY} != "no")
LDADD+=	-lskey
DPADD+=	${LIBSKEY}
.endif
@


1.27
log
@PR/30750: Mark Davies: ssh gives bogus complaint when gssapi authentication
fails. The problem was that different ssh programs were compiled with different
cpp flags. In particular, ssh-keysign was affected. Move all the CPPFLAGS
to Makefile.inc. Note that I am not moving the library portion of the defines
because we don't want to link everything with all the libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2005/07/29 01:19:20 christos Exp $
a43 6
.if ${MKKERBEROS4} != "no"
SRCS+=	auth-krb4.c radix.c
LDADD+=	-lkrb -ldes
DPADD+=	${LIBKRB} ${LIBDES}
.endif

@


1.26
log
@remove -static.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2005/03/04 20:41:09 he Exp $
a19 1
CPPFLAGS+=-DUSE_PAM
a32 1
CPPFLAGS+=-DGSSAPI -I${DESTDIR}/usr/include/gssapi
a39 1
CPPFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/krb5
a44 1
CPPFLAGS+=-DKRB4 -DAFS -I${DESTDIR}/usr/include/kerberosIV
a55 2
CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX

a58 1
CPPFLAGS+=-DLIBWRAP
a62 1
CPPFLAGS+=-DSKEY
@


1.25
log
@Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD.  When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications.  The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.

Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.

Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.

Discussed with thorpej and christos.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2005/02/13 22:48:01 christos Exp $
d24 6
@


1.25.2.1
log
@Pull up following revision(s) (requested by christos in ticket #719):
	usr.bin/ssh/ssh/Makefile: revision 1.22
	usr.bin/ssh/sshd/Makefile: revision 1.27
	usr.bin/ssh/Makefile.inc: revision 1.12
PR/30750: Mark Davies: ssh gives bogus complaint when gssapi authentication
fails. The problem was that different ssh programs were compiled with different
cpp flags. In particular, ssh-keysign was affected. Move all the CPPFLAGS
to Makefile.inc. Note that I am not moving the library portion of the defines
because we don't want to link everything with all the libraries.
@
text
@d1 1
a1 1
#	$NetBSD$
d20 1
d28 1
d36 1
d42 1
d54 2
d59 1
d64 1
@


1.24
log
@- Add depency ob ligssapi and the required c-file(s).
- Reorder libkafs so its possible to build w/o kerberos4
From Love.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2005/02/13 18:15:05 christos Exp $
d22 2
a23 2
LDADD+=	-lpam
DPADD+=	${LIBPAM}
@


1.23
log
@Only need the PAM hooks for sshd. Now it compiles, PAM portion untested.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2005/02/13 06:07:21 christos Exp $
d27 9
a36 1
CPPFLAGS+=-I${DESTDIR}/usr/include/kerberosIV
d42 4
a45 4
CPPFLAGS+=-DKRB4 -DAFS
SRCS+=	auth-krb4.c
LDADD+=	-lkrb -ldes -lkafs
DPADD+=	${LIBKRB} ${LIBDES} ${LIBKAFS}
@


1.22
log
@Update for OpenSSH-3.9
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2005/01/03 06:05:51 lukem Exp $
d19 7
@


1.21
log
@Style/consistency cleanup:
* libcrypto & libz are provided by ../Makefile.inc
* <bsd.own.mk> isn't required by most of these
* be consistent in the layout
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2003/12/11 09:46:27 dyoung Exp $
d16 1
a16 1
	monitor_mm.c monitor.c monitor_wrap.c monitor_fdpass.c \
@


1.20
log
@Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2003/08/23 23:03:45 lha Exp $
d41 2
a42 2
LDADD+=	-lcrypt -lcrypto -lutil -lz
DPADD+=	${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
@


1.19
log
@libkrb depends on libdes, patch in private mail from
Harold Gutch logix at foobar franken de
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2003/07/24 15:31:57 itojun Exp $
d20 2
a21 1
CPPFLAGS+=-DKRB5 -DAFS -I${DESTDIR}/usr/include/krb5
d23 2
a24 2
LDADD+=	-lkrb5 -lkafs -lasn1
DPADD+=	${LIBKRB5} ${LIBKAFS} ${LIBASN1}
d27 1
a27 1
CPPFLAGS+=-DKRB4 -I${DESTDIR}/usr/include/kerberosIV
d29 2
a30 2
LDADD+=	-lkrb -ldes
DPADD+=	${LIBKRB} ${LIBDES}
@


1.18
log
@bring back krb4 support, just to suppress unwanted noise from other developers.

note that official openssh distribution have already dropped kerberosIV support,
therefore maintenance cost needs to be paid by us.  and have no intent to help.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2003/07/21 03:37:43 itojun Exp $
d25 1
d28 6
a33 2
LDADD+=	-lkrb -lcom_err -lroken
DPADD+=	${LIBKRB} ${LIBCOM_ERR} ${LIBROKEN}
@


1.17
log
@remove KRB4 and AFS support.  sync w/ openssh main tree
@
text
@d22 7
a28 2
LDADD+=	-lkrb5 -lasn1 -lcom_err -lroken
DPADD+=	${LIBKRB5} ${LIBASN1}  ${LIBCOM_ERR} ${LIBROKEN}
@


1.16
log
@UPPORT_UTMP{,X} outside of .if KERBEROS.  PR 22202
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2003/05/14 18:22:07 itojun Exp $
d22 2
a23 7
LDADD+=	-lkrb5 -lkafs -lasn1
DPADD+=	${LIBKRB5} ${LIBKAFS} ${LIBASN1}

CPPFLAGS+=-DKRB4 -I${DESTDIR}/usr/include/kerberosIV
SRCS+=	auth-krb4.c
LDADD+=	-lkrb -lcom_err -lroken
DPADD+=	${LIBKRB} ${LIBCOM_ERR} ${LIBROKEN}
@


1.15
log
@>implement kerberos over ssh2 ("kerberos-2@@ssh.com"); tested with jakob@@
>server interops with commercial client; ok jakob@@ djm@@

markus@@openbsd
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2003/04/03 06:21:38 itojun Exp $
a25 1
CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
d32 2
@


1.14
log
@sync w/ 3.6.1
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2002/07/28 23:43:12 christos Exp $
d21 1
a21 1
SRCS+=	auth-krb5.c
@


1.13
log
@Add utmpx support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/06/24 05:48:26 itojun Exp $
d14 1
a14 1
	auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \
d16 2
a17 1
	auth2-hostbased.c auth2-kbdint.c
@


1.12
log
@sync with openssh 3.3.
local mods included to make it compile with openssl 0.9.6d.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2002/04/22 07:59:50 itojun Exp $
d25 1
@


1.11
log
@sync with openssh 3.2 as of 2002/4/22.
- privilege separation
- afs/kerberos auth security issue fixed
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/03/22 18:10:24 thorpej Exp $
d6 1
a6 1
MAN=	sshd.8 moduli.5
d11 1
a11 1
	sshpty.c sshlogin.c servconf.c serverloop.c \
d14 3
a16 1
	auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c
@


1.11.2.1
log
@Pullup to HEAD as of 20020626 16:50:00 UTC (requested by itojun in ticket #379):
Update to OpenSSH 3.4.
[tv: EXCEPTION: Reverted rev 1.3 of random.h and 1.5 of random.c to bring back
the OpenSSH-private implementation of arc4random().]
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/06/24 05:48:26 itojun Exp $
d6 1
a6 1
MAN=	sshd.8 sshd_config.5 moduli.5
d11 1
a11 1
	sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
d14 1
a14 3
	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
@


1.10
log
@Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2001/06/23 19:37:43 itojun Exp $
d14 1
a14 1
	auth-skey.c auth-bsdauth.c
@


1.9
log
@upgrade to openssh 2.9, around 2001/6/24 (from openbsd usr.bin/ssh).

- authorized_keys2 and known_hosts2 are obsoleted, and integrated
  into those without "2".
- file name change, /etc/primes -> /etc/moduli
- cleanups
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2001/06/15 12:51:59 wiz Exp $
d16 1
a16 1
.if (${MKKERBEROS} != "no")
d37 1
a37 1
.ifdef SKEY
@


1.8
log
@On note by kleink: Add primes.5 to crypto/dist/ssh instead of share/man/man5.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2001/04/10 08:08:06 itojun Exp $
d6 1
a6 1
MAN=	sshd.8 primes.5
d13 2
a14 1
	auth-chall.c auth2-chall.c groupaccess.c
@


1.7
log
@upgrade to openssh 2.5.4 (2001/4/10).

major behavior changes: (made in openssh master tree - openbsd usr.bin/ssh)
- ssh(1) now defaults to ssh protocol version 2.
  if you want version 1 to take precedence, use /etc/ssh.conf to override.
- config change: ~/.ssh/id_rsa[12] is now ~/.ssh/id_rsa (changed 4/3)
- forced client rekey for protocol version 2 (~R)
- swap gid when uid swaps.
- ListenAddress syntax can take [foo]:port for IPv6 numerics.
- "ssh -D 1080" allows us to use ssh tunnel as SOCKS4 proxy.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2001/04/01 15:11:05 ad Exp $
d6 1
a6 1
MAN=	sshd.8
@


1.6
log
@Link against libcrypt in order to make MD5 passwords work.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2001/03/19 20:03:26 itojun Exp $
d12 1
a12 1
	auth.c auth1.c auth2.c auth-options.c session.c dh.c \
@


1.5
log
@sync with openssh 2.5.2 (from openbsd usr.bin/ssh, not from portable).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2001/03/04 00:41:28 assar Exp $
d29 2
a30 2
LDADD+=	-lcrypto -lutil -lz
DPADD+=	${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
@


1.4
log
@add krb5 support to ssh/sshd.  based on code initially from Daniel Kouril <kouril@@informatics.muni.cz> and Björn Grönvall <bg@@sics.se>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2001/02/07 17:05:37 itojun Exp $
d11 1
a11 1
	pty.c log-server.c login.c servconf.c serverloop.c \
@


1.3
log
@sync crypto/dist/ssh with re-importorted tree.  try to minimize diffs
with openssh tree to ease future upgrade.  re-do local changes, including:
- prototype pedants
- IgnoreRootRhosts
- login.conf user validation
some of the local changes that weren't used are omitted for now.  we may
need to revisit those afterwards.

it adds "sftp".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2001/01/14 05:22:34 itojun Exp $
d16 4
a19 4
# XXX needs krb5
#CPPFLAGS+=-DAFS
#LDADD+=	-lkafs
#DPADD+=	${LIBKAFS}
@


1.2
log
@crypto/dist/ssh: resolve conflicts with 2.3.0/20010105.
usr.bin/ssh: add ssh-keyscan and sftp-server into SUBDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2000/07/25 16:32:26 thorpej Exp $
d11 3
a13 13
	pty.c log-server.c login.c servconf.c serverloop.c auth.c \
	auth1.c auth2.c auth-options.c session.c dh.c

CPPFLAGS+=-DLIBWRAP
LDADD+=	-lwrap
DPADD+=	${LIBWRAP}

.ifdef SKEY
SRCS+=	auth-skey.c auth2-skey.c
CPPFLAGS+=-DSKEY
LDADD+=	-lskey
DPADD+=	${LIBSKEY}
.endif
d31 10
@


1.1
log
@Add a build-framework for an SSH implementation which is not
yet part of the NetBSD source tree.  These Makefiles are a
noop until such time as that implementation is committed.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 1
	auth1.c auth2.c auth-options.c session.c
d19 1
a19 1
SRCS+=	auth-skey.c
@


1.1.2.1
log
@file Makefile was added on branch netbsd-1-5 on 2001-02-26 20:55:42 +0000
@
text
@d1 40
@


1.1.2.2
log
@Pull up revisions 1.2-1.3 (requested by itojun):
  Update SSH to version found on trunk as of 26 Feb 2001.
  Note that /dev/random is now mandatory for ssh.
@
text
@a0 40
#	$NetBSD: Makefile,v 1.1.2.1 2001/02/26 20:55:42 he Exp $

.include <bsd.own.mk>

PROG=	sshd
MAN=	sshd.8

BINDIR=	/usr/sbin

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 \
	auth.c auth1.c auth2.c auth-options.c session.c dh.c \
	auth-chall.c auth2-chall.c groupaccess.c

.if (${MKKERBEROS} != "no")
# XXX needs krb5
#CPPFLAGS+=-DAFS
#LDADD+=	-lkafs
#DPADD+=	${LIBKAFS}

CPPFLAGS+=-DKRB4 -I${DESTDIR}/usr/include/kerberosIV
SRCS+=	auth-krb4.c
LDADD+=	-lkrb -lcom_err -lroken
DPADD+=	${LIBKRB} ${LIBCOM_ERR} ${LIBROKEN}
.endif

.include <bsd.prog.mk>

LDADD+=	-lcrypto -lutil -lz
DPADD+=	${LIBCRYPTO} ${LIBUTIL} ${LIBZ}

CPPFLAGS+=-DLIBWRAP
LDADD+=	-lwrap
DPADD+=	${LIBWRAP}

.ifdef SKEY
CPPFLAGS+=-DSKEY
LDADD+=	-lskey
DPADD+=	${LIBSKEY}
.endif
@


1.1.2.3
log
@Pull up revisions 1.4-1.9 (requested by itojun):
  Upgrade OpenSSH to version 3.0.2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2001/12/10 23:54:20 he Exp $
d6 1
a6 1
MAN=	sshd.8 moduli.5
d11 3
a13 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 groupaccess.c \
	auth-skey.c auth-bsdauth.c
d16 4
a19 4
CPPFLAGS+=-DKRB5 -DAFS -I${DESTDIR}/usr/include/krb5
SRCS+=	auth-krb5.c
LDADD+=	-lkrb5 -lkafs -lasn1
DPADD+=	${LIBKRB5} ${LIBKAFS} ${LIBASN1}
d29 2
a30 2
LDADD+=	-lcrypt -lcrypto -lutil -lz
DPADD+=	${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
@
